RTEMS 4.11
Annotated Report
Wed Aug 29 09:05:54 2012

0200bfec <IMFS_chown>:                                                
int IMFS_chown(                                                       
  const rtems_filesystem_location_info_t *loc,                        
  uid_t owner,                                                        
  gid_t group                                                         
)                                                                     
{                                                                     
 200bfec:	9d e3 bf 98 	save  %sp, -104, %sp                           
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
 200bff0:	40 00 02 71 	call  200c9b4 <geteuid>                        
 200bff4:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
 200bff8:	c2 17 60 3c 	lduh  [ %i5 + 0x3c ], %g1                      
 200bffc:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 200c000:	91 32 20 10 	srl  %o0, 0x10, %o0                            
 200c004:	80 a0 40 08 	cmp  %g1, %o0                                  
 200c008:	02 80 00 04 	be  200c018 <IMFS_chown+0x2c>                  
 200c00c:	80 a2 20 00 	cmp  %o0, 0                                    
 200c010:	12 80 00 0b 	bne  200c03c <IMFS_chown+0x50>                 <== ALWAYS TAKEN
 200c014:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EPERM );                    
#endif                                                                
                                                                      
  jnode->st_uid = owner;                                              
 200c018:	f2 37 60 3c 	sth  %i1, [ %i5 + 0x3c ]                       
  jnode->st_gid = group;                                              
 200c01c:	f4 37 60 3e 	sth  %i2, [ %i5 + 0x3e ]                       
                                                                      
  IMFS_update_ctime( jnode );                                         
 200c020:	90 07 bf f8 	add  %fp, -8, %o0                              
 200c024:	7f ff de 5a 	call  200398c <gettimeofday>                   
 200c028:	92 10 20 00 	clr  %o1                                       
 200c02c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200c030:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 200c034:	81 c7 e0 08 	ret                                            
 200c038:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
 200c03c:	40 00 11 ee 	call  20107f4 <__errno>                        
 200c040:	b0 10 3f ff 	mov  -1, %i0                                   
 200c044:	82 10 20 01 	mov  1, %g1                                    
 200c048:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200c04c:	81 c7 e0 08 	ret                                            
 200c050:	81 e8 00 00 	restore                                        
                                                                      

02005af8 <IMFS_dump_directory>: */ static void IMFS_dump_directory( IMFS_jnode_t *the_directory, int level ) {
 2005af8:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2005afc:	f4 06 20 50 	ld  [ %i0 + 0x50 ], %i2                        
 2005b00:	39 00 80 95 	sethi  %hi(0x2025400), %i4                     
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  const Chain_Control *the_chain,                                     
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Immutable_tail( the_chain ));            
 2005b04:	b0 06 20 54 	add  %i0, 0x54, %i0                            
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( IMFS_is_directory( the_directory ) );                  
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
 2005b08:	80 a6 80 18 	cmp  %i2, %i0                                  
 2005b0c:	02 80 00 30 	be  2005bcc <IMFS_dump_directory+0xd4>         
 2005b10:	b8 17 21 48 	or  %i4, 0x148, %i4                            
 2005b14:	37 00 80 8c 	sethi  %hi(0x2023000), %i3                     
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", IMFS_type( the_jnode ) );     
 2005b18:	29 00 80 8d 	sethi  %hi(0x2023400), %l4                     
      return;                                                         
  }                                                                   
  puts("");                                                           
 2005b1c:	21 00 80 8c 	sethi  %hi(0x2023000), %l0                     
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
 2005b20:	27 00 80 8d 	sethi  %hi(0x2023400), %l3                     
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
 2005b24:	25 00 80 8d 	sethi  %hi(0x2023400), %l2                     
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
 2005b28:	b6 16 e3 d8 	or  %i3, 0x3d8, %i3                            
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", IMFS_type( the_jnode ) );     
 2005b2c:	a8 15 20 48 	or  %l4, 0x48, %l4                             
      return;                                                         
  }                                                                   
  puts("");                                                           
 2005b30:	a0 14 23 70 	or  %l0, 0x370, %l0                            
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
 2005b34:	a6 14 e0 30 	or  %l3, 0x30, %l3                             
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
 2005b38:	a4 14 a0 18 	or  %l2, 0x18, %l2                             
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( IMFS_is_directory( the_jnode ) )                             
      IMFS_dump_directory( the_jnode, level + 1 );                    
 2005b3c:	a2 06 60 01 	add  %i1, 1, %l1                               
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
 2005b40:	80 a6 60 00 	cmp  %i1, 0                                    
 2005b44:	06 80 00 0c 	bl  2005b74 <IMFS_dump_directory+0x7c>         <== NEVER TAKEN
 2005b48:	ba 10 20 00 	clr  %i5                                       
      fprintf(stdout, "...." );                                       
 2005b4c:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2005b50:	90 10 00 1b 	mov  %i3, %o0                                  
 2005b54:	d6 00 60 08 	ld  [ %g1 + 8 ], %o3                           
 2005b58:	92 10 20 01 	mov  1, %o1                                    
 2005b5c:	40 00 3f d4 	call  2015aac <fwrite>                         
 2005b60:	94 10 20 04 	mov  4, %o2                                    
        !rtems_chain_is_tail( the_chain, the_node );                  
        the_node = the_node->next ) {                                 
                                                                      
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
 2005b64:	ba 07 60 01 	inc  %i5                                       
 2005b68:	80 a6 40 1d 	cmp  %i1, %i5                                  
 2005b6c:	36 bf ff f9 	bge,a   2005b50 <IMFS_dump_directory+0x58>     
 2005b70:	c2 07 00 00 	ld  [ %i4 ], %g1                               
  IMFS_jnode_t *the_jnode                                             
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
 2005b74:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2005b78:	90 06 a0 0c 	add  %i2, 0xc, %o0                             
 2005b7c:	40 00 3c b0 	call  2014e3c <fputs>                          
 2005b80:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           
  rtems_chain_extract_unprotected( &node->Node );                     
}                                                                     
                                                                      
static inline IMFS_jnode_types_t IMFS_type( const IMFS_jnode_t *node )
{                                                                     
  return node->control->imfs_type;                                    
 2005b84:	c2 06 a0 4c 	ld  [ %i2 + 0x4c ], %g1                        
 2005b88:	d4 00 40 00 	ld  [ %g1 ], %o2                               
  switch( IMFS_type( the_jnode ) ) {                                  
 2005b8c:	80 a2 a0 06 	cmp  %o2, 6                                    
 2005b90:	28 80 00 11 	bleu,a   2005bd4 <IMFS_dump_directory+0xdc>    <== ALWAYS TAKEN
 2005b94:	95 2a a0 02 	sll  %o2, 2, %o2                               
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
      return;                                                         
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", IMFS_type( the_jnode ) );     
 2005b98:	c2 07 00 00 	ld  [ %i4 ], %g1                               <== NOT EXECUTED
 2005b9c:	92 10 00 14 	mov  %l4, %o1                                  <== NOT EXECUTED
 2005ba0:	40 00 3c 57 	call  2014cfc <fprintf>                        <== NOT EXECUTED
 2005ba4:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
}                                                                     
                                                                      
static inline bool IMFS_is_directory( const IMFS_jnode_t *node )      
{                                                                     
  return node->control->imfs_type == IMFS_DIRECTORY;                  
 2005ba8:	c2 06 a0 4c 	ld  [ %i2 + 0x4c ], %g1                        <== NOT EXECUTED
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( IMFS_is_directory( the_jnode ) )                             
 2005bac:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2005bb0:	80 a0 60 00 	cmp  %g1, 0                                    
 2005bb4:	22 80 00 19 	be,a   2005c18 <IMFS_dump_directory+0x120>     
 2005bb8:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
  the_chain = &the_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 ) {                                 
 2005bbc:	f4 06 80 00 	ld  [ %i2 ], %i2                               
  IMFS_assert( level >= 0 );                                          
  IMFS_assert( IMFS_is_directory( the_directory ) );                  
                                                                      
  the_chain = &the_directory->info.directory.Entries;                 
                                                                      
  for ( the_node = rtems_chain_first( the_chain );                    
 2005bc0:	80 a6 80 18 	cmp  %i2, %i0                                  
 2005bc4:	12 bf ff e0 	bne  2005b44 <IMFS_dump_directory+0x4c>        
 2005bc8:	80 a6 60 00 	cmp  %i1, 0                                    
 2005bcc:	81 c7 e0 08 	ret                                            
 2005bd0:	81 e8 00 00 	restore                                        
)                                                                     
{                                                                     
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( IMFS_type( the_jnode ) ) {                                  
 2005bd4:	03 00 80 16 	sethi  %hi(0x2005800), %g1                     
 2005bd8:	82 10 62 dc 	or  %g1, 0x2dc, %g1	! 2005adc <bsp_interrupt_handler_default+0x18>
 2005bdc:	c2 00 40 0a 	ld  [ %g1 + %o2 ], %g1                         
 2005be0:	81 c0 40 00 	jmp  %g1                                       
 2005be4:	01 00 00 00 	nop                                            
    case IMFS_HARD_LINK:                                              
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
 2005be8:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2005bec:	90 10 00 12 	mov  %l2, %o0                                  
 2005bf0:	d6 00 60 08 	ld  [ %g1 + 8 ], %o3                           
 2005bf4:	92 10 20 01 	mov  1, %o1                                    
 2005bf8:	40 00 3f ad 	call  2015aac <fwrite>                         
 2005bfc:	94 10 20 13 	mov  0x13, %o2                                 
 2005c00:	c2 06 a0 4c 	ld  [ %i2 + 0x4c ], %g1                        
    the_jnode = (IMFS_jnode_t *) the_node;                            
                                                                      
    for ( i=0 ; i<=level ; i++ )                                      
      fprintf(stdout, "...." );                                       
    IMFS_print_jnode( the_jnode );                                    
    if ( IMFS_is_directory( the_jnode ) )                             
 2005c04:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2005c08:	80 a0 60 00 	cmp  %g1, 0                                    
 2005c0c:	32 bf ff ed 	bne,a   2005bc0 <IMFS_dump_directory+0xc8>     <== ALWAYS TAKEN
 2005c10:	f4 06 80 00 	ld  [ %i2 ], %i2                               
      IMFS_dump_directory( the_jnode, level + 1 );                    
 2005c14:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 2005c18:	7f ff ff b8 	call  2005af8 <IMFS_dump_directory>            
 2005c1c:	92 10 00 11 	mov  %l1, %o1                                  
                                                                      
  the_chain = &the_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 ) {                                 
 2005c20:	10 bf ff e8 	b  2005bc0 <IMFS_dump_directory+0xc8>          
 2005c24:	f4 06 80 00 	ld  [ %i2 ], %i2                               
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
        the_jnode->info.device.major, the_jnode->info.device.minor ); 
      break;                                                          
                                                                      
    case IMFS_LINEAR_FILE:                                            
      fprintf(stdout, " (file %" PRId32 " %p)",                       
 2005c28:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2005c2c:	d4 06 a0 54 	ld  [ %i2 + 0x54 ], %o2                        
 2005c30:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2005c34:	d6 06 a0 58 	ld  [ %i2 + 0x58 ], %o3                        
 2005c38:	13 00 80 8c 	sethi  %hi(0x2023000), %o1                     
 2005c3c:	40 00 3c 30 	call  2014cfc <fprintf>                        
 2005c40:	92 12 63 f8 	or  %o1, 0x3f8, %o1	! 20233f8 <rtems_filesystem_table+0x172c>
                                                                      
    default:                                                          
      fprintf(stdout, " bad type %d\n", IMFS_type( the_jnode ) );     
      return;                                                         
  }                                                                   
  puts("");                                                           
 2005c44:	40 00 43 9b 	call  2016ab0 <puts>                           
 2005c48:	90 10 00 10 	mov  %l0, %o0                                  
 2005c4c:	10 bf ff d8 	b  2005bac <IMFS_dump_directory+0xb4>          
 2005c50:	c2 06 a0 4c 	ld  [ %i2 + 0x4c ], %g1                        
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
      break;                                                          
                                                                      
    case IMFS_DEVICE:                                                 
      fprintf(stdout, " (device %" PRId32 ", %" PRId32 ")",           
 2005c54:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2005c58:	d4 06 a0 50 	ld  [ %i2 + 0x50 ], %o2                        
 2005c5c:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2005c60:	d6 06 a0 54 	ld  [ %i2 + 0x54 ], %o3                        
 2005c64:	13 00 80 8c 	sethi  %hi(0x2023000), %o1                     
 2005c68:	40 00 3c 25 	call  2014cfc <fprintf>                        
 2005c6c:	92 12 63 e0 	or  %o1, 0x3e0, %o1	! 20233e0 <rtems_filesystem_table+0x1714>
 2005c70:	30 bf ff f5 	b,a   2005c44 <IMFS_dump_directory+0x14c>      
  IMFS_assert( the_jnode );                                           
                                                                      
  fprintf(stdout, "%s", the_jnode->name );                            
  switch( IMFS_type( the_jnode ) ) {                                  
    case IMFS_DIRECTORY:                                              
      fprintf(stdout, "/" );                                          
 2005c74:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2005c78:	90 10 20 2f 	mov  0x2f, %o0                                 
 2005c7c:	40 00 3c 3c 	call  2014d6c <fputc>                          
 2005c80:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           
 2005c84:	30 bf ff f0 	b,a   2005c44 <IMFS_dump_directory+0x14c>      
    case IMFS_SYM_LINK:                                               
      fprintf(stdout, " links not printed\n" );                       
      return;                                                         
                                                                      
    case IMFS_FIFO:                                                   
      fprintf(stdout, " FIFO not printed\n" );                        
 2005c88:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2005c8c:	90 10 00 13 	mov  %l3, %o0                                  
 2005c90:	d6 00 60 08 	ld  [ %g1 + 8 ], %o3                           
 2005c94:	92 10 20 01 	mov  1, %o1                                    
 2005c98:	40 00 3f 85 	call  2015aac <fwrite>                         
 2005c9c:	94 10 20 12 	mov  0x12, %o2                                 
 2005ca0:	10 bf ff c3 	b  2005bac <IMFS_dump_directory+0xb4>          
 2005ca4:	c2 06 a0 4c 	ld  [ %i2 + 0x4c ], %g1                        
        the_jnode->info.file.indirect,                                
        the_jnode->info.file.doubly_indirect,                         
        the_jnode->info.file.triply_indirect                          
      );                                                              
#else                                                                 
      fprintf(stdout, " (file %" PRId32 ")",                          
 2005ca8:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2005cac:	d4 06 a0 54 	ld  [ %i2 + 0x54 ], %o2                        
 2005cb0:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2005cb4:	13 00 80 8d 	sethi  %hi(0x2023400), %o1                     
 2005cb8:	40 00 3c 11 	call  2014cfc <fprintf>                        
 2005cbc:	92 12 60 08 	or  %o1, 8, %o1	! 2023408 <rtems_filesystem_table+0x173c>
 2005cc0:	30 bf ff e1 	b,a   2005c44 <IMFS_dump_directory+0x14c>      
                                                                      

0200c198 <IMFS_eval_token>: rtems_filesystem_eval_path_context_t *ctx, void *arg, const char *token, size_t tokenlen ) {
 200c198:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_filesystem_eval_path_generic_status status =                  
    RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;                          
  rtems_filesystem_location_info_t *currentloc =                      
    rtems_filesystem_eval_path_get_currentloc( ctx );                 
  IMFS_jnode_t *dir = currentloc->node_access;                        
 200c19c:	f8 06 20 20 	ld  [ %i0 + 0x20 ], %i4                        
  bool access_ok = rtems_filesystem_eval_path_check_access(           
 200c1a0:	90 10 00 18 	mov  %i0, %o0                                  
 200c1a4:	d4 07 20 30 	ld  [ %i4 + 0x30 ], %o2                        
 200c1a8:	d6 17 20 3c 	lduh  [ %i4 + 0x3c ], %o3                      
 200c1ac:	d8 17 20 3e 	lduh  [ %i4 + 0x3e ], %o4                      
 200c1b0:	40 00 03 27 	call  200ce4c <rtems_filesystem_eval_path_check_access>
 200c1b4:	92 10 20 01 	mov  1, %o1                                    
    dir->st_mode,                                                     
    dir->st_uid,                                                      
    dir->st_gid                                                       
  );                                                                  
                                                                      
  if ( access_ok ) {                                                  
 200c1b8:	80 8a 20 ff 	btst  0xff, %o0                                
 200c1bc:	12 80 00 04 	bne  200c1cc <IMFS_eval_token+0x34>            
 200c1c0:	80 a6 e0 01 	cmp  %i3, 1                                    
                                                                      
      if ( type == IMFS_HARD_LINK && (follow_hard_link || !terminal)) {
        entry = entry->info.hard_link.link_node;                      
      }                                                               
                                                                      
      if ( type == IMFS_SYM_LINK && (follow_sym_link || !terminal)) { 
 200c1c4:	81 c7 e0 08 	ret                                            
 200c1c8:	91 e8 20 01 	restore  %g0, 1, %o0                           
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
 200c1cc:	02 80 00 58 	be  200c32c <IMFS_eval_token+0x194>            
 200c1d0:	80 a6 e0 02 	cmp  %i3, 2                                    
static inline bool rtems_filesystem_is_parent_directory(              
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 2 && token [0] == '.' && token [1] == '.';       
 200c1d4:	22 80 00 37 	be,a   200c2b0 <IMFS_eval_token+0x118>         
 200c1d8:	c2 4e 80 00 	ldsb  [ %i2 ], %g1                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200c1dc:	fa 07 20 50 	ld  [ %i4 + 0x50 ], %i5                        
    if ( rtems_filesystem_is_parent_directory( token, tokenlen ) ) {  
      return dir->Parent;                                             
    } else {                                                          
      rtems_chain_control *entries = &dir->info.directory.Entries;    
      rtems_chain_node *current = rtems_chain_first( entries );       
      rtems_chain_node *tail = rtems_chain_tail( entries );           
 200c1e0:	b2 07 20 54 	add  %i4, 0x54, %i1                            
                                                                      
      while ( current != tail ) {                                     
 200c1e4:	80 a7 40 19 	cmp  %i5, %i1                                  
 200c1e8:	02 80 00 30 	be  200c2a8 <IMFS_eval_token+0x110>            
 200c1ec:	90 07 60 0c 	add  %i5, 0xc, %o0                             
        IMFS_jnode_t *entry = (IMFS_jnode_t *) current;               
        bool match = strncmp( entry->name, token, tokenlen ) == 0     
 200c1f0:	92 10 00 1a 	mov  %i2, %o1                                  
 200c1f4:	40 00 17 0d 	call  2011e28 <strncmp>                        
 200c1f8:	94 10 00 1b 	mov  %i3, %o2                                  
          && entry->name [tokenlen] == '\0';                          
 200c1fc:	80 a2 20 00 	cmp  %o0, 0                                    
 200c200:	12 80 00 26 	bne  200c298 <IMFS_eval_token+0x100>           
 200c204:	82 07 40 1b 	add  %i5, %i3, %g1                             
 200c208:	c2 48 60 0c 	ldsb  [ %g1 + 0xc ], %g1                       
 200c20c:	80 a0 60 00 	cmp  %g1, 0                                    
 200c210:	32 80 00 23 	bne,a   200c29c <IMFS_eval_token+0x104>        
 200c214:	fa 07 40 00 	ld  [ %i5 ], %i5                               
  rtems_chain_extract_unprotected( &node->Node );                     
}                                                                     
                                                                      
static inline IMFS_jnode_types_t IMFS_type( const IMFS_jnode_t *node )
{                                                                     
  return node->control->imfs_type;                                    
 200c218:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
                                                                      
  if ( access_ok ) {                                                  
    IMFS_jnode_t *entry = IMFS_search_in_directory( dir, token, tokenlen );
                                                                      
    if ( entry != NULL ) {                                            
      bool terminal = !rtems_filesystem_eval_path_has_path( ctx );    
 200c21c:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
 200c220:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200c224:	80 a0 00 02 	cmp  %g0, %g2                                  
                                                                      
static inline void rtems_filesystem_eval_path_clear_token(            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->tokenlen = 0;                                                  
 200c228:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
 200c22c:	84 60 3f ff 	subx  %g0, -1, %g2                             
                                                                      
static inline int rtems_filesystem_eval_path_get_flags(               
  const rtems_filesystem_eval_path_context_t *ctx                     
)                                                                     
{                                                                     
  return ctx->flags;                                                  
 200c230:	c8 06 20 10 	ld  [ %i0 + 0x10 ], %g4                        
      bool follow_sym_link = (eval_flags & RTEMS_FS_FOLLOW_SYM_LINK) != 0;
      IMFS_jnode_types_t type = IMFS_type( entry );                   
                                                                      
      rtems_filesystem_eval_path_clear_token( ctx );                  
                                                                      
      if ( type == IMFS_HARD_LINK && (follow_hard_link || !terminal)) {
 200c234:	80 a0 60 02 	cmp  %g1, 2                                    
 200c238:	02 80 00 43 	be  200c344 <IMFS_eval_token+0x1ac>            
 200c23c:	86 10 00 02 	mov  %g2, %g3                                  
        entry = entry->info.hard_link.link_node;                      
      }                                                               
                                                                      
      if ( type == IMFS_SYM_LINK && (follow_sym_link || !terminal)) { 
 200c240:	80 a0 60 03 	cmp  %g1, 3                                    
 200c244:	02 80 00 28 	be  200c2e4 <IMFS_eval_token+0x14c>            
 200c248:	80 a0 60 00 	cmp  %g1, 0                                    
  IMFS_jnode_types_t type                                             
)                                                                     
{                                                                     
  rtems_filesystem_global_location_t **fs_root_ptr = NULL;            
                                                                      
  if ( type == IMFS_DIRECTORY ) {                                     
 200c24c:	32 80 00 2c 	bne,a   200c2fc <IMFS_eval_token+0x164>        
 200c250:	c4 17 20 34 	lduh  [ %i4 + 0x34 ], %g2                      
    if ( node->info.directory.mt_fs != NULL ) {                       
 200c254:	f6 07 60 5c 	ld  [ %i5 + 0x5c ], %i3                        
 200c258:	80 a6 e0 00 	cmp  %i3, 0                                    
 200c25c:	02 80 00 27 	be  200c2f8 <IMFS_eval_token+0x160>            
 200c260:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
          if ( !terminal ) {                                          
            status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;     
          }                                                           
        } else {                                                      
          access_ok = rtems_filesystem_eval_path_check_access(        
 200c264:	d4 07 60 30 	ld  [ %i5 + 0x30 ], %o2                        
 200c268:	d6 17 60 3c 	lduh  [ %i5 + 0x3c ], %o3                      
 200c26c:	d8 17 60 3e 	lduh  [ %i5 + 0x3e ], %o4                      
 200c270:	40 00 02 f7 	call  200ce4c <rtems_filesystem_eval_path_check_access>
 200c274:	92 10 20 01 	mov  1, %o1                                    
            RTEMS_FS_PERMS_EXEC,                                      
            entry->st_mode,                                           
            entry->st_uid,                                            
            entry->st_gid                                             
          );                                                          
          if ( access_ok ) {                                          
 200c278:	80 8a 20 ff 	btst  0xff, %o0                                
 200c27c:	02 bf ff d2 	be  200c1c4 <IMFS_eval_token+0x2c>             <== NEVER TAKEN
 200c280:	90 10 00 18 	mov  %i0, %o0                                  
            rtems_filesystem_eval_path_restart( ctx, fs_root_ptr );   
 200c284:	92 06 e0 24 	add  %i3, 0x24, %o1                            
 200c288:	7f ff e2 e0 	call  2004e08 <rtems_filesystem_eval_path_restart>
 200c28c:	b0 10 20 01 	mov  1, %i0                                    
 200c290:	81 c7 e0 08 	ret                                            
 200c294:	81 e8 00 00 	restore                                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
 200c298:	fa 07 40 00 	ld  [ %i5 ], %i5                               
    } else {                                                          
      rtems_chain_control *entries = &dir->info.directory.Entries;    
      rtems_chain_node *current = rtems_chain_first( entries );       
      rtems_chain_node *tail = rtems_chain_tail( entries );           
                                                                      
      while ( current != tail ) {                                     
 200c29c:	80 a6 40 1d 	cmp  %i1, %i5                                  
 200c2a0:	12 bf ff d4 	bne  200c1f0 <IMFS_eval_token+0x58>            
 200c2a4:	90 07 60 0c 	add  %i5, 0xc, %o0                             
            rtems_filesystem_eval_path_restart( ctx, fs_root_ptr );   
          }                                                           
        }                                                             
      }                                                               
    } else {                                                          
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
 200c2a8:	81 c7 e0 08 	ret                                            
 200c2ac:	91 e8 20 02 	restore  %g0, 2, %o0                           
static inline bool rtems_filesystem_is_parent_directory(              
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 2 && token [0] == '.' && token [1] == '.';       
 200c2b0:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 200c2b4:	32 bf ff cb 	bne,a   200c1e0 <IMFS_eval_token+0x48>         
 200c2b8:	fa 07 20 50 	ld  [ %i4 + 0x50 ], %i5                        
 200c2bc:	c2 4e a0 01 	ldsb  [ %i2 + 1 ], %g1                         
 200c2c0:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 200c2c4:	32 bf ff c7 	bne,a   200c1e0 <IMFS_eval_token+0x48>         <== NEVER TAKEN
 200c2c8:	fa 07 20 50 	ld  [ %i4 + 0x50 ], %i5                        <== NOT EXECUTED
{                                                                     
  if ( rtems_filesystem_is_current_directory( token, tokenlen ) ) {   
    return dir;                                                       
  } else {                                                            
    if ( rtems_filesystem_is_parent_directory( token, tokenlen ) ) {  
      return dir->Parent;                                             
 200c2cc:	fa 07 20 08 	ld  [ %i4 + 8 ], %i5                           
  );                                                                  
                                                                      
  if ( access_ok ) {                                                  
    IMFS_jnode_t *entry = IMFS_search_in_directory( dir, token, tokenlen );
                                                                      
    if ( entry != NULL ) {                                            
 200c2d0:	80 a7 60 00 	cmp  %i5, 0                                    
 200c2d4:	02 bf ff f5 	be  200c2a8 <IMFS_eval_token+0x110>            
 200c2d8:	01 00 00 00 	nop                                            
 200c2dc:	10 bf ff d0 	b  200c21c <IMFS_eval_token+0x84>              
 200c2e0:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
                                                                      
      if ( type == IMFS_HARD_LINK && (follow_hard_link || !terminal)) {
        entry = entry->info.hard_link.link_node;                      
      }                                                               
                                                                      
      if ( type == IMFS_SYM_LINK && (follow_sym_link || !terminal)) { 
 200c2e4:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c2e8:	02 80 00 20 	be  200c368 <IMFS_eval_token+0x1d0>            
 200c2ec:	80 89 20 10 	btst  0x10, %g4                                
 200c2f0:	32 80 00 1f 	bne,a   200c36c <IMFS_eval_token+0x1d4>        
 200c2f4:	fa 07 60 50 	ld  [ %i5 + 0x50 ], %i5                        
      } else {                                                        
        rtems_filesystem_global_location_t **fs_root_ptr =            
          IMFS_is_mount_point( entry, type );                         
                                                                      
        if ( fs_root_ptr == NULL ) {                                  
          --dir->reference_count;                                     
 200c2f8:	c4 17 20 34 	lduh  [ %i4 + 0x34 ], %g2                      
                                                                      
static inline void IMFS_Set_handlers( rtems_filesystem_location_info_t *loc )
{                                                                     
  IMFS_jnode_t *node = (IMFS_jnode_t *) loc->node_access;             
                                                                      
  loc->handlers = node->control->handlers;                            
 200c2fc:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
 200c300:	84 00 bf ff 	add  %g2, -1, %g2                              
 200c304:	c4 37 20 34 	sth  %g2, [ %i4 + 0x34 ]                       
          ++entry->reference_count;                                   
 200c308:	c4 17 60 34 	lduh  [ %i5 + 0x34 ], %g2                      
 200c30c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 200c310:	84 00 a0 01 	inc  %g2                                       
 200c314:	c4 37 60 34 	sth  %g2, [ %i5 + 0x34 ]                       
          currentloc->node_access = entry;                            
 200c318:	fa 26 20 20 	st  %i5, [ %i0 + 0x20 ]                        
 200c31c:	c2 26 20 28 	st  %g1, [ %i0 + 0x28 ]                        
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
 200c320:	b0 08 e0 ff 	and  %g3, 0xff, %i0                            
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 200c324:	81 c7 e0 08 	ret                                            
 200c328:	81 e8 00 00 	restore                                        
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
 200c32c:	c2 4e 80 00 	ldsb  [ %i2 ], %g1                             
 200c330:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 200c334:	32 bf ff ab 	bne,a   200c1e0 <IMFS_eval_token+0x48>         
 200c338:	fa 07 20 50 	ld  [ %i4 + 0x50 ], %i5                        
 200c33c:	10 bf ff b7 	b  200c218 <IMFS_eval_token+0x80>              
 200c340:	ba 10 00 1c 	mov  %i4, %i5                                  
      bool follow_sym_link = (eval_flags & RTEMS_FS_FOLLOW_SYM_LINK) != 0;
      IMFS_jnode_types_t type = IMFS_type( entry );                   
                                                                      
      rtems_filesystem_eval_path_clear_token( ctx );                  
                                                                      
      if ( type == IMFS_HARD_LINK && (follow_hard_link || !terminal)) {
 200c344:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c348:	12 80 00 04 	bne  200c358 <IMFS_eval_token+0x1c0>           
 200c34c:	80 89 20 08 	btst  8, %g4                                   
        entry = entry->info.hard_link.link_node;                      
 200c350:	10 bf ff ea 	b  200c2f8 <IMFS_eval_token+0x160>             
 200c354:	fa 07 60 50 	ld  [ %i5 + 0x50 ], %i5                        
      bool follow_sym_link = (eval_flags & RTEMS_FS_FOLLOW_SYM_LINK) != 0;
      IMFS_jnode_types_t type = IMFS_type( entry );                   
                                                                      
      rtems_filesystem_eval_path_clear_token( ctx );                  
                                                                      
      if ( type == IMFS_HARD_LINK && (follow_hard_link || !terminal)) {
 200c358:	22 bf ff e9 	be,a   200c2fc <IMFS_eval_token+0x164>         
 200c35c:	c4 17 20 34 	lduh  [ %i4 + 0x34 ], %g2                      
 200c360:	10 bf ff e6 	b  200c2f8 <IMFS_eval_token+0x160>             
 200c364:	fa 07 60 50 	ld  [ %i5 + 0x50 ], %i5                        
        entry = entry->info.hard_link.link_node;                      
      }                                                               
                                                                      
      if ( type == IMFS_SYM_LINK && (follow_sym_link || !terminal)) { 
        const char *target = entry->info.sym_link.name;               
 200c368:	fa 07 60 50 	ld  [ %i5 + 0x50 ], %i5                        
                                                                      
        rtems_filesystem_eval_path_recursive( ctx, target, strlen( target ) );
 200c36c:	40 00 16 7d 	call  2011d60 <strlen>                         
 200c370:	90 10 00 1d 	mov  %i5, %o0                                  
 200c374:	92 10 00 1d 	mov  %i5, %o1                                  
 200c378:	94 10 00 08 	mov  %o0, %o2                                  
 200c37c:	7f ff e2 bc 	call  2004e6c <rtems_filesystem_eval_path_recursive>
 200c380:	90 10 00 18 	mov  %i0, %o0                                  
 200c384:	30 bf ff 90 	b,a   200c1c4 <IMFS_eval_token+0x2c>           
                                                                      

0200c3a0 <IMFS_fchmod>: int IMFS_fchmod( const rtems_filesystem_location_info_t *loc, mode_t mode ) {
 200c3a0:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
 200c3a4:	40 00 01 84 	call  200c9b4 <geteuid>                        
 200c3a8:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
 200c3ac:	c2 17 60 3c 	lduh  [ %i5 + 0x3c ], %g1                      
 200c3b0:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 200c3b4:	91 32 20 10 	srl  %o0, 0x10, %o0                            
 200c3b8:	80 a0 40 08 	cmp  %g1, %o0                                  
 200c3bc:	02 80 00 04 	be  200c3cc <IMFS_fchmod+0x2c>                 
 200c3c0:	80 a2 20 00 	cmp  %o0, 0                                    
 200c3c4:	12 80 00 0e 	bne  200c3fc <IMFS_fchmod+0x5c>                <== ALWAYS TAKEN
 200c3c8:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
 200c3cc:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  IMFS_update_ctime( jnode );                                         
 200c3d0:	90 07 bf f8 	add  %fp, -8, %o0                              
                                                                      
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
 200c3d4:	82 08 70 00 	and  %g1, -4096, %g1                           
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
                                                                      
  IMFS_update_ctime( jnode );                                         
 200c3d8:	92 10 20 00 	clr  %o1                                       
  /*                                                                  
   * Change only the RWX permissions on the jnode to mode.            
   */                                                                 
                                                                      
  jnode->st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
  jnode->st_mode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
 200c3dc:	b2 0e 6f ff 	and  %i1, 0xfff, %i1                           
 200c3e0:	b2 16 40 01 	or  %i1, %g1, %i1                              
                                                                      
  IMFS_update_ctime( jnode );                                         
 200c3e4:	7f ff dd 6a 	call  200398c <gettimeofday>                   
 200c3e8:	f2 27 60 30 	st  %i1, [ %i5 + 0x30 ]                        
 200c3ec:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200c3f0:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 200c3f4:	81 c7 e0 08 	ret                                            
 200c3f8:	91 e8 20 00 	restore  %g0, 0, %o0                           
   */                                                                 
#if defined(RTEMS_POSIX_API)                                          
  st_uid = geteuid();                                                 
                                                                      
  if ( ( st_uid != jnode->st_uid ) && ( st_uid != 0 ) )               
    rtems_set_errno_and_return_minus_one( EPERM );                    
 200c3fc:	40 00 10 fe 	call  20107f4 <__errno>                        
 200c400:	b0 10 3f ff 	mov  -1, %i0                                   
 200c404:	82 10 20 01 	mov  1, %g1                                    
 200c408:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200c40c:	81 c7 e0 08 	ret                                            
 200c410:	81 e8 00 00 	restore                                        
                                                                      

02003b78 <IMFS_fifo_write>: static ssize_t IMFS_fifo_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
 2003b78:	9d e3 bf 98 	save  %sp, -104, %sp                           
  IMFS_jnode_t *jnode = iop->pathinfo.node_access;                    
 2003b7c:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
                                                                      
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
 2003b80:	96 10 00 18 	mov  %i0, %o3                                  
 2003b84:	d0 07 60 50 	ld  [ %i5 + 0x50 ], %o0                        
 2003b88:	92 10 00 19 	mov  %i1, %o1                                  
 2003b8c:	40 00 2d 33 	call  200f058 <pipe_write>                     
 2003b90:	94 10 00 1a 	mov  %i2, %o2                                  
  if (err > 0) {                                                      
 2003b94:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2003b98:	04 80 00 09 	ble  2003bbc <IMFS_fifo_write+0x44>            
 2003b9c:	90 07 bf f8 	add  %fp, -8, %o0                              
    IMFS_mtime_ctime_update(jnode);                                   
 2003ba0:	40 00 04 52 	call  2004ce8 <gettimeofday>                   
 2003ba4:	92 10 20 00 	clr  %o1                                       
 2003ba8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2003bac:	c2 27 60 44 	st  %g1, [ %i5 + 0x44 ]                        
 2003bb0:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
 2003bb4:	81 c7 e0 08 	ret                                            
 2003bb8:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
 2003bbc:	80 a6 20 00 	cmp  %i0, 0                                    
 2003bc0:	12 80 00 04 	bne  2003bd0 <IMFS_fifo_write+0x58>            <== ALWAYS TAKEN
 2003bc4:	01 00 00 00 	nop                                            
}                                                                     
 2003bc8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003bcc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  int err = pipe_write(JNODE2PIPE(jnode), buffer, count, iop);        
  if (err > 0) {                                                      
    IMFS_mtime_ctime_update(jnode);                                   
  }                                                                   
                                                                      
  IMFS_FIFO_RETURN(err);                                              
 2003bd0:	40 00 3b 71 	call  2012994 <__errno>                        
 2003bd4:	01 00 00 00 	nop                                            
 2003bd8:	82 20 00 18 	neg  %i0, %g1                                  
 2003bdc:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 2003be0:	81 c7 e0 08 	ret                                            
 2003be4:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      

0200c414 <IMFS_fsunmount>: ((IMFS_jnode_t *)( rtems_chain_head( jnode_get_control( jnode ) )->next)) void IMFS_fsunmount( rtems_filesystem_mount_table_entry_t *temp_mt_entry ) {
 200c414:	9d e3 bf 88 	save  %sp, -120, %sp                           
   /*                                                                 
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   loc = temp_mt_entry->mt_fs_root->location;                         
 200c418:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
 200c41c:	c6 00 a0 08 	ld  [ %g2 + 8 ], %g3                           
 200c420:	f2 00 80 00 	ld  [ %g2 ], %i1                               
 200c424:	f4 00 a0 04 	ld  [ %g2 + 4 ], %i2                           
 200c428:	f6 00 a0 0c 	ld  [ %g2 + 0xc ], %i3                         
 200c42c:	f8 00 a0 10 	ld  [ %g2 + 0x10 ], %i4                        
 200c430:	c8 00 a0 14 	ld  [ %g2 + 0x14 ], %g4                        
 200c434:	c2 00 e0 4c 	ld  [ %g3 + 0x4c ], %g1                        
 200c438:	f2 27 bf e8 	st  %i1, [ %fp + -24 ]                         
 200c43c:	f4 27 bf ec 	st  %i2, [ %fp + -20 ]                         
 200c440:	c6 27 bf f0 	st  %g3, [ %fp + -16 ]                         
 200c444:	f6 27 bf f4 	st  %i3, [ %fp + -12 ]                         
 200c448:	f8 27 bf f8 	st  %i4, [ %fp + -8 ]                          
 200c44c:	c8 27 bf fc 	st  %g4, [ %fp + -4 ]                          
                                                                      
   /*                                                                 
    *  Set this to null to indicate that it is being unmounted.       
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root->location.node_access = NULL;            
 200c450:	c0 20 a0 08 	clr  [ %g2 + 8 ]                               
 200c454:	c4 00 40 00 	ld  [ %g1 ], %g2                               
    * Traverse tree that starts at the mt_fs_root and deallocate memory
    * associated memory space                                         
    */                                                                
                                                                      
   loc = temp_mt_entry->mt_fs_root->location;                         
   jnode = (IMFS_jnode_t *)loc.node_access;                           
 200c458:	ba 10 00 03 	mov  %g3, %i5                                  
 200c45c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root->location.node_access = NULL;            
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
 200c460:	f8 07 60 08 	ld  [ %i5 + 8 ], %i4                           
     loc.node_access = (void *)jnode;                                 
 200c464:	fa 27 bf f0 	st  %i5, [ %fp + -16 ]                         
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( !IMFS_is_directory( jnode ) || jnode_has_no_children( jnode ) ) {
 200c468:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c46c:	12 80 00 13 	bne  200c4b8 <IMFS_fsunmount+0xa4>             <== NEVER TAKEN
 200c470:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
 200c474:	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 );                            
 200c478:	84 07 60 54 	add  %i5, 0x54, %g2                            
 200c47c:	80 a0 40 02 	cmp  %g1, %g2                                  
 200c480:	02 80 00 0f 	be  200c4bc <IMFS_fsunmount+0xa8>              
 200c484:	90 10 20 00 	clr  %o0                                       
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200c488:	ba 10 00 01 	mov  %g1, %i5                                  
       if ( IMFS_is_directory( jnode ) ) {                            
         if ( jnode_has_children( jnode ) )                           
           jnode = jnode_get_first_child( jnode );                    
       }                                                              
     }                                                                
   } while (jnode != NULL);                                           
 200c48c:	80 a7 60 00 	cmp  %i5, 0                                    
 200c490:	02 80 00 21 	be  200c514 <IMFS_fsunmount+0x100>             <== NEVER TAKEN
 200c494:	01 00 00 00 	nop                                            
 200c498:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        
    */                                                                
                                                                      
   temp_mt_entry->mt_fs_root->location.node_access = NULL;            
                                                                      
   do {                                                               
     next = jnode->Parent;                                            
 200c49c:	f8 07 60 08 	ld  [ %i5 + 8 ], %i4                           
 200c4a0:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200c4a4:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
     loc.node_access = (void *)jnode;                                 
 200c4a8:	fa 27 bf f0 	st  %i5, [ %fp + -16 ]                         
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( !IMFS_is_directory( jnode ) || jnode_has_no_children( jnode ) ) {
 200c4ac:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c4b0:	02 bf ff f1 	be  200c474 <IMFS_fsunmount+0x60>              
 200c4b4:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
        result = IMFS_rmnod( NULL, &loc );                            
 200c4b8:	90 10 20 00 	clr  %o0                                       
 200c4bc:	7f ff db b7 	call  2003398 <IMFS_rmnod>                     
 200c4c0:	92 07 bf e8 	add  %fp, -24, %o1                             
        if ( result != 0 )                                            
 200c4c4:	80 a2 20 00 	cmp  %o0, 0                                    
 200c4c8:	12 80 00 15 	bne  200c51c <IMFS_fsunmount+0x108>            <== NEVER TAKEN
 200c4cc:	11 37 ab 6f 	sethi  %hi(0xdeadbc00), %o0                    
	  rtems_fatal_error_occurred( 0xdeadbeef );                          
        IMFS_node_destroy( jnode );                                   
 200c4d0:	7f ff da d0 	call  2003010 <IMFS_node_destroy>              
 200c4d4:	90 10 00 1d 	mov  %i5, %o0                                  
        jnode = next;                                                 
     }                                                                
     if ( jnode != NULL ) {                                           
 200c4d8:	80 a7 20 00 	cmp  %i4, 0                                    
 200c4dc:	02 80 00 0e 	be  200c514 <IMFS_fsunmount+0x100>             
 200c4e0:	01 00 00 00 	nop                                            
 200c4e4:	c2 07 20 4c 	ld  [ %i4 + 0x4c ], %g1                        
 200c4e8:	c4 00 40 00 	ld  [ %g1 ], %g2                               
       if ( IMFS_is_directory( jnode ) ) {                            
 200c4ec:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c4f0:	12 bf ff db 	bne  200c45c <IMFS_fsunmount+0x48>             <== NEVER TAKEN
 200c4f4:	ba 10 00 1c 	mov  %i4, %i5                                  
 200c4f8:	fa 07 20 50 	ld  [ %i4 + 0x50 ], %i5                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200c4fc:	86 07 20 54 	add  %i4, 0x54, %g3                            
         if ( jnode_has_children( jnode ) )                           
 200c500:	80 a7 40 03 	cmp  %i5, %g3                                  
 200c504:	12 bf ff e3 	bne  200c490 <IMFS_fsunmount+0x7c>             
 200c508:	80 a7 60 00 	cmp  %i5, 0                                    
 200c50c:	10 bf ff d4 	b  200c45c <IMFS_fsunmount+0x48>               
 200c510:	ba 10 00 1c 	mov  %i4, %i5                                  
 200c514:	81 c7 e0 08 	ret                                            
 200c518:	81 e8 00 00 	restore                                        
     IMFS_Set_handlers( &loc );                                       
                                                                      
     if ( !IMFS_is_directory( jnode ) || jnode_has_no_children( jnode ) ) {
        result = IMFS_rmnod( NULL, &loc );                            
        if ( result != 0 )                                            
	  rtems_fatal_error_occurred( 0xdeadbeef );                          
 200c51c:	7f ff ef ee 	call  20084d4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200c520:	90 12 22 ef 	or  %o0, 0x2ef, %o0                            <== NOT EXECUTED
                                                                      

02002efc <IMFS_initialize_support>: int IMFS_initialize_support( rtems_filesystem_mount_table_entry_t *mt_entry, const rtems_filesystem_operations_table *op_table, const IMFS_node_control *const node_controls [IMFS_TYPE_COUNT] ) {
 2002efc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  static int imfs_instance;                                           
                                                                      
  int rv = 0;                                                         
  IMFS_fs_info_t *fs_info = calloc( 1, sizeof( *fs_info ) );          
 2002f00:	90 10 20 01 	mov  1, %o0                                    
 2002f04:	40 00 01 c8 	call  2003624 <calloc>                         
 2002f08:	92 10 20 24 	mov  0x24, %o1                                 
                                                                      
  if ( fs_info != NULL ) {                                            
 2002f0c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2002f10:	02 80 00 34 	be  2002fe0 <IMFS_initialize_support+0xe4>     
 2002f14:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
    IMFS_jnode_t *root_node;                                          
                                                                      
    fs_info->instance = imfs_instance++;                              
 2002f18:	c4 00 63 a4 	ld  [ %g1 + 0x3a4 ], %g2	! 201e3a4 <imfs_instance.6564>
    memcpy(                                                           
 2002f1c:	92 10 00 1a 	mov  %i2, %o1                                  
  IMFS_fs_info_t *fs_info = calloc( 1, sizeof( *fs_info ) );          
                                                                      
  if ( fs_info != NULL ) {                                            
    IMFS_jnode_t *root_node;                                          
                                                                      
    fs_info->instance = imfs_instance++;                              
 2002f20:	86 00 a0 01 	add  %g2, 1, %g3                               
    memcpy(                                                           
 2002f24:	94 10 20 1c 	mov  0x1c, %o2                                 
  IMFS_fs_info_t *fs_info = calloc( 1, sizeof( *fs_info ) );          
                                                                      
  if ( fs_info != NULL ) {                                            
    IMFS_jnode_t *root_node;                                          
                                                                      
    fs_info->instance = imfs_instance++;                              
 2002f28:	c4 27 40 00 	st  %g2, [ %i5 ]                               
 2002f2c:	c6 20 63 a4 	st  %g3, [ %g1 + 0x3a4 ]                       
    memcpy(                                                           
 2002f30:	40 00 38 78 	call  2011110 <memcpy>                         
 2002f34:	90 07 60 08 	add  %i5, 8, %o0                               
      fs_info->node_controls,                                         
      node_controls,                                                  
      sizeof( fs_info->node_controls )                                
    );                                                                
                                                                      
    root_node = IMFS_allocate_node(                                   
 2002f38:	d2 07 60 08 	ld  [ %i5 + 8 ], %o1                           
 2002f3c:	90 10 00 1d 	mov  %i5, %o0                                  
 2002f40:	96 10 20 00 	clr  %o3                                       
 2002f44:	15 00 80 6f 	sethi  %hi(0x201bc00), %o2                     
 2002f48:	9a 10 20 00 	clr  %o5                                       
 2002f4c:	94 12 a2 c0 	or  %o2, 0x2c0, %o2                            
 2002f50:	19 00 00 10 	sethi  %hi(0x4000), %o4                        
 2002f54:	40 00 24 40 	call  200c054 <IMFS_allocate_node>             
 2002f58:	98 13 21 ed 	or  %o4, 0x1ed, %o4	! 41ed <PROM_START+0x41ed> 
      "",                                                             
      0,                                                              
      (S_IFDIR | 0755),                                               
      NULL                                                            
    );                                                                
    if ( root_node != NULL ) {                                        
 2002f5c:	80 a2 20 00 	cmp  %o0, 0                                    
 2002f60:	02 80 00 20 	be  2002fe0 <IMFS_initialize_support+0xe4>     <== NEVER TAKEN
 2002f64:	09 00 80 71 	sethi  %hi(0x201c400), %g4                     
                                                                      
static inline void IMFS_Set_handlers( rtems_filesystem_location_info_t *loc )
{                                                                     
  IMFS_jnode_t *node = (IMFS_jnode_t *) loc->node_access;             
                                                                      
  loc->handlers = node->control->handlers;                            
 2002f68:	c4 02 20 4c 	ld  [ %o0 + 0x4c ], %g2                        
      mt_entry->fs_info = fs_info;                                    
      mt_entry->ops = op_table;                                       
      mt_entry->pathconf_limits_and_options = &IMFS_LIMITS_AND_OPTIONS;
      mt_entry->mt_fs_root->location.node_access = root_node;         
 2002f6c:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2002f70:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
      0,                                                              
      (S_IFDIR | 0755),                                               
      NULL                                                            
    );                                                                
    if ( root_node != NULL ) {                                        
      mt_entry->fs_info = fs_info;                                    
 2002f74:	fa 26 20 08 	st  %i5, [ %i0 + 8 ]                           
      mt_entry->ops = op_table;                                       
 2002f78:	f2 26 20 0c 	st  %i1, [ %i0 + 0xc ]                         
    errno = ENOMEM;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    IMFS_determine_bytes_per_block(                                   
 2002f7c:	05 00 80 76 	sethi  %hi(0x201d800), %g2                     
      NULL                                                            
    );                                                                
    if ( root_node != NULL ) {                                        
      mt_entry->fs_info = fs_info;                                    
      mt_entry->ops = op_table;                                       
      mt_entry->pathconf_limits_and_options = &IMFS_LIMITS_AND_OPTIONS;
 2002f80:	88 11 23 ac 	or  %g4, 0x3ac, %g4                            
    errno = ENOMEM;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    IMFS_determine_bytes_per_block(                                   
 2002f84:	c4 00 a3 fc 	ld  [ %g2 + 0x3fc ], %g2                       
      NULL                                                            
    );                                                                
    if ( root_node != NULL ) {                                        
      mt_entry->fs_info = fs_info;                                    
      mt_entry->ops = op_table;                                       
      mt_entry->pathconf_limits_and_options = &IMFS_LIMITS_AND_OPTIONS;
 2002f88:	c8 26 20 2c 	st  %g4, [ %i0 + 0x2c ]                        
      mt_entry->mt_fs_root->location.node_access = root_node;         
 2002f8c:	d0 20 60 08 	st  %o0, [ %g1 + 8 ]                           
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
 2002f90:	80 a0 a0 10 	cmp  %g2, 0x10                                 
 2002f94:	02 80 00 0f 	be  2002fd0 <IMFS_initialize_support+0xd4>     
 2002f98:	c6 20 60 10 	st  %g3, [ %g1 + 0x10 ]                        
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
 2002f9c:	80 a0 a0 0f 	cmp  %g2, 0xf                                  
 2002fa0:	04 80 00 0b 	ble  2002fcc <IMFS_initialize_support+0xd0>    
 2002fa4:	82 10 20 20 	mov  0x20, %g1                                 
 2002fa8:	86 10 20 05 	mov  5, %g3                                    
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
    if (bit_mask == requested_bytes_per_block) {                      
 2002fac:	80 a0 80 01 	cmp  %g2, %g1                                  
 2002fb0:	22 80 00 09 	be,a   2002fd4 <IMFS_initialize_support+0xd8>  
 2002fb4:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
      is_valid = true;                                                
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
 2002fb8:	26 80 00 06 	bl,a   2002fd0 <IMFS_initialize_support+0xd4>  <== NEVER TAKEN
 2002fbc:	84 10 20 80 	mov  0x80, %g2                                 <== NOT EXECUTED
  int bit_mask;                                                       
                                                                      
  /*                                                                  
   * check, whether requested bytes per block is valid                
   */                                                                 
  for (bit_mask = 16; !is_valid && (bit_mask <= 512); bit_mask <<= 1) {
 2002fc0:	86 80 ff ff 	addcc  %g3, -1, %g3                            
 2002fc4:	12 bf ff fa 	bne  2002fac <IMFS_initialize_support+0xb0>    <== ALWAYS TAKEN
 2002fc8:	83 28 60 01 	sll  %g1, 1, %g1                               
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
			   ? requested_bytes_per_block                                     
			   : default_bytes_per_block);                                     
 2002fcc:	84 10 20 80 	mov  0x80, %g2                                 
      break;                                                          
    }                                                                 
    if(bit_mask > requested_bytes_per_block)                          
      break;                                                          
  }                                                                   
  *dest_bytes_per_block = ((is_valid)                                 
 2002fd0:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2002fd4:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]	! 201e3a0 <imfs_memfile_bytes_per_block>
  const IMFS_node_control *const node_controls [IMFS_TYPE_COUNT]      
)                                                                     
{                                                                     
  static int imfs_instance;                                           
                                                                      
  int rv = 0;                                                         
 2002fd8:	81 c7 e0 08 	ret                                            
 2002fdc:	91 e8 20 00 	restore  %g0, 0, %o0                           
    } else {                                                          
      errno = ENOMEM;                                                 
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    errno = ENOMEM;                                                   
 2002fe0:	40 00 36 05 	call  20107f4 <__errno>                        
 2002fe4:	b0 10 3f ff 	mov  -1, %i0                                   
 2002fe8:	82 10 20 0c 	mov  0xc, %g1                                  
 2002fec:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      IMFS_MEMFILE_DEFAULT_BYTES_PER_BLOCK                            
    );                                                                
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 2002ff0:	81 c7 e0 08 	ret                                            
 2002ff4:	81 e8 00 00 	restore                                        
                                                                      

02004b70 <IMFS_make_generic_node>: const char *path, mode_t mode, const IMFS_node_control *node_control, void *context ) {
 2004b70:	9d e3 bf 48 	save  %sp, -184, %sp                           
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
 2004b74:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 2004b78:	c2 00 60 54 	ld  [ %g1 + 0x54 ], %g1	! 2022854 <rtems_current_user_env>
                                                                      
  switch (mode & S_IFMT) {                                            
 2004b7c:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
  void *context                                                       
)                                                                     
{                                                                     
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
 2004b80:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 2004b84:	b2 2e 40 01 	andn  %i1, %g1, %i1                            
                                                                      
  switch (mode & S_IFMT) {                                            
 2004b88:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2004b8c:	82 0e 40 01 	and  %i1, %g1, %g1                             
 2004b90:	80 a0 40 02 	cmp  %g1, %g2                                  
 2004b94:	22 80 00 0c 	be,a   2004bc4 <IMFS_make_generic_node+0x54>   
 2004b98:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 2004b9c:	08 80 00 1d 	bleu  2004c10 <IMFS_make_generic_node+0xa0>    <== NEVER TAKEN
 2004ba0:	05 00 00 04 	sethi  %hi(0x1000), %g2                        
 2004ba4:	05 00 00 18 	sethi  %hi(0x6000), %g2                        
 2004ba8:	80 a0 40 02 	cmp  %g1, %g2                                  
 2004bac:	02 80 00 05 	be  2004bc0 <IMFS_make_generic_node+0x50>      
 2004bb0:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
 2004bb4:	80 a0 40 02 	cmp  %g1, %g2                                  
 2004bb8:	12 80 00 19 	bne  2004c1c <IMFS_make_generic_node+0xac>     <== ALWAYS TAKEN
 2004bbc:	01 00 00 00 	nop                                            
      rv = -1;                                                        
      break;                                                          
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    if ( node_control->imfs_type == IMFS_GENERIC ) {                  
 2004bc0:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 2004bc4:	80 a0 60 07 	cmp  %g1, 7                                    
 2004bc8:	12 80 00 15 	bne  2004c1c <IMFS_make_generic_node+0xac>     
 2004bcc:	92 10 00 18 	mov  %i0, %o1                                  
      rtems_filesystem_eval_path_context_t ctx;                       
      int eval_flags = RTEMS_FS_FOLLOW_LINK                           
        | RTEMS_FS_MAKE                                               
        | RTEMS_FS_EXCLUSIVE;                                         
      const rtems_filesystem_location_info_t *currentloc =            
 2004bd0:	94 10 20 78 	mov  0x78, %o2                                 
 2004bd4:	40 00 08 66 	call  2006d6c <rtems_filesystem_eval_path_start>
 2004bd8:	90 07 bf c8 	add  %fp, -56, %o0                             
        rtems_filesystem_eval_path_start( &ctx, path, eval_flags );   
                                                                      
      if ( IMFS_is_imfs_instance( currentloc ) ) {                    
 2004bdc:	7f ff ff d2 	call  2004b24 <IMFS_is_imfs_instance>          
 2004be0:	ba 10 00 08 	mov  %o0, %i5                                  
 2004be4:	80 8a 20 ff 	btst  0xff, %o0                                
 2004be8:	12 80 00 13 	bne  2004c34 <IMFS_make_generic_node+0xc4>     
 2004bec:	d4 1f bf d0 	ldd  [ %fp + -48 ], %o2                        
          IMFS_update_mtime( parent );                                
        } else {                                                      
          rv = -1;                                                    
        }                                                             
      } else {                                                        
        rtems_filesystem_eval_path_error( &ctx, ENOTSUP );            
 2004bf0:	90 07 bf c8 	add  %fp, -56, %o0                             
 2004bf4:	92 10 20 86 	mov  0x86, %o1                                 
 2004bf8:	40 00 07 a1 	call  2006a7c <rtems_filesystem_eval_path_error>
 2004bfc:	b0 10 3f ff 	mov  -1, %i0                                   
        rv = -1;                                                      
      }                                                               
                                                                      
      rtems_filesystem_eval_path_cleanup( &ctx );                     
 2004c00:	40 00 08 9b 	call  2006e6c <rtems_filesystem_eval_path_cleanup>
 2004c04:	90 07 bf c8 	add  %fp, -56, %o0                             
 2004c08:	81 c7 e0 08 	ret                                            
 2004c0c:	81 e8 00 00 	restore                                        
{                                                                     
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
                                                                      
  switch (mode & S_IFMT) {                                            
 2004c10:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 2004c14:	22 bf ff ec 	be,a   2004bc4 <IMFS_make_generic_node+0x54>   <== NOT EXECUTED
 2004c18:	c2 06 80 00 	ld  [ %i2 ], %g1                               <== NOT EXECUTED
        rv = -1;                                                      
      }                                                               
                                                                      
      rtems_filesystem_eval_path_cleanup( &ctx );                     
    } else {                                                          
      errno = EINVAL;                                                 
 2004c1c:	40 00 41 ce 	call  2015354 <__errno>                        
 2004c20:	b0 10 3f ff 	mov  -1, %i0                                   
 2004c24:	82 10 20 16 	mov  0x16, %g1                                 
 2004c28:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2004c2c:	81 c7 e0 08 	ret                                            
 2004c30:	81 e8 00 00 	restore                                        
                                                                      
      if ( IMFS_is_imfs_instance( currentloc ) ) {                    
        IMFS_types_union info;                                        
        IMFS_jnode_t *new_node;                                       
                                                                      
        info.generic.context = context;                               
 2004c34:	f6 27 bf b0 	st  %i3, [ %fp + -80 ]                         
        new_node = IMFS_create_node_with_control(                     
 2004c38:	90 10 00 1d 	mov  %i5, %o0                                  
 2004c3c:	92 10 00 1a 	mov  %i2, %o1                                  
 2004c40:	98 10 00 19 	mov  %i1, %o4                                  
 2004c44:	9a 07 bf b0 	add  %fp, -80, %o5                             
 2004c48:	40 00 30 22 	call  2010cd0 <IMFS_create_node_with_control>  
 2004c4c:	b0 10 3f ff 	mov  -1, %i0                                   
          rtems_filesystem_eval_path_get_tokenlen( &ctx ),            
          mode,                                                       
          &info                                                       
        );                                                            
                                                                      
        if ( new_node != NULL ) {                                     
 2004c50:	80 a2 20 00 	cmp  %o0, 0                                    
 2004c54:	02 bf ff eb 	be  2004c00 <IMFS_make_generic_node+0x90>      
 2004c58:	92 10 20 00 	clr  %o1                                       
          IMFS_jnode_t *parent = currentloc->node_access;             
 2004c5c:	fa 07 60 08 	ld  [ %i5 + 8 ], %i5                           
                                                                      
          IMFS_update_ctime( parent );                                
 2004c60:	40 00 02 99 	call  20056c4 <gettimeofday>                   
 2004c64:	90 07 bf a8 	add  %fp, -88, %o0                             
 2004c68:	c2 07 bf a8 	ld  [ %fp + -88 ], %g1                         
          IMFS_update_mtime( parent );                                
 2004c6c:	90 07 bf a8 	add  %fp, -88, %o0                             
        );                                                            
                                                                      
        if ( new_node != NULL ) {                                     
          IMFS_jnode_t *parent = currentloc->node_access;             
                                                                      
          IMFS_update_ctime( parent );                                
 2004c70:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
          IMFS_update_mtime( parent );                                
 2004c74:	40 00 02 94 	call  20056c4 <gettimeofday>                   
 2004c78:	92 10 20 00 	clr  %o1                                       
 2004c7c:	c2 07 bf a8 	ld  [ %fp + -88 ], %g1                         
 2004c80:	b0 10 20 00 	clr  %i0                                       
 2004c84:	c2 27 60 44 	st  %g1, [ %i5 + 0x44 ]                        
      } else {                                                        
        rtems_filesystem_eval_path_error( &ctx, ENOTSUP );            
        rv = -1;                                                      
      }                                                               
                                                                      
      rtems_filesystem_eval_path_cleanup( &ctx );                     
 2004c88:	40 00 08 79 	call  2006e6c <rtems_filesystem_eval_path_cleanup>
 2004c8c:	90 07 bf c8 	add  %fp, -56, %o0                             
 2004c90:	81 c7 e0 08 	ret                                            
 2004c94:	81 e8 00 00 	restore                                        
                                                                      

0200efb4 <IMFS_memfile_addblock>: */ MEMFILE_STATIC int IMFS_memfile_addblock( IMFS_jnode_t *the_jnode, unsigned int block ) {
 200efb4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );          
                                                                      
  /*                                                                  
   * Obtain the pointer for the specified block number                
   */                                                                 
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
 200efb8:	94 10 20 01 	mov  1, %o2                                    
 200efbc:	90 10 00 18 	mov  %i0, %o0                                  
 200efc0:	7f ff fe ba 	call  200eaa8 <IMFS_memfile_get_block_pointer> 
 200efc4:	92 10 00 19 	mov  %i1, %o1                                  
  if ( *block_entry_ptr )                                             
 200efc8:	c2 02 00 00 	ld  [ %o0 ], %g1                               
  IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );          
                                                                      
  /*                                                                  
   * Obtain the pointer for the specified block number                
   */                                                                 
  block_entry_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 1 );
 200efcc:	ba 10 00 08 	mov  %o0, %i5                                  
  if ( *block_entry_ptr )                                             
 200efd0:	80 a0 60 00 	cmp  %g1, 0                                    
 200efd4:	12 80 00 08 	bne  200eff4 <IMFS_memfile_addblock+0x40>      
 200efd8:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
                                                                      
  /*                                                                  
   *  There is no memory for this block number so allocate it.        
   */                                                                 
  memory = memfile_alloc_block();                                     
 200efdc:	7f ff fe a6 	call  200ea74 <memfile_alloc_block>            
 200efe0:	01 00 00 00 	nop                                            
  if ( !memory )                                                      
 200efe4:	80 a2 20 00 	cmp  %o0, 0                                    
 200efe8:	02 80 00 05 	be  200effc <IMFS_memfile_addblock+0x48>       <== NEVER TAKEN
 200efec:	01 00 00 00 	nop                                            
    return 1;                                                         
                                                                      
  *block_entry_ptr = memory;                                          
 200eff0:	d0 27 40 00 	st  %o0, [ %i5 ]                               
  return 0;                                                           
 200eff4:	81 c7 e0 08 	ret                                            
 200eff8:	81 e8 00 00 	restore                                        
}                                                                     
 200effc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f000:	91 e8 20 01 	restore  %g0, 1, %o0                           <== NOT EXECUTED
                                                                      

0200f228 <IMFS_memfile_extend>: MEMFILE_STATIC int IMFS_memfile_extend( IMFS_jnode_t *the_jnode, bool zero_fill, off_t new_length ) {
 200f228:	9d e3 bf 98 	save  %sp, -104, %sp                           
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
 200f22c:	25 00 80 78 	sethi  %hi(0x201e000), %l2                     
 200f230:	fa 04 a3 a0 	ld  [ %l2 + 0x3a0 ], %i5	! 201e3a0 <imfs_memfile_bytes_per_block>
 200f234:	b9 37 60 02 	srl  %i5, 2, %i4                               
 200f238:	92 10 00 1c 	mov  %i4, %o1                                  
 200f23c:	40 00 28 b2 	call  2019504 <.umul>                          
 200f240:	90 07 20 01 	add  %i4, 1, %o0                               
 200f244:	92 10 00 1c 	mov  %i4, %o1                                  
 200f248:	40 00 28 af 	call  2019504 <.umul>                          
 200f24c:	90 02 20 01 	inc  %o0                                       
 200f250:	92 10 00 1d 	mov  %i5, %o1                                  
 200f254:	40 00 28 ac 	call  2019504 <.umul>                          
 200f258:	90 02 3f ff 	add  %o0, -1, %o0                              
 200f25c:	82 10 20 00 	clr  %g1                                       
 200f260:	80 a0 40 1a 	cmp  %g1, %i2                                  
 200f264:	04 80 00 58 	ble  200f3c4 <IMFS_memfile_extend+0x19c>       <== ALWAYS TAKEN
 200f268:	b8 10 00 18 	mov  %i0, %i4                                  
    rtems_set_errno_and_return_minus_one( EFBIG );                    
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
 200f26c:	e2 07 20 50 	ld  [ %i4 + 0x50 ], %l1                        <== NOT EXECUTED
 200f270:	80 a6 80 11 	cmp  %i2, %l1                                  
 200f274:	04 80 00 3f 	ble  200f370 <IMFS_memfile_extend+0x148>       <== ALWAYS TAKEN
 200f278:	e0 07 20 54 	ld  [ %i4 + 0x54 ], %l0                        
    return 0;                                                         
                                                                      
  /*                                                                  
   *  Calculate the number of range of blocks to allocate             
   */                                                                 
  new_blocks = new_length / IMFS_MEMFILE_BYTES_PER_BLOCK;             
 200f27c:	a7 3f 60 1f 	sra  %i5, 0x1f, %l3                            <== NOT EXECUTED
 200f280:	96 10 00 1d 	mov  %i5, %o3                                  
 200f284:	94 10 00 13 	mov  %l3, %o2                                  
 200f288:	90 10 00 1a 	mov  %i2, %o0                                  
 200f28c:	40 00 2a 30 	call  2019b4c <__divdi3>                       
 200f290:	92 10 00 1b 	mov  %i3, %o1                                  
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
 200f294:	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;             
 200f298:	b0 10 00 09 	mov  %o1, %i0                                  
  old_blocks = the_jnode->info.file.size / IMFS_MEMFILE_BYTES_PER_BLOCK;
 200f29c:	90 10 00 11 	mov  %l1, %o0                                  
 200f2a0:	92 10 00 10 	mov  %l0, %o1                                  
 200f2a4:	40 00 2a 2a 	call  2019b4c <__divdi3>                       
 200f2a8:	94 10 00 13 	mov  %l3, %o2                                  
 200f2ac:	a2 10 00 09 	mov  %o1, %l1                                  
  offset = the_jnode->info.file.size - old_blocks * IMFS_MEMFILE_BYTES_PER_BLOCK;
 200f2b0:	90 10 00 09 	mov  %o1, %o0                                  
 200f2b4:	40 00 28 94 	call  2019504 <.umul>                          
 200f2b8:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
 200f2bc:	ba 10 00 11 	mov  %l1, %i5                                  
 200f2c0:	80 a6 00 11 	cmp  %i0, %l1                                  
 200f2c4:	1a 80 00 07 	bcc  200f2e0 <IMFS_memfile_extend+0xb8>        <== ALWAYS TAKEN
 200f2c8:	a0 24 00 08 	sub  %l0, %o0, %l0                             
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
 200f2cc:	10 80 00 1d 	b  200f340 <IMFS_memfile_extend+0x118>         <== NOT EXECUTED
 200f2d0:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
  offset = the_jnode->info.file.size - old_blocks * IMFS_MEMFILE_BYTES_PER_BLOCK;
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
 200f2d4:	80 a6 00 1d 	cmp  %i0, %i5                                  
 200f2d8:	0a 80 00 1a 	bcs  200f340 <IMFS_memfile_extend+0x118>       
 200f2dc:	92 10 20 00 	clr  %o1                                       
    if ( !IMFS_memfile_addblock( the_jnode, block ) ) {               
 200f2e0:	92 10 00 1d 	mov  %i5, %o1                                  
 200f2e4:	7f ff ff 34 	call  200efb4 <IMFS_memfile_addblock>          
 200f2e8:	90 10 00 1c 	mov  %i4, %o0                                  
 200f2ec:	80 a2 20 00 	cmp  %o0, 0                                    
 200f2f0:	12 80 00 26 	bne  200f388 <IMFS_memfile_extend+0x160>       <== NEVER TAKEN
 200f2f4:	80 a6 60 00 	cmp  %i1, 0                                    
       if ( zero_fill ) {                                             
 200f2f8:	22 bf ff f7 	be,a   200f2d4 <IMFS_memfile_extend+0xac>      
 200f2fc:	ba 07 60 01 	inc  %i5                                       
          size_t count = IMFS_MEMFILE_BYTES_PER_BLOCK - offset;       
          block_p *block_ptr =                                        
 200f300:	92 10 00 1d 	mov  %i5, %o1                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( !IMFS_memfile_addblock( the_jnode, block ) ) {               
       if ( zero_fill ) {                                             
          size_t count = IMFS_MEMFILE_BYTES_PER_BLOCK - offset;       
 200f304:	e6 04 a3 a0 	ld  [ %l2 + 0x3a0 ], %l3                       
          block_p *block_ptr =                                        
 200f308:	94 10 20 00 	clr  %o2                                       
 200f30c:	7f ff fd e7 	call  200eaa8 <IMFS_memfile_get_block_pointer> 
 200f310:	90 10 00 1c 	mov  %i4, %o0                                  
            IMFS_memfile_get_block_pointer( the_jnode, block, 0 );    
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
 200f314:	d0 02 00 00 	ld  [ %o0 ], %o0                               
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
    if ( !IMFS_memfile_addblock( the_jnode, block ) ) {               
       if ( zero_fill ) {                                             
          size_t count = IMFS_MEMFILE_BYTES_PER_BLOCK - offset;       
 200f318:	a6 24 c0 10 	sub  %l3, %l0, %l3                             
          block_p *block_ptr =                                        
            IMFS_memfile_get_block_pointer( the_jnode, block, 0 );    
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
 200f31c:	90 02 00 10 	add  %o0, %l0, %o0                             
 200f320:	92 10 20 00 	clr  %o1                                       
 200f324:	40 00 07 b8 	call  2011204 <memset>                         
 200f328:	94 10 00 13 	mov  %l3, %o2                                  
  offset = the_jnode->info.file.size - old_blocks * IMFS_MEMFILE_BYTES_PER_BLOCK;
                                                                      
  /*                                                                  
   *  Now allocate each of those blocks.                              
   */                                                                 
  for ( block=old_blocks ; block<=new_blocks ; block++ ) {            
 200f32c:	ba 07 60 01 	inc  %i5                                       
 200f330:	80 a6 00 1d 	cmp  %i0, %i5                                  
 200f334:	1a bf ff eb 	bcc  200f2e0 <IMFS_memfile_extend+0xb8>        
 200f338:	a0 10 20 00 	clr  %l0                                       
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
 200f33c:	92 10 20 00 	clr  %o1                                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new length of the file.                                 
   */                                                                 
  the_jnode->info.file.size = new_length;                             
 200f340:	f4 3f 20 50 	std  %i2, [ %i4 + 0x50 ]                       
                                                                      
  IMFS_update_ctime(the_jnode);                                       
 200f344:	7f ff d1 92 	call  200398c <gettimeofday>                   
 200f348:	90 07 bf f8 	add  %fp, -8, %o0                              
 200f34c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
  IMFS_update_mtime(the_jnode);                                       
 200f350:	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);                                       
 200f354:	c2 27 20 48 	st  %g1, [ %i4 + 0x48 ]                        
  IMFS_update_mtime(the_jnode);                                       
 200f358:	7f ff d1 8d 	call  200398c <gettimeofday>                   
 200f35c:	92 10 20 00 	clr  %o1                                       
 200f360:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200f364:	c2 27 20 44 	st  %g1, [ %i4 + 0x44 ]                        
  return 0;                                                           
 200f368:	81 c7 e0 08 	ret                                            
 200f36c:	91 e8 20 00 	restore  %g0, 0, %o0                           
    rtems_set_errno_and_return_minus_one( EFBIG );                    
                                                                      
  /*                                                                  
   *  Verify new file size is actually larger than current size       
   */                                                                 
  if ( new_length <= the_jnode->info.file.size )                      
 200f370:	12 80 00 04 	bne  200f380 <IMFS_memfile_extend+0x158>       <== NEVER TAKEN
 200f374:	80 a6 c0 10 	cmp  %i3, %l0                                  
 200f378:	18 bf ff c2 	bgu  200f280 <IMFS_memfile_extend+0x58>        <== ALWAYS TAKEN
 200f37c:	a7 3f 60 1f 	sra  %i5, 0x1f, %l3                            
  the_jnode->info.file.size = new_length;                             
                                                                      
  IMFS_update_ctime(the_jnode);                                       
  IMFS_update_mtime(the_jnode);                                       
  return 0;                                                           
}                                                                     
 200f380:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f384:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
          offset = 0;                                                 
       }                                                              
    } else {                                                          
       for ( ; block>=old_blocks ; block-- ) {                        
 200f388:	80 a7 40 11 	cmp  %i5, %l1                                  <== NOT EXECUTED
 200f38c:	0a 80 00 08 	bcs  200f3ac <IMFS_memfile_extend+0x184>       <== NOT EXECUTED
 200f390:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
         IMFS_memfile_remove_block( the_jnode, block );               
 200f394:	7f ff ff 99 	call  200f1f8 <IMFS_memfile_remove_block>      <== NOT EXECUTED
 200f398:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
          memset( &(*block_ptr) [offset], 0, count);                  
          offset = 0;                                                 
       }                                                              
    } else {                                                          
       for ( ; block>=old_blocks ; block-- ) {                        
 200f39c:	ba 07 7f ff 	add  %i5, -1, %i5                              <== NOT EXECUTED
 200f3a0:	80 a4 40 1d 	cmp  %l1, %i5                                  <== NOT EXECUTED
 200f3a4:	08 bf ff fc 	bleu  200f394 <IMFS_memfile_extend+0x16c>      <== NOT EXECUTED
 200f3a8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
         IMFS_memfile_remove_block( the_jnode, block );               
       }                                                              
       rtems_set_errno_and_return_minus_one( ENOSPC );                
 200f3ac:	40 00 05 12 	call  20107f4 <__errno>                        <== NOT EXECUTED
 200f3b0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200f3b4:	82 10 20 1c 	mov  0x1c, %g1                                 <== NOT EXECUTED
 200f3b8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200f3bc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f3c0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    IMFS_assert( IMFS_type( the_jnode ) == IMFS_MEMORY_FILE );        
                                                                      
  /*                                                                  
   *  Verify new file size is supported                               
   */                                                                 
  if ( new_length >= IMFS_MEMFILE_MAXIMUM_SIZE )                      
 200f3c4:	12 80 00 04 	bne  200f3d4 <IMFS_memfile_extend+0x1ac>       <== NEVER TAKEN
 200f3c8:	80 a2 00 1b 	cmp  %o0, %i3                                  
 200f3cc:	38 bf ff a9 	bgu,a   200f270 <IMFS_memfile_extend+0x48>     
 200f3d0:	e2 07 20 50 	ld  [ %i4 + 0x50 ], %l1                        
    rtems_set_errno_and_return_minus_one( EFBIG );                    
 200f3d4:	40 00 05 08 	call  20107f4 <__errno>                        
 200f3d8:	b0 10 3f ff 	mov  -1, %i0                                   
 200f3dc:	82 10 20 1b 	mov  0x1b, %g1                                 
 200f3e0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200f3e4:	81 c7 e0 08 	ret                                            
 200f3e8:	81 e8 00 00 	restore                                        
                                                                      

0200eaa8 <IMFS_memfile_get_block_pointer>: #endif IMFS_jnode_t *the_jnode, unsigned int block, int malloc_it ) {
 200eaa8:	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 ) {                                  
 200eaac:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200eab0:	fa 00 63 a0 	ld  [ %g1 + 0x3a0 ], %i5	! 201e3a0 <imfs_memfile_bytes_per_block>
 200eab4:	bb 37 60 02 	srl  %i5, 2, %i5                               
 200eab8:	82 07 7f ff 	add  %i5, -1, %g1                              
 200eabc:	80 a6 40 01 	cmp  %i1, %g1                                  
 200eac0:	38 80 00 0b 	bgu,a   200eaec <IMFS_memfile_get_block_pointer+0x44>
 200eac4:	90 07 60 01 	add  %i5, 1, %o0                               
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
 200eac8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200eacc:	12 80 00 4e 	bne  200ec04 <IMFS_memfile_get_block_pointer+0x15c>
 200ead0:	d0 06 20 58 	ld  [ %i0 + 0x58 ], %o0                        
        info->indirect = p;                                           
      }                                                               
      return &info->indirect[ my_block ];                             
    }                                                                 
                                                                      
    if ( !p )                                                         
 200ead4:	80 a2 20 00 	cmp  %o0, 0                                    
 200ead8:	02 80 00 6d 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200eadc:	01 00 00 00 	nop                                            
      return 0;                                                       
                                                                      
    return &info->indirect[ my_block ];                               
 200eae0:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 200eae4:	81 c7 e0 08 	ret                                            
 200eae8:	91 ea 00 19 	restore  %o0, %i1, %o0                         
                                                                      
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
 200eaec:	40 00 2a 86 	call  2019504 <.umul>                          
 200eaf0:	92 10 00 1d 	mov  %i5, %o1                                  
 200eaf4:	82 02 3f ff 	add  %o0, -1, %g1                              
 200eaf8:	80 a6 40 01 	cmp  %i1, %g1                                  
 200eafc:	08 80 00 2b 	bleu  200eba8 <IMFS_memfile_get_block_pointer+0x100>
 200eb00:	b8 10 00 08 	mov  %o0, %i4                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Is the block number in the triply indirect portion?             
   */                                                                 
  if ( my_block <= LAST_TRIPLY_INDIRECT ) {                           
 200eb04:	90 02 20 01 	inc  %o0                                       
 200eb08:	40 00 2a 7f 	call  2019504 <.umul>                          
 200eb0c:	92 10 00 1d 	mov  %i5, %o1                                  
 200eb10:	90 02 3f ff 	add  %o0, -1, %o0                              
 200eb14:	80 a6 40 08 	cmp  %i1, %o0                                  
 200eb18:	18 80 00 5d 	bgu  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200eb1c:	b2 26 40 1c 	sub  %i1, %i4, %i1                             
    my_block -= FIRST_TRIPLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 200eb20:	92 10 00 1d 	mov  %i5, %o1                                  
 200eb24:	40 00 2b 5e 	call  201989c <.urem>                          
 200eb28:	90 10 00 19 	mov  %i1, %o0                                  
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 200eb2c:	92 10 00 1d 	mov  %i5, %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;                     
 200eb30:	a0 10 00 08 	mov  %o0, %l0                                  
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 200eb34:	40 00 2a ae 	call  20195ec <.udiv>                          
 200eb38:	90 10 00 19 	mov  %i1, %o0                                  
    triply = doubly / IMFS_MEMFILE_BLOCK_SLOTS;                       
 200eb3c:	92 10 00 1d 	mov  %i5, %o1                                  
 200eb40:	40 00 2a ab 	call  20195ec <.udiv>                          
 200eb44:	b8 10 00 08 	mov  %o0, %i4                                  
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
 200eb48:	92 10 00 1d 	mov  %i5, %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;                       
 200eb4c:	b6 10 00 08 	mov  %o0, %i3                                  
    doubly %= IMFS_MEMFILE_BLOCK_SLOTS;                               
 200eb50:	40 00 2b 53 	call  201989c <.urem>                          
 200eb54:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
 200eb58:	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;                               
 200eb5c:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
 200eb60:	02 80 00 3d 	be  200ec54 <IMFS_memfile_get_block_pointer+0x1ac>
 200eb64:	d0 06 20 60 	ld  [ %i0 + 0x60 ], %o0                        
      if ( !p ) {                                                     
 200eb68:	80 a2 20 00 	cmp  %o0, 0                                    
 200eb6c:	02 80 00 66 	be  200ed04 <IMFS_memfile_get_block_pointer+0x25c>
 200eb70:	01 00 00 00 	nop                                            
        if ( !p )                                                     
           return 0;                                                  
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
 200eb74:	b7 2e e0 02 	sll  %i3, 2, %i3                               
 200eb78:	c4 02 00 1b 	ld  [ %o0 + %i3 ], %g2                         
      if ( !p1 ) {                                                    
 200eb7c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200eb80:	02 80 00 5a 	be  200ece8 <IMFS_memfile_get_block_pointer+0x240>
 200eb84:	b6 02 00 1b 	add  %o0, %i3, %i3                             
        if ( !p1 )                                                    
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
 200eb88:	bb 2f 60 02 	sll  %i5, 2, %i5                               
 200eb8c:	d0 00 80 1d 	ld  [ %g2 + %i5 ], %o0                         
      if ( !p2 ) {                                                    
 200eb90:	80 a2 20 00 	cmp  %o0, 0                                    
 200eb94:	02 80 00 47 	be  200ecb0 <IMFS_memfile_get_block_pointer+0x208>
 200eb98:	ba 00 80 1d 	add  %g2, %i5, %i5                             
        p2 = memfile_alloc_block();                                   
        if ( !p2 )                                                    
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
 200eb9c:	b1 2c 20 02 	sll  %l0, 2, %i0                               
 200eba0:	81 c7 e0 08 	ret                                            
 200eba4:	91 ea 00 18 	restore  %o0, %i0, %o0                         
  /*                                                                  
   *  Is the block number in the doubly indirect portion?             
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
 200eba8:	b2 26 40 1d 	sub  %i1, %i5, %i1                             
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 200ebac:	92 10 00 1d 	mov  %i5, %o1                                  
 200ebb0:	40 00 2b 3b 	call  201989c <.urem>                          
 200ebb4:	90 10 00 19 	mov  %i1, %o0                                  
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 200ebb8:	92 10 00 1d 	mov  %i5, %o1                                  
   */                                                                 
                                                                      
  if ( my_block <= LAST_DOUBLY_INDIRECT ) {                           
    my_block -= FIRST_DOUBLY_INDIRECT;                                
                                                                      
    singly = my_block % IMFS_MEMFILE_BLOCK_SLOTS;                     
 200ebbc:	b8 10 00 08 	mov  %o0, %i4                                  
    doubly = my_block / IMFS_MEMFILE_BLOCK_SLOTS;                     
 200ebc0:	40 00 2a 8b 	call  20195ec <.udiv>                          
 200ebc4:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
    p = info->doubly_indirect;                                        
 200ebc8:	c2 06 20 5c 	ld  [ %i0 + 0x5c ], %g1                        
    if ( malloc_it ) {                                                
 200ebcc:	80 a6 a0 00 	cmp  %i2, 0                                    
 200ebd0:	02 80 00 17 	be  200ec2c <IMFS_memfile_get_block_pointer+0x184>
 200ebd4:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
      if ( !p ) {                                                     
 200ebd8:	80 a0 60 00 	cmp  %g1, 0                                    
 200ebdc:	02 80 00 3c 	be  200eccc <IMFS_memfile_get_block_pointer+0x224>
 200ebe0:	01 00 00 00 	nop                                            
        if ( !p )                                                     
           return 0;                                                  
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
 200ebe4:	bb 2f 60 02 	sll  %i5, 2, %i5                               
 200ebe8:	d0 00 40 1d 	ld  [ %g1 + %i5 ], %o0                         
      if ( !p1 ) {                                                    
 200ebec:	80 a2 20 00 	cmp  %o0, 0                                    
 200ebf0:	02 80 00 29 	be  200ec94 <IMFS_memfile_get_block_pointer+0x1ec>
 200ebf4:	ba 00 40 1d 	add  %g1, %i5, %i5                             
        if ( !p1 )                                                    
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
 200ebf8:	b1 2f 20 02 	sll  %i4, 2, %i0                               
 200ebfc:	81 c7 e0 08 	ret                                            
 200ec00:	91 ea 00 18 	restore  %o0, %i0, %o0                         
  if ( my_block <= LAST_INDIRECT ) {                                  
    p = info->indirect;                                               
                                                                      
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
 200ec04:	80 a2 20 00 	cmp  %o0, 0                                    
 200ec08:	32 bf ff b7 	bne,a   200eae4 <IMFS_memfile_get_block_pointer+0x3c>
 200ec0c:	b3 2e 60 02 	sll  %i1, 2, %i1                               
        p = memfile_alloc_block();                                    
 200ec10:	7f ff ff 99 	call  200ea74 <memfile_alloc_block>            
 200ec14:	01 00 00 00 	nop                                            
        if ( !p )                                                     
 200ec18:	80 a2 20 00 	cmp  %o0, 0                                    
 200ec1c:	02 80 00 1c 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ec20:	01 00 00 00 	nop                                            
           return 0;                                                  
        info->indirect = p;                                           
 200ec24:	10 bf ff af 	b  200eae0 <IMFS_memfile_get_block_pointer+0x38>
 200ec28:	d0 26 20 58 	st  %o0, [ %i0 + 0x58 ]                        
      }                                                               
                                                                      
      return (block_p *)&p1[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
 200ec2c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ec30:	02 80 00 17 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ec34:	bb 2a 20 02 	sll  %o0, 2, %i5                               
      return 0;                                                       
                                                                      
    p = (block_p *)p[ doubly ];                                       
 200ec38:	c2 00 40 1d 	ld  [ %g1 + %i5 ], %g1                         
    if ( !p )                                                         
 200ec3c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ec40:	02 80 00 13 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ec44:	01 00 00 00 	nop                                            
      return 0;                                                       
                                                                      
    return (block_p *)&p[ singly ];                                   
 200ec48:	b1 2f 20 02 	sll  %i4, 2, %i0                               
 200ec4c:	81 c7 e0 08 	ret                                            
 200ec50:	91 e8 40 18 	restore  %g1, %i0, %o0                         
        p1[ doubly ] = (block_p) p2;                                  
      }                                                               
      return (block_p *)&p2[ singly ];                                
    }                                                                 
                                                                      
    if ( !p )                                                         
 200ec54:	80 a2 20 00 	cmp  %o0, 0                                    
 200ec58:	02 80 00 0d 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ec5c:	b7 2e e0 02 	sll  %i3, 2, %i3                               
      return 0;                                                       
                                                                      
    p1 = (block_p *) p[ triply ];                                     
 200ec60:	c2 02 00 1b 	ld  [ %o0 + %i3 ], %g1                         
    if ( !p1 )                                                        
 200ec64:	80 a0 60 00 	cmp  %g1, 0                                    
 200ec68:	02 80 00 09 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ec6c:	bb 2f 60 02 	sll  %i5, 2, %i5                               
      return 0;                                                       
                                                                      
    p2 = (block_p *)p1[ doubly ];                                     
 200ec70:	c2 00 40 1d 	ld  [ %g1 + %i5 ], %g1                         
    if ( !p2 )                                                        
 200ec74:	80 a0 60 00 	cmp  %g1, 0                                    
 200ec78:	02 80 00 05 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ec7c:	01 00 00 00 	nop                                            
      return 0;                                                       
                                                                      
    return (block_p *)&p2[ singly ];                                  
 200ec80:	b1 2c 20 02 	sll  %l0, 2, %i0                               
                                                                      
  /*                                                                  
   *  This means the requested block number is out of range.          
   */                                                                 
  return 0;                                                           
}                                                                     
 200ec84:	81 c7 e0 08 	ret                                            
 200ec88:	91 e8 40 18 	restore  %g1, %i0, %o0                         
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
        if ( !p )                                                     
           return 0;                                                  
 200ec8c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ec90:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
        info->doubly_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *)p[ doubly ];                                    
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
 200ec94:	7f ff ff 78 	call  200ea74 <memfile_alloc_block>            
 200ec98:	01 00 00 00 	nop                                            
        if ( !p1 )                                                    
 200ec9c:	80 a2 20 00 	cmp  %o0, 0                                    
 200eca0:	02 bf ff fb 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200eca4:	01 00 00 00 	nop                                            
           return 0;                                                  
        p[ doubly ] = (block_p) p1;                                   
 200eca8:	10 bf ff d4 	b  200ebf8 <IMFS_memfile_get_block_pointer+0x150>
 200ecac:	d0 27 40 00 	st  %o0, [ %i5 ]                               
        p[ triply ] = (block_p) p1;                                   
      }                                                               
                                                                      
      p2 = (block_p *)p1[ doubly ];                                   
      if ( !p2 ) {                                                    
        p2 = memfile_alloc_block();                                   
 200ecb0:	7f ff ff 71 	call  200ea74 <memfile_alloc_block>            
 200ecb4:	01 00 00 00 	nop                                            
        if ( !p2 )                                                    
 200ecb8:	80 a2 20 00 	cmp  %o0, 0                                    
 200ecbc:	02 bf ff f4 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ecc0:	01 00 00 00 	nop                                            
           return 0;                                                  
        p1[ doubly ] = (block_p) p2;                                  
 200ecc4:	10 bf ff b6 	b  200eb9c <IMFS_memfile_get_block_pointer+0xf4>
 200ecc8:	d0 27 40 00 	st  %o0, [ %i5 ]                               
                                                                      
    p = info->doubly_indirect;                                        
    if ( malloc_it ) {                                                
                                                                      
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
 200eccc:	7f ff ff 6a 	call  200ea74 <memfile_alloc_block>            
 200ecd0:	01 00 00 00 	nop                                            
        if ( !p )                                                     
 200ecd4:	82 92 20 00 	orcc  %o0, 0, %g1                              
 200ecd8:	02 bf ff ed 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ecdc:	01 00 00 00 	nop                                            
           return 0;                                                  
        info->doubly_indirect = p;                                    
 200ece0:	10 bf ff c1 	b  200ebe4 <IMFS_memfile_get_block_pointer+0x13c>
 200ece4:	c2 26 20 5c 	st  %g1, [ %i0 + 0x5c ]                        
        info->triply_indirect = p;                                    
      }                                                               
                                                                      
      p1 = (block_p *) p[ triply ];                                   
      if ( !p1 ) {                                                    
        p1 = memfile_alloc_block();                                   
 200ece8:	7f ff ff 63 	call  200ea74 <memfile_alloc_block>            
 200ecec:	01 00 00 00 	nop                                            
        if ( !p1 )                                                    
 200ecf0:	84 92 20 00 	orcc  %o0, 0, %g2                              
 200ecf4:	02 bf ff e6 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ecf8:	01 00 00 00 	nop                                            
           return 0;                                                  
        p[ triply ] = (block_p) p1;                                   
 200ecfc:	10 bf ff a3 	b  200eb88 <IMFS_memfile_get_block_pointer+0xe0>
 200ed00:	c4 26 c0 00 	st  %g2, [ %i3 ]                               
                                                                      
    p = info->triply_indirect;                                        
                                                                      
    if ( malloc_it ) {                                                
      if ( !p ) {                                                     
        p = memfile_alloc_block();                                    
 200ed04:	7f ff ff 5c 	call  200ea74 <memfile_alloc_block>            
 200ed08:	01 00 00 00 	nop                                            
        if ( !p )                                                     
 200ed0c:	80 a2 20 00 	cmp  %o0, 0                                    
 200ed10:	02 bf ff df 	be  200ec8c <IMFS_memfile_get_block_pointer+0x1e4><== NEVER TAKEN
 200ed14:	01 00 00 00 	nop                                            
           return 0;                                                  
        info->triply_indirect = p;                                    
 200ed18:	10 bf ff 97 	b  200eb74 <IMFS_memfile_get_block_pointer+0xcc>
 200ed1c:	d0 26 20 60 	st  %o0, [ %i0 + 0x60 ]                        
                                                                      

0200ed20 <IMFS_memfile_read>: IMFS_jnode_t *the_jnode, off_t start, unsigned char *destination, unsigned int length ) {
 200ed20:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_chain_extract_unprotected( &node->Node );                     
}                                                                     
                                                                      
static inline IMFS_jnode_types_t IMFS_type( const IMFS_jnode_t *node )
{                                                                     
  return node->control->imfs_type;                                    
 200ed24:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        
 200ed28:	a4 10 00 18 	mov  %i0, %l2                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if ( IMFS_type( the_jnode ) == IMFS_LINEAR_FILE ) {                 
 200ed2c:	c2 00 40 00 	ld  [ %g1 ], %g1                               
   IMFS_jnode_t    *the_jnode,                                        
   off_t            start,                                            
   unsigned char   *destination,                                      
   unsigned int     length                                            
)                                                                     
{                                                                     
 200ed30:	a0 10 00 19 	mov  %i1, %l0                                  
 200ed34:	a2 10 00 1a 	mov  %i2, %l1                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
                                                                      
  if ( IMFS_type( the_jnode ) == IMFS_LINEAR_FILE ) {                 
 200ed38:	80 a0 60 05 	cmp  %g1, 5                                    
 200ed3c:	02 80 00 67 	be  200eed8 <IMFS_memfile_read+0x1b8>          
 200ed40:	a8 10 00 1b 	mov  %i3, %l4                                  
  /*                                                                  
   *  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 )                        
 200ed44:	c4 06 20 50 	ld  [ %i0 + 0x50 ], %g2                        
 200ed48:	86 10 20 00 	clr  %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;                                         
 200ed4c:	82 10 00 1a 	mov  %i2, %g1                                  
  if ( last_byte > the_jnode->info.file.size )                        
 200ed50:	c8 06 20 54 	ld  [ %i0 + 0x54 ], %g4                        
 200ed54:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200ed58:	04 80 00 41 	ble  200ee5c <IMFS_memfile_read+0x13c>         <== ALWAYS TAKEN
 200ed5c:	ba 07 00 1a 	add  %i4, %i2, %i5                             
    my_length = the_jnode->info.file.size - start;                    
 200ed60:	b8 21 00 01 	sub  %g4, %g1, %i4                             <== NOT EXECUTED
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 200ed64:	27 00 80 78 	sethi  %hi(0x201e000), %l3                     <== NOT EXECUTED
 200ed68:	fa 04 e3 a0 	ld  [ %l3 + 0x3a0 ], %i5	! 201e3a0 <imfs_memfile_bytes_per_block>
 200ed6c:	90 10 00 10 	mov  %l0, %o0                                  
 200ed70:	b7 3f 60 1f 	sra  %i5, 0x1f, %i3                            
 200ed74:	96 10 00 1d 	mov  %i5, %o3                                  
 200ed78:	94 10 00 1b 	mov  %i3, %o2                                  
 200ed7c:	40 00 2c 5f 	call  2019ef8 <__moddi3>                       
 200ed80:	92 10 00 11 	mov  %l1, %o1                                  
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 200ed84:	90 10 00 10 	mov  %l0, %o0                                  
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 200ed88:	aa 10 00 09 	mov  %o1, %l5                                  
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 200ed8c:	94 10 00 1b 	mov  %i3, %o2                                  
 200ed90:	92 10 00 11 	mov  %l1, %o1                                  
 200ed94:	40 00 2b 6e 	call  2019b4c <__divdi3>                       
 200ed98:	96 10 00 1d 	mov  %i5, %o3                                  
  if ( start_offset )  {                                              
 200ed9c:	80 a5 60 00 	cmp  %l5, 0                                    
 200eda0:	02 80 00 4b 	be  200eecc <IMFS_memfile_read+0x1ac>          
 200eda4:	b4 10 00 09 	mov  %o1, %i2                                  
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
 200eda8:	ba 27 40 15 	sub  %i5, %l5, %i5                             
 200edac:	80 a7 00 1d 	cmp  %i4, %i5                                  
 200edb0:	18 80 00 5d 	bgu  200ef24 <IMFS_memfile_read+0x204>         
 200edb4:	b2 10 00 1c 	mov  %i4, %i1                                  
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200edb8:	90 10 00 12 	mov  %l2, %o0                                  
 200edbc:	92 10 00 1a 	mov  %i2, %o1                                  
 200edc0:	94 10 20 00 	clr  %o2                                       
 200edc4:	7f ff ff 39 	call  200eaa8 <IMFS_memfile_get_block_pointer> 
 200edc8:	b0 10 20 00 	clr  %i0                                       
    if ( !block_ptr )                                                 
 200edcc:	80 a2 20 00 	cmp  %o0, 0                                    
 200edd0:	02 80 00 53 	be  200ef1c <IMFS_memfile_read+0x1fc>          <== NEVER TAKEN
 200edd4:	94 10 00 19 	mov  %i1, %o2                                  
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ start_offset ], to_copy );           
 200edd8:	d2 02 00 00 	ld  [ %o0 ], %o1                               
 200eddc:	90 10 00 14 	mov  %l4, %o0                                  
 200ede0:	40 00 08 cc 	call  2011110 <memcpy>                         
 200ede4:	92 02 40 15 	add  %o1, %l5, %o1                             
 200ede8:	fa 04 e3 a0 	ld  [ %l3 + 0x3a0 ], %i5                       
    dest += to_copy;                                                  
 200edec:	b6 05 00 19 	add  %l4, %i1, %i3                             
    block++;                                                          
 200edf0:	b4 06 a0 01 	inc  %i2                                       
    my_length -= to_copy;                                             
 200edf4:	b8 27 00 19 	sub  %i4, %i1, %i4                             
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200edf8:	80 a7 00 1d 	cmp  %i4, %i5                                  
 200edfc:	1a 80 00 0e 	bcc  200ee34 <IMFS_memfile_read+0x114>         
 200ee00:	94 10 20 00 	clr  %o2                                       
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
 200ee04:	10 80 00 1e 	b  200ee7c <IMFS_memfile_read+0x15c>           
 200ee08:	80 a7 20 00 	cmp  %i4, 0                                    
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
 200ee0c:	d2 00 40 00 	ld  [ %g1 ], %o1                               
 200ee10:	40 00 08 c0 	call  2011110 <memcpy>                         
 200ee14:	b8 27 00 1d 	sub  %i4, %i5, %i4                             
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200ee18:	c2 04 e3 a0 	ld  [ %l3 + 0x3a0 ], %g1                       
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
    dest += to_copy;                                                  
 200ee1c:	b6 06 c0 1d 	add  %i3, %i5, %i3                             
    block++;                                                          
 200ee20:	b4 06 a0 01 	inc  %i2                                       
                                                                      
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200ee24:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200ee28:	18 80 00 14 	bgu  200ee78 <IMFS_memfile_read+0x158>         
 200ee2c:	b2 06 40 1d 	add  %i1, %i5, %i1                             
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200ee30:	94 10 20 00 	clr  %o2                                       
 200ee34:	92 10 00 1a 	mov  %i2, %o1                                  
 200ee38:	7f ff ff 1c 	call  200eaa8 <IMFS_memfile_get_block_pointer> 
 200ee3c:	90 10 00 12 	mov  %l2, %o0                                  
    if ( !block_ptr )                                                 
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], to_copy );                      
 200ee40:	94 10 00 1d 	mov  %i5, %o2                                  
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200ee44:	82 10 00 08 	mov  %o0, %g1                                  
    if ( !block_ptr )                                                 
 200ee48:	80 a0 60 00 	cmp  %g1, 0                                    
 200ee4c:	12 bf ff f0 	bne  200ee0c <IMFS_memfile_read+0xec>          <== ALWAYS TAKEN
 200ee50:	90 10 00 1b 	mov  %i3, %o0                                  
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
      return copied;                                                  
 200ee54:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ee58:	91 e8 00 19 	restore  %g0, %i1, %o0                         <== NOT EXECUTED
  /*                                                                  
   *  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 )                        
 200ee5c:	12 bf ff c3 	bne  200ed68 <IMFS_memfile_read+0x48>          <== NEVER TAKEN
 200ee60:	27 00 80 78 	sethi  %hi(0x201e000), %l3                     
 200ee64:	80 a7 40 04 	cmp  %i5, %g4                                  
 200ee68:	08 bf ff c1 	bleu  200ed6c <IMFS_memfile_read+0x4c>         
 200ee6c:	fa 04 e3 a0 	ld  [ %l3 + 0x3a0 ], %i5                       
    my_length = the_jnode->info.file.size - start;                    
 200ee70:	10 bf ff be 	b  200ed68 <IMFS_memfile_read+0x48>            
 200ee74:	b8 21 00 01 	sub  %g4, %g1, %i4                             
  /*                                                                  
   *  Phase 3: possibly the first part of one block                   
   */                                                                 
  IMFS_assert( my_length < IMFS_MEMFILE_BYTES_PER_BLOCK );            
                                                                      
  if ( my_length ) {                                                  
 200ee78:	80 a7 20 00 	cmp  %i4, 0                                    
 200ee7c:	02 80 00 0e 	be  200eeb4 <IMFS_memfile_read+0x194>          
 200ee80:	90 07 bf f8 	add  %fp, -8, %o0                              
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200ee84:	90 10 00 12 	mov  %l2, %o0                                  
 200ee88:	92 10 00 1a 	mov  %i2, %o1                                  
 200ee8c:	7f ff ff 07 	call  200eaa8 <IMFS_memfile_get_block_pointer> 
 200ee90:	94 10 20 00 	clr  %o2                                       
    if ( !block_ptr )                                                 
 200ee94:	80 a2 20 00 	cmp  %o0, 0                                    
 200ee98:	02 bf ff ef 	be  200ee54 <IMFS_memfile_read+0x134>          <== NEVER TAKEN
 200ee9c:	94 10 00 1c 	mov  %i4, %o2                                  
      return copied;                                                  
    memcpy( dest, &(*block_ptr)[ 0 ], my_length );                    
 200eea0:	d2 02 00 00 	ld  [ %o0 ], %o1                               
 200eea4:	90 10 00 1b 	mov  %i3, %o0                                  
 200eea8:	40 00 08 9a 	call  2011110 <memcpy>                         
 200eeac:	b2 06 40 1c 	add  %i1, %i4, %i1                             
    copied += my_length;                                              
  }                                                                   
                                                                      
  IMFS_update_atime( the_jnode );                                     
 200eeb0:	90 07 bf f8 	add  %fp, -8, %o0                              
 200eeb4:	7f ff d2 b6 	call  200398c <gettimeofday>                   
 200eeb8:	92 10 20 00 	clr  %o1                                       
 200eebc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200eec0:	c2 24 a0 40 	st  %g1, [ %l2 + 0x40 ]                        
                                                                      
  return copied;                                                      
}                                                                     
 200eec4:	81 c7 e0 08 	ret                                            
 200eec8:	91 e8 00 19 	restore  %g0, %i1, %o0                         
  unsigned int         last_byte;                                     
  unsigned int         copied;                                        
  unsigned int         start_offset;                                  
  unsigned char       *dest;                                          
                                                                      
  dest = destination;                                                 
 200eecc:	b6 10 00 14 	mov  %l4, %i3                                  
   */                                                                 
  last_byte = start + length;                                         
  if ( last_byte > the_jnode->info.file.size )                        
    my_length = the_jnode->info.file.size - start;                    
                                                                      
  copied = 0;                                                         
 200eed0:	10 bf ff ca 	b  200edf8 <IMFS_memfile_read+0xd8>            
 200eed4:	b2 10 20 00 	clr  %i1                                       
  if ( IMFS_type( the_jnode ) == IMFS_LINEAR_FILE ) {                 
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
 200eed8:	f4 1e 20 50 	ldd  [ %i0 + 0x50 ], %i2                       
 200eedc:	82 10 20 00 	clr  %g1                                       
 200eee0:	86 a6 c0 11 	subcc  %i3, %l1, %g3                           
 200eee4:	84 66 80 19 	subx  %i2, %i1, %g2                            
 200eee8:	80 a0 40 02 	cmp  %g1, %g2                                  
 200eeec:	04 80 00 10 	ble  200ef2c <IMFS_memfile_read+0x20c>         <== ALWAYS TAKEN
 200eef0:	d2 06 20 58 	ld  [ %i0 + 0x58 ], %o1                        
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
 200eef4:	92 02 40 11 	add  %o1, %l1, %o1                             <== NOT EXECUTED
    unsigned char  *file_ptr;                                         
                                                                      
    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;            
 200eef8:	b0 26 c0 11 	sub  %i3, %l1, %i0                             
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
 200eefc:	90 10 00 14 	mov  %l4, %o0                                  
 200ef00:	40 00 08 84 	call  2011110 <memcpy>                         
 200ef04:	94 10 00 18 	mov  %i0, %o2                                  
                                                                      
    IMFS_update_atime( the_jnode );                                   
 200ef08:	90 07 bf f8 	add  %fp, -8, %o0                              
 200ef0c:	7f ff d2 a0 	call  200398c <gettimeofday>                   
 200ef10:	92 10 20 00 	clr  %o1                                       
 200ef14:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200ef18:	c2 24 a0 40 	st  %g1, [ %l2 + 0x40 ]                        
                                                                      
    return my_length;                                                 
 200ef1c:	81 c7 e0 08 	ret                                            
 200ef20:	81 e8 00 00 	restore                                        
 200ef24:	10 bf ff a5 	b  200edb8 <IMFS_memfile_read+0x98>            
 200ef28:	b2 10 00 1d 	mov  %i5, %i1                                  
  if ( IMFS_type( the_jnode ) == IMFS_LINEAR_FILE ) {                 
    unsigned char  *file_ptr;                                         
                                                                      
    file_ptr = (unsigned char *)the_jnode->info.linearfile.direct;    
                                                                      
    if (my_length > (the_jnode->info.linearfile.size - start))        
 200ef2c:	12 80 00 04 	bne  200ef3c <IMFS_memfile_read+0x21c>         <== NEVER TAKEN
 200ef30:	80 a7 00 03 	cmp  %i4, %g3                                  
 200ef34:	38 bf ff f1 	bgu,a   200eef8 <IMFS_memfile_read+0x1d8>      <== ALWAYS TAKEN
 200ef38:	92 02 40 11 	add  %o1, %l1, %o1                             
      my_length = the_jnode->info.linearfile.size - start;            
                                                                      
    memcpy(dest, &file_ptr[start], my_length);                        
 200ef3c:	92 02 40 11 	add  %o1, %l1, %o1                             <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Linear files (as created from a tar file are easier to handle   
   *  than block files).                                              
   */                                                                 
  my_length = length;                                                 
 200ef40:	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);                        
 200ef44:	90 10 00 14 	mov  %l4, %o0                                  <== NOT EXECUTED
 200ef48:	40 00 08 72 	call  2011110 <memcpy>                         <== NOT EXECUTED
 200ef4c:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
                                                                      
    IMFS_update_atime( the_jnode );                                   
 200ef50:	90 07 bf f8 	add  %fp, -8, %o0                              <== NOT EXECUTED
 200ef54:	7f ff d2 8e 	call  200398c <gettimeofday>                   <== NOT EXECUTED
 200ef58:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 200ef5c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          <== NOT EXECUTED
 200ef60:	c2 24 a0 40 	st  %g1, [ %l2 + 0x40 ]                        <== NOT EXECUTED
                                                                      
    return my_length;                                                 
 200ef64:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ef68:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200f080 <IMFS_memfile_remove>: * is better to stick to simple, easy to understand algorithms. */ IMFS_jnode_t *IMFS_memfile_remove( IMFS_jnode_t *the_jnode ) {
 200f080:	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;                                 
 200f084:	39 00 80 78 	sethi  %hi(0x201e000), %i4                     
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
 200f088:	c2 06 20 58 	ld  [ %i0 + 0x58 ], %g1                        
                                                                      
  /*                                                                  
   *  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;                                 
 200f08c:	f4 07 23 a0 	ld  [ %i4 + 0x3a0 ], %i2                       
   *    + doubly indirect                                             
   *    + triply indirect                                             
   */                                                                 
  info = &the_jnode->info.file;                                       
                                                                      
  if ( info->indirect ) {                                             
 200f090:	80 a0 60 00 	cmp  %g1, 0                                    
 200f094:	02 80 00 05 	be  200f0a8 <IMFS_memfile_remove+0x28>         
 200f098:	b5 36 a0 02 	srl  %i2, 2, %i2                               
    memfile_free_blocks_in_table( &info->indirect, to_free );         
 200f09c:	90 06 20 58 	add  %i0, 0x58, %o0                            
 200f0a0:	7f ff ff e2 	call  200f028 <memfile_free_blocks_in_table>   
 200f0a4:	92 10 00 1a 	mov  %i2, %o1                                  
  }                                                                   
                                                                      
  if ( info->doubly_indirect ) {                                      
 200f0a8:	c2 06 20 5c 	ld  [ %i0 + 0x5c ], %g1                        
 200f0ac:	80 a0 60 00 	cmp  %g1, 0                                    
 200f0b0:	02 80 00 1b 	be  200f11c <IMFS_memfile_remove+0x9c>         
 200f0b4:	c4 07 23 a0 	ld  [ %i4 + 0x3a0 ], %g2                       
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
 200f0b8:	85 30 a0 02 	srl  %g2, 2, %g2                               
 200f0bc:	80 a0 a0 00 	cmp  %g2, 0                                    
 200f0c0:	02 80 00 14 	be  200f110 <IMFS_memfile_remove+0x90>         <== NEVER TAKEN
 200f0c4:	90 10 20 00 	clr  %o0                                       
 200f0c8:	37 00 80 78 	sethi  %hi(0x201e000), %i3                     
 200f0cc:	ba 10 20 00 	clr  %i5                                       
 200f0d0:	10 80 00 03 	b  200f0dc <IMFS_memfile_remove+0x5c>          
 200f0d4:	b6 16 e3 a0 	or  %i3, 0x3a0, %i3                            
 200f0d8:	c2 06 20 5c 	ld  [ %i0 + 0x5c ], %g1                        
      if ( info->doubly_indirect[i] ) {                               
 200f0dc:	91 2a 20 02 	sll  %o0, 2, %o0                               
 200f0e0:	c4 00 40 08 	ld  [ %g1 + %o0 ], %g2                         
 200f0e4:	80 a0 a0 00 	cmp  %g2, 0                                    
 200f0e8:	02 80 00 04 	be  200f0f8 <IMFS_memfile_remove+0x78>         <== NEVER TAKEN
 200f0ec:	90 00 40 08 	add  %g1, %o0, %o0                             
        memfile_free_blocks_in_table(                                 
 200f0f0:	7f ff ff ce 	call  200f028 <memfile_free_blocks_in_table>   
 200f0f4:	92 10 00 1a 	mov  %i2, %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++ ) {                  
 200f0f8:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 200f0fc:	ba 07 60 01 	inc  %i5                                       
 200f100:	83 30 60 02 	srl  %g1, 2, %g1                               
 200f104:	80 a7 40 01 	cmp  %i5, %g1                                  
 200f108:	0a bf ff f4 	bcs  200f0d8 <IMFS_memfile_remove+0x58>        
 200f10c:	90 10 00 1d 	mov  %i5, %o0                                  
      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 );  
 200f110:	90 06 20 5c 	add  %i0, 0x5c, %o0                            
 200f114:	7f ff ff c5 	call  200f028 <memfile_free_blocks_in_table>   
 200f118:	92 10 00 1a 	mov  %i2, %o1                                  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
 200f11c:	d0 06 20 60 	ld  [ %i0 + 0x60 ], %o0                        
 200f120:	80 a2 20 00 	cmp  %o0, 0                                    
 200f124:	02 80 00 33 	be  200f1f0 <IMFS_memfile_remove+0x170>        
 200f128:	c4 07 23 a0 	ld  [ %i4 + 0x3a0 ], %g2                       
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
 200f12c:	85 30 a0 02 	srl  %g2, 2, %g2                               
 200f130:	80 a0 a0 00 	cmp  %g2, 0                                    
 200f134:	22 80 00 2d 	be,a   200f1e8 <IMFS_memfile_remove+0x168>     <== NEVER TAKEN
 200f138:	90 06 20 60 	add  %i0, 0x60, %o0                            <== NOT EXECUTED
      p = (block_p *) info->triply_indirect[i];                       
 200f13c:	f8 02 00 00 	ld  [ %o0 ], %i4                               
      if ( !p )  /* ensure we have a valid pointer */                 
 200f140:	80 a7 20 00 	cmp  %i4, 0                                    
 200f144:	22 80 00 29 	be,a   200f1e8 <IMFS_memfile_remove+0x168>     <== NEVER TAKEN
 200f148:	90 06 20 60 	add  %i0, 0x60, %o0                            <== NOT EXECUTED
 200f14c:	37 00 80 78 	sethi  %hi(0x201e000), %i3                     
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
 200f150:	a0 10 20 00 	clr  %l0                                       
      if ( !p )  /* ensure we have a valid pointer */                 
 200f154:	b2 10 20 00 	clr  %i1                                       
 200f158:	b6 16 e3 a0 	or  %i3, 0x3a0, %i3                            
         break;                                                       
      for ( j=0 ; j<IMFS_MEMFILE_BLOCK_SLOTS ; j++ ) {                
 200f15c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200f160:	22 80 00 13 	be,a   200f1ac <IMFS_memfile_remove+0x12c>     <== NEVER TAKEN
 200f164:	90 02 00 10 	add  %o0, %l0, %o0                             <== NOT EXECUTED
 200f168:	90 10 20 00 	clr  %o0                                       
 200f16c:	ba 10 20 00 	clr  %i5                                       
        if ( p[j] ) {                                                 
 200f170:	91 2a 20 02 	sll  %o0, 2, %o0                               
 200f174:	c2 07 00 08 	ld  [ %i4 + %o0 ], %g1                         
 200f178:	80 a0 60 00 	cmp  %g1, 0                                    
 200f17c:	02 80 00 04 	be  200f18c <IMFS_memfile_remove+0x10c>        <== NEVER TAKEN
 200f180:	90 07 00 08 	add  %i4, %o0, %o0                             
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
 200f184:	7f ff ff a9 	call  200f028 <memfile_free_blocks_in_table>   
 200f188:	92 10 00 1a 	mov  %i2, %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++ ) {                
 200f18c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 200f190:	ba 07 60 01 	inc  %i5                                       
 200f194:	83 30 60 02 	srl  %g1, 2, %g1                               
 200f198:	80 a7 40 01 	cmp  %i5, %g1                                  
 200f19c:	0a bf ff f5 	bcs  200f170 <IMFS_memfile_remove+0xf0>        
 200f1a0:	90 10 00 1d 	mov  %i5, %o0                                  
 200f1a4:	d0 06 20 60 	ld  [ %i0 + 0x60 ], %o0                        
        if ( p[j] ) {                                                 
          memfile_free_blocks_in_table( (block_p **)&p[j], to_free);  
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
 200f1a8:	90 02 00 10 	add  %o0, %l0, %o0                             
 200f1ac:	7f ff ff 9f 	call  200f028 <memfile_free_blocks_in_table>   
 200f1b0:	92 10 00 1a 	mov  %i2, %o1                                  
    memfile_free_blocks_in_table( &info->doubly_indirect, to_free );  
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
 200f1b4:	c4 06 c0 00 	ld  [ %i3 ], %g2                               
 200f1b8:	b2 06 60 01 	inc  %i1                                       
 200f1bc:	85 30 a0 02 	srl  %g2, 2, %g2                               
 200f1c0:	80 a6 40 02 	cmp  %i1, %g2                                  
 200f1c4:	1a 80 00 09 	bcc  200f1e8 <IMFS_memfile_remove+0x168>       
 200f1c8:	90 06 20 60 	add  %i0, 0x60, %o0                            
      p = (block_p *) info->triply_indirect[i];                       
 200f1cc:	d0 06 20 60 	ld  [ %i0 + 0x60 ], %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.
 */                                                                   
IMFS_jnode_t *IMFS_memfile_remove(                                    
 200f1d0:	a1 2e 60 02 	sll  %i1, 2, %l0                               
                                                                      
  }                                                                   
                                                                      
  if ( info->triply_indirect ) {                                      
    for ( i=0 ; i<IMFS_MEMFILE_BLOCK_SLOTS ; i++ ) {                  
      p = (block_p *) info->triply_indirect[i];                       
 200f1d4:	f8 02 00 10 	ld  [ %o0 + %l0 ], %i4                         
      if ( !p )  /* ensure we have a valid pointer */                 
 200f1d8:	80 a7 20 00 	cmp  %i4, 0                                    
 200f1dc:	12 bf ff e1 	bne  200f160 <IMFS_memfile_remove+0xe0>        <== ALWAYS TAKEN
 200f1e0:	80 a0 a0 00 	cmp  %g2, 0                                    
        }                                                             
      }                                                               
      memfile_free_blocks_in_table(                                   
        (block_p **)&info->triply_indirect[i], to_free );             
    }                                                                 
    memfile_free_blocks_in_table(                                     
 200f1e4:	90 06 20 60 	add  %i0, 0x60, %o0                            <== NOT EXECUTED
 200f1e8:	7f ff ff 90 	call  200f028 <memfile_free_blocks_in_table>   
 200f1ec:	92 10 00 1a 	mov  %i2, %o1                                  
        (block_p **)&info->triply_indirect, to_free );                
  }                                                                   
                                                                      
  return the_jnode;                                                   
}                                                                     
 200f1f0:	81 c7 e0 08 	ret                                            
 200f1f4:	81 e8 00 00 	restore                                        
                                                                      

0200f1f8 <IMFS_memfile_remove_block>: */ MEMFILE_STATIC int IMFS_memfile_remove_block( IMFS_jnode_t *the_jnode, unsigned int block ) {
 200f1f8:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  block_p *block_ptr;                                                 
  block_p  ptr;                                                       
                                                                      
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
 200f1fc:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 200f200:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200f204:	7f ff fe 29 	call  200eaa8 <IMFS_memfile_get_block_pointer> <== NOT EXECUTED
 200f208:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 200f20c:	82 10 00 08 	mov  %o0, %g1                                  <== NOT EXECUTED
  IMFS_assert( block_ptr );                                           
                                                                      
  ptr = *block_ptr;                                                   
 200f210:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
  *block_ptr = 0;                                                     
  memfile_free_block( ptr );                                          
                                                                      
  return 1;                                                           
}                                                                     
 200f214:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
  block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );  
  IMFS_assert( block_ptr );                                           
                                                                      
  ptr = *block_ptr;                                                   
  *block_ptr = 0;                                                     
  memfile_free_block( ptr );                                          
 200f218:	7f ff ff 7b 	call  200f004 <memfile_free_block>             <== NOT EXECUTED
 200f21c:	c0 20 40 00 	clr  [ %g1 ]                                   <== NOT EXECUTED
                                                                      
  return 1;                                                           
}                                                                     
 200f220:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f224:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200f3ec <IMFS_memfile_write>: IMFS_jnode_t *the_jnode, off_t start, const unsigned char *source, unsigned int length ) {
 200f3ec:	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 ) {                      
 200f3f0:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
 200f3f4:	84 10 20 00 	clr  %g2                                       
  /*                                                                  
   *  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;                                      
 200f3f8:	96 07 00 1a 	add  %i4, %i2, %o3                             
  if ( last_byte > the_jnode->info.file.size ) {                      
 200f3fc:	80 a0 80 01 	cmp  %g2, %g1                                  
 200f400:	14 80 00 5e 	bg  200f578 <IMFS_memfile_write+0x18c>         <== NEVER TAKEN
 200f404:	c6 06 20 54 	ld  [ %i0 + 0x54 ], %g3                        
 200f408:	80 a0 80 01 	cmp  %g2, %g1                                  
 200f40c:	02 80 00 59 	be  200f570 <IMFS_memfile_write+0x184>         <== ALWAYS TAKEN
 200f410:	80 a2 c0 03 	cmp  %o3, %g3                                  
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 200f414:	21 00 80 78 	sethi  %hi(0x201e000), %l0                     <== NOT EXECUTED
 200f418:	fa 04 23 a0 	ld  [ %l0 + 0x3a0 ], %i5	! 201e3a0 <imfs_memfile_bytes_per_block>
 200f41c:	90 10 00 19 	mov  %i1, %o0                                  
 200f420:	a3 3f 60 1f 	sra  %i5, 0x1f, %l1                            
 200f424:	92 10 00 1a 	mov  %i2, %o1                                  
 200f428:	94 10 00 11 	mov  %l1, %o2                                  
 200f42c:	40 00 2a b3 	call  2019ef8 <__moddi3>                       
 200f430:	96 10 00 1d 	mov  %i5, %o3                                  
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 200f434:	90 10 00 19 	mov  %i1, %o0                                  
   */                                                                 
                                                                      
  /*                                                                  
   *  Phase 1: possibly the last part of one block                    
   */                                                                 
  start_offset = start % IMFS_MEMFILE_BYTES_PER_BLOCK;                
 200f438:	a4 10 00 09 	mov  %o1, %l2                                  
  block = start / IMFS_MEMFILE_BYTES_PER_BLOCK;                       
 200f43c:	94 10 00 11 	mov  %l1, %o2                                  
 200f440:	92 10 00 1a 	mov  %i2, %o1                                  
 200f444:	40 00 29 c2 	call  2019b4c <__divdi3>                       
 200f448:	96 10 00 1d 	mov  %i5, %o3                                  
    status = IMFS_memfile_extend( the_jnode, zero_fill, last_byte );  
    if ( status )                                                     
      return status;                                                  
  }                                                                   
                                                                      
  copied = 0;                                                         
 200f44c:	b2 10 20 00 	clr  %i1                                       
  /*                                                                  
   *  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 )  {                                              
 200f450:	80 a4 a0 00 	cmp  %l2, 0                                    
 200f454:	02 80 00 16 	be  200f4ac <IMFS_memfile_write+0xc0>          
 200f458:	b4 10 00 09 	mov  %o1, %i2                                  
    to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK - start_offset;            
 200f45c:	b2 27 40 12 	sub  %i5, %l2, %i1                             
 200f460:	80 a6 40 1c 	cmp  %i1, %i4                                  
 200f464:	38 80 00 02 	bgu,a   200f46c <IMFS_memfile_write+0x80>      
 200f468:	b2 10 00 1c 	mov  %i4, %i1                                  
    if ( to_copy > my_length )                                        
      to_copy = my_length;                                            
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200f46c:	90 10 00 18 	mov  %i0, %o0                                  
 200f470:	92 10 00 1a 	mov  %i2, %o1                                  
 200f474:	7f ff fd 8d 	call  200eaa8 <IMFS_memfile_get_block_pointer> 
 200f478:	94 10 20 00 	clr  %o2                                       
    if ( !block_ptr )                                                 
 200f47c:	80 a2 20 00 	cmp  %o0, 0                                    
 200f480:	02 80 00 22 	be  200f508 <IMFS_memfile_write+0x11c>         <== NEVER TAKEN
 200f484:	82 10 20 00 	clr  %g1                                       
        block,                                                        
        to_copy,                                                      
        src                                                           
      );                                                              
    #endif                                                            
    memcpy( &(*block_ptr)[ start_offset ], src, to_copy );            
 200f488:	d0 02 00 00 	ld  [ %o0 ], %o0                               
 200f48c:	92 10 00 1b 	mov  %i3, %o1                                  
 200f490:	90 02 00 12 	add  %o0, %l2, %o0                             
 200f494:	40 00 07 1f 	call  2011110 <memcpy>                         
 200f498:	94 10 00 19 	mov  %i1, %o2                                  
 200f49c:	fa 04 23 a0 	ld  [ %l0 + 0x3a0 ], %i5                       
    src += to_copy;                                                   
 200f4a0:	b6 06 c0 19 	add  %i3, %i1, %i3                             
    block++;                                                          
 200f4a4:	b4 06 a0 01 	inc  %i2                                       
    my_length -= to_copy;                                             
 200f4a8:	b8 27 00 19 	sub  %i4, %i1, %i4                             
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200f4ac:	80 a7 00 1d 	cmp  %i4, %i5                                  
 200f4b0:	1a 80 00 0e 	bcc  200f4e8 <IMFS_memfile_write+0xfc>         
 200f4b4:	92 10 00 1a 	mov  %i2, %o1                                  
   *  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 ) {                                                  
 200f4b8:	10 80 00 17 	b  200f514 <IMFS_memfile_write+0x128>          
 200f4bc:	80 a7 20 00 	cmp  %i4, 0                                    
    if ( !block_ptr )                                                 
      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 );                       
 200f4c0:	d0 02 00 00 	ld  [ %o0 ], %o0                               
 200f4c4:	40 00 07 13 	call  2011110 <memcpy>                         
 200f4c8:	b8 27 00 1d 	sub  %i4, %i5, %i4                             
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200f4cc:	c2 04 23 a0 	ld  [ %l0 + 0x3a0 ], %g1                       
      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 );                       
    src += to_copy;                                                   
 200f4d0:	b6 06 c0 1d 	add  %i3, %i5, %i3                             
    block++;                                                          
 200f4d4:	b4 06 a0 01 	inc  %i2                                       
  /*                                                                  
   *  Phase 2: all of zero of more blocks                             
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
 200f4d8:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200f4dc:	18 80 00 0d 	bgu  200f510 <IMFS_memfile_write+0x124>        
 200f4e0:	b2 06 40 1d 	add  %i1, %i5, %i1                             
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200f4e4:	92 10 00 1a 	mov  %i2, %o1                                  
 200f4e8:	94 10 20 00 	clr  %o2                                       
 200f4ec:	7f ff fd 6f 	call  200eaa8 <IMFS_memfile_get_block_pointer> 
 200f4f0:	90 10 00 18 	mov  %i0, %o0                                  
    if ( !block_ptr )                                                 
      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 );                       
 200f4f4:	92 10 00 1b 	mov  %i3, %o1                                  
   */                                                                 
                                                                      
  to_copy = IMFS_MEMFILE_BYTES_PER_BLOCK;                             
  while ( my_length >= IMFS_MEMFILE_BYTES_PER_BLOCK ) {               
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
    if ( !block_ptr )                                                 
 200f4f8:	80 a2 20 00 	cmp  %o0, 0                                    
 200f4fc:	12 bf ff f1 	bne  200f4c0 <IMFS_memfile_write+0xd4>         <== ALWAYS TAKEN
 200f500:	94 10 00 1d 	mov  %i5, %o2                                  
 200f504:	82 10 00 19 	mov  %i1, %g1                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
 200f508:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f50c:	91 e8 00 01 	restore  %g0, %g1, %o0                         <== NOT EXECUTED
   *  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 ) {                                                  
 200f510:	80 a7 20 00 	cmp  %i4, 0                                    
 200f514:	02 80 00 0f 	be  200f550 <IMFS_memfile_write+0x164>         
 200f518:	90 07 bf f8 	add  %fp, -8, %o0                              
    block_ptr = IMFS_memfile_get_block_pointer( the_jnode, block, 0 );
 200f51c:	90 10 00 18 	mov  %i0, %o0                                  
 200f520:	92 10 00 1a 	mov  %i2, %o1                                  
 200f524:	7f ff fd 61 	call  200eaa8 <IMFS_memfile_get_block_pointer> 
 200f528:	94 10 20 00 	clr  %o2                                       
    if ( !block_ptr )                                                 
 200f52c:	80 a2 20 00 	cmp  %o0, 0                                    
 200f530:	02 bf ff f6 	be  200f508 <IMFS_memfile_write+0x11c>         <== NEVER TAKEN
 200f534:	82 10 00 19 	mov  %i1, %g1                                  
      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 );                     
 200f538:	d0 02 00 00 	ld  [ %o0 ], %o0                               
 200f53c:	92 10 00 1b 	mov  %i3, %o1                                  
 200f540:	94 10 00 1c 	mov  %i4, %o2                                  
 200f544:	40 00 06 f3 	call  2011110 <memcpy>                         
 200f548:	b2 06 40 1c 	add  %i1, %i4, %i1                             
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
 200f54c:	90 07 bf f8 	add  %fp, -8, %o0                              
 200f550:	7f ff d1 0f 	call  200398c <gettimeofday>                   
 200f554:	92 10 20 00 	clr  %o1                                       
 200f558:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
                                                                      
  return copied;                                                      
 200f55c:	82 10 00 19 	mov  %i1, %g1                                  
    memcpy( &(*block_ptr)[ 0 ], src, my_length );                     
    my_length = 0;                                                    
    copied += to_copy;                                                
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
 200f560:	c4 26 20 44 	st  %g2, [ %i0 + 0x44 ]                        
 200f564:	c4 26 20 48 	st  %g2, [ %i0 + 0x48 ]                        
                                                                      
  return copied;                                                      
}                                                                     
 200f568:	81 c7 e0 08 	ret                                            
 200f56c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
   *  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 ) {                      
 200f570:	08 bf ff aa 	bleu  200f418 <IMFS_memfile_write+0x2c>        
 200f574:	21 00 80 78 	sethi  %hi(0x201e000), %l0                     
    bool zero_fill = start > the_jnode->info.file.size;               
 200f578:	80 a6 40 01 	cmp  %i1, %g1                                  
 200f57c:	04 80 00 0b 	ble  200f5a8 <IMFS_memfile_write+0x1bc>        <== ALWAYS TAKEN
 200f580:	92 10 20 01 	mov  1, %o1                                    
                                                                      
    status = IMFS_memfile_extend( the_jnode, zero_fill, last_byte );  
 200f584:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200f588:	92 0a 60 01 	and  %o1, 1, %o1                               
 200f58c:	7f ff ff 27 	call  200f228 <IMFS_memfile_extend>            
 200f590:	94 10 20 00 	clr  %o2                                       
    if ( status )                                                     
 200f594:	82 92 20 00 	orcc  %o0, 0, %g1                              
 200f598:	02 bf ff a0 	be  200f418 <IMFS_memfile_write+0x2c>          
 200f59c:	21 00 80 78 	sethi  %hi(0x201e000), %l0                     
  }                                                                   
                                                                      
  IMFS_mtime_ctime_update( the_jnode );                               
                                                                      
  return copied;                                                      
}                                                                     
 200f5a0:	81 c7 e0 08 	ret                                            
 200f5a4:	91 e8 00 01 	restore  %g0, %g1, %o0                         
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
    bool zero_fill = start > the_jnode->info.file.size;               
 200f5a8:	02 80 00 0b 	be  200f5d4 <IMFS_memfile_write+0x1e8>         <== ALWAYS TAKEN
 200f5ac:	80 a6 80 03 	cmp  %i2, %g3                                  
 200f5b0:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
                                                                      
    status = IMFS_memfile_extend( the_jnode, zero_fill, last_byte );  
 200f5b4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200f5b8:	92 0a 60 01 	and  %o1, 1, %o1                               
 200f5bc:	7f ff ff 1b 	call  200f228 <IMFS_memfile_extend>            
 200f5c0:	94 10 20 00 	clr  %o2                                       
    if ( status )                                                     
 200f5c4:	82 92 20 00 	orcc  %o0, 0, %g1                              
 200f5c8:	02 bf ff 94 	be  200f418 <IMFS_memfile_write+0x2c>          
 200f5cc:	21 00 80 78 	sethi  %hi(0x201e000), %l0                     
 200f5d0:	30 bf ff f4 	b,a   200f5a0 <IMFS_memfile_write+0x1b4>       
   *  in memory file, then extend the length.                         
   */                                                                 
                                                                      
  last_byte = start + my_length;                                      
  if ( last_byte > the_jnode->info.file.size ) {                      
    bool zero_fill = start > the_jnode->info.file.size;               
 200f5d4:	18 bf ff ed 	bgu  200f588 <IMFS_memfile_write+0x19c>        
 200f5d8:	90 10 00 18 	mov  %i0, %o0                                  
 200f5dc:	10 bf ff f7 	b  200f5b8 <IMFS_memfile_write+0x1cc>          
 200f5e0:	92 10 20 00 	clr  %o1                                       
                                                                      

02003100 <IMFS_mknod>: const char *name, size_t namelen, mode_t mode, dev_t dev ) {
 2003100:	9d e3 bf 80 	save  %sp, -128, %sp                           
  dev_t dev,                                                          
  IMFS_jnode_types_t *type,                                           
  IMFS_types_union *info                                              
)                                                                     
{                                                                     
  if ( S_ISDIR( mode ) ) {                                            
 2003104:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2003108:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 200310c:	82 0e c0 01 	and  %i3, %g1, %g1                             
 2003110:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003114:	02 80 00 2b 	be  20031c0 <IMFS_mknod+0xc0>                  
 2003118:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
    *type = IMFS_DIRECTORY;                                           
  } else if ( S_ISREG( mode ) ) {                                     
 200311c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003120:	02 80 00 2a 	be  20031c8 <IMFS_mknod+0xc8>                  
 2003124:	09 00 00 2c 	sethi  %hi(0xb000), %g4                        
    *type = IMFS_MEMORY_FILE;                                         
  } else if ( S_ISBLK( mode ) || S_ISCHR( mode ) ) {                  
 2003128:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
 200312c:	88 0e c0 04 	and  %i3, %g4, %g4                             
 2003130:	80 a1 00 02 	cmp  %g4, %g2                                  
 2003134:	02 80 00 07 	be  2003150 <IMFS_mknod+0x50>                  
 2003138:	05 00 00 04 	sethi  %hi(0x1000), %g2                        
    rtems_filesystem_split_dev_t(                                     
      dev,                                                            
      info->device.major,                                             
      info->device.minor                                              
    );                                                                
  } else if (S_ISFIFO( mode )) {                                      
 200313c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003140:	22 80 00 06 	be,a   2003158 <IMFS_mknod+0x58>               <== ALWAYS TAKEN
 2003144:	86 10 20 06 	mov  6, %g3                                    
  size_t namelen,                                                     
  mode_t mode,                                                        
  const IMFS_types_union *info                                        
)                                                                     
{                                                                     
  const IMFS_fs_info_t *fs_info =                                     
 2003148:	10 80 00 05 	b  200315c <IMFS_mknod+0x5c>                   <== NOT EXECUTED
 200314c:	c4 06 20 14 	ld  [ %i0 + 0x14 ], %g2                        <== NOT EXECUTED
    *type = IMFS_DIRECTORY;                                           
  } else if ( S_ISREG( mode ) ) {                                     
    *type = IMFS_MEMORY_FILE;                                         
  } else if ( S_ISBLK( mode ) || S_ISCHR( mode ) ) {                  
    *type = IMFS_DEVICE;                                              
    rtems_filesystem_split_dev_t(                                     
 2003150:	f8 3f bf e8 	std  %i4, [ %fp + -24 ]                        
  if ( S_ISDIR( mode ) ) {                                            
    *type = IMFS_DIRECTORY;                                           
  } else if ( S_ISREG( mode ) ) {                                     
    *type = IMFS_MEMORY_FILE;                                         
  } else if ( S_ISBLK( mode ) || S_ISCHR( mode ) ) {                  
    *type = IMFS_DEVICE;                                              
 2003154:	86 10 20 01 	mov  1, %g3                                    
 2003158:	c4 06 20 14 	ld  [ %i0 + 0x14 ], %g2                        
    (const IMFS_fs_info_t *) parentloc->mt_entry->fs_info;            
                                                                      
  return IMFS_create_node_with_control(                               
 200315c:	82 00 e0 02 	add  %g3, 2, %g1                               
 2003160:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 2003164:	83 28 60 02 	sll  %g1, 2, %g1                               
 2003168:	d2 00 80 01 	ld  [ %g2 + %g1 ], %o1                         
 200316c:	90 10 00 18 	mov  %i0, %o0                                  
 2003170:	94 10 00 19 	mov  %i1, %o2                                  
 2003174:	96 10 00 1a 	mov  %i2, %o3                                  
 2003178:	98 10 00 1b 	mov  %i3, %o4                                  
 200317c:	40 00 23 eb 	call  200c128 <IMFS_create_node_with_control>  
 2003180:	9a 07 bf e8 	add  %fp, -24, %o5                             
  IMFS_jnode_t *new_node;                                             
                                                                      
  get_type_and_info_by_mode_and_dev( mode, dev, &type, &info );       
                                                                      
  new_node = IMFS_create_node( parentloc, type, name, namelen, mode, &info );
  if ( new_node != NULL ) {                                           
 2003184:	80 a2 20 00 	cmp  %o0, 0                                    
 2003188:	02 80 00 12 	be  20031d0 <IMFS_mknod+0xd0>                  
 200318c:	92 10 20 00 	clr  %o1                                       
    IMFS_jnode_t *parent = parentloc->node_access;                    
 2003190:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
                                                                      
    IMFS_update_ctime( parent );                                      
 2003194:	40 00 01 fe 	call  200398c <gettimeofday>                   
 2003198:	90 07 bf e0 	add  %fp, -32, %o0                             
 200319c:	c2 07 bf e0 	ld  [ %fp + -32 ], %g1                         
    IMFS_update_mtime( parent );                                      
 20031a0:	90 07 bf e0 	add  %fp, -32, %o0                             
                                                                      
  new_node = IMFS_create_node( parentloc, type, name, namelen, mode, &info );
  if ( new_node != NULL ) {                                           
    IMFS_jnode_t *parent = parentloc->node_access;                    
                                                                      
    IMFS_update_ctime( parent );                                      
 20031a4:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
    IMFS_update_mtime( parent );                                      
 20031a8:	40 00 01 f9 	call  200398c <gettimeofday>                   
 20031ac:	92 10 20 00 	clr  %o1                                       
 20031b0:	c2 07 bf e0 	ld  [ %fp + -32 ], %g1                         
 20031b4:	c2 27 60 44 	st  %g1, [ %i5 + 0x44 ]                        
  size_t namelen,                                                     
  mode_t mode,                                                        
  dev_t dev                                                           
)                                                                     
{                                                                     
  int rv = 0;                                                         
 20031b8:	81 c7 e0 08 	ret                                            
 20031bc:	91 e8 20 00 	restore  %g0, 0, %o0                           
  IMFS_jnode_types_t *type,                                           
  IMFS_types_union *info                                              
)                                                                     
{                                                                     
  if ( S_ISDIR( mode ) ) {                                            
    *type = IMFS_DIRECTORY;                                           
 20031c0:	10 bf ff e6 	b  2003158 <IMFS_mknod+0x58>                   
 20031c4:	86 10 20 00 	clr  %g3                                       
  } else if ( S_ISREG( mode ) ) {                                     
    *type = IMFS_MEMORY_FILE;                                         
 20031c8:	10 bf ff e4 	b  2003158 <IMFS_mknod+0x58>                   
 20031cc:	86 10 20 04 	mov  4, %g3                                    
  } else {                                                            
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20031d0:	81 c7 e0 08 	ret                                            
 20031d4:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      

020031d8 <IMFS_mount>: #endif #include "imfs.h" int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
 20031d8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv = 0;                                                         
  IMFS_jnode_t *node = mt_entry->mt_point_node->location.node_access; 
 20031dc:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 20031e0:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
  return node->control->imfs_type;                                    
}                                                                     
                                                                      
static inline bool IMFS_is_directory( const IMFS_jnode_t *node )      
{                                                                     
  return node->control->imfs_type == IMFS_DIRECTORY;                  
 20031e4:	c4 00 60 4c 	ld  [ %g1 + 0x4c ], %g2                        
                                                                      
  if ( IMFS_is_directory( node ) ) {                                  
 20031e8:	c4 00 80 00 	ld  [ %g2 ], %g2                               
 20031ec:	80 a0 a0 00 	cmp  %g2, 0                                    
 20031f0:	12 80 00 0f 	bne  200322c <IMFS_mount+0x54>                 
 20031f4:	01 00 00 00 	nop                                            
    if ( node->info.directory.mt_fs == NULL ) {                       
 20031f8:	c4 00 60 5c 	ld  [ %g1 + 0x5c ], %g2                        
 20031fc:	80 a0 a0 00 	cmp  %g2, 0                                    
 2003200:	12 80 00 05 	bne  2003214 <IMFS_mount+0x3c>                 <== NEVER TAKEN
 2003204:	01 00 00 00 	nop                                            
      node->info.directory.mt_fs = mt_entry;                          
 2003208:	f0 20 60 5c 	st  %i0, [ %g1 + 0x5c ]                        
                                                                      
#include "imfs.h"                                                     
                                                                      
int IMFS_mount( rtems_filesystem_mount_table_entry_t *mt_entry )      
{                                                                     
  int rv = 0;                                                         
 200320c:	81 c7 e0 08 	ret                                            
 2003210:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  if ( IMFS_is_directory( node ) ) {                                  
    if ( node->info.directory.mt_fs == NULL ) {                       
      node->info.directory.mt_fs = mt_entry;                          
    } else {                                                          
      errno = EBUSY;                                                  
 2003214:	40 00 35 78 	call  20107f4 <__errno>                        <== NOT EXECUTED
 2003218:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200321c:	82 10 20 10 	mov  0x10, %g1                                 <== NOT EXECUTED
 2003220:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2003224:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003228:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    errno = ENOTDIR;                                                  
 200322c:	40 00 35 72 	call  20107f4 <__errno>                        
 2003230:	b0 10 3f ff 	mov  -1, %i0                                   
 2003234:	82 10 20 14 	mov  0x14, %g1                                 
 2003238:	c2 22 00 00 	st  %g1, [ %o0 ]                               
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 200323c:	81 c7 e0 08 	ret                                            
 2003240:	81 e8 00 00 	restore                                        
                                                                      

0200c5b8 <IMFS_node_remove_directory>: static IMFS_jnode_t *IMFS_node_remove_directory( IMFS_jnode_t *node, const IMFS_jnode_t *root_node ) {
 200c5b8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
 200c5bc:	c4 06 20 50 	ld  [ %i0 + 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 );                            
 200c5c0:	82 06 20 54 	add  %i0, 0x54, %g1                            
 200c5c4:	80 a0 80 01 	cmp  %g2, %g1                                  
 200c5c8:	12 80 00 10 	bne  200c608 <IMFS_node_remove_directory+0x50> 
 200c5cc:	80 a6 00 19 	cmp  %i0, %i1                                  
    errno = ENOTEMPTY;                                                
    node = NULL;                                                      
  } else if ( node == root_node || IMFS_is_mount_point( node ) ) {    
 200c5d0:	02 80 00 08 	be  200c5f0 <IMFS_node_remove_directory+0x38>  
 200c5d4:	01 00 00 00 	nop                                            
 200c5d8:	c2 06 20 5c 	ld  [ %i0 + 0x5c ], %g1                        
 200c5dc:	80 a0 60 00 	cmp  %g1, 0                                    
 200c5e0:	12 80 00 04 	bne  200c5f0 <IMFS_node_remove_directory+0x38> <== NEVER TAKEN
 200c5e4:	01 00 00 00 	nop                                            
    errno = EBUSY;                                                    
    node = NULL;                                                      
  }                                                                   
                                                                      
  return node;                                                        
}                                                                     
 200c5e8:	81 c7 e0 08 	ret                                            
 200c5ec:	81 e8 00 00 	restore                                        
{                                                                     
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
    errno = ENOTEMPTY;                                                
    node = NULL;                                                      
  } else if ( node == root_node || IMFS_is_mount_point( node ) ) {    
    errno = EBUSY;                                                    
 200c5f0:	40 00 10 81 	call  20107f4 <__errno>                        
 200c5f4:	b0 10 20 00 	clr  %i0                                       
 200c5f8:	82 10 20 10 	mov  0x10, %g1                                 
 200c5fc:	c2 22 00 00 	st  %g1, [ %o0 ]                               
    node = NULL;                                                      
  }                                                                   
                                                                      
  return node;                                                        
}                                                                     
 200c600:	81 c7 e0 08 	ret                                            
 200c604:	81 e8 00 00 	restore                                        
  IMFS_jnode_t *node,                                                 
  const IMFS_jnode_t *root_node                                       
)                                                                     
{                                                                     
  if ( !rtems_chain_is_empty( &node->info.directory.Entries ) ) {     
    errno = ENOTEMPTY;                                                
 200c608:	40 00 10 7b 	call  20107f4 <__errno>                        
 200c60c:	b0 10 20 00 	clr  %i0                                       
 200c610:	82 10 20 5a 	mov  0x5a, %g1                                 
 200c614:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200c618:	81 c7 e0 08 	ret                                            
 200c61c:	81 e8 00 00 	restore                                        
                                                                      

02003244 <IMFS_node_type>: rtems_filesystem_node_types_t IMFS_node_type( const rtems_filesystem_location_info_t *loc ) { const IMFS_jnode_t *node = loc->node_access;
 2003244:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
  rtems_chain_extract_unprotected( &node->Node );                     
}                                                                     
                                                                      
static inline IMFS_jnode_types_t IMFS_type( const IMFS_jnode_t *node )
{                                                                     
  return node->control->imfs_type;                                    
 2003248:	c2 00 a0 4c 	ld  [ %g2 + 0x4c ], %g1                        
 200324c:	c2 00 40 00 	ld  [ %g1 ], %g1                               
  IMFS_jnode_types_t imfs_type = IMFS_type( node );                   
  rtems_filesystem_node_types_t type;                                 
                                                                      
  switch ( imfs_type ) {                                              
 2003250:	80 a0 60 02 	cmp  %g1, 2                                    
 2003254:	02 80 00 06 	be  200326c <IMFS_node_type+0x28>              
 2003258:	80 a0 60 05 	cmp  %g1, 5                                    
 200325c:	02 80 00 08 	be  200327c <IMFS_node_type+0x38>              <== NEVER TAKEN
 2003260:	90 10 20 04 	mov  4, %o0                                    
      type = imfs_type;                                               
      break;                                                          
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
 2003264:	81 c3 e0 08 	retl                                           
 2003268:	90 10 00 01 	mov  %g1, %o0                                  
 200326c:	c2 00 a0 50 	ld  [ %g2 + 0x50 ], %g1                        
 2003270:	c2 00 60 4c 	ld  [ %g1 + 0x4c ], %g1                        
  rtems_filesystem_node_types_t type;                                 
                                                                      
  switch ( imfs_type ) {                                              
    case IMFS_HARD_LINK:                                              
      type = IMFS_type( node->info.hard_link.link_node );             
      break;                                                          
 2003274:	81 c3 e0 08 	retl                                           
 2003278:	d0 00 40 00 	ld  [ %g1 ], %o0                               
 200327c:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

02003284 <IMFS_readlink>: node = loc->node_access; IMFS_assert( node->control->imfs_type == IMFS_SYM_LINK ); for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
 2003284:	80 a2 a0 00 	cmp  %o2, 0                                    
 2003288:	02 80 00 16 	be  20032e0 <IMFS_readlink+0x5c>               <== NEVER TAKEN
 200328c:	c8 02 20 08 	ld  [ %o0 + 8 ], %g4                           
 2003290:	c2 01 20 50 	ld  [ %g4 + 0x50 ], %g1                        
 2003294:	c4 48 40 00 	ldsb  [ %g1 ], %g2                             
 2003298:	80 a0 a0 00 	cmp  %g2, 0                                    
 200329c:	02 80 00 11 	be  20032e0 <IMFS_readlink+0x5c>               <== NEVER TAKEN
 20032a0:	c2 08 40 00 	ldub  [ %g1 ], %g1                             
 20032a4:	84 10 20 00 	clr  %g2                                       
 20032a8:	10 80 00 07 	b  20032c4 <IMFS_readlink+0x40>                
 20032ac:	90 10 20 00 	clr  %o0                                       
 20032b0:	c2 01 20 50 	ld  [ %g4 + 0x50 ], %g1                        
 20032b4:	c6 48 40 08 	ldsb  [ %g1 + %o0 ], %g3                       
 20032b8:	80 a0 e0 00 	cmp  %g3, 0                                    
 20032bc:	02 80 00 07 	be  20032d8 <IMFS_readlink+0x54>               
 20032c0:	c2 08 40 08 	ldub  [ %g1 + %o0 ], %g1                       
    buf[i] = node->info.sym_link.name[i];                             
 20032c4:	c2 2a 40 02 	stb  %g1, [ %o1 + %g2 ]                        
                                                                      
  node = loc->node_access;                                            
                                                                      
  IMFS_assert( node->control->imfs_type == IMFS_SYM_LINK );           
                                                                      
  for( i=0; ((i<bufsize) && (node->info.sym_link.name[i] != '\0')); i++ )
 20032c8:	90 02 20 01 	inc  %o0                                       
 20032cc:	80 a2 00 0a 	cmp  %o0, %o2                                  
 20032d0:	12 bf ff f8 	bne  20032b0 <IMFS_readlink+0x2c>              
 20032d4:	84 10 00 08 	mov  %o0, %g2                                  
    buf[i] = node->info.sym_link.name[i];                             
                                                                      
  return i;                                                           
}                                                                     
 20032d8:	81 c3 e0 08 	retl                                           
 20032dc:	01 00 00 00 	nop                                            
 20032e0:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 20032e4:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      <== NOT EXECUTED
                                                                      

020032e8 <IMFS_rename>: const rtems_filesystem_location_info_t *oldloc, const rtems_filesystem_location_info_t *newparentloc, const char *name, size_t namelen ) {
 20032e8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int rv = 0;                                                         
  IMFS_jnode_t *node = oldloc->node_access;                           
 20032ec:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           
  /*                                                                  
   * FIXME: Due to insufficient checks we can create inaccessible nodes with
   * this operation.                                                  
   */                                                                 
                                                                      
  if ( node->Parent != NULL ) {                                       
 20032f0:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 20032f4:	80 a0 60 00 	cmp  %g1, 0                                    
 20032f8:	02 80 00 22 	be  2003380 <IMFS_rename+0x98>                 <== NEVER TAKEN
 20032fc:	f4 06 a0 08 	ld  [ %i2 + 8 ], %i2                           
    if ( namelen < IMFS_NAME_MAX ) {                                  
 2003300:	80 a7 20 1f 	cmp  %i4, 0x1f                                 
 2003304:	18 80 00 19 	bgu  2003368 <IMFS_rename+0x80>                <== NEVER TAKEN
 2003308:	94 10 00 1c 	mov  %i4, %o2                                  
      memcpy( node->name, name, namelen );                            
 200330c:	92 10 00 1b 	mov  %i3, %o1                                  
 2003310:	40 00 37 80 	call  2011110 <memcpy>                         
 2003314:	90 07 60 0c 	add  %i5, 0xc, %o0                             
      node->name [namelen] = '\0';                                    
 2003318:	b8 07 40 1c 	add  %i5, %i4, %i4                             
 200331c:	c0 2f 20 0c 	clrb  [ %i4 + 0xc ]                            
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 2003320:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 2003324:	c4 07 40 00 	ld  [ %i5 ], %g2                               
RTEMS_INLINE_ROUTINE void _Chain_Append_unprotected(                  
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 2003328:	86 06 a0 54 	add  %i2, 0x54, %g3                            
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 200332c:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
  previous->next = next;                                              
 2003330:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 2003334:	c2 06 a0 58 	ld  [ %i2 + 0x58 ], %g1                        
static inline void IMFS_add_to_directory(                             
  IMFS_jnode_t *dir,                                                  
  IMFS_jnode_t *node                                                  
)                                                                     
{                                                                     
  node->Parent = dir;                                                 
 2003338:	f4 27 60 08 	st  %i2, [ %i5 + 8 ]                           
                                                                      
  the_node->next = tail;                                              
 200333c:	c6 27 40 00 	st  %g3, [ %i5 ]                               
  tail->previous = the_node;                                          
 2003340:	fa 26 a0 58 	st  %i5, [ %i2 + 0x58 ]                        
  old_last->next = the_node;                                          
 2003344:	fa 20 40 00 	st  %i5, [ %g1 ]                               
  the_node->previous = old_last;                                      
 2003348:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           
                                                                      
      IMFS_remove_from_directory( node );                             
      IMFS_add_to_directory( new_parent, node );                      
      IMFS_update_ctime( node );                                      
 200334c:	90 07 bf f8 	add  %fp, -8, %o0                              
 2003350:	40 00 01 8f 	call  200398c <gettimeofday>                   
 2003354:	92 10 20 00 	clr  %o1                                       
 2003358:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200335c:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
  const rtems_filesystem_location_info_t *newparentloc,               
  const char *name,                                                   
  size_t namelen                                                      
)                                                                     
{                                                                     
  int rv = 0;                                                         
 2003360:	81 c7 e0 08 	ret                                            
 2003364:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
      IMFS_remove_from_directory( node );                             
      IMFS_add_to_directory( new_parent, node );                      
      IMFS_update_ctime( node );                                      
    } else {                                                          
      errno = ENAMETOOLONG;                                           
 2003368:	40 00 35 23 	call  20107f4 <__errno>                        <== NOT EXECUTED
 200336c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2003370:	82 10 20 5b 	mov  0x5b, %g1                                 <== NOT EXECUTED
 2003374:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2003378:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200337c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
 2003380:	40 00 35 1d 	call  20107f4 <__errno>                        <== NOT EXECUTED
 2003384:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2003388:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 200338c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 2003390:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003394:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200348c <IMFS_unmount>: #endif #include "imfs.h" int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
 200348c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv = 0;                                                         
  IMFS_jnode_t *node = mt_entry->mt_point_node->location.node_access; 
 2003490:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 2003494:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
  return node->control->imfs_type;                                    
}                                                                     
                                                                      
static inline bool IMFS_is_directory( const IMFS_jnode_t *node )      
{                                                                     
  return node->control->imfs_type == IMFS_DIRECTORY;                  
 2003498:	c4 00 60 4c 	ld  [ %g1 + 0x4c ], %g2                        
                                                                      
  if ( IMFS_is_directory( node ) ) {                                  
 200349c:	c4 00 80 00 	ld  [ %g2 ], %g2                               
 20034a0:	80 a0 a0 00 	cmp  %g2, 0                                    
 20034a4:	12 80 00 0f 	bne  20034e0 <IMFS_unmount+0x54>               <== NEVER TAKEN
 20034a8:	01 00 00 00 	nop                                            
    if ( node->info.directory.mt_fs == mt_entry ) {                   
 20034ac:	c4 00 60 5c 	ld  [ %g1 + 0x5c ], %g2                        
 20034b0:	80 a0 80 18 	cmp  %g2, %i0                                  
 20034b4:	12 80 00 05 	bne  20034c8 <IMFS_unmount+0x3c>               <== NEVER TAKEN
 20034b8:	01 00 00 00 	nop                                            
      node->info.directory.mt_fs = NULL;                              
 20034bc:	c0 20 60 5c 	clr  [ %g1 + 0x5c ]                            
                                                                      
#include "imfs.h"                                                     
                                                                      
int IMFS_unmount( rtems_filesystem_mount_table_entry_t *mt_entry )    
{                                                                     
  int rv = 0;                                                         
 20034c0:	81 c7 e0 08 	ret                                            
 20034c4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  if ( IMFS_is_directory( node ) ) {                                  
    if ( node->info.directory.mt_fs == mt_entry ) {                   
      node->info.directory.mt_fs = NULL;                              
    } else {                                                          
      errno = EINVAL;                                                 
 20034c8:	40 00 34 cb 	call  20107f4 <__errno>                        <== NOT EXECUTED
 20034cc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20034d0:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 20034d4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20034d8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20034dc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    errno = ENOTDIR;                                                  
 20034e0:	40 00 34 c5 	call  20107f4 <__errno>                        <== NOT EXECUTED
 20034e4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20034e8:	82 10 20 14 	mov  0x14, %g1                                 <== NOT EXECUTED
 20034ec:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20034f0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20034f4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02003bb8 <RTEMS_Malloc_Initialize>: void RTEMS_Malloc_Initialize( void *heap_begin, uintptr_t heap_size, size_t sbrk_amount ) {
 2003bb8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  bool separate_areas = !rtems_configuration_get_unified_work_area(); 
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
 2003bbc:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2003bc0:	c2 00 63 74 	ld  [ %g1 + 0x374 ], %g1	! 201e374 <rtems_malloc_statistics_helpers>
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
  bool separate_areas = !rtems_configuration_get_unified_work_area(); 
 2003bc4:	3b 00 80 76 	sethi  %hi(0x201d800), %i5                     
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
 2003bc8:	80 a0 60 00 	cmp  %g1, 0                                    
  void *heap_begin,                                                   
  uintptr_t heap_size,                                                
  size_t sbrk_amount                                                  
)                                                                     
{                                                                     
  bool separate_areas = !rtems_configuration_get_unified_work_area(); 
 2003bcc:	ba 17 62 cc 	or  %i5, 0x2cc, %i5                            
  /*                                                                  
   *  If configured, initialize the statistics support                
   */                                                                 
  if ( rtems_malloc_statistics_helpers != NULL ) {                    
 2003bd0:	02 80 00 05 	be  2003be4 <RTEMS_Malloc_Initialize+0x2c>     
 2003bd4:	f8 0f 60 35 	ldub  [ %i5 + 0x35 ], %i4                      
    (*rtems_malloc_statistics_helpers->initialize)();                 
 2003bd8:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2003bdc:	9f c0 40 00 	call  %g1                                      
 2003be0:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize the garbage collection list to start with nothing on it.
   */                                                                 
  malloc_deferred_frees_initialize();                                 
 2003be4:	7f ff ff db 	call  2003b50 <malloc_deferred_frees_initialize>
 2003be8:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
 2003bec:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2003bf0:	c2 00 63 70 	ld  [ %g1 + 0x370 ], %g1	! 201e370 <rtems_malloc_sbrk_helpers>
 2003bf4:	80 a0 60 00 	cmp  %g1, 0                                    
 2003bf8:	02 80 00 08 	be  2003c18 <RTEMS_Malloc_Initialize+0x60>     
 2003bfc:	90 10 00 18 	mov  %i0, %o0                                  
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
 2003c00:	c2 00 40 00 	ld  [ %g1 ], %g1                               
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
 2003c04:	b2 06 00 19 	add  %i0, %i1, %i1                             
                                                                      
  /*                                                                  
   *  Initialize the optional sbrk support for extending the heap     
   */                                                                 
  if ( rtems_malloc_sbrk_helpers != NULL ) {                          
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
 2003c08:	9f c0 40 00 	call  %g1                                      
 2003c0c:	92 10 00 1a 	mov  %i2, %o1                                  
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
    heap_begin = new_heap_begin;                                      
 2003c10:	b0 10 00 08 	mov  %o0, %i0                                  
    void *new_heap_begin = (*rtems_malloc_sbrk_helpers->initialize)(  
      heap_begin,                                                     
      sbrk_amount                                                     
    );                                                                
                                                                      
    heap_size -= (uintptr_t) new_heap_begin - (uintptr_t) heap_begin; 
 2003c14:	b2 26 40 08 	sub  %i1, %o0, %i1                             
   *  of the time under UNIX because zero'ing memory when it is first 
   *  given to a process eliminates the chance of a process seeing data
   *  left over from another process.  This would be a security violation.
   */                                                                 
                                                                      
  if ( separate_areas && rtems_configuration_get_do_zero_of_workspace() ) {
 2003c18:	80 8f 20 ff 	btst  0xff, %i4                                
 2003c1c:	22 80 00 0b 	be,a   2003c48 <RTEMS_Malloc_Initialize+0x90>  
 2003c20:	c2 0f 60 34 	ldub  [ %i5 + 0x34 ], %g1                      
 2003c24:	39 00 80 76 	sethi  %hi(0x201d800), %i4                     
    if ( status == 0 ) {                                              
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
    }                                                                 
  }                                                                   
                                                                      
  MSBUMP( space_available, _Protected_heap_Get_size(RTEMS_Malloc_Heap) );
 2003c28:	3b 00 80 79 	sethi  %hi(0x201e400), %i5                     
 2003c2c:	d0 07 23 bc 	ld  [ %i4 + 0x3bc ], %o0                       
 2003c30:	40 00 18 16 	call  2009c88 <_Protected_heap_Get_size>       
 2003c34:	f8 07 63 30 	ld  [ %i5 + 0x330 ], %i4                       
 2003c38:	90 02 00 1c 	add  %o0, %i4, %o0                             
 2003c3c:	d0 27 63 30 	st  %o0, [ %i5 + 0x330 ]                       
 2003c40:	81 c7 e0 08 	ret                                            
 2003c44:	81 e8 00 00 	restore                                        
   *  of the time under UNIX because zero'ing memory when it is first 
   *  given to a process eliminates the chance of a process seeing data
   *  left over from another process.  This would be a security violation.
   */                                                                 
                                                                      
  if ( separate_areas && rtems_configuration_get_do_zero_of_workspace() ) {
 2003c48:	80 a0 60 00 	cmp  %g1, 0                                    
 2003c4c:	12 80 00 0c 	bne  2003c7c <RTEMS_Malloc_Initialize+0xc4>    
 2003c50:	39 00 80 76 	sethi  %hi(0x201d800), %i4                     
  void *area_begin,                                                   
  uintptr_t area_size,                                                
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return _Heap_Initialize( heap, area_begin, area_size, page_size );  
 2003c54:	d0 07 23 bc 	ld  [ %i4 + 0x3bc ], %o0	! 201dbbc <RTEMS_Malloc_Heap>
 2003c58:	92 10 00 18 	mov  %i0, %o1                                  
 2003c5c:	94 10 00 19 	mov  %i1, %o2                                  
 2003c60:	40 00 14 f9 	call  2009044 <_Heap_Initialize>               
 2003c64:	96 10 20 08 	mov  8, %o3                                    
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
 2003c68:	80 a2 20 00 	cmp  %o0, 0                                    
 2003c6c:	32 bf ff f0 	bne,a   2003c2c <RTEMS_Malloc_Initialize+0x74> 
 2003c70:	3b 00 80 79 	sethi  %hi(0x201e400), %i5                     
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
 2003c74:	40 00 12 18 	call  20084d4 <rtems_fatal_error_occurred>     
 2003c78:	90 10 20 1a 	mov  0x1a, %o0                                 
   *  given to a process eliminates the chance of a process seeing data
   *  left over from another process.  This would be a security violation.
   */                                                                 
                                                                      
  if ( separate_areas && rtems_configuration_get_do_zero_of_workspace() ) {
     memset( heap_begin, 0, heap_size );                              
 2003c7c:	92 10 20 00 	clr  %o1                                       
 2003c80:	94 10 00 19 	mov  %i1, %o2                                  
 2003c84:	40 00 35 60 	call  2011204 <memset>                         
 2003c88:	90 10 00 18 	mov  %i0, %o0                                  
 2003c8c:	39 00 80 76 	sethi  %hi(0x201d800), %i4                     
 2003c90:	d0 07 23 bc 	ld  [ %i4 + 0x3bc ], %o0	! 201dbbc <RTEMS_Malloc_Heap>
 2003c94:	92 10 00 18 	mov  %i0, %o1                                  
 2003c98:	94 10 00 19 	mov  %i1, %o2                                  
 2003c9c:	40 00 14 ea 	call  2009044 <_Heap_Initialize>               
 2003ca0:	96 10 20 08 	mov  8, %o3                                    
      RTEMS_Malloc_Heap,                                              
      heap_begin,                                                     
      heap_size,                                                      
      CPU_HEAP_ALIGNMENT                                              
    );                                                                
    if ( status == 0 ) {                                              
 2003ca4:	80 a2 20 00 	cmp  %o0, 0                                    
 2003ca8:	32 bf ff e1 	bne,a   2003c2c <RTEMS_Malloc_Initialize+0x74> <== ALWAYS TAKEN
 2003cac:	3b 00 80 79 	sethi  %hi(0x201e400), %i5                     
 2003cb0:	30 bf ff f1 	b,a   2003c74 <RTEMS_Malloc_Initialize+0xbc>   <== NOT EXECUTED
                                                                      

02007808 <Stack_check_Dump_threads_usage>: static rtems_printk_plugin_t print_handler; static void Stack_check_Dump_threads_usage( Thread_Control *the_thread ) {
 2007808:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
 200780c:	80 a6 3f ff 	cmp  %i0, -1                                   
 2007810:	02 80 00 56 	be  2007968 <Stack_check_Dump_threads_usage+0x160>
 2007814:	ba 06 20 b4 	add  %i0, 0xb4, %i5                            
      current = 0;                                                    
    } else                                                            
  #endif                                                              
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
 2007818:	e2 06 21 40 	ld  [ %i0 + 0x140 ], %l1                       
 200781c:	f8 06 20 b8 	ld  [ %i0 + 0xb8 ], %i4                        
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
  size = Stack_check_usable_stack_size(stack);                        
 2007820:	f4 07 40 00 	ld  [ %i5 ], %i2                               
    /*                                                                
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
 2007824:	82 07 20 20 	add  %i4, 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);                        
 2007828:	b4 06 bf f0 	add  %i2, -16, %i2                             
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
 200782c:	86 0e bf fc 	and  %i2, -4, %g3                              
 2007830:	86 00 40 03 	add  %g1, %g3, %g3                             
 2007834:	80 a0 40 03 	cmp  %g1, %g3                                  
 2007838:	1a 80 00 10 	bcc  2007878 <Stack_check_Dump_threads_usage+0x70><== NEVER TAKEN
 200783c:	05 29 69 69 	sethi  %hi(0xa5a5a400), %g2                    
      if (*base != U32_PATTERN)                                       
 2007840:	c8 07 20 20 	ld  [ %i4 + 0x20 ], %g4                        
 2007844:	84 10 a1 a5 	or  %g2, 0x1a5, %g2                            
 2007848:	80 a1 00 02 	cmp  %g4, %g2                                  
 200784c:	22 80 00 08 	be,a   200786c <Stack_check_Dump_threads_usage+0x64><== ALWAYS TAKEN
 2007850:	82 00 60 04 	add  %g1, 4, %g1                               
    {                                                                 
      stack  = &the_thread->Start.Initial_stack;                      
      current = (void *)_CPU_Context_Get_SP( &the_thread->Registers );
    }                                                                 
                                                                      
  low  = Stack_check_usable_stack_start(stack);                       
 2007854:	10 80 00 37 	b  2007930 <Stack_check_Dump_threads_usage+0x128><== NOT EXECUTED
 2007858:	a0 07 20 10 	add  %i4, 0x10, %l0                            <== NOT EXECUTED
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
      if (*base != U32_PATTERN)                                       
 200785c:	80 a0 80 04 	cmp  %g2, %g4                                  
 2007860:	12 80 00 34 	bne  2007930 <Stack_check_Dump_threads_usage+0x128>
 2007864:	a0 07 20 10 	add  %i4, 0x10, %l0                            
     * start at lower memory and find first word that does not        
     * match pattern                                                  
     */                                                               
                                                                      
    base += PATTERN_SIZE_WORDS;                                       
    for (ebase = base + length; base < ebase; base++)                 
 2007868:	82 00 60 04 	add  %g1, 4, %g1                               
 200786c:	80 a0 c0 01 	cmp  %g3, %g1                                  
 2007870:	38 bf ff fb 	bgu,a   200785c <Stack_check_Dump_threads_usage+0x54><== ALWAYS TAKEN
 2007874:	c4 00 40 00 	ld  [ %g1 ], %g2                               
  else                                                                
    used = 0;                                                         
                                                                      
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
 2007878:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 200787c:	02 80 00 31 	be  2007940 <Stack_check_Dump_threads_usage+0x138><== NOT EXECUTED
 2007880:	a0 10 20 00 	clr  %l0                                       <== NOT EXECUTED
  #endif                                                              
    {                                                                 
      (*print_handler)(                                               
 2007884:	f2 06 20 08 	ld  [ %i0 + 8 ], %i1                           
 2007888:	39 00 81 cb 	sethi  %hi(0x2072c00), %i4                     
 200788c:	37 00 81 cb 	sethi  %hi(0x2072c00), %i3                     
 2007890:	e4 07 22 84 	ld  [ %i4 + 0x284 ], %l2                       
 2007894:	f0 06 e2 88 	ld  [ %i3 + 0x288 ], %i0                       
 2007898:	94 07 bf f8 	add  %fp, -8, %o2                              
 200789c:	92 10 20 05 	mov  5, %o1                                    
 20078a0:	40 00 19 00 	call  200dca0 <rtems_object_get_name>          
 20078a4:	90 10 00 19 	mov  %i1, %o0                                  
 20078a8:	13 00 81 95 	sethi  %hi(0x2065400), %o1                     
 20078ac:	96 10 00 08 	mov  %o0, %o3                                  
 20078b0:	94 10 00 19 	mov  %i1, %o2                                  
 20078b4:	90 10 00 12 	mov  %l2, %o0                                  
 20078b8:	9f c6 00 00 	call  %i0                                      
 20078bc:	92 12 61 18 	or  %o1, 0x118, %o1                            
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
 20078c0:	d4 07 60 04 	ld  [ %i5 + 4 ], %o2                           
 20078c4:	d6 07 40 00 	ld  [ %i5 ], %o3                               
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
 20078c8:	c4 06 e2 88 	ld  [ %i3 + 0x288 ], %g2                       
 20078cc:	d0 07 22 84 	ld  [ %i4 + 0x284 ], %o0                       
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
 20078d0:	96 02 ff ff 	add  %o3, -1, %o3                              
      else {                                                          
        (*print_handler)( print_context, "0x%08" PRIx32 "  INTR", ~0 );
      }                                                               
    #endif                                                            
                                                                      
  (*print_handler)(                                                   
 20078d4:	13 00 81 95 	sethi  %hi(0x2065400), %o1                     
 20078d8:	96 02 80 0b 	add  %o2, %o3, %o3                             
 20078dc:	92 12 61 38 	or  %o1, 0x138, %o1                            
 20078e0:	98 10 00 11 	mov  %l1, %o4                                  
 20078e4:	9f c0 80 00 	call  %g2                                      
 20078e8:	9a 10 00 1a 	mov  %i2, %o5                                  
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
 20078ec:	05 00 81 cb 	sethi  %hi(0x2072c00), %g2                     
 20078f0:	c4 00 a2 80 	ld  [ %g2 + 0x280 ], %g2	! 2072e80 <Stack_check_Initialized>
    (*print_handler)( print_context, "Unavailable\n" );               
 20078f4:	c2 06 e2 88 	ld  [ %i3 + 0x288 ], %g1                       
    stack->area + stack->size - 1,                                    
    current,                                                          
    size                                                              
  );                                                                  
                                                                      
  if (Stack_check_Initialized == 0) {                                 
 20078f8:	80 a0 a0 00 	cmp  %g2, 0                                    
 20078fc:	12 80 00 07 	bne  2007918 <Stack_check_Dump_threads_usage+0x110><== ALWAYS TAKEN
 2007900:	d0 07 22 84 	ld  [ %i4 + 0x284 ], %o0                       
    (*print_handler)( print_context, "Unavailable\n" );               
 2007904:	13 00 81 95 	sethi  %hi(0x2065400), %o1                     <== NOT EXECUTED
 2007908:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200790c:	92 12 61 58 	or  %o1, 0x158, %o1	! 2065558 <write_block_string.9494+0x5b8><== NOT EXECUTED
 2007910:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2007914:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  } else {                                                            
    (*print_handler)( print_context, "%8" PRId32 "\n", used );        
 2007918:	94 10 00 10 	mov  %l0, %o2                                  
 200791c:	13 00 81 95 	sethi  %hi(0x2065400), %o1                     
 2007920:	9f c0 40 00 	call  %g1                                      
 2007924:	92 12 61 68 	or  %o1, 0x168, %o1	! 2065568 <write_block_string.9494+0x5c8>
 2007928:	81 c7 e0 08 	ret                                            
 200792c:	81 e8 00 00 	restore                                        
  else                                                                
    used = 0;                                                         
                                                                      
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
 2007930:	80 a6 20 00 	cmp  %i0, 0                                    
  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 );  
 2007934:	a0 04 00 1a 	add  %l0, %i2, %l0                             
  else                                                                
    used = 0;                                                         
                                                                      
                                                                      
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if ( the_thread )                                                 
 2007938:	12 bf ff d3 	bne  2007884 <Stack_check_Dump_threads_usage+0x7c>
 200793c:	a0 24 00 01 	sub  %l0, %g1, %l0                             
        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 );
 2007940:	37 00 81 cb 	sethi  %hi(0x2072c00), %i3                     
 2007944:	39 00 81 cb 	sethi  %hi(0x2072c00), %i4                     
 2007948:	c2 06 e2 88 	ld  [ %i3 + 0x288 ], %g1                       
 200794c:	d0 07 22 84 	ld  [ %i4 + 0x284 ], %o0                       
 2007950:	94 10 3f ff 	mov  -1, %o2                                   
 2007954:	13 00 81 95 	sethi  %hi(0x2065400), %o1                     
 2007958:	9f c0 40 00 	call  %g1                                      
 200795c:	92 12 61 28 	or  %o1, 0x128, %o1	! 2065528 <write_block_string.9494+0x588>
                                                                      
  (*print_handler)(                                                   
    print_context,                                                    
    " %010p - %010p %010p  %8" PRId32 "   ",                          
    stack->area,                                                      
    stack->area + stack->size - 1,                                    
 2007960:	10 bf ff d9 	b  20078c4 <Stack_check_Dump_threads_usage+0xbc>
 2007964:	d4 07 60 04 	ld  [ %i5 + 4 ], %o2                           
  /*                                                                  
   *  Obtain interrupt stack information                              
   */                                                                 
  #if (CPU_ALLOCATE_INTERRUPT_STACK == TRUE)                          
    if (the_thread == (Thread_Control *) -1) {                        
      if (!Stack_check_Interrupt_stack.area)                          
 2007968:	3b 00 81 d6 	sethi  %hi(0x2075800), %i5                     
 200796c:	ba 17 63 ec 	or  %i5, 0x3ec, %i5	! 2075bec <Stack_check_Interrupt_stack>
 2007970:	f8 07 60 04 	ld  [ %i5 + 4 ], %i4                           
 2007974:	80 a7 20 00 	cmp  %i4, 0                                    
 2007978:	02 bf ff e6 	be  2007910 <Stack_check_Dump_threads_usage+0x108><== NEVER TAKEN
 200797c:	a2 10 20 00 	clr  %l1                                       
        return;                                                       
      stack = &Stack_check_Interrupt_stack;                           
      the_thread = 0;                                                 
 2007980:	10 bf ff a8 	b  2007820 <Stack_check_Dump_threads_usage+0x18>
 2007984:	b0 10 20 00 	clr  %i0                                       
                                                                      

02007a7c <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) {
 2007a7c:	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");                                         
 2007a80:	11 00 81 95 	sethi  %hi(0x2065400), %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);       
 2007a84:	fa 06 20 b8 	ld  [ %i0 + 0xb8 ], %i5                        
  char           name[32];                                            
                                                                      
  printk("BLOWN STACK!!!\n");                                         
 2007a88:	40 00 0a 81 	call  200a48c <printk>                         
 2007a8c:	90 12 21 70 	or  %o0, 0x170, %o0                            
  printk("task control block: 0x%08" PRIxPTR "\n", running);          
 2007a90:	92 10 00 18 	mov  %i0, %o1                                  
 2007a94:	11 00 81 95 	sethi  %hi(0x2065400), %o0                     
 2007a98:	40 00 0a 7d 	call  200a48c <printk>                         
 2007a9c:	90 12 21 80 	or  %o0, 0x180, %o0	! 2065580 <write_block_string.9494+0x5e0>
  printk("task ID: 0x%08lx\n", (unsigned long) running->Object.id);   
 2007aa0:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
 2007aa4:	11 00 81 95 	sethi  %hi(0x2065400), %o0                     
 2007aa8:	40 00 0a 79 	call  200a48c <printk>                         
 2007aac:	90 12 21 a0 	or  %o0, 0x1a0, %o0	! 20655a0 <write_block_string.9494+0x600>
  printk(                                                             
 2007ab0:	d2 06 20 0c 	ld  [ %i0 + 0xc ], %o1                         
 2007ab4:	11 00 81 95 	sethi  %hi(0x2065400), %o0                     
 2007ab8:	40 00 0a 75 	call  200a48c <printk>                         
 2007abc:	90 12 21 b8 	or  %o0, 0x1b8, %o0	! 20655b8 <write_block_string.9494+0x618>
    "task name: 0x%08" PRIx32 "\n",                                   
    running->Object.name.name_u32                                     
  );                                                                  
  printk(                                                             
 2007ac0:	d0 06 20 08 	ld  [ %i0 + 8 ], %o0                           
 2007ac4:	94 07 bf e0 	add  %fp, -32, %o2                             
 2007ac8:	40 00 18 76 	call  200dca0 <rtems_object_get_name>          
 2007acc:	92 10 20 20 	mov  0x20, %o1                                 
 2007ad0:	92 10 00 08 	mov  %o0, %o1                                  
 2007ad4:	11 00 81 95 	sethi  %hi(0x2065400), %o0                     
 2007ad8:	40 00 0a 6d 	call  200a48c <printk>                         
 2007adc:	90 12 21 d0 	or  %o0, 0x1d0, %o0	! 20655d0 <write_block_string.9494+0x630>
  );                                                                  
  printk(                                                             
    "task stack area (%lu Bytes): 0x%08" PRIxPTR " .. 0x%08" PRIxPTR "\n",
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
 2007ae0:	d4 06 20 b8 	ld  [ %i0 + 0xb8 ], %o2                        
 2007ae4:	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(                                                             
 2007ae8:	11 00 81 95 	sethi  %hi(0x2065400), %o0                     
 2007aec:	96 02 80 09 	add  %o2, %o1, %o3                             
 2007af0:	40 00 0a 67 	call  200a48c <printk>                         
 2007af4:	90 12 21 e8 	or  %o0, 0x1e8, %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) {                                                  
 2007af8:	80 a6 60 00 	cmp  %i1, 0                                    
 2007afc:	02 80 00 04 	be  2007b0c <Stack_check_report_blown_task+0x90><== ALWAYS TAKEN
 2007b00:	92 10 20 10 	mov  0x10, %o1                                 
          rtems_configuration_get_user_multiprocessing_table()->node  
      );                                                              
    }                                                                 
  #endif                                                              
                                                                      
  rtems_fatal_error_occurred(0x81);                                   
 2007b04:	40 00 1b 54 	call  200e854 <rtems_fatal_error_occurred>     
 2007b08:	90 10 20 81 	mov  0x81, %o0                                 
    (unsigned long) stack->size,                                      
    stack->area,                                                      
    ((char *) stack->area + stack->size)                              
  );                                                                  
  if (!pattern_ok) {                                                  
    printk(                                                           
 2007b0c:	11 00 81 95 	sethi  %hi(0x2065400), %o0                     
 2007b10:	94 07 60 08 	add  %i5, 8, %o2                               
 2007b14:	90 12 22 18 	or  %o0, 0x218, %o0                            
 2007b18:	40 00 0a 5d 	call  200a48c <printk>                         
 2007b1c:	96 07 60 18 	add  %i5, 0x18, %o3                            
 2007b20:	30 bf ff f9 	b,a   2007b04 <Stack_check_report_blown_task+0x88>
                                                                      

02008714 <_API_extensions_Run_postdriver>: /* * _API_extensions_Run_postdriver */ void _API_extensions_Run_postdriver( void ) {
 2008714:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2008718:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 200871c:	fa 07 22 94 	ld  [ %i4 + 0x294 ], %i5	! 201ea94 <_API_extensions_List>
 2008720:	b8 17 22 94 	or  %i4, 0x294, %i4                            
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
 2008724:	b8 07 20 04 	add  %i4, 4, %i4                               
 2008728:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200872c:	02 80 00 09 	be  2008750 <_API_extensions_Run_postdriver+0x3c><== NEVER TAKEN
 2008730:	01 00 00 00 	nop                                            
     *  Currently all APIs configure this hook so it is always non-NULL.
     */                                                               
#if defined(FUNCTIONALITY_NOT_CURRENTLY_USED_BY_ANY_API)              
    if ( the_extension->postdriver_hook )                             
#endif                                                                
      (*the_extension->postdriver_hook)();                            
 2008734:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 2008738:	9f c0 40 00 	call  %g1                                      
 200873c:	01 00 00 00 	nop                                            
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
 2008740:	fa 07 40 00 	ld  [ %i5 ], %i5                               
void _API_extensions_Run_postdriver( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
 2008744:	80 a7 40 1c 	cmp  %i5, %i4                                  
 2008748:	32 bf ff fc 	bne,a   2008738 <_API_extensions_Run_postdriver+0x24>
 200874c:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 2008750:	81 c7 e0 08 	ret                                            
 2008754:	81 e8 00 00 	restore                                        
                                                                      

02008758 <_API_extensions_Run_postswitch>: /* * _API_extensions_Run_postswitch */ void _API_extensions_Run_postswitch( void ) {
 2008758:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200875c:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 2008760:	fa 07 22 94 	ld  [ %i4 + 0x294 ], %i5	! 201ea94 <_API_extensions_List>
 2008764:	37 00 80 7b 	sethi  %hi(0x201ec00), %i3                     
 2008768:	b8 17 22 94 	or  %i4, 0x294, %i4                            
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
 200876c:	b8 07 20 04 	add  %i4, 4, %i4                               
 2008770:	80 a7 40 1c 	cmp  %i5, %i4                                  
 2008774:	02 80 00 09 	be  2008798 <_API_extensions_Run_postswitch+0x40><== NEVER TAKEN
 2008778:	b6 16 e1 e0 	or  %i3, 0x1e0, %i3                            
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (API_extensions_Control *) the_node;              
                                                                      
    (*the_extension->postswitch_hook)( _Thread_Executing );           
 200877c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2008780:	9f c0 40 00 	call  %g1                                      
 2008784:	d0 06 e0 0c 	ld  [ %i3 + 0xc ], %o0                         
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
        !_Chain_Is_tail( &_API_extensions_List, the_node ) ;          
        the_node = the_node->next ) {                                 
 2008788:	fa 07 40 00 	ld  [ %i5 ], %i5                               
void _API_extensions_Run_postswitch( void )                           
{                                                                     
  Chain_Node             *the_node;                                   
  API_extensions_Control *the_extension;                              
                                                                      
  for ( the_node = _Chain_First( &_API_extensions_List );             
 200878c:	80 a7 40 1c 	cmp  %i5, %i4                                  
 2008790:	32 bf ff fc 	bne,a   2008780 <_API_extensions_Run_postswitch+0x28>
 2008794:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2008798:	81 c7 e0 08 	ret                                            
 200879c:	81 e8 00 00 	restore                                        
                                                                      

0200ae08 <_CORE_RWLock_Release>: */ CORE_RWLock_Status _CORE_RWLock_Release( CORE_RWLock_Control *the_rwlock ) {
 200ae08:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level       level;                                              
  Thread_Control *executing = _Thread_Executing;                      
 200ae0c:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
   *  Otherwise, we have to block.                                    
   *  If locked for reading and no waiters, then OK to read.          
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
 200ae10:	7f ff e3 3f 	call  2003b0c <sparc_disable_interrupts>       
 200ae14:	fa 00 61 fc 	ld  [ %g1 + 0x1fc ], %i5	! 2021dfc <_Per_CPU_Information+0xc>
 200ae18:	84 10 00 08 	mov  %o0, %g2                                  
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
 200ae1c:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
 200ae20:	80 a0 60 00 	cmp  %g1, 0                                    
 200ae24:	02 80 00 2b 	be  200aed0 <_CORE_RWLock_Release+0xc8>        
 200ae28:	80 a0 60 01 	cmp  %g1, 1                                    
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
 200ae2c:	22 80 00 22 	be,a   200aeb4 <_CORE_RWLock_Release+0xac>     
 200ae30:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
          return CORE_RWLOCK_SUCCESSFUL;                              
        }                                                             
    }                                                                 
                                                                      
    /* CORE_RWLOCK_LOCKED_FOR_WRITING or READING with readers */      
    executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL;             
 200ae34:	c0 27 60 34 	clr  [ %i5 + 0x34 ]                            
                                                                      
    /*                                                                
     * Implicitly transition to "unlocked" and find another thread interested
     * in obtaining this rwlock.                                      
     */                                                               
    the_rwlock->current_state = CORE_RWLOCK_UNLOCKED;                 
 200ae38:	c0 26 20 44 	clr  [ %i0 + 0x44 ]                            
  _ISR_Enable( level );                                               
 200ae3c:	7f ff e3 38 	call  2003b1c <sparc_enable_interrupts>        
 200ae40:	90 10 00 02 	mov  %g2, %o0                                  
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
 200ae44:	40 00 08 0a 	call  200ce6c <_Thread_queue_Dequeue>          
 200ae48:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  if ( next ) {                                                       
 200ae4c:	80 a2 20 00 	cmp  %o0, 0                                    
 200ae50:	22 80 00 24 	be,a   200aee0 <_CORE_RWLock_Release+0xd8>     
 200ae54:	b0 10 20 00 	clr  %i0                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
 200ae58:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        
 200ae5c:	80 a0 60 01 	cmp  %g1, 1                                    
 200ae60:	02 80 00 22 	be  200aee8 <_CORE_RWLock_Release+0xe0>        
 200ae64:	84 10 20 01 	mov  1, %g2                                    
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
 200ae68:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 200ae6c:	82 00 60 01 	inc  %g1                                       
    the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_READING;       
 200ae70:	c4 26 20 44 	st  %g2, [ %i0 + 0x44 ]                        
    }                                                                 
                                                                      
    /*                                                                
     * Must be CORE_RWLOCK_THREAD_WAITING_FOR_READING                 
     */                                                               
    the_rwlock->number_of_readers += 1;                               
 200ae74:	10 80 00 09 	b  200ae98 <_CORE_RWLock_Release+0x90>         
 200ae78:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
      if ( !next ||                                                   
 200ae7c:	80 a0 60 01 	cmp  %g1, 1                                    
 200ae80:	02 80 00 0b 	be  200aeac <_CORE_RWLock_Release+0xa4>        <== NEVER TAKEN
 200ae84:	90 10 00 18 	mov  %i0, %o0                                  
           next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE )
        return CORE_RWLOCK_SUCCESSFUL;                                
      the_rwlock->number_of_readers += 1;                             
 200ae88:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 200ae8c:	82 00 60 01 	inc  %g1                                       
      _Thread_queue_Extract( &the_rwlock->Wait_queue, next );         
 200ae90:	40 00 09 07 	call  200d2ac <_Thread_queue_Extract>          
 200ae94:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
                                                                      
    /*                                                                
     * Now see if more readers can be let go.                         
     */                                                               
    while ( 1 ) {                                                     
      next = _Thread_queue_First( &the_rwlock->Wait_queue );          
 200ae98:	40 00 09 56 	call  200d3f0 <_Thread_queue_First>            
 200ae9c:	90 10 00 18 	mov  %i0, %o0                                  
      if ( !next ||                                                   
 200aea0:	92 92 20 00 	orcc  %o0, 0, %o1                              
 200aea4:	32 bf ff f6 	bne,a   200ae7c <_CORE_RWLock_Release+0x74>    
 200aea8:	c2 02 60 30 	ld  [ %o1 + 0x30 ], %g1                        
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
 200aeac:	81 c7 e0 08 	ret                                            
 200aeb0:	91 e8 20 00 	restore  %g0, 0, %o0                           
      _ISR_Enable( level );                                           
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
      return CORE_RWLOCK_SUCCESSFUL;                                  
    }                                                                 
    if ( the_rwlock->current_state == CORE_RWLOCK_LOCKED_FOR_READING ) {
	the_rwlock->number_of_readers -= 1;                                  
 200aeb4:	82 00 7f ff 	add  %g1, -1, %g1                              
	if ( the_rwlock->number_of_readers != 0 ) {                          
 200aeb8:	80 a0 60 00 	cmp  %g1, 0                                    
 200aebc:	02 bf ff de 	be  200ae34 <_CORE_RWLock_Release+0x2c>        
 200aec0:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
          /* must be unlocked again */                                
	  _ISR_Enable( level );                                              
 200aec4:	7f ff e3 16 	call  2003b1c <sparc_enable_interrupts>        
 200aec8:	b0 10 20 00 	clr  %i0                                       
          return CORE_RWLOCK_SUCCESSFUL;                              
 200aecc:	30 80 00 05 	b,a   200aee0 <_CORE_RWLock_Release+0xd8>      
   *  If any thread is waiting, then we wait.                         
   */                                                                 
                                                                      
  _ISR_Disable( level );                                              
    if ( the_rwlock->current_state == CORE_RWLOCK_UNLOCKED){          
      _ISR_Enable( level );                                           
 200aed0:	7f ff e3 13 	call  2003b1c <sparc_enable_interrupts>        
 200aed4:	b0 10 20 00 	clr  %i0                                       
      executing->Wait.return_code = CORE_RWLOCK_UNAVAILABLE;          
 200aed8:	82 10 20 02 	mov  2, %g1                                    
 200aedc:	c2 27 60 34 	st  %g1, [ %i5 + 0x34 ]                        
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
 200aee0:	81 c7 e0 08 	ret                                            
 200aee4:	81 e8 00 00 	restore                                        
                                                                      
  next = _Thread_queue_Dequeue( &the_rwlock->Wait_queue );            
                                                                      
  if ( next ) {                                                       
    if ( next->Wait.option == CORE_RWLOCK_THREAD_WAITING_FOR_WRITE ) {
      the_rwlock->current_state = CORE_RWLOCK_LOCKED_FOR_WRITING;     
 200aee8:	82 10 20 02 	mov  2, %g1                                    
 200aeec:	c2 26 20 44 	st  %g1, [ %i0 + 0x44 ]                        
  }                                                                   
                                                                      
  /* indentation is to match _ISR_Disable at top */                   
                                                                      
  return CORE_RWLOCK_SUCCESSFUL;                                      
}                                                                     
 200aef0:	81 c7 e0 08 	ret                                            
 200aef4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200aef8 <_CORE_RWLock_Timeout>: void _CORE_RWLock_Timeout( Objects_Id id, void *ignored ) {
 200aef8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200aefc:	90 10 00 18 	mov  %i0, %o0                                  
 200af00:	40 00 07 00 	call  200cb00 <_Thread_Get>                    
 200af04:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200af08:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200af0c:	80 a0 60 00 	cmp  %g1, 0                                    
 200af10:	12 80 00 09 	bne  200af34 <_CORE_RWLock_Timeout+0x3c>       <== NEVER TAKEN
 200af14:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 200af18:	40 00 09 77 	call  200d4f4 <_Thread_queue_Process_timeout>  
 200af1c:	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--;                                 
 200af20:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 200af24:	c4 00 60 c0 	ld  [ %g1 + 0xc0 ], %g2	! 20218c0 <_Thread_Dispatch_disable_level>
 200af28:	84 00 bf ff 	add  %g2, -1, %g2                              
 200af2c:	c4 20 60 c0 	st  %g2, [ %g1 + 0xc0 ]                        
    return _Thread_Dispatch_disable_level;                            
 200af30:	c2 00 60 c0 	ld  [ %g1 + 0xc0 ], %g1                        
 200af34:	81 c7 e0 08 	ret                                            
 200af38:	81 e8 00 00 	restore                                        
                                                                      

02008ac0 <_CORE_mutex_Seize>: Objects_Id _id, bool _wait, Watchdog_Interval _timeout, ISR_Level _level ) {
 2008ac0:	9d e3 bf a0 	save  %sp, -96, %sp                            
   * 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 )                      
 2008ac4:	3b 00 80 7a 	sethi  %hi(0x201e800), %i5                     
 2008ac8:	c2 07 60 b0 	ld  [ %i5 + 0xb0 ], %g1	! 201e8b0 <_Thread_Dispatch_disable_level>
 2008acc:	80 a0 60 00 	cmp  %g1, 0                                    
 2008ad0:	02 80 00 20 	be  2008b50 <_CORE_mutex_Seize+0x90>           
 2008ad4:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
  _CORE_mutex_Seize_body( _the_mutex, _id, _wait, _timeout, _level ); 
 2008ad8:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008adc:	02 80 00 2d 	be  2008b90 <_CORE_mutex_Seize+0xd0>           
 2008ae0:	90 10 00 18 	mov  %i0, %o0                                  
 2008ae4:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2008ae8:	c2 00 61 f0 	ld  [ %g1 + 0x1f0 ], %g1	! 201e9f0 <_System_state_Current>
 2008aec:	80 a0 60 01 	cmp  %g1, 1                                    
 2008af0:	38 80 00 2f 	bgu,a   2008bac <_CORE_mutex_Seize+0xec>       
 2008af4:	90 10 20 00 	clr  %o0                                       
 2008af8:	40 00 15 06 	call  200df10 <_CORE_mutex_Seize_interrupt_trylock>
 2008afc:	92 07 a0 54 	add  %fp, 0x54, %o1                            
 2008b00:	80 a2 20 00 	cmp  %o0, 0                                    
 2008b04:	02 80 00 28 	be  2008ba4 <_CORE_mutex_Seize+0xe4>           <== ALWAYS TAKEN
 2008b08:	01 00 00 00 	nop                                            
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2008b0c:	c4 07 60 b0 	ld  [ %i5 + 0xb0 ], %g2                        
 2008b10:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2008b14:	c2 00 61 ec 	ld  [ %g1 + 0x1ec ], %g1	! 201edec <_Per_CPU_Information+0xc>
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
 2008b18:	86 10 20 01 	mov  1, %g3                                    
 2008b1c:	c6 26 20 30 	st  %g3, [ %i0 + 0x30 ]                        
 2008b20:	f0 20 60 44 	st  %i0, [ %g1 + 0x44 ]                        
 2008b24:	f2 20 60 20 	st  %i1, [ %g1 + 0x20 ]                        
 2008b28:	82 00 a0 01 	add  %g2, 1, %g1                               
 2008b2c:	c2 27 60 b0 	st  %g1, [ %i5 + 0xb0 ]                        
    return _Thread_Dispatch_disable_level;                            
 2008b30:	c2 07 60 b0 	ld  [ %i5 + 0xb0 ], %g1                        
 2008b34:	7f ff e7 10 	call  2002774 <sparc_enable_interrupts>        
 2008b38:	d0 07 a0 54 	ld  [ %fp + 0x54 ], %o0                        
 2008b3c:	90 10 00 18 	mov  %i0, %o0                                  
 2008b40:	7f ff ff b9 	call  2008a24 <_CORE_mutex_Seize_interrupt_blocking>
 2008b44:	92 10 00 1b 	mov  %i3, %o1                                  
 2008b48:	81 c7 e0 08 	ret                                            
 2008b4c:	81 e8 00 00 	restore                                        
 2008b50:	90 10 00 18 	mov  %i0, %o0                                  
 2008b54:	40 00 14 ef 	call  200df10 <_CORE_mutex_Seize_interrupt_trylock>
 2008b58:	92 07 a0 54 	add  %fp, 0x54, %o1                            
 2008b5c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008b60:	02 bf ff fa 	be  2008b48 <_CORE_mutex_Seize+0x88>           
 2008b64:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008b68:	12 bf ff e9 	bne  2008b0c <_CORE_mutex_Seize+0x4c>          
 2008b6c:	01 00 00 00 	nop                                            
 2008b70:	7f ff e7 01 	call  2002774 <sparc_enable_interrupts>        
 2008b74:	d0 07 a0 54 	ld  [ %fp + 0x54 ], %o0                        
 2008b78:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 2008b7c:	c2 00 61 ec 	ld  [ %g1 + 0x1ec ], %g1	! 201edec <_Per_CPU_Information+0xc>
 2008b80:	84 10 20 01 	mov  1, %g2                                    
 2008b84:	c4 20 60 34 	st  %g2, [ %g1 + 0x34 ]                        
 2008b88:	81 c7 e0 08 	ret                                            
 2008b8c:	81 e8 00 00 	restore                                        
 2008b90:	40 00 14 e0 	call  200df10 <_CORE_mutex_Seize_interrupt_trylock>
 2008b94:	92 07 a0 54 	add  %fp, 0x54, %o1                            
 2008b98:	80 a2 20 00 	cmp  %o0, 0                                    
 2008b9c:	12 bf ff f5 	bne  2008b70 <_CORE_mutex_Seize+0xb0>          <== NEVER TAKEN
 2008ba0:	01 00 00 00 	nop                                            
 2008ba4:	81 c7 e0 08 	ret                                            
 2008ba8:	81 e8 00 00 	restore                                        
 2008bac:	92 10 20 00 	clr  %o1                                       
 2008bb0:	40 00 01 c2 	call  20092b8 <_Internal_error_Occurred>       
 2008bb4:	94 10 20 12 	mov  0x12, %o2                                 
                                                                      

02008d34 <_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 ) {
 2008d34:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2008d38:	ba 10 00 18 	mov  %i0, %i5                                  
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
 2008d3c:	b0 10 20 00 	clr  %i0                                       
                                                                      
  if ( (the_thread = _Thread_queue_Dequeue(&the_semaphore->Wait_queue)) ) {
 2008d40:	40 00 07 d0 	call  200ac80 <_Thread_queue_Dequeue>          
 2008d44:	90 10 00 1d 	mov  %i5, %o0                                  
 2008d48:	80 a2 20 00 	cmp  %o0, 0                                    
 2008d4c:	02 80 00 04 	be  2008d5c <_CORE_semaphore_Surrender+0x28>   
 2008d50:	01 00 00 00 	nop                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 2008d54:	81 c7 e0 08 	ret                                            
 2008d58:	81 e8 00 00 	restore                                        
    if ( !_Objects_Is_local_id( the_thread->Object.id ) )             
      (*api_semaphore_mp_support) ( the_thread, id );                 
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
 2008d5c:	7f ff e6 82 	call  2002764 <sparc_disable_interrupts>       
 2008d60:	01 00 00 00 	nop                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
 2008d64:	c2 07 60 48 	ld  [ %i5 + 0x48 ], %g1                        
 2008d68:	c4 07 60 40 	ld  [ %i5 + 0x40 ], %g2                        
 2008d6c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2008d70:	1a 80 00 05 	bcc  2008d84 <_CORE_semaphore_Surrender+0x50>  <== NEVER TAKEN
 2008d74:	b0 10 20 04 	mov  4, %i0                                    
        the_semaphore->count += 1;                                    
 2008d78:	82 00 60 01 	inc  %g1                                       
{                                                                     
  Thread_Control *the_thread;                                         
  ISR_Level       level;                                              
  CORE_semaphore_Status status;                                       
                                                                      
  status = CORE_SEMAPHORE_STATUS_SUCCESSFUL;                          
 2008d7c:	b0 10 20 00 	clr  %i0                                       
#endif                                                                
                                                                      
  } else {                                                            
    _ISR_Disable( level );                                            
      if ( the_semaphore->count < the_semaphore->Attributes.maximum_count )
        the_semaphore->count += 1;                                    
 2008d80:	c2 27 60 48 	st  %g1, [ %i5 + 0x48 ]                        
      else                                                            
        status = CORE_SEMAPHORE_MAXIMUM_COUNT_EXCEEDED;               
    _ISR_Enable( level );                                             
 2008d84:	7f ff e6 7c 	call  2002774 <sparc_enable_interrupts>        
 2008d88:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 2008d8c:	81 c7 e0 08 	ret                                            
 2008d90:	81 e8 00 00 	restore                                        
                                                                      

020088f0 <_Chain_Initialize>: Chain_Control *the_chain, void *starting_address, size_t number_nodes, size_t node_size ) {
 20088f0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
 20088f4:	c0 26 20 04 	clr  [ %i0 + 4 ]                               
  size_t         node_size                                            
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
 20088f8:	ba 06 20 04 	add  %i0, 4, %i5                               
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
 20088fc:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008900:	02 80 00 13 	be  200894c <_Chain_Initialize+0x5c>           <== NEVER TAKEN
 2008904:	92 06 bf ff 	add  %i2, -1, %o1                              
 2008908:	86 10 00 09 	mov  %o1, %g3                                  
 200890c:	82 10 00 19 	mov  %i1, %g1                                  
 2008910:	84 10 00 18 	mov  %i0, %g2                                  
    current->next  = next;                                            
 2008914:	c2 20 80 00 	st  %g1, [ %g2 ]                               
    next->previous = current;                                         
 2008918:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
  Chain_Node *current = head;                                         
  Chain_Node *next = starting_address;                                
                                                                      
  head->previous = NULL;                                              
                                                                      
  while ( count-- ) {                                                 
 200891c:	86 00 ff ff 	add  %g3, -1, %g3                              
 2008920:	84 10 00 01 	mov  %g1, %g2                                  
 2008924:	80 a0 ff ff 	cmp  %g3, -1                                   
 2008928:	12 bf ff fb 	bne  2008914 <_Chain_Initialize+0x24>          
 200892c:	82 00 40 1b 	add  %g1, %i3, %g1                             
 *    node_size        - size of node in bytes                        
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Chain_Initialize(                                               
 2008930:	40 00 42 f5 	call  2019504 <.umul>                          
 2008934:	90 10 00 1b 	mov  %i3, %o0                                  
 2008938:	90 06 40 08 	add  %i1, %o0, %o0                             
    current        = next;                                            
    next           = (Chain_Node *)                                   
                        _Addresses_Add_offset( (void *) next, node_size );
  }                                                                   
                                                                      
  current->next = tail;                                               
 200893c:	fa 22 00 00 	st  %i5, [ %o0 ]                               
  tail->previous = current;                                           
 2008940:	d0 26 20 08 	st  %o0, [ %i0 + 8 ]                           
 2008944:	81 c7 e0 08 	ret                                            
 2008948:	81 e8 00 00 	restore                                        
)                                                                     
{                                                                     
  size_t count = number_nodes;                                        
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *current = head;                                         
 200894c:	10 bf ff fc 	b  200893c <_Chain_Initialize+0x4c>            <== NOT EXECUTED
 2008950:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
                                                                      

020078f0 <_Event_Surrender>: */ void _Event_Surrender( Thread_Control *the_thread ) {
 20078f0:	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 ];               
 20078f4:	fa 06 21 58 	ld  [ %i0 + 0x158 ], %i5                       
                                                                      
  option_set = (rtems_option) the_thread->Wait.option;                
                                                                      
  _ISR_Disable( level );                                              
 20078f8:	7f ff eb 9b 	call  2002764 <sparc_disable_interrupts>       
 20078fc:	f6 06 20 30 	ld  [ %i0 + 0x30 ], %i3                        
  pending_events  = api->pending_events;                              
 2007900:	c4 07 40 00 	ld  [ %i5 ], %g2                               
  event_condition = (rtems_event_set) the_thread->Wait.count;         
 2007904:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
  seized_events = _Event_sets_Get( pending_events, event_condition ); 
                                                                      
  /*                                                                  
   *  No events were seized in this operation                         
   */                                                                 
  if ( _Event_sets_Is_empty( seized_events ) ) {                      
 2007908:	86 88 40 02 	andcc  %g1, %g2, %g3                           
 200790c:	02 80 00 39 	be  20079f0 <_Event_Surrender+0x100>           
 2007910:	09 00 80 7b 	sethi  %hi(0x201ec00), %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() &&                                       
 2007914:	88 11 21 e0 	or  %g4, 0x1e0, %g4	! 201ede0 <_Per_CPU_Information>
 2007918:	f8 01 20 08 	ld  [ %g4 + 8 ], %i4                           
 200791c:	80 a7 20 00 	cmp  %i4, 0                                    
 2007920:	32 80 00 1c 	bne,a   2007990 <_Event_Surrender+0xa0>        
 2007924:	c8 01 20 0c 	ld  [ %g4 + 0xc ], %g4                         
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_for_event (              
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_FOR_EVENT);                    
 2007928:	c8 06 20 10 	ld  [ %i0 + 0x10 ], %g4                        
  }                                                                   
                                                                      
  /*                                                                  
   *  Otherwise, this is a normal send to another thread              
   */                                                                 
  if ( _States_Is_waiting_for_event( the_thread->current_state ) ) {  
 200792c:	80 89 21 00 	btst  0x100, %g4                               
 2007930:	02 80 00 30 	be  20079f0 <_Event_Surrender+0x100>           
 2007934:	80 a0 40 03 	cmp  %g1, %g3                                  
    if ( seized_events == event_condition || _Options_Is_any( option_set ) ) {
 2007938:	02 80 00 04 	be  2007948 <_Event_Surrender+0x58>            
 200793c:	80 8e e0 02 	btst  2, %i3                                   
 2007940:	02 80 00 2c 	be  20079f0 <_Event_Surrender+0x100>           <== NEVER TAKEN
 2007944:	01 00 00 00 	nop                                            
      api->pending_events = _Event_sets_Clear( pending_events, seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2007948:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
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) );                            
 200794c:	84 28 80 03 	andn  %g2, %g3, %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 );
 2007950:	c4 27 40 00 	st  %g2, [ %i5 ]                               
      the_thread->Wait.count = 0;                                     
 2007954:	c0 26 20 24 	clr  [ %i0 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 2007958:	c6 20 40 00 	st  %g3, [ %g1 ]                               
                                                                      
      _ISR_Flash( level );                                            
 200795c:	7f ff eb 86 	call  2002774 <sparc_enable_interrupts>        
 2007960:	01 00 00 00 	nop                                            
 2007964:	7f ff eb 80 	call  2002764 <sparc_disable_interrupts>       
 2007968:	01 00 00 00 	nop                                            
                                                                      
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
 200796c:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
 2007970:	80 a0 60 02 	cmp  %g1, 2                                    
 2007974:	02 80 00 21 	be  20079f8 <_Event_Surrender+0x108>           
 2007978:	82 10 20 03 	mov  3, %g1                                    
        _ISR_Enable( level );                                         
 200797c:	7f ff eb 7e 	call  2002774 <sparc_enable_interrupts>        
 2007980:	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 );                  
 2007984:	b2 16 63 f8 	or  %i1, 0x3f8, %i1	! 1003fff8 <RAM_END+0xdc3fff8>
 2007988:	40 00 0a e3 	call  200a514 <_Thread_Clear_state>            
 200798c:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  If we are in an ISR and sending to the current thread, then     
   *  we have a critical section issue to deal with.                  
   */                                                                 
  if ( _ISR_Is_in_progress() &&                                       
 2007990:	80 a6 00 04 	cmp  %i0, %g4                                  
 2007994:	32 bf ff e6 	bne,a   200792c <_Event_Surrender+0x3c>        
 2007998:	c8 06 20 10 	ld  [ %i0 + 0x10 ], %g4                        
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
 200799c:	09 00 80 7c 	sethi  %hi(0x201f000), %g4                     
 20079a0:	f8 01 21 e0 	ld  [ %g4 + 0x1e0 ], %i4	! 201f1e0 <_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 ) &&                          
 20079a4:	80 a7 20 02 	cmp  %i4, 2                                    
 20079a8:	02 80 00 07 	be  20079c4 <_Event_Surrender+0xd4>            <== NEVER TAKEN
 20079ac:	80 a0 40 03 	cmp  %g1, %g3                                  
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
 20079b0:	f8 01 21 e0 	ld  [ %g4 + 0x1e0 ], %i4                       
   *  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) ||   
 20079b4:	80 a7 20 01 	cmp  %i4, 1                                    
 20079b8:	32 bf ff dd 	bne,a   200792c <_Event_Surrender+0x3c>        
 20079bc:	c8 06 20 10 	ld  [ %i0 + 0x10 ], %g4                        
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
 20079c0:	80 a0 40 03 	cmp  %g1, %g3                                  
 20079c4:	02 80 00 04 	be  20079d4 <_Event_Surrender+0xe4>            
 20079c8:	80 8e e0 02 	btst  2, %i3                                   
 20079cc:	02 80 00 09 	be  20079f0 <_Event_Surrender+0x100>           <== NEVER TAKEN
 20079d0:	01 00 00 00 	nop                                            
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
      the_thread->Wait.count = 0;                                     
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20079d4:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 20079d8:	84 28 80 03 	andn  %g2, %g3, %g2                            
  if ( _ISR_Is_in_progress() &&                                       
       _Thread_Is_executing( the_thread ) &&                          
       ((_Event_Sync_state == THREAD_BLOCKING_OPERATION_TIMEOUT) ||   
        (_Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED)) ) {
    if ( seized_events == event_condition || _Options_Is_any(option_set) ) {
      api->pending_events = _Event_sets_Clear( pending_events,seized_events );
 20079dc:	c4 27 40 00 	st  %g2, [ %i5 ]                               
      the_thread->Wait.count = 0;                                     
 20079e0:	c0 26 20 24 	clr  [ %i0 + 0x24 ]                            
      *(rtems_event_set *)the_thread->Wait.return_argument = seized_events;
 20079e4:	c6 20 40 00 	st  %g3, [ %g1 ]                               
      _Event_Sync_state = THREAD_BLOCKING_OPERATION_SATISFIED;        
 20079e8:	82 10 20 03 	mov  3, %g1                                    
 20079ec:	c2 21 21 e0 	st  %g1, [ %g4 + 0x1e0 ]                       
        _Thread_Unblock( the_thread );                                
      }                                                               
      return;                                                         
    }                                                                 
  }                                                                   
  _ISR_Enable( level );                                               
 20079f0:	7f ff eb 61 	call  2002774 <sparc_enable_interrupts>        
 20079f4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(                       
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  the_watchdog->state = WATCHDOG_REMOVE_IT;                           
 20079f8:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
      if ( !_Watchdog_Is_active( &the_thread->Timer ) ) {             
        _ISR_Enable( level );                                         
        _Thread_Unblock( the_thread );                                
      } else {                                                        
        _Watchdog_Deactivate( &the_thread->Timer );                   
        _ISR_Enable( level );                                         
 20079fc:	7f ff eb 5e 	call  2002774 <sparc_enable_interrupts>        
 2007a00:	33 04 00 ff 	sethi  %hi(0x1003fc00), %i1                    
        (void) _Watchdog_Remove( &the_thread->Timer );                
 2007a04:	40 00 0f 98 	call  200b864 <_Watchdog_Remove>               
 2007a08:	90 06 20 48 	add  %i0, 0x48, %o0                            
 2007a0c:	b2 16 63 f8 	or  %i1, 0x3f8, %i1                            
 2007a10:	40 00 0a c1 	call  200a514 <_Thread_Clear_state>            
 2007a14:	81 e8 00 00 	restore                                        
                                                                      

02007a18 <_Event_Timeout>: void _Event_Timeout( Objects_Id id, void *ignored ) {
 2007a18:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
  ISR_Level          level;                                           
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2007a1c:	90 10 00 18 	mov  %i0, %o0                                  
 2007a20:	40 00 0b bd 	call  200a914 <_Thread_Get>                    
 2007a24:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2007a28:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2007a2c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007a30:	12 80 00 16 	bne  2007a88 <_Event_Timeout+0x70>             <== NEVER TAKEN
 2007a34:	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 );                                          
 2007a38:	7f ff eb 4b 	call  2002764 <sparc_disable_interrupts>       
 2007a3c:	01 00 00 00 	nop                                            
                                                                      
RTEMS_INLINE_ROUTINE bool _Thread_Is_executing (                      
  const Thread_Control *the_thread                                    
)                                                                     
{                                                                     
  return ( the_thread == _Thread_Executing );                         
 2007a40:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
            return;                                                   
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
 2007a44:	c2 00 61 ec 	ld  [ %g1 + 0x1ec ], %g1	! 201edec <_Per_CPU_Information+0xc>
 2007a48:	80 a7 40 01 	cmp  %i5, %g1                                  
 2007a4c:	02 80 00 11 	be  2007a90 <_Event_Timeout+0x78>              
 2007a50:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
 2007a54:	82 10 20 06 	mov  6, %g1                                    
 2007a58:	c2 27 60 34 	st  %g1, [ %i5 + 0x34 ]                        
      _ISR_Enable( level );                                           
 2007a5c:	7f ff eb 46 	call  2002774 <sparc_enable_interrupts>        
 2007a60:	01 00 00 00 	nop                                            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 2007a64:	90 10 00 1d 	mov  %i5, %o0                                  
 2007a68:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
 2007a6c:	40 00 0a aa 	call  200a514 <_Thread_Clear_state>            
 2007a70:	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--;                                 
 2007a74:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2007a78:	c4 00 60 b0 	ld  [ %g1 + 0xb0 ], %g2	! 201e8b0 <_Thread_Dispatch_disable_level>
 2007a7c:	84 00 bf ff 	add  %g2, -1, %g2                              
 2007a80:	c4 20 60 b0 	st  %g2, [ %g1 + 0xb0 ]                        
    return _Thread_Dispatch_disable_level;                            
 2007a84:	c2 00 60 b0 	ld  [ %g1 + 0xb0 ], %g1                        
 2007a88:	81 c7 e0 08 	ret                                            
 2007a8c:	81 e8 00 00 	restore                                        
          }                                                           
        #endif                                                        
                                                                      
        the_thread->Wait.count = 0;                                   
        if ( _Thread_Is_executing( the_thread ) ) {                   
          if ( _Event_Sync_state == THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED )
 2007a90:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2007a94:	c4 00 61 e0 	ld  [ %g1 + 0x1e0 ], %g2	! 201f1e0 <_Event_Sync_state>
 2007a98:	80 a0 a0 01 	cmp  %g2, 1                                    
 2007a9c:	32 bf ff ef 	bne,a   2007a58 <_Event_Timeout+0x40>          
 2007aa0:	82 10 20 06 	mov  6, %g1                                    
            _Event_Sync_state = THREAD_BLOCKING_OPERATION_TIMEOUT;    
 2007aa4:	84 10 20 02 	mov  2, %g2                                    
 2007aa8:	c4 20 61 e0 	st  %g2, [ %g1 + 0x1e0 ]                       
        }                                                             
                                                                      
        the_thread->Wait.return_code = RTEMS_TIMEOUT;                 
 2007aac:	10 bf ff eb 	b  2007a58 <_Event_Timeout+0x40>               
 2007ab0:	82 10 20 06 	mov  6, %g1                                    
                                                                      

0200e0bc <_Heap_Allocate_aligned_with_boundary>: Heap_Control *heap, uintptr_t alloc_size, uintptr_t alignment, uintptr_t boundary ) {
 200e0bc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Heap_Statistics *const stats = &heap->stats;                        
  uintptr_t const block_size_floor = alloc_size + HEAP_BLOCK_HEADER_SIZE
 200e0c0:	a2 06 60 04 	add  %i1, 4, %l1                               
  Heap_Control *heap,                                                 
  uintptr_t alloc_size,                                               
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
 200e0c4:	a0 10 00 18 	mov  %i0, %l0                                  
  Heap_Block *block = NULL;                                           
  uintptr_t alloc_begin = 0;                                          
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
 200e0c8:	80 a6 40 11 	cmp  %i1, %l1                                  
 200e0cc:	18 80 00 85 	bgu  200e2e0 <_Heap_Allocate_aligned_with_boundary+0x224>
 200e0d0:	ea 06 20 10 	ld  [ %i0 + 0x10 ], %l5                        
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
 200e0d4:	80 a6 e0 00 	cmp  %i3, 0                                    
 200e0d8:	12 80 00 7c 	bne  200e2c8 <_Heap_Allocate_aligned_with_boundary+0x20c>
 200e0dc:	80 a6 40 1b 	cmp  %i1, %i3                                  
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200e0e0:	fa 04 20 08 	ld  [ %l0 + 8 ], %i5                           
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
 200e0e4:	80 a4 00 1d 	cmp  %l0, %i5                                  
 200e0e8:	02 80 00 18 	be  200e148 <_Heap_Allocate_aligned_with_boundary+0x8c>
 200e0ec:	b8 10 20 00 	clr  %i4                                       
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
 200e0f0:	ac 10 20 04 	mov  4, %l6                                    
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
 200e0f4:	ae 05 60 07 	add  %l5, 7, %l7                               
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
 200e0f8:	ac 25 80 19 	sub  %l6, %i1, %l6                             
 200e0fc:	10 80 00 0b 	b  200e128 <_Heap_Allocate_aligned_with_boundary+0x6c>
 200e100:	ec 27 bf fc 	st  %l6, [ %fp + -4 ]                          
       * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
       * field.  Thus the value is about one unit larger than the real block
       * size.  The greater than operator takes this into account.    
       */                                                             
      if ( block->size_and_flag > block_size_floor ) {                
        if ( alignment == 0 ) {                                       
 200e104:	12 80 00 18 	bne  200e164 <_Heap_Allocate_aligned_with_boundary+0xa8>
 200e108:	b0 07 60 08 	add  %i5, 8, %i0                               
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
 200e10c:	80 a6 20 00 	cmp  %i0, 0                                    
 200e110:	12 80 00 4d 	bne  200e244 <_Heap_Allocate_aligned_with_boundary+0x188><== ALWAYS TAKEN
 200e114:	b8 07 20 01 	inc  %i4                                       
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
 200e118:	fa 07 60 08 	ld  [ %i5 + 8 ], %i5                           
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
 200e11c:	80 a4 00 1d 	cmp  %l0, %i5                                  
 200e120:	22 80 00 0b 	be,a   200e14c <_Heap_Allocate_aligned_with_boundary+0x90>
 200e124:	c2 04 20 44 	ld  [ %l0 + 0x44 ], %g1                        
      /*                                                              
       * The HEAP_PREV_BLOCK_USED flag is always set in the block size_and_flag
       * field.  Thus the value is about one unit larger than the real block
       * size.  The greater than operator takes this into account.    
       */                                                             
      if ( block->size_and_flag > block_size_floor ) {                
 200e128:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 200e12c:	80 a4 40 01 	cmp  %l1, %g1                                  
 200e130:	0a bf ff f5 	bcs  200e104 <_Heap_Allocate_aligned_with_boundary+0x48>
 200e134:	80 a6 a0 00 	cmp  %i2, 0                                    
                                                                      
      if ( alloc_begin != 0 ) {                                       
        break;                                                        
      }                                                               
                                                                      
      block = block->next;                                            
 200e138:	fa 07 60 08 	ld  [ %i5 + 8 ], %i5                           
                                                                      
  do {                                                                
    Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );  
                                                                      
    block = _Heap_Free_list_first( heap );                            
    while ( block != free_list_tail ) {                               
 200e13c:	80 a4 00 1d 	cmp  %l0, %i5                                  
 200e140:	12 bf ff fa 	bne  200e128 <_Heap_Allocate_aligned_with_boundary+0x6c>
 200e144:	b8 07 20 01 	inc  %i4                                       
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
 200e148:	c2 04 20 44 	ld  [ %l0 + 0x44 ], %g1                        
 200e14c:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200e150:	1a 80 00 03 	bcc  200e15c <_Heap_Allocate_aligned_with_boundary+0xa0>
 200e154:	b0 10 20 00 	clr  %i0                                       
    stats->max_search = search_count;                                 
 200e158:	f8 24 20 44 	st  %i4, [ %l0 + 0x44 ]                        
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
 200e15c:	81 c7 e0 08 	ret                                            
 200e160:	81 e8 00 00 	restore                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
 200e164:	e8 04 20 14 	ld  [ %l0 + 0x14 ], %l4                        
    - 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;                
 200e168:	a4 08 7f fe 	and  %g1, -2, %l2                              
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200e16c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
 200e170:	84 25 c0 14 	sub  %l7, %l4, %g2                             
  uintptr_t const page_size = heap->page_size;                        
  uintptr_t const min_block_size = heap->min_block_size;              
                                                                      
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
 200e174:	a4 07 40 12 	add  %i5, %l2, %l2                             
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200e178:	92 10 00 1a 	mov  %i2, %o1                                  
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
    + HEAP_BLOCK_HEADER_SIZE + page_size - 1;                         
                                                                      
  uintptr_t alloc_end = block_end + HEAP_ALLOC_BONUS;                 
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
 200e17c:	b0 00 40 12 	add  %g1, %l2, %i0                             
  uintptr_t const block_begin = (uintptr_t) block;                    
  uintptr_t const block_size = _Heap_Block_size( block );             
  uintptr_t const block_end = block_begin + block_size;               
                                                                      
  uintptr_t const alloc_begin_floor = _Heap_Alloc_area_of_block( block );
  uintptr_t const alloc_begin_ceiling = block_end - min_block_size    
 200e180:	a4 00 80 12 	add  %g2, %l2, %l2                             
 200e184:	40 00 2d c6 	call  201989c <.urem>                          
 200e188:	90 10 00 18 	mov  %i0, %o0                                  
 200e18c:	b0 26 00 08 	sub  %i0, %o0, %i0                             
  uintptr_t alloc_begin = alloc_end - alloc_size;                     
                                                                      
  alloc_begin = _Heap_Align_down( alloc_begin, alignment );           
                                                                      
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
 200e190:	80 a4 80 18 	cmp  %l2, %i0                                  
 200e194:	1a 80 00 06 	bcc  200e1ac <_Heap_Allocate_aligned_with_boundary+0xf0>
 200e198:	a6 07 60 08 	add  %i5, 8, %l3                               
 200e19c:	90 10 00 12 	mov  %l2, %o0                                  
 200e1a0:	40 00 2d bf 	call  201989c <.urem>                          
 200e1a4:	92 10 00 1a 	mov  %i2, %o1                                  
 200e1a8:	b0 24 80 08 	sub  %l2, %o0, %i0                             
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
                                                                      
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
 200e1ac:	80 a6 e0 00 	cmp  %i3, 0                                    
 200e1b0:	02 80 00 37 	be  200e28c <_Heap_Allocate_aligned_with_boundary+0x1d0>
 200e1b4:	80 a4 c0 18 	cmp  %l3, %i0                                  
  /* Ensure that the we have a valid new block at the end */          
  if ( alloc_begin > alloc_begin_ceiling ) {                          
    alloc_begin = _Heap_Align_down( alloc_begin_ceiling, alignment ); 
  }                                                                   
                                                                      
  alloc_end = alloc_begin + alloc_size;                               
 200e1b8:	86 06 00 19 	add  %i0, %i1, %g3                             
 200e1bc:	92 10 00 1b 	mov  %i3, %o1                                  
 200e1c0:	90 10 00 03 	mov  %g3, %o0                                  
 200e1c4:	40 00 2d b6 	call  201989c <.urem>                          
 200e1c8:	c6 27 bf f8 	st  %g3, [ %fp + -8 ]                          
 200e1cc:	c6 07 bf f8 	ld  [ %fp + -8 ], %g3                          
 200e1d0:	90 20 c0 08 	sub  %g3, %o0, %o0                             
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
 200e1d4:	80 a6 00 08 	cmp  %i0, %o0                                  
 200e1d8:	1a 80 00 2c 	bcc  200e288 <_Heap_Allocate_aligned_with_boundary+0x1cc>
 200e1dc:	a4 04 c0 19 	add  %l3, %i1, %l2                             
 200e1e0:	80 a2 00 03 	cmp  %o0, %g3                                  
 200e1e4:	2a 80 00 12 	bcs,a   200e22c <_Heap_Allocate_aligned_with_boundary+0x170>
 200e1e8:	80 a4 80 08 	cmp  %l2, %o0                                  
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
 200e1ec:	10 80 00 28 	b  200e28c <_Heap_Allocate_aligned_with_boundary+0x1d0>
 200e1f0:	80 a4 c0 18 	cmp  %l3, %i0                                  
 200e1f4:	92 10 00 1a 	mov  %i2, %o1                                  
 200e1f8:	40 00 2d a9 	call  201989c <.urem>                          
 200e1fc:	90 10 00 18 	mov  %i0, %o0                                  
 200e200:	92 10 00 1b 	mov  %i3, %o1                                  
 200e204:	b0 26 00 08 	sub  %i0, %o0, %i0                             
      if ( boundary_line < boundary_floor ) {                         
        return 0;                                                     
      }                                                               
      alloc_begin = boundary_line - alloc_size;                       
      alloc_begin = _Heap_Align_down( alloc_begin, alignment );       
      alloc_end = alloc_begin + alloc_size;                           
 200e208:	ac 06 00 19 	add  %i0, %i1, %l6                             
 200e20c:	40 00 2d a4 	call  201989c <.urem>                          
 200e210:	90 10 00 16 	mov  %l6, %o0                                  
 200e214:	90 25 80 08 	sub  %l6, %o0, %o0                             
  /* Ensure boundary constaint */                                     
  if ( boundary != 0 ) {                                              
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
 200e218:	80 a2 00 16 	cmp  %o0, %l6                                  
 200e21c:	1a 80 00 1b 	bcc  200e288 <_Heap_Allocate_aligned_with_boundary+0x1cc>
 200e220:	80 a6 00 08 	cmp  %i0, %o0                                  
 200e224:	1a 80 00 19 	bcc  200e288 <_Heap_Allocate_aligned_with_boundary+0x1cc>
 200e228:	80 a4 80 08 	cmp  %l2, %o0                                  
      if ( boundary_line < boundary_floor ) {                         
 200e22c:	08 bf ff f2 	bleu  200e1f4 <_Heap_Allocate_aligned_with_boundary+0x138>
 200e230:	b0 22 00 19 	sub  %o0, %i1, %i0                             
        return 0;                                                     
 200e234:	b0 10 20 00 	clr  %i0                                       
      }                                                               
                                                                      
      /* Statistics */                                                
      ++search_count;                                                 
                                                                      
      if ( alloc_begin != 0 ) {                                       
 200e238:	80 a6 20 00 	cmp  %i0, 0                                    
 200e23c:	02 bf ff b7 	be  200e118 <_Heap_Allocate_aligned_with_boundary+0x5c><== ALWAYS TAKEN
 200e240:	b8 07 20 01 	inc  %i4                                       
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
 200e244:	c6 04 20 48 	ld  [ %l0 + 0x48 ], %g3                        
    stats->searches += search_count;                                  
 200e248:	c4 04 20 4c 	ld  [ %l0 + 0x4c ], %g2                        
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
 200e24c:	86 00 e0 01 	inc  %g3                                       
    stats->searches += search_count;                                  
 200e250:	84 00 80 1c 	add  %g2, %i4, %g2                             
    search_again = _Heap_Protection_free_delayed_blocks( heap, alloc_begin );
  } while ( search_again );                                           
                                                                      
  if ( alloc_begin != 0 ) {                                           
    /* Statistics */                                                  
    ++stats->allocs;                                                  
 200e254:	c6 24 20 48 	st  %g3, [ %l0 + 0x48 ]                        
    stats->searches += search_count;                                  
 200e258:	c4 24 20 4c 	st  %g2, [ %l0 + 0x4c ]                        
                                                                      
    block = _Heap_Block_allocate( heap, block, alloc_begin, alloc_size );
 200e25c:	90 10 00 10 	mov  %l0, %o0                                  
 200e260:	92 10 00 1d 	mov  %i5, %o1                                  
 200e264:	94 10 00 18 	mov  %i0, %o2                                  
 200e268:	7f ff eb c8 	call  2009188 <_Heap_Block_allocate>           
 200e26c:	96 10 00 19 	mov  %i1, %o3                                  
      boundary                                                        
    );                                                                
  }                                                                   
                                                                      
  /* Statistics */                                                    
  if ( stats->max_search < search_count ) {                           
 200e270:	c2 04 20 44 	ld  [ %l0 + 0x44 ], %g1                        
 200e274:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200e278:	2a bf ff b9 	bcs,a   200e15c <_Heap_Allocate_aligned_with_boundary+0xa0>
 200e27c:	f8 24 20 44 	st  %i4, [ %l0 + 0x44 ]                        
    stats->max_search = search_count;                                 
  }                                                                   
                                                                      
  return (void *) alloc_begin;                                        
}                                                                     
 200e280:	81 c7 e0 08 	ret                                            
 200e284:	81 e8 00 00 	restore                                        
      boundary_line = _Heap_Align_down( alloc_end, boundary );        
    }                                                                 
  }                                                                   
                                                                      
  /* Ensure that the we have a valid new block at the beginning */    
  if ( alloc_begin >= alloc_begin_floor ) {                           
 200e288:	80 a4 c0 18 	cmp  %l3, %i0                                  
 200e28c:	18 bf ff ea 	bgu  200e234 <_Heap_Allocate_aligned_with_boundary+0x178>
 200e290:	82 10 3f f8 	mov  -8, %g1                                   
 200e294:	90 10 00 18 	mov  %i0, %o0                                  
 200e298:	a4 20 40 1d 	sub  %g1, %i5, %l2                             
 200e29c:	92 10 00 15 	mov  %l5, %o1                                  
 200e2a0:	40 00 2d 7f 	call  201989c <.urem>                          
 200e2a4:	a4 04 80 18 	add  %l2, %i0, %l2                             
    uintptr_t const alloc_block_begin =                               
      (uintptr_t) _Heap_Block_of_alloc_area( alloc_begin, page_size );
    uintptr_t const free_size = alloc_block_begin - block_begin;      
                                                                      
    if ( free_size >= min_block_size || free_size == 0 ) {            
 200e2a8:	90 a4 80 08 	subcc  %l2, %o0, %o0                           
 200e2ac:	02 bf ff 99 	be  200e110 <_Heap_Allocate_aligned_with_boundary+0x54>
 200e2b0:	80 a6 20 00 	cmp  %i0, 0                                    
 200e2b4:	80 a2 00 14 	cmp  %o0, %l4                                  
 200e2b8:	1a bf ff 96 	bcc  200e110 <_Heap_Allocate_aligned_with_boundary+0x54>
 200e2bc:	80 a6 20 00 	cmp  %i0, 0                                    
    uintptr_t const boundary_floor = alloc_begin_floor + alloc_size;  
    uintptr_t boundary_line = _Heap_Align_down( alloc_end, boundary );
                                                                      
    while ( alloc_begin < boundary_line && boundary_line < alloc_end ) {
      if ( boundary_line < boundary_floor ) {                         
        return 0;                                                     
 200e2c0:	10 bf ff de 	b  200e238 <_Heap_Allocate_aligned_with_boundary+0x17c>
 200e2c4:	b0 10 20 00 	clr  %i0                                       
    /* Integer overflow occured */                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if ( boundary != 0 ) {                                              
    if ( boundary < alloc_size ) {                                    
 200e2c8:	18 80 00 06 	bgu  200e2e0 <_Heap_Allocate_aligned_with_boundary+0x224>
 200e2cc:	80 a6 a0 00 	cmp  %i2, 0                                    
      return NULL;                                                    
    }                                                                 
                                                                      
    if ( alignment == 0 ) {                                           
 200e2d0:	22 bf ff 84 	be,a   200e0e0 <_Heap_Allocate_aligned_with_boundary+0x24>
 200e2d4:	b4 10 00 15 	mov  %l5, %i2                                  
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200e2d8:	10 bf ff 83 	b  200e0e4 <_Heap_Allocate_aligned_with_boundary+0x28>
 200e2dc:	fa 04 20 08 	ld  [ %l0 + 8 ], %i5                           
  uint32_t search_count = 0;                                          
  bool search_again = false;                                          
                                                                      
  if ( block_size_floor < alloc_size ) {                              
    /* Integer overflow occured */                                    
    return NULL;                                                      
 200e2e0:	81 c7 e0 08 	ret                                            
 200e2e4:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200e300 <_Heap_Extend>: Heap_Control *heap, void *extend_area_begin_ptr, uintptr_t extend_area_size, uintptr_t *extended_size_ptr ) {
 200e300:	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;                              
 200e304:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  Heap_Block *extend_last_block = NULL;                               
 200e308:	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;
 200e30c:	a0 06 40 1a 	add  %i1, %i2, %l0                             
  uintptr_t extend_area_size,                                         
  uintptr_t *extended_size_ptr                                        
)                                                                     
{                                                                     
  Heap_Statistics *const stats = &heap->stats;                        
  Heap_Block *const first_block = heap->first_block;                  
 200e310:	ee 06 20 20 	ld  [ %i0 + 0x20 ], %l7                        
  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;                        
 200e314:	e2 06 20 10 	ld  [ %i0 + 0x10 ], %l1                        
  uintptr_t const min_block_size = heap->min_block_size;              
 200e318:	d6 06 20 14 	ld  [ %i0 + 0x14 ], %o3                        
  uintptr_t const free_size = stats->free_size;                       
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
 200e31c:	80 a6 40 10 	cmp  %i1, %l0                                  
 200e320:	08 80 00 06 	bleu  200e338 <_Heap_Extend+0x38>              
 200e324:	e6 06 20 30 	ld  [ %i0 + 0x30 ], %l3                        
    return false;                                                     
 200e328:	b0 10 20 00 	clr  %i0                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
}                                                                     
 200e32c:	b0 0e 20 01 	and  %i0, 1, %i0                               
 200e330:	81 c7 e0 08 	ret                                            
 200e334:	81 e8 00 00 	restore                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
  }                                                                   
                                                                      
  extend_area_ok = _Heap_Get_first_and_last_block(                    
 200e338:	90 10 00 19 	mov  %i1, %o0                                  
 200e33c:	92 10 00 1a 	mov  %i2, %o1                                  
 200e340:	94 10 00 11 	mov  %l1, %o2                                  
 200e344:	98 07 bf f8 	add  %fp, -8, %o4                              
 200e348:	7f ff eb 35 	call  200901c <_Heap_Get_first_and_last_block> 
 200e34c:	9a 07 bf fc 	add  %fp, -4, %o5                              
    page_size,                                                        
    min_block_size,                                                   
    &extend_first_block,                                              
    &extend_last_block                                                
  );                                                                  
  if (!extend_area_ok ) {                                             
 200e350:	80 8a 20 ff 	btst  0xff, %o0                                
 200e354:	02 bf ff f5 	be  200e328 <_Heap_Extend+0x28>                
 200e358:	ba 10 00 17 	mov  %l7, %i5                                  
 200e35c:	aa 10 20 00 	clr  %l5                                       
 200e360:	ac 10 20 00 	clr  %l6                                       
 200e364:	a4 10 20 00 	clr  %l2                                       
 200e368:	10 80 00 10 	b  200e3a8 <_Heap_Extend+0xa8>                 
 200e36c:	a8 10 20 00 	clr  %l4                                       
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
 200e370:	2a 80 00 02 	bcs,a   200e378 <_Heap_Extend+0x78>            
 200e374:	ac 10 00 1d 	mov  %i5, %l6                                  
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
 200e378:	80 a7 00 19 	cmp  %i4, %i1                                  
 200e37c:	22 80 00 1e 	be,a   200e3f4 <_Heap_Extend+0xf4>             
 200e380:	e0 27 40 00 	st  %l0, [ %i5 ]                               
      start_block->prev_size = extend_area_end;                       
                                                                      
      merge_above_block = end_block;                                  
    } else if ( sub_area_end < extend_area_begin ) {                  
 200e384:	80 a6 40 1c 	cmp  %i1, %i4                                  
 200e388:	38 80 00 02 	bgu,a   200e390 <_Heap_Extend+0x90>            
 200e38c:	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;                
 200e390:	fa 02 20 04 	ld  [ %o0 + 4 ], %i5                           
 200e394:	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);                 
 200e398:	ba 02 00 1d 	add  %o0, %i5, %i5                             
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
 200e39c:	80 a5 c0 1d 	cmp  %l7, %i5                                  
 200e3a0:	22 80 00 1c 	be,a   200e410 <_Heap_Extend+0x110>            
 200e3a4:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
    return false;                                                     
  }                                                                   
                                                                      
  do {                                                                
    uintptr_t const sub_area_begin = (start_block != first_block) ?   
      (uintptr_t) start_block : heap->area_begin;                     
 200e3a8:	80 a7 40 17 	cmp  %i5, %l7                                  
 200e3ac:	22 80 00 03 	be,a   200e3b8 <_Heap_Extend+0xb8>             
 200e3b0:	f4 06 20 18 	ld  [ %i0 + 0x18 ], %i2                        
 200e3b4:	b4 10 00 1d 	mov  %i5, %i2                                  
    uintptr_t const sub_area_end = start_block->prev_size;            
 200e3b8:	f8 07 40 00 	ld  [ %i5 ], %i4                               
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200e3bc:	92 10 00 11 	mov  %l1, %o1                                  
 200e3c0:	40 00 2d fc 	call  2019bb0 <.urem>                          
 200e3c4:	90 10 00 1c 	mov  %i4, %o0                                  
 200e3c8:	82 07 3f f8 	add  %i4, -8, %g1                              
    Heap_Block *const end_block =                                     
      _Heap_Block_of_alloc_area( sub_area_end, page_size );           
                                                                      
    if (                                                              
 200e3cc:	80 a6 80 10 	cmp  %i2, %l0                                  
 200e3d0:	0a 80 00 69 	bcs  200e574 <_Heap_Extend+0x274>              
 200e3d4:	90 20 40 08 	sub  %g1, %o0, %o0                             
      sub_area_end > extend_area_begin && extend_area_end > sub_area_begin
    ) {                                                               
      return false;                                                   
    }                                                                 
                                                                      
    if ( extend_area_end == sub_area_begin ) {                        
 200e3d8:	80 a6 80 10 	cmp  %i2, %l0                                  
 200e3dc:	12 bf ff e5 	bne  200e370 <_Heap_Extend+0x70>               
 200e3e0:	80 a4 00 1c 	cmp  %l0, %i4                                  
      merge_below_block = start_block;                                
    } else if ( extend_area_end < sub_area_end ) {                    
      link_below_block = start_block;                                 
    }                                                                 
                                                                      
    if ( sub_area_end == extend_area_begin ) {                        
 200e3e4:	80 a7 00 19 	cmp  %i4, %i1                                  
 200e3e8:	12 bf ff e7 	bne  200e384 <_Heap_Extend+0x84>               <== ALWAYS TAKEN
 200e3ec:	a8 10 00 1d 	mov  %i5, %l4                                  
      start_block->prev_size = extend_area_end;                       
 200e3f0:	e0 27 40 00 	st  %l0, [ %i5 ]                               <== NOT EXECUTED
    - 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;                
 200e3f4:	fa 02 20 04 	ld  [ %o0 + 4 ], %i5                           
 200e3f8:	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);                 
 200e3fc:	ba 02 00 1d 	add  %o0, %i5, %i5                             
    } else if ( sub_area_end < extend_area_begin ) {                  
      link_above_block = end_block;                                   
    }                                                                 
                                                                      
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
 200e400:	80 a5 c0 1d 	cmp  %l7, %i5                                  
 200e404:	12 bf ff e9 	bne  200e3a8 <_Heap_Extend+0xa8>               <== NEVER TAKEN
 200e408:	a4 10 00 08 	mov  %o0, %l2                                  
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
 200e40c:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200e410:	80 a6 40 01 	cmp  %i1, %g1                                  
 200e414:	3a 80 00 53 	bcc,a   200e560 <_Heap_Extend+0x260>           
 200e418:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
    heap->area_begin = extend_area_begin;                             
 200e41c:	f2 26 20 18 	st  %i1, [ %i0 + 0x18 ]                        
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
 200e420:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200e424:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
                                                                      
  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 ) {
 200e428:	c8 06 20 20 	ld  [ %i0 + 0x20 ], %g4                        
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
 200e42c:	86 20 80 01 	sub  %g2, %g1, %g3                             
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
                                                                      
  extend_first_block->prev_size = extend_area_end;                    
 200e430:	e0 20 40 00 	st  %l0, [ %g1 ]                               
  extend_first_block->size_and_flag =                                 
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
 200e434:	ba 10 e0 01 	or  %g3, 1, %i5                                
                                                                      
  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 =                                 
 200e438:	fa 20 60 04 	st  %i5, [ %g1 + 4 ]                           
    extend_first_block_size | HEAP_PREV_BLOCK_USED;                   
  _Heap_Protection_block_initialize( heap, extend_first_block );      
                                                                      
  extend_last_block->prev_size = extend_first_block_size;             
 200e43c:	c6 20 80 00 	st  %g3, [ %g2 ]                               
  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 ) {
 200e440:	80 a1 00 01 	cmp  %g4, %g1                                  
 200e444:	08 80 00 41 	bleu  200e548 <_Heap_Extend+0x248>             
 200e448:	c0 20 a0 04 	clr  [ %g2 + 4 ]                               
    heap->first_block = extend_first_block;                           
 200e44c:	c2 26 20 20 	st  %g1, [ %i0 + 0x20 ]                        
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
 200e450:	80 a5 20 00 	cmp  %l4, 0                                    
 200e454:	02 80 00 4d 	be  200e588 <_Heap_Extend+0x288>               
 200e458:	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;                        
 200e45c:	fa 06 20 10 	ld  [ %i0 + 0x10 ], %i5                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_up(                        
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  uintptr_t remainder = value % alignment;                            
 200e460:	92 10 00 1d 	mov  %i5, %o1                                  
 200e464:	40 00 2d d3 	call  2019bb0 <.urem>                          
 200e468:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  if ( remainder != 0 ) {                                             
 200e46c:	80 a2 20 00 	cmp  %o0, 0                                    
 200e470:	02 80 00 04 	be  200e480 <_Heap_Extend+0x180>               
 200e474:	c4 05 00 00 	ld  [ %l4 ], %g2                               
    return value - remainder + alignment;                             
 200e478:	b2 06 40 1d 	add  %i1, %i5, %i1                             
 200e47c:	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 =                             
 200e480:	82 06 7f f8 	add  %i1, -8, %g1                              
  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;                
 200e484:	c4 26 7f f8 	st  %g2, [ %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 =                              
 200e488:	84 25 00 01 	sub  %l4, %g1, %g2                             
    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;
 200e48c:	84 10 a0 01 	or  %g2, 1, %g2                                
                                                                      
  _Heap_Free_block( heap, new_first_block );                          
 200e490:	90 10 00 18 	mov  %i0, %o0                                  
 200e494:	92 10 00 01 	mov  %g1, %o1                                  
 200e498:	7f ff ff 90 	call  200e2d8 <_Heap_Free_block>               
 200e49c:	c4 26 7f fc 	st  %g2, [ %i1 + -4 ]                          
      link_below_block,                                               
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
 200e4a0:	80 a4 a0 00 	cmp  %l2, 0                                    
 200e4a4:	02 80 00 40 	be  200e5a4 <_Heap_Extend+0x2a4>               
 200e4a8:	a0 04 3f f8 	add  %l0, -8, %l0                              
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200e4ac:	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(             
 200e4b0:	a0 24 00 12 	sub  %l0, %l2, %l0                             
 200e4b4:	40 00 2d bf 	call  2019bb0 <.urem>                          
 200e4b8:	90 10 00 10 	mov  %l0, %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)                 
 200e4bc:	c2 04 a0 04 	ld  [ %l2 + 4 ], %g1                           
 200e4c0:	a0 24 00 08 	sub  %l0, %o0, %l0                             
 200e4c4:	82 20 40 10 	sub  %g1, %l0, %g1                             
      | HEAP_PREV_BLOCK_USED;                                         
 200e4c8:	82 10 60 01 	or  %g1, 1, %g1                                
    page_size                                                         
  );                                                                  
  Heap_Block *const new_last_block =                                  
    _Heap_Block_at( last_block, last_block_new_size );                
                                                                      
  new_last_block->size_and_flag =                                     
 200e4cc:	84 04 00 12 	add  %l0, %l2, %g2                             
 200e4d0:	c2 20 a0 04 	st  %g1, [ %g2 + 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;       
 200e4d4:	c2 04 a0 04 	ld  [ %l2 + 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 );                               
 200e4d8:	90 10 00 18 	mov  %i0, %o0                                  
 200e4dc:	82 08 60 01 	and  %g1, 1, %g1                               
 200e4e0:	92 10 00 12 	mov  %l2, %o1                                  
                                                                      
  block->size_and_flag = size | flag;                                 
 200e4e4:	a0 14 00 01 	or  %l0, %g1, %l0                              
 200e4e8:	7f ff ff 7c 	call  200e2d8 <_Heap_Free_block>               
 200e4ec:	e0 24 a0 04 	st  %l0, [ %l2 + 4 ]                           
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
 200e4f0:	80 a4 a0 00 	cmp  %l2, 0                                    
 200e4f4:	02 80 00 39 	be  200e5d8 <_Heap_Extend+0x2d8>               
 200e4f8:	80 a5 20 00 	cmp  %l4, 0                                    
 */                                                                   
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      
 200e4fc:	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(                                               
 200e500:	fa 06 20 20 	ld  [ %i0 + 0x20 ], %i5                        
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;       
 200e504:	c8 00 60 04 	ld  [ %g1 + 4 ], %g4                           
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
 200e508:	c4 06 20 2c 	ld  [ %i0 + 0x2c ], %g2                        
    _Heap_Free_block( heap, extend_first_block );                     
  }                                                                   
                                                                      
  _Heap_Set_last_block_size( heap );                                  
                                                                      
  extended_size = stats->free_size - free_size;                       
 200e50c:	c6 06 20 30 	ld  [ %i0 + 0x30 ], %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(                                               
 200e510:	ba 27 40 01 	sub  %i5, %g1, %i5                             
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;       
 200e514:	88 09 20 01 	and  %g4, 1, %g4                               
                                                                      
  block->size_and_flag = size | flag;                                 
 200e518:	88 17 40 04 	or  %i5, %g4, %g4                              
 200e51c:	c8 20 60 04 	st  %g4, [ %g1 + 4 ]                           
 200e520:	a6 20 c0 13 	sub  %g3, %l3, %l3                             
                                                                      
  /* Statistics */                                                    
  stats->size += extended_size;                                       
 200e524:	82 00 80 13 	add  %g2, %l3, %g1                             
                                                                      
  if ( extended_size_ptr != NULL )                                    
 200e528:	80 a6 e0 00 	cmp  %i3, 0                                    
 200e52c:	02 80 00 32 	be  200e5f4 <_Heap_Extend+0x2f4>               <== NEVER TAKEN
 200e530:	c2 26 20 2c 	st  %g1, [ %i0 + 0x2c ]                        
    *extended_size_ptr = extended_size;                               
 200e534:	e6 26 c0 00 	st  %l3, [ %i3 ]                               
                                                                      
  return true;                                                        
 200e538:	b0 10 20 01 	mov  1, %i0                                    
}                                                                     
 200e53c:	b0 0e 20 01 	and  %i0, 1, %i0                               
 200e540:	81 c7 e0 08 	ret                                            
 200e544:	81 e8 00 00 	restore                                        
  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 ) {
    heap->first_block = extend_first_block;                           
  } else if ( (uintptr_t) extend_last_block > (uintptr_t) heap->last_block ) {
 200e548:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200e54c:	80 a0 40 02 	cmp  %g1, %g2                                  
 200e550:	2a bf ff c0 	bcs,a   200e450 <_Heap_Extend+0x150>           
 200e554:	c4 26 20 24 	st  %g2, [ %i0 + 0x24 ]                        
    heap->last_block = extend_last_block;                             
  }                                                                   
                                                                      
  if ( merge_below_block != NULL ) {                                  
 200e558:	10 bf ff bf 	b  200e454 <_Heap_Extend+0x154>                
 200e55c:	80 a5 20 00 	cmp  %l4, 0                                    
    start_block = _Heap_Block_at( end_block, _Heap_Block_size( end_block ) );
  } while ( start_block != first_block );                             
                                                                      
  if ( extend_area_begin < heap->area_begin ) {                       
    heap->area_begin = extend_area_begin;                             
  } else if ( heap->area_end < extend_area_end ) {                    
 200e560:	80 a4 00 01 	cmp  %l0, %g1                                  
 200e564:	38 bf ff af 	bgu,a   200e420 <_Heap_Extend+0x120>           
 200e568:	e0 26 20 1c 	st  %l0, [ %i0 + 0x1c ]                        
    heap->area_end = extend_area_end;                                 
  }                                                                   
                                                                      
  extend_first_block_size =                                           
    (uintptr_t) extend_last_block - (uintptr_t) extend_first_block;   
 200e56c:	10 bf ff ae 	b  200e424 <_Heap_Extend+0x124>                
 200e570:	c2 07 bf f8 	ld  [ %fp + -8 ], %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 (                                                              
 200e574:	80 a6 40 1c 	cmp  %i1, %i4                                  
 200e578:	1a bf ff 99 	bcc  200e3dc <_Heap_Extend+0xdc>               
 200e57c:	80 a6 80 10 	cmp  %i2, %l0                                  
  uintptr_t extend_first_block_size = 0;                              
  uintptr_t extended_size = 0;                                        
  bool extend_area_ok = false;                                        
                                                                      
  if ( extend_area_end < extend_area_begin ) {                        
    return false;                                                     
 200e580:	10 bf ff 6b 	b  200e32c <_Heap_Extend+0x2c>                 
 200e584:	b0 10 20 00 	clr  %i0                                       
    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 ) {                            
 200e588:	80 a5 a0 00 	cmp  %l6, 0                                    
 200e58c:	02 bf ff c6 	be  200e4a4 <_Heap_Extend+0x1a4>               
 200e590:	80 a4 a0 00 	cmp  %l2, 0                                    
{                                                                     
  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;           
 200e594:	ac 25 80 02 	sub  %l6, %g2, %l6                             
 200e598:	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 =                                         
 200e59c:	10 bf ff c2 	b  200e4a4 <_Heap_Extend+0x1a4>                
 200e5a0:	ec 20 a0 04 	st  %l6, [ %g2 + 4 ]                           
    );                                                                
  }                                                                   
                                                                      
  if ( merge_above_block != NULL ) {                                  
    _Heap_Merge_above( heap, merge_above_block, extend_area_end );    
  } else if ( link_above_block != NULL ) {                            
 200e5a4:	80 a5 60 00 	cmp  %l5, 0                                    
 200e5a8:	02 bf ff d2 	be  200e4f0 <_Heap_Extend+0x1f0>               
 200e5ac:	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;       
 200e5b0:	c6 05 60 04 	ld  [ %l5 + 4 ], %g3                           
    _Heap_Link_above(                                                 
 200e5b4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200e5b8:	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 );       
 200e5bc:	84 20 80 15 	sub  %g2, %l5, %g2                             
                                                                      
  block->size_and_flag = size | flag;                                 
 200e5c0:	84 10 80 03 	or  %g2, %g3, %g2                              
 200e5c4:	c4 25 60 04 	st  %g2, [ %l5 + 4 ]                           
                                                                      
  last_block->size_and_flag |= HEAP_PREV_BLOCK_USED;                  
 200e5c8:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200e5cc:	84 10 a0 01 	or  %g2, 1, %g2                                
 200e5d0:	10 bf ff c8 	b  200e4f0 <_Heap_Extend+0x1f0>                
 200e5d4:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
      extend_first_block,                                             
      extend_last_block                                               
    );                                                                
  }                                                                   
                                                                      
  if ( merge_below_block == NULL && merge_above_block == NULL ) {     
 200e5d8:	32 bf ff ca 	bne,a   200e500 <_Heap_Extend+0x200>           
 200e5dc:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
    _Heap_Free_block( heap, extend_first_block );                     
 200e5e0:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 200e5e4:	7f ff ff 3d 	call  200e2d8 <_Heap_Free_block>               
 200e5e8:	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      
 200e5ec:	10 bf ff c5 	b  200e500 <_Heap_Extend+0x200>                
 200e5f0:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
  stats->size += extended_size;                                       
                                                                      
  if ( extended_size_ptr != NULL )                                    
    *extended_size_ptr = extended_size;                               
                                                                      
  return true;                                                        
 200e5f4:	10 bf ff 4e 	b  200e32c <_Heap_Extend+0x2c>                 <== NOT EXECUTED
 200e5f8:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
                                                                      

0200e2e8 <_Heap_Free>: return do_free; } #endif bool _Heap_Free( Heap_Control *heap, void *alloc_begin_ptr ) {
 200e2e8:	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 ) {                                    
 200e2ec:	80 a6 60 00 	cmp  %i1, 0                                    
 200e2f0:	02 80 00 3c 	be  200e3e0 <_Heap_Free+0xf8>                  
 200e2f4:	82 10 20 01 	mov  1, %g1                                    
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200e2f8:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 200e2fc:	40 00 2d 68 	call  201989c <.urem>                          
 200e300:	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           
 200e304:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200e308:	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);                                        
 200e30c:	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;             
 200e310:	80 a2 00 02 	cmp  %o0, %g2                                  
 200e314:	0a 80 00 30 	bcs  200e3d4 <_Heap_Free+0xec>                 
 200e318:	82 10 20 00 	clr  %g1                                       
 200e31c:	c8 06 20 24 	ld  [ %i0 + 0x24 ], %g4                        
 200e320:	80 a2 00 04 	cmp  %o0, %g4                                  
 200e324:	38 80 00 2d 	bgu,a   200e3d8 <_Heap_Free+0xf0>              
 200e328:	b0 08 60 ff 	and  %g1, 0xff, %i0                            
    - 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;                
 200e32c:	f6 02 20 04 	ld  [ %o0 + 4 ], %i3                           
 200e330:	ba 0e ff fe 	and  %i3, -2, %i5                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200e334:	86 02 00 1d 	add  %o0, %i5, %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;             
 200e338:	80 a0 80 03 	cmp  %g2, %g3                                  
 200e33c:	38 80 00 27 	bgu,a   200e3d8 <_Heap_Free+0xf0>              <== NEVER TAKEN
 200e340:	b0 08 60 ff 	and  %g1, 0xff, %i0                            <== NOT EXECUTED
 200e344:	80 a1 00 03 	cmp  %g4, %g3                                  
 200e348:	2a 80 00 24 	bcs,a   200e3d8 <_Heap_Free+0xf0>              <== NEVER TAKEN
 200e34c:	b0 08 60 ff 	and  %g1, 0xff, %i0                            <== NOT EXECUTED
  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;                 
 200e350:	f8 00 e0 04 	ld  [ %g3 + 4 ], %i4                           
    return false;                                                     
  }                                                                   
                                                                      
  _Heap_Protection_block_check( heap, next_block );                   
                                                                      
  if ( !_Heap_Is_prev_used( next_block ) ) {                          
 200e354:	80 8f 20 01 	btst  1, %i4                                   
 200e358:	02 80 00 1f 	be  200e3d4 <_Heap_Free+0xec>                  <== NEVER TAKEN
 200e35c:	80 a1 00 03 	cmp  %g4, %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 ));
 200e360:	02 80 00 23 	be  200e3ec <_Heap_Free+0x104>                 
 200e364:	b8 0f 3f fe 	and  %i4, -2, %i4                              
 200e368:	82 00 c0 1c 	add  %g3, %i4, %g1                             
 200e36c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 200e370:	80 88 60 01 	btst  1, %g1                                   
 200e374:	12 80 00 1f 	bne  200e3f0 <_Heap_Free+0x108>                
 200e378:	80 8e e0 01 	btst  1, %i3                                   
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
 200e37c:	02 80 00 20 	be  200e3fc <_Heap_Free+0x114>                 
 200e380:	b2 10 20 01 	mov  1, %i1                                    
RTEMS_INLINE_ROUTINE void _Heap_Free_list_replace(                    
  Heap_Block *old_block,                                              
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = old_block->next;                                 
 200e384:	c4 00 e0 08 	ld  [ %g3 + 8 ], %g2                           
  Heap_Block *prev = old_block->prev;                                 
 200e388:	c2 00 e0 0c 	ld  [ %g3 + 0xc ], %g1                         
                                                                      
  new_block->next = next;                                             
 200e38c:	c4 22 20 08 	st  %g2, [ %o0 + 8 ]                           
  new_block->prev = prev;                                             
 200e390:	c2 22 20 0c 	st  %g1, [ %o0 + 0xc ]                         
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
      next_block->prev_size = size;                                   
    }                                                                 
  } else if ( next_is_free ) {    /* coalesce next */                 
    uintptr_t const size = block_size + next_block_size;              
 200e394:	b8 07 00 1d 	add  %i4, %i5, %i4                             
                                                                      
  next->prev = new_block;                                             
 200e398:	d0 20 a0 0c 	st  %o0, [ %g2 + 0xc ]                         
  prev->next = new_block;                                             
 200e39c:	d0 20 60 08 	st  %o0, [ %g1 + 8 ]                           
    _Heap_Free_list_replace( next_block, block );                     
    block->size_and_flag = size | HEAP_PREV_BLOCK_USED;               
 200e3a0:	84 17 20 01 	or  %i4, 1, %g2                                
    next_block  = _Heap_Block_at( block, size );                      
    next_block->prev_size = size;                                     
 200e3a4:	f8 22 00 1c 	st  %i4, [ %o0 + %i4 ]                         
      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;               
 200e3a8:	c4 22 20 04 	st  %g2, [ %o0 + 4 ]                           
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
 200e3ac:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200e3b0:	c4 06 20 40 	ld  [ %i0 + 0x40 ], %g2                        
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 200e3b4:	c6 06 20 30 	ld  [ %i0 + 0x30 ], %g3                        
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
 200e3b8:	82 00 60 01 	inc  %g1                                       
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200e3bc:	84 00 bf ff 	add  %g2, -1, %g2                              
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 200e3c0:	ba 00 c0 1d 	add  %g3, %i5, %i5                             
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
  ++stats->frees;                                                     
 200e3c4:	c2 26 20 50 	st  %g1, [ %i0 + 0x50 ]                        
      stats->max_free_blocks = stats->free_blocks;                    
    }                                                                 
  }                                                                   
                                                                      
  /* Statistics */                                                    
  --stats->used_blocks;                                               
 200e3c8:	c4 26 20 40 	st  %g2, [ %i0 + 0x40 ]                        
  ++stats->frees;                                                     
  stats->free_size += block_size;                                     
 200e3cc:	fa 26 20 30 	st  %i5, [ %i0 + 0x30 ]                        
                                                                      
  return( true );                                                     
 200e3d0:	82 10 20 01 	mov  1, %g1                                    
 200e3d4:	b0 08 60 ff 	and  %g1, 0xff, %i0                            
 200e3d8:	81 c7 e0 08 	ret                                            
 200e3dc:	81 e8 00 00 	restore                                        
 200e3e0:	b0 08 60 ff 	and  %g1, 0xff, %i0                            
 200e3e4:	81 c7 e0 08 	ret                                            
 200e3e8:	81 e8 00 00 	restore                                        
                                                                      
  next_block_size = _Heap_Block_size( next_block );                   
  next_is_free = next_block != heap->last_block                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
 200e3ec:	80 8e e0 01 	btst  1, %i3                                   
 200e3f0:	32 80 00 1e 	bne,a   200e468 <_Heap_Free+0x180>             
 200e3f4:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           
  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                       
 200e3f8:	b2 10 20 00 	clr  %i1                                       
    && !_Heap_Is_prev_used( _Heap_Block_at( next_block, next_block_size ));
                                                                      
  if ( !_Heap_Is_prev_used( block ) ) {                               
    uintptr_t const prev_size = block->prev_size;                     
 200e3fc:	f4 02 00 00 	ld  [ %o0 ], %i2                               
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200e400:	b6 22 00 1a 	sub  %o0, %i2, %i3                             
  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;             
 200e404:	80 a0 80 1b 	cmp  %g2, %i3                                  
 200e408:	18 bf ff f3 	bgu  200e3d4 <_Heap_Free+0xec>                 <== NEVER TAKEN
 200e40c:	82 10 20 00 	clr  %g1                                       
 200e410:	80 a1 00 1b 	cmp  %g4, %i3                                  
 200e414:	2a bf ff f1 	bcs,a   200e3d8 <_Heap_Free+0xf0>              <== NEVER TAKEN
 200e418:	b0 08 60 ff 	and  %g1, 0xff, %i0                            <== NOT EXECUTED
  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;                 
 200e41c:	c4 06 e0 04 	ld  [ %i3 + 4 ], %g2                           
      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) ) {                        
 200e420:	80 88 a0 01 	btst  1, %g2                                   
 200e424:	02 bf ff ec 	be  200e3d4 <_Heap_Free+0xec>                  <== NEVER TAKEN
 200e428:	80 8e 60 ff 	btst  0xff, %i1                                
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
 200e42c:	22 80 00 21 	be,a   200e4b0 <_Heap_Free+0x1c8>              
 200e430:	b4 07 40 1a 	add  %i5, %i2, %i2                             
  return _Heap_Free_list_tail(heap)->prev;                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE void _Heap_Free_list_remove( Heap_Block *block ) 
{                                                                     
  Heap_Block *next = block->next;                                     
 200e434:	c2 00 e0 08 	ld  [ %g3 + 8 ], %g1                           
  Heap_Block *prev = block->prev;                                     
 200e438:	c4 00 e0 0c 	ld  [ %g3 + 0xc ], %g2                         
      uintptr_t const size = block_size + prev_size + next_block_size;
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
 200e43c:	c6 06 20 38 	ld  [ %i0 + 0x38 ], %g3                        
                                                                      
  prev->next = next;                                                  
 200e440:	c2 20 a0 08 	st  %g1, [ %g2 + 8 ]                           
  next->prev = prev;                                                  
 200e444:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
 200e448:	82 00 ff ff 	add  %g3, -1, %g1                              
 200e44c:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
      _HAssert( false );                                              
      return( false );                                                
    }                                                                 
                                                                      
    if ( next_is_free ) {       /* coalesce both */                   
      uintptr_t const size = block_size + prev_size + next_block_size;
 200e450:	b8 07 40 1c 	add  %i5, %i4, %i4                             
 200e454:	b4 07 00 1a 	add  %i4, %i2, %i2                             
      _Heap_Free_list_remove( next_block );                           
      stats->free_blocks -= 1;                                        
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
 200e458:	82 16 a0 01 	or  %i2, 1, %g1                                
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
 200e45c:	f4 26 c0 1a 	st  %i2, [ %i3 + %i2 ]                         
                                                                      
    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;        
 200e460:	10 bf ff d3 	b  200e3ac <_Heap_Free+0xc4>                   
 200e464:	c2 26 e0 04 	st  %g1, [ %i3 + 4 ]                           
    next_block->prev_size = size;                                     
  } else {                        /* no coalesce */                   
    /* Add 'block' to the head of the free blocks list as it tends to 
       produce less fragmentation than adding to the tail. */         
    _Heap_Free_list_insert_after( _Heap_Free_list_head( heap), block );
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
 200e468:	82 17 60 01 	or  %i5, 1, %g1                                
 200e46c:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
 200e470:	c8 00 e0 04 	ld  [ %g3 + 4 ], %g4                           
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
  new_block->prev = block_before;                                     
 200e474:	f0 22 20 0c 	st  %i0, [ %o0 + 0xc ]                         
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200e478:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
  Heap_Block *new_block                                               
)                                                                     
{                                                                     
  Heap_Block *next = block_before->next;                              
                                                                      
  new_block->next = next;                                             
 200e47c:	c4 22 20 08 	st  %g2, [ %o0 + 8 ]                           
  new_block->prev = block_before;                                     
  block_before->next = new_block;                                     
  next->prev = new_block;                                             
 200e480:	d0 20 a0 0c 	st  %o0, [ %g2 + 0xc ]                         
  } 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;               
 200e484:	84 09 3f fe 	and  %g4, -2, %g2                              
    next_block->prev_size = block_size;                               
 200e488:	fa 22 00 1d 	st  %i5, [ %o0 + %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;               
 200e48c:	c4 20 e0 04 	st  %g2, [ %g3 + 4 ]                           
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
    if ( stats->max_free_blocks < stats->free_blocks ) {              
 200e490:	c4 06 20 3c 	ld  [ %i0 + 0x3c ], %g2                        
    block->size_and_flag = block_size | HEAP_PREV_BLOCK_USED;         
    next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;               
    next_block->prev_size = block_size;                               
                                                                      
    /* Statistics */                                                  
    ++stats->free_blocks;                                             
 200e494:	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;                                     
 200e498:	d0 26 20 08 	st  %o0, [ %i0 + 8 ]                           
    if ( stats->max_free_blocks < stats->free_blocks ) {              
 200e49c:	80 a0 40 02 	cmp  %g1, %g2                                  
 200e4a0:	08 bf ff c3 	bleu  200e3ac <_Heap_Free+0xc4>                
 200e4a4:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
      stats->max_free_blocks = stats->free_blocks;                    
 200e4a8:	10 bf ff c1 	b  200e3ac <_Heap_Free+0xc4>                   
 200e4ac:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
      next_block = _Heap_Block_at( prev_block, size );                
      _HAssert(!_Heap_Is_prev_used( next_block));                     
      next_block->prev_size = size;                                   
    } else {                      /* coalesce prev */                 
      uintptr_t const size = block_size + prev_size;                  
      prev_block->size_and_flag = size | HEAP_PREV_BLOCK_USED;        
 200e4b0:	82 16 a0 01 	or  %i2, 1, %g1                                
 200e4b4:	c2 26 e0 04 	st  %g1, [ %i3 + 4 ]                           
      next_block->size_and_flag &= ~HEAP_PREV_BLOCK_USED;             
 200e4b8:	c2 00 e0 04 	ld  [ %g3 + 4 ], %g1                           
      next_block->prev_size = size;                                   
 200e4bc:	f4 22 00 1d 	st  %i2, [ %o0 + %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;             
 200e4c0:	82 08 7f fe 	and  %g1, -2, %g1                              
 200e4c4:	10 bf ff ba 	b  200e3ac <_Heap_Free+0xc4>                   
 200e4c8:	c2 20 e0 04 	st  %g1, [ %g3 + 4 ]                           
                                                                      

0202f830 <_Heap_Get_free_information>: return &heap->free_list; } RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap ) { return _Heap_Free_list_head(heap)->next;
 202f830:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
)                                                                     
{                                                                     
  Heap_Block *the_block;                                              
  Heap_Block *const tail = _Heap_Free_list_tail(the_heap);            
                                                                      
  info->number = 0;                                                   
 202f834:	c0 22 40 00 	clr  [ %o1 ]                                   
  info->largest = 0;                                                  
 202f838:	c0 22 60 04 	clr  [ %o1 + 4 ]                               
  info->total = 0;                                                    
 202f83c:	c0 22 60 08 	clr  [ %o1 + 8 ]                               
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
 202f840:	88 10 20 01 	mov  1, %g4                                    
 202f844:	9a 10 20 00 	clr  %o5                                       
 202f848:	80 a2 00 01 	cmp  %o0, %g1                                  
 202f84c:	12 80 00 04 	bne  202f85c <_Heap_Get_free_information+0x2c> <== ALWAYS TAKEN
 202f850:	86 10 20 00 	clr  %g3                                       
 202f854:	30 80 00 10 	b,a   202f894 <_Heap_Get_free_information+0x64><== NOT EXECUTED
 202f858:	88 10 00 0c 	mov  %o4, %g4                                  
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 202f85c:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 202f860:	98 01 20 01 	add  %g4, 1, %o4                               
 202f864:	84 08 bf fe 	and  %g2, -2, %g2                              
    /* As we always coalesce free blocks, prev block must have been used. */
    _HAssert(_Heap_Is_prev_used(the_block));                          
                                                                      
    info->number++;                                                   
    info->total += the_size;                                          
    if ( info->largest < the_size )                                   
 202f868:	80 a0 80 0d 	cmp  %g2, %o5                                  
 202f86c:	08 80 00 03 	bleu  202f878 <_Heap_Get_free_information+0x48>
 202f870:	86 00 c0 02 	add  %g3, %g2, %g3                             
        info->largest = the_size;                                     
 202f874:	c4 22 60 04 	st  %g2, [ %o1 + 4 ]                           
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
      the_block != tail;                                              
      the_block = the_block->next)                                    
 202f878:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
                                                                      
  info->number = 0;                                                   
  info->largest = 0;                                                  
  info->total = 0;                                                    
                                                                      
  for(the_block = _Heap_Free_list_first(the_heap);                    
 202f87c:	80 a2 00 01 	cmp  %o0, %g1                                  
 202f880:	32 bf ff f6 	bne,a   202f858 <_Heap_Get_free_information+0x28>
 202f884:	da 02 60 04 	ld  [ %o1 + 4 ], %o5                           
 202f888:	c8 22 40 00 	st  %g4, [ %o1 ]                               
 202f88c:	81 c3 e0 08 	retl                                           
 202f890:	c6 22 60 08 	st  %g3, [ %o1 + 8 ]                           
 202f894:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

0200aed0 <_Heap_Greedy_allocate>: Heap_Block *_Heap_Greedy_allocate( Heap_Control *heap, const uintptr_t *block_sizes, size_t block_count ) {
 200aed0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Heap_Block *allocated_blocks = NULL;                                
  Heap_Block *blocks = NULL;                                          
  Heap_Block *current;                                                
  size_t i;                                                           
                                                                      
  for (i = 0; i < block_count; ++i) {                                 
 200aed4:	80 a6 a0 00 	cmp  %i2, 0                                    
 200aed8:	02 80 00 35 	be  200afac <_Heap_Greedy_allocate+0xdc>       
 200aedc:	b8 10 00 18 	mov  %i0, %i4                                  
 200aee0:	ba 10 20 00 	clr  %i5                                       
 200aee4:	b6 10 20 00 	clr  %i3                                       
  #include "config.h"                                                 
#endif                                                                
                                                                      
#include <rtems/score/heap.h>                                         
                                                                      
Heap_Block *_Heap_Greedy_allocate(                                    
 200aee8:	83 2f 60 02 	sll  %i5, 2, %g1                               
 * @brief See _Heap_Allocate_aligned_with_boundary() with alignment and
 * boundary equals zero.                                              
 */                                                                   
RTEMS_INLINE_ROUTINE void *_Heap_Allocate( Heap_Control *heap, uintptr_t size )
{                                                                     
  return _Heap_Allocate_aligned_with_boundary( heap, size, 0, 0 );    
 200aeec:	d2 06 40 01 	ld  [ %i1 + %g1 ], %o1                         
 200aef0:	94 10 20 00 	clr  %o2                                       
 200aef4:	96 10 20 00 	clr  %o3                                       
 200aef8:	40 00 1f d9 	call  2012e5c <_Heap_Allocate_aligned_with_boundary>
 200aefc:	90 10 00 1c 	mov  %i4, %o0                                  
  size_t i;                                                           
                                                                      
  for (i = 0; i < block_count; ++i) {                                 
    void *next = _Heap_Allocate( heap, block_sizes [i] );             
                                                                      
    if ( next != NULL ) {                                             
 200af00:	82 92 20 00 	orcc  %o0, 0, %g1                              
 200af04:	22 80 00 09 	be,a   200af28 <_Heap_Greedy_allocate+0x58>    <== NEVER TAKEN
 200af08:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200af0c:	d2 07 20 10 	ld  [ %i4 + 0x10 ], %o1                        
 200af10:	40 00 4d 62 	call  201e498 <.urem>                          
 200af14:	b0 00 7f f8 	add  %g1, -8, %i0                              
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
 200af18:	90 26 00 08 	sub  %i0, %o0, %o0                             
      Heap_Block *next_block = _Heap_Block_of_alloc_area(             
        (uintptr_t) next,                                             
        heap->page_size                                               
      );                                                              
                                                                      
      next_block->next = allocated_blocks;                            
 200af1c:	f6 22 20 08 	st  %i3, [ %o0 + 8 ]                           
 200af20:	b6 10 00 08 	mov  %o0, %i3                                  
  Heap_Block *allocated_blocks = NULL;                                
  Heap_Block *blocks = NULL;                                          
  Heap_Block *current;                                                
  size_t i;                                                           
                                                                      
  for (i = 0; i < block_count; ++i) {                                 
 200af24:	ba 07 60 01 	inc  %i5                                       
 200af28:	80 a7 40 1a 	cmp  %i5, %i2                                  
 200af2c:	12 bf ff f0 	bne  200aeec <_Heap_Greedy_allocate+0x1c>      
 200af30:	83 2f 60 02 	sll  %i5, 2, %g1                               
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200af34:	fa 07 20 08 	ld  [ %i4 + 8 ], %i5                           
      next_block->next = allocated_blocks;                            
      allocated_blocks = next_block;                                  
    }                                                                 
  }                                                                   
                                                                      
  while ( (current = _Heap_Free_list_first( heap )) != free_list_tail ) {
 200af38:	80 a7 00 1d 	cmp  %i4, %i5                                  
 200af3c:	02 80 00 17 	be  200af98 <_Heap_Greedy_allocate+0xc8>       <== NEVER TAKEN
 200af40:	b0 10 20 00 	clr  %i0                                       
 200af44:	10 80 00 03 	b  200af50 <_Heap_Greedy_allocate+0x80>        
 200af48:	b4 10 20 00 	clr  %i2                                       
 200af4c:	ba 10 00 01 	mov  %g1, %i5                                  
    - 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;                
 200af50:	d6 07 60 04 	ld  [ %i5 + 4 ], %o3                           
    _Heap_Block_allocate(                                             
 200af54:	92 10 00 1d 	mov  %i5, %o1                                  
 200af58:	96 0a ff fe 	and  %o3, -2, %o3                              
 200af5c:	94 07 60 08 	add  %i5, 8, %o2                               
 200af60:	90 10 00 1c 	mov  %i4, %o0                                  
 200af64:	40 00 00 e0 	call  200b2e4 <_Heap_Block_allocate>           
 200af68:	96 02 ff f8 	add  %o3, -8, %o3                              
      current,                                                        
      _Heap_Alloc_area_of_block( current ),                           
      _Heap_Block_size( current ) - HEAP_BLOCK_HEADER_SIZE            
    );                                                                
                                                                      
    current->next = blocks;                                           
 200af6c:	f4 27 60 08 	st  %i2, [ %i5 + 8 ]                           
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200af70:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
      next_block->next = allocated_blocks;                            
      allocated_blocks = next_block;                                  
    }                                                                 
  }                                                                   
                                                                      
  while ( (current = _Heap_Free_list_first( heap )) != free_list_tail ) {
 200af74:	80 a7 00 01 	cmp  %i4, %g1                                  
 200af78:	12 bf ff f5 	bne  200af4c <_Heap_Greedy_allocate+0x7c>      
 200af7c:	b4 10 00 1d 	mov  %i5, %i2                                  
 200af80:	10 80 00 06 	b  200af98 <_Heap_Greedy_allocate+0xc8>        
 200af84:	b0 10 00 1d 	mov  %i5, %i0                                  
  }                                                                   
                                                                      
  while ( allocated_blocks != NULL ) {                                
    current = allocated_blocks;                                       
    allocated_blocks = allocated_blocks->next;                        
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( current ) );
 200af88:	92 06 e0 08 	add  %i3, 8, %o1                               
 200af8c:	90 10 00 1c 	mov  %i4, %o0                                  
 200af90:	40 00 20 3e 	call  2013088 <_Heap_Free>                     
 200af94:	b6 10 00 1a 	mov  %i2, %i3                                  
                                                                      
    current->next = blocks;                                           
    blocks = current;                                                 
  }                                                                   
                                                                      
  while ( allocated_blocks != NULL ) {                                
 200af98:	80 a6 e0 00 	cmp  %i3, 0                                    
 200af9c:	32 bf ff fb 	bne,a   200af88 <_Heap_Greedy_allocate+0xb8>   
 200afa0:	f4 06 e0 08 	ld  [ %i3 + 8 ], %i2                           
    allocated_blocks = allocated_blocks->next;                        
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( current ) );
  }                                                                   
                                                                      
  return blocks;                                                      
}                                                                     
 200afa4:	81 c7 e0 08 	ret                                            
 200afa8:	81 e8 00 00 	restore                                        
  const uintptr_t *block_sizes,                                       
  size_t block_count                                                  
)                                                                     
{                                                                     
  Heap_Block *const free_list_tail = _Heap_Free_list_tail( heap );    
  Heap_Block *allocated_blocks = NULL;                                
 200afac:	10 bf ff e2 	b  200af34 <_Heap_Greedy_allocate+0x64>        
 200afb0:	b6 10 20 00 	clr  %i3                                       
                                                                      

0200afb4 <_Heap_Greedy_free>: void _Heap_Greedy_free( Heap_Control *heap, Heap_Block *blocks ) {
 200afb4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  while ( blocks != NULL ) {                                          
 200afb8:	80 a6 60 00 	cmp  %i1, 0                                    
 200afbc:	02 80 00 09 	be  200afe0 <_Heap_Greedy_free+0x2c>           <== NEVER TAKEN
 200afc0:	01 00 00 00 	nop                                            
    Heap_Block *current = blocks;                                     
                                                                      
    blocks = blocks->next;                                            
 200afc4:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           
    _Heap_Free( heap, (void *) _Heap_Alloc_area_of_block( current ) );
 200afc8:	92 06 60 08 	add  %i1, 8, %o1                               
 200afcc:	40 00 20 2f 	call  2013088 <_Heap_Free>                     
 200afd0:	90 10 00 18 	mov  %i0, %o0                                  
void _Heap_Greedy_free(                                               
  Heap_Control *heap,                                                 
  Heap_Block *blocks                                                  
)                                                                     
{                                                                     
  while ( blocks != NULL ) {                                          
 200afd4:	b2 97 60 00 	orcc  %i5, 0, %i1                              
 200afd8:	32 bf ff fc 	bne,a   200afc8 <_Heap_Greedy_free+0x14>       
 200afdc:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           
 200afe0:	81 c7 e0 08 	ret                                            
 200afe4:	81 e8 00 00 	restore                                        
                                                                      

02045b34 <_Heap_Iterate>: void _Heap_Iterate( Heap_Control *heap, Heap_Block_visitor visitor, void *visitor_arg ) {
 2045b34:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Heap_Block *current = heap->first_block;                            
 2045b38:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
  Heap_Block *end = heap->last_block;                                 
 2045b3c:	f8 06 20 24 	ld  [ %i0 + 0x24 ], %i4                        
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != end ) {                                 
 2045b40:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2045b44:	32 80 00 08 	bne,a   2045b64 <_Heap_Iterate+0x30>           <== ALWAYS TAKEN
 2045b48:	d2 00 60 04 	ld  [ %g1 + 4 ], %o1                           
 2045b4c:	30 80 00 10 	b,a   2045b8c <_Heap_Iterate+0x58>             <== NOT EXECUTED
 2045b50:	90 1a 20 01 	xor  %o0, 1, %o0                               
 2045b54:	80 8a 20 ff 	btst  0xff, %o0                                
 2045b58:	02 80 00 0d 	be  2045b8c <_Heap_Iterate+0x58>               <== NEVER TAKEN
 2045b5c:	01 00 00 00 	nop                                            
    - HEAP_BLOCK_HEADER_SIZE);                                        
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Block_size( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & ~HEAP_PREV_BLOCK_USED;                
 2045b60:	d2 00 60 04 	ld  [ %g1 + 4 ], %o1                           
    uintptr_t size = _Heap_Block_size( current );                     
    Heap_Block *next = _Heap_Block_at( current, size );               
    bool used = _Heap_Is_prev_used( next );                           
                                                                      
    stop = (*visitor)( current, size, used, visitor_arg );            
 2045b64:	90 10 00 01 	mov  %g1, %o0                                  
 2045b68:	92 0a 7f fe 	and  %o1, -2, %o1                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 2045b6c:	ba 00 40 09 	add  %g1, %o1, %i5                             
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 2045b70:	d4 07 60 04 	ld  [ %i5 + 4 ], %o2                           
 2045b74:	96 10 00 1a 	mov  %i2, %o3                                  
 2045b78:	9f c6 40 00 	call  %i1                                      
 2045b7c:	94 0a a0 01 	and  %o2, 1, %o2                               
{                                                                     
  Heap_Block *current = heap->first_block;                            
  Heap_Block *end = heap->last_block;                                 
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != end ) {                                 
 2045b80:	80 a7 00 1d 	cmp  %i4, %i5                                  
 2045b84:	12 bf ff f3 	bne  2045b50 <_Heap_Iterate+0x1c>              
 2045b88:	82 10 00 1d 	mov  %i5, %g1                                  
 2045b8c:	81 c7 e0 08 	ret                                            
 2045b90:	81 e8 00 00 	restore                                        
                                                                      

0200e5f4 <_Heap_Size_of_alloc_area>: bool _Heap_Size_of_alloc_area( Heap_Control *heap, void *alloc_begin_ptr, uintptr_t *alloc_size ) {
 200e5f4:	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);                                 
 200e5f8:	d2 06 20 10 	ld  [ %i0 + 0x10 ], %o1                        
 200e5fc:	40 00 2c a8 	call  201989c <.urem>                          
 200e600:	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           
 200e604:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
RTEMS_INLINE_ROUTINE uintptr_t _Heap_Align_down(                      
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return value - (value % alignment);                                 
 200e608:	84 06 7f f8 	add  %i1, -8, %g2                              
  uintptr_t alloc_begin,                                              
  uintptr_t page_size                                                 
)                                                                     
{                                                                     
  return (Heap_Block *) (_Heap_Align_down( alloc_begin, page_size )   
    - HEAP_BLOCK_HEADER_SIZE);                                        
 200e60c:	90 20 80 08 	sub  %g2, %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;             
 200e610:	80 a2 00 01 	cmp  %o0, %g1                                  
 200e614:	0a 80 00 16 	bcs  200e66c <_Heap_Size_of_alloc_area+0x78>   
 200e618:	84 10 20 00 	clr  %g2                                       
 200e61c:	c6 06 20 24 	ld  [ %i0 + 0x24 ], %g3                        
 200e620:	80 a2 00 03 	cmp  %o0, %g3                                  
 200e624:	18 80 00 13 	bgu  200e670 <_Heap_Size_of_alloc_area+0x7c>   <== NEVER TAKEN
 200e628:	b0 08 a0 ff 	and  %g2, 0xff, %i0                            
    - 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;                
 200e62c:	c8 02 20 04 	ld  [ %o0 + 4 ], %g4                           
 200e630:	88 09 3f fe 	and  %g4, -2, %g4                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200e634:	90 02 00 04 	add  %o0, %g4, %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;             
 200e638:	80 a0 40 08 	cmp  %g1, %o0                                  
 200e63c:	18 80 00 0d 	bgu  200e670 <_Heap_Size_of_alloc_area+0x7c>   <== NEVER TAKEN
 200e640:	01 00 00 00 	nop                                            
 200e644:	80 a0 c0 08 	cmp  %g3, %o0                                  
 200e648:	0a 80 00 0a 	bcs  200e670 <_Heap_Size_of_alloc_area+0x7c>   <== NEVER TAKEN
 200e64c:	01 00 00 00 	nop                                            
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 200e650:	c2 02 20 04 	ld  [ %o0 + 4 ], %g1                           
  block_size = _Heap_Block_size( block );                             
  next_block = _Heap_Block_at( block, block_size );                   
                                                                      
  if (                                                                
    !_Heap_Is_block_in_heap( heap, next_block )                       
      || !_Heap_Is_prev_used( next_block )                            
 200e654:	80 88 60 01 	btst  1, %g1                                   
 200e658:	02 80 00 06 	be  200e670 <_Heap_Size_of_alloc_area+0x7c>    <== NEVER TAKEN
 200e65c:	90 22 00 19 	sub  %o0, %i1, %o0                             
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
                                                                      
  return true;                                                        
 200e660:	84 10 20 01 	mov  1, %g2                                    
      || !_Heap_Is_prev_used( next_block )                            
  ) {                                                                 
    return false;                                                     
  }                                                                   
                                                                      
  *alloc_size = (uintptr_t) next_block + HEAP_ALLOC_BONUS - alloc_begin;
 200e664:	90 02 20 04 	add  %o0, 4, %o0                               
 200e668:	d0 26 80 00 	st  %o0, [ %i2 ]                               
 200e66c:	b0 08 a0 ff 	and  %g2, 0xff, %i0                            
 200e670:	81 c7 e0 08 	ret                                            
 200e674:	81 e8 00 00 	restore                                        
                                                                      

02009f58 <_Heap_Walk>: bool _Heap_Walk( Heap_Control *heap, int source, bool dump ) {
 2009f58:	9d e3 bf 80 	save  %sp, -128, %sp                           
  uintptr_t const page_size = heap->page_size;                        
 2009f5c:	f6 06 20 10 	ld  [ %i0 + 0x10 ], %i3                        
  uintptr_t const min_block_size = heap->min_block_size;              
 2009f60:	e0 06 20 14 	ld  [ %i0 + 0x14 ], %l0                        
  Heap_Block *const first_block = heap->first_block;                  
 2009f64:	f8 06 20 20 	ld  [ %i0 + 0x20 ], %i4                        
  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;                      
 2009f68:	80 a6 a0 00 	cmp  %i2, 0                                    
 2009f6c:	02 80 00 0c 	be  2009f9c <_Heap_Walk+0x44>                  
 2009f70:	e2 06 20 24 	ld  [ %i0 + 0x24 ], %l1                        
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 2009f74:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
 2009f78:	c4 00 62 f0 	ld  [ %g1 + 0x2f0 ], %g2	! 2020ef0 <_System_state_Current>
  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;                      
 2009f7c:	07 00 80 27 	sethi  %hi(0x2009c00), %g3                     
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
 2009f80:	82 10 20 01 	mov  1, %g1                                    
  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;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 2009f84:	80 a0 a0 03 	cmp  %g2, 3                                    
 2009f88:	02 80 00 0c 	be  2009fb8 <_Heap_Walk+0x60>                  <== ALWAYS TAKEN
 2009f8c:	ae 10 e2 f4 	or  %g3, 0x2f4, %l7                            
 2009f90:	b0 08 60 ff 	and  %g1, 0xff, %i0                            
 2009f94:	81 c7 e0 08 	ret                                            
 2009f98:	81 e8 00 00 	restore                                        
 2009f9c:	03 00 80 83 	sethi  %hi(0x2020c00), %g1                     
 2009fa0:	c4 00 62 f0 	ld  [ %g1 + 0x2f0 ], %g2	! 2020ef0 <_System_state_Current>
  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;                      
 2009fa4:	07 00 80 27 	sethi  %hi(0x2009c00), %g3                     
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
 2009fa8:	82 10 20 01 	mov  1, %g1                                    
  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;                      
                                                                      
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
 2009fac:	80 a0 a0 03 	cmp  %g2, 3                                    
 2009fb0:	12 bf ff f8 	bne  2009f90 <_Heap_Walk+0x38>                 
 2009fb4:	ae 10 e2 ec 	or  %g3, 0x2ec, %l7                            
  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)(                                                         
 2009fb8:	da 06 20 18 	ld  [ %i0 + 0x18 ], %o5                        
 2009fbc:	c8 06 20 1c 	ld  [ %i0 + 0x1c ], %g4                        
 2009fc0:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           
 2009fc4:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2009fc8:	90 10 00 19 	mov  %i1, %o0                                  
 2009fcc:	c8 23 a0 5c 	st  %g4, [ %sp + 0x5c ]                        
 2009fd0:	f8 23 a0 60 	st  %i4, [ %sp + 0x60 ]                        
 2009fd4:	e2 23 a0 64 	st  %l1, [ %sp + 0x64 ]                        
 2009fd8:	c4 23 a0 68 	st  %g2, [ %sp + 0x68 ]                        
 2009fdc:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 2009fe0:	92 10 20 00 	clr  %o1                                       
 2009fe4:	96 10 00 1b 	mov  %i3, %o3                                  
 2009fe8:	15 00 80 75 	sethi  %hi(0x201d400), %o2                     
 2009fec:	98 10 00 10 	mov  %l0, %o4                                  
 2009ff0:	9f c5 c0 00 	call  %l7                                      
 2009ff4:	94 12 a3 d8 	or  %o2, 0x3d8, %o2                            
    heap->area_begin, heap->area_end,                                 
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
 2009ff8:	80 a6 e0 00 	cmp  %i3, 0                                    
 2009ffc:	02 80 00 2a 	be  200a0a4 <_Heap_Walk+0x14c>                 
 200a000:	80 8e e0 07 	btst  7, %i3                                   
    (*printer)( source, true, "page size is zero\n" );                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
 200a004:	12 80 00 2f 	bne  200a0c0 <_Heap_Walk+0x168>                
 200a008:	90 10 00 10 	mov  %l0, %o0                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 200a00c:	7f ff de d9 	call  2001b70 <.urem>                          
 200a010:	92 10 00 1b 	mov  %i3, %o1                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
 200a014:	80 a2 20 00 	cmp  %o0, 0                                    
 200a018:	12 80 00 32 	bne  200a0e0 <_Heap_Walk+0x188>                
 200a01c:	90 07 20 08 	add  %i4, 8, %o0                               
 200a020:	7f ff de d4 	call  2001b70 <.urem>                          
 200a024:	92 10 00 1b 	mov  %i3, %o1                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 200a028:	80 a2 20 00 	cmp  %o0, 0                                    
 200a02c:	32 80 00 35 	bne,a   200a100 <_Heap_Walk+0x1a8>             
 200a030:	90 10 00 19 	mov  %i1, %o0                                  
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 200a034:	ec 07 20 04 	ld  [ %i4 + 4 ], %l6                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
 200a038:	b4 8d a0 01 	andcc  %l6, 1, %i2                             
 200a03c:	22 80 00 38 	be,a   200a11c <_Heap_Walk+0x1c4>              
 200a040:	90 10 00 19 	mov  %i1, %o0                                  
    - 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;                
 200a044:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
 200a048:	82 08 7f fe 	and  %g1, -2, %g1                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200a04c:	82 04 40 01 	add  %l1, %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;                 
 200a050:	fa 00 60 04 	ld  [ %g1 + 4 ], %i5                           
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
 200a054:	80 8f 60 01 	btst  1, %i5                                   
 200a058:	02 80 00 0c 	be  200a088 <_Heap_Walk+0x130>                 
 200a05c:	80 a7 00 01 	cmp  %i4, %g1                                  
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if (                                                                
 200a060:	02 80 00 35 	be  200a134 <_Heap_Walk+0x1dc>                 
 200a064:	90 10 00 19 	mov  %i1, %o0                                  
    _Heap_Block_at( last_block, _Heap_Block_size( last_block ) ) != first_block
  ) {                                                                 
    (*printer)(                                                       
 200a068:	92 10 20 01 	mov  1, %o1                                    
 200a06c:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a070:	9f c5 c0 00 	call  %l7                                      
 200a074:	94 12 a1 50 	or  %o2, 0x150, %o2	! 201d950 <__log2table+0x2d8>
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a078:	82 10 20 00 	clr  %g1                                       
 200a07c:	b0 08 60 ff 	and  %g1, 0xff, %i0                            
 200a080:	81 c7 e0 08 	ret                                            
 200a084:	81 e8 00 00 	restore                                        
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( _Heap_Is_free( last_block ) ) {                                
    (*printer)(                                                       
 200a088:	90 10 00 19 	mov  %i1, %o0                                  
 200a08c:	92 10 20 01 	mov  1, %o1                                    
 200a090:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a094:	9f c5 c0 00 	call  %l7                                      
 200a098:	94 12 a1 38 	or  %o2, 0x138, %o2	! 201d938 <__log2table+0x2c0>
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a09c:	10 bf ff f8 	b  200a07c <_Heap_Walk+0x124>                  
 200a0a0:	82 10 20 00 	clr  %g1                                       
    first_block, last_block,                                          
    first_free_block, last_free_block                                 
  );                                                                  
                                                                      
  if ( page_size == 0 ) {                                             
    (*printer)( source, true, "page size is zero\n" );                
 200a0a4:	90 10 00 19 	mov  %i1, %o0                                  
 200a0a8:	92 10 20 01 	mov  1, %o1                                    
 200a0ac:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a0b0:	9f c5 c0 00 	call  %l7                                      
 200a0b4:	94 12 a0 70 	or  %o2, 0x70, %o2	! 201d870 <__log2table+0x1f8>
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a0b8:	10 bf ff f1 	b  200a07c <_Heap_Walk+0x124>                  
 200a0bc:	82 10 20 00 	clr  %g1                                       
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Addresses_Is_aligned( (void *) page_size ) ) {               
    (*printer)(                                                       
 200a0c0:	90 10 00 19 	mov  %i1, %o0                                  
 200a0c4:	92 10 20 01 	mov  1, %o1                                    
 200a0c8:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a0cc:	96 10 00 1b 	mov  %i3, %o3                                  
 200a0d0:	9f c5 c0 00 	call  %l7                                      
 200a0d4:	94 12 a0 88 	or  %o2, 0x88, %o2                             
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a0d8:	10 bf ff e9 	b  200a07c <_Heap_Walk+0x124>                  
 200a0dc:	82 10 20 00 	clr  %g1                                       
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_aligned( min_block_size, page_size ) ) {             
    (*printer)(                                                       
 200a0e0:	90 10 00 19 	mov  %i1, %o0                                  
 200a0e4:	92 10 20 01 	mov  1, %o1                                    
 200a0e8:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a0ec:	96 10 00 10 	mov  %l0, %o3                                  
 200a0f0:	9f c5 c0 00 	call  %l7                                      
 200a0f4:	94 12 a0 a8 	or  %o2, 0xa8, %o2                             
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a0f8:	10 bf ff e1 	b  200a07c <_Heap_Walk+0x124>                  
 200a0fc:	82 10 20 00 	clr  %g1                                       
  }                                                                   
                                                                      
  if (                                                                
    !_Heap_Is_aligned( _Heap_Alloc_area_of_block( first_block ), page_size )
  ) {                                                                 
    (*printer)(                                                       
 200a100:	92 10 20 01 	mov  1, %o1                                    
 200a104:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a108:	96 10 00 1c 	mov  %i4, %o3                                  
 200a10c:	9f c5 c0 00 	call  %l7                                      
 200a110:	94 12 a0 d0 	or  %o2, 0xd0, %o2                             
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a114:	10 bf ff da 	b  200a07c <_Heap_Walk+0x124>                  
 200a118:	82 10 20 00 	clr  %g1                                       
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Is_prev_used( first_block ) ) {                         
    (*printer)(                                                       
 200a11c:	92 10 20 01 	mov  1, %o1                                    
 200a120:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a124:	9f c5 c0 00 	call  %l7                                      
 200a128:	94 12 a1 08 	or  %o2, 0x108, %o2	! 201d908 <__log2table+0x290>
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a12c:	10 bf ff d4 	b  200a07c <_Heap_Walk+0x124>                  
 200a130:	82 10 20 00 	clr  %g1                                       
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200a134:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
  int source,                                                         
  Heap_Walk_printer printer,                                          
  Heap_Control *heap                                                  
)                                                                     
{                                                                     
  uintptr_t const page_size = heap->page_size;                        
 200a138:	e8 06 20 10 	ld  [ %i0 + 0x10 ], %l4                        
  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 ) {                            
 200a13c:	80 a6 00 1d 	cmp  %i0, %i5                                  
 200a140:	02 80 00 0d 	be  200a174 <_Heap_Walk+0x21c>                 
 200a144:	da 06 20 20 	ld  [ %i0 + 0x20 ], %o5                        
  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;             
 200a148:	80 a3 40 1d 	cmp  %o5, %i5                                  
 200a14c:	28 80 00 bf 	bleu,a   200a448 <_Heap_Walk+0x4f0>            <== ALWAYS TAKEN
 200a150:	e6 06 20 24 	ld  [ %i0 + 0x24 ], %l3                        
    if ( !_Heap_Is_block_in_heap( heap, free_block ) ) {              
      (*printer)(                                                     
 200a154:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 200a158:	92 10 20 01 	mov  1, %o1                                    
 200a15c:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a160:	96 10 00 1d 	mov  %i5, %o3                                  
 200a164:	9f c5 c0 00 	call  %l7                                      
 200a168:	94 12 a1 80 	or  %o2, 0x180, %o2                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a16c:	10 bf ff c4 	b  200a07c <_Heap_Walk+0x124>                  
 200a170:	82 10 20 00 	clr  %g1                                       
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 200a174:	27 00 80 76 	sethi  %hi(0x201d800), %l3                     
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
 200a178:	25 00 80 76 	sethi  %hi(0x201d800), %l2                     
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 200a17c:	aa 10 00 1c 	mov  %i4, %l5                                  
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 200a180:	a6 14 e3 b0 	or  %l3, 0x3b0, %l3                            
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
      (*printer)(                                                     
 200a184:	a4 14 a3 98 	or  %l2, 0x398, %l2                            
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
 200a188:	29 00 80 76 	sethi  %hi(0x201d800), %l4                     
    - 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;                
 200a18c:	ac 0d bf fe 	and  %l6, -2, %l6                              
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Block_at(                      
  const Heap_Block *block,                                            
  uintptr_t offset                                                    
)                                                                     
{                                                                     
  return (Heap_Block *) ((uintptr_t) block + offset);                 
 200a190:	ba 05 80 15 	add  %l6, %l5, %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;             
 200a194:	80 a3 40 1d 	cmp  %o5, %i5                                  
 200a198:	28 80 00 0b 	bleu,a   200a1c4 <_Heap_Walk+0x26c>            <== ALWAYS TAKEN
 200a19c:	de 06 20 24 	ld  [ %i0 + 0x24 ], %o7                        
    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 ) ) {              
      (*printer)(                                                     
 200a1a0:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 200a1a4:	92 10 20 01 	mov  1, %o1                                    
 200a1a8:	96 10 00 15 	mov  %l5, %o3                                  
 200a1ac:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a1b0:	98 10 00 1d 	mov  %i5, %o4                                  
 200a1b4:	9f c5 c0 00 	call  %l7                                      
 200a1b8:	94 12 a2 28 	or  %o2, 0x228, %o2                            
        "block 0x%08x: next block 0x%08x not in heap\n",              
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
 200a1bc:	10 bf ff 75 	b  2009f90 <_Heap_Walk+0x38>                   
 200a1c0:	82 10 20 00 	clr  %g1                                       
 200a1c4:	80 a3 c0 1d 	cmp  %o7, %i5                                  
 200a1c8:	0a bf ff f7 	bcs  200a1a4 <_Heap_Walk+0x24c>                
 200a1cc:	90 10 00 19 	mov  %i1, %o0                                  
    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;               
 200a1d0:	9e 1d 40 11 	xor  %l5, %l1, %o7                             
 200a1d4:	80 a0 00 0f 	cmp  %g0, %o7                                  
 200a1d8:	9a 40 20 00 	addx  %g0, 0, %o5                              
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 200a1dc:	90 10 00 16 	mov  %l6, %o0                                  
 200a1e0:	da 27 bf fc 	st  %o5, [ %fp + -4 ]                          
 200a1e4:	7f ff de 63 	call  2001b70 <.urem>                          
 200a1e8:	92 10 00 1b 	mov  %i3, %o1                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
 200a1ec:	80 a2 20 00 	cmp  %o0, 0                                    
 200a1f0:	02 80 00 18 	be  200a250 <_Heap_Walk+0x2f8>                 
 200a1f4:	da 07 bf fc 	ld  [ %fp + -4 ], %o5                          
 200a1f8:	80 8b 60 ff 	btst  0xff, %o5                                
 200a1fc:	12 80 00 8b 	bne  200a428 <_Heap_Walk+0x4d0>                
 200a200:	90 10 00 19 	mov  %i1, %o0                                  
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 200a204:	de 07 60 04 	ld  [ %i5 + 4 ], %o7                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_prev_used( next_block ) ) {                        
 200a208:	80 8b e0 01 	btst  1, %o7                                   
 200a20c:	02 80 00 2b 	be  200a2b8 <_Heap_Walk+0x360>                 
 200a210:	80 a6 a0 00 	cmp  %i2, 0                                    
      if ( !_Heap_Walk_check_free_block( source, printer, heap, block ) ) {
        return false;                                                 
      }                                                               
    } else if (prev_used) {                                           
 200a214:	22 80 00 21 	be,a   200a298 <_Heap_Walk+0x340>              
 200a218:	da 05 40 00 	ld  [ %l5 ], %o5                               
      (*printer)(                                                     
 200a21c:	90 10 00 19 	mov  %i1, %o0                                  
 200a220:	92 10 20 00 	clr  %o1                                       
 200a224:	94 10 00 12 	mov  %l2, %o2                                  
 200a228:	96 10 00 15 	mov  %l5, %o3                                  
 200a22c:	9f c5 c0 00 	call  %l7                                      
 200a230:	98 10 00 16 	mov  %l6, %o4                                  
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
 200a234:	80 a7 00 1d 	cmp  %i4, %i5                                  
 200a238:	02 80 00 51 	be  200a37c <_Heap_Walk+0x424>                 
 200a23c:	aa 10 00 1d 	mov  %i5, %l5                                  
 200a240:	ec 07 60 04 	ld  [ %i5 + 4 ], %l6                           
 200a244:	da 06 20 20 	ld  [ %i0 + 0x20 ], %o5                        
 200a248:	10 bf ff d1 	b  200a18c <_Heap_Walk+0x234>                  
 200a24c:	b4 0d a0 01 	and  %l6, 1, %i2                               
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
 200a250:	80 a5 80 10 	cmp  %l6, %l0                                  
 200a254:	0a 80 00 69 	bcs  200a3f8 <_Heap_Walk+0x4a0>                
 200a258:	80 8b 60 ff 	btst  0xff, %o5                                
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( next_block_begin <= block_begin && is_not_last_block ) {     
 200a25c:	80 a5 40 1d 	cmp  %l5, %i5                                  
 200a260:	2a bf ff ea 	bcs,a   200a208 <_Heap_Walk+0x2b0>             
 200a264:	de 07 60 04 	ld  [ %i5 + 4 ], %o7                           
 200a268:	80 8b 60 ff 	btst  0xff, %o5                                
 200a26c:	22 bf ff e7 	be,a   200a208 <_Heap_Walk+0x2b0>              
 200a270:	de 07 60 04 	ld  [ %i5 + 4 ], %o7                           
      (*printer)(                                                     
 200a274:	90 10 00 19 	mov  %i1, %o0                                  
 200a278:	92 10 20 01 	mov  1, %o1                                    
 200a27c:	96 10 00 15 	mov  %l5, %o3                                  
 200a280:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a284:	98 10 00 1d 	mov  %i5, %o4                                  
 200a288:	9f c5 c0 00 	call  %l7                                      
 200a28c:	94 12 a2 b8 	or  %o2, 0x2b8, %o2                            
        "block 0x%08x: next block 0x%08x is not a successor\n",       
        block,                                                        
        next_block                                                    
      );                                                              
                                                                      
      return false;                                                   
 200a290:	10 bf ff 40 	b  2009f90 <_Heap_Walk+0x38>                   
 200a294:	82 10 20 00 	clr  %g1                                       
        "block 0x%08x: size %u\n",                                    
        block,                                                        
        block_size                                                    
      );                                                              
    } else {                                                          
      (*printer)(                                                     
 200a298:	96 10 00 15 	mov  %l5, %o3                                  
 200a29c:	90 10 00 19 	mov  %i1, %o0                                  
 200a2a0:	92 10 20 00 	clr  %o1                                       
 200a2a4:	94 10 00 13 	mov  %l3, %o2                                  
 200a2a8:	9f c5 c0 00 	call  %l7                                      
 200a2ac:	98 10 00 16 	mov  %l6, %o4                                  
        block->prev_size                                              
      );                                                              
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
 200a2b0:	10 bf ff e2 	b  200a238 <_Heap_Walk+0x2e0>                  
 200a2b4:	80 a7 00 1d 	cmp  %i4, %i5                                  
    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 ?                                 
 200a2b8:	da 05 60 0c 	ld  [ %l5 + 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)(                                                         
 200a2bc:	de 06 20 08 	ld  [ %i0 + 8 ], %o7                           
 200a2c0:	80 a3 c0 0d 	cmp  %o7, %o5                                  
 200a2c4:	02 80 00 3d 	be  200a3b8 <_Heap_Walk+0x460>                 
 200a2c8:	d8 06 20 0c 	ld  [ %i0 + 0xc ], %o4                         
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
 200a2cc:	80 a6 00 0d 	cmp  %i0, %o5                                  
 200a2d0:	02 80 00 40 	be  200a3d0 <_Heap_Walk+0x478>                 
 200a2d4:	96 15 23 60 	or  %l4, 0x360, %o3                            
    block->next,                                                      
    block->next == last_free_block ?                                  
 200a2d8:	de 05 60 08 	ld  [ %l5 + 8 ], %o7                           
  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)(                                                         
 200a2dc:	80 a3 00 0f 	cmp  %o4, %o7                                  
 200a2e0:	02 80 00 33 	be  200a3ac <_Heap_Walk+0x454>                 
 200a2e4:	80 a6 00 0f 	cmp  %i0, %o7                                  
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
 200a2e8:	02 80 00 37 	be  200a3c4 <_Heap_Walk+0x46c>                 
 200a2ec:	98 15 23 60 	or  %l4, 0x360, %o4                            
  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)(                                                         
 200a2f0:	d6 23 a0 5c 	st  %o3, [ %sp + 0x5c ]                        
 200a2f4:	d8 23 a0 64 	st  %o4, [ %sp + 0x64 ]                        
 200a2f8:	de 23 a0 60 	st  %o7, [ %sp + 0x60 ]                        
 200a2fc:	90 10 00 19 	mov  %i1, %o0                                  
 200a300:	92 10 20 00 	clr  %o1                                       
 200a304:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a308:	96 10 00 15 	mov  %l5, %o3                                  
 200a30c:	94 12 a2 f0 	or  %o2, 0x2f0, %o2                            
 200a310:	9f c5 c0 00 	call  %l7                                      
 200a314:	98 10 00 16 	mov  %l6, %o4                                  
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
 200a318:	da 07 40 00 	ld  [ %i5 ], %o5                               
 200a31c:	80 a5 80 0d 	cmp  %l6, %o5                                  
 200a320:	12 80 00 19 	bne  200a384 <_Heap_Walk+0x42c>                
 200a324:	80 a6 a0 00 	cmp  %i2, 0                                    
    );                                                                
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
 200a328:	02 80 00 2d 	be  200a3dc <_Heap_Walk+0x484>                 
 200a32c:	90 10 00 19 	mov  %i1, %o0                                  
  return &heap->free_list;                                            
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE Heap_Block *_Heap_Free_list_first( Heap_Control *heap )
{                                                                     
  return _Heap_Free_list_head(heap)->next;                            
 200a330:	c4 06 20 08 	ld  [ %i0 + 8 ], %g2                           
)                                                                     
{                                                                     
  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 ) {                            
 200a334:	80 a6 00 02 	cmp  %i0, %g2                                  
 200a338:	02 80 00 0b 	be  200a364 <_Heap_Walk+0x40c>                 <== NEVER TAKEN
 200a33c:	92 10 20 01 	mov  1, %o1                                    
    if ( free_block == block ) {                                      
 200a340:	80 a5 40 02 	cmp  %l5, %g2                                  
 200a344:	02 bf ff bd 	be  200a238 <_Heap_Walk+0x2e0>                 
 200a348:	80 a7 00 1d 	cmp  %i4, %i5                                  
      return true;                                                    
    }                                                                 
    free_block = free_block->next;                                    
 200a34c:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
)                                                                     
{                                                                     
  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 ) {                            
 200a350:	80 a6 00 02 	cmp  %i0, %g2                                  
 200a354:	12 bf ff fc 	bne  200a344 <_Heap_Walk+0x3ec>                
 200a358:	80 a5 40 02 	cmp  %l5, %g2                                  
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !_Heap_Walk_is_in_free_list( heap, block ) ) {                 
    (*printer)(                                                       
 200a35c:	90 10 00 19 	mov  %i1, %o0                                  
 200a360:	92 10 20 01 	mov  1, %o1                                    
 200a364:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a368:	96 10 00 15 	mov  %l5, %o3                                  
 200a36c:	9f c5 c0 00 	call  %l7                                      
 200a370:	94 12 a3 d8 	or  %o2, 0x3d8, %o2                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a374:	10 bf ff 42 	b  200a07c <_Heap_Walk+0x124>                  
 200a378:	82 10 20 00 	clr  %g1                                       
    }                                                                 
                                                                      
    block = next_block;                                               
  } while ( block != first_block );                                   
                                                                      
  return true;                                                        
 200a37c:	10 bf ff 05 	b  2009f90 <_Heap_Walk+0x38>                   
 200a380:	82 10 20 01 	mov  1, %g1                                    
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
  );                                                                  
                                                                      
  if ( block_size != next_block->prev_size ) {                        
    (*printer)(                                                       
 200a384:	fa 23 a0 5c 	st  %i5, [ %sp + 0x5c ]                        
 200a388:	90 10 00 19 	mov  %i1, %o0                                  
 200a38c:	92 10 20 01 	mov  1, %o1                                    
 200a390:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a394:	96 10 00 15 	mov  %l5, %o3                                  
 200a398:	94 12 a3 28 	or  %o2, 0x328, %o2                            
 200a39c:	9f c5 c0 00 	call  %l7                                      
 200a3a0:	98 10 00 16 	mov  %l6, %o4                                  
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a3a4:	10 bf ff 36 	b  200a07c <_Heap_Walk+0x124>                  
 200a3a8:	82 10 20 00 	clr  %g1                                       
  Heap_Block *const last_free_block = _Heap_Free_list_last( heap );   
  bool const prev_used = _Heap_Is_prev_used( block );                 
  uintptr_t const block_size = _Heap_Block_size( block );             
  Heap_Block *const next_block = _Heap_Block_at( block, block_size ); 
                                                                      
  (*printer)(                                                         
 200a3ac:	03 00 80 75 	sethi  %hi(0x201d400), %g1                     
 200a3b0:	10 bf ff d0 	b  200a2f0 <_Heap_Walk+0x398>                  
 200a3b4:	98 10 63 b8 	or  %g1, 0x3b8, %o4	! 201d7b8 <__log2table+0x140>
 200a3b8:	03 00 80 75 	sethi  %hi(0x201d400), %g1                     
 200a3bc:	10 bf ff c7 	b  200a2d8 <_Heap_Walk+0x380>                  
 200a3c0:	96 10 63 98 	or  %g1, 0x398, %o3	! 201d798 <__log2table+0x120>
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
    block->next,                                                      
    block->next == last_free_block ?                                  
      " (= last free)"                                                
        : (block->next == free_list_tail ? " (= tail)" : "")          
 200a3c4:	03 00 80 75 	sethi  %hi(0x201d400), %g1                     
 200a3c8:	10 bf ff ca 	b  200a2f0 <_Heap_Walk+0x398>                  
 200a3cc:	98 10 63 c8 	or  %g1, 0x3c8, %o4	! 201d7c8 <__log2table+0x150>
    block,                                                            
    block_size,                                                       
    block->prev,                                                      
    block->prev == first_free_block ?                                 
      " (= first free)"                                               
        : (block->prev == free_list_head ? " (= head)" : ""),         
 200a3d0:	17 00 80 75 	sethi  %hi(0x201d400), %o3                     
 200a3d4:	10 bf ff c1 	b  200a2d8 <_Heap_Walk+0x380>                  
 200a3d8:	96 12 e3 a8 	or  %o3, 0x3a8, %o3	! 201d7a8 <__log2table+0x130>
                                                                      
    return false;                                                     
  }                                                                   
                                                                      
  if ( !prev_used ) {                                                 
    (*printer)(                                                       
 200a3dc:	92 10 20 01 	mov  1, %o1                                    
 200a3e0:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a3e4:	96 10 00 15 	mov  %l5, %o3                                  
 200a3e8:	9f c5 c0 00 	call  %l7                                      
 200a3ec:	94 12 a3 68 	or  %o2, 0x368, %o2                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a3f0:	10 bf ff 23 	b  200a07c <_Heap_Walk+0x124>                  
 200a3f4:	82 10 20 00 	clr  %g1                                       
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( block_size < min_block_size && is_not_last_block ) {         
 200a3f8:	02 bf ff 9a 	be  200a260 <_Heap_Walk+0x308>                 <== NEVER TAKEN
 200a3fc:	80 a5 40 1d 	cmp  %l5, %i5                                  
      (*printer)(                                                     
 200a400:	90 10 00 19 	mov  %i1, %o0                                  
 200a404:	92 10 20 01 	mov  1, %o1                                    
 200a408:	96 10 00 15 	mov  %l5, %o3                                  
 200a40c:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a410:	98 10 00 16 	mov  %l6, %o4                                  
 200a414:	94 12 a2 88 	or  %o2, 0x288, %o2                            
 200a418:	9f c5 c0 00 	call  %l7                                      
 200a41c:	9a 10 00 10 	mov  %l0, %o5                                  
        block,                                                        
        block_size,                                                   
        min_block_size                                                
      );                                                              
                                                                      
      return false;                                                   
 200a420:	10 bf fe dc 	b  2009f90 <_Heap_Walk+0x38>                   
 200a424:	82 10 20 00 	clr  %g1                                       
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( !_Heap_Is_aligned( block_size, page_size ) && is_not_last_block ) {
      (*printer)(                                                     
 200a428:	92 10 20 01 	mov  1, %o1                                    
 200a42c:	96 10 00 15 	mov  %l5, %o3                                  
 200a430:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a434:	98 10 00 16 	mov  %l6, %o4                                  
 200a438:	9f c5 c0 00 	call  %l7                                      
 200a43c:	94 12 a2 58 	or  %o2, 0x258, %o2                            
        "block 0x%08x: block size %u not page aligned\n",             
        block,                                                        
        block_size                                                    
      );                                                              
                                                                      
      return false;                                                   
 200a440:	10 bf fe d4 	b  2009f90 <_Heap_Walk+0x38>                   
 200a444:	82 10 20 00 	clr  %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;             
 200a448:	80 a4 c0 1d 	cmp  %l3, %i5                                  
 200a44c:	0a bf ff 43 	bcs  200a158 <_Heap_Walk+0x200>                <== NEVER TAKEN
 200a450:	90 10 00 19 	mov  %i1, %o0                                  
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 200a454:	da 27 bf fc 	st  %o5, [ %fp + -4 ]                          
 200a458:	90 07 60 08 	add  %i5, 8, %o0                               
 200a45c:	7f ff dd c5 	call  2001b70 <.urem>                          
 200a460:	92 10 00 14 	mov  %l4, %o1                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 200a464:	80 a2 20 00 	cmp  %o0, 0                                    
 200a468:	12 80 00 36 	bne  200a540 <_Heap_Walk+0x5e8>                <== NEVER TAKEN
 200a46c:	da 07 bf fc 	ld  [ %fp + -4 ], %o5                          
    - 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;                
 200a470:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 200a474:	82 08 7f fe 	and  %g1, -2, %g1                              
  block->size_and_flag = size | flag;                                 
}                                                                     
                                                                      
RTEMS_INLINE_ROUTINE bool _Heap_Is_prev_used( const Heap_Block *block )
{                                                                     
  return block->size_and_flag & HEAP_PREV_BLOCK_USED;                 
 200a478:	82 07 40 01 	add  %i5, %g1, %g1                             
 200a47c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 200a480:	80 88 60 01 	btst  1, %g1                                   
 200a484:	12 80 00 27 	bne  200a520 <_Heap_Walk+0x5c8>                <== NEVER TAKEN
 200a488:	a4 10 00 1d 	mov  %i5, %l2                                  
 200a48c:	10 80 00 19 	b  200a4f0 <_Heap_Walk+0x598>                  
 200a490:	82 10 00 18 	mov  %i0, %g1                                  
  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 ) {                            
 200a494:	80 a6 00 1d 	cmp  %i0, %i5                                  
 200a498:	02 bf ff 37 	be  200a174 <_Heap_Walk+0x21c>                 
 200a49c:	80 a7 40 0d 	cmp  %i5, %o5                                  
  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;             
 200a4a0:	0a bf ff 2e 	bcs  200a158 <_Heap_Walk+0x200>                
 200a4a4:	90 10 00 19 	mov  %i1, %o0                                  
 200a4a8:	80 a7 40 13 	cmp  %i5, %l3                                  
 200a4ac:	18 bf ff 2c 	bgu  200a15c <_Heap_Walk+0x204>                <== NEVER TAKEN
 200a4b0:	92 10 20 01 	mov  1, %o1                                    
RTEMS_INLINE_ROUTINE bool _Heap_Is_aligned(                           
  uintptr_t value,                                                    
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return (value % alignment) == 0;                                    
 200a4b4:	da 27 bf fc 	st  %o5, [ %fp + -4 ]                          
 200a4b8:	90 07 60 08 	add  %i5, 8, %o0                               
 200a4bc:	7f ff dd ad 	call  2001b70 <.urem>                          
 200a4c0:	92 10 00 14 	mov  %l4, %o1                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if (                                                              
 200a4c4:	80 a2 20 00 	cmp  %o0, 0                                    
 200a4c8:	12 80 00 1e 	bne  200a540 <_Heap_Walk+0x5e8>                
 200a4cc:	da 07 bf fc 	ld  [ %fp + -4 ], %o5                          
    - 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;                
 200a4d0:	de 07 60 04 	ld  [ %i5 + 4 ], %o7                           
 200a4d4:	82 10 00 12 	mov  %l2, %g1                                  
 200a4d8:	9e 0b ff fe 	and  %o7, -2, %o7                              
  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;                 
 200a4dc:	9e 03 c0 1d 	add  %o7, %i5, %o7                             
 200a4e0:	de 03 e0 04 	ld  [ %o7 + 4 ], %o7                           
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
 200a4e4:	80 8b e0 01 	btst  1, %o7                                   
 200a4e8:	12 80 00 0e 	bne  200a520 <_Heap_Walk+0x5c8>                
 200a4ec:	a4 10 00 1d 	mov  %i5, %l2                                  
      );                                                              
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( free_block->prev != prev_block ) {                           
 200a4f0:	d8 07 60 0c 	ld  [ %i5 + 0xc ], %o4                         
 200a4f4:	80 a3 00 01 	cmp  %o4, %g1                                  
 200a4f8:	22 bf ff e7 	be,a   200a494 <_Heap_Walk+0x53c>              
 200a4fc:	fa 07 60 08 	ld  [ %i5 + 8 ], %i5                           
      (*printer)(                                                     
 200a500:	90 10 00 19 	mov  %i1, %o0                                  
 200a504:	92 10 20 01 	mov  1, %o1                                    
 200a508:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a50c:	96 10 00 1d 	mov  %i5, %o3                                  
 200a510:	9f c5 c0 00 	call  %l7                                      
 200a514:	94 12 a1 f0 	or  %o2, 0x1f0, %o2                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a518:	10 bf fe d9 	b  200a07c <_Heap_Walk+0x124>                  
 200a51c:	82 10 20 00 	clr  %g1                                       
                                                                      
      return false;                                                   
    }                                                                 
                                                                      
    if ( _Heap_Is_used( free_block ) ) {                              
      (*printer)(                                                     
 200a520:	90 10 00 19 	mov  %i1, %o0                                  
 200a524:	92 10 20 01 	mov  1, %o1                                    
 200a528:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a52c:	96 10 00 1d 	mov  %i5, %o3                                  
 200a530:	9f c5 c0 00 	call  %l7                                      
 200a534:	94 12 a1 d0 	or  %o2, 0x1d0, %o2                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a538:	10 bf fe d1 	b  200a07c <_Heap_Walk+0x124>                  
 200a53c:	82 10 20 00 	clr  %g1                                       
    }                                                                 
                                                                      
    if (                                                              
      !_Heap_Is_aligned( _Heap_Alloc_area_of_block( free_block ), page_size )
    ) {                                                               
      (*printer)(                                                     
 200a540:	90 10 00 19 	mov  %i1, %o0                                  
 200a544:	92 10 20 01 	mov  1, %o1                                    
 200a548:	15 00 80 76 	sethi  %hi(0x201d800), %o2                     
 200a54c:	96 10 00 1d 	mov  %i5, %o3                                  
 200a550:	9f c5 c0 00 	call  %l7                                      
 200a554:	94 12 a1 a0 	or  %o2, 0x1a0, %o2                            
  if ( !_System_state_Is_up( _System_state_Get() ) ) {                
    return true;                                                      
  }                                                                   
                                                                      
  if ( !_Heap_Walk_check_control( source, printer, heap ) ) {         
    return false;                                                     
 200a558:	10 bf fe c9 	b  200a07c <_Heap_Walk+0x124>                  
 200a55c:	82 10 20 00 	clr  %g1                                       
                                                                      

020085c8 <_IO_Initialize_all_drivers>: * * Output Parameters: NONE */ void _IO_Initialize_all_drivers( void ) {
 20085c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
 20085cc:	39 00 80 7c 	sethi  %hi(0x201f000), %i4                     
 20085d0:	c2 07 22 24 	ld  [ %i4 + 0x224 ], %g1	! 201f224 <_IO_Number_of_drivers>
 20085d4:	ba 10 20 00 	clr  %i5                                       
 20085d8:	80 a0 60 00 	cmp  %g1, 0                                    
 20085dc:	02 80 00 0b 	be  2008608 <_IO_Initialize_all_drivers+0x40>  <== NEVER TAKEN
 20085e0:	b8 17 22 24 	or  %i4, 0x224, %i4                            
     (void) rtems_io_initialize( major, 0, NULL );                    
 20085e4:	90 10 00 1d 	mov  %i5, %o0                                  
 20085e8:	92 10 20 00 	clr  %o1                                       
 20085ec:	40 00 16 29 	call  200de90 <rtems_io_initialize>            
 20085f0:	94 10 20 00 	clr  %o2                                       
                                                                      
void _IO_Initialize_all_drivers( void )                               
{                                                                     
   rtems_device_major_number major;                                   
                                                                      
   for ( major=0 ; major < _IO_Number_of_drivers ; major ++ )         
 20085f4:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 20085f8:	ba 07 60 01 	inc  %i5                                       
 20085fc:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2008600:	18 bf ff fa 	bgu  20085e8 <_IO_Initialize_all_drivers+0x20> 
 2008604:	90 10 00 1d 	mov  %i5, %o0                                  
 2008608:	81 c7 e0 08 	ret                                            
 200860c:	81 e8 00 00 	restore                                        
                                                                      

020084f8 <_IO_Manager_initialization>: * workspace. * */ void _IO_Manager_initialization(void) {
 20084f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t                    index;                                  
  rtems_driver_address_table *driver_table;                           
  uint32_t                    drivers_in_table;                       
  uint32_t                    number_of_drivers;                      
                                                                      
  driver_table      = Configuration.Device_driver_table;              
 20084fc:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 2008500:	82 10 62 cc 	or  %g1, 0x2cc, %g1	! 201dacc <Configuration>  
  drivers_in_table  = Configuration.number_of_device_drivers;         
 2008504:	f8 00 60 3c 	ld  [ %g1 + 0x3c ], %i4                        
  number_of_drivers = Configuration.maximum_drivers;                  
 2008508:	f6 00 60 38 	ld  [ %g1 + 0x38 ], %i3                        
                                                                      
  /*                                                                  
   *  If the user claims there are less drivers than are actually in  
   *  the table, then let's just go with the table's count.           
   */                                                                 
  if ( number_of_drivers <= drivers_in_table )                        
 200850c:	80 a7 00 1b 	cmp  %i4, %i3                                  
 2008510:	0a 80 00 08 	bcs  2008530 <_IO_Manager_initialization+0x38> 
 2008514:	fa 00 60 40 	ld  [ %g1 + 0x40 ], %i5                        
   *  If the maximum number of driver is the same as the number in the
   *  table, then we do not have to copy the driver table.  They can't
   *  register any dynamically.                                       
   */                                                                 
  if ( number_of_drivers == drivers_in_table ) {                      
    _IO_Driver_address_table = driver_table;                          
 2008518:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 200851c:	fa 20 62 28 	st  %i5, [ %g1 + 0x228 ]	! 201f228 <_IO_Driver_address_table>
    _IO_Number_of_drivers = number_of_drivers;                        
 2008520:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2008524:	f8 20 62 24 	st  %i4, [ %g1 + 0x224 ]	! 201f224 <_IO_Number_of_drivers>
    return;                                                           
 2008528:	81 c7 e0 08 	ret                                            
 200852c:	81 e8 00 00 	restore                                        
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
 2008530:	83 2e e0 03 	sll  %i3, 3, %g1                               
 2008534:	b5 2e e0 05 	sll  %i3, 5, %i2                               
 2008538:	b4 26 80 01 	sub  %i2, %g1, %i2                             
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
      _Workspace_Allocate_or_fatal_error(                             
 200853c:	40 00 0d 5a 	call  200baa4 <_Workspace_Allocate_or_fatal_error>
 2008540:	90 10 00 1a 	mov  %i2, %o0                                  
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
 2008544:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
 2008548:	33 00 80 7c 	sethi  %hi(0x201f000), %i1                     
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
 200854c:	f6 20 62 24 	st  %i3, [ %g1 + 0x224 ]                       
  /*                                                                  
   *  The application requested extra slots in the driver table, so we
   *  have to allocate a new driver table and copy theirs to it.      
   */                                                                 
                                                                      
  _IO_Driver_address_table = (rtems_driver_address_table *)           
 2008550:	d0 26 62 28 	st  %o0, [ %i1 + 0x228 ]                       
      _Workspace_Allocate_or_fatal_error(                             
        sizeof( rtems_driver_address_table ) * ( number_of_drivers )  
      );                                                              
  _IO_Number_of_drivers = number_of_drivers;                          
                                                                      
  memset(                                                             
 2008554:	92 10 20 00 	clr  %o1                                       
 2008558:	40 00 23 2b 	call  2011204 <memset>                         
 200855c:	94 10 00 1a 	mov  %i2, %o2                                  
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 2008560:	80 a7 20 00 	cmp  %i4, 0                                    
 2008564:	02 bf ff f1 	be  2008528 <_IO_Manager_initialization+0x30>  <== NEVER TAKEN
 2008568:	c8 06 62 28 	ld  [ %i1 + 0x228 ], %g4                       
 *  registration. The driver table is now allocated in the            
 *  workspace.                                                        
 *                                                                    
 */                                                                   
                                                                      
void _IO_Manager_initialization(void)                                 
 200856c:	85 2f 20 03 	sll  %i4, 3, %g2                               
 2008570:	b7 2f 20 05 	sll  %i4, 5, %i3                               
 2008574:	82 10 20 00 	clr  %g1                                       
 2008578:	b6 26 c0 02 	sub  %i3, %g2, %i3                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
    _IO_Driver_address_table[index] = driver_table[index];            
 200857c:	c4 07 40 01 	ld  [ %i5 + %g1 ], %g2                         
 2008580:	86 07 40 01 	add  %i5, %g1, %g3                             
 2008584:	c4 21 00 01 	st  %g2, [ %g4 + %g1 ]                         
 2008588:	f8 00 e0 04 	ld  [ %g3 + 4 ], %i4                           
 200858c:	84 01 00 01 	add  %g4, %g1, %g2                             
 2008590:	f8 20 a0 04 	st  %i4, [ %g2 + 4 ]                           
 2008594:	f8 00 e0 08 	ld  [ %g3 + 8 ], %i4                           
 2008598:	82 00 60 18 	add  %g1, 0x18, %g1                            
 200859c:	f8 20 a0 08 	st  %i4, [ %g2 + 8 ]                           
 20085a0:	f8 00 e0 0c 	ld  [ %g3 + 0xc ], %i4                         
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 20085a4:	80 a0 40 1b 	cmp  %g1, %i3                                  
    _IO_Driver_address_table[index] = driver_table[index];            
 20085a8:	f8 20 a0 0c 	st  %i4, [ %g2 + 0xc ]                         
 20085ac:	f8 00 e0 10 	ld  [ %g3 + 0x10 ], %i4                        
 20085b0:	f8 20 a0 10 	st  %i4, [ %g2 + 0x10 ]                        
 20085b4:	c6 00 e0 14 	ld  [ %g3 + 0x14 ], %g3                        
  memset(                                                             
    _IO_Driver_address_table, 0,                                      
    sizeof( rtems_driver_address_table ) * ( number_of_drivers )      
  );                                                                  
                                                                      
  for ( index = 0 ; index < drivers_in_table ; index++ )              
 20085b8:	12 bf ff f1 	bne  200857c <_IO_Manager_initialization+0x84> 
 20085bc:	c6 20 a0 14 	st  %g3, [ %g2 + 0x14 ]                        
 20085c0:	81 c7 e0 08 	ret                                            
 20085c4:	81 e8 00 00 	restore                                        
                                                                      

0200936c <_Objects_Allocate>: */ Objects_Control *_Objects_Allocate( Objects_Information *information ) {
 200936c:	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 )                                       
 2009370:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 2009374:	80 a0 60 00 	cmp  %g1, 0                                    
 2009378:	02 80 00 26 	be  2009410 <_Objects_Allocate+0xa4>           <== NEVER TAKEN
 200937c:	ba 10 00 18 	mov  %i0, %i5                                  
                                                                      
  /*                                                                  
   *  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 );
 2009380:	b8 06 20 20 	add  %i0, 0x20, %i4                            
 2009384:	7f ff fd 4b 	call  20088b0 <_Chain_Get>                     
 2009388:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
  if ( information->auto_extend ) {                                   
 200938c:	c2 0f 60 12 	ldub  [ %i5 + 0x12 ], %g1                      
 2009390:	80 a0 60 00 	cmp  %g1, 0                                    
 2009394:	02 80 00 16 	be  20093ec <_Objects_Allocate+0x80>           
 2009398:	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 ) {                                              
 200939c:	80 a2 20 00 	cmp  %o0, 0                                    
 20093a0:	02 80 00 15 	be  20093f4 <_Objects_Allocate+0x88>           
 20093a4:	01 00 00 00 	nop                                            
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
 20093a8:	c4 07 60 08 	ld  [ %i5 + 8 ], %g2                           
 20093ac:	d0 06 20 08 	ld  [ %i0 + 8 ], %o0                           
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
 20093b0:	d2 17 60 14 	lduh  [ %i5 + 0x14 ], %o1                      
    }                                                                 
                                                                      
    if ( the_object ) {                                               
      uint32_t   block;                                               
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
 20093b4:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
 20093b8:	82 10 63 ff 	or  %g1, 0x3ff, %g1	! ffff <PROM_START+0xffff> 
 20093bc:	90 0a 00 01 	and  %o0, %g1, %o0                             
 20093c0:	82 08 80 01 	and  %g2, %g1, %g1                             
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
 20093c4:	40 00 40 8a 	call  20195ec <.udiv>                          
 20093c8:	90 22 00 01 	sub  %o0, %g1, %o0                             
                                                                      
      information->inactive_per_block[ block ]--;                     
 20093cc:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
 20093d0:	91 2a 20 02 	sll  %o0, 2, %o0                               
 20093d4:	c6 00 40 08 	ld  [ %g1 + %o0 ], %g3                         
      information->inactive--;                                        
 20093d8:	c4 17 60 2c 	lduh  [ %i5 + 0x2c ], %g2                      
                                                                      
      block = (uint32_t) _Objects_Get_index( the_object->id ) -       
              _Objects_Get_index( information->minimum_id );          
      block /= information->allocation_size;                          
                                                                      
      information->inactive_per_block[ block ]--;                     
 20093dc:	86 00 ff ff 	add  %g3, -1, %g3                              
 20093e0:	c6 20 40 08 	st  %g3, [ %g1 + %o0 ]                         
      information->inactive--;                                        
 20093e4:	82 00 bf ff 	add  %g2, -1, %g1                              
 20093e8:	c2 37 60 2c 	sth  %g1, [ %i5 + 0x2c ]                       
    );                                                                
  }                                                                   
#endif                                                                
                                                                      
  return the_object;                                                  
}                                                                     
 20093ec:	81 c7 e0 08 	ret                                            
 20093f0:	81 e8 00 00 	restore                                        
     *  If the list is empty then we are out of objects and need to   
     *  extend information base.                                      
     */                                                               
                                                                      
    if ( !the_object ) {                                              
      _Objects_Extend_information( information );                     
 20093f4:	40 00 00 10 	call  2009434 <_Objects_Extend_information>    
 20093f8:	90 10 00 1d 	mov  %i5, %o0                                  
      the_object =  (Objects_Control *) _Chain_Get( &information->Inactive );
 20093fc:	7f ff fd 2d 	call  20088b0 <_Chain_Get>                     
 2009400:	90 10 00 1c 	mov  %i4, %o0                                  
    }                                                                 
                                                                      
    if ( the_object ) {                                               
 2009404:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2009408:	32 bf ff e9 	bne,a   20093ac <_Objects_Allocate+0x40>       
 200940c:	c4 07 60 08 	ld  [ %i5 + 8 ], %g2                           
   *  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 )                                       
    return NULL;                                                      
 2009410:	81 c7 e0 08 	ret                                            
 2009414:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02009434 <_Objects_Extend_information>: */ void _Objects_Extend_information( Objects_Information *information ) {
 2009434:	9d e3 bf 90 	save  %sp, -112, %sp                           
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
 2009438:	f4 06 20 34 	ld  [ %i0 + 0x34 ], %i2                        
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
 200943c:	e2 16 20 0a 	lduh  [ %i0 + 0xa ], %l1                       
  index_base    = minimum_index;                                      
  block         = 0;                                                  
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
 2009440:	80 a6 a0 00 	cmp  %i2, 0                                    
 2009444:	02 80 00 a5 	be  20096d8 <_Objects_Extend_information+0x2a4>
 2009448:	e0 16 20 10 	lduh  [ %i0 + 0x10 ], %l0                      
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
 200944c:	f6 16 20 14 	lduh  [ %i0 + 0x14 ], %i3                      
 2009450:	a1 2c 20 10 	sll  %l0, 0x10, %l0                            
 2009454:	92 10 00 1b 	mov  %i3, %o1                                  
 2009458:	40 00 40 65 	call  20195ec <.udiv>                          
 200945c:	91 34 20 10 	srl  %l0, 0x10, %o0                            
 2009460:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 2009464:	b3 32 20 10 	srl  %o0, 0x10, %i1                            
                                                                      
    for ( ; block < block_count; block++ ) {                          
 2009468:	80 a6 60 00 	cmp  %i1, 0                                    
 200946c:	02 80 00 a2 	be  20096f4 <_Objects_Extend_information+0x2c0><== NEVER TAKEN
 2009470:	90 10 00 1b 	mov  %i3, %o0                                  
      if ( information->object_blocks[ block ] == NULL ) {            
 2009474:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 2009478:	80 a0 60 00 	cmp  %g1, 0                                    
 200947c:	02 80 00 a2 	be  2009704 <_Objects_Extend_information+0x2d0><== NEVER TAKEN
 2009480:	b8 10 00 11 	mov  %l1, %i4                                  
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
 2009484:	10 80 00 06 	b  200949c <_Objects_Extend_information+0x68>  
 2009488:	ba 10 20 00 	clr  %i5                                       
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
 200948c:	c2 06 80 01 	ld  [ %i2 + %g1 ], %g1                         
 2009490:	80 a0 60 00 	cmp  %g1, 0                                    
 2009494:	22 80 00 08 	be,a   20094b4 <_Objects_Extend_information+0x80>
 2009498:	b6 10 20 00 	clr  %i3                                       
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
 200949c:	ba 07 60 01 	inc  %i5                                       
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
        break;                                                        
      } else                                                          
        index_base += information->allocation_size;                   
 20094a0:	b8 07 00 1b 	add  %i4, %i3, %i4                             
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
 20094a4:	80 a6 40 1d 	cmp  %i1, %i5                                  
 20094a8:	18 bf ff f9 	bgu  200948c <_Objects_Extend_information+0x58>
 20094ac:	83 2f 60 02 	sll  %i5, 2, %g1                               
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
 20094b0:	b6 10 20 01 	mov  1, %i3                                    
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
 20094b4:	a1 34 20 10 	srl  %l0, 0x10, %l0                            
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
 20094b8:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
      } else                                                          
        index_base += information->allocation_size;                   
    }                                                                 
  }                                                                   
                                                                      
  maximum = (uint32_t) information->maximum + information->allocation_size;
 20094bc:	a0 04 00 08 	add  %l0, %o0, %l0                             
  /*                                                                  
   *  We need to limit the number of objects to the maximum number    
   *  representable in the index portion of the object Id.  In the    
   *  case of 16-bit Ids, this is only 256 object instances.          
   */                                                                 
  if ( maximum > OBJECTS_ID_FINAL_INDEX ) {                           
 20094c0:	82 10 63 ff 	or  %g1, 0x3ff, %g1                            
 20094c4:	80 a4 00 01 	cmp  %l0, %g1                                  
 20094c8:	18 80 00 94 	bgu  2009718 <_Objects_Extend_information+0x2e4>
 20094cc:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * Allocate the name table, and the objects and if it fails either return or
   * generate a fatal error depending on auto-extending being active. 
   */                                                                 
  block_size = information->allocation_size * information->size;      
 20094d0:	40 00 40 0d 	call  2019504 <.umul>                          
 20094d4:	d2 06 20 18 	ld  [ %i0 + 0x18 ], %o1                        
  if ( information->auto_extend ) {                                   
 20094d8:	c2 0e 20 12 	ldub  [ %i0 + 0x12 ], %g1                      
 20094dc:	80 a0 60 00 	cmp  %g1, 0                                    
 20094e0:	02 80 00 6a 	be  2009688 <_Objects_Extend_information+0x254>
 20094e4:	01 00 00 00 	nop                                            
    new_object_block = _Workspace_Allocate( block_size );             
 20094e8:	40 00 09 61 	call  200ba6c <_Workspace_Allocate>            
 20094ec:	01 00 00 00 	nop                                            
    if ( !new_object_block )                                          
 20094f0:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 20094f4:	02 80 00 89 	be  2009718 <_Objects_Extend_information+0x2e4>
 20094f8:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Do we need to grow the tables?                                  
   */                                                                 
  if ( do_extend ) {                                                  
 20094fc:	80 8e e0 ff 	btst  0xff, %i3                                
 2009500:	22 80 00 3f 	be,a   20095fc <_Objects_Extend_information+0x1c8>
 2009504:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
     */                                                               
                                                                      
    /*                                                                
     *  Up the block count and maximum                                
     */                                                               
    block_count++;                                                    
 2009508:	b6 06 60 01 	add  %i1, 1, %i3                               
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
 200950c:	91 2e e0 01 	sll  %i3, 1, %o0                               
 2009510:	90 02 00 1b 	add  %o0, %i3, %o0                             
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
 2009514:	90 04 00 08 	add  %l0, %o0, %o0                             
                                                                      
    /*                                                                
     *  Allocate the tables and break it up.                          
     */                                                               
    block_size = block_count *                                        
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
 2009518:	90 02 00 11 	add  %o0, %l1, %o0                             
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
 200951c:	40 00 09 54 	call  200ba6c <_Workspace_Allocate>            
 2009520:	91 2a 20 02 	sll  %o0, 2, %o0                               
                                                                      
    if ( !object_blocks ) {                                           
 2009524:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2009528:	02 80 00 7a 	be  2009710 <_Objects_Extend_information+0x2dc>
 200952c:	b7 2e e0 02 	sll  %i3, 2, %i3                               
     *  Take the block count down. Saves all the (block_count - 1)    
     *  in the copies.                                                
     */                                                               
    block_count--;                                                    
                                                                      
    if ( information->maximum > minimum_index ) {                     
 2009530:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2009534:	80 a4 40 01 	cmp  %l1, %g1                                  
 2009538:	a6 04 80 1b 	add  %l2, %i3, %l3                             
 200953c:	0a 80 00 57 	bcs  2009698 <_Objects_Extend_information+0x264>
 2009540:	b6 04 c0 1b 	add  %l3, %i3, %i3                             
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
 2009544:	85 2c 60 02 	sll  %l1, 2, %g2                               
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 2009548:	80 a4 60 00 	cmp  %l1, 0                                    
 200954c:	02 80 00 07 	be  2009568 <_Objects_Extend_information+0x134><== NEVER TAKEN
 2009550:	82 10 20 00 	clr  %g1                                       
        local_table[ index ] = NULL;                                  
 2009554:	c0 20 40 1b 	clr  [ %g1 + %i3 ]                             
 2009558:	82 00 60 04 	add  %g1, 4, %g1                               
    } else {                                                          
                                                                      
      /*                                                              
       *  Deal with the special case of the 0 to minimum_index        
       */                                                             
      for ( index = 0; index < minimum_index; index++ ) {             
 200955c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2009560:	32 bf ff fe 	bne,a   2009558 <_Objects_Extend_information+0x124><== NEVER TAKEN
 2009564:	c0 20 40 1b 	clr  [ %g1 + %i3 ]                             <== NOT EXECUTED
 2009568:	b3 2e 60 02 	sll  %i1, 2, %i1                               
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 200956c:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
    }                                                                 
                                                                      
    /*                                                                
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
 2009570:	c0 24 80 19 	clr  [ %l2 + %i1 ]                             
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 2009574:	82 07 00 03 	add  %i4, %g3, %g1                             
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 2009578:	80 a7 00 01 	cmp  %i4, %g1                                  
 200957c:	1a 80 00 0b 	bcc  20095a8 <_Objects_Extend_information+0x174><== NEVER TAKEN
 2009580:	c0 24 c0 19 	clr  [ %l3 + %i1 ]                             
 *    information     - object information table                      
 *                                                                    
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Objects_Extend_information(                                     
 2009584:	85 2f 20 02 	sll  %i4, 2, %g2                               
 2009588:	87 28 e0 02 	sll  %g3, 2, %g3                               
 200958c:	84 06 c0 02 	add  %i3, %g2, %g2                             
 2009590:	82 10 20 00 	clr  %g1                                       
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
 2009594:	c0 20 80 01 	clr  [ %g2 + %g1 ]                             
 2009598:	82 00 60 04 	add  %g1, 4, %g1                               
     *  Initialise the new entries in the table.                      
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
 200959c:	80 a0 40 03 	cmp  %g1, %g3                                  
 20095a0:	32 bf ff fe 	bne,a   2009598 <_Objects_Extend_information+0x164>
 20095a4:	c0 20 80 01 	clr  [ %g2 + %g1 ]                             
          index < ( information->allocation_size + index_base );      
          index++ ) {                                                 
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
 20095a8:	7f ff e4 6f 	call  2002764 <sparc_disable_interrupts>       
 20095ac:	01 00 00 00 	nop                                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
 20095b0:	c6 06 00 00 	ld  [ %i0 ], %g3                               
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 20095b4:	c4 16 20 04 	lduh  [ %i0 + 4 ], %g2                         
      local_table[ index ] = NULL;                                    
    }                                                                 
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
 20095b8:	f2 06 20 34 	ld  [ %i0 + 0x34 ], %i1                        
                                                                      
    information->object_blocks = object_blocks;                       
    information->inactive_per_block = inactive_per_block;             
    information->local_table = local_table;                           
    information->maximum = (Objects_Maximum) maximum;                 
 20095bc:	e0 36 20 10 	sth  %l0, [ %i0 + 0x10 ]                       
 20095c0:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
 20095c4:	85 28 a0 1b 	sll  %g2, 0x1b, %g2                            
                                                                      
    _ISR_Disable( level );                                            
                                                                      
    old_tables = information->object_blocks;                          
                                                                      
    information->object_blocks = object_blocks;                       
 20095c8:	e4 26 20 34 	st  %l2, [ %i0 + 0x34 ]                        
    information->inactive_per_block = inactive_per_block;             
 20095cc:	e6 26 20 30 	st  %l3, [ %i0 + 0x30 ]                        
    information->local_table = local_table;                           
 20095d0:	f6 26 20 1c 	st  %i3, [ %i0 + 0x1c ]                        
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
 20095d4:	03 00 00 40 	sethi  %hi(0x10000), %g1                       
 20095d8:	82 10 c0 01 	or  %g3, %g1, %g1                              
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
 20095dc:	82 10 40 02 	or  %g1, %g2, %g1                              
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
 20095e0:	a0 10 40 10 	or  %g1, %l0, %l0                              
    information->maximum = (Objects_Maximum) maximum;                 
    information->maximum_id = _Objects_Build_id(                      
 20095e4:	e0 26 20 0c 	st  %l0, [ %i0 + 0xc ]                         
        information->the_class,                                       
        _Objects_Local_node,                                          
        information->maximum                                          
      );                                                              
                                                                      
    _ISR_Enable( level );                                             
 20095e8:	7f ff e4 63 	call  2002774 <sparc_enable_interrupts>        
 20095ec:	01 00 00 00 	nop                                            
                                                                      
    _Workspace_Free( old_tables );                                    
 20095f0:	40 00 09 27 	call  200ba8c <_Workspace_Free>                
 20095f4:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   *  Assign the new object block to the object block table.          
   */                                                                 
  information->object_blocks[ block ] = new_object_block;             
 20095f8:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
 20095fc:	bb 2f 60 02 	sll  %i5, 2, %i5                               
 2009600:	f4 20 40 1d 	st  %i2, [ %g1 + %i5 ]                         
                                                                      
  /*                                                                  
   *  Initialize objects .. add to a local chain first.               
   */                                                                 
  _Chain_Initialize(                                                  
 2009604:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
 2009608:	d4 16 20 14 	lduh  [ %i0 + 0x14 ], %o2                      
 200960c:	d2 00 40 1d 	ld  [ %g1 + %i5 ], %o1                         
 2009610:	d6 06 20 18 	ld  [ %i0 + 0x18 ], %o3                        
 2009614:	90 07 bf f4 	add  %fp, -12, %o0                             
 2009618:	7f ff fc b6 	call  20088f0 <_Chain_Initialize>              
 200961c:	35 00 00 40 	sethi  %hi(0x10000), %i2                       
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 2009620:	10 80 00 0d 	b  2009654 <_Objects_Extend_information+0x220> 
 2009624:	b6 06 20 20 	add  %i0, 0x20, %i3                            
                                                                      
    the_object->id = _Objects_Build_id(                               
 2009628:	c6 16 20 04 	lduh  [ %i0 + 4 ], %g3                         
 200962c:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
 2009630:	87 28 e0 1b 	sll  %g3, 0x1b, %g3                            
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
 2009634:	84 10 80 1a 	or  %g2, %i2, %g2                              
         (( (Objects_Id) the_class ) << OBJECTS_CLASS_START_BIT) |    
 2009638:	84 10 80 03 	or  %g2, %g3, %g2                              
  uint32_t         the_class,                                         
  uint32_t         node,                                              
  uint32_t         index                                              
)                                                                     
{                                                                     
  return (( (Objects_Id) the_api )   << OBJECTS_API_START_BIT)   |    
 200963c:	84 10 80 1c 	or  %g2, %i4, %g2                              
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 2009640:	90 10 00 1b 	mov  %i3, %o0                                  
 2009644:	92 10 00 01 	mov  %g1, %o1                                  
                                                                      
    index++;                                                          
 2009648:	b8 07 20 01 	inc  %i4                                       
        information->the_class,                                       
        _Objects_Local_node,                                          
        index                                                         
      );                                                              
                                                                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
 200964c:	7f ff fc 8e 	call  2008884 <_Chain_Append>                  
 2009650:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
  /*                                                                  
   *  Move from the local chain, initialise, then append to the inactive chain
   */                                                                 
  index = index_base;                                                 
                                                                      
  while ((the_object = (Objects_Control *) _Chain_Get( &Inactive )) != NULL ) {
 2009654:	7f ff fc 97 	call  20088b0 <_Chain_Get>                     
 2009658:	90 07 bf f4 	add  %fp, -12, %o0                             
 200965c:	82 92 20 00 	orcc  %o0, 0, %g1                              
 2009660:	32 bf ff f2 	bne,a   2009628 <_Objects_Extend_information+0x1f4>
 2009664:	c4 06 00 00 	ld  [ %i0 ], %g2                               
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 2009668:	c8 16 20 14 	lduh  [ %i0 + 0x14 ], %g4                      
 200966c:	c6 06 20 30 	ld  [ %i0 + 0x30 ], %g3                        
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
 2009670:	c4 16 20 2c 	lduh  [ %i0 + 0x2c ], %g2                      
    _Chain_Append( &information->Inactive, &the_object->Node );       
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
 2009674:	c8 20 c0 1d 	st  %g4, [ %g3 + %i5 ]                         
  information->inactive =                                             
    (Objects_Maximum)(information->inactive + information->allocation_size);
 2009678:	82 00 80 04 	add  %g2, %g4, %g1                             
                                                                      
    index++;                                                          
  }                                                                   
                                                                      
  information->inactive_per_block[ block ] = information->allocation_size;
  information->inactive =                                             
 200967c:	c2 36 20 2c 	sth  %g1, [ %i0 + 0x2c ]                       
 2009680:	81 c7 e0 08 	ret                                            
 2009684:	81 e8 00 00 	restore                                        
  if ( information->auto_extend ) {                                   
    new_object_block = _Workspace_Allocate( block_size );             
    if ( !new_object_block )                                          
      return;                                                         
  } else {                                                            
    new_object_block = _Workspace_Allocate_or_fatal_error( block_size );
 2009688:	40 00 09 07 	call  200baa4 <_Workspace_Allocate_or_fatal_error>
 200968c:	01 00 00 00 	nop                                            
 2009690:	10 bf ff 9b 	b  20094fc <_Objects_Extend_information+0xc8>  
 2009694:	b4 10 00 08 	mov  %o0, %i2                                  
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
 2009698:	d2 06 20 34 	ld  [ %i0 + 0x34 ], %o1                        
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
 200969c:	b3 2e 60 02 	sll  %i1, 2, %i1                               
      /*                                                              
       *  Copy each section of the table over. This has to be performed as
       *  separate parts as size of each block has changed.           
       */                                                             
                                                                      
      memcpy( object_blocks,                                          
 20096a0:	40 00 1e 9c 	call  2011110 <memcpy>                         
 20096a4:	94 10 00 19 	mov  %i1, %o2                                  
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
 20096a8:	d2 06 20 30 	ld  [ %i0 + 0x30 ], %o1                        
 20096ac:	94 10 00 19 	mov  %i1, %o2                                  
 20096b0:	40 00 1e 98 	call  2011110 <memcpy>                         
 20096b4:	90 10 00 13 	mov  %l3, %o0                                  
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
 20096b8:	d4 16 20 10 	lduh  [ %i0 + 0x10 ], %o2                      
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
 20096bc:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        
              information->local_table,                               
              (information->maximum + minimum_index) * sizeof(Objects_Control *) );
 20096c0:	94 02 80 11 	add  %o2, %l1, %o2                             
              information->object_blocks,                             
              block_count * sizeof(void*) );                          
      memcpy( inactive_per_block,                                     
              information->inactive_per_block,                        
              block_count * sizeof(uint32_t) );                       
      memcpy( local_table,                                            
 20096c4:	90 10 00 1b 	mov  %i3, %o0                                  
 20096c8:	40 00 1e 92 	call  2011110 <memcpy>                         
 20096cc:	95 2a a0 02 	sll  %o2, 2, %o2                               
     */                                                               
    object_blocks[block_count] = NULL;                                
    inactive_per_block[block_count] = 0;                              
                                                                      
    for ( index=index_base ;                                          
          index < ( information->allocation_size + index_base );      
 20096d0:	10 bf ff a8 	b  2009570 <_Objects_Extend_information+0x13c> 
 20096d4:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
 20096d8:	d0 16 20 14 	lduh  [ %i0 + 0x14 ], %o0                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
 20096dc:	b8 10 00 11 	mov  %l1, %i4                                  
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
 20096e0:	b6 10 20 01 	mov  1, %i3                                    
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
 20096e4:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /* if ( information->maximum < minimum_index ) */                   
  if ( information->object_blocks == NULL )                           
    block_count = 0;                                                  
 20096e8:	b2 10 20 00 	clr  %i1                                       
 20096ec:	10 bf ff 72 	b  20094b4 <_Objects_Extend_information+0x80>  
 20096f0:	a1 2c 20 10 	sll  %l0, 0x10, %l0                            
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
 20096f4:	b8 10 00 11 	mov  %l1, %i4                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Search for a free block of indexes. If we do NOT need to allocate or
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
 20096f8:	b6 10 20 01 	mov  1, %i3                                    <== NOT EXECUTED
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
 20096fc:	10 bf ff 6e 	b  20094b4 <_Objects_Extend_information+0x80>  <== NOT EXECUTED
 2009700:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
  else {                                                              
    block_count = information->maximum / information->allocation_size;
                                                                      
    for ( ; block < block_count; block++ ) {                          
      if ( information->object_blocks[ block ] == NULL ) {            
        do_extend = false;                                            
 2009704:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
   *  extend the block table, then we will change do_extend.          
   */                                                                 
  do_extend     = true;                                               
  minimum_index = _Objects_Get_index( information->minimum_id );      
  index_base    = minimum_index;                                      
  block         = 0;                                                  
 2009708:	10 bf ff 6b 	b  20094b4 <_Objects_Extend_information+0x80>  <== NOT EXECUTED
 200970c:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
           (sizeof(void *) + sizeof(uint32_t) + sizeof(Objects_Name *)) +
          ((maximum + minimum_index) * sizeof(Objects_Control *));    
    object_blocks = (void**) _Workspace_Allocate( block_size );       
                                                                      
    if ( !object_blocks ) {                                           
      _Workspace_Free( new_object_block );                            
 2009710:	40 00 08 df 	call  200ba8c <_Workspace_Free>                
 2009714:	90 10 00 1a 	mov  %i2, %o0                                  
 2009718:	81 c7 e0 08 	ret                                            
 200971c:	81 e8 00 00 	restore                                        
                                                                      

020097d0 <_Objects_Get_information>: Objects_Information *_Objects_Get_information( Objects_APIs the_api, uint16_t the_class ) {
 20097d0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
 20097d4:	80 a6 60 00 	cmp  %i1, 0                                    
 20097d8:	02 80 00 19 	be  200983c <_Objects_Get_information+0x6c>    
 20097dc:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  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 );      
 20097e0:	40 00 13 a6 	call  200e678 <_Objects_API_maximum_class>     
 20097e4:	90 10 00 18 	mov  %i0, %o0                                  
  if ( the_class_api_maximum == 0 )                                   
 20097e8:	80 a2 20 00 	cmp  %o0, 0                                    
 20097ec:	02 80 00 14 	be  200983c <_Objects_Get_information+0x6c>    
 20097f0:	80 a2 00 19 	cmp  %o0, %i1                                  
    return NULL;                                                      
                                                                      
  if ( the_class > (uint32_t) the_class_api_maximum )                 
 20097f4:	0a 80 00 12 	bcs  200983c <_Objects_Get_information+0x6c>   
 20097f8:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
    return NULL;                                                      
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 20097fc:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 2009800:	82 10 60 14 	or  %g1, 0x14, %g1                             
 2009804:	c2 00 40 18 	ld  [ %g1 + %i0 ], %g1                         
 2009808:	80 a0 60 00 	cmp  %g1, 0                                    
 200980c:	02 80 00 0c 	be  200983c <_Objects_Get_information+0x6c>    <== NEVER TAKEN
 2009810:	b3 2e 60 02 	sll  %i1, 2, %i1                               
    return NULL;                                                      
                                                                      
  info = _Objects_Information_table[ the_api ][ the_class ];          
 2009814:	f0 00 40 19 	ld  [ %g1 + %i1 ], %i0                         
  if ( !info )                                                        
 2009818:	80 a6 20 00 	cmp  %i0, 0                                    
 200981c:	02 80 00 08 	be  200983c <_Objects_Get_information+0x6c>    <== NEVER TAKEN
 2009820:	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 )                                         
 2009824:	c2 16 20 10 	lduh  [ %i0 + 0x10 ], %g1                      
 2009828:	80 a0 60 00 	cmp  %g1, 0                                    
 200982c:	02 80 00 04 	be  200983c <_Objects_Get_information+0x6c>    
 2009830:	01 00 00 00 	nop                                            
      return NULL;                                                    
  #endif                                                              
                                                                      
  return info;                                                        
}                                                                     
 2009834:	81 c7 e0 08 	ret                                            
 2009838:	81 e8 00 00 	restore                                        
{                                                                     
  Objects_Information *info;                                          
  int the_class_api_maximum;                                          
                                                                      
  if ( !the_class )                                                   
    return NULL;                                                      
 200983c:	81 c7 e0 08 	ret                                            
 2009840:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02017fcc <_Objects_Get_name_as_string>: char *_Objects_Get_name_as_string( Objects_Id id, size_t length, char *name ) {
 2017fcc:	9d e3 bf 90 	save  %sp, -112, %sp                           
  char                   lname[5];                                    
  Objects_Control       *the_object;                                  
  Objects_Locations      location;                                    
  Objects_Id             tmpId;                                       
                                                                      
  if ( length == 0 )                                                  
 2017fd0:	80 a6 60 00 	cmp  %i1, 0                                    
 2017fd4:	02 80 00 11 	be  2018018 <_Objects_Get_name_as_string+0x4c> 
 2017fd8:	80 a6 a0 00 	cmp  %i2, 0                                    
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
 2017fdc:	02 80 00 0f 	be  2018018 <_Objects_Get_name_as_string+0x4c> 
 2017fe0:	ba 96 20 00 	orcc  %i0, 0, %i5                              
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
 2017fe4:	02 80 00 3d 	be  20180d8 <_Objects_Get_name_as_string+0x10c>
 2017fe8:	03 00 80 c7 	sethi  %hi(0x2031c00), %g1                     
                                                                      
  information = _Objects_Get_information_id( tmpId );                 
 2017fec:	7f ff df c0 	call  200feec <_Objects_Get_information_id>    
 2017ff0:	90 10 00 1d 	mov  %i5, %o0                                  
  if ( !information )                                                 
 2017ff4:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2017ff8:	02 80 00 08 	be  2018018 <_Objects_Get_name_as_string+0x4c> 
 2017ffc:	92 10 00 1d 	mov  %i5, %o1                                  
    return NULL;                                                      
                                                                      
  the_object = _Objects_Get( information, tmpId, &location );         
 2018000:	7f ff df fb 	call  200ffec <_Objects_Get>                   
 2018004:	94 07 bf f4 	add  %fp, -12, %o2                             
  switch ( location ) {                                               
 2018008:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 201800c:	80 a0 60 00 	cmp  %g1, 0                                    
 2018010:	22 80 00 05 	be,a   2018024 <_Objects_Get_name_as_string+0x58>
 2018014:	c2 0f 20 38 	ldub  [ %i4 + 0x38 ], %g1                      
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:                                              
      /* not supported */                                             
#endif                                                                
    case OBJECTS_ERROR:                                               
      return NULL;                                                    
 2018018:	b4 10 20 00 	clr  %i2                                       
                                                                      
      _Thread_Enable_dispatch();                                      
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
 201801c:	81 c7 e0 08 	ret                                            
 2018020:	91 e8 00 1a 	restore  %g0, %i2, %o0                         
      return NULL;                                                    
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)             
        if ( information->is_string ) {                               
 2018024:	80 a0 60 00 	cmp  %g1, 0                                    
 2018028:	12 80 00 2f 	bne  20180e4 <_Objects_Get_name_as_string+0x118>
 201802c:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
 2018030:	89 30 60 18 	srl  %g1, 0x18, %g4                            
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
 2018034:	87 30 60 10 	srl  %g1, 0x10, %g3                            
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
 2018038:	85 30 60 08 	srl  %g1, 8, %g2                               
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
 201803c:	c2 2f bf fb 	stb  %g1, [ %fp + -5 ]                         
        lname[ 4 ] = '\0';                                            
 2018040:	c0 2f bf fc 	clrb  [ %fp + -4 ]                             
        } else                                                        
      #endif                                                          
      {                                                               
        uint32_t  u32_name = (uint32_t) the_object->name.name_u32;    
                                                                      
        lname[ 0 ] = (u32_name >> 24) & 0xff;                         
 2018044:	c8 2f bf f8 	stb  %g4, [ %fp + -8 ]                         
        lname[ 1 ] = (u32_name >> 16) & 0xff;                         
 2018048:	c6 2f bf f9 	stb  %g3, [ %fp + -7 ]                         
        lname[ 2 ] = (u32_name >>  8) & 0xff;                         
 201804c:	c4 2f bf fa 	stb  %g2, [ %fp + -6 ]                         
        lname[ 3 ] = (u32_name >>  0) & 0xff;                         
        lname[ 4 ] = '\0';                                            
        s = lname;                                                    
 2018050:	82 07 bf f8 	add  %fp, -8, %g1                              
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 2018054:	80 a6 60 01 	cmp  %i1, 1                                    
 2018058:	02 80 00 27 	be  20180f4 <_Objects_Get_name_as_string+0x128><== NEVER TAKEN
 201805c:	86 10 00 1a 	mov  %i2, %g3                                  
 2018060:	c6 48 40 00 	ldsb  [ %g1 ], %g3                             
 2018064:	80 a0 e0 00 	cmp  %g3, 0                                    
 2018068:	02 80 00 22 	be  20180f0 <_Objects_Get_name_as_string+0x124>
 201806c:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
 *  This method objects the name of an object and returns its name    
 *  in the form of a C string.  It attempts to be careful about       
 *  overflowing the user's string and about returning unprintable characters.
 */                                                                   
                                                                      
char *_Objects_Get_name_as_string(                                    
 2018070:	b6 06 7f ff 	add  %i1, -1, %i3                              
 2018074:	39 00 80 c2 	sethi  %hi(0x2030800), %i4                     
 2018078:	b6 00 40 1b 	add  %g1, %i3, %i3                             
 201807c:	86 10 00 1a 	mov  %i2, %g3                                  
 2018080:	10 80 00 06 	b  2018098 <_Objects_Get_name_as_string+0xcc>  
 2018084:	b8 17 20 b8 	or  %i4, 0xb8, %i4                             
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 2018088:	c8 48 40 00 	ldsb  [ %g1 ], %g4                             
 201808c:	80 a1 20 00 	cmp  %g4, 0                                    
 2018090:	02 80 00 0e 	be  20180c8 <_Objects_Get_name_as_string+0xfc> 
 2018094:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
 2018098:	fa 07 00 00 	ld  [ %i4 ], %i5                               
 201809c:	88 08 a0 ff 	and  %g2, 0xff, %g4                            
 20180a0:	88 07 40 04 	add  %i5, %g4, %g4                             
 20180a4:	c8 49 20 01 	ldsb  [ %g4 + 1 ], %g4                         
 20180a8:	80 89 20 97 	btst  0x97, %g4                                
 20180ac:	12 80 00 03 	bne  20180b8 <_Objects_Get_name_as_string+0xec>
 20180b0:	82 00 60 01 	inc  %g1                                       
 20180b4:	84 10 20 2a 	mov  0x2a, %g2                                 
 20180b8:	c4 28 c0 00 	stb  %g2, [ %g3 ]                              
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
 20180bc:	80 a0 40 1b 	cmp  %g1, %i3                                  
 20180c0:	12 bf ff f2 	bne  2018088 <_Objects_Get_name_as_string+0xbc>
 20180c4:	86 00 e0 01 	inc  %g3                                       
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
        }                                                             
      }                                                               
      *d = '\0';                                                      
                                                                      
      _Thread_Enable_dispatch();                                      
 20180c8:	7f ff e3 fc 	call  20110b8 <_Thread_Enable_dispatch>        
 20180cc:	c0 28 c0 00 	clrb  [ %g3 ]                                  
      return name;                                                    
  }                                                                   
  return NULL;                  /* unreachable path */                
}                                                                     
 20180d0:	81 c7 e0 08 	ret                                            
 20180d4:	91 e8 00 1a 	restore  %g0, %i2, %o0                         
    return NULL;                                                      
                                                                      
  if ( name == NULL )                                                 
    return NULL;                                                      
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
 20180d8:	c2 00 63 ac 	ld  [ %g1 + 0x3ac ], %g1                       
 20180dc:	10 bf ff c4 	b  2017fec <_Objects_Get_name_as_string+0x20>  
 20180e0:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
        lname[ 4 ] = '\0';                                            
        s = lname;                                                    
      }                                                               
                                                                      
      d = name;                                                       
      if ( s ) {                                                      
 20180e4:	80 a0 60 00 	cmp  %g1, 0                                    
 20180e8:	12 bf ff dc 	bne  2018058 <_Objects_Get_name_as_string+0x8c>
 20180ec:	80 a6 60 01 	cmp  %i1, 1                                    
        for ( i=0 ; i<(length-1) && *s ; i++, s++, d++ ) {            
          *d = (isprint((unsigned char)*s)) ? *s : '*';               
 20180f0:	86 10 00 1a 	mov  %i2, %g3                                  
        }                                                             
      }                                                               
      *d = '\0';                                                      
                                                                      
      _Thread_Enable_dispatch();                                      
 20180f4:	7f ff e3 f1 	call  20110b8 <_Thread_Enable_dispatch>        
 20180f8:	c0 28 c0 00 	clrb  [ %g3 ]                                  
 20180fc:	30 bf ff f5 	b,a   20180d0 <_Objects_Get_name_as_string+0x104>
                                                                      

0201ad5c <_Objects_Get_next>: Objects_Information *information, Objects_Id id, Objects_Locations *location_p, Objects_Id *next_id_p ) {
 201ad5c:	9d e3 bf a0 	save  %sp, -96, %sp                            
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
 201ad60:	80 a6 20 00 	cmp  %i0, 0                                    
 201ad64:	02 80 00 29 	be  201ae08 <_Objects_Get_next+0xac>           
 201ad68:	80 a6 a0 00 	cmp  %i2, 0                                    
      return NULL;                                                    
                                                                      
    if ( !location_p )                                                
 201ad6c:	02 80 00 27 	be  201ae08 <_Objects_Get_next+0xac>           
 201ad70:	80 a6 e0 00 	cmp  %i3, 0                                    
      return NULL;                                                    
                                                                      
    if ( !next_id_p )                                                 
 201ad74:	02 80 00 25 	be  201ae08 <_Objects_Get_next+0xac>           
 201ad78:	83 2e 60 10 	sll  %i1, 0x10, %g1                            
      return NULL;                                                    
                                                                      
    if (_Objects_Get_index(id) == OBJECTS_ID_INITIAL_INDEX)           
 201ad7c:	80 a0 60 00 	cmp  %g1, 0                                    
 201ad80:	22 80 00 13 	be,a   201adcc <_Objects_Get_next+0x70>        
 201ad84:	f2 06 20 08 	ld  [ %i0 + 8 ], %i1                           
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
 201ad88:	c4 16 20 10 	lduh  [ %i0 + 0x10 ], %g2                      
 201ad8c:	83 2e 60 10 	sll  %i1, 0x10, %g1                            
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
 201ad90:	92 10 00 19 	mov  %i1, %o1                                  
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
 201ad94:	83 30 60 10 	srl  %g1, 0x10, %g1                            
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
 201ad98:	90 10 00 18 	mov  %i0, %o0                                  
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
 201ad9c:	80 a0 80 01 	cmp  %g2, %g1                                  
 201ada0:	0a 80 00 13 	bcs  201adec <_Objects_Get_next+0x90>          
 201ada4:	94 10 00 1a 	mov  %i2, %o2                                  
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
 201ada8:	7f ff d4 91 	call  200ffec <_Objects_Get>                   
 201adac:	b2 06 60 01 	inc  %i1                                       
                                                                      
        next_id++;                                                    
                                                                      
    } while (*location_p != OBJECTS_LOCAL);                           
 201adb0:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 201adb4:	80 a0 60 00 	cmp  %g1, 0                                    
 201adb8:	32 bf ff f5 	bne,a   201ad8c <_Objects_Get_next+0x30>       
 201adbc:	c4 16 20 10 	lduh  [ %i0 + 0x10 ], %g2                      
                                                                      
    *next_id_p = next_id;                                             
 201adc0:	f2 26 c0 00 	st  %i1, [ %i3 ]                               
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
}                                                                     
 201adc4:	81 c7 e0 08 	ret                                            
 201adc8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
 201adcc:	c4 16 20 10 	lduh  [ %i0 + 0x10 ], %g2                      
 201add0:	83 2e 60 10 	sll  %i1, 0x10, %g1                            
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
 201add4:	92 10 00 19 	mov  %i1, %o1                                  
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
 201add8:	83 30 60 10 	srl  %g1, 0x10, %g1                            
            *location_p = OBJECTS_ERROR;                              
            goto final;                                               
        }                                                             
                                                                      
        /* try to grab one */                                         
        object = _Objects_Get(information, next_id, location_p);      
 201addc:	90 10 00 18 	mov  %i0, %o0                                  
    else                                                              
        next_id = id;                                                 
                                                                      
    do {                                                              
        /* walked off end of list? */                                 
        if (_Objects_Get_index(next_id) > information->maximum)       
 201ade0:	80 a0 80 01 	cmp  %g2, %g1                                  
 201ade4:	1a bf ff f1 	bcc  201ada8 <_Objects_Get_next+0x4c>          <== ALWAYS TAKEN
 201ade8:	94 10 00 1a 	mov  %i2, %o2                                  
        {                                                             
            *location_p = OBJECTS_ERROR;                              
 201adec:	82 10 20 01 	mov  1, %g1                                    
 201adf0:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
    return 0;                                                         
 201adf4:	90 10 20 00 	clr  %o0                                       
                                                                      
    *next_id_p = next_id;                                             
    return object;                                                    
                                                                      
final:                                                                
    *next_id_p = OBJECTS_ID_FINAL;                                    
 201adf8:	82 10 3f ff 	mov  -1, %g1                                   
 201adfc:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    return 0;                                                         
}                                                                     
 201ae00:	81 c7 e0 08 	ret                                            
 201ae04:	91 e8 00 08 	restore  %g0, %o0, %o0                         
{                                                                     
    Objects_Control *object;                                          
    Objects_Id       next_id;                                         
                                                                      
    if ( !information )                                               
      return NULL;                                                    
 201ae08:	10 bf ff ef 	b  201adc4 <_Objects_Get_next+0x68>            
 201ae0c:	90 10 20 00 	clr  %o0                                       
                                                                      

0201ad50 <_Objects_Get_no_protection>: /* * You can't just extract the index portion or you can get tricked * by a value between 1 and maximum. */ index = id - information->minimum_id + 1;
 201ad50:	c4 02 20 08 	ld  [ %o0 + 8 ], %g2                           
                                                                      
  if ( information->maximum >= index ) {                              
 201ad54:	c2 12 20 10 	lduh  [ %o0 + 0x10 ], %g1                      
                                                                      
  /*                                                                  
   * You can't just extract the index portion or you can get tricked  
   * by a value between 1 and maximum.                                
   */                                                                 
  index = id - information->minimum_id + 1;                           
 201ad58:	92 22 40 02 	sub  %o1, %g2, %o1                             
 201ad5c:	92 02 60 01 	inc  %o1                                       
                                                                      
  if ( information->maximum >= index ) {                              
 201ad60:	80 a2 40 01 	cmp  %o1, %g1                                  
 201ad64:	18 80 00 09 	bgu  201ad88 <_Objects_Get_no_protection+0x38> 
 201ad68:	93 2a 60 02 	sll  %o1, 2, %o1                               
    if ( (the_object = information->local_table[ index ]) != NULL ) { 
 201ad6c:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 201ad70:	d0 00 40 09 	ld  [ %g1 + %o1 ], %o0                         
 201ad74:	80 a2 20 00 	cmp  %o0, 0                                    
 201ad78:	02 80 00 05 	be  201ad8c <_Objects_Get_no_protection+0x3c>  <== NEVER TAKEN
 201ad7c:	82 10 20 01 	mov  1, %g1                                    
      *location = OBJECTS_LOCAL;                                      
      return the_object;                                              
 201ad80:	81 c3 e0 08 	retl                                           
 201ad84:	c0 22 80 00 	clr  [ %o2 ]                                   
                                                                      
  /*                                                                  
   *  This isn't supported or required yet for Global objects so      
   *  if it isn't local, we don't find it.                            
   */                                                                 
  *location = OBJECTS_ERROR;                                          
 201ad88:	82 10 20 01 	mov  1, %g1                                    
  return NULL;                                                        
 201ad8c:	90 10 20 00 	clr  %o0                                       
}                                                                     
 201ad90:	81 c3 e0 08 	retl                                           
 201ad94:	c2 22 80 00 	st  %g1, [ %o2 ]                               
                                                                      

02010064 <_Objects_Id_to_name>: */ Objects_Name_or_id_lookup_errors _Objects_Id_to_name ( Objects_Id id, Objects_Name *name ) {
 2010064:	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;
 2010068:	80 a6 20 00 	cmp  %i0, 0                                    
 201006c:	12 80 00 06 	bne  2010084 <_Objects_Id_to_name+0x20>        
 2010070:	83 36 20 18 	srl  %i0, 0x18, %g1                            
 2010074:	03 00 80 c7 	sethi  %hi(0x2031c00), %g1                     
 2010078:	c2 00 63 ac 	ld  [ %g1 + 0x3ac ], %g1	! 2031fac <_Per_CPU_Information+0xc>
 201007c:	f0 00 60 08 	ld  [ %g1 + 8 ], %i0                           
 2010080:	83 36 20 18 	srl  %i0, 0x18, %g1                            
 2010084:	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 )                      
 2010088:	84 00 7f ff 	add  %g1, -1, %g2                              
 201008c:	80 a0 a0 02 	cmp  %g2, 2                                    
 2010090:	18 80 00 11 	bgu  20100d4 <_Objects_Id_to_name+0x70>        
 2010094:	83 28 60 02 	sll  %g1, 2, %g1                               
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  if ( !_Objects_Information_table[ the_api ] )                       
 2010098:	05 00 80 c6 	sethi  %hi(0x2031800), %g2                     
 201009c:	84 10 a1 94 	or  %g2, 0x194, %g2	! 2031994 <_Objects_Information_table>
 20100a0:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 20100a4:	80 a0 60 00 	cmp  %g1, 0                                    
 20100a8:	02 80 00 0b 	be  20100d4 <_Objects_Id_to_name+0x70>         
 20100ac:	85 36 20 1b 	srl  %i0, 0x1b, %g2                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  the_class = _Objects_Get_class( tmpId );                            
                                                                      
  information = _Objects_Information_table[ the_api ][ the_class ];   
 20100b0:	85 28 a0 02 	sll  %g2, 2, %g2                               
 20100b4:	d0 00 40 02 	ld  [ %g1 + %g2 ], %o0                         
  if ( !information )                                                 
 20100b8:	80 a2 20 00 	cmp  %o0, 0                                    
 20100bc:	02 80 00 06 	be  20100d4 <_Objects_Id_to_name+0x70>         <== NEVER TAKEN
 20100c0:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
 20100c4:	c2 0a 20 38 	ldub  [ %o0 + 0x38 ], %g1                      
 20100c8:	80 a0 60 00 	cmp  %g1, 0                                    
 20100cc:	02 80 00 04 	be  20100dc <_Objects_Id_to_name+0x78>         <== ALWAYS TAKEN
 20100d0:	92 10 00 18 	mov  %i0, %o1                                  
                                                                      
  tmpId = (id == OBJECTS_ID_OF_SELF) ? _Thread_Executing->Object.id : id;
                                                                      
  the_api = _Objects_Get_API( tmpId );                                
  if ( !_Objects_Is_api_valid( the_api ) )                            
    return OBJECTS_INVALID_ID;                                        
 20100d4:	81 c7 e0 08 	ret                                            
 20100d8:	91 e8 20 03 	restore  %g0, 3, %o0                           
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    if ( information->is_string )                                     
      return OBJECTS_INVALID_ID;                                      
  #endif                                                              
                                                                      
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
 20100dc:	7f ff ff c4 	call  200ffec <_Objects_Get>                   
 20100e0:	94 07 bf fc 	add  %fp, -4, %o2                              
  if ( !the_object )                                                  
 20100e4:	80 a2 20 00 	cmp  %o0, 0                                    
 20100e8:	02 bf ff fb 	be  20100d4 <_Objects_Id_to_name+0x70>         
 20100ec:	01 00 00 00 	nop                                            
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
 20100f0:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
  _Thread_Enable_dispatch();                                          
  return OBJECTS_NAME_OR_ID_LOOKUP_SUCCESSFUL;                        
 20100f4:	b0 10 20 00 	clr  %i0                                       
  the_object = _Objects_Get( information, tmpId, &ignored_location ); 
  if ( !the_object )                                                  
    return OBJECTS_INVALID_ID;                                        
                                                                      
  *name = the_object->name;                                           
  _Thread_Enable_dispatch();                                          
 20100f8:	40 00 03 f0 	call  20110b8 <_Thread_Enable_dispatch>        
 20100fc:	c2 26 40 00 	st  %g1, [ %i1 ]                               
 2010100:	81 c7 e0 08 	ret                                            
 2010104:	81 e8 00 00 	restore                                        
                                                                      

02009ae4 <_Objects_Shrink_information>: */ void _Objects_Shrink_information( Objects_Information *information ) {
 2009ae4:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   * Search the list to find block or chunk with all objects inactive.
   */                                                                 
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
 2009ae8:	f8 16 20 0a 	lduh  [ %i0 + 0xa ], %i4                       
  block_count = (information->maximum - index_base) /                 
 2009aec:	f6 16 20 14 	lduh  [ %i0 + 0x14 ], %i3                      
 2009af0:	d0 16 20 10 	lduh  [ %i0 + 0x10 ], %o0                      
 2009af4:	92 10 00 1b 	mov  %i3, %o1                                  
 2009af8:	40 00 3e bd 	call  20195ec <.udiv>                          
 2009afc:	90 22 00 1c 	sub  %o0, %i4, %o0                             
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
 2009b00:	80 a2 20 00 	cmp  %o0, 0                                    
 2009b04:	02 80 00 36 	be  2009bdc <_Objects_Shrink_information+0xf8> <== NEVER TAKEN
 2009b08:	01 00 00 00 	nop                                            
    if ( information->inactive_per_block[ block ] ==                  
 2009b0c:	c8 06 20 30 	ld  [ %i0 + 0x30 ], %g4                        
 2009b10:	c2 01 00 00 	ld  [ %g4 ], %g1                               
 2009b14:	80 a6 c0 01 	cmp  %i3, %g1                                  
 2009b18:	02 80 00 0f 	be  2009b54 <_Objects_Shrink_information+0x70> <== NEVER TAKEN
 2009b1c:	82 10 20 00 	clr  %g1                                       
 2009b20:	10 80 00 07 	b  2009b3c <_Objects_Shrink_information+0x58>  
 2009b24:	ba 10 20 04 	mov  4, %i5                                    
 2009b28:	c4 01 00 1d 	ld  [ %g4 + %i5 ], %g2                         
 2009b2c:	80 a6 c0 02 	cmp  %i3, %g2                                  
 2009b30:	02 80 00 0a 	be  2009b58 <_Objects_Shrink_information+0x74> 
 2009b34:	86 07 60 04 	add  %i5, 4, %g3                               
 2009b38:	ba 10 00 03 	mov  %g3, %i5                                  
                                                                      
  index_base = _Objects_Get_index( information->minimum_id );         
  block_count = (information->maximum - index_base) /                 
                 information->allocation_size;                        
                                                                      
  for ( block = 0; block < block_count; block++ ) {                   
 2009b3c:	82 00 60 01 	inc  %g1                                       
 2009b40:	80 a0 40 08 	cmp  %g1, %o0                                  
 2009b44:	12 bf ff f9 	bne  2009b28 <_Objects_Shrink_information+0x44>
 2009b48:	b8 07 00 1b 	add  %i4, %i3, %i4                             
 2009b4c:	81 c7 e0 08 	ret                                            
 2009b50:	81 e8 00 00 	restore                                        
    if ( information->inactive_per_block[ block ] ==                  
 2009b54:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
 2009b58:	35 00 00 3f 	sethi  %hi(0xfc00), %i2                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2009b5c:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 2009b60:	10 80 00 05 	b  2009b74 <_Objects_Shrink_information+0x90>  
 2009b64:	b4 16 a3 ff 	or  %i2, 0x3ff, %i2                            
         if ((index >= index_base) &&                                 
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
         }                                                            
       }                                                              
       while ( the_object );                                          
 2009b68:	90 96 e0 00 	orcc  %i3, 0, %o0                              
 2009b6c:	22 80 00 12 	be,a   2009bb4 <_Objects_Shrink_information+0xd0>
 2009b70:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
       *  Assume the Inactive chain is never empty at this point      
       */                                                             
      the_object = (Objects_Control *) _Chain_First( &information->Inactive );
                                                                      
      do {                                                            
         index = _Objects_Get_index( the_object->id );                
 2009b74:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
 2009b78:	82 08 40 1a 	and  %g1, %i2, %g1                             
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
 2009b7c:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2009b80:	0a bf ff fa 	bcs  2009b68 <_Objects_Shrink_information+0x84>
 2009b84:	f6 02 00 00 	ld  [ %o0 ], %i3                               
             (index < (index_base + information->allocation_size))) { 
 2009b88:	c4 16 20 14 	lduh  [ %i0 + 0x14 ], %g2                      
 2009b8c:	84 07 00 02 	add  %i4, %g2, %g2                             
         /*                                                           
          *  Get the next node before the node is extracted           
          */                                                          
         extract_me = the_object;                                     
         the_object = (Objects_Control *) the_object->Node.next;      
         if ((index >= index_base) &&                                 
 2009b90:	80 a0 40 02 	cmp  %g1, %g2                                  
 2009b94:	3a bf ff f6 	bcc,a   2009b6c <_Objects_Shrink_information+0x88>
 2009b98:	90 96 e0 00 	orcc  %i3, 0, %o0                              
             (index < (index_base + information->allocation_size))) { 
           _Chain_Extract( &extract_me->Node );                       
 2009b9c:	40 00 10 d4 	call  200deec <_Chain_Extract>                 
 2009ba0:	01 00 00 00 	nop                                            
         }                                                            
       }                                                              
       while ( the_object );                                          
 2009ba4:	90 96 e0 00 	orcc  %i3, 0, %o0                              
 2009ba8:	32 bf ff f4 	bne,a   2009b78 <_Objects_Shrink_information+0x94><== ALWAYS TAKEN
 2009bac:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
 2009bb0:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        <== NOT EXECUTED
 2009bb4:	40 00 07 b6 	call  200ba8c <_Workspace_Free>                
 2009bb8:	d0 00 40 1d 	ld  [ %g1 + %i5 ], %o0                         
      information->object_blocks[ block ] = NULL;                     
 2009bbc:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
      information->inactive_per_block[ block ] = 0;                   
                                                                      
      information->inactive -= information->allocation_size;          
 2009bc0:	c4 16 20 2c 	lduh  [ %i0 + 0x2c ], %g2                      
      /*                                                              
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
 2009bc4:	c0 20 40 1d 	clr  [ %g1 + %i5 ]                             
      information->inactive_per_block[ block ] = 0;                   
 2009bc8:	c6 06 20 30 	ld  [ %i0 + 0x30 ], %g3                        
                                                                      
      information->inactive -= information->allocation_size;          
 2009bcc:	c2 16 20 14 	lduh  [ %i0 + 0x14 ], %g1                      
       *  Free the memory and reset the structures in the object' information
       */                                                             
                                                                      
      _Workspace_Free( information->object_blocks[ block ] );         
      information->object_blocks[ block ] = NULL;                     
      information->inactive_per_block[ block ] = 0;                   
 2009bd0:	c0 20 c0 1d 	clr  [ %g3 + %i5 ]                             
                                                                      
      information->inactive -= information->allocation_size;          
 2009bd4:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2009bd8:	c2 36 20 2c 	sth  %g1, [ %i0 + 0x2c ]                       
                                                                      
      return;                                                         
 2009bdc:	81 c7 e0 08 	ret                                            
 2009be0:	81 e8 00 00 	restore                                        
                                                                      

0200fdec <_POSIX_Keys_Run_destructors>: */ void _POSIX_Keys_Run_destructors( Thread_Control *thread ) {
 200fdec:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Objects_Maximum thread_index = _Objects_Get_index( thread->Object.id );
 200fdf0:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
    for ( index = 1 ; index <= max ; ++index ) {                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
        void *value = key->Values [ thread_api ][ thread_index ];     
 200fdf4:	35 00 00 3f 	sethi  %hi(0xfc00), %i2                        
 200fdf8:	b3 30 60 18 	srl  %g1, 0x18, %i1                            
 200fdfc:	b4 16 a3 ff 	or  %i2, 0x3ff, %i2                            
 200fe00:	b2 0e 60 07 	and  %i1, 7, %i1                               
 200fe04:	b4 08 40 1a 	and  %g1, %i2, %i2                             
 200fe08:	b2 06 60 04 	add  %i1, 4, %i1                               
 200fe0c:	3b 00 80 7b 	sethi  %hi(0x201ec00), %i5                     
 200fe10:	b5 2e a0 02 	sll  %i2, 2, %i2                               
 200fe14:	ba 17 60 b8 	or  %i5, 0xb8, %i5                             
 200fe18:	b3 2e 60 02 	sll  %i1, 2, %i1                               
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 200fe1c:	c2 17 60 10 	lduh  [ %i5 + 0x10 ], %g1                      
 200fe20:	80 a0 60 00 	cmp  %g1, 0                                    
 200fe24:	02 80 00 21 	be  200fea8 <_POSIX_Keys_Run_destructors+0xbc> 
 200fe28:	b8 10 20 01 	mov  1, %i4                                    
 200fe2c:	86 10 20 01 	mov  1, %g3                                    
 200fe30:	b6 10 00 01 	mov  %g1, %i3                                  
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
 200fe34:	c8 07 60 1c 	ld  [ %i5 + 0x1c ], %g4                        
        _POSIX_Keys_Information.local_table [ index ];                
 200fe38:	85 2f 20 10 	sll  %i4, 0x10, %g2                            
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
      POSIX_Keys_Control *key = (POSIX_Keys_Control *)                
 200fe3c:	85 30 a0 0e 	srl  %g2, 0xe, %g2                             
 200fe40:	c4 01 00 02 	ld  [ %g4 + %g2 ], %g2                         
        _POSIX_Keys_Information.local_table [ index ];                
                                                                      
      if ( key != NULL && key->destructor != NULL ) {                 
 200fe44:	80 a0 a0 00 	cmp  %g2, 0                                    
 200fe48:	02 80 00 10 	be  200fe88 <_POSIX_Keys_Run_destructors+0x9c> 
 200fe4c:	82 00 80 19 	add  %g2, %i1, %g1                             
 200fe50:	c8 00 a0 10 	ld  [ %g2 + 0x10 ], %g4                        
 200fe54:	80 a1 20 00 	cmp  %g4, 0                                    
 200fe58:	22 80 00 0d 	be,a   200fe8c <_POSIX_Keys_Run_destructors+0xa0>
 200fe5c:	b8 07 20 01 	inc  %i4                                       
        void *value = key->Values [ thread_api ][ thread_index ];     
 200fe60:	c8 00 60 04 	ld  [ %g1 + 4 ], %g4                           
 200fe64:	d0 01 00 1a 	ld  [ %g4 + %i2 ], %o0                         
                                                                      
        if ( value != NULL ) {                                        
 200fe68:	80 a2 20 00 	cmp  %o0, 0                                    
 200fe6c:	22 80 00 08 	be,a   200fe8c <_POSIX_Keys_Run_destructors+0xa0><== ALWAYS TAKEN
 200fe70:	b8 07 20 01 	inc  %i4                                       
          key->Values [ thread_api ][ thread_index ] = NULL;          
 200fe74:	c0 21 00 1a 	clr  [ %g4 + %i2 ]                             <== NOT EXECUTED
          (*key->destructor)( value );                                
 200fe78:	c2 00 a0 10 	ld  [ %g2 + 0x10 ], %g1                        <== NOT EXECUTED
 200fe7c:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200fe80:	01 00 00 00 	nop                                            <== NOT EXECUTED
          done = false;                                               
 200fe84:	86 10 20 00 	clr  %g3	! 0 <PROM_START>                      <== NOT EXECUTED
    Objects_Maximum index = 0;                                        
    Objects_Maximum max = _POSIX_Keys_Information.maximum;            
                                                                      
    done = true;                                                      
                                                                      
    for ( index = 1 ; index <= max ; ++index ) {                      
 200fe88:	b8 07 20 01 	inc  %i4                                       
 200fe8c:	85 2f 20 10 	sll  %i4, 0x10, %g2                            
 200fe90:	85 30 a0 10 	srl  %g2, 0x10, %g2                            
 200fe94:	80 a6 c0 02 	cmp  %i3, %g2                                  
 200fe98:	1a bf ff e7 	bcc  200fe34 <_POSIX_Keys_Run_destructors+0x48>
 200fe9c:	80 88 e0 ff 	btst  0xff, %g3                                
   *  number of iterations.  An infinite loop may happen if destructors set
   *  thread specific data.  This can be considered dubious.          
   *                                                                  
   *  Reference: 17.1.1.2 P1003.1c/Draft 10, p. 163, line 99.         
   */                                                                 
  while ( !done ) {                                                   
 200fea0:	22 bf ff e0 	be,a   200fe20 <_POSIX_Keys_Run_destructors+0x34><== NEVER TAKEN
 200fea4:	c2 17 60 10 	lduh  [ %i5 + 0x10 ], %g1                      <== NOT EXECUTED
 200fea8:	81 c7 e0 08 	ret                                            
 200feac:	81 e8 00 00 	restore                                        
                                                                      

0200cf04 <_POSIX_Message_queue_Receive_support>: size_t msg_len, unsigned int *msg_prio, bool wait, Watchdog_Interval timeout ) {
 200cf04:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *_POSIX_Message_queue_Get_fd (
  mqd_t              id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control_fd *) _Objects_Get(             
 200cf08:	11 00 80 af 	sethi  %hi(0x202bc00), %o0                     
 200cf0c:	92 10 00 18 	mov  %i0, %o1                                  
 200cf10:	90 12 20 7c 	or  %o0, 0x7c, %o0                             
 200cf14:	40 00 0d 84 	call  2010524 <_Objects_Get>                   
 200cf18:	94 07 bf f8 	add  %fp, -8, %o2                              
  Objects_Locations                location;                          
  size_t                           length_out;                        
  bool                             do_wait;                           
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
 200cf1c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200cf20:	80 a0 60 00 	cmp  %g1, 0                                    
 200cf24:	22 80 00 08 	be,a   200cf44 <_POSIX_Message_queue_Receive_support+0x40>
 200cf28:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EBADF );                      
 200cf2c:	40 00 2b 50 	call  2017c6c <__errno>                        
 200cf30:	b0 10 3f ff 	mov  -1, %i0                                   
 200cf34:	82 10 20 09 	mov  9, %g1                                    
 200cf38:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 200cf3c:	81 c7 e0 08 	ret                                            
 200cf40:	81 e8 00 00 	restore                                        
                                                                      
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
 200cf44:	84 08 60 03 	and  %g1, 3, %g2                               
 200cf48:	80 a0 a0 01 	cmp  %g2, 1                                    
 200cf4c:	02 80 00 39 	be  200d030 <_POSIX_Message_queue_Receive_support+0x12c>
 200cf50:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
        rtems_set_errno_and_return_minus_one( EBADF );                
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
 200cf54:	d0 02 20 10 	ld  [ %o0 + 0x10 ], %o0                        
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
 200cf58:	c4 02 20 68 	ld  [ %o0 + 0x68 ], %g2                        
 200cf5c:	80 a0 80 1a 	cmp  %g2, %i2                                  
 200cf60:	18 80 00 23 	bgu  200cfec <_POSIX_Message_queue_Receive_support+0xe8>
 200cf64:	84 10 3f ff 	mov  -1, %g2                                   
      /*                                                              
       *  Now if something goes wrong, we return a "length" of -1     
       *  to indicate an error.                                       
       */                                                             
                                                                      
      length_out = -1;                                                
 200cf68:	c4 27 bf fc 	st  %g2, [ %fp + -4 ]                          
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
 200cf6c:	80 a7 20 00 	cmp  %i4, 0                                    
 200cf70:	12 80 00 1b 	bne  200cfdc <_POSIX_Message_queue_Receive_support+0xd8>
 200cf74:	98 10 20 00 	clr  %o4                                       
        do_wait = wait;                                               
                                                                      
      /*                                                              
       *  Now perform the actual message receive                      
       */                                                             
      _CORE_message_queue_Seize(                                      
 200cf78:	9a 10 00 1d 	mov  %i5, %o5                                  
 200cf7c:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
 200cf80:	92 10 00 18 	mov  %i0, %o1                                  
 200cf84:	94 10 00 19 	mov  %i1, %o2                                  
 200cf88:	96 07 bf fc 	add  %fp, -4, %o3                              
 200cf8c:	40 00 08 f5 	call  200f360 <_CORE_message_queue_Seize>      
 200cf90:	98 0b 20 01 	and  %o4, 1, %o4                               
        &length_out,                                                  
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 200cf94:	40 00 11 66 	call  201152c <_Thread_Enable_dispatch>        
 200cf98:	3b 00 80 af 	sethi  %hi(0x202bc00), %i5                     
      if (msg_prio) {                                                 
 200cf9c:	80 a6 e0 00 	cmp  %i3, 0                                    
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
             _Thread_Executing->Wait.count                            
 200cfa0:	ba 17 60 f0 	or  %i5, 0xf0, %i5                             
        do_wait,                                                      
        timeout                                                       
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if (msg_prio) {                                                 
 200cfa4:	02 80 00 07 	be  200cfc0 <_POSIX_Message_queue_Receive_support+0xbc><== NEVER TAKEN
 200cfa8:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
RTEMS_INLINE_ROUTINE unsigned int _POSIX_Message_queue_Priority_from_core(
  CORE_message_queue_Submit_types priority                            
)                                                                     
{                                                                     
  /* absolute value without a library dependency */                   
  return (unsigned int) ((priority >= 0) ? priority : -priority);     
 200cfac:	c6 00 60 24 	ld  [ %g1 + 0x24 ], %g3                        
 200cfb0:	85 38 e0 1f 	sra  %g3, 0x1f, %g2                            
 200cfb4:	86 18 80 03 	xor  %g2, %g3, %g3                             
 200cfb8:	84 20 c0 02 	sub  %g3, %g2, %g2                             
        *msg_prio = _POSIX_Message_queue_Priority_from_core(          
 200cfbc:	c4 26 c0 00 	st  %g2, [ %i3 ]                               
             _Thread_Executing->Wait.count                            
          );                                                          
      }                                                               
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
 200cfc0:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 200cfc4:	80 a0 60 00 	cmp  %g1, 0                                    
 200cfc8:	12 80 00 11 	bne  200d00c <_POSIX_Message_queue_Receive_support+0x108>
 200cfcc:	01 00 00 00 	nop                                            
        return length_out;                                            
 200cfd0:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          
 200cfd4:	81 c7 e0 08 	ret                                            
 200cfd8:	81 e8 00 00 	restore                                        
                                                                      
      /*                                                              
       *  A timed receive with a bad time will do a poll regardless.  
       */                                                             
      if ( wait )                                                     
        do_wait = (the_mq_fd->oflag & O_NONBLOCK) ? false : true;     
 200cfdc:	99 30 60 0e 	srl  %g1, 0xe, %o4                             
 200cfe0:	98 1b 20 01 	xor  %o4, 1, %o4                               
 200cfe4:	10 bf ff e5 	b  200cf78 <_POSIX_Message_queue_Receive_support+0x74>
 200cfe8:	98 0b 20 01 	and  %o4, 1, %o4                               
      }                                                               
                                                                      
      the_mq = the_mq_fd->Queue;                                      
                                                                      
      if ( msg_len < the_mq->Message_queue.maximum_message_size ) {   
        _Thread_Enable_dispatch();                                    
 200cfec:	40 00 11 50 	call  201152c <_Thread_Enable_dispatch>        
 200cff0:	b0 10 3f ff 	mov  -1, %i0                                   
        rtems_set_errno_and_return_minus_one( EMSGSIZE );             
 200cff4:	40 00 2b 1e 	call  2017c6c <__errno>                        
 200cff8:	01 00 00 00 	nop                                            
 200cffc:	82 10 20 7a 	mov  0x7a, %g1	! 7a <PROM_START+0x7a>          
 200d000:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200d004:	81 c7 e0 08 	ret                                            
 200d008:	81 e8 00 00 	restore                                        
      }                                                               
                                                                      
      if ( !_Thread_Executing->Wait.return_code )                     
        return length_out;                                            
                                                                      
      rtems_set_errno_and_return_minus_one(                           
 200d00c:	40 00 2b 18 	call  2017c6c <__errno>                        
 200d010:	b0 10 3f ff 	mov  -1, %i0                                   
 200d014:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200d018:	b8 10 00 08 	mov  %o0, %i4                                  
 200d01c:	40 00 00 a2 	call  200d2a4 <_POSIX_Message_queue_Translate_core_message_queue_return_code>
 200d020:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 200d024:	d0 27 00 00 	st  %o0, [ %i4 ]                               
 200d028:	81 c7 e0 08 	ret                                            
 200d02c:	81 e8 00 00 	restore                                        
  the_mq_fd = _POSIX_Message_queue_Get_fd( mqdes, &location );        
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( (the_mq_fd->oflag & O_ACCMODE) == O_WRONLY ) {             
        _Thread_Enable_dispatch();                                    
 200d030:	40 00 11 3f 	call  201152c <_Thread_Enable_dispatch>        
 200d034:	b0 10 3f ff 	mov  -1, %i0                                   
        rtems_set_errno_and_return_minus_one( EBADF );                
 200d038:	40 00 2b 0d 	call  2017c6c <__errno>                        
 200d03c:	01 00 00 00 	nop                                            
 200d040:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
 200d044:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200d048:	81 c7 e0 08 	ret                                            
 200d04c:	81 e8 00 00 	restore                                        
                                                                      

0200f8c0 <_POSIX_Semaphore_Create_support>: size_t name_len, int pshared, unsigned int value, POSIX_Semaphore_Control **the_sem ) {
 200f8c0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Semaphore_Control   *the_semaphore;                           
  CORE_semaphore_Attributes *the_sem_attr;                            
  char                      *name;                                    
                                                                      
  /* Sharing semaphores among processes is not currently supported */ 
  if (pshared != 0)                                                   
 200f8c4:	80 a6 a0 00 	cmp  %i2, 0                                    
 200f8c8:	12 80 00 30 	bne  200f988 <_POSIX_Semaphore_Create_support+0xc8>
 200f8cc:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 200f8d0:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 20233a0 <_Thread_Dispatch_disable_level>
 200f8d4:	84 00 a0 01 	inc  %g2                                       
 200f8d8:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
    return _Thread_Dispatch_disable_level;                            
 200f8dc:	c2 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g1                       
 *  _POSIX_Semaphore_Allocate                                         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Allocate( void )
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
 200f8e0:	35 00 80 8d 	sethi  %hi(0x2023400), %i2                     
 200f8e4:	7f ff ed ca 	call  200b00c <_Objects_Allocate>              
 200f8e8:	90 16 a2 90 	or  %i2, 0x290, %o0	! 2023690 <_POSIX_Semaphore_Information>
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Allocate();                        
  if ( !the_semaphore ) {                                             
 200f8ec:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200f8f0:	02 80 00 2c 	be  200f9a0 <_POSIX_Semaphore_Create_support+0xe0>
 200f8f4:	80 a6 20 00 	cmp  %i0, 0                                    
                                                                      
  /*                                                                  
   * Make a copy of the user's string for name just in case it was    
   * dynamically constructed.                                         
   */                                                                 
  if ( name_arg != NULL ) {                                           
 200f8f8:	02 80 00 1e 	be  200f970 <_POSIX_Semaphore_Create_support+0xb0>
 200f8fc:	92 10 00 19 	mov  %i1, %o1                                  
    name = _Workspace_String_duplicate( name_arg, name_len );         
 200f900:	40 00 04 c6 	call  2010c18 <_Workspace_String_duplicate>    
 200f904:	90 10 00 18 	mov  %i0, %o0                                  
    if ( !name ) {                                                    
 200f908:	b2 92 20 00 	orcc  %o0, 0, %i1                              
 200f90c:	02 80 00 2d 	be  200f9c0 <_POSIX_Semaphore_Create_support+0x100><== NEVER TAKEN
 200f910:	82 10 20 01 	mov  1, %g1                                    
  }                                                                   
                                                                      
  the_semaphore->process_shared  = pshared;                           
                                                                      
  if ( name ) {                                                       
    the_semaphore->named = true;                                      
 200f914:	84 10 20 01 	mov  1, %g2                                    
    }                                                                 
  } else {                                                            
    name = NULL;                                                      
  }                                                                   
                                                                      
  the_semaphore->process_shared  = pshared;                           
 200f918:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
                                                                      
  if ( name ) {                                                       
    the_semaphore->named = true;                                      
 200f91c:	c4 2f 60 14 	stb  %g2, [ %i5 + 0x14 ]                       
    the_semaphore->open_count = 1;                                    
 200f920:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        
    the_semaphore->linked = true;                                     
 200f924:	c2 2f 60 15 	stb  %g1, [ %i5 + 0x15 ]                       
  the_sem_attr->discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;         
                                                                      
  /*                                                                  
   *  This effectively disables limit checking.                       
   */                                                                 
  the_sem_attr->maximum_count = 0xFFFFFFFF;                           
 200f928:	82 10 3f ff 	mov  -1, %g1                                   
                                                                      
  _CORE_semaphore_Initialize( &the_semaphore->Semaphore, the_sem_attr, value );
 200f92c:	90 07 60 1c 	add  %i5, 0x1c, %o0                            
 200f930:	92 07 60 5c 	add  %i5, 0x5c, %o1                            
 200f934:	94 10 00 1b 	mov  %i3, %o2                                  
  the_sem_attr->discipline = CORE_SEMAPHORE_DISCIPLINES_FIFO;         
                                                                      
  /*                                                                  
   *  This effectively disables limit checking.                       
   */                                                                 
  the_sem_attr->maximum_count = 0xFFFFFFFF;                           
 200f938:	c2 27 60 5c 	st  %g1, [ %i5 + 0x5c ]                        
                                                                      
  _CORE_semaphore_Initialize( &the_semaphore->Semaphore, the_sem_attr, value );
 200f93c:	7f ff ec 11 	call  200a980 <_CORE_semaphore_Initialize>     
 200f940:	c0 27 60 60 	clr  [ %i5 + 0x60 ]                            
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 200f944:	c2 17 60 0a 	lduh  [ %i5 + 0xa ], %g1                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200f948:	b4 16 a2 90 	or  %i2, 0x290, %i2                            
 200f94c:	c4 06 a0 1c 	ld  [ %i2 + 0x1c ], %g2                        
 200f950:	83 28 60 02 	sll  %g1, 2, %g1                               
 200f954:	fa 20 80 01 	st  %i5, [ %g2 + %g1 ]                         
    the_object                                                        
  );                                                                  
                                                                      
  #if defined(RTEMS_SCORE_OBJECT_ENABLE_STRING_NAMES)                 
    /* ASSERT: information->is_string */                              
    the_object->name.name_p = name;                                   
 200f958:	f2 27 60 0c 	st  %i1, [ %i5 + 0xc ]                         
    &_POSIX_Semaphore_Information,                                    
    &the_semaphore->Object,                                           
    name                                                              
  );                                                                  
                                                                      
  *the_sem = the_semaphore;                                           
 200f95c:	fa 27 00 00 	st  %i5, [ %i4 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 200f960:	7f ff f3 13 	call  200c5ac <_Thread_Enable_dispatch>        
 200f964:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
 200f968:	81 c7 e0 08 	ret                                            
 200f96c:	81 e8 00 00 	restore                                        
    }                                                                 
  } else {                                                            
    name = NULL;                                                      
  }                                                                   
                                                                      
  the_semaphore->process_shared  = pshared;                           
 200f970:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
  if ( name ) {                                                       
    the_semaphore->named = true;                                      
    the_semaphore->open_count = 1;                                    
    the_semaphore->linked = true;                                     
  } else {                                                            
    the_semaphore->named = false;                                     
 200f974:	c0 2f 60 14 	clrb  [ %i5 + 0x14 ]                           
    the_semaphore->open_count = 0;                                    
 200f978:	c0 27 60 18 	clr  [ %i5 + 0x18 ]                            
    the_semaphore->linked = false;                                    
 200f97c:	c0 2f 60 15 	clrb  [ %i5 + 0x15 ]                           
      _POSIX_Semaphore_Free( the_semaphore );                         
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
    }                                                                 
  } else {                                                            
    name = NULL;                                                      
 200f980:	10 bf ff ea 	b  200f928 <_POSIX_Semaphore_Create_support+0x68>
 200f984:	b2 10 20 00 	clr  %i1                                       
  CORE_semaphore_Attributes *the_sem_attr;                            
  char                      *name;                                    
                                                                      
  /* Sharing semaphores among processes is not currently supported */ 
  if (pshared != 0)                                                   
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 200f988:	40 00 0b 71 	call  201274c <__errno>                        
 200f98c:	b0 10 3f ff 	mov  -1, %i0                                   
 200f990:	82 10 20 58 	mov  0x58, %g1                                 
 200f994:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200f998:	81 c7 e0 08 	ret                                            
 200f99c:	81 e8 00 00 	restore                                        
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_semaphore = _POSIX_Semaphore_Allocate();                        
  if ( !the_semaphore ) {                                             
    _Thread_Enable_dispatch();                                        
 200f9a0:	7f ff f3 03 	call  200c5ac <_Thread_Enable_dispatch>        
 200f9a4:	b0 10 3f ff 	mov  -1, %i0                                   
    rtems_set_errno_and_return_minus_one( ENOSPC );                   
 200f9a8:	40 00 0b 69 	call  201274c <__errno>                        
 200f9ac:	01 00 00 00 	nop                                            
 200f9b0:	82 10 20 1c 	mov  0x1c, %g1	! 1c <PROM_START+0x1c>          
 200f9b4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200f9b8:	81 c7 e0 08 	ret                                            
 200f9bc:	81 e8 00 00 	restore                                        
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Semaphore_Free (                     
  POSIX_Semaphore_Control *the_semaphore                              
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Semaphore_Information, &the_semaphore->Object );
 200f9c0:	90 16 a2 90 	or  %i2, 0x290, %o0                            <== NOT EXECUTED
 200f9c4:	7f ff ee 7f 	call  200b3c0 <_Objects_Free>                  <== NOT EXECUTED
 200f9c8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
   */                                                                 
  if ( name_arg != NULL ) {                                           
    name = _Workspace_String_duplicate( name_arg, name_len );         
    if ( !name ) {                                                    
      _POSIX_Semaphore_Free( the_semaphore );                         
      _Thread_Enable_dispatch();                                      
 200f9cc:	7f ff f2 f8 	call  200c5ac <_Thread_Enable_dispatch>        <== NOT EXECUTED
 200f9d0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
      rtems_set_errno_and_return_minus_one( ENOMEM );                 
 200f9d4:	40 00 0b 5e 	call  201274c <__errno>                        <== NOT EXECUTED
 200f9d8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200f9dc:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
 200f9e0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200f9e4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f9e8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200d340 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch>: Thread_Control *the_thread ) { POSIX_API_Control *thread_support; thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];
 200d340:	c2 02 21 5c 	ld  [ %o0 + 0x15c ], %g1                       
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 200d344:	c4 00 60 d8 	ld  [ %g1 + 0xd8 ], %g2                        
 200d348:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d34c:	12 80 00 06 	bne  200d364 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x24><== NEVER TAKEN
 200d350:	01 00 00 00 	nop                                            
 200d354:	c4 00 60 dc 	ld  [ %g1 + 0xdc ], %g2                        
 200d358:	80 a0 a0 01 	cmp  %g2, 1                                    
 200d35c:	22 80 00 05 	be,a   200d370 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x30>
 200d360:	c2 00 60 e0 	ld  [ %g1 + 0xe0 ], %g1                        
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
  } else                                                              
    _Thread_Enable_dispatch();                                        
 200d364:	82 13 c0 00 	mov  %o7, %g1                                  
 200d368:	7f ff f5 ae 	call  200aa20 <_Thread_Enable_dispatch>        
 200d36c:	9e 10 40 00 	mov  %g1, %o7                                  
  POSIX_API_Control *thread_support;                                  
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
                                                                      
  if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
       thread_support->cancelability_type == PTHREAD_CANCEL_ASYNCHRONOUS &&
 200d370:	80 a0 60 00 	cmp  %g1, 0                                    
 200d374:	02 bf ff fc 	be  200d364 <_POSIX_Thread_Evaluate_cancellation_and_enable_dispatch+0x24>
 200d378:	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--;                                 
 200d37c:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 200d380:	c4 00 61 e0 	ld  [ %g1 + 0x1e0 ], %g2	! 201ede0 <_Thread_Dispatch_disable_level>
       thread_support->cancelation_requested ) {                      
    _Thread_Unnest_dispatch();                                        
    _POSIX_Thread_Exit( the_thread, PTHREAD_CANCELED );               
 200d384:	92 10 3f ff 	mov  -1, %o1                                   
 200d388:	84 00 bf ff 	add  %g2, -1, %g2                              
 200d38c:	c4 20 61 e0 	st  %g2, [ %g1 + 0x1e0 ]                       
    return _Thread_Dispatch_disable_level;                            
 200d390:	c2 00 61 e0 	ld  [ %g1 + 0x1e0 ], %g1                       
 200d394:	82 13 c0 00 	mov  %o7, %g1                                  
 200d398:	40 00 01 d9 	call  200dafc <_POSIX_Thread_Exit>             
 200d39c:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

0200e834 <_POSIX_Thread_Translate_sched_param>: int policy, struct sched_param *param, Thread_CPU_budget_algorithms *budget_algorithm, Thread_CPU_budget_algorithm_callout *budget_callout ) {
 200e834:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !_POSIX_Priority_Is_valid( param->sched_priority ) )           
 200e838:	7f ff ff f2 	call  200e800 <_POSIX_Priority_Is_valid>       
 200e83c:	d0 06 40 00 	ld  [ %i1 ], %o0                               
 200e840:	80 8a 20 ff 	btst  0xff, %o0                                
 200e844:	32 80 00 04 	bne,a   200e854 <_POSIX_Thread_Translate_sched_param+0x20><== ALWAYS TAKEN
 200e848:	c0 26 80 00 	clr  [ %i2 ]                                   
    return EINVAL;                                                    
 200e84c:	81 c7 e0 08 	ret                                            
 200e850:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
 200e854:	80 a6 20 00 	cmp  %i0, 0                                    
 200e858:	02 80 00 2c 	be  200e908 <_POSIX_Thread_Translate_sched_param+0xd4>
 200e85c:	c0 26 c0 00 	clr  [ %i3 ]                                   
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_FIFO ) {                                       
 200e860:	80 a6 20 01 	cmp  %i0, 1                                    
 200e864:	02 80 00 2d 	be  200e918 <_POSIX_Thread_Translate_sched_param+0xe4>
 200e868:	80 a6 20 02 	cmp  %i0, 2                                    
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
 200e86c:	02 80 00 2d 	be  200e920 <_POSIX_Thread_Translate_sched_param+0xec>
 200e870:	80 a6 20 04 	cmp  %i0, 4                                    
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_SPORADIC ) {                                   
 200e874:	12 bf ff f6 	bne  200e84c <_POSIX_Thread_Translate_sched_param+0x18>
 200e878:	01 00 00 00 	nop                                            
    if ( (param->sched_ss_repl_period.tv_sec == 0) &&                 
 200e87c:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200e880:	80 a0 60 00 	cmp  %g1, 0                                    
 200e884:	32 80 00 07 	bne,a   200e8a0 <_POSIX_Thread_Translate_sched_param+0x6c>
 200e888:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200e88c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 200e890:	80 a0 60 00 	cmp  %g1, 0                                    
 200e894:	02 bf ff ee 	be  200e84c <_POSIX_Thread_Translate_sched_param+0x18>
 200e898:	01 00 00 00 	nop                                            
         (param->sched_ss_repl_period.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
 200e89c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200e8a0:	80 a0 60 00 	cmp  %g1, 0                                    
 200e8a4:	12 80 00 06 	bne  200e8bc <_POSIX_Thread_Translate_sched_param+0x88>
 200e8a8:	01 00 00 00 	nop                                            
 200e8ac:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200e8b0:	80 a0 60 00 	cmp  %g1, 0                                    
 200e8b4:	02 bf ff e6 	be  200e84c <_POSIX_Thread_Translate_sched_param+0x18>
 200e8b8:	01 00 00 00 	nop                                            
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
 200e8bc:	7f ff f6 ca 	call  200c3e4 <_Timespec_To_ticks>             
 200e8c0:	90 06 60 08 	add  %i1, 8, %o0                               
 200e8c4:	ba 10 00 08 	mov  %o0, %i5                                  
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
 200e8c8:	7f ff f6 c7 	call  200c3e4 <_Timespec_To_ticks>             
 200e8cc:	90 06 60 10 	add  %i1, 0x10, %o0                            
                                                                      
    if ( (param->sched_ss_init_budget.tv_sec == 0) &&                 
         (param->sched_ss_init_budget.tv_nsec == 0) )                 
      return EINVAL;                                                  
                                                                      
    if ( _Timespec_To_ticks( ¶m->sched_ss_repl_period ) <         
 200e8d0:	80 a7 40 08 	cmp  %i5, %o0                                  
 200e8d4:	0a bf ff de 	bcs  200e84c <_POSIX_Thread_Translate_sched_param+0x18>
 200e8d8:	01 00 00 00 	nop                                            
	 _Timespec_To_ticks( ¶m->sched_ss_init_budget ) )                
      return EINVAL;                                                  
                                                                      
    if ( !_POSIX_Priority_Is_valid( param->sched_ss_low_priority ) )  
 200e8dc:	7f ff ff c9 	call  200e800 <_POSIX_Priority_Is_valid>       
 200e8e0:	d0 06 60 04 	ld  [ %i1 + 4 ], %o0                           
 200e8e4:	80 8a 20 ff 	btst  0xff, %o0                                
 200e8e8:	02 bf ff d9 	be  200e84c <_POSIX_Thread_Translate_sched_param+0x18>
 200e8ec:	82 10 20 03 	mov  3, %g1                                    
      return EINVAL;                                                  
                                                                      
    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;         
 200e8f0:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
 200e8f4:	03 00 80 20 	sethi  %hi(0x2008000), %g1                     
 200e8f8:	82 10 63 94 	or  %g1, 0x394, %g1	! 2008394 <_POSIX_Threads_Sporadic_budget_callout>
 200e8fc:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    return 0;                                                         
 200e900:	81 c7 e0 08 	ret                                            
 200e904:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;               
  *budget_callout = NULL;                                             
                                                                      
  if ( policy == SCHED_OTHER ) {                                      
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;  
 200e908:	82 10 20 01 	mov  1, %g1                                    
 200e90c:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    return 0;                                                         
 200e910:	81 c7 e0 08 	ret                                            
 200e914:	81 e8 00 00 	restore                                        
    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;         
    return 0;                                                         
  }                                                                   
                                                                      
  return EINVAL;                                                      
}                                                                     
 200e918:	81 c7 e0 08 	ret                                            
 200e91c:	91 e8 20 00 	restore  %g0, 0, %o0                           
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_NONE;             
    return 0;                                                         
  }                                                                   
                                                                      
  if ( policy == SCHED_RR ) {                                         
    *budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE;
 200e920:	f0 26 80 00 	st  %i0, [ %i2 ]                               
    return 0;                                                         
 200e924:	81 c7 e0 08 	ret                                            
 200e928:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200d66c <_POSIX_Threads_Delete_extension>: */ static void _POSIX_Threads_Delete_extension( Thread_Control *executing __attribute__((unused)), Thread_Control *deleted ) {
 200d66c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
  void              **value_ptr;                                      
                                                                      
  api = deleted->API_Extensions[ THREAD_API_POSIX ];                  
 200d670:	f0 06 61 5c 	ld  [ %i1 + 0x15c ], %i0                       
                                                                      
  /*                                                                  
   *  Run the POSIX cancellation handlers                             
   */                                                                 
  _POSIX_Threads_cancel_run( deleted );                               
 200d674:	40 00 09 c2 	call  200fd7c <_POSIX_Threads_cancel_run>      
 200d678:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  /*                                                                  
   *  Run all the key destructors                                     
   */                                                                 
  _POSIX_Keys_Run_destructors( deleted );                             
 200d67c:	90 10 00 19 	mov  %i1, %o0                                  
 200d680:	40 00 09 db 	call  200fdec <_POSIX_Keys_Run_destructors>    
 200d684:	ba 06 20 44 	add  %i0, 0x44, %i5                            
  /*                                                                  
   *  Wakeup all the tasks which joined with this one                 
   */                                                                 
  value_ptr = (void **) deleted->Wait.return_argument;                
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( &api->Join_List )) )   
 200d688:	10 80 00 03 	b  200d694 <_POSIX_Threads_Delete_extension+0x28>
 200d68c:	f8 06 60 28 	ld  [ %i1 + 0x28 ], %i4                        
      *(void **)the_thread->Wait.return_argument = value_ptr;         
 200d690:	f8 20 40 00 	st  %i4, [ %g1 ]                               <== NOT EXECUTED
  /*                                                                  
   *  Wakeup all the tasks which joined with this one                 
   */                                                                 
  value_ptr = (void **) deleted->Wait.return_argument;                
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( &api->Join_List )) )   
 200d694:	7f ff f5 7b 	call  200ac80 <_Thread_queue_Dequeue>          
 200d698:	90 10 00 1d 	mov  %i5, %o0                                  
 200d69c:	80 a2 20 00 	cmp  %o0, 0                                    
 200d6a0:	32 bf ff fc 	bne,a   200d690 <_POSIX_Threads_Delete_extension+0x24><== NEVER TAKEN
 200d6a4:	c2 02 20 28 	ld  [ %o0 + 0x28 ], %g1                        <== NOT EXECUTED
      *(void **)the_thread->Wait.return_argument = value_ptr;         
                                                                      
  if ( api->schedpolicy == SCHED_SPORADIC )                           
 200d6a8:	c2 06 20 84 	ld  [ %i0 + 0x84 ], %g1                        
 200d6ac:	80 a0 60 04 	cmp  %g1, 4                                    
 200d6b0:	02 80 00 05 	be  200d6c4 <_POSIX_Threads_Delete_extension+0x58>
 200d6b4:	01 00 00 00 	nop                                            
    (void) _Watchdog_Remove( &api->Sporadic_timer );                  
                                                                      
  deleted->API_Extensions[ THREAD_API_POSIX ] = NULL;                 
 200d6b8:	c0 26 61 5c 	clr  [ %i1 + 0x15c ]                           
                                                                      
  _Workspace_Free( api );                                             
 200d6bc:	7f ff f8 f4 	call  200ba8c <_Workspace_Free>                
 200d6c0:	81 e8 00 00 	restore                                        
                                                                      
  while ( (the_thread = _Thread_queue_Dequeue( &api->Join_List )) )   
      *(void **)the_thread->Wait.return_argument = value_ptr;         
                                                                      
  if ( api->schedpolicy == SCHED_SPORADIC )                           
    (void) _Watchdog_Remove( &api->Sporadic_timer );                  
 200d6c4:	7f ff f8 68 	call  200b864 <_Watchdog_Remove>               
 200d6c8:	90 06 20 a8 	add  %i0, 0xa8, %o0                            
                                                                      
  deleted->API_Extensions[ THREAD_API_POSIX ] = NULL;                 
 200d6cc:	c0 26 61 5c 	clr  [ %i1 + 0x15c ]                           
                                                                      
  _Workspace_Free( api );                                             
 200d6d0:	7f ff f8 ef 	call  200ba8c <_Workspace_Free>                
 200d6d4:	81 e8 00 00 	restore                                        
                                                                      

020080a8 <_POSIX_Threads_Initialize_user_threads_body>: * * Output parameters: NONE */ void _POSIX_Threads_Initialize_user_threads_body(void) {
 20080a8:	9d e3 bf 58 	save  %sp, -168, %sp                           
  uint32_t                            maximum;                        
  posix_initialization_threads_table *user_threads;                   
  pthread_t                           thread_id;                      
  pthread_attr_t                      attr;                           
                                                                      
  user_threads = Configuration_POSIX_API.User_initialization_threads_table;
 20080ac:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 20080b0:	82 10 60 f0 	or  %g1, 0xf0, %g1	! 20228f0 <Configuration_POSIX_API>
  maximum      = Configuration_POSIX_API.number_of_initialization_threads;
 20080b4:	f6 00 60 30 	ld  [ %g1 + 0x30 ], %i3                        
                                                                      
  if ( !user_threads || maximum == 0 )                                
 20080b8:	80 a6 e0 00 	cmp  %i3, 0                                    
 20080bc:	02 80 00 18 	be  200811c <_POSIX_Threads_Initialize_user_threads_body+0x74><== NEVER TAKEN
 20080c0:	fa 00 60 34 	ld  [ %g1 + 0x34 ], %i5                        
 20080c4:	80 a7 60 00 	cmp  %i5, 0                                    
 20080c8:	02 80 00 15 	be  200811c <_POSIX_Threads_Initialize_user_threads_body+0x74><== NEVER TAKEN
 20080cc:	b8 10 20 00 	clr  %i4                                       
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
    /*                                                                
     * There is no way for these calls to fail in this situation.     
     */                                                               
    (void) pthread_attr_init( &attr );                                
 20080d0:	40 00 1a 17 	call  200e92c <pthread_attr_init>              
 20080d4:	90 07 bf c0 	add  %fp, -64, %o0                             
    (void) pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
 20080d8:	92 10 20 02 	mov  2, %o1                                    
 20080dc:	40 00 1a 20 	call  200e95c <pthread_attr_setinheritsched>   
 20080e0:	90 07 bf c0 	add  %fp, -64, %o0                             
    (void) pthread_attr_setstacksize(&attr, user_threads[ index ].stack_size);
 20080e4:	d2 07 60 04 	ld  [ %i5 + 4 ], %o1                           
 20080e8:	40 00 1a 2d 	call  200e99c <pthread_attr_setstacksize>      
 20080ec:	90 07 bf c0 	add  %fp, -64, %o0                             
                                                                      
    status = pthread_create(                                          
 20080f0:	d4 07 40 00 	ld  [ %i5 ], %o2                               
 20080f4:	90 07 bf bc 	add  %fp, -68, %o0                             
 20080f8:	92 07 bf c0 	add  %fp, -64, %o1                             
 20080fc:	7f ff fe fe 	call  2007cf4 <pthread_create>                 
 2008100:	96 10 20 00 	clr  %o3                                       
      &thread_id,                                                     
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
 2008104:	94 92 20 00 	orcc  %o0, 0, %o2                              
 2008108:	12 80 00 07 	bne  2008124 <_POSIX_Threads_Initialize_user_threads_body+0x7c>
 200810c:	b8 07 20 01 	inc  %i4                                       
   *                                                                  
   *  Setting the attributes explicitly is critical, since we don't want
   *  to inherit the idle tasks attributes.                           
   */                                                                 
                                                                      
  for ( index=0 ; index < maximum ; index++ ) {                       
 2008110:	80 a7 00 1b 	cmp  %i4, %i3                                  
 2008114:	12 bf ff ef 	bne  20080d0 <_POSIX_Threads_Initialize_user_threads_body+0x28><== NEVER TAKEN
 2008118:	ba 07 60 08 	add  %i5, 8, %i5                               
 200811c:	81 c7 e0 08 	ret                                            
 2008120:	81 e8 00 00 	restore                                        
      &attr,                                                          
      user_threads[ index ].thread_entry,                             
      NULL                                                            
    );                                                                
    if ( status )                                                     
      _Internal_error_Occurred( INTERNAL_ERROR_POSIX_API, true, status );
 2008124:	90 10 20 02 	mov  2, %o0                                    
 2008128:	40 00 08 7b 	call  200a314 <_Internal_error_Occurred>       
 200812c:	92 10 20 01 	mov  1, %o1                                    
                                                                      

0200d7f8 <_POSIX_Threads_Sporadic_budget_TSR>: */ void _POSIX_Threads_Sporadic_budget_TSR( Objects_Id id __attribute__((unused)), void *argument ) {
 200d7f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Thread_Control     *the_thread;                                     
  POSIX_API_Control  *api;                                            
                                                                      
  the_thread = argument;                                              
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 200d7fc:	fa 06 61 5c 	ld  [ %i1 + 0x15c ], %i5                       
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
 200d800:	40 00 04 71 	call  200e9c4 <_Timespec_To_ticks>             
 200d804:	90 07 60 98 	add  %i5, 0x98, %o0                            
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
 200d808:	c4 07 60 88 	ld  [ %i5 + 0x88 ], %g2                        
 200d80c:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 200d810:	d2 08 63 18 	ldub  [ %g1 + 0x318 ], %o1	! 201db18 <rtems_maximum_priority>
   */                                                                 
  #if 0                                                               
    printk( "TSR %d %d %d\n", the_thread->resource_count,             
        the_thread->current_priority, new_priority );                 
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
 200d814:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 200d818:	92 22 40 02 	sub  %o1, %g2, %o1                             
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_init_budget );
                                                                      
  the_thread->cpu_time_budget = ticks;                                
 200d81c:	d0 26 60 74 	st  %o0, [ %i1 + 0x74 ]                        
   */                                                                 
  #if 0                                                               
    printk( "TSR %d %d %d\n", the_thread->resource_count,             
        the_thread->current_priority, new_priority );                 
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
 200d820:	80 a0 60 00 	cmp  %g1, 0                                    
 200d824:	12 80 00 06 	bne  200d83c <_POSIX_Threads_Sporadic_budget_TSR+0x44><== NEVER TAKEN
 200d828:	d2 26 60 18 	st  %o1, [ %i1 + 0x18 ]                        
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
 200d82c:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
 200d830:	80 a0 40 09 	cmp  %g1, %o1                                  
 200d834:	18 80 00 09 	bgu  200d858 <_POSIX_Threads_Sporadic_budget_TSR+0x60>
 200d838:	90 10 00 19 	mov  %i1, %o0                                  
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
 200d83c:	90 07 60 90 	add  %i5, 0x90, %o0                            
 200d840:	40 00 04 61 	call  200e9c4 <_Timespec_To_ticks>             
 200d844:	31 00 80 7a 	sethi  %hi(0x201e800), %i0                     
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200d848:	b2 07 60 a8 	add  %i5, 0xa8, %i1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200d84c:	d0 27 60 b4 	st  %o0, [ %i5 + 0xb4 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200d850:	7f ff f7 a6 	call  200b6e8 <_Watchdog_Insert>               
 200d854:	91 ee 21 58 	restore  %i0, 0x158, %o0                       
  if ( the_thread->resource_count == 0 ) {                            
    /*                                                                
     *  If this would make them less important, then do not change it.
     */                                                               
    if ( the_thread->current_priority > new_priority ) {              
      _Thread_Change_priority( the_thread, new_priority, true );      
 200d858:	7f ff f2 e1 	call  200a3dc <_Thread_Change_priority>        
 200d85c:	94 10 20 01 	mov  1, %o2                                    
      #endif                                                          
    }                                                                 
  }                                                                   
                                                                      
  /* ticks is guaranteed to be at least one */                        
  ticks = _Timespec_To_ticks( &api->schedparam.sched_ss_repl_period );
 200d860:	90 07 60 90 	add  %i5, 0x90, %o0                            
 200d864:	40 00 04 58 	call  200e9c4 <_Timespec_To_ticks>             
 200d868:	31 00 80 7a 	sethi  %hi(0x201e800), %i0                     
 200d86c:	b2 07 60 a8 	add  %i5, 0xa8, %i1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 200d870:	d0 27 60 b4 	st  %o0, [ %i5 + 0xb4 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 200d874:	7f ff f7 9d 	call  200b6e8 <_Watchdog_Insert>               
 200d878:	91 ee 21 58 	restore  %i0, 0x158, %o0                       
                                                                      

0200d87c <_POSIX_Threads_Sporadic_budget_callout>: ) { POSIX_API_Control *api; uint32_t new_priority; api = the_thread->API_Extensions[ THREAD_API_POSIX ];
 200d87c:	c4 02 21 5c 	ld  [ %o0 + 0x15c ], %g2                       
 200d880:	c6 00 a0 8c 	ld  [ %g2 + 0x8c ], %g3                        
 200d884:	05 00 80 76 	sethi  %hi(0x201d800), %g2                     
 200d888:	d2 08 a3 18 	ldub  [ %g2 + 0x318 ], %o1	! 201db18 <rtems_maximum_priority>
   */                                                                 
  #if 0                                                               
    printk( "callout %d %d %d\n", the_thread->resource_count,         
	the_thread->current_priority, new_priority );                        
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
 200d88c:	c4 02 20 1c 	ld  [ %o0 + 0x1c ], %g2                        
 200d890:	92 22 40 03 	sub  %o1, %g3, %o1                             
                                                                      
  /*                                                                  
   *  This will prevent the thread from consuming its entire "budget" 
   *  while at low priority.                                          
   */                                                                 
  the_thread->cpu_time_budget = 0xFFFFFFFF; /* XXX should be based on MAX_U32 */
 200d894:	86 10 3f ff 	mov  -1, %g3                                   
                                                                      
  new_priority = _POSIX_Priority_To_core(api->schedparam.sched_ss_low_priority);
  the_thread->real_priority = new_priority;                           
 200d898:	d2 22 20 18 	st  %o1, [ %o0 + 0x18 ]                        
   */                                                                 
  #if 0                                                               
    printk( "callout %d %d %d\n", the_thread->resource_count,         
	the_thread->current_priority, new_priority );                        
  #endif                                                              
  if ( the_thread->resource_count == 0 ) {                            
 200d89c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d8a0:	12 80 00 06 	bne  200d8b8 <_POSIX_Threads_Sporadic_budget_callout+0x3c><== NEVER TAKEN
 200d8a4:	c6 22 20 74 	st  %g3, [ %o0 + 0x74 ]                        
    /*                                                                
     *  Make sure we are actually lowering it. If they have lowered it
     *  to logically lower than sched_ss_low_priority, then we do not want to
     *  change it.                                                    
     */                                                               
    if ( the_thread->current_priority < new_priority ) {              
 200d8a8:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200d8ac:	80 a0 40 09 	cmp  %g1, %o1                                  
 200d8b0:	0a 80 00 04 	bcs  200d8c0 <_POSIX_Threads_Sporadic_budget_callout+0x44><== ALWAYS TAKEN
 200d8b4:	94 10 20 01 	mov  1, %o2                                    
 200d8b8:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 200d8bc:	01 00 00 00 	nop                                            <== NOT EXECUTED
      _Thread_Change_priority( the_thread, new_priority, true );      
 200d8c0:	82 13 c0 00 	mov  %o7, %g1                                  
 200d8c4:	7f ff f2 c6 	call  200a3dc <_Thread_Change_priority>        
 200d8c8:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

0200fd7c <_POSIX_Threads_cancel_run>: #include <rtems/posix/threadsup.h> void _POSIX_Threads_cancel_run( Thread_Control *the_thread ) {
 200fd7c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Cancel_Handler_control      *handler;                         
  Chain_Control                     *handler_stack;                   
  POSIX_API_Control                 *thread_support;                  
  ISR_Level                          level;                           
                                                                      
  thread_support = the_thread->API_Extensions[ THREAD_API_POSIX ];    
 200fd80:	f8 06 21 5c 	ld  [ %i0 + 0x15c ], %i4                       
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
 200fd84:	84 10 20 01 	mov  1, %g2                                    
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
 200fd88:	c2 07 20 e4 	ld  [ %i4 + 0xe4 ], %g1                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200fd8c:	b6 07 20 e8 	add  %i4, 0xe8, %i3                            
 200fd90:	80 a0 40 1b 	cmp  %g1, %i3                                  
 200fd94:	02 80 00 14 	be  200fde4 <_POSIX_Threads_cancel_run+0x68>   
 200fd98:	c4 27 20 d8 	st  %g2, [ %i4 + 0xd8 ]                        
    _ISR_Disable( level );                                            
 200fd9c:	7f ff ca 72 	call  2002764 <sparc_disable_interrupts>       
 200fda0:	01 00 00 00 	nop                                            
      handler = (POSIX_Cancel_Handler_control *)                      
 200fda4:	fa 07 20 ec 	ld  [ %i4 + 0xec ], %i5                        
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 200fda8:	c4 07 40 00 	ld  [ %i5 ], %g2                               
  previous       = the_node->previous;                                
 200fdac:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
  next->previous = previous;                                          
 200fdb0:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
  previous->next = next;                                              
 200fdb4:	c4 20 40 00 	st  %g2, [ %g1 ]                               
           _Chain_Tail( handler_stack )->previous;                    
      _Chain_Extract_unprotected( &handler->Node );                   
    _ISR_Enable( level );                                             
 200fdb8:	7f ff ca 6f 	call  2002774 <sparc_enable_interrupts>        
 200fdbc:	01 00 00 00 	nop                                            
                                                                      
    (*handler->routine)( handler->arg );                              
 200fdc0:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200fdc4:	9f c0 40 00 	call  %g1                                      
 200fdc8:	d0 07 60 0c 	ld  [ %i5 + 0xc ], %o0                         
                                                                      
    _Workspace_Free( handler );                                       
 200fdcc:	7f ff ef 30 	call  200ba8c <_Workspace_Free>                
 200fdd0:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  handler_stack = &thread_support->Cancellation_Handlers;             
                                                                      
  thread_support->cancelability_state = PTHREAD_CANCEL_DISABLE;       
                                                                      
  while ( !_Chain_Is_empty( handler_stack ) ) {                       
 200fdd4:	c2 07 20 e4 	ld  [ %i4 + 0xe4 ], %g1                        
 200fdd8:	80 a0 40 1b 	cmp  %g1, %i3                                  
 200fddc:	12 bf ff f0 	bne  200fd9c <_POSIX_Threads_cancel_run+0x20>  <== NEVER TAKEN
 200fde0:	01 00 00 00 	nop                                            
 200fde4:	81 c7 e0 08 	ret                                            
 200fde8:	81 e8 00 00 	restore                                        
                                                                      

02007b30 <_POSIX_Timer_TSR>: * This is the operation that is run when a timer expires */ void _POSIX_Timer_TSR( Objects_Id timer __attribute__((unused)), void *data) {
 2007b30:	9d e3 bf 98 	save  %sp, -104, %sp                           
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
 2007b34:	c4 06 60 68 	ld  [ %i1 + 0x68 ], %g2                        
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 2007b38:	c2 06 60 54 	ld  [ %i1 + 0x54 ], %g1                        
  bool                 activated;                                     
                                                                      
  ptimer = (POSIX_Timer_Control *)data;                               
                                                                      
  /* Increment the number of expirations. */                          
  ptimer->overrun = ptimer->overrun + 1;                              
 2007b3c:	84 00 a0 01 	inc  %g2                                       
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
 2007b40:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b44:	12 80 00 0e 	bne  2007b7c <_POSIX_Timer_TSR+0x4c>           
 2007b48:	c4 26 60 68 	st  %g2, [ %i1 + 0x68 ]                        
 2007b4c:	c2 06 60 58 	ld  [ %i1 + 0x58 ], %g1                        
 2007b50:	80 a0 60 00 	cmp  %g1, 0                                    
 2007b54:	32 80 00 0b 	bne,a   2007b80 <_POSIX_Timer_TSR+0x50>        <== ALWAYS TAKEN
 2007b58:	d2 06 60 64 	ld  [ %i1 + 0x64 ], %o1                        
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
  } else {                                                            
   /* Indicates that the timer is stopped */                          
   ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;                     
 2007b5c:	82 10 20 04 	mov  4, %g1                                    <== NOT EXECUTED
 2007b60:	c2 2e 60 3c 	stb  %g1, [ %i1 + 0x3c ]                       <== NOT EXECUTED
  /*                                                                  
   * The sending of the signal to the process running the handling function
   * specified for that signal is simulated                           
   */                                                                 
                                                                      
  if ( pthread_kill ( ptimer->thread_id, ptimer->inf.sigev_signo ) ) {
 2007b64:	d0 06 60 38 	ld  [ %i1 + 0x38 ], %o0                        
 2007b68:	40 00 18 84 	call  200dd78 <pthread_kill>                   
 2007b6c:	d2 06 60 44 	ld  [ %i1 + 0x44 ], %o1                        
  }                                                                   
                                                                      
  /* After the signal handler returns, the count of expirations of the
   * timer must be set to 0.                                          
   */                                                                 
  ptimer->overrun = 0;                                                
 2007b70:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
 2007b74:	81 c7 e0 08 	ret                                            
 2007b78:	81 e8 00 00 	restore                                        
  ptimer->overrun = ptimer->overrun + 1;                              
                                                                      
  /* The timer must be reprogrammed */                                
  if ( ( ptimer->timer_data.it_interval.tv_sec  != 0 ) ||             
       ( ptimer->timer_data.it_interval.tv_nsec != 0 ) ) {            
    activated = _POSIX_Timer_Insert_helper(                           
 2007b7c:	d2 06 60 64 	ld  [ %i1 + 0x64 ], %o1                        
 2007b80:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
 2007b84:	90 06 60 10 	add  %i1, 0x10, %o0                            
 2007b88:	98 10 00 19 	mov  %i1, %o4                                  
 2007b8c:	17 00 80 1e 	sethi  %hi(0x2007800), %o3                     
 2007b90:	40 00 19 9d 	call  200e204 <_POSIX_Timer_Insert_helper>     
 2007b94:	96 12 e3 30 	or  %o3, 0x330, %o3	! 2007b30 <_POSIX_Timer_TSR>
      ptimer->ticks,                                                  
      ptimer->Object.id,                                              
      _POSIX_Timer_TSR,                                               
      ptimer                                                          
    );                                                                
    if ( !activated )                                                 
 2007b98:	80 8a 20 ff 	btst  0xff, %o0                                
 2007b9c:	02 bf ff f6 	be  2007b74 <_POSIX_Timer_TSR+0x44>            <== NEVER TAKEN
 2007ba0:	01 00 00 00 	nop                                            
  struct timespec *tod_as_timespec                                    
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _TOD_Get_as_timestamp( &tod_as_timestamp );                         
 2007ba4:	40 00 06 2a 	call  200944c <_TOD_Get_as_timestamp>          
 2007ba8:	90 07 bf f8 	add  %fp, -8, %o0                              
  _Timestamp_To_timespec( &tod_as_timestamp, tod_as_timespec );       
 2007bac:	f8 1f bf f8 	ldd  [ %fp + -8 ], %i4                         
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007bb0:	94 10 20 00 	clr  %o2                                       
 2007bb4:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007bb8:	90 10 00 1c 	mov  %i4, %o0                                  
 2007bbc:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 2007bc0:	40 00 4b 13 	call  201a80c <__divdi3>                       
 2007bc4:	92 10 00 1d 	mov  %i5, %o1                                  
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007bc8:	94 10 20 00 	clr  %o2                                       
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007bcc:	d2 26 60 6c 	st  %o1, [ %i1 + 0x6c ]                        
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007bd0:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007bd4:	90 10 00 1c 	mov  %i4, %o0                                  
 2007bd8:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 2007bdc:	40 00 4b f7 	call  201abb8 <__moddi3>                       
 2007be0:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
    /* Store the time when the timer was started again */             
    _TOD_Get( &ptimer->time );                                        
                                                                      
    /* The state really did not change but just to be safe */         
    ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                     
 2007be4:	82 10 20 03 	mov  3, %g1                                    
 2007be8:	d2 26 60 70 	st  %o1, [ %i1 + 0x70 ]                        
 2007bec:	10 bf ff de 	b  2007b64 <_POSIX_Timer_TSR+0x34>             
 2007bf0:	c2 2e 60 3c 	stb  %g1, [ %i1 + 0x3c ]                       
                                                                      

0200feb0 <_POSIX_signals_Check_signal>: bool _POSIX_signals_Check_signal( POSIX_API_Control *api, int signo, bool is_global ) {
 200feb0:	9d e3 bf 68 	save  %sp, -152, %sp                           
  siginfo_t                   siginfo_struct;                         
  sigset_t                    saved_signals_blocked;                  
  Thread_Wait_information     stored_thread_wait_information;         
                                                                      
  if ( ! _POSIX_signals_Clear_signals( api, signo, &siginfo_struct,   
 200feb4:	98 10 20 01 	mov  1, %o4                                    
 200feb8:	90 10 00 18 	mov  %i0, %o0                                  
 200febc:	92 10 00 19 	mov  %i1, %o1                                  
 200fec0:	94 07 bf cc 	add  %fp, -52, %o2                             
 200fec4:	40 00 00 2e 	call  200ff7c <_POSIX_signals_Clear_signals>   
 200fec8:	96 10 00 1a 	mov  %i2, %o3                                  
 200fecc:	80 8a 20 ff 	btst  0xff, %o0                                
 200fed0:	02 80 00 23 	be  200ff5c <_POSIX_signals_Check_signal+0xac> 
 200fed4:	82 10 20 00 	clr  %g1                                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Just to prevent sending a signal which is currently being ignored.
   */                                                                 
  if ( _POSIX_signals_Vectors[ signo ].sa_handler == SIG_IGN )        
 200fed8:	85 2e 60 02 	sll  %i1, 2, %g2                               
 200fedc:	37 00 80 7b 	sethi  %hi(0x201ec00), %i3                     
 200fee0:	b9 2e 60 04 	sll  %i1, 4, %i4                               
 200fee4:	b6 16 e2 40 	or  %i3, 0x240, %i3                            
 200fee8:	b8 27 00 02 	sub  %i4, %g2, %i4                             
 200feec:	84 06 c0 1c 	add  %i3, %i4, %g2                             
 200fef0:	fa 00 a0 08 	ld  [ %g2 + 8 ], %i5                           
 200fef4:	80 a7 60 01 	cmp  %i5, 1                                    
 200fef8:	02 80 00 19 	be  200ff5c <_POSIX_signals_Check_signal+0xac> <== NEVER TAKEN
 200fefc:	21 00 80 7b 	sethi  %hi(0x201ec00), %l0                     
    return false;                                                     
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
 200ff00:	f4 06 20 d0 	ld  [ %i0 + 0xd0 ], %i2                        
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
 200ff04:	c2 00 a0 04 	ld  [ %g2 + 4 ], %g1                           
  /*                                                                  
   *  We have to save the blocking information of the current wait queue
   *  because the signal handler may subsequently go on and put the thread
   *  on a wait queue, for its own purposes.                          
   */                                                                 
  memcpy( &stored_thread_wait_information, &_Thread_Executing->Wait,  
 200ff08:	a0 14 21 e0 	or  %l0, 0x1e0, %l0                            
 200ff0c:	d2 04 20 0c 	ld  [ %l0 + 0xc ], %o1                         
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
 200ff10:	82 10 40 1a 	or  %g1, %i2, %g1                              
  /*                                                                  
   *  We have to save the blocking information of the current wait queue
   *  because the signal handler may subsequently go on and put the thread
   *  on a wait queue, for its own purposes.                          
   */                                                                 
  memcpy( &stored_thread_wait_information, &_Thread_Executing->Wait,  
 200ff14:	90 07 bf d8 	add  %fp, -40, %o0                             
                                                                      
  /*                                                                  
   *  Block the signals requested in sa_mask                          
   */                                                                 
  saved_signals_blocked = api->signals_blocked;                       
  api->signals_blocked |= _POSIX_signals_Vectors[ signo ].sa_mask;    
 200ff18:	c2 26 20 d0 	st  %g1, [ %i0 + 0xd0 ]                        
  /*                                                                  
   *  We have to save the blocking information of the current wait queue
   *  because the signal handler may subsequently go on and put the thread
   *  on a wait queue, for its own purposes.                          
   */                                                                 
  memcpy( &stored_thread_wait_information, &_Thread_Executing->Wait,  
 200ff1c:	92 02 60 20 	add  %o1, 0x20, %o1                            
 200ff20:	40 00 04 7c 	call  2011110 <memcpy>                         
 200ff24:	94 10 20 28 	mov  0x28, %o2                                 
          sizeof( Thread_Wait_information ));                         
                                                                      
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
 200ff28:	c2 06 c0 1c 	ld  [ %i3 + %i4 ], %g1                         
 200ff2c:	80 a0 60 02 	cmp  %g1, 2                                    
 200ff30:	02 80 00 0e 	be  200ff68 <_POSIX_signals_Check_signal+0xb8> 
 200ff34:	90 10 00 19 	mov  %i1, %o0                                  
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
    default:                                                          
      (*_POSIX_signals_Vectors[ signo ].sa_handler)( signo );         
 200ff38:	9f c7 40 00 	call  %i5                                      
 200ff3c:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Restore the blocking information                                
   */                                                                 
  memcpy( &_Thread_Executing->Wait, &stored_thread_wait_information,  
 200ff40:	d0 04 20 0c 	ld  [ %l0 + 0xc ], %o0                         
 200ff44:	92 07 bf d8 	add  %fp, -40, %o1                             
 200ff48:	90 02 20 20 	add  %o0, 0x20, %o0                            
 200ff4c:	40 00 04 71 	call  2011110 <memcpy>                         
 200ff50:	94 10 20 28 	mov  0x28, %o2                                 
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
                                                                      
  return true;                                                        
 200ff54:	82 10 20 01 	mov  1, %g1                                    
          sizeof( Thread_Wait_information ));                         
                                                                      
  /*                                                                  
   *  Restore the previous set of blocked signals                     
   */                                                                 
  api->signals_blocked = saved_signals_blocked;                       
 200ff58:	f4 26 20 d0 	st  %i2, [ %i0 + 0xd0 ]                        
                                                                      
  return true;                                                        
}                                                                     
 200ff5c:	b0 08 60 01 	and  %g1, 1, %i0                               
 200ff60:	81 c7 e0 08 	ret                                            
 200ff64:	81 e8 00 00 	restore                                        
  /*                                                                  
   *  Here, the signal handler function executes                      
   */                                                                 
  switch ( _POSIX_signals_Vectors[ signo ].sa_flags ) {               
    case SA_SIGINFO:                                                  
      (*_POSIX_signals_Vectors[ signo ].sa_sigaction)(                
 200ff68:	92 07 bf cc 	add  %fp, -52, %o1                             
 200ff6c:	9f c7 40 00 	call  %i5                                      
 200ff70:	94 10 20 00 	clr  %o2                                       
        signo,                                                        
        &siginfo_struct,                                              
        NULL        /* context is undefined per 1003.1b-1993, p. 66 */
      );                                                              
      break;                                                          
 200ff74:	10 bf ff f4 	b  200ff44 <_POSIX_signals_Check_signal+0x94>  
 200ff78:	d0 04 20 0c 	ld  [ %l0 + 0xc ], %o0                         
                                                                      

0201074c <_POSIX_signals_Clear_process_signals>: */ void _POSIX_signals_Clear_process_signals( int signo ) {
 201074c:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2010750:	84 10 20 01 	mov  1, %g2                                    
 2010754:	82 06 3f ff 	add  %i0, -1, %g1                              
  clear_signal = true;                                                
  mask         = signo_to_mask( signo );                              
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
 2010758:	7f ff c8 03 	call  2002764 <sparc_disable_interrupts>       
 201075c:	bb 28 80 01 	sll  %g2, %g1, %i5                             
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
 2010760:	05 00 80 7b 	sethi  %hi(0x201ec00), %g2                     
 2010764:	83 2e 20 02 	sll  %i0, 2, %g1                               
 2010768:	84 10 a2 40 	or  %g2, 0x240, %g2                            
 201076c:	b1 2e 20 04 	sll  %i0, 4, %i0                               
 2010770:	82 26 00 01 	sub  %i0, %g1, %g1                             
 2010774:	c4 00 80 01 	ld  [ %g2 + %g1 ], %g2                         
 2010778:	80 a0 a0 02 	cmp  %g2, 2                                    
 201077c:	02 80 00 08 	be  201079c <_POSIX_signals_Clear_process_signals+0x50>
 2010780:	31 00 80 7c 	sethi  %hi(0x201f000), %i0                     
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
 2010784:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
 2010788:	c4 00 60 34 	ld  [ %g1 + 0x34 ], %g2	! 201f034 <_POSIX_signals_Pending>
 201078c:	ba 28 80 1d 	andn  %g2, %i5, %i5                            
 2010790:	fa 20 60 34 	st  %i5, [ %g1 + 0x34 ]                        
    }                                                                 
  _ISR_Enable( level );                                               
 2010794:	7f ff c7 f8 	call  2002774 <sparc_enable_interrupts>        
 2010798:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      
  ISR_Level  level;                                                   
                                                                      
  _ISR_Disable( level );                                              
    if ( _POSIX_signals_Vectors[ signo ].sa_flags == SA_SIGINFO ) {   
      if ( !_Chain_Is_empty( &_POSIX_signals_Siginfo[ signo ] ) )     
 201079c:	b0 16 20 38 	or  %i0, 0x38, %i0                             
 20107a0:	c4 00 40 18 	ld  [ %g1 + %i0 ], %g2                         
 20107a4:	b0 00 40 18 	add  %g1, %i0, %i0                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 20107a8:	b0 06 20 04 	add  %i0, 4, %i0                               
 20107ac:	80 a0 80 18 	cmp  %g2, %i0                                  
 20107b0:	02 bf ff f6 	be  2010788 <_POSIX_signals_Clear_process_signals+0x3c><== ALWAYS TAKEN
 20107b4:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
       clear_signal = false;                                          
    }                                                                 
    if ( clear_signal ) {                                             
      _POSIX_signals_Pending &= ~mask;                                
    }                                                                 
  _ISR_Enable( level );                                               
 20107b8:	7f ff c7 ef 	call  2002774 <sparc_enable_interrupts>        <== NOT EXECUTED
 20107bc:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

02008994 <_POSIX_signals_Get_lowest>: sigset_t set ) { int signo; for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {
 2008994:	82 10 20 1b 	mov  0x1b, %g1                                 
 2008998:	86 10 20 01 	mov  1, %g3                                    
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
static int _POSIX_signals_Get_lowest(                                 
 200899c:	84 00 7f ff 	add  %g1, -1, %g2                              
 20089a0:	85 28 c0 02 	sll  %g3, %g2, %g2                             
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
    if ( set & signo_to_mask( signo ) ) {                             
 20089a4:	80 88 80 08 	btst  %g2, %o0                                 
 20089a8:	12 80 00 11 	bne  20089ec <_POSIX_signals_Get_lowest+0x58>  <== NEVER TAKEN
 20089ac:	01 00 00 00 	nop                                            
  sigset_t   set                                                      
)                                                                     
{                                                                     
  int signo;                                                          
                                                                      
  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {            
 20089b0:	82 00 60 01 	inc  %g1                                       
 20089b4:	80 a0 60 20 	cmp  %g1, 0x20                                 
 20089b8:	12 bf ff fa 	bne  20089a0 <_POSIX_signals_Get_lowest+0xc>   
 20089bc:	84 00 7f ff 	add  %g1, -1, %g2                              
 20089c0:	82 10 20 01 	mov  1, %g1                                    
 20089c4:	10 80 00 05 	b  20089d8 <_POSIX_signals_Get_lowest+0x44>    
 20089c8:	86 10 20 01 	mov  1, %g3                                    
   */                                                                 
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
 20089cc:	80 a0 60 1b 	cmp  %g1, 0x1b                                 
 20089d0:	02 80 00 07 	be  20089ec <_POSIX_signals_Get_lowest+0x58>   <== NEVER TAKEN
 20089d4:	01 00 00 00 	nop                                            
#include <rtems/posix/psignal.h>                                      
#include <rtems/seterr.h>                                             
#include <rtems/posix/time.h>                                         
#include <rtems/score/isr.h>                                          
                                                                      
static int _POSIX_signals_Get_lowest(                                 
 20089d8:	84 00 7f ff 	add  %g1, -1, %g2                              
 20089dc:	85 28 c0 02 	sll  %g3, %g2, %g2                             
                                                                      
  #if (SIGHUP != 1)                                                   
    #error "Assumption that SIGHUP==1 violated!!"                     
  #endif                                                              
  for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {        
    if ( set & signo_to_mask( signo ) ) {                             
 20089e0:	80 88 80 08 	btst  %g2, %o0                                 
 20089e4:	22 bf ff fa 	be,a   20089cc <_POSIX_signals_Get_lowest+0x38>
 20089e8:	82 00 60 01 	inc  %g1                                       
   *  a return 0.  This routine will NOT be called unless a signal    
   *  is pending in the set passed in.                                
   */                                                                 
found_it:                                                             
  return signo;                                                       
}                                                                     
 20089ec:	81 c3 e0 08 	retl                                           
 20089f0:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      

0200d3bc <_POSIX_signals_Post_switch_extension>: */ void _POSIX_signals_Post_switch_extension( Thread_Control *the_thread ) {
 200d3bc:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   *  We need to ensure that if the signal handler executes a call    
   *  which overwrites the unblocking status, we restore it.          
   */                                                                 
  hold_errno = _Thread_Executing->Wait.return_code;                   
 200d3c0:	35 00 80 7b 	sethi  %hi(0x201ec00), %i2                     
  POSIX_API_Control  *api;                                            
  int                 signo;                                          
  ISR_Level           level;                                          
  int                 hold_errno;                                     
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 200d3c4:	f8 06 21 5c 	ld  [ %i0 + 0x15c ], %i4                       
                                                                      
  /*                                                                  
   *  We need to ensure that if the signal handler executes a call    
   *  which overwrites the unblocking status, we restore it.          
   */                                                                 
  hold_errno = _Thread_Executing->Wait.return_code;                   
 200d3c8:	b4 16 a1 e0 	or  %i2, 0x1e0, %i2                            
 200d3cc:	c2 06 a0 0c 	ld  [ %i2 + 0xc ], %g1                         
                                                                      
  /*                                                                  
   * api may be NULL in case of a thread close in progress            
   */                                                                 
  if ( !api )                                                         
 200d3d0:	80 a7 20 00 	cmp  %i4, 0                                    
 200d3d4:	02 80 00 34 	be  200d4a4 <_POSIX_signals_Post_switch_extension+0xe8>
 200d3d8:	f2 00 60 34 	ld  [ %g1 + 0x34 ], %i1                        
   *                                                                  
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
 200d3dc:	7f ff d4 e2 	call  2002764 <sparc_disable_interrupts>       
 200d3e0:	37 00 80 7c 	sethi  %hi(0x201f000), %i3                     
 200d3e4:	b6 16 e0 34 	or  %i3, 0x34, %i3	! 201f034 <_POSIX_signals_Pending>
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200d3e8:	c6 06 c0 00 	ld  [ %i3 ], %g3                               
 200d3ec:	c2 07 20 d4 	ld  [ %i4 + 0xd4 ], %g1                        
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
 200d3f0:	c4 07 20 d0 	ld  [ %i4 + 0xd0 ], %g2                        
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200d3f4:	82 10 c0 01 	or  %g3, %g1, %g1                              
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
 200d3f8:	80 a8 40 02 	andncc  %g1, %g2, %g0                          
 200d3fc:	02 80 00 26 	be  200d494 <_POSIX_signals_Post_switch_extension+0xd8>
 200d400:	01 00 00 00 	nop                                            
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
 200d404:	7f ff d4 dc 	call  2002774 <sparc_enable_interrupts>        
 200d408:	ba 10 20 1b 	mov  0x1b, %i5	! 1b <PROM_START+0x1b>          
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
      _POSIX_signals_Check_signal( api, signo, false );               
 200d40c:	92 10 00 1d 	mov  %i5, %o1                                  
 200d410:	94 10 20 00 	clr  %o2                                       
 200d414:	40 00 0a a7 	call  200feb0 <_POSIX_signals_Check_signal>    
 200d418:	90 10 00 1c 	mov  %i4, %o0                                  
      _POSIX_signals_Check_signal( api, signo, true );                
 200d41c:	92 10 00 1d 	mov  %i5, %o1                                  
 200d420:	90 10 00 1c 	mov  %i4, %o0                                  
 200d424:	40 00 0a a3 	call  200feb0 <_POSIX_signals_Check_signal>    
 200d428:	94 10 20 01 	mov  1, %o2                                    
       _ISR_Enable( level );                                          
       break;                                                         
     }                                                                
    _ISR_Enable( level );                                             
                                                                      
    for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {          
 200d42c:	ba 07 60 01 	inc  %i5                                       
 200d430:	80 a7 60 20 	cmp  %i5, 0x20                                 
 200d434:	12 bf ff f7 	bne  200d410 <_POSIX_signals_Post_switch_extension+0x54>
 200d438:	92 10 00 1d 	mov  %i5, %o1                                  
 200d43c:	ba 10 20 01 	mov  1, %i5                                    
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
      _POSIX_signals_Check_signal( api, signo, false );               
 200d440:	92 10 00 1d 	mov  %i5, %o1                                  
 200d444:	94 10 20 00 	clr  %o2                                       
 200d448:	40 00 0a 9a 	call  200feb0 <_POSIX_signals_Check_signal>    
 200d44c:	90 10 00 1c 	mov  %i4, %o0                                  
      _POSIX_signals_Check_signal( api, signo, true );                
 200d450:	92 10 00 1d 	mov  %i5, %o1                                  
 200d454:	90 10 00 1c 	mov  %i4, %o0                                  
 200d458:	40 00 0a 96 	call  200feb0 <_POSIX_signals_Check_signal>    
 200d45c:	94 10 20 01 	mov  1, %o2                                    
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
    /* Unfortunately - nothing like __SIGFIRSTNOTRT in newlib signal .h */
                                                                      
    for ( signo = SIGHUP ; signo <= __SIGLASTNOTRT ; signo++ ) {      
 200d460:	ba 07 60 01 	inc  %i5                                       
 200d464:	80 a7 60 1b 	cmp  %i5, 0x1b                                 
 200d468:	12 bf ff f7 	bne  200d444 <_POSIX_signals_Post_switch_extension+0x88>
 200d46c:	92 10 00 1d 	mov  %i5, %o1                                  
   *                                                                  
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
 200d470:	7f ff d4 bd 	call  2002764 <sparc_disable_interrupts>       
 200d474:	01 00 00 00 	nop                                            
      if ( !(~api->signals_blocked &                                  
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200d478:	c6 06 c0 00 	ld  [ %i3 ], %g3                               
 200d47c:	c2 07 20 d4 	ld  [ %i4 + 0xd4 ], %g1                        
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
 200d480:	c4 07 20 d0 	ld  [ %i4 + 0xd0 ], %g2                        
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
 200d484:	82 10 c0 01 	or  %g3, %g1, %g1                              
   *  The first thing done is to check there are any signals to be    
   *  processed at all.  No point in doing this loop otherwise.       
   */                                                                 
  while (1) {                                                         
    _ISR_Disable( level );                                            
      if ( !(~api->signals_blocked &                                  
 200d488:	80 a8 40 02 	andncc  %g1, %g2, %g0                          
 200d48c:	12 bf ff de 	bne  200d404 <_POSIX_signals_Post_switch_extension+0x48><== NEVER TAKEN
 200d490:	01 00 00 00 	nop                                            
            (api->signals_pending | _POSIX_signals_Pending)) ) {      
       _ISR_Enable( level );                                          
 200d494:	7f ff d4 b8 	call  2002774 <sparc_enable_interrupts>        
 200d498:	01 00 00 00 	nop                                            
      _POSIX_signals_Check_signal( api, signo, false );               
      _POSIX_signals_Check_signal( api, signo, true );                
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Executing->Wait.return_code = hold_errno;                   
 200d49c:	c2 06 a0 0c 	ld  [ %i2 + 0xc ], %g1                         
 200d4a0:	f2 20 60 34 	st  %i1, [ %g1 + 0x34 ]                        
 200d4a4:	81 c7 e0 08 	ret                                            
 200d4a8:	81 e8 00 00 	restore                                        
                                                                      

0201b3ec <_POSIX_signals_Unblock_thread>: bool _POSIX_signals_Unblock_thread( Thread_Control *the_thread, int signo, siginfo_t *info ) {
 201b3ec:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
 201b3f0:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 201b3f4:	05 04 00 20 	sethi  %hi(0x10008000), %g2                    
 201b3f8:	88 10 20 01 	mov  1, %g4                                    
 201b3fc:	86 06 7f ff 	add  %i1, -1, %g3                              
 201b400:	ba 08 40 02 	and  %g1, %g2, %i5                             
{                                                                     
  POSIX_API_Control  *api;                                            
  sigset_t            mask;                                           
  siginfo_t          *the_info = NULL;                                
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 201b404:	f8 06 21 5c 	ld  [ %i0 + 0x15c ], %i4                       
                                                                      
  /*                                                                  
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
 201b408:	80 a7 40 02 	cmp  %i5, %g2                                  
 201b40c:	02 80 00 2c 	be  201b4bc <_POSIX_signals_Unblock_thread+0xd0>
 201b410:	87 29 00 03 	sll  %g4, %g3, %g3                             
  }                                                                   
                                                                      
  /*                                                                  
   *  Thread is not waiting due to a sigwait.                         
   */                                                                 
  if ( ~api->signals_blocked & mask ) {                               
 201b414:	c4 07 20 d0 	ld  [ %i4 + 0xd0 ], %g2                        
 201b418:	80 a8 c0 02 	andncc  %g3, %g2, %g0                          
 201b41c:	02 80 00 24 	be  201b4ac <_POSIX_signals_Unblock_thread+0xc0>
 201b420:	05 04 00 00 	sethi  %hi(0x10000000), %g2                    
     *      it is not blocked, THEN                                   
     *        we need to dispatch at the end of this ISR.             
     *    + Any other combination, do nothing.                        
     */                                                               
                                                                      
    if ( _States_Is_interruptible_by_signal( the_thread->current_state ) ) {
 201b424:	80 88 40 02 	btst  %g1, %g2                                 
 201b428:	02 80 00 15 	be  201b47c <_POSIX_signals_Unblock_thread+0x90>
 201b42c:	80 a0 60 00 	cmp  %g1, 0                                    
      the_thread->Wait.return_code = EINTR;                           
 201b430:	84 10 20 04 	mov  4, %g2                                    
 201b434:	c4 26 20 34 	st  %g2, [ %i0 + 0x34 ]                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
 201b438:	05 00 00 ef 	sethi  %hi(0x3bc00), %g2                       
 201b43c:	84 10 a2 e0 	or  %g2, 0x2e0, %g2	! 3bee0 <PROM_START+0x3bee0>
      /*                                                              
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
       if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
 201b440:	80 88 40 02 	btst  %g1, %g2                                 
 201b444:	12 80 00 38 	bne  201b524 <_POSIX_signals_Unblock_thread+0x138>
 201b448:	80 88 60 08 	btst  8, %g1                                   
         _Thread_queue_Extract_with_proxy( the_thread );              
       else if ( _States_Is_delaying(the_thread->current_state) ) {   
 201b44c:	22 80 00 19 	be,a   201b4b0 <_POSIX_signals_Unblock_thread+0xc4><== NEVER TAKEN
 201b450:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
          (void) _Watchdog_Remove( &the_thread->Timer );              
 201b454:	7f ff c1 04 	call  200b864 <_Watchdog_Remove>               
 201b458:	90 06 20 48 	add  %i0, 0x48, %o0                            
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 201b45c:	90 10 00 18 	mov  %i0, %o0                                  
 201b460:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
 201b464:	b0 10 20 00 	clr  %i0                                       
 201b468:	7f ff bc 2b 	call  200a514 <_Thread_Clear_state>            
 201b46c:	92 12 63 f8 	or  %o1, 0x3f8, %o1                            
 201b470:	b0 0e 20 01 	and  %i0, 1, %i0                               
 201b474:	81 c7 e0 08 	ret                                            
 201b478:	81 e8 00 00 	restore                                        
       else if ( _States_Is_delaying(the_thread->current_state) ) {   
          (void) _Watchdog_Remove( &the_thread->Timer );              
          _Thread_Unblock( the_thread );                              
       }                                                              
                                                                      
    } else if ( the_thread->current_state == STATES_READY ) {         
 201b47c:	32 80 00 0d 	bne,a   201b4b0 <_POSIX_signals_Unblock_thread+0xc4><== NEVER TAKEN
 201b480:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 201b484:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 201b488:	82 10 61 e0 	or  %g1, 0x1e0, %g1	! 201ede0 <_Per_CPU_Information>
 201b48c:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 201b490:	80 a0 a0 00 	cmp  %g2, 0                                    
 201b494:	22 80 00 07 	be,a   201b4b0 <_POSIX_signals_Unblock_thread+0xc4>
 201b498:	b0 10 20 00 	clr  %i0                                       
 201b49c:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 201b4a0:	80 a6 00 02 	cmp  %i0, %g2                                  
 201b4a4:	22 80 00 02 	be,a   201b4ac <_POSIX_signals_Unblock_thread+0xc0><== ALWAYS TAKEN
 201b4a8:	c8 28 60 18 	stb  %g4, [ %g1 + 0x18 ]                       
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
 201b4ac:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 201b4b0:	b0 0e 20 01 	and  %i0, 1, %i0                               
 201b4b4:	81 c7 e0 08 	ret                                            
 201b4b8:	81 e8 00 00 	restore                                        
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
 201b4bc:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 201b4c0:	80 88 c0 01 	btst  %g3, %g1                                 
 201b4c4:	22 80 00 13 	be,a   201b510 <_POSIX_signals_Unblock_thread+0x124>
 201b4c8:	c2 07 20 d0 	ld  [ %i4 + 0xd0 ], %g1                        
      the_thread->Wait.return_code = EINTR;                           
 201b4cc:	82 10 20 04 	mov  4, %g1                                    
 201b4d0:	c2 26 20 34 	st  %g1, [ %i0 + 0x34 ]                        
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
 201b4d4:	80 a6 a0 00 	cmp  %i2, 0                                    
 201b4d8:	02 80 00 19 	be  201b53c <_POSIX_signals_Unblock_thread+0x150>
 201b4dc:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
        the_info->si_value.sival_int = 0;                             
      } else {                                                        
        *the_info = *info;                                            
 201b4e0:	c4 06 80 00 	ld  [ %i2 ], %g2                               
 201b4e4:	c4 20 40 00 	st  %g2, [ %g1 ]                               
 201b4e8:	c4 06 a0 04 	ld  [ %i2 + 4 ], %g2                           
 201b4ec:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
 201b4f0:	c4 06 a0 08 	ld  [ %i2 + 8 ], %g2                           
 201b4f4:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
      }                                                               
                                                                      
      _Thread_queue_Extract_with_proxy( the_thread );                 
 201b4f8:	90 10 00 18 	mov  %i0, %o0                                  
 201b4fc:	7f ff be f1 	call  200b0c0 <_Thread_queue_Extract_with_proxy>
 201b500:	b0 10 20 01 	mov  1, %i0                                    
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
}                                                                     
 201b504:	b0 0e 20 01 	and  %i0, 1, %i0                               
 201b508:	81 c7 e0 08 	ret                                            
 201b50c:	81 e8 00 00 	restore                                        
   *  Is the thread is specifically waiting for a signal?             
   */                                                                 
                                                                      
  if ( _States_Is_interruptible_signal( the_thread->current_state ) ) {
                                                                      
    if ( (the_thread->Wait.option & mask) || (~api->signals_blocked & mask) ) {
 201b510:	80 a8 c0 01 	andncc  %g3, %g1, %g0                          
 201b514:	32 bf ff ef 	bne,a   201b4d0 <_POSIX_signals_Unblock_thread+0xe4>
 201b518:	82 10 20 04 	mov  4, %g1                                    
    } else if ( the_thread->current_state == STATES_READY ) {         
      if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
        _Thread_Dispatch_necessary = true;                            
    }                                                                 
  }                                                                   
  return false;                                                       
 201b51c:	10 bf ff e5 	b  201b4b0 <_POSIX_signals_Unblock_thread+0xc4>
 201b520:	b0 10 20 00 	clr  %i0                                       
      /*                                                              
       *  In pthread_cond_wait, a thread will be blocking on a thread 
       *  queue, but is also interruptible by a POSIX signal.         
       */                                                             
       if ( _States_Is_waiting_on_thread_queue(the_thread->current_state) )
         _Thread_queue_Extract_with_proxy( the_thread );              
 201b524:	90 10 00 18 	mov  %i0, %o0                                  
 201b528:	7f ff be e6 	call  200b0c0 <_Thread_queue_Extract_with_proxy>
 201b52c:	b0 10 20 00 	clr  %i0                                       
 201b530:	b0 0e 20 01 	and  %i0, 1, %i0                               
 201b534:	81 c7 e0 08 	ret                                            
 201b538:	81 e8 00 00 	restore                                        
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
        the_info->si_code = SI_USER;                                  
 201b53c:	84 10 20 01 	mov  1, %g2                                    
      the_thread->Wait.return_code = EINTR;                           
                                                                      
      the_info = (siginfo_t *) the_thread->Wait.return_argument;      
                                                                      
      if ( !info ) {                                                  
        the_info->si_signo = signo;                                   
 201b540:	f2 20 40 00 	st  %i1, [ %g1 ]                               
        the_info->si_code = SI_USER;                                  
 201b544:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
        the_info->si_value.sival_int = 0;                             
 201b548:	10 bf ff ec 	b  201b4f8 <_POSIX_signals_Unblock_thread+0x10c>
 201b54c:	c0 20 60 08 	clr  [ %g1 + 8 ]                               
                                                                      

0200ab28 <_RBTree_Extract_unprotected>: */ void _RBTree_Extract_unprotected( RBTree_Control *the_rbtree, RBTree_Node *the_node ) {
 200ab28:	9d e3 bf a0 	save  %sp, -96, %sp                            
  RBTree_Node *leaf, *target;                                         
  RBTree_Color victim_color;                                          
  RBTree_Direction dir;                                               
                                                                      
  if (!the_node) return;                                              
 200ab2c:	80 a6 60 00 	cmp  %i1, 0                                    
 200ab30:	02 80 00 4c 	be  200ac60 <_RBTree_Extract_unprotected+0x138>
 200ab34:	01 00 00 00 	nop                                            
                                                                      
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
 200ab38:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 200ab3c:	80 a0 40 19 	cmp  %g1, %i1                                  
 200ab40:	02 80 00 56 	be  200ac98 <_RBTree_Extract_unprotected+0x170>
 200ab44:	90 10 00 19 	mov  %i1, %o0                                  
    the_rbtree->first[RBT_LEFT] = next;                               
  }                                                                   
                                                                      
  /* Check if max needs to be updated. min=max for 1 element trees so 
   * do not use else if here. */                                      
  if (the_node == the_rbtree->first[RBT_RIGHT]) {                     
 200ab48:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 200ab4c:	80 a0 40 19 	cmp  %g1, %i1                                  
 200ab50:	02 80 00 56 	be  200aca8 <_RBTree_Extract_unprotected+0x180>
 200ab54:	90 10 00 19 	mov  %i1, %o0                                  
   * 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]) {      
 200ab58:	fa 06 60 04 	ld  [ %i1 + 4 ], %i5                           
 200ab5c:	80 a7 60 00 	cmp  %i5, 0                                    
 200ab60:	22 80 00 5a 	be,a   200acc8 <_RBTree_Extract_unprotected+0x1a0>
 200ab64:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           
 200ab68:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200ab6c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ab70:	32 80 00 05 	bne,a   200ab84 <_RBTree_Extract_unprotected+0x5c>
 200ab74:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200ab78:	10 80 00 3c 	b  200ac68 <_RBTree_Extract_unprotected+0x140> 
 200ab7c:	b8 10 00 1d 	mov  %i5, %i4                                  
    target = the_node->child[RBT_LEFT]; /* find max in node->child[RBT_LEFT] */
    while (target->child[RBT_RIGHT]) target = target->child[RBT_RIGHT];
 200ab80:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200ab84:	80 a0 60 00 	cmp  %g1, 0                                    
 200ab88:	32 bf ff fe 	bne,a   200ab80 <_RBTree_Extract_unprotected+0x58>
 200ab8c:	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];                                   
 200ab90:	f8 07 60 04 	ld  [ %i5 + 4 ], %i4                           
    if(leaf) {                                                        
 200ab94:	80 a7 20 00 	cmp  %i4, 0                                    
 200ab98:	02 80 00 48 	be  200acb8 <_RBTree_Extract_unprotected+0x190>
 200ab9c:	01 00 00 00 	nop                                            
      leaf->parent = target->parent;                                  
 200aba0:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200aba4:	c2 27 00 00 	st  %g1, [ %i4 ]                               
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(target);                   
    }                                                                 
    victim_color = target->color;                                     
    dir = target != target->parent->child[0];                         
 200aba8:	c4 07 40 00 	ld  [ %i5 ], %g2                               
    target->parent->child[dir] = leaf;                                
                                                                      
    /* now replace the_node with target */                            
    dir = the_node != the_node->parent->child[0];                     
 200abac:	c2 06 40 00 	ld  [ %i1 ], %g1                               
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(target);                   
    }                                                                 
    victim_color = target->color;                                     
    dir = target != target->parent->child[0];                         
 200abb0:	c8 00 a0 04 	ld  [ %g2 + 4 ], %g4                           
      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;                                     
 200abb4:	c6 07 60 0c 	ld  [ %i5 + 0xc ], %g3                         
    dir = target != target->parent->child[0];                         
 200abb8:	88 1f 40 04 	xor  %i5, %g4, %g4                             
 200abbc:	80 a0 00 04 	cmp  %g0, %g4                                  
 200abc0:	88 40 20 00 	addx  %g0, 0, %g4                              
    target->parent->child[dir] = leaf;                                
 200abc4:	89 29 20 02 	sll  %g4, 2, %g4                               
 200abc8:	84 00 80 04 	add  %g2, %g4, %g2                             
 200abcc:	f8 20 a0 04 	st  %i4, [ %g2 + 4 ]                           
                                                                      
    /* now replace the_node with target */                            
    dir = the_node != the_node->parent->child[0];                     
 200abd0:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200abd4:	84 18 80 19 	xor  %g2, %i1, %g2                             
 200abd8:	80 a0 00 02 	cmp  %g0, %g2                                  
 200abdc:	84 40 20 00 	addx  %g0, 0, %g2                              
    the_node->parent->child[dir] = target;                            
 200abe0:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200abe4:	82 00 40 02 	add  %g1, %g2, %g1                             
 200abe8:	fa 20 60 04 	st  %i5, [ %g1 + 4 ]                           
                                                                      
    /* set target's new children to the original node's children */   
    target->child[RBT_RIGHT] = the_node->child[RBT_RIGHT];            
 200abec:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200abf0:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           
    if (the_node->child[RBT_RIGHT])                                   
 200abf4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 200abf8:	80 a0 60 00 	cmp  %g1, 0                                    
 200abfc:	32 80 00 02 	bne,a   200ac04 <_RBTree_Extract_unprotected+0xdc><== ALWAYS TAKEN
 200ac00:	fa 20 40 00 	st  %i5, [ %g1 ]                               
      the_node->child[RBT_RIGHT]->parent = target;                    
    target->child[RBT_LEFT] = the_node->child[RBT_LEFT];              
 200ac04:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 200ac08:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           
    if (the_node->child[RBT_LEFT])                                    
 200ac0c:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 200ac10:	80 a0 60 00 	cmp  %g1, 0                                    
 200ac14:	32 80 00 02 	bne,a   200ac1c <_RBTree_Extract_unprotected+0xf4>
 200ac18:	fa 20 40 00 	st  %i5, [ %g1 ]                               
    /* 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;                                
 200ac1c:	c4 06 40 00 	ld  [ %i1 ], %g2                               
    target->color = the_node->color;                                  
 200ac20:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
    /* 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;                                
 200ac24:	c4 27 40 00 	st  %g2, [ %i5 ]                               
    target->color = the_node->color;                                  
 200ac28:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
  /* 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 */             
 200ac2c:	80 a0 e0 00 	cmp  %g3, 0                                    
 200ac30:	32 80 00 06 	bne,a   200ac48 <_RBTree_Extract_unprotected+0x120>
 200ac34:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
    if (leaf) {                                                       
 200ac38:	80 a7 20 00 	cmp  %i4, 0                                    
 200ac3c:	32 80 00 02 	bne,a   200ac44 <_RBTree_Extract_unprotected+0x11c>
 200ac40:	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;          
 200ac44:	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;
 200ac48:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
 200ac4c:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
 200ac50:	80 a0 60 00 	cmp  %g1, 0                                    
 200ac54:	02 80 00 03 	be  200ac60 <_RBTree_Extract_unprotected+0x138>
 200ac58:	c0 26 40 00 	clr  [ %i1 ]                                   
 200ac5c:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
 200ac60:	81 c7 e0 08 	ret                                            
 200ac64:	81 e8 00 00 	restore                                        
     * 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 ) {                                                      
      leaf->parent = the_node->parent;                                
 200ac68:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200ac6c:	c2 27 00 00 	st  %g1, [ %i4 ]                               
      _RBTree_Extract_validate_unprotected(the_node);                 
    }                                                                 
    victim_color = the_node->color;                                   
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
 200ac70:	c2 06 40 00 	ld  [ %i1 ], %g1                               
      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;                                   
 200ac74:	c6 06 60 0c 	ld  [ %i1 + 0xc ], %g3                         
                                                                      
    /* remove the_node from the tree */                               
    dir = the_node != the_node->parent->child[0];                     
 200ac78:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200ac7c:	84 18 80 19 	xor  %g2, %i1, %g2                             
 200ac80:	80 a0 00 02 	cmp  %g0, %g2                                  
 200ac84:	84 40 20 00 	addx  %g0, 0, %g2                              
    the_node->parent->child[dir] = leaf;                              
 200ac88:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200ac8c:	82 00 40 02 	add  %g1, %g2, %g1                             
 200ac90:	10 bf ff e7 	b  200ac2c <_RBTree_Extract_unprotected+0x104> 
 200ac94:	f8 20 60 04 	st  %i4, [ %g1 + 4 ]                           
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Successor_unprotected(      
  const RBTree_Node *node                                             
)                                                                     
{                                                                     
  return _RBTree_Next_unprotected( node, RBT_RIGHT );                 
 200ac98:	40 00 00 eb 	call  200b044 <_RBTree_Next_unprotected>       
 200ac9c:	92 10 20 01 	mov  1, %o1                                    
                                                                      
  /* check if min needs to be updated */                              
  if (the_node == the_rbtree->first[RBT_LEFT]) {                      
    RBTree_Node *next;                                                
    next = _RBTree_Successor_unprotected(the_node);                   
    the_rbtree->first[RBT_LEFT] = next;                               
 200aca0:	10 bf ff aa 	b  200ab48 <_RBTree_Extract_unprotected+0x20>  
 200aca4:	d0 26 20 08 	st  %o0, [ %i0 + 8 ]                           
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Predecessor_unprotected(    
  const RBTree_Node *node                                             
)                                                                     
{                                                                     
  return _RBTree_Next_unprotected( node, RBT_LEFT );                  
 200aca8:	40 00 00 e7 	call  200b044 <_RBTree_Next_unprotected>       
 200acac:	92 10 20 00 	clr  %o1                                       
  /* Check if max needs to be updated. min=max for 1 element trees so 
   * do not use else if here. */                                      
  if (the_node == the_rbtree->first[RBT_RIGHT]) {                     
    RBTree_Node *previous;                                            
    previous = _RBTree_Predecessor_unprotected(the_node);             
    the_rbtree->first[RBT_RIGHT] = previous;                          
 200acb0:	10 bf ff aa 	b  200ab58 <_RBTree_Extract_unprotected+0x30>  
 200acb4:	d0 26 20 0c 	st  %o0, [ %i0 + 0xc ]                         
    leaf = target->child[RBT_LEFT];                                   
    if(leaf) {                                                        
      leaf->parent = target->parent;                                  
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(target);                   
 200acb8:	7f ff fe d3 	call  200a804 <_RBTree_Extract_validate_unprotected>
 200acbc:	90 10 00 1d 	mov  %i5, %o0                                  
    }                                                                 
    victim_color = target->color;                                     
    dir = target != target->parent->child[0];                         
 200acc0:	10 bf ff bb 	b  200abac <_RBTree_Extract_unprotected+0x84>  
 200acc4:	c4 07 40 00 	ld  [ %i5 ], %g2                               
     * 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 ) {                                                      
 200acc8:	80 a7 20 00 	cmp  %i4, 0                                    
 200accc:	32 bf ff e8 	bne,a   200ac6c <_RBTree_Extract_unprotected+0x144>
 200acd0:	c2 06 40 00 	ld  [ %i1 ], %g1                               
      leaf->parent = the_node->parent;                                
    } else {                                                          
      /* fix the tree here if the child is a null leaf. */            
      _RBTree_Extract_validate_unprotected(the_node);                 
 200acd4:	7f ff fe cc 	call  200a804 <_RBTree_Extract_validate_unprotected>
 200acd8:	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];                     
 200acdc:	10 bf ff e6 	b  200ac74 <_RBTree_Extract_unprotected+0x14c> 
 200ace0:	c2 06 40 00 	ld  [ %i1 ], %g1                               
                                                                      

0200a804 <_RBTree_Extract_validate_unprotected>: ) { RBTree_Node *parent, *sibling; RBTree_Direction dir; parent = the_node->parent;
 200a804:	c2 02 00 00 	ld  [ %o0 ], %g1                               
  if(!parent->parent) return;                                         
 200a808:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200a80c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a810:	02 80 00 3f 	be  200a90c <_RBTree_Extract_validate_unprotected+0x108>
 200a814:	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 == the_node->parent->child[RBT_LEFT])                   
 200a818:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200a81c:	80 a2 00 02 	cmp  %o0, %g2                                  
 200a820:	22 80 00 02 	be,a   200a828 <_RBTree_Extract_validate_unprotected+0x24>
 200a824:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200a828:	c6 02 20 0c 	ld  [ %o0 + 0xc ], %g3                         
 200a82c:	80 a0 e0 01 	cmp  %g3, 1                                    
 200a830:	02 80 00 32 	be  200a8f8 <_RBTree_Extract_validate_unprotected+0xf4>
 200a834:	9a 10 20 01 	mov  1, %o5                                    
                                                                      
  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) {               
 200a838:	c6 00 40 00 	ld  [ %g1 ], %g3                               
 200a83c:	80 a0 e0 00 	cmp  %g3, 0                                    
 200a840:	02 80 00 2e 	be  200a8f8 <_RBTree_Extract_validate_unprotected+0xf4>
 200a844:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a848:	22 80 00 07 	be,a   200a864 <_RBTree_Extract_validate_unprotected+0x60><== NEVER TAKEN
 200a84c:	c6 00 a0 08 	ld  [ %g2 + 8 ], %g3                           <== NOT EXECUTED
 200a850:	c8 00 a0 0c 	ld  [ %g2 + 0xc ], %g4                         
 200a854:	80 a1 20 01 	cmp  %g4, 1                                    
 200a858:	22 80 00 63 	be,a   200a9e4 <_RBTree_Extract_validate_unprotected+0x1e0>
 200a85c:	d8 00 60 04 	ld  [ %g1 + 4 ], %o4                           
      _RBTree_Rotate(parent, dir);                                    
      sibling = parent->child[_RBTree_Opposite_direction(dir)];       
    }                                                                 
                                                                      
    /* sibling is black, see if both of its children are also black. */
    if (!_RBTree_Is_red(sibling->child[RBT_RIGHT]) &&                 
 200a860:	c6 00 a0 08 	ld  [ %g2 + 8 ], %g3                           
 200a864:	80 a0 e0 00 	cmp  %g3, 0                                    
 200a868:	22 80 00 07 	be,a   200a884 <_RBTree_Extract_validate_unprotected+0x80>
 200a86c:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 200a870:	c6 00 e0 0c 	ld  [ %g3 + 0xc ], %g3                         
 200a874:	80 a0 e0 01 	cmp  %g3, 1                                    
 200a878:	22 80 00 29 	be,a   200a91c <_RBTree_Extract_validate_unprotected+0x118>
 200a87c:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
        !_RBTree_Is_red(sibling->child[RBT_LEFT])) {                  
 200a880:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 200a884:	80 a0 e0 00 	cmp  %g3, 0                                    
 200a888:	22 80 00 07 	be,a   200a8a4 <_RBTree_Extract_validate_unprotected+0xa0>
 200a88c:	da 20 a0 0c 	st  %o5, [ %g2 + 0xc ]                         
 200a890:	c6 00 e0 0c 	ld  [ %g3 + 0xc ], %g3                         
 200a894:	80 a0 e0 01 	cmp  %g3, 1                                    
 200a898:	22 80 00 21 	be,a   200a91c <_RBTree_Extract_validate_unprotected+0x118>
 200a89c:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
        sibling->color = RBT_RED;                                     
 200a8a0:	da 20 a0 0c 	st  %o5, [ %g2 + 0xc ]                         
 200a8a4:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200a8a8:	80 a0 a0 01 	cmp  %g2, 1                                    
 200a8ac:	22 80 00 99 	be,a   200ab10 <_RBTree_Extract_validate_unprotected+0x30c>
 200a8b0:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
        if (_RBTree_Is_red(parent)) {                                 
          parent->color = RBT_BLACK;                                  
          break;                                                      
        }                                                             
        the_node = parent; /* done if parent is red */                
        parent = the_node->parent;                                    
 200a8b4:	c6 00 40 00 	ld  [ %g1 ], %g3                               
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling(                    
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
 200a8b8:	80 a0 e0 00 	cmp  %g3, 0                                    
 200a8bc:	02 80 00 6c 	be  200aa6c <_RBTree_Extract_validate_unprotected+0x268><== NEVER TAKEN
 200a8c0:	90 10 00 01 	mov  %g1, %o0                                  
  if(!(the_node->parent->parent)) return NULL;                        
 200a8c4:	c4 00 c0 00 	ld  [ %g3 ], %g2                               
 200a8c8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a8cc:	02 80 00 69 	be  200aa70 <_RBTree_Extract_validate_unprotected+0x26c>
 200a8d0:	84 10 20 00 	clr  %g2                                       
                                                                      
  if(the_node == the_node->parent->child[RBT_LEFT])                   
 200a8d4:	c4 00 e0 04 	ld  [ %g3 + 4 ], %g2                           
 200a8d8:	80 a0 40 02 	cmp  %g1, %g2                                  
 200a8dc:	22 80 00 0e 	be,a   200a914 <_RBTree_Extract_validate_unprotected+0x110>
 200a8e0:	c4 00 e0 08 	ld  [ %g3 + 8 ], %g2                           
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling(                    
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
 200a8e4:	82 10 00 03 	mov  %g3, %g1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200a8e8:	c6 02 20 0c 	ld  [ %o0 + 0xc ], %g3                         
 200a8ec:	80 a0 e0 01 	cmp  %g3, 1                                    
 200a8f0:	32 bf ff d3 	bne,a   200a83c <_RBTree_Extract_validate_unprotected+0x38><== ALWAYS TAKEN
 200a8f4:	c6 00 40 00 	ld  [ %g1 ], %g3                               
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
 200a8f8:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200a8fc:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200a900:	80 a0 60 00 	cmp  %g1, 0                                    
 200a904:	02 80 00 5f 	be  200aa80 <_RBTree_Extract_validate_unprotected+0x27c>
 200a908:	01 00 00 00 	nop                                            
 200a90c:	81 c3 e0 08 	retl                                           
 200a910:	01 00 00 00 	nop                                            
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling(                    
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
 200a914:	10 bf ff f5 	b  200a8e8 <_RBTree_Extract_validate_unprotected+0xe4>
 200a918:	82 10 00 03 	mov  %g3, %g1                                  
       * 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];                             
 200a91c:	86 1a 00 03 	xor  %o0, %g3, %g3                             
 200a920:	80 a0 00 03 	cmp  %g0, %g3                                  
 200a924:	9a 40 20 00 	addx  %g0, 0, %o5                              
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
 200a928:	86 1b 60 01 	xor  %o5, 1, %g3                               
      if (!_RBTree_Is_red(sibling->child[_RBTree_Opposite_direction(dir)])) {
 200a92c:	87 28 e0 02 	sll  %g3, 2, %g3                               
 200a930:	88 00 80 03 	add  %g2, %g3, %g4                             
 200a934:	c8 01 20 04 	ld  [ %g4 + 4 ], %g4                           
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200a938:	80 a1 20 00 	cmp  %g4, 0                                    
 200a93c:	22 80 00 07 	be,a   200a958 <_RBTree_Extract_validate_unprotected+0x154>
 200a940:	9b 2b 60 02 	sll  %o5, 2, %o5                               
 200a944:	d8 01 20 0c 	ld  [ %g4 + 0xc ], %o4                         
 200a948:	80 a3 20 01 	cmp  %o4, 1                                    
 200a94c:	22 80 00 4f 	be,a   200aa88 <_RBTree_Extract_validate_unprotected+0x284>
 200a950:	d6 00 60 0c 	ld  [ %g1 + 0xc ], %o3                         
        sibling->color = RBT_RED;                                     
        sibling->child[dir]->color = RBT_BLACK;                       
 200a954:	9b 2b 60 02 	sll  %o5, 2, %o5                               
 200a958:	98 00 80 0d 	add  %g2, %o5, %o4                             
 200a95c:	c8 03 20 04 	ld  [ %o4 + 4 ], %g4                           
       * and if so rotate in the proper direction and update sibling pointer.
       * Then switch the sibling and parent colors, and rotate through parent.
       */                                                             
      dir = the_node != parent->child[0];                             
      if (!_RBTree_Is_red(sibling->child[_RBTree_Opposite_direction(dir)])) {
        sibling->color = RBT_RED;                                     
 200a960:	96 10 20 01 	mov  1, %o3                                    
 200a964:	d6 20 a0 0c 	st  %o3, [ %g2 + 0xc ]                         
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
 200a968:	80 a1 20 00 	cmp  %g4, 0                                    
 200a96c:	02 80 00 15 	be  200a9c0 <_RBTree_Extract_validate_unprotected+0x1bc><== NEVER TAKEN
 200a970:	c0 21 20 0c 	clr  [ %g4 + 0xc ]                             
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
 200a974:	96 01 00 03 	add  %g4, %g3, %o3                             
 200a978:	d4 02 e0 04 	ld  [ %o3 + 4 ], %o2                           
 200a97c:	d4 23 20 04 	st  %o2, [ %o4 + 4 ]                           
                                                                      
  if (c->child[dir])                                                  
 200a980:	d8 02 e0 04 	ld  [ %o3 + 4 ], %o4                           
 200a984:	80 a3 20 00 	cmp  %o4, 0                                    
 200a988:	32 80 00 02 	bne,a   200a990 <_RBTree_Extract_validate_unprotected+0x18c>
 200a98c:	c4 23 00 00 	st  %g2, [ %o4 ]                               
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200a990:	d8 00 80 00 	ld  [ %g2 ], %o4                               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
                                                                      
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
 200a994:	96 01 00 03 	add  %g4, %g3, %o3                             
 200a998:	c4 22 e0 04 	st  %g2, [ %o3 + 4 ]                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200a99c:	d6 03 20 04 	ld  [ %o4 + 4 ], %o3                           
                                                                      
  c->parent = the_node->parent;                                       
 200a9a0:	d8 21 00 00 	st  %o4, [ %g4 ]                               
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200a9a4:	96 18 80 0b 	xor  %g2, %o3, %o3                             
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
 200a9a8:	c8 20 80 00 	st  %g4, [ %g2 ]                               
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200a9ac:	80 a0 00 0b 	cmp  %g0, %o3                                  
 200a9b0:	84 40 20 00 	addx  %g0, 0, %g2                              
 200a9b4:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200a9b8:	98 03 00 02 	add  %o4, %g2, %o4                             
 200a9bc:	c8 23 20 04 	st  %g4, [ %o4 + 4 ]                           
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, _RBTree_Opposite_direction(dir));     
        sibling = parent->child[_RBTree_Opposite_direction(dir)];     
      }                                                               
      sibling->color = parent->color;                                 
 200a9c0:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
      dir = the_node != parent->child[0];                             
      if (!_RBTree_Is_red(sibling->child[_RBTree_Opposite_direction(dir)])) {
        sibling->color = RBT_RED;                                     
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, _RBTree_Opposite_direction(dir));     
        sibling = parent->child[_RBTree_Opposite_direction(dir)];     
 200a9c4:	84 00 40 03 	add  %g1, %g3, %g2                             
 200a9c8:	c4 00 a0 04 	ld  [ %g2 + 4 ], %g2                           
      }                                                               
      sibling->color = parent->color;                                 
 200a9cc:	c8 20 a0 0c 	st  %g4, [ %g2 + 0xc ]                         
 200a9d0:	88 00 80 03 	add  %g2, %g3, %g4                             
 200a9d4:	c8 01 20 04 	ld  [ %g4 + 4 ], %g4                           
      parent->color = RBT_BLACK;                                      
 200a9d8:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
 200a9dc:	10 80 00 33 	b  200aaa8 <_RBTree_Extract_validate_unprotected+0x2a4>
 200a9e0:	c0 21 20 0c 	clr  [ %g4 + 0xc ]                             
     * 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;                                        
 200a9e4:	c8 20 60 0c 	st  %g4, [ %g1 + 0xc ]                         
      sibling->color = RBT_BLACK;                                     
      dir = the_node != parent->child[0];                             
 200a9e8:	88 1b 00 08 	xor  %o4, %o0, %g4                             
 200a9ec:	80 a0 00 04 	cmp  %g0, %g4                                  
 200a9f0:	94 40 20 00 	addx  %g0, 0, %o2                              
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
 200a9f4:	96 1a a0 01 	xor  %o2, 1, %o3                               
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
 200a9f8:	97 2a e0 02 	sll  %o3, 2, %o3                               
 200a9fc:	98 00 40 0b 	add  %g1, %o3, %o4                             
 200aa00:	c8 03 20 04 	ld  [ %o4 + 4 ], %g4                           
 200aa04:	80 a1 20 00 	cmp  %g4, 0                                    
 200aa08:	02 80 00 1c 	be  200aa78 <_RBTree_Extract_validate_unprotected+0x274><== NEVER TAKEN
 200aa0c:	c0 20 a0 0c 	clr  [ %g2 + 0xc ]                             
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
 200aa10:	95 2a a0 02 	sll  %o2, 2, %o2                               
 200aa14:	84 01 00 0a 	add  %g4, %o2, %g2                             
 200aa18:	d2 00 a0 04 	ld  [ %g2 + 4 ], %o1                           
 200aa1c:	d2 23 20 04 	st  %o1, [ %o4 + 4 ]                           
                                                                      
  if (c->child[dir])                                                  
 200aa20:	c4 00 a0 04 	ld  [ %g2 + 4 ], %g2                           
 200aa24:	80 a0 a0 00 	cmp  %g2, 0                                    
 200aa28:	02 80 00 04 	be  200aa38 <_RBTree_Extract_validate_unprotected+0x234><== NEVER TAKEN
 200aa2c:	94 01 00 0a 	add  %g4, %o2, %o2                             
    c->child[dir]->parent = the_node;                                 
 200aa30:	c2 20 80 00 	st  %g1, [ %g2 ]                               
 200aa34:	c6 00 40 00 	ld  [ %g1 ], %g3                               
                                                                      
  c->child[dir] = the_node;                                           
 200aa38:	c2 22 a0 04 	st  %g1, [ %o2 + 4 ]                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200aa3c:	c4 00 e0 04 	ld  [ %g3 + 4 ], %g2                           
                                                                      
  c->parent = the_node->parent;                                       
 200aa40:	c6 21 00 00 	st  %g3, [ %g4 ]                               
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200aa44:	84 18 40 02 	xor  %g1, %g2, %g2                             
 200aa48:	80 a0 00 02 	cmp  %g0, %g2                                  
 200aa4c:	84 40 20 00 	addx  %g0, 0, %g2                              
 200aa50:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200aa54:	96 00 40 0b 	add  %g1, %o3, %o3                             
 200aa58:	86 00 c0 02 	add  %g3, %g2, %g3                             
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
 200aa5c:	c8 20 40 00 	st  %g4, [ %g1 ]                               
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200aa60:	c8 20 e0 04 	st  %g4, [ %g3 + 4 ]                           
 200aa64:	10 bf ff 7f 	b  200a860 <_RBTree_Extract_validate_unprotected+0x5c>
 200aa68:	c4 02 e0 04 	ld  [ %o3 + 4 ], %g2                           
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Sibling(                    
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if(!the_node) return NULL;                                          
  if(!(the_node->parent)) return NULL;                                
 200aa6c:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 200aa70:	10 bf ff 9e 	b  200a8e8 <_RBTree_Extract_validate_unprotected+0xe4>
 200aa74:	82 10 00 03 	mov  %g3, %g1                                  
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
 200aa78:	10 bf ff 7a 	b  200a860 <_RBTree_Extract_validate_unprotected+0x5c><== NOT EXECUTED
 200aa7c:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
 200aa80:	81 c3 e0 08 	retl                                           
 200aa84:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
 200aa88:	98 00 40 03 	add  %g1, %g3, %o4                             
        sibling->color = RBT_RED;                                     
        sibling->child[dir]->color = RBT_BLACK;                       
        _RBTree_Rotate(sibling, _RBTree_Opposite_direction(dir));     
        sibling = parent->child[_RBTree_Opposite_direction(dir)];     
      }                                                               
      sibling->color = parent->color;                                 
 200aa8c:	d6 20 a0 0c 	st  %o3, [ %g2 + 0xc ]                         
      parent->color = RBT_BLACK;                                      
 200aa90:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
 200aa94:	c4 03 20 04 	ld  [ %o4 + 4 ], %g2                           
 200aa98:	80 a0 a0 00 	cmp  %g2, 0                                    
 200aa9c:	02 bf ff 97 	be  200a8f8 <_RBTree_Extract_validate_unprotected+0xf4><== NEVER TAKEN
 200aaa0:	c0 21 20 0c 	clr  [ %g4 + 0xc ]                             
 200aaa4:	9b 2b 60 02 	sll  %o5, 2, %o5                               
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
 200aaa8:	88 00 80 0d 	add  %g2, %o5, %g4                             
 200aaac:	d8 01 20 04 	ld  [ %g4 + 4 ], %o4                           
 200aab0:	86 00 40 03 	add  %g1, %g3, %g3                             
 200aab4:	d8 20 e0 04 	st  %o4, [ %g3 + 4 ]                           
                                                                      
  if (c->child[dir])                                                  
 200aab8:	c6 01 20 04 	ld  [ %g4 + 4 ], %g3                           
 200aabc:	80 a0 e0 00 	cmp  %g3, 0                                    
 200aac0:	32 80 00 02 	bne,a   200aac8 <_RBTree_Extract_validate_unprotected+0x2c4>
 200aac4:	c2 20 c0 00 	st  %g1, [ %g3 ]                               
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200aac8:	c6 00 40 00 	ld  [ %g1 ], %g3                               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
                                                                      
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
 200aacc:	9a 00 80 0d 	add  %g2, %o5, %o5                             
 200aad0:	c2 23 60 04 	st  %g1, [ %o5 + 4 ]                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200aad4:	c8 00 e0 04 	ld  [ %g3 + 4 ], %g4                           
                                                                      
  c->parent = the_node->parent;                                       
 200aad8:	c6 20 80 00 	st  %g3, [ %g2 ]                               
  the_node->parent = c;                                               
 200aadc:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200aae0:	88 18 40 04 	xor  %g1, %g4, %g4                             
 200aae4:	80 a0 00 04 	cmp  %g0, %g4                                  
 200aae8:	82 40 20 00 	addx  %g0, 0, %g1                              
 200aaec:	83 28 60 02 	sll  %g1, 2, %g1                               
 200aaf0:	86 00 c0 01 	add  %g3, %g1, %g3                             
      sibling->child[_RBTree_Opposite_direction(dir)]->color = RBT_BLACK;
      _RBTree_Rotate(parent, dir);                                    
      break; /* done */                                               
    }                                                                 
  } /* while */                                                       
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
 200aaf4:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200aaf8:	c4 20 e0 04 	st  %g2, [ %g3 + 4 ]                           
 200aafc:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200ab00:	80 a0 60 00 	cmp  %g1, 0                                    
 200ab04:	12 bf ff 82 	bne  200a90c <_RBTree_Extract_validate_unprotected+0x108><== ALWAYS TAKEN
 200ab08:	01 00 00 00 	nop                                            
 200ab0c:	30 bf ff dd 	b,a   200aa80 <_RBTree_Extract_validate_unprotected+0x27c><== NOT EXECUTED
 200ab10:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200ab14:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200ab18:	80 a0 60 00 	cmp  %g1, 0                                    
 200ab1c:	12 bf ff 7c 	bne  200a90c <_RBTree_Extract_validate_unprotected+0x108><== ALWAYS TAKEN
 200ab20:	01 00 00 00 	nop                                            
 200ab24:	30 bf ff d7 	b,a   200aa80 <_RBTree_Extract_validate_unprotected+0x27c><== NOT EXECUTED
                                                                      

0200b71c <_RBTree_Find>: RBTree_Node *_RBTree_Find( RBTree_Control *the_rbtree, RBTree_Node *search_node ) {
 200b71c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level          level;                                           
  RBTree_Node *return_node;                                           
                                                                      
  return_node = NULL;                                                 
  _ISR_Disable( level );                                              
 200b720:	7f ff e1 b3 	call  2003dec <sparc_disable_interrupts>       
 200b724:	b8 10 00 18 	mov  %i0, %i4                                  
 200b728:	b6 10 00 08 	mov  %o0, %i3                                  
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Find_unprotected(           
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
 200b72c:	fa 06 20 04 	ld  [ %i0 + 4 ], %i5                           
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
 200b730:	80 a7 60 00 	cmp  %i5, 0                                    
 200b734:	02 80 00 15 	be  200b788 <_RBTree_Find+0x6c>                <== NEVER TAKEN
 200b738:	b0 10 20 00 	clr  %i0                                       
    compare_result = the_rbtree->compare_function(the_node, iter_node);
 200b73c:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 200b740:	92 10 00 1d 	mov  %i5, %o1                                  
 200b744:	9f c0 40 00 	call  %g1                                      
 200b748:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
RTEMS_INLINE_ROUTINE bool _RBTree_Is_greater(                         
  int compare_result                                                  
)                                                                     
{                                                                     
  return compare_result > 0;                                          
 200b74c:	83 3a 20 1f 	sra  %o0, 0x1f, %g1                            
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
    compare_result = the_rbtree->compare_function(the_node, iter_node);
    if ( _RBTree_Is_equal( compare_result ) ) {                       
 200b750:	80 a2 20 00 	cmp  %o0, 0                                    
                                                                      
RTEMS_INLINE_ROUTINE bool _RBTree_Is_greater(                         
  int compare_result                                                  
)                                                                     
{                                                                     
  return compare_result > 0;                                          
 200b754:	82 20 40 08 	sub  %g1, %o0, %g1                             
 200b758:	83 30 60 1f 	srl  %g1, 0x1f, %g1                            
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir =                                            
      (RBTree_Direction) _RBTree_Is_greater( compare_result );        
    iter_node = iter_node->child[dir];                                
 200b75c:	83 28 60 02 	sll  %g1, 2, %g1                               
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
    compare_result = the_rbtree->compare_function(the_node, iter_node);
    if ( _RBTree_Is_equal( compare_result ) ) {                       
 200b760:	12 80 00 06 	bne  200b778 <_RBTree_Find+0x5c>               
 200b764:	82 07 40 01 	add  %i5, %g1, %g1                             
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
 200b768:	c4 0f 20 14 	ldub  [ %i4 + 0x14 ], %g2                      
 200b76c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b770:	12 80 00 0a 	bne  200b798 <_RBTree_Find+0x7c>               
 200b774:	b0 10 00 1d 	mov  %i5, %i0                                  
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir =                                            
      (RBTree_Direction) _RBTree_Is_greater( compare_result );        
    iter_node = iter_node->child[dir];                                
 200b778:	fa 00 60 04 	ld  [ %g1 + 4 ], %i5                           
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
 200b77c:	80 a7 60 00 	cmp  %i5, 0                                    
 200b780:	32 bf ff f0 	bne,a   200b740 <_RBTree_Find+0x24>            
 200b784:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
      return_node = _RBTree_Find_unprotected( the_rbtree, search_node );
  _ISR_Enable( level );                                               
 200b788:	7f ff e1 9d 	call  2003dfc <sparc_enable_interrupts>        
 200b78c:	90 10 00 1b 	mov  %i3, %o0                                  
  return return_node;                                                 
}                                                                     
 200b790:	81 c7 e0 08 	ret                                            
 200b794:	81 e8 00 00 	restore                                        
  RBTree_Node *return_node;                                           
                                                                      
  return_node = NULL;                                                 
  _ISR_Disable( level );                                              
      return_node = _RBTree_Find_unprotected( the_rbtree, search_node );
  _ISR_Enable( level );                                               
 200b798:	7f ff e1 99 	call  2003dfc <sparc_enable_interrupts>        
 200b79c:	90 10 00 1b 	mov  %i3, %o0                                  
  return return_node;                                                 
}                                                                     
 200b7a0:	81 c7 e0 08 	ret                                            
 200b7a4:	81 e8 00 00 	restore                                        
                                                                      

0200bb88 <_RBTree_Initialize>: void *starting_address, size_t number_nodes, size_t node_size, bool is_unique ) {
 200bb88:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t      count;                                                  
  RBTree_Node *next;                                                  
                                                                      
  /* TODO: Error message? */                                          
  if (!the_rbtree) return;                                            
 200bb8c:	80 a6 20 00 	cmp  %i0, 0                                    
 200bb90:	02 80 00 0f 	be  200bbcc <_RBTree_Initialize+0x44>          <== NEVER TAKEN
 200bb94:	80 a6 e0 00 	cmp  %i3, 0                                    
    RBTree_Control          *the_rbtree,                              
    RBTree_Compare_function  compare_function,                        
    bool                     is_unique                                
    )                                                                 
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
 200bb98:	c0 26 00 00 	clr  [ %i0 ]                                   
  the_rbtree->root             = NULL;                                
 200bb9c:	c0 26 20 04 	clr  [ %i0 + 4 ]                               
  the_rbtree->first[0]         = NULL;                                
 200bba0:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
  the_rbtree->first[1]         = NULL;                                
 200bba4:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
  the_rbtree->compare_function = compare_function;                    
 200bba8:	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-- ) {                                                 
 200bbac:	02 80 00 08 	be  200bbcc <_RBTree_Initialize+0x44>          <== NEVER TAKEN
 200bbb0:	fa 2e 20 14 	stb  %i5, [ %i0 + 0x14 ]                       
    _RBTree_Insert_unprotected(the_rbtree, next);                     
 200bbb4:	92 10 00 1a 	mov  %i2, %o1                                  
 200bbb8:	7f ff ff 0b 	call  200b7e4 <_RBTree_Insert_unprotected>     
 200bbbc:	90 10 00 18 	mov  %i0, %o0                                  
  /* could do sanity checks here */                                   
  _RBTree_Initialize_empty(the_rbtree, compare_function, is_unique);  
                                                                      
  count = number_nodes;                                               
  next  = starting_address;                                           
  while ( count-- ) {                                                 
 200bbc0:	b6 86 ff ff 	addcc  %i3, -1, %i3                            
 200bbc4:	12 bf ff fc 	bne  200bbb4 <_RBTree_Initialize+0x2c>         
 200bbc8:	b4 06 80 1c 	add  %i2, %i4, %i2                             
 200bbcc:	81 c7 e0 08 	ret                                            
 200bbd0:	81 e8 00 00 	restore                                        
                                                                      

0200ad08 <_RBTree_Insert_unprotected>: */ RBTree_Node *_RBTree_Insert_unprotected( RBTree_Control *the_rbtree, RBTree_Node *the_node ) {
 200ad08:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if(!the_node) return (RBTree_Node*)-1;                              
 200ad0c:	80 a6 60 00 	cmp  %i1, 0                                    
 200ad10:	02 80 00 9c 	be  200af80 <_RBTree_Insert_unprotected+0x278> 
 200ad14:	b8 10 00 18 	mov  %i0, %i4                                  
                                                                      
  RBTree_Node *iter_node = the_rbtree->root;                          
 200ad18:	fa 06 20 04 	ld  [ %i0 + 4 ], %i5                           
  int compare_result;                                                 
                                                                      
  if (!iter_node) { /* special case: first node inserted */           
 200ad1c:	80 a7 60 00 	cmp  %i5, 0                                    
 200ad20:	32 80 00 05 	bne,a   200ad34 <_RBTree_Insert_unprotected+0x2c>
 200ad24:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
    the_node->color = RBT_BLACK;                                      
 200ad28:	10 80 00 9a 	b  200af90 <_RBTree_Insert_unprotected+0x288>  
 200ad2c:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
    the_node->parent = (RBTree_Node *) the_rbtree;                    
    the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;    
  } else {                                                            
    /* typical binary search tree insert, descend tree to leaf and insert */
    while (iter_node) {                                               
      compare_result = the_rbtree->compare_function(the_node, iter_node);
 200ad30:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 200ad34:	92 10 00 1d 	mov  %i5, %o1                                  
 200ad38:	9f c0 40 00 	call  %g1                                      
 200ad3c:	90 10 00 19 	mov  %i1, %o0                                  
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
 200ad40:	c4 0f 20 14 	ldub  [ %i4 + 0x14 ], %g2                      
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
 200ad44:	b6 38 00 08 	xnor  %g0, %o0, %i3                            
    the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;    
  } else {                                                            
    /* typical binary search tree insert, descend tree to leaf and insert */
    while (iter_node) {                                               
      compare_result = the_rbtree->compare_function(the_node, iter_node);
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
 200ad48:	80 a0 a0 00 	cmp  %g2, 0                                    
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
 200ad4c:	b7 36 e0 1f 	srl  %i3, 0x1f, %i3                            
      if (!iter_node->child[dir]) {                                   
 200ad50:	83 2e e0 02 	sll  %i3, 2, %g1                               
    the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;    
  } else {                                                            
    /* typical binary search tree insert, descend tree to leaf and insert */
    while (iter_node) {                                               
      compare_result = the_rbtree->compare_function(the_node, iter_node);
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
 200ad54:	02 80 00 05 	be  200ad68 <_RBTree_Insert_unprotected+0x60>  
 200ad58:	82 07 40 01 	add  %i5, %g1, %g1                             
 200ad5c:	80 a2 20 00 	cmp  %o0, 0                                    
 200ad60:	02 80 00 8a 	be  200af88 <_RBTree_Insert_unprotected+0x280> 
 200ad64:	01 00 00 00 	nop                                            
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
      if (!iter_node->child[dir]) {                                   
 200ad68:	f0 00 60 04 	ld  [ %g1 + 4 ], %i0                           
 200ad6c:	80 a6 20 00 	cmp  %i0, 0                                    
 200ad70:	32 bf ff f0 	bne,a   200ad30 <_RBTree_Insert_unprotected+0x28>
 200ad74:	ba 10 00 18 	mov  %i0, %i5                                  
        the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;
        the_node->color = RBT_RED;                                    
        iter_node->child[dir] = the_node;                             
        the_node->parent = iter_node;                                 
        /* update min/max */                                          
        compare_result = the_rbtree->compare_function(                
 200ad78:	c4 07 20 10 	ld  [ %i4 + 0x10 ], %g2                        
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_First(                      
  const RBTree_Control *the_rbtree,                                   
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return the_rbtree->first[dir];                                      
 200ad7c:	b4 06 e0 02 	add  %i3, 2, %i2                               
 200ad80:	87 2e a0 02 	sll  %i2, 2, %g3                               
 200ad84:	d2 07 00 03 	ld  [ %i4 + %g3 ], %o1                         
      compare_result = the_rbtree->compare_function(the_node, iter_node);
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
      if (!iter_node->child[dir]) {                                   
        the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;
 200ad88:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
 200ad8c:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
        the_node->color = RBT_RED;                                    
        iter_node->child[dir] = the_node;                             
 200ad90:	f2 20 60 04 	st  %i1, [ %g1 + 4 ]                           
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
      if (!iter_node->child[dir]) {                                   
        the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;
        the_node->color = RBT_RED;                                    
 200ad94:	82 10 20 01 	mov  1, %g1                                    
        iter_node->child[dir] = the_node;                             
        the_node->parent = iter_node;                                 
 200ad98:	fa 26 40 00 	st  %i5, [ %i1 ]                               
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
        return iter_node;                                             
      RBTree_Direction dir = !_RBTree_Is_lesser( compare_result );    
      if (!iter_node->child[dir]) {                                   
        the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;
        the_node->color = RBT_RED;                                    
 200ad9c:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
        iter_node->child[dir] = the_node;                             
        the_node->parent = iter_node;                                 
        /* update min/max */                                          
        compare_result = the_rbtree->compare_function(                
 200ada0:	9f c0 80 00 	call  %g2                                      
 200ada4:	90 10 00 19 	mov  %i1, %o0                                  
            the_node,                                                 
            _RBTree_First(the_rbtree, dir)                            
        );                                                            
        if ( (!dir && _RBTree_Is_lesser(compare_result)) ||           
 200ada8:	80 a6 e0 00 	cmp  %i3, 0                                    
 200adac:	12 80 00 10 	bne  200adec <_RBTree_Insert_unprotected+0xe4> 
 200adb0:	80 a2 20 00 	cmp  %o0, 0                                    
 200adb4:	06 80 00 10 	bl  200adf4 <_RBTree_Insert_unprotected+0xec>  
 200adb8:	b5 2e a0 02 	sll  %i2, 2, %i2                               
 200adbc:	c2 06 40 00 	ld  [ %i1 ], %g1                               
      if (dir != pdir) {                                              
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
      g->color = RBT_RED;                                             
 200adc0:	b4 10 20 01 	mov  1, %i2                                    
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Parent(                     
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if (!the_node->parent->parent) return NULL;                         
 200adc4:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200adc8:	86 90 a0 00 	orcc  %g2, 0, %g3                              
 200adcc:	22 80 00 06 	be,a   200ade4 <_RBTree_Insert_unprotected+0xdc>
 200add0:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200add4:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
 200add8:	80 a1 20 01 	cmp  %g4, 1                                    
 200addc:	22 80 00 08 	be,a   200adfc <_RBTree_Insert_unprotected+0xf4>
 200ade0:	f6 00 80 00 	ld  [ %g2 ], %i3                               
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
}                                                                     
 200ade4:	81 c7 e0 08 	ret                                            
 200ade8:	81 e8 00 00 	restore                                        
        compare_result = the_rbtree->compare_function(                
            the_node,                                                 
            _RBTree_First(the_rbtree, dir)                            
        );                                                            
        if ( (!dir && _RBTree_Is_lesser(compare_result)) ||           
              (dir && _RBTree_Is_greater(compare_result)) ) {         
 200adec:	04 bf ff f4 	ble  200adbc <_RBTree_Insert_unprotected+0xb4> 
 200adf0:	b5 2e a0 02 	sll  %i2, 2, %i2                               
          the_rbtree->first[dir] = the_node;                          
 200adf4:	10 bf ff f2 	b  200adbc <_RBTree_Insert_unprotected+0xb4>   
 200adf8:	f2 27 00 1a 	st  %i1, [ %i4 + %i2 ]                         
)                                                                     
{                                                                     
  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;                
 200adfc:	80 a6 e0 00 	cmp  %i3, 0                                    
 200ae00:	02 80 00 0c 	be  200ae30 <_RBTree_Insert_unprotected+0x128> <== NEVER TAKEN
 200ae04:	c8 00 a0 04 	ld  [ %g2 + 4 ], %g4                           
{                                                                     
  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])                   
 200ae08:	80 a1 00 01 	cmp  %g4, %g1                                  
 200ae0c:	02 80 00 5b 	be  200af78 <_RBTree_Insert_unprotected+0x270> 
 200ae10:	ba 10 00 04 	mov  %g4, %i5                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RBTree_Is_red(                             
    const RBTree_Node *the_node                                       
    )                                                                 
{                                                                     
  return (the_node && the_node->color == RBT_RED);                    
 200ae14:	80 a7 60 00 	cmp  %i5, 0                                    
 200ae18:	22 80 00 07 	be,a   200ae34 <_RBTree_Insert_unprotected+0x12c>
 200ae1c:	fa 00 60 04 	ld  [ %g1 + 4 ], %i5                           
 200ae20:	f8 07 60 0c 	ld  [ %i5 + 0xc ], %i4                         
 200ae24:	80 a7 20 01 	cmp  %i4, 1                                    
 200ae28:	22 80 00 4f 	be,a   200af64 <_RBTree_Insert_unprotected+0x25c>
 200ae2c:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
      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];  
 200ae30:	fa 00 60 04 	ld  [ %g1 + 4 ], %i5                           
      RBTree_Direction pdir = the_node->parent != g->child[0];        
 200ae34:	88 18 40 04 	xor  %g1, %g4, %g4                             
 200ae38:	80 a0 00 04 	cmp  %g0, %g4                                  
      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];  
 200ae3c:	ba 1e 40 1d 	xor  %i1, %i5, %i5                             
      RBTree_Direction pdir = the_node->parent != g->child[0];        
 200ae40:	88 40 20 00 	addx  %g0, 0, %g4                              
      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];  
 200ae44:	80 a0 00 1d 	cmp  %g0, %i5                                  
 200ae48:	ba 40 20 00 	addx  %g0, 0, %i5                              
      RBTree_Direction pdir = the_node->parent != g->child[0];        
                                                                      
      /* ensure node is on the same branch direction as parent */     
      if (dir != pdir) {                                              
 200ae4c:	80 a7 40 04 	cmp  %i5, %g4                                  
 200ae50:	02 80 00 20 	be  200aed0 <_RBTree_Insert_unprotected+0x1c8> 
 200ae54:	80 a0 00 04 	cmp  %g0, %g4                                  
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
 200ae58:	b6 60 3f ff 	subx  %g0, -1, %i3                             
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
 200ae5c:	b7 2e e0 02 	sll  %i3, 2, %i3                               
 200ae60:	b6 00 40 1b 	add  %g1, %i3, %i3                             
 200ae64:	fa 06 e0 04 	ld  [ %i3 + 4 ], %i5                           
 200ae68:	80 a7 60 00 	cmp  %i5, 0                                    
 200ae6c:	02 80 00 16 	be  200aec4 <_RBTree_Insert_unprotected+0x1bc> <== NEVER TAKEN
 200ae70:	b9 29 20 02 	sll  %g4, 2, %i4                               
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
 200ae74:	9e 07 40 1c 	add  %i5, %i4, %o7                             
 200ae78:	da 03 e0 04 	ld  [ %o7 + 4 ], %o5                           
 200ae7c:	da 26 e0 04 	st  %o5, [ %i3 + 4 ]                           
                                                                      
  if (c->child[dir])                                                  
 200ae80:	f6 03 e0 04 	ld  [ %o7 + 4 ], %i3                           
 200ae84:	80 a6 e0 00 	cmp  %i3, 0                                    
 200ae88:	22 80 00 05 	be,a   200ae9c <_RBTree_Insert_unprotected+0x194>
 200ae8c:	b6 07 40 1c 	add  %i5, %i4, %i3                             
    c->child[dir]->parent = the_node;                                 
 200ae90:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
 200ae94:	c4 00 40 00 	ld  [ %g1 ], %g2                               
                                                                      
  c->child[dir] = the_node;                                           
 200ae98:	b6 07 40 1c 	add  %i5, %i4, %i3                             
 200ae9c:	c2 26 e0 04 	st  %g1, [ %i3 + 4 ]                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200aea0:	f6 00 a0 04 	ld  [ %g2 + 4 ], %i3                           
                                                                      
  c->parent = the_node->parent;                                       
 200aea4:	c4 27 40 00 	st  %g2, [ %i5 ]                               
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200aea8:	b6 1e c0 01 	xor  %i3, %g1, %i3                             
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
 200aeac:	fa 20 40 00 	st  %i5, [ %g1 ]                               
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200aeb0:	80 a0 00 1b 	cmp  %g0, %i3                                  
 200aeb4:	82 40 20 00 	addx  %g0, 0, %g1                              
 200aeb8:	83 28 60 02 	sll  %g1, 2, %g1                               
 200aebc:	84 00 80 01 	add  %g2, %g1, %g2                             
 200aec0:	fa 20 a0 04 	st  %i5, [ %g2 + 4 ]                           
        _RBTree_Rotate(the_node->parent, pdir);                       
        the_node = the_node->child[pdir];                             
 200aec4:	b2 06 40 1c 	add  %i1, %i4, %i1                             
 200aec8:	f2 06 60 04 	ld  [ %i1 + 4 ], %i1                           
 200aecc:	c2 06 40 00 	ld  [ %i1 ], %g1                               
      }                                                               
      the_node->parent->color = RBT_BLACK;                            
 200aed0:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
      g->color = RBT_RED;                                             
                                                                      
      /* now rotate grandparent in the other branch direction (toward uncle) */
      _RBTree_Rotate(g, (1-pdir));                                    
 200aed4:	88 26 80 04 	sub  %i2, %g4, %g4                             
 200aed8:	ba 19 20 01 	xor  %g4, 1, %i5                               
    RBTree_Direction dir                                              
    )                                                                 
{                                                                     
  RBTree_Node *c;                                                     
  if (the_node == NULL) return;                                       
  if (the_node->child[_RBTree_Opposite_direction(dir)] == NULL) return;
 200aedc:	bb 2f 60 02 	sll  %i5, 2, %i5                               
 200aee0:	ba 00 c0 1d 	add  %g3, %i5, %i5                             
 200aee4:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
 200aee8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200aeec:	02 bf ff b6 	be  200adc4 <_RBTree_Insert_unprotected+0xbc>  <== NEVER TAKEN
 200aef0:	f4 20 e0 0c 	st  %i2, [ %g3 + 0xc ]                         
                                                                      
  c = the_node->child[_RBTree_Opposite_direction(dir)];               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
 200aef4:	89 29 20 02 	sll  %g4, 2, %g4                               
 200aef8:	82 00 80 04 	add  %g2, %g4, %g1                             
 200aefc:	f8 00 60 04 	ld  [ %g1 + 4 ], %i4                           
 200af00:	f8 27 60 04 	st  %i4, [ %i5 + 4 ]                           
                                                                      
  if (c->child[dir])                                                  
 200af04:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 200af08:	80 a0 60 00 	cmp  %g1, 0                                    
 200af0c:	32 80 00 02 	bne,a   200af14 <_RBTree_Insert_unprotected+0x20c>
 200af10:	c6 20 40 00 	st  %g3, [ %g1 ]                               
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200af14:	fa 00 c0 00 	ld  [ %g3 ], %i5                               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
                                                                      
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
 200af18:	88 00 80 04 	add  %g2, %g4, %g4                             
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
                                                                      
  c->parent = the_node->parent;                                       
 200af1c:	fa 20 80 00 	st  %i5, [ %g2 ]                               
  the_node->child[_RBTree_Opposite_direction(dir)] = c->child[dir];   
                                                                      
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
 200af20:	c6 21 20 04 	st  %g3, [ %g4 + 4 ]                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200af24:	c8 07 60 04 	ld  [ %i5 + 4 ], %g4                           
                                                                      
  c->parent = the_node->parent;                                       
  the_node->parent = c;                                               
 200af28:	c4 20 c0 00 	st  %g2, [ %g3 ]                               
 200af2c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
  if (c->child[dir])                                                  
    c->child[dir]->parent = the_node;                                 
                                                                      
  c->child[dir] = the_node;                                           
                                                                      
  the_node->parent->child[the_node != the_node->parent->child[0]] = c;
 200af30:	86 18 c0 04 	xor  %g3, %g4, %g3                             
 200af34:	80 a0 00 03 	cmp  %g0, %g3                                  
 200af38:	86 40 20 00 	addx  %g0, 0, %g3                              
 200af3c:	87 28 e0 02 	sll  %g3, 2, %g3                               
 200af40:	ba 07 40 03 	add  %i5, %g3, %i5                             
 200af44:	c4 27 60 04 	st  %g2, [ %i5 + 4 ]                           
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Parent(                     
  const RBTree_Node *the_node                                         
)                                                                     
{                                                                     
  if (!the_node->parent->parent) return NULL;                         
 200af48:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200af4c:	86 90 a0 00 	orcc  %g2, 0, %g3                              
 200af50:	32 bf ff a2 	bne,a   200add8 <_RBTree_Insert_unprotected+0xd0><== ALWAYS TAKEN
 200af54:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
    }                                                                 
  }                                                                   
  if(!the_node->parent->parent) the_node->color = RBT_BLACK;          
 200af58:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             <== NOT EXECUTED
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
}                                                                     
 200af5c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200af60:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    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;                            
      u->color = RBT_BLACK;                                           
 200af64:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
      g->color = RBT_RED;                                             
 200af68:	f8 20 a0 0c 	st  %i4, [ %g2 + 0xc ]                         
 200af6c:	82 10 00 1b 	mov  %i3, %g1                                  
 200af70:	10 bf ff 95 	b  200adc4 <_RBTree_Insert_unprotected+0xbc>   
 200af74:	b2 10 00 02 	mov  %g2, %i1                                  
  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])                   
    return the_node->parent->child[RBT_RIGHT];                        
 200af78:	10 bf ff a7 	b  200ae14 <_RBTree_Insert_unprotected+0x10c>  
 200af7c:	fa 00 a0 08 	ld  [ %g2 + 8 ], %i5                           
RBTree_Node *_RBTree_Insert_unprotected(                              
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  if(!the_node) return (RBTree_Node*)-1;                              
 200af80:	81 c7 e0 08 	ret                                            
 200af84:	91 e8 3f ff 	restore  %g0, -1, %o0                          
    the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;    
  } else {                                                            
    /* typical binary search tree insert, descend tree to leaf and insert */
    while (iter_node) {                                               
      compare_result = the_rbtree->compare_function(the_node, iter_node);
      if ( the_rbtree->is_unique && _RBTree_Is_equal( compare_result ) )
 200af88:	81 c7 e0 08 	ret                                            
 200af8c:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
  RBTree_Node *iter_node = the_rbtree->root;                          
  int compare_result;                                                 
                                                                      
  if (!iter_node) { /* special case: first node inserted */           
    the_node->color = RBT_BLACK;                                      
    the_rbtree->root = the_node;                                      
 200af90:	f2 26 20 04 	st  %i1, [ %i0 + 4 ]                           
    the_rbtree->first[0] = the_rbtree->first[1] = the_node;           
 200af94:	f2 26 20 0c 	st  %i1, [ %i0 + 0xc ]                         
 200af98:	f2 26 20 08 	st  %i1, [ %i0 + 8 ]                           
    the_node->parent = (RBTree_Node *) the_rbtree;                    
 200af9c:	f0 26 40 00 	st  %i0, [ %i1 ]                               
    the_node->child[RBT_LEFT] = the_node->child[RBT_RIGHT] = NULL;    
 200afa0:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
 200afa4:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
    } /* while(iter_node) */                                          
                                                                      
    /* verify red-black properties */                                 
    _RBTree_Validate_insert_unprotected(the_node);                    
  }                                                                   
  return (RBTree_Node*)0;                                             
 200afa8:	81 c7 e0 08 	ret                                            
 200afac:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200afe0 <_RBTree_Iterate_unprotected>: const RBTree_Control *rbtree, RBTree_Direction dir, RBTree_Visitor visitor, void *visitor_arg ) {
 200afe0:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE RBTree_Direction _RBTree_Opposite_direction(     
  RBTree_Direction the_dir                                            
)                                                                     
{                                                                     
  return (RBTree_Direction) !((int) the_dir);                         
 200afe4:	80 a0 00 19 	cmp  %g0, %i1                                  
 200afe8:	82 60 3f ff 	subx  %g0, -1, %g1                             
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_First(                      
  const RBTree_Control *the_rbtree,                                   
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return the_rbtree->first[dir];                                      
 200afec:	82 00 60 02 	add  %g1, 2, %g1                               
 200aff0:	83 28 60 02 	sll  %g1, 2, %g1                               
 200aff4:	fa 06 00 01 	ld  [ %i0 + %g1 ], %i5                         
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
 200aff8:	80 a7 60 00 	cmp  %i5, 0                                    
 200affc:	12 80 00 06 	bne  200b014 <_RBTree_Iterate_unprotected+0x34><== ALWAYS TAKEN
 200b000:	94 10 00 1b 	mov  %i3, %o2                                  
 200b004:	30 80 00 0e 	b,a   200b03c <_RBTree_Iterate_unprotected+0x5c><== NOT EXECUTED
 200b008:	80 8f 20 ff 	btst  0xff, %i4                                
 200b00c:	02 80 00 0c 	be  200b03c <_RBTree_Iterate_unprotected+0x5c> <== NEVER TAKEN
 200b010:	94 10 00 1b 	mov  %i3, %o2                                  
    stop = (*visitor)( current, dir, visitor_arg );                   
 200b014:	90 10 00 1d 	mov  %i5, %o0                                  
 200b018:	9f c6 80 00 	call  %i2                                      
 200b01c:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
    current = _RBTree_Next_unprotected( current, dir );               
 200b020:	92 10 00 19 	mov  %i1, %o1                                  
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
    stop = (*visitor)( current, dir, visitor_arg );                   
 200b024:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
    current = _RBTree_Next_unprotected( current, dir );               
 200b028:	40 00 00 07 	call  200b044 <_RBTree_Next_unprotected>       
 200b02c:	90 10 00 1d 	mov  %i5, %o0                                  
{                                                                     
  RBTree_Direction opp_dir = _RBTree_Opposite_direction( dir );       
  const RBTree_Node *current = _RBTree_First( rbtree, opp_dir );      
  bool stop = false;                                                  
                                                                      
  while ( !stop && current != NULL ) {                                
 200b030:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200b034:	12 bf ff f5 	bne  200b008 <_RBTree_Iterate_unprotected+0x28>
 200b038:	b8 1f 20 01 	xor  %i4, 1, %i4                               
 200b03c:	81 c7 e0 08 	ret                                            
 200b040:	81 e8 00 00 	restore                                        
                                                                      

02008190 <_RTEMS_tasks_Initialize_user_tasks_body>: * * Output parameters: NONE */ void _RTEMS_tasks_Initialize_user_tasks_body( void ) {
 2008190:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_initialization_tasks_table *user_tasks;                       
                                                                      
  /*                                                                  
   *  Move information into local variables                           
   */                                                                 
  user_tasks = Configuration_RTEMS_API.User_initialization_tasks_table;
 2008194:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 2008198:	82 10 63 20 	or  %g1, 0x320, %g1	! 201db20 <Configuration_RTEMS_API>
 200819c:	fa 00 60 2c 	ld  [ %g1 + 0x2c ], %i5                        
  maximum    = Configuration_RTEMS_API.number_of_initialization_tasks;
                                                                      
  /*                                                                  
   *  Verify that we have a set of user tasks to iterate              
   */                                                                 
  if ( !user_tasks )                                                  
 20081a0:	80 a7 60 00 	cmp  %i5, 0                                    
 20081a4:	02 80 00 18 	be  2008204 <_RTEMS_tasks_Initialize_user_tasks_body+0x74>
 20081a8:	f6 00 60 28 	ld  [ %g1 + 0x28 ], %i3                        
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
 20081ac:	80 a6 e0 00 	cmp  %i3, 0                                    
 20081b0:	02 80 00 15 	be  2008204 <_RTEMS_tasks_Initialize_user_tasks_body+0x74><== NEVER TAKEN
 20081b4:	b8 10 20 00 	clr  %i4                                       
    return_value = rtems_task_create(                                 
 20081b8:	d4 07 60 04 	ld  [ %i5 + 4 ], %o2                           
 20081bc:	d0 07 40 00 	ld  [ %i5 ], %o0                               
 20081c0:	d2 07 60 08 	ld  [ %i5 + 8 ], %o1                           
 20081c4:	d6 07 60 14 	ld  [ %i5 + 0x14 ], %o3                        
 20081c8:	d8 07 60 0c 	ld  [ %i5 + 0xc ], %o4                         
 20081cc:	7f ff ff 70 	call  2007f8c <rtems_task_create>              
 20081d0:	9a 07 bf fc 	add  %fp, -4, %o5                              
      user_tasks[ index ].stack_size,                                 
      user_tasks[ index ].mode_set,                                   
      user_tasks[ index ].attribute_set,                              
      &id                                                             
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
 20081d4:	94 92 20 00 	orcc  %o0, 0, %o2                              
 20081d8:	12 80 00 0d 	bne  200820c <_RTEMS_tasks_Initialize_user_tasks_body+0x7c>
 20081dc:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
                                                                      
    return_value = rtems_task_start(                                  
 20081e0:	d4 07 60 18 	ld  [ %i5 + 0x18 ], %o2                        
 20081e4:	40 00 00 0e 	call  200821c <rtems_task_start>               
 20081e8:	d2 07 60 10 	ld  [ %i5 + 0x10 ], %o1                        
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
 20081ec:	94 92 20 00 	orcc  %o0, 0, %o2                              
 20081f0:	12 80 00 07 	bne  200820c <_RTEMS_tasks_Initialize_user_tasks_body+0x7c>
 20081f4:	b8 07 20 01 	inc  %i4                                       
    return;                                                           
                                                                      
  /*                                                                  
   *  Now iterate over the initialization tasks and create/start them.
   */                                                                 
  for ( index=0 ; index < maximum ; index++ ) {                       
 20081f8:	80 a7 00 1b 	cmp  %i4, %i3                                  
 20081fc:	12 bf ff ef 	bne  20081b8 <_RTEMS_tasks_Initialize_user_tasks_body+0x28><== NEVER TAKEN
 2008200:	ba 07 60 1c 	add  %i5, 0x1c, %i5                            
 2008204:	81 c7 e0 08 	ret                                            
 2008208:	81 e8 00 00 	restore                                        
      id,                                                             
      user_tasks[ index ].entry_point,                                
      user_tasks[ index ].argument                                    
    );                                                                
    if ( !rtems_is_status_successful( return_value ) )                
      _Internal_error_Occurred( INTERNAL_ERROR_RTEMS_API, true, return_value );
 200820c:	90 10 20 01 	mov  1, %o0                                    
 2008210:	40 00 04 2a 	call  20092b8 <_Internal_error_Occurred>       
 2008214:	92 10 20 01 	mov  1, %o1                                    
                                                                      

0200dba8 <_RTEMS_tasks_Switch_extension>: /* * Per Task Variables */ tvp = executing->task_variables;
 200dba8:	c2 02 21 64 	ld  [ %o0 + 0x164 ], %g1                       
  while (tvp) {                                                       
 200dbac:	80 a0 60 00 	cmp  %g1, 0                                    
 200dbb0:	22 80 00 0c 	be,a   200dbe0 <_RTEMS_tasks_Switch_extension+0x38>
 200dbb4:	c2 02 61 64 	ld  [ %o1 + 0x164 ], %g1                       
    tvp->tval = *tvp->ptr;                                            
 200dbb8:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
    *tvp->ptr = tvp->gval;                                            
 200dbbc:	c6 00 60 08 	ld  [ %g1 + 8 ], %g3                           
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
    tvp->tval = *tvp->ptr;                                            
 200dbc0:	c8 00 80 00 	ld  [ %g2 ], %g4                               
 200dbc4:	c8 20 60 0c 	st  %g4, [ %g1 + 0xc ]                         
    *tvp->ptr = tvp->gval;                                            
 200dbc8:	c6 20 80 00 	st  %g3, [ %g2 ]                               
    tvp = (rtems_task_variable_t *)tvp->next;                         
 200dbcc:	c2 00 40 00 	ld  [ %g1 ], %g1                               
  /*                                                                  
   *  Per Task Variables                                              
   */                                                                 
                                                                      
  tvp = executing->task_variables;                                    
  while (tvp) {                                                       
 200dbd0:	80 a0 60 00 	cmp  %g1, 0                                    
 200dbd4:	32 bf ff fa 	bne,a   200dbbc <_RTEMS_tasks_Switch_extension+0x14><== NEVER TAKEN
 200dbd8:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           <== NOT EXECUTED
    tvp->tval = *tvp->ptr;                                            
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
 200dbdc:	c2 02 61 64 	ld  [ %o1 + 0x164 ], %g1                       
  while (tvp) {                                                       
 200dbe0:	80 a0 60 00 	cmp  %g1, 0                                    
 200dbe4:	02 80 00 0d 	be  200dc18 <_RTEMS_tasks_Switch_extension+0x70>
 200dbe8:	01 00 00 00 	nop                                            
    tvp->gval = *tvp->ptr;                                            
 200dbec:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
    *tvp->ptr = tvp->tval;                                            
 200dbf0:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
    tvp->gval = *tvp->ptr;                                            
 200dbf4:	c8 00 80 00 	ld  [ %g2 ], %g4                               
 200dbf8:	c8 20 60 08 	st  %g4, [ %g1 + 8 ]                           
    *tvp->ptr = tvp->tval;                                            
 200dbfc:	c6 20 80 00 	st  %g3, [ %g2 ]                               
    tvp = (rtems_task_variable_t *)tvp->next;                         
 200dc00:	c2 00 40 00 	ld  [ %g1 ], %g1                               
    *tvp->ptr = tvp->gval;                                            
    tvp = (rtems_task_variable_t *)tvp->next;                         
  }                                                                   
                                                                      
  tvp = heir->task_variables;                                         
  while (tvp) {                                                       
 200dc04:	80 a0 60 00 	cmp  %g1, 0                                    
 200dc08:	32 bf ff fa 	bne,a   200dbf0 <_RTEMS_tasks_Switch_extension+0x48><== NEVER TAKEN
 200dc0c:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           <== NOT EXECUTED
 200dc10:	81 c3 e0 08 	retl                                           
 200dc14:	01 00 00 00 	nop                                            
 200dc18:	81 c3 e0 08 	retl                                           
                                                                      

020453d0 <_Rate_monotonic_Get_status>: bool _Rate_monotonic_Get_status( Rate_monotonic_Control *the_period, Rate_monotonic_Period_time_t *wall_since_last_period, Thread_CPU_usage_t *cpu_since_last_period ) {
 20453d0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    Timestamp_Control        uptime;                                  
  #endif                                                              
    Thread_Control          *owning_thread = the_period->owner;       
 20453d4:	f6 06 20 40 	ld  [ %i0 + 0x40 ], %i3                        
                                                                      
  /*                                                                  
   *  Determine elapsed wall time since period initiated.             
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _TOD_Get_uptime( &uptime );                                       
 20453d8:	7f ff a7 b4 	call  202f2a8 <_TOD_Get_uptime>                
 20453dc:	90 07 bf f8 	add  %fp, -8, %o0                              
    _Timestamp_Subtract(                                              
 20453e0:	c4 1f bf f8 	ldd  [ %fp + -8 ], %g2                         
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
 20453e4:	f8 1e 20 50 	ldd  [ %i0 + 0x50 ], %i4                       
   *  Determine cpu usage since period initiated.                     
   */                                                                 
  used = owning_thread->cpu_time_used;                                
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    if (owning_thread == _Thread_Executing) {                         
 20453e8:	03 00 81 d8 	sethi  %hi(0x2076000), %g1                     
 20453ec:	82 10 62 c0 	or  %g1, 0x2c0, %g1	! 20762c0 <_Per_CPU_Information>
 20453f0:	de 00 60 0c 	ld  [ %g1 + 0xc ], %o7                         
 20453f4:	ba a0 c0 1d 	subcc  %g3, %i5, %i5                           
 20453f8:	b8 60 80 1c 	subx  %g2, %i4, %i4                            
 20453fc:	f8 3e 40 00 	std  %i4, [ %i1 ]                              
      if (used < the_period->cpu_usage_period_initiated)              
        return false;                                                 
                                                                      
      *cpu_since_last_period = used - the_period->cpu_usage_period_initiated;
  #endif                                                              
  return true;                                                        
 2045400:	88 10 20 01 	mov  1, %g4                                    
   *  Determine cpu usage since period initiated.                     
   */                                                                 
  used = owning_thread->cpu_time_used;                                
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    if (owning_thread == _Thread_Executing) {                         
 2045404:	80 a3 c0 1b 	cmp  %o7, %i3                                  
 2045408:	02 80 00 05 	be  204541c <_Rate_monotonic_Get_status+0x4c>  
 204540c:	f8 1e e0 80 	ldd  [ %i3 + 0x80 ], %i4                       
        return false;                                                 
                                                                      
      *cpu_since_last_period = used - the_period->cpu_usage_period_initiated;
  #endif                                                              
  return true;                                                        
}                                                                     
 2045410:	b0 09 20 01 	and  %g4, 1, %i0                               
 2045414:	81 c7 e0 08 	ret                                            
 2045418:	81 e8 00 00 	restore                                        
 204541c:	d8 18 60 20 	ldd  [ %g1 + 0x20 ], %o4                       
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2045420:	f0 1e 20 48 	ldd  [ %i0 + 0x48 ], %i0                       
 2045424:	86 a0 c0 0d 	subcc  %g3, %o5, %g3                           
 2045428:	84 60 80 0c 	subx  %g2, %o4, %g2                            
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 204542c:	ba 87 40 03 	addcc  %i5, %g3, %i5                           
 2045430:	b8 47 00 02 	addx  %i4, %g2, %i4                            
                                                                      
      /*                                                              
       *  The cpu usage info was reset while executing.  Can't        
       *  determine a status.                                         
       */                                                             
      if (_Timestamp_Less_than(&used, &the_period->cpu_usage_period_initiated))
 2045434:	80 a6 00 1c 	cmp  %i0, %i4                                  
 2045438:	14 bf ff f6 	bg  2045410 <_Rate_monotonic_Get_status+0x40>  <== NEVER TAKEN
 204543c:	88 10 20 00 	clr  %g4                                       
 2045440:	02 80 00 09 	be  2045464 <_Rate_monotonic_Get_status+0x94>  
 2045444:	80 a6 40 1d 	cmp  %i1, %i5                                  
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
 2045448:	ba a7 40 19 	subcc  %i5, %i1, %i5                           
      if (used < the_period->cpu_usage_period_initiated)              
        return false;                                                 
                                                                      
      *cpu_since_last_period = used - the_period->cpu_usage_period_initiated;
  #endif                                                              
  return true;                                                        
 204544c:	88 10 20 01 	mov  1, %g4                                    
 2045450:	b8 67 00 18 	subx  %i4, %i0, %i4                            
}                                                                     
 2045454:	b0 09 20 01 	and  %g4, 1, %i0                               
 2045458:	f8 3e 80 00 	std  %i4, [ %i2 ]                              
 204545c:	81 c7 e0 08 	ret                                            
 2045460:	81 e8 00 00 	restore                                        
                                                                      
      /*                                                              
       *  The cpu usage info was reset while executing.  Can't        
       *  determine a status.                                         
       */                                                             
      if (_Timestamp_Less_than(&used, &the_period->cpu_usage_period_initiated))
 2045464:	28 bf ff fa 	bleu,a   204544c <_Rate_monotonic_Get_status+0x7c>
 2045468:	ba a7 40 19 	subcc  %i5, %i1, %i5                           
        return false;                                                 
 204546c:	10 bf ff e9 	b  2045410 <_Rate_monotonic_Get_status+0x40>   
 2045470:	88 10 20 00 	clr  %g4                                       
                                                                      

02045810 <_Rate_monotonic_Timeout>: void _Rate_monotonic_Timeout( Objects_Id id, void *ignored ) {
 2045810:	9d e3 bf 98 	save  %sp, -104, %sp                           
 2045814:	11 00 81 da 	sethi  %hi(0x2076800), %o0                     
 2045818:	92 10 00 18 	mov  %i0, %o1                                  
 204581c:	90 12 21 30 	or  %o0, 0x130, %o0                            
 2045820:	7f ff 29 dd 	call  200ff94 <_Objects_Get>                   
 2045824:	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 ) {                                               
 2045828:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 204582c:	80 a0 60 00 	cmp  %g1, 0                                    
 2045830:	12 80 00 17 	bne  204588c <_Rate_monotonic_Timeout+0x7c>    <== NEVER TAKEN
 2045834:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      the_thread = the_period->owner;                                 
 2045838:	d0 02 20 40 	ld  [ %o0 + 0x40 ], %o0                        
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
 204583c:	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);                   
 2045840:	c4 02 20 10 	ld  [ %o0 + 0x10 ], %g2                        
 2045844:	80 88 80 01 	btst  %g2, %g1                                 
 2045848:	22 80 00 08 	be,a   2045868 <_Rate_monotonic_Timeout+0x58>  
 204584c:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
 2045850:	c4 02 20 20 	ld  [ %o0 + 0x20 ], %g2                        
 2045854:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 2045858:	80 a0 80 01 	cmp  %g2, %g1                                  
 204585c:	02 80 00 1a 	be  20458c4 <_Rate_monotonic_Timeout+0xb4>     
 2045860:	13 04 00 ff 	sethi  %hi(0x1003fc00), %o1                    
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
 2045864:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
 2045868:	80 a0 60 01 	cmp  %g1, 1                                    
 204586c:	02 80 00 0a 	be  2045894 <_Rate_monotonic_Timeout+0x84>     
 2045870:	82 10 20 04 	mov  4, %g1                                    
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else                                                          
        the_period->state = RATE_MONOTONIC_EXPIRED;                   
 2045874:	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--;                                 
 2045878:	03 00 81 d7 	sethi  %hi(0x2075c00), %g1                     
 204587c:	c4 00 61 90 	ld  [ %g1 + 0x190 ], %g2	! 2075d90 <_Thread_Dispatch_disable_level>
 2045880:	84 00 bf ff 	add  %g2, -1, %g2                              
 2045884:	c4 20 61 90 	st  %g2, [ %g1 + 0x190 ]                       
    return _Thread_Dispatch_disable_level;                            
 2045888:	c2 00 61 90 	ld  [ %g1 + 0x190 ], %g1                       
 204588c:	81 c7 e0 08 	ret                                            
 2045890:	81 e8 00 00 	restore                                        
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
 2045894:	82 10 20 03 	mov  3, %g1                                    
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 2045898:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, the_period->next_length );
      } else if ( the_period->state == RATE_MONOTONIC_OWNER_IS_BLOCKING ) {
        the_period->state = RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING;    
 204589c:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 20458a0:	7f ff ff 44 	call  20455b0 <_Rate_monotonic_Initiate_statistics>
 20458a4:	01 00 00 00 	nop                                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 20458a8:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20458ac:	11 00 81 d7 	sethi  %hi(0x2075c00), %o0                     
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 20458b0:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 20458b4:	90 12 22 38 	or  %o0, 0x238, %o0                            
 20458b8:	7f ff 31 23 	call  2011d44 <_Watchdog_Insert>               
 20458bc:	92 07 60 10 	add  %i5, 0x10, %o1                            
 20458c0:	30 bf ff ee 	b,a   2045878 <_Rate_monotonic_Timeout+0x68>   
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_Unblock (                           
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  _Thread_Clear_state( the_thread, STATES_BLOCKED );                  
 20458c4:	7f ff 2c ab 	call  2010b70 <_Thread_Clear_state>            
 20458c8:	92 12 63 f8 	or  %o1, 0x3f8, %o1                            
      the_thread = the_period->owner;                                 
      if ( _States_Is_waiting_for_period( the_thread->current_state ) &&
            the_thread->Wait.id == the_period->Object.id ) {          
        _Thread_Unblock( the_thread );                                
                                                                      
        _Rate_monotonic_Initiate_statistics( the_period );            
 20458cc:	10 bf ff f5 	b  20458a0 <_Rate_monotonic_Timeout+0x90>      
 20458d0:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      

02045474 <_Rate_monotonic_Update_statistics>: } static void _Rate_monotonic_Update_statistics( Rate_monotonic_Control *the_period ) {
 2045474:	9d e3 bf 90 	save  %sp, -112, %sp                           
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
 2045478:	c4 06 20 58 	ld  [ %i0 + 0x58 ], %g2                        
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
 204547c:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
                                                                      
  /*                                                                  
   *  Update the counts.                                              
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
 2045480:	84 00 a0 01 	inc  %g2                                       
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
 2045484:	80 a0 60 04 	cmp  %g1, 4                                    
 2045488:	02 80 00 32 	be  2045550 <_Rate_monotonic_Update_statistics+0xdc>
 204548c:	c4 26 20 58 	st  %g2, [ %i0 + 0x58 ]                        
    stats->missed_count++;                                            
                                                                      
  /*                                                                  
   *  Grab status for time statistics.                                
   */                                                                 
  valid_status =                                                      
 2045490:	90 10 00 18 	mov  %i0, %o0                                  
 2045494:	92 07 bf f8 	add  %fp, -8, %o1                              
 2045498:	7f ff ff ce 	call  20453d0 <_Rate_monotonic_Get_status>     
 204549c:	94 07 bf f0 	add  %fp, -16, %o2                             
    _Rate_monotonic_Get_status( the_period, &since_last_period, &executed );
  if (!valid_status)                                                  
 20454a0:	80 8a 20 ff 	btst  0xff, %o0                                
 20454a4:	02 80 00 21 	be  2045528 <_Rate_monotonic_Update_statistics+0xb4>
 20454a8:	c4 1f bf f0 	ldd  [ %fp + -16 ], %g2                        
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 20454ac:	f8 1e 20 70 	ldd  [ %i0 + 0x70 ], %i4                       
   *  Update CPU time                                                 
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_cpu_time, &executed );           
                                                                      
    if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )    
 20454b0:	c2 06 20 60 	ld  [ %i0 + 0x60 ], %g1                        
 20454b4:	ba 87 40 03 	addcc  %i5, %g3, %i5                           
 20454b8:	b8 47 00 02 	addx  %i4, %g2, %i4                            
 20454bc:	80 a0 40 02 	cmp  %g1, %g2                                  
 20454c0:	04 80 00 1c 	ble  2045530 <_Rate_monotonic_Update_statistics+0xbc>
 20454c4:	f8 3e 20 70 	std  %i4, [ %i0 + 0x70 ]                       
      stats->min_cpu_time = executed;                                 
 20454c8:	c4 3e 20 60 	std  %g2, [ %i0 + 0x60 ]                       
                                                                      
    if ( _Timestamp_Greater_than( &executed, &stats->max_cpu_time ) ) 
 20454cc:	c2 06 20 68 	ld  [ %i0 + 0x68 ], %g1                        
 20454d0:	80 a0 40 02 	cmp  %g1, %g2                                  
 20454d4:	26 80 00 05 	bl,a   20454e8 <_Rate_monotonic_Update_statistics+0x74><== NEVER TAKEN
 20454d8:	c4 3e 20 68 	std  %g2, [ %i0 + 0x68 ]                       <== NOT EXECUTED
 20454dc:	80 a0 40 02 	cmp  %g1, %g2                                  
 20454e0:	22 80 00 28 	be,a   2045580 <_Rate_monotonic_Update_statistics+0x10c><== ALWAYS TAKEN
 20454e4:	c2 06 20 6c 	ld  [ %i0 + 0x6c ], %g1                        
                                                                      
  /*                                                                  
   *  Update Wall time                                                
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
 20454e8:	c4 1f bf f8 	ldd  [ %fp + -8 ], %g2                         
 20454ec:	f8 1e 20 88 	ldd  [ %i0 + 0x88 ], %i4                       
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
 20454f0:	c2 06 20 78 	ld  [ %i0 + 0x78 ], %g1                        
 20454f4:	ba 87 40 03 	addcc  %i5, %g3, %i5                           
 20454f8:	b8 47 00 02 	addx  %i4, %g2, %i4                            
 20454fc:	80 a0 40 02 	cmp  %g1, %g2                                  
 2045500:	14 80 00 1b 	bg  204556c <_Rate_monotonic_Update_statistics+0xf8>
 2045504:	f8 3e 20 88 	std  %i4, [ %i0 + 0x88 ]                       
 2045508:	80 a0 40 02 	cmp  %g1, %g2                                  
 204550c:	22 80 00 15 	be,a   2045560 <_Rate_monotonic_Update_statistics+0xec><== ALWAYS TAKEN
 2045510:	c2 06 20 7c 	ld  [ %i0 + 0x7c ], %g1                        
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
 2045514:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        <== NOT EXECUTED
 2045518:	80 a0 40 02 	cmp  %g1, %g2                                  
 204551c:	16 80 00 1e 	bge  2045594 <_Rate_monotonic_Update_statistics+0x120><== ALWAYS TAKEN
 2045520:	01 00 00 00 	nop                                            
      stats->max_wall_time = since_last_period;                       
 2045524:	c4 3e 20 80 	std  %g2, [ %i0 + 0x80 ]                       <== NOT EXECUTED
 2045528:	81 c7 e0 08 	ret                                            
 204552c:	81 e8 00 00 	restore                                        
   *  Update CPU time                                                 
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_cpu_time, &executed );           
                                                                      
    if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )    
 2045530:	32 bf ff e8 	bne,a   20454d0 <_Rate_monotonic_Update_statistics+0x5c><== NEVER TAKEN
 2045534:	c2 06 20 68 	ld  [ %i0 + 0x68 ], %g1                        <== NOT EXECUTED
 2045538:	c2 06 20 64 	ld  [ %i0 + 0x64 ], %g1                        
 204553c:	80 a0 40 03 	cmp  %g1, %g3                                  
 2045540:	28 bf ff e4 	bleu,a   20454d0 <_Rate_monotonic_Update_statistics+0x5c>
 2045544:	c2 06 20 68 	ld  [ %i0 + 0x68 ], %g1                        
      stats->min_cpu_time = executed;                                 
 2045548:	10 bf ff e1 	b  20454cc <_Rate_monotonic_Update_statistics+0x58>
 204554c:	c4 3e 20 60 	std  %g2, [ %i0 + 0x60 ]                       
   */                                                                 
  stats = &the_period->Statistics;                                    
  stats->count++;                                                     
                                                                      
  if ( the_period->state == RATE_MONOTONIC_EXPIRED )                  
    stats->missed_count++;                                            
 2045550:	c2 06 20 5c 	ld  [ %i0 + 0x5c ], %g1                        
 2045554:	82 00 60 01 	inc  %g1                                       
 2045558:	10 bf ff ce 	b  2045490 <_Rate_monotonic_Update_statistics+0x1c>
 204555c:	c2 26 20 5c 	st  %g1, [ %i0 + 0x5c ]                        
   *  Update Wall time                                                
   */                                                                 
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
 2045560:	80 a0 40 03 	cmp  %g1, %g3                                  
 2045564:	28 bf ff ed 	bleu,a   2045518 <_Rate_monotonic_Update_statistics+0xa4>
 2045568:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
 204556c:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
 2045570:	80 a0 40 02 	cmp  %g1, %g2                                  
 2045574:	06 bf ff ec 	bl  2045524 <_Rate_monotonic_Update_statistics+0xb0><== NEVER TAKEN
 2045578:	c4 3e 20 78 	std  %g2, [ %i0 + 0x78 ]                       
 204557c:	30 80 00 06 	b,a   2045594 <_Rate_monotonic_Update_statistics+0x120>
    _Timestamp_Add_to( &stats->total_cpu_time, &executed );           
                                                                      
    if ( _Timestamp_Less_than( &executed, &stats->min_cpu_time ) )    
      stats->min_cpu_time = executed;                                 
                                                                      
    if ( _Timestamp_Greater_than( &executed, &stats->max_cpu_time ) ) 
 2045580:	80 a0 40 03 	cmp  %g1, %g3                                  
 2045584:	3a bf ff da 	bcc,a   20454ec <_Rate_monotonic_Update_statistics+0x78>
 2045588:	c4 1f bf f8 	ldd  [ %fp + -8 ], %g2                         
      stats->max_cpu_time = executed;                                 
 204558c:	10 bf ff d7 	b  20454e8 <_Rate_monotonic_Update_statistics+0x74>
 2045590:	c4 3e 20 68 	std  %g2, [ %i0 + 0x68 ]                       
    _Timestamp_Add_to( &stats->total_wall_time, &since_last_period ); 
                                                                      
    if ( _Timestamp_Less_than( &since_last_period, &stats->min_wall_time ) )
      stats->min_wall_time = since_last_period;                       
                                                                      
    if ( _Timestamp_Greater_than( &since_last_period, &stats->max_wall_time ) )
 2045594:	12 bf ff e5 	bne  2045528 <_Rate_monotonic_Update_statistics+0xb4><== NEVER TAKEN
 2045598:	01 00 00 00 	nop                                            
 204559c:	c2 06 20 84 	ld  [ %i0 + 0x84 ], %g1                        
 20455a0:	80 a0 40 03 	cmp  %g1, %g3                                  
 20455a4:	2a bf ff e1 	bcs,a   2045528 <_Rate_monotonic_Update_statistics+0xb4>
 20455a8:	c4 3e 20 80 	std  %g2, [ %i0 + 0x80 ]                       
 20455ac:	30 bf ff df 	b,a   2045528 <_Rate_monotonic_Update_statistics+0xb4>
                                                                      

0200a7d0 <_Scheduler_CBS_Allocate>: #include <rtems/score/wkspace.h> void *_Scheduler_CBS_Allocate( Thread_Control *the_thread ) {
 200a7d0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void *sched;                                                        
  Scheduler_CBS_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate(sizeof(Scheduler_CBS_Per_thread));      
 200a7d4:	40 00 07 2a 	call  200c47c <_Workspace_Allocate>            
 200a7d8:	90 10 20 1c 	mov  0x1c, %o0                                 
  if ( sched ) {                                                      
 200a7dc:	80 a2 20 00 	cmp  %o0, 0                                    
 200a7e0:	02 80 00 06 	be  200a7f8 <_Scheduler_CBS_Allocate+0x28>     <== NEVER TAKEN
 200a7e4:	82 10 20 02 	mov  2, %g1                                    
    the_thread->scheduler_info = sched;                               
 200a7e8:	d0 26 20 88 	st  %o0, [ %i0 + 0x88 ]                        
    schinfo = (Scheduler_CBS_Per_thread *)(the_thread->scheduler_info);
    schinfo->edf_per_thread.thread = the_thread;                      
 200a7ec:	f0 22 00 00 	st  %i0, [ %o0 ]                               
    schinfo->edf_per_thread.queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;
 200a7f0:	c2 22 20 14 	st  %g1, [ %o0 + 0x14 ]                        
    schinfo->cbs_server = NULL;                                       
 200a7f4:	c0 22 20 18 	clr  [ %o0 + 0x18 ]                            
  }                                                                   
                                                                      
  return sched;                                                       
}                                                                     
 200a7f8:	81 c7 e0 08 	ret                                            
 200a7fc:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200bc0c <_Scheduler_CBS_Budget_callout>: Scheduler_CBS_Server **_Scheduler_CBS_Server_list; void _Scheduler_CBS_Budget_callout( Thread_Control *the_thread ) {
 200bc0c:	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;                  
 200bc10:	d2 06 20 ac 	ld  [ %i0 + 0xac ], %o1                        
  if ( the_thread->real_priority != new_priority )                    
 200bc14:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 200bc18:	80 a0 40 09 	cmp  %g1, %o1                                  
 200bc1c:	32 80 00 02 	bne,a   200bc24 <_Scheduler_CBS_Budget_callout+0x18><== ALWAYS TAKEN
 200bc20:	d2 26 20 18 	st  %o1, [ %i0 + 0x18 ]                        
    the_thread->real_priority = new_priority;                         
  if ( the_thread->current_priority != new_priority )                 
 200bc24:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 200bc28:	80 a0 40 09 	cmp  %g1, %o1                                  
 200bc2c:	02 80 00 04 	be  200bc3c <_Scheduler_CBS_Budget_callout+0x30><== NEVER TAKEN
 200bc30:	90 10 00 18 	mov  %i0, %o0                                  
    _Thread_Change_priority(the_thread, new_priority, true);          
 200bc34:	40 00 01 92 	call  200c27c <_Thread_Change_priority>        
 200bc38:	94 10 20 01 	mov  1, %o2                                    
                                                                      
  /* Invoke callback function if any. */                              
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
 200bc3c:	fa 06 20 88 	ld  [ %i0 + 0x88 ], %i5                        
  if ( sched_info->cbs_server->cbs_budget_overrun ) {                 
 200bc40:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 200bc44:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200bc48:	80 a0 a0 00 	cmp  %g2, 0                                    
 200bc4c:	02 80 00 09 	be  200bc70 <_Scheduler_CBS_Budget_callout+0x64><== NEVER TAKEN
 200bc50:	01 00 00 00 	nop                                            
    _Scheduler_CBS_Get_server_id(                                     
 200bc54:	d0 00 40 00 	ld  [ %g1 ], %o0                               
 200bc58:	7f ff ff d5 	call  200bbac <_Scheduler_CBS_Get_server_id>   
 200bc5c:	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 );          
 200bc60:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 200bc64:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 200bc68:	9f c0 40 00 	call  %g1                                      
 200bc6c:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 200bc70:	81 c7 e0 08 	ret                                            
 200bc74:	81 e8 00 00 	restore                                        
                                                                      

0200b764 <_Scheduler_CBS_Cleanup>: #include <rtems/config.h> #include <rtems/score/scheduler.h> #include <rtems/score/schedulercbs.h> int _Scheduler_CBS_Cleanup (void) {
 200b764:	9d e3 bf a0 	save  %sp, -96, %sp                            
  unsigned int i;                                                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
 200b768:	39 00 80 84 	sethi  %hi(0x2021000), %i4                     
 200b76c:	c2 07 23 ac 	ld  [ %i4 + 0x3ac ], %g1	! 20213ac <_Scheduler_CBS_Maximum_servers>
 200b770:	80 a0 60 00 	cmp  %g1, 0                                    
 200b774:	02 80 00 18 	be  200b7d4 <_Scheduler_CBS_Cleanup+0x70>      <== NEVER TAKEN
 200b778:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
 200b77c:	37 00 80 89 	sethi  %hi(0x2022400), %i3                     
 200b780:	c4 06 e2 78 	ld  [ %i3 + 0x278 ], %g2	! 2022678 <_Scheduler_CBS_Server_list>
 200b784:	ba 10 20 00 	clr  %i5                                       
 200b788:	b8 17 23 ac 	or  %i4, 0x3ac, %i4                            
    if ( _Scheduler_CBS_Server_list[ i ] )                            
 200b78c:	83 2f 60 02 	sll  %i5, 2, %g1                               
 200b790:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200b794:	80 a0 60 00 	cmp  %g1, 0                                    
 200b798:	02 80 00 05 	be  200b7ac <_Scheduler_CBS_Cleanup+0x48>      
 200b79c:	90 10 00 1d 	mov  %i5, %o0                                  
      _Scheduler_CBS_Destroy_server( i );                             
 200b7a0:	40 00 00 46 	call  200b8b8 <_Scheduler_CBS_Destroy_server>  
 200b7a4:	01 00 00 00 	nop                                            
 200b7a8:	c4 06 e2 78 	ld  [ %i3 + 0x278 ], %g2                       
                                                                      
int _Scheduler_CBS_Cleanup (void)                                     
{                                                                     
  unsigned int i;                                                     
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
 200b7ac:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 200b7b0:	ba 07 60 01 	inc  %i5                                       
 200b7b4:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200b7b8:	18 bf ff f6 	bgu  200b790 <_Scheduler_CBS_Cleanup+0x2c>     
 200b7bc:	83 2f 60 02 	sll  %i5, 2, %g1                               
    if ( _Scheduler_CBS_Server_list[ i ] )                            
      _Scheduler_CBS_Destroy_server( i );                             
  }                                                                   
  _Workspace_Free( _Scheduler_CBS_Server_list );                      
  return SCHEDULER_CBS_OK;                                            
}                                                                     
 200b7c0:	b0 10 20 00 	clr  %i0                                       
                                                                      
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
    if ( _Scheduler_CBS_Server_list[ i ] )                            
      _Scheduler_CBS_Destroy_server( i );                             
  }                                                                   
  _Workspace_Free( _Scheduler_CBS_Server_list );                      
 200b7c4:	40 00 08 5a 	call  200d92c <_Workspace_Free>                
 200b7c8:	90 10 00 02 	mov  %g2, %o0                                  
  return SCHEDULER_CBS_OK;                                            
}                                                                     
 200b7cc:	81 c7 e0 08 	ret                                            
 200b7d0:	81 e8 00 00 	restore                                        
 200b7d4:	10 bf ff fb 	b  200b7c0 <_Scheduler_CBS_Cleanup+0x5c>       <== NOT EXECUTED
 200b7d8:	c4 00 62 78 	ld  [ %g1 + 0x278 ], %g2                       <== NOT EXECUTED
                                                                      

0200b7dc <_Scheduler_CBS_Create_server>: int _Scheduler_CBS_Create_server ( Scheduler_CBS_Parameters *params, Scheduler_CBS_Budget_overrun budget_overrun_callback, rtems_id *server_id ) {
 200b7dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  unsigned int i;                                                     
  Scheduler_CBS_Server *the_server;                                   
                                                                      
  if ( params->budget <= 0 ||                                         
 200b7e0:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200b7e4:	80 a0 60 00 	cmp  %g1, 0                                    
 200b7e8:	04 80 00 30 	ble  200b8a8 <_Scheduler_CBS_Create_server+0xcc>
 200b7ec:	b8 10 00 18 	mov  %i0, %i4                                  
 200b7f0:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200b7f4:	80 a0 60 00 	cmp  %g1, 0                                    
 200b7f8:	04 80 00 2c 	ble  200b8a8 <_Scheduler_CBS_Create_server+0xcc>
 200b7fc:	03 00 80 84 	sethi  %hi(0x2021000), %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++ ) {              
 200b800:	c8 00 63 ac 	ld  [ %g1 + 0x3ac ], %g4	! 20213ac <_Scheduler_CBS_Maximum_servers>
 200b804:	80 a1 20 00 	cmp  %g4, 0                                    
 200b808:	02 80 00 11 	be  200b84c <_Scheduler_CBS_Create_server+0x70><== NEVER TAKEN
 200b80c:	37 00 80 89 	sethi  %hi(0x2022400), %i3                     
    if ( !_Scheduler_CBS_Server_list[i] )                             
 200b810:	fa 06 e2 78 	ld  [ %i3 + 0x278 ], %i5	! 2022678 <_Scheduler_CBS_Server_list>
 200b814:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200b818:	80 a0 60 00 	cmp  %g1, 0                                    
 200b81c:	02 80 00 21 	be  200b8a0 <_Scheduler_CBS_Create_server+0xc4>
 200b820:	b0 10 20 00 	clr  %i0                                       
 200b824:	10 80 00 06 	b  200b83c <_Scheduler_CBS_Create_server+0x60> 
 200b828:	82 10 20 00 	clr  %g1                                       
 200b82c:	c6 07 40 02 	ld  [ %i5 + %g2 ], %g3                         
 200b830:	80 a0 e0 00 	cmp  %g3, 0                                    
 200b834:	02 80 00 08 	be  200b854 <_Scheduler_CBS_Create_server+0x78>
 200b838:	b0 10 00 02 	mov  %g2, %i0                                  
       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++ ) {              
 200b83c:	82 00 60 01 	inc  %g1                                       
 200b840:	80 a0 40 04 	cmp  %g1, %g4                                  
 200b844:	12 bf ff fa 	bne  200b82c <_Scheduler_CBS_Create_server+0x50>
 200b848:	85 28 60 02 	sll  %g1, 2, %g2                               
    if ( !_Scheduler_CBS_Server_list[i] )                             
      break;                                                          
  }                                                                   
                                                                      
  if ( i == _Scheduler_CBS_Maximum_servers )                          
    return SCHEDULER_CBS_ERROR_FULL;                                  
 200b84c:	81 c7 e0 08 	ret                                            
 200b850:	91 e8 3f e6 	restore  %g0, -26, %o0                         
                                                                      
  *server_id = i;                                                     
 200b854:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  _Scheduler_CBS_Server_list[*server_id] = (Scheduler_CBS_Server *)   
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
 200b858:	40 00 08 2d 	call  200d90c <_Workspace_Allocate>            
 200b85c:	90 10 20 10 	mov  0x10, %o0                                 
  the_server = _Scheduler_CBS_Server_list[*server_id];                
 200b860:	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 *)   
 200b864:	d0 27 40 18 	st  %o0, [ %i5 + %i0 ]                         
    _Workspace_Allocate( sizeof(Scheduler_CBS_Server) );              
  the_server = _Scheduler_CBS_Server_list[*server_id];                
 200b868:	c4 06 e2 78 	ld  [ %i3 + 0x278 ], %g2                       
 200b86c:	83 28 60 02 	sll  %g1, 2, %g1                               
 200b870:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
  if ( !the_server )                                                  
 200b874:	80 a0 60 00 	cmp  %g1, 0                                    
 200b878:	02 80 00 0e 	be  200b8b0 <_Scheduler_CBS_Create_server+0xd4><== NEVER TAKEN
 200b87c:	86 10 3f ff 	mov  -1, %g3                                   
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
                                                                      
  the_server->parameters = *params;                                   
 200b880:	c4 07 00 00 	ld  [ %i4 ], %g2                               
 200b884:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
 200b888:	c4 07 20 04 	ld  [ %i4 + 4 ], %g2                           
  the_server->task_id = -1;                                           
 200b88c:	c6 20 40 00 	st  %g3, [ %g1 ]                               
    _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;                                   
 200b890:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
 200b894:	f2 20 60 0c 	st  %i1, [ %g1 + 0xc ]                         
  return SCHEDULER_CBS_OK;                                            
 200b898:	81 c7 e0 08 	ret                                            
 200b89c:	91 e8 20 00 	restore  %g0, 0, %o0                           
       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++ ) {              
    if ( !_Scheduler_CBS_Server_list[i] )                             
 200b8a0:	10 bf ff ed 	b  200b854 <_Scheduler_CBS_Create_server+0x78> 
 200b8a4:	82 10 20 00 	clr  %g1                                       
                                                                      
  if ( params->budget <= 0 ||                                         
       params->deadline <= 0 ||                                       
       params->budget >= SCHEDULER_EDF_PRIO_MSB ||                    
       params->deadline >= SCHEDULER_EDF_PRIO_MSB )                   
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
 200b8a8:	81 c7 e0 08 	ret                                            
 200b8ac:	91 e8 3f ee 	restore  %g0, -18, %o0                         
                                                                      
  the_server->parameters = *params;                                   
  the_server->task_id = -1;                                           
  the_server->cbs_budget_overrun = budget_overrun_callback;           
  return SCHEDULER_CBS_OK;                                            
}                                                                     
 200b8b0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200b8b4:	91 e8 3f ef 	restore  %g0, -17, %o0                         <== NOT EXECUTED
                                                                      

0200b938 <_Scheduler_CBS_Detach_thread>: int _Scheduler_CBS_Detach_thread ( Scheduler_CBS_Server_id server_id, rtems_id task_id ) {
 200b938:	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);                       
 200b93c:	92 07 bf fc 	add  %fp, -4, %o1                              
 200b940:	40 00 03 9d 	call  200c7b4 <_Thread_Get>                    
 200b944:	90 10 00 19 	mov  %i1, %o0                                  
  /* The routine _Thread_Get may disable dispatch and not enable again. */
  if ( the_thread ) {                                                 
 200b948:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200b94c:	02 80 00 1e 	be  200b9c4 <_Scheduler_CBS_Detach_thread+0x8c>
 200b950:	01 00 00 00 	nop                                            
    _Thread_Enable_dispatch();                                        
 200b954:	40 00 03 8b 	call  200c780 <_Thread_Enable_dispatch>        
 200b958:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  if ( server_id >= _Scheduler_CBS_Maximum_servers )                  
 200b95c:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
 200b960:	c2 00 63 ac 	ld  [ %g1 + 0x3ac ], %g1	! 20213ac <_Scheduler_CBS_Maximum_servers>
 200b964:	80 a6 00 01 	cmp  %i0, %g1                                  
 200b968:	1a 80 00 17 	bcc  200b9c4 <_Scheduler_CBS_Detach_thread+0x8c>
 200b96c:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
  if ( !the_thread )                                                  
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
  /* Server is not valid. */                                          
  if ( !_Scheduler_CBS_Server_list[server_id] )                       
 200b970:	c2 00 62 78 	ld  [ %g1 + 0x278 ], %g1	! 2022678 <_Scheduler_CBS_Server_list>
 200b974:	b1 2e 20 02 	sll  %i0, 2, %i0                               
 200b978:	c2 00 40 18 	ld  [ %g1 + %i0 ], %g1                         
 200b97c:	80 a0 60 00 	cmp  %g1, 0                                    
 200b980:	02 80 00 13 	be  200b9cc <_Scheduler_CBS_Detach_thread+0x94>
 200b984:	01 00 00 00 	nop                                            
    return SCHEDULER_CBS_ERROR_NOSERVER;                              
  /* Thread and server are not attached. */                           
  if ( _Scheduler_CBS_Server_list[server_id]->task_id != task_id )    
 200b988:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200b98c:	80 a0 80 19 	cmp  %g2, %i1                                  
 200b990:	12 80 00 0d 	bne  200b9c4 <_Scheduler_CBS_Detach_thread+0x8c><== NEVER TAKEN
 200b994:	84 10 3f ff 	mov  -1, %g2                                   
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
                                                                      
  _Scheduler_CBS_Server_list[server_id]->task_id = -1;                
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
  sched_info->cbs_server = NULL;                                      
 200b998:	c8 07 60 88 	ld  [ %i5 + 0x88 ], %g4                        
                                                                      
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
 200b99c:	c6 07 60 a0 	ld  [ %i5 + 0xa0 ], %g3                        
    return SCHEDULER_CBS_ERROR_NOSERVER;                              
  /* 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;                
 200b9a0:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
  sched_info->cbs_server = NULL;                                      
                                                                      
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
 200b9a4:	c4 07 60 a4 	ld  [ %i5 + 0xa4 ], %g2                        
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
 200b9a8:	c2 0f 60 9c 	ldub  [ %i5 + 0x9c ], %g1                      
  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 = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
  sched_info->cbs_server = NULL;                                      
 200b9ac:	c0 21 20 18 	clr  [ %g4 + 0x18 ]                            
                                                                      
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
 200b9b0:	c6 27 60 78 	st  %g3, [ %i5 + 0x78 ]                        
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
 200b9b4:	c4 27 60 7c 	st  %g2, [ %i5 + 0x7c ]                        
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
 200b9b8:	c2 2f 60 70 	stb  %g1, [ %i5 + 0x70 ]                       
                                                                      
  return SCHEDULER_CBS_OK;                                            
 200b9bc:	81 c7 e0 08 	ret                                            
 200b9c0:	91 e8 20 00 	restore  %g0, 0, %o0                           
  if ( the_thread ) {                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
                                                                      
  if ( server_id >= _Scheduler_CBS_Maximum_servers )                  
    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;                     
 200b9c4:	81 c7 e0 08 	ret                                            
 200b9c8:	91 e8 3f ee 	restore  %g0, -18, %o0                         
  the_thread->budget_algorithm = the_thread->Start.budget_algorithm;  
  the_thread->budget_callout   = the_thread->Start.budget_callout;    
  the_thread->is_preemptible   = the_thread->Start.is_preemptible;    
                                                                      
  return SCHEDULER_CBS_OK;                                            
}                                                                     
 200b9cc:	81 c7 e0 08 	ret                                            
 200b9d0:	91 e8 3f e7 	restore  %g0, -25, %o0                         
                                                                      

0200bbac <_Scheduler_CBS_Get_server_id>: rtems_id task_id, Scheduler_CBS_Server_id *server_id ) { unsigned int i; for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {
 200bbac:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
 200bbb0:	c6 00 63 ac 	ld  [ %g1 + 0x3ac ], %g3	! 20213ac <_Scheduler_CBS_Maximum_servers>
 200bbb4:	80 a0 e0 00 	cmp  %g3, 0                                    
 200bbb8:	02 80 00 11 	be  200bbfc <_Scheduler_CBS_Get_server_id+0x50><== NEVER TAKEN
 200bbbc:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
 200bbc0:	c8 00 62 78 	ld  [ %g1 + 0x278 ], %g4	! 2022678 <_Scheduler_CBS_Server_list>
 200bbc4:	82 10 20 00 	clr  %g1                                       
#include <rtems/system.h>                                             
#include <rtems/config.h>                                             
#include <rtems/score/scheduler.h>                                    
#include <rtems/score/schedulercbs.h>                                 
                                                                      
int _Scheduler_CBS_Get_server_id (                                    
 200bbc8:	85 28 60 02 	sll  %g1, 2, %g2                               
  Scheduler_CBS_Server_id *server_id                                  
)                                                                     
{                                                                     
  unsigned int i;                                                     
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
    if ( _Scheduler_CBS_Server_list[i] &&                             
 200bbcc:	c4 01 00 02 	ld  [ %g4 + %g2 ], %g2                         
 200bbd0:	80 a0 a0 00 	cmp  %g2, 0                                    
 200bbd4:	22 80 00 07 	be,a   200bbf0 <_Scheduler_CBS_Get_server_id+0x44>
 200bbd8:	82 00 60 01 	inc  %g1                                       
 200bbdc:	c4 00 80 00 	ld  [ %g2 ], %g2                               
 200bbe0:	80 a0 80 08 	cmp  %g2, %o0                                  
 200bbe4:	22 80 00 08 	be,a   200bc04 <_Scheduler_CBS_Get_server_id+0x58>
 200bbe8:	c2 22 40 00 	st  %g1, [ %o1 ]                               
  rtems_id                 task_id,                                   
  Scheduler_CBS_Server_id *server_id                                  
)                                                                     
{                                                                     
  unsigned int i;                                                     
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
 200bbec:	82 00 60 01 	inc  %g1                                       
 200bbf0:	80 a0 40 03 	cmp  %g1, %g3                                  
 200bbf4:	12 bf ff f6 	bne  200bbcc <_Scheduler_CBS_Get_server_id+0x20>
 200bbf8:	85 28 60 02 	sll  %g1, 2, %g2                               
      *server_id = i;                                                 
      return SCHEDULER_CBS_OK;                                        
    }                                                                 
  }                                                                   
  return SCHEDULER_CBS_ERROR_NOSERVER;                                
}                                                                     
 200bbfc:	81 c3 e0 08 	retl                                           
 200bc00:	90 10 3f e7 	mov  -25, %o0                                  
  unsigned int i;                                                     
  for ( i = 0; i<_Scheduler_CBS_Maximum_servers; i++ ) {              
    if ( _Scheduler_CBS_Server_list[i] &&                             
         _Scheduler_CBS_Server_list[i]->task_id == task_id ) {        
      *server_id = i;                                                 
      return SCHEDULER_CBS_OK;                                        
 200bc04:	81 c3 e0 08 	retl                                           
 200bc08:	90 10 20 00 	clr  %o0                                       
                                                                      

0200bc78 <_Scheduler_CBS_Initialize>: } } int _Scheduler_CBS_Initialize(void) {
 200bc78:	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*) );
 200bc7c:	3b 00 80 84 	sethi  %hi(0x2021000), %i5                     
 200bc80:	d0 07 63 ac 	ld  [ %i5 + 0x3ac ], %o0	! 20213ac <_Scheduler_CBS_Maximum_servers>
}                                                                     
                                                                      
int _Scheduler_CBS_Initialize(void)                                   
{                                                                     
  unsigned int i;                                                     
  _Scheduler_CBS_Server_list = (Scheduler_CBS_Server **) _Workspace_Allocate(
 200bc84:	40 00 07 22 	call  200d90c <_Workspace_Allocate>            
 200bc88:	91 2a 20 02 	sll  %o0, 2, %o0                               
 200bc8c:	09 00 80 89 	sethi  %hi(0x2022400), %g4                     
      _Scheduler_CBS_Maximum_servers * sizeof(Scheduler_CBS_Server*) );
  if ( !_Scheduler_CBS_Server_list )                                  
 200bc90:	80 a2 20 00 	cmp  %o0, 0                                    
 200bc94:	02 80 00 10 	be  200bcd4 <_Scheduler_CBS_Initialize+0x5c>   <== NEVER TAKEN
 200bc98:	d0 21 22 78 	st  %o0, [ %g4 + 0x278 ]                       
    return SCHEDULER_CBS_ERROR_NO_MEMORY;                             
  for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) {                
 200bc9c:	c6 07 63 ac 	ld  [ %i5 + 0x3ac ], %g3                       
 200bca0:	80 a0 e0 00 	cmp  %g3, 0                                    
 200bca4:	12 80 00 05 	bne  200bcb8 <_Scheduler_CBS_Initialize+0x40>  <== ALWAYS TAKEN
 200bca8:	82 10 20 00 	clr  %g1                                       
    _Scheduler_CBS_Server_list[i] = NULL;                             
  }                                                                   
  return SCHEDULER_CBS_OK;                                            
 200bcac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200bcb0:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
 200bcb4:	d0 01 22 78 	ld  [ %g4 + 0x278 ], %o0                       
  _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++) {                
    _Scheduler_CBS_Server_list[i] = NULL;                             
 200bcb8:	85 28 60 02 	sll  %g1, 2, %g2                               
  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++) {                
 200bcbc:	82 00 60 01 	inc  %g1                                       
 200bcc0:	80 a0 40 03 	cmp  %g1, %g3                                  
 200bcc4:	12 bf ff fc 	bne  200bcb4 <_Scheduler_CBS_Initialize+0x3c>  
 200bcc8:	c0 22 00 02 	clr  [ %o0 + %g2 ]                             
    _Scheduler_CBS_Server_list[i] = NULL;                             
  }                                                                   
  return SCHEDULER_CBS_OK;                                            
 200bccc:	81 c7 e0 08 	ret                                            
 200bcd0:	91 e8 20 00 	restore  %g0, 0, %o0                           
{                                                                     
  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;                             
 200bcd4:	b0 10 3f ef 	mov  -17, %i0                                  <== NOT EXECUTED
  for (i = 0; i<_Scheduler_CBS_Maximum_servers; i++) {                
    _Scheduler_CBS_Server_list[i] = NULL;                             
  }                                                                   
  return SCHEDULER_CBS_OK;                                            
}                                                                     
 200bcd8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200bcdc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200a800 <_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;
 200a800:	c2 02 20 88 	ld  [ %o0 + 0x88 ], %g1                        
                                                                      
  if (deadline) {                                                     
 200a804:	80 a2 60 00 	cmp  %o1, 0                                    
 200a808:	02 80 00 11 	be  200a84c <_Scheduler_CBS_Release_job+0x4c>  
 200a80c:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
    /* Initializing or shifting deadline. */                          
    if (serv_info)                                                    
 200a810:	80 a0 60 00 	cmp  %g1, 0                                    
 200a814:	02 80 00 13 	be  200a860 <_Scheduler_CBS_Release_job+0x60>  
 200a818:	07 00 80 81 	sethi  %hi(0x2020400), %g3                     
      new_priority = (_Watchdog_Ticks_since_boot + serv_info->parameters.deadline)
 200a81c:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 200a820:	d2 00 e2 28 	ld  [ %g3 + 0x228 ], %o1                       
 200a824:	92 02 40 02 	add  %o1, %g2, %o1                             
 200a828:	05 20 00 00 	sethi  %hi(0x80000000), %g2                    
 200a82c:	92 2a 40 02 	andn  %o1, %g2, %o1                            
    new_priority = the_thread->Start.initial_priority;                
  }                                                                   
                                                                      
  /* Budget replenishment for the next job. */                        
  if (serv_info)                                                      
    the_thread->cpu_time_budget = serv_info->parameters.budget;       
 200a830:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 200a834:	c2 22 20 74 	st  %g1, [ %o0 + 0x74 ]                        
                                                                      
  the_thread->real_priority = new_priority;                           
 200a838:	d2 22 20 18 	st  %o1, [ %o0 + 0x18 ]                        
  _Thread_Change_priority(the_thread, new_priority, true);            
 200a83c:	94 10 20 01 	mov  1, %o2                                    
 200a840:	82 13 c0 00 	mov  %o7, %g1                                  
 200a844:	40 00 01 3a 	call  200ad2c <_Thread_Change_priority>        
 200a848:	9e 10 40 00 	mov  %g1, %o7                                  
    /* Switch back to background priority. */                         
    new_priority = the_thread->Start.initial_priority;                
  }                                                                   
                                                                      
  /* Budget replenishment for the next job. */                        
  if (serv_info)                                                      
 200a84c:	80 a0 60 00 	cmp  %g1, 0                                    
 200a850:	12 bf ff f8 	bne  200a830 <_Scheduler_CBS_Release_job+0x30> <== ALWAYS TAKEN
 200a854:	d2 02 20 ac 	ld  [ %o0 + 0xac ], %o1                        
    the_thread->cpu_time_budget = serv_info->parameters.budget;       
                                                                      
  the_thread->real_priority = new_priority;                           
 200a858:	10 bf ff f9 	b  200a83c <_Scheduler_CBS_Release_job+0x3c>   <== NOT EXECUTED
 200a85c:	d2 22 20 18 	st  %o1, [ %o0 + 0x18 ]                        <== NOT EXECUTED
    /* Initializing or shifting deadline. */                          
    if (serv_info)                                                    
      new_priority = (_Watchdog_Ticks_since_boot + serv_info->parameters.deadline)
        & ~SCHEDULER_EDF_PRIO_MSB;                                    
    else                                                              
      new_priority = (_Watchdog_Ticks_since_boot + deadline)          
 200a860:	03 00 80 81 	sethi  %hi(0x2020400), %g1                     
 200a864:	c2 00 62 28 	ld  [ %g1 + 0x228 ], %g1	! 2020628 <_Watchdog_Ticks_since_boot>
 200a868:	92 02 40 01 	add  %o1, %g1, %o1                             
 200a86c:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
 200a870:	10 bf ff f2 	b  200a838 <_Scheduler_CBS_Release_job+0x38>   
 200a874:	92 2a 40 01 	andn  %o1, %g1, %o1                            
                                                                      

0200a878 <_Scheduler_CBS_Unblock>: #include <rtems/score/schedulercbs.h> void _Scheduler_CBS_Unblock( Thread_Control *the_thread ) {
 200a878:	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);                                 
 200a87c:	40 00 00 50 	call  200a9bc <_Scheduler_EDF_Enqueue>         
 200a880:	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;        
 200a884:	c2 06 20 88 	ld  [ %i0 + 0x88 ], %g1                        
 200a888:	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) {                                                    
 200a88c:	80 a7 60 00 	cmp  %i5, 0                                    
 200a890:	02 80 00 19 	be  200a8f4 <_Scheduler_CBS_Unblock+0x7c>      
 200a894:	03 00 80 81 	sethi  %hi(0x2020400), %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 ) {              
 200a898:	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 -                  
 200a89c:	d0 00 62 28 	ld  [ %g1 + 0x228 ], %o0                       
 200a8a0:	f8 06 20 18 	ld  [ %i0 + 0x18 ], %i4                        
                           _Watchdog_Ticks_since_boot;                
                                                                      
    if ( deadline*budget_left > budget*deadline_left ) {              
 200a8a4:	40 00 41 a0 	call  201af24 <.umul>                          
 200a8a8:	90 27 00 08 	sub  %i4, %o0, %o0                             
 200a8ac:	d2 06 20 74 	ld  [ %i0 + 0x74 ], %o1                        
 200a8b0:	b6 10 00 08 	mov  %o0, %i3                                  
 200a8b4:	40 00 41 9c 	call  201af24 <.umul>                          
 200a8b8:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
 200a8bc:	80 a6 c0 08 	cmp  %i3, %o0                                  
 200a8c0:	24 80 00 0e 	ble,a   200a8f8 <_Scheduler_CBS_Unblock+0x80>  
 200a8c4:	d0 06 20 14 	ld  [ %i0 + 0x14 ], %o0                        
      /* Put late unblocked task to background until the end of period. */
      new_priority = the_thread->Start.initial_priority;              
 200a8c8:	d2 06 20 ac 	ld  [ %i0 + 0xac ], %o1                        
      if ( the_thread->real_priority != new_priority )                
 200a8cc:	80 a7 00 09 	cmp  %i4, %o1                                  
 200a8d0:	32 80 00 02 	bne,a   200a8d8 <_Scheduler_CBS_Unblock+0x60>  
 200a8d4:	d2 26 20 18 	st  %o1, [ %i0 + 0x18 ]                        
        the_thread->real_priority = new_priority;                     
      if ( the_thread->current_priority != new_priority )             
 200a8d8:	d0 06 20 14 	ld  [ %i0 + 0x14 ], %o0                        
 200a8dc:	80 a2 00 09 	cmp  %o0, %o1                                  
 200a8e0:	02 80 00 07 	be  200a8fc <_Scheduler_CBS_Unblock+0x84>      
 200a8e4:	3b 00 80 82 	sethi  %hi(0x2020800), %i5                     
        _Thread_Change_priority(the_thread, new_priority, true);      
 200a8e8:	90 10 00 18 	mov  %i0, %o0                                  
 200a8ec:	40 00 01 10 	call  200ad2c <_Thread_Change_priority>        
 200a8f0:	94 10 20 01 	mov  1, %o2                                    
 200a8f4:	d0 06 20 14 	ld  [ %i0 + 0x14 ], %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_higher_than( the_thread->current_priority,
 200a8f8:	3b 00 80 82 	sethi  %hi(0x2020800), %i5                     
 200a8fc:	ba 17 62 60 	or  %i5, 0x260, %i5	! 2020a60 <_Per_CPU_Information>
 200a900:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200a904:	d2 00 60 14 	ld  [ %g1 + 0x14 ], %o1                        
 200a908:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 200a90c:	c2 00 63 f0 	ld  [ %g1 + 0x3f0 ], %g1	! 201f7f0 <_Scheduler+0x30>
 200a910:	9f c0 40 00 	call  %g1                                      
 200a914:	01 00 00 00 	nop                                            
 200a918:	80 a2 20 00 	cmp  %o0, 0                                    
 200a91c:	04 80 00 0a 	ble  200a944 <_Scheduler_CBS_Unblock+0xcc>     
 200a920:	01 00 00 00 	nop                                            
       _Thread_Heir->current_priority)) {                             
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
 200a924:	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;                                        
 200a928:	f0 27 60 10 	st  %i0, [ %i5 + 0x10 ]                        
    if ( _Thread_Executing->is_preemptible ||                         
 200a92c:	c2 08 60 70 	ldub  [ %g1 + 0x70 ], %g1                      
 200a930:	80 a0 60 00 	cmp  %g1, 0                                    
 200a934:	22 80 00 06 	be,a   200a94c <_Scheduler_CBS_Unblock+0xd4>   
 200a938:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
 200a93c:	82 10 20 01 	mov  1, %g1                                    
 200a940:	c2 2f 60 18 	stb  %g1, [ %i5 + 0x18 ]                       
 200a944:	81 c7 e0 08 	ret                                            
 200a948:	81 e8 00 00 	restore                                        
   *    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;                                        
    if ( _Thread_Executing->is_preemptible ||                         
 200a94c:	80 a0 60 00 	cmp  %g1, 0                                    
 200a950:	12 bf ff fd 	bne  200a944 <_Scheduler_CBS_Unblock+0xcc>     <== ALWAYS TAKEN
 200a954:	82 10 20 01 	mov  1, %g1                                    
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
 200a958:	c2 2f 60 18 	stb  %g1, [ %i5 + 0x18 ]                       <== NOT EXECUTED
 200a95c:	30 bf ff fa 	b,a   200a944 <_Scheduler_CBS_Unblock+0xcc>    <== NOT EXECUTED
                                                                      

0200a7d0 <_Scheduler_EDF_Allocate>: #include <rtems/score/wkspace.h> void *_Scheduler_EDF_Allocate( Thread_Control *the_thread ) {
 200a7d0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void *sched;                                                        
  Scheduler_EDF_Per_thread *schinfo;                                  
                                                                      
  sched = _Workspace_Allocate( sizeof(Scheduler_EDF_Per_thread) );    
 200a7d4:	40 00 07 01 	call  200c3d8 <_Workspace_Allocate>            
 200a7d8:	90 10 20 18 	mov  0x18, %o0                                 
                                                                      
  if ( sched ) {                                                      
 200a7dc:	80 a2 20 00 	cmp  %o0, 0                                    
 200a7e0:	02 80 00 05 	be  200a7f4 <_Scheduler_EDF_Allocate+0x24>     <== NEVER TAKEN
 200a7e4:	82 10 20 02 	mov  2, %g1                                    
    the_thread->scheduler_info = sched;                               
 200a7e8:	d0 26 20 88 	st  %o0, [ %i0 + 0x88 ]                        
    schinfo = (Scheduler_EDF_Per_thread *)(the_thread->scheduler_info);
    schinfo->thread = the_thread;                                     
 200a7ec:	f0 22 00 00 	st  %i0, [ %o0 ]                               
    schinfo->queue_state = SCHEDULER_EDF_QUEUE_STATE_NEVER_HAS_BEEN;  
 200a7f0:	c2 22 20 14 	st  %g1, [ %o0 + 0x14 ]                        
  }                                                                   
                                                                      
  return sched;                                                       
}                                                                     
 200a7f4:	81 c7 e0 08 	ret                                            
 200a7f8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200a9b4 <_Scheduler_EDF_Unblock>: #include <rtems/score/scheduleredf.h> void _Scheduler_EDF_Unblock( Thread_Control *the_thread ) {
 200a9b4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  _Scheduler_EDF_Enqueue(the_thread);                                 
 200a9b8:	7f ff ff a8 	call  200a858 <_Scheduler_EDF_Enqueue>         
 200a9bc:	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(                             
 200a9c0:	3b 00 80 82 	sethi  %hi(0x2020800), %i5                     
 200a9c4:	ba 17 61 b0 	or  %i5, 0x1b0, %i5	! 20209b0 <_Per_CPU_Information>
 200a9c8:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200a9cc:	d0 00 60 14 	ld  [ %g1 + 0x14 ], %o0                        
 200a9d0:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
 200a9d4:	c2 00 63 40 	ld  [ %g1 + 0x340 ], %g1	! 201f740 <_Scheduler+0x30>
 200a9d8:	9f c0 40 00 	call  %g1                                      
 200a9dc:	d2 06 20 14 	ld  [ %i0 + 0x14 ], %o1                        
 200a9e0:	80 a2 20 00 	cmp  %o0, 0                                    
 200a9e4:	26 80 00 04 	bl,a   200a9f4 <_Scheduler_EDF_Unblock+0x40>   
 200a9e8:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200a9ec:	81 c7 e0 08 	ret                                            
 200a9f0:	81 e8 00 00 	restore                                        
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
 200a9f4:	f0 27 60 10 	st  %i0, [ %i5 + 0x10 ]                        
    if ( _Thread_Executing->is_preemptible ||                         
 200a9f8:	c2 08 60 70 	ldub  [ %g1 + 0x70 ], %g1                      
 200a9fc:	80 a0 60 00 	cmp  %g1, 0                                    
 200aa00:	22 80 00 06 	be,a   200aa18 <_Scheduler_EDF_Unblock+0x64>   
 200aa04:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
 200aa08:	82 10 20 01 	mov  1, %g1                                    
 200aa0c:	c2 2f 60 18 	stb  %g1, [ %i5 + 0x18 ]                       
 200aa10:	81 c7 e0 08 	ret                                            
 200aa14:	81 e8 00 00 	restore                                        
   */                                                                 
  if ( _Scheduler_Is_priority_lower_than(                             
         _Thread_Heir->current_priority,                              
         the_thread->current_priority )) {                            
    _Thread_Heir = the_thread;                                        
    if ( _Thread_Executing->is_preemptible ||                         
 200aa18:	80 a0 60 00 	cmp  %g1, 0                                    
 200aa1c:	12 bf ff f4 	bne  200a9ec <_Scheduler_EDF_Unblock+0x38>     <== ALWAYS TAKEN
 200aa20:	82 10 20 01 	mov  1, %g1                                    
         the_thread->current_priority == 0 )                          
      _Thread_Dispatch_necessary = true;                              
 200aa24:	c2 2f 60 18 	stb  %g1, [ %i5 + 0x18 ]                       <== NOT EXECUTED
 200aa28:	30 bf ff fa 	b,a   200aa10 <_Scheduler_EDF_Unblock+0x5c>    <== NOT EXECUTED
                                                                      

0200a10c <_Scheduler_priority_Tick>: #include <rtems/system.h> #include <rtems/score/schedulerpriority.h> void _Scheduler_priority_Tick( void ) {
 200a10c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control *executing;                                          
                                                                      
  executing = _Thread_Executing;                                      
 200a110:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 200a114:	d0 00 61 ec 	ld  [ %g1 + 0x1ec ], %o0	! 201edec <_Per_CPU_Information+0xc>
  /*                                                                  
   *  If the thread is not preemptible or is not ready, then          
   *  just return.                                                    
   */                                                                 
                                                                      
  if ( !executing->is_preemptible )                                   
 200a118:	c2 0a 20 70 	ldub  [ %o0 + 0x70 ], %g1                      
 200a11c:	80 a0 60 00 	cmp  %g1, 0                                    
 200a120:	02 80 00 26 	be  200a1b8 <_Scheduler_priority_Tick+0xac>    
 200a124:	01 00 00 00 	nop                                            
    return;                                                           
                                                                      
  if ( !_States_Is_ready( executing->current_state ) )                
 200a128:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
 200a12c:	80 a0 60 00 	cmp  %g1, 0                                    
 200a130:	12 80 00 22 	bne  200a1b8 <_Scheduler_priority_Tick+0xac>   
 200a134:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  The cpu budget algorithm determines what happens next.          
   */                                                                 
                                                                      
  switch ( executing->budget_algorithm ) {                            
 200a138:	c2 02 20 78 	ld  [ %o0 + 0x78 ], %g1                        
 200a13c:	80 a0 60 01 	cmp  %g1, 1                                    
 200a140:	0a 80 00 07 	bcs  200a15c <_Scheduler_priority_Tick+0x50>   
 200a144:	80 a0 60 02 	cmp  %g1, 2                                    
 200a148:	28 80 00 10 	bleu,a   200a188 <_Scheduler_priority_Tick+0x7c>
 200a14c:	c2 02 20 74 	ld  [ %o0 + 0x74 ], %g1                        
 200a150:	80 a0 60 03 	cmp  %g1, 3                                    
 200a154:	22 80 00 04 	be,a   200a164 <_Scheduler_priority_Tick+0x58> <== ALWAYS TAKEN
 200a158:	c2 02 20 74 	ld  [ %o0 + 0x74 ], %g1                        
 200a15c:	81 c7 e0 08 	ret                                            
 200a160:	81 e8 00 00 	restore                                        
      }                                                               
      break;                                                          
                                                                      
    #if defined(RTEMS_SCORE_THREAD_ENABLE_SCHEDULER_CALLOUT)          
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	if ( --executing->cpu_time_budget == 0 )                             
 200a164:	82 00 7f ff 	add  %g1, -1, %g1                              
 200a168:	80 a0 60 00 	cmp  %g1, 0                                    
 200a16c:	12 bf ff fc 	bne  200a15c <_Scheduler_priority_Tick+0x50>   
 200a170:	c2 22 20 74 	st  %g1, [ %o0 + 0x74 ]                        
	  (*executing->budget_callout)( executing );                         
 200a174:	c2 02 20 7c 	ld  [ %o0 + 0x7c ], %g1                        
 200a178:	9f c0 40 00 	call  %g1                                      
 200a17c:	01 00 00 00 	nop                                            
 200a180:	81 c7 e0 08 	ret                                            
 200a184:	81 e8 00 00 	restore                                        
                                                                      
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
    #endif                                                            
      if ( (int)(--executing->cpu_time_budget) <= 0 ) {               
 200a188:	82 00 7f ff 	add  %g1, -1, %g1                              
 200a18c:	80 a0 60 00 	cmp  %g1, 0                                    
 200a190:	14 bf ff f3 	bg  200a15c <_Scheduler_priority_Tick+0x50>    
 200a194:	c2 22 20 74 	st  %g1, [ %o0 + 0x74 ]                        
 *  always operates on the scheduler that 'owns' the currently executing
 *  thread.                                                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Yield( void )                    
{                                                                     
  _Scheduler.Operations.yield();                                      
 200a198:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 200a19c:	c2 00 63 cc 	ld  [ %g1 + 0x3cc ], %g1	! 201dbcc <_Scheduler+0xc>
 200a1a0:	9f c0 40 00 	call  %g1                                      
 200a1a4:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
         *  executing thread's timeslice is reset.  Otherwise, the    
         *  currently executing thread is placed at the rear of the   
         *  FIFO for this priority and a new heir is selected.        
         */                                                           
        _Scheduler_Yield();                                           
        executing->cpu_time_budget = _Thread_Ticks_per_timeslice;     
 200a1a8:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200a1ac:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 200a1b0:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 200a1b4:	c2 22 20 74 	st  %g1, [ %o0 + 0x74 ]                        
 200a1b8:	81 c7 e0 08 	ret                                            
 200a1bc:	81 e8 00 00 	restore                                        
                                                                      

0200a9cc <_Scheduler_simple_Ready_queue_enqueue_first>: { Chain_Control *ready; Chain_Node *the_node; Thread_Control *current; ready = (Chain_Control *)_Scheduler.information;
 200a9cc:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200a9d0:	c2 00 63 c0 	ld  [ %g1 + 0x3c0 ], %g1	! 201ebc0 <_Scheduler>
   */                                                                 
  for ( the_node = _Chain_First(ready) ; ; the_node = the_node->next ) {
    current = (Thread_Control *) the_node;                            
                                                                      
    /* break when AT HEAD OF (or PAST) our priority */                
    if ( the_thread->current_priority <= current->current_priority ) {
 200a9d4:	c6 02 20 14 	ld  [ %o0 + 0x14 ], %g3                        
 200a9d8:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200a9dc:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
 200a9e0:	80 a0 80 03 	cmp  %g2, %g3                                  
 200a9e4:	3a 80 00 08 	bcc,a   200aa04 <_Scheduler_simple_Ready_queue_enqueue_first+0x38>
 200a9e8:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
   * Do NOT need to check for end of chain because there is always    
   * at least one task on the ready chain -- the IDLE task.  It can   
   * never block, should never attempt to obtain a semaphore or mutex,
   * and thus will always be there.                                   
   */                                                                 
  for ( the_node = _Chain_First(ready) ; ; the_node = the_node->next ) {
 200a9ec:	c2 00 40 00 	ld  [ %g1 ], %g1                               
    current = (Thread_Control *) the_node;                            
                                                                      
    /* break when AT HEAD OF (or PAST) our priority */                
    if ( the_thread->current_priority <= current->current_priority ) {
 200a9f0:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
 200a9f4:	80 a0 80 03 	cmp  %g2, %g3                                  
 200a9f8:	2a bf ff fe 	bcs,a   200a9f0 <_Scheduler_simple_Ready_queue_enqueue_first+0x24><== NEVER TAKEN
 200a9fc:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
      current = (Thread_Control *)current->Object.Node.previous;      
 200aa00:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 200aa04:	c4 00 40 00 	ld  [ %g1 ], %g2                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 200aa08:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 200aa0c:	d0 20 40 00 	st  %o0, [ %g1 ]                               
  the_node->next        = before_node;                                
 200aa10:	c4 22 00 00 	st  %g2, [ %o0 ]                               
  before_node->previous = the_node;                                   
 200aa14:	81 c3 e0 08 	retl                                           
 200aa18:	d0 20 a0 04 	st  %o0, [ %g2 + 4 ]                           
                                                                      

02008a20 <_TOD_Validate>: */ bool _TOD_Validate( const rtems_time_of_day *the_tod ) {
 2008a20:	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();                 
 2008a24:	03 00 80 80 	sethi  %hi(0x2020000), %g1                     
)                                                                     
{                                                                     
  uint32_t   days_in_month;                                           
  uint32_t   ticks_per_second;                                        
                                                                      
  ticks_per_second = TOD_MICROSECONDS_PER_SECOND /                    
 2008a28:	d2 00 61 7c 	ld  [ %g1 + 0x17c ], %o1	! 202017c <Configuration+0x10>
 2008a2c:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 2008a30:	40 00 4a ef 	call  201b5ec <.udiv>                          
 2008a34:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
	    rtems_configuration_get_microseconds_per_tick();                 
  if ((!the_tod)                                  ||                  
 2008a38:	80 a6 20 00 	cmp  %i0, 0                                    
 2008a3c:	02 80 00 2c 	be  2008aec <_TOD_Validate+0xcc>               <== NEVER TAKEN
 2008a40:	82 10 20 00 	clr  %g1                                       
 2008a44:	c4 06 20 18 	ld  [ %i0 + 0x18 ], %g2                        
 2008a48:	80 a2 00 02 	cmp  %o0, %g2                                  
 2008a4c:	28 80 00 26 	bleu,a   2008ae4 <_TOD_Validate+0xc4>          
 2008a50:	b0 08 60 01 	and  %g1, 1, %i0                               
      (the_tod->ticks  >= ticks_per_second)       ||                  
 2008a54:	c4 06 20 14 	ld  [ %i0 + 0x14 ], %g2                        
 2008a58:	80 a0 a0 3b 	cmp  %g2, 0x3b                                 
 2008a5c:	38 80 00 22 	bgu,a   2008ae4 <_TOD_Validate+0xc4>           
 2008a60:	b0 08 60 01 	and  %g1, 1, %i0                               
      (the_tod->second >= TOD_SECONDS_PER_MINUTE) ||                  
 2008a64:	c4 06 20 10 	ld  [ %i0 + 0x10 ], %g2                        
 2008a68:	80 a0 a0 3b 	cmp  %g2, 0x3b                                 
 2008a6c:	38 80 00 1e 	bgu,a   2008ae4 <_TOD_Validate+0xc4>           
 2008a70:	b0 08 60 01 	and  %g1, 1, %i0                               
      (the_tod->minute >= TOD_MINUTES_PER_HOUR)   ||                  
 2008a74:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         
 2008a78:	80 a0 a0 17 	cmp  %g2, 0x17                                 
 2008a7c:	38 80 00 1a 	bgu,a   2008ae4 <_TOD_Validate+0xc4>           
 2008a80:	b0 08 60 01 	and  %g1, 1, %i0                               
      (the_tod->hour   >= TOD_HOURS_PER_DAY)      ||                  
      (the_tod->month  == 0)                      ||                  
 2008a84:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
	    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)      ||                  
 2008a88:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008a8c:	02 80 00 15 	be  2008ae0 <_TOD_Validate+0xc0>               <== NEVER TAKEN
 2008a90:	80 a0 a0 0c 	cmp  %g2, 0xc                                  
      (the_tod->month  == 0)                      ||                  
 2008a94:	38 80 00 14 	bgu,a   2008ae4 <_TOD_Validate+0xc4>           
 2008a98:	b0 08 60 01 	and  %g1, 1, %i0                               
      (the_tod->month  >  TOD_MONTHS_PER_YEAR)    ||                  
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
 2008a9c:	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)    ||                  
 2008aa0:	80 a0 e7 c3 	cmp  %g3, 0x7c3                                
 2008aa4:	28 80 00 10 	bleu,a   2008ae4 <_TOD_Validate+0xc4>          
 2008aa8:	b0 08 60 01 	and  %g1, 1, %i0                               
      (the_tod->year   <  TOD_BASE_YEAR)          ||                  
      (the_tod->day    == 0) )                                        
 2008aac:	c8 06 20 08 	ld  [ %i0 + 8 ], %g4                           
      (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)          ||                  
 2008ab0:	80 a1 20 00 	cmp  %g4, 0                                    
 2008ab4:	02 80 00 0b 	be  2008ae0 <_TOD_Validate+0xc0>               <== NEVER TAKEN
 2008ab8:	80 88 e0 03 	btst  3, %g3                                   
      (the_tod->day    == 0) )                                        
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
 2008abc:	32 80 00 0f 	bne,a   2008af8 <_TOD_Validate+0xd8>           
 2008ac0:	85 28 a0 02 	sll  %g2, 2, %g2                               
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
 2008ac4:	82 00 a0 0d 	add  %g2, 0xd, %g1                             
 2008ac8:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
 2008acc:	83 28 60 02 	sll  %g1, 2, %g1                               
 2008ad0:	84 10 a3 b8 	or  %g2, 0x3b8, %g2                            
 2008ad4:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
                                                                      
  if ( the_tod->day > days_in_month )                                 
 2008ad8:	80 a0 40 04 	cmp  %g1, %g4                                  
 2008adc:	82 60 3f ff 	subx  %g0, -1, %g1                             
    return false;                                                     
                                                                      
  return true;                                                        
}                                                                     
 2008ae0:	b0 08 60 01 	and  %g1, 1, %i0                               
 2008ae4:	81 c7 e0 08 	ret                                            
 2008ae8:	81 e8 00 00 	restore                                        
 2008aec:	b0 08 60 01 	and  %g1, 1, %i0                               <== NOT EXECUTED
 2008af0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2008af4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
     return false;                                                    
                                                                      
  if ( (the_tod->year % 4) == 0 )                                     
    days_in_month = _TOD_Days_per_month[ 1 ][ the_tod->month ];       
  else                                                                
    days_in_month = _TOD_Days_per_month[ 0 ][ the_tod->month ];       
 2008af8:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2008afc:	82 10 63 b8 	or  %g1, 0x3b8, %g1	! 201ebb8 <_TOD_Days_per_month>
 2008b00:	c2 00 40 02 	ld  [ %g1 + %g2 ], %g1                         
                                                                      
  if ( the_tod->day > days_in_month )                                 
 2008b04:	80 a0 40 04 	cmp  %g1, %g4                                  
 2008b08:	10 bf ff f6 	b  2008ae0 <_TOD_Validate+0xc0>                
 2008b0c:	82 60 3f ff 	subx  %g0, -1, %g1                             
                                                                      

0200a3dc <_Thread_Change_priority>: void _Thread_Change_priority( Thread_Control *the_thread, Priority_Control new_priority, bool prepend_it ) {
 200a3dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  States_Control state, original_state;                               
                                                                      
  /*                                                                  
   * Save original state                                              
   */                                                                 
  original_state = the_thread->current_state;                         
 200a3e0:	f6 06 20 10 	ld  [ %i0 + 0x10 ], %i3                        
  /*                                                                  
   * 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 );                                
 200a3e4:	40 00 03 b1 	call  200b2a8 <_Thread_Set_transient>          
 200a3e8:	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 )                  
 200a3ec:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 200a3f0:	80 a0 40 19 	cmp  %g1, %i1                                  
 200a3f4:	02 80 00 05 	be  200a408 <_Thread_Change_priority+0x2c>     
 200a3f8:	ba 10 00 18 	mov  %i0, %i5                                  
    _Thread_Set_priority( the_thread, new_priority );                 
 200a3fc:	90 10 00 18 	mov  %i0, %o0                                  
 200a400:	40 00 03 90 	call  200b240 <_Thread_Set_priority>           
 200a404:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
  _ISR_Disable( level );                                              
 200a408:	7f ff e0 d7 	call  2002764 <sparc_disable_interrupts>       
 200a40c:	01 00 00 00 	nop                                            
 200a410:	b2 10 00 08 	mov  %o0, %i1                                  
                                                                      
  /*                                                                  
   *  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;                                  
 200a414:	f8 07 60 10 	ld  [ %i5 + 0x10 ], %i4                        
  if ( state != STATES_TRANSIENT ) {                                  
 200a418:	80 a7 20 04 	cmp  %i4, 4                                    
 200a41c:	02 80 00 18 	be  200a47c <_Thread_Change_priority+0xa0>     
 200a420:	80 8e e0 04 	btst  4, %i3                                   
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
 200a424:	02 80 00 0b 	be  200a450 <_Thread_Change_priority+0x74>     <== ALWAYS TAKEN
 200a428:	82 0f 3f fb 	and  %i4, -5, %g1                              
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
    _ISR_Enable( level );                                             
 200a42c:	7f ff e0 d2 	call  2002774 <sparc_enable_interrupts>        <== NOT EXECUTED
 200a430:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_waiting_on_thread_queue (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_WAITING_ON_THREAD_QUEUE);              
 200a434:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       <== NOT EXECUTED
 200a438:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0><== NOT EXECUTED
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 200a43c:	80 8f 00 01 	btst  %i4, %g1                                 <== NOT EXECUTED
 200a440:	32 80 00 0d 	bne,a   200a474 <_Thread_Change_priority+0x98> <== NOT EXECUTED
 200a444:	f0 07 60 44 	ld  [ %i5 + 0x44 ], %i0                        <== NOT EXECUTED
 200a448:	81 c7 e0 08 	ret                                            
 200a44c:	81 e8 00 00 	restore                                        
   */                                                                 
  state = the_thread->current_state;                                  
  if ( state != STATES_TRANSIENT ) {                                  
    /* Only clear the transient state if it wasn't set already */     
    if ( ! _States_Is_transient( original_state ) )                   
      the_thread->current_state = _States_Clear( STATES_TRANSIENT, state );
 200a450:	c2 27 60 10 	st  %g1, [ %i5 + 0x10 ]                        
    _ISR_Enable( level );                                             
 200a454:	7f ff e0 c8 	call  2002774 <sparc_enable_interrupts>        
 200a458:	90 10 00 19 	mov  %i1, %o0                                  
 200a45c:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 200a460:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
    if ( _States_Is_waiting_on_thread_queue( state ) ) {              
 200a464:	80 8f 00 01 	btst  %i4, %g1                                 
 200a468:	02 bf ff f8 	be  200a448 <_Thread_Change_priority+0x6c>     
 200a46c:	01 00 00 00 	nop                                            
      _Thread_queue_Requeue( the_thread->Wait.queue, the_thread );    
 200a470:	f0 07 60 44 	ld  [ %i5 + 0x44 ], %i0                        
 200a474:	40 00 03 42 	call  200b17c <_Thread_queue_Requeue>          
 200a478:	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 ) ) {                   
 200a47c:	22 80 00 1a 	be,a   200a4e4 <_Thread_Change_priority+0x108> <== ALWAYS TAKEN
 200a480:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
 200a484:	39 00 80 76 	sethi  %hi(0x201d800), %i4                     <== NOT EXECUTED
 200a488:	b8 17 23 c0 	or  %i4, 0x3c0, %i4	! 201dbc0 <_Scheduler>     <== NOT EXECUTED
      _Scheduler_Enqueue_first( the_thread );                         
    else                                                              
      _Scheduler_Enqueue( the_thread );                               
  }                                                                   
                                                                      
  _ISR_Flash( level );                                                
 200a48c:	7f ff e0 ba 	call  2002774 <sparc_enable_interrupts>        
 200a490:	90 10 00 19 	mov  %i1, %o0                                  
 200a494:	7f ff e0 b4 	call  2002764 <sparc_disable_interrupts>       
 200a498:	01 00 00 00 	nop                                            
 200a49c:	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();                                   
 200a4a0:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           
 200a4a4:	9f c0 40 00 	call  %g1                                      
 200a4a8:	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 );                       
 200a4ac:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 200a4b0:	82 10 61 e0 	or  %g1, 0x1e0, %g1	! 201ede0 <_Per_CPU_Information>
 200a4b4:	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() &&                       
 200a4b8:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
 200a4bc:	80 a0 80 03 	cmp  %g2, %g3                                  
 200a4c0:	02 80 00 07 	be  200a4dc <_Thread_Change_priority+0x100>    
 200a4c4:	01 00 00 00 	nop                                            
 200a4c8:	c4 08 a0 70 	ldub  [ %g2 + 0x70 ], %g2                      
 200a4cc:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a4d0:	02 80 00 03 	be  200a4dc <_Thread_Change_priority+0x100>    
 200a4d4:	84 10 20 01 	mov  1, %g2                                    
       _Thread_Executing->is_preemptible )                            
    _Thread_Dispatch_necessary = true;                                
 200a4d8:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
  _ISR_Enable( level );                                               
 200a4dc:	7f ff e0 a6 	call  2002774 <sparc_enable_interrupts>        
 200a4e0:	81 e8 00 00 	restore                                        
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue_first(                   
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue_first( the_thread );                  
 200a4e4:	39 00 80 76 	sethi  %hi(0x201d800), %i4                     
     *  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 );
                                                                      
    if ( prepend_it )                                                 
 200a4e8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200a4ec:	02 80 00 06 	be  200a504 <_Thread_Change_priority+0x128>    
 200a4f0:	b8 17 23 c0 	or  %i4, 0x3c0, %i4                            
 200a4f4:	c2 07 20 28 	ld  [ %i4 + 0x28 ], %g1                        
 200a4f8:	9f c0 40 00 	call  %g1                                      
 200a4fc:	90 10 00 1d 	mov  %i5, %o0                                  
 200a500:	30 bf ff e3 	b,a   200a48c <_Thread_Change_priority+0xb0>   
 */                                                                   
RTEMS_INLINE_ROUTINE void _Scheduler_Enqueue(                         
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  _Scheduler.Operations.enqueue( the_thread );                        
 200a504:	c2 07 20 24 	ld  [ %i4 + 0x24 ], %g1                        
 200a508:	9f c0 40 00 	call  %g1                                      
 200a50c:	90 10 00 1d 	mov  %i5, %o0                                  
 200a510:	30 bf ff df 	b,a   200a48c <_Thread_Change_priority+0xb0>   
                                                                      

0200a730 <_Thread_Delay_ended>: void _Thread_Delay_ended( Objects_Id id, void *ignored __attribute__((unused)) ) {
 200a730:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control    *the_thread;                                      
  Objects_Locations  location;                                        
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200a734:	90 10 00 18 	mov  %i0, %o0                                  
 200a738:	40 00 00 77 	call  200a914 <_Thread_Get>                    
 200a73c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200a740:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200a744:	80 a0 60 00 	cmp  %g1, 0                                    
 200a748:	12 80 00 09 	bne  200a76c <_Thread_Delay_ended+0x3c>        <== NEVER TAKEN
 200a74c:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_Clear_state(                                            
 200a750:	7f ff ff 71 	call  200a514 <_Thread_Clear_state>            
 200a754:	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--;                                 
 200a758:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200a75c:	c4 00 60 b0 	ld  [ %g1 + 0xb0 ], %g2	! 201e8b0 <_Thread_Dispatch_disable_level>
 200a760:	84 00 bf ff 	add  %g2, -1, %g2                              
 200a764:	c4 20 60 b0 	st  %g2, [ %g1 + 0xb0 ]                        
    return _Thread_Dispatch_disable_level;                            
 200a768:	c2 00 60 b0 	ld  [ %g1 + 0xb0 ], %g1                        
 200a76c:	81 c7 e0 08 	ret                                            
 200a770:	81 e8 00 00 	restore                                        
                                                                      

0200a774 <_Thread_Dispatch>: * INTERRUPT LATENCY: * dispatch thread * no dispatch thread */ void _Thread_Dispatch( void ) {
 200a774:	9d e3 bf 98 	save  %sp, -104, %sp                           
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 200a778:	27 00 80 7a 	sethi  %hi(0x201e800), %l3                     
 200a77c:	c2 04 e0 b0 	ld  [ %l3 + 0xb0 ], %g1	! 201e8b0 <_Thread_Dispatch_disable_level>
 200a780:	82 00 60 01 	inc  %g1                                       
 200a784:	c2 24 e0 b0 	st  %g1, [ %l3 + 0xb0 ]                        
    return _Thread_Dispatch_disable_level;                            
 200a788:	c2 04 e0 b0 	ld  [ %l3 + 0xb0 ], %g1                        
  #endif                                                              
                                                                      
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
 200a78c:	31 00 80 7b 	sethi  %hi(0x201ec00), %i0                     
 200a790:	b0 16 21 e0 	or  %i0, 0x1e0, %i0	! 201ede0 <_Per_CPU_Information>
  _ISR_Disable( level );                                              
 200a794:	7f ff df f4 	call  2002764 <sparc_disable_interrupts>       
 200a798:	f2 06 20 0c 	ld  [ %i0 + 0xc ], %i1                         
  while ( _Thread_Dispatch_necessary == true ) {                      
 200a79c:	c2 0e 20 18 	ldub  [ %i0 + 0x18 ], %g1                      
 200a7a0:	80 a0 60 00 	cmp  %g1, 0                                    
 200a7a4:	02 80 00 45 	be  200a8b8 <_Thread_Dispatch+0x144>           
 200a7a8:	01 00 00 00 	nop                                            
                                                                      
    heir = _Thread_Heir;                                              
 200a7ac:	e0 06 20 10 	ld  [ %i0 + 0x10 ], %l0                        
    _Thread_Dispatch_necessary = false;                               
 200a7b0:	c0 2e 20 18 	clrb  [ %i0 + 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 )                                          
 200a7b4:	80 a6 40 10 	cmp  %i1, %l0                                  
 200a7b8:	02 80 00 40 	be  200a8b8 <_Thread_Dispatch+0x144>           
 200a7bc:	e0 26 20 0c 	st  %l0, [ %i0 + 0xc ]                         
 200a7c0:	25 00 80 7a 	sethi  %hi(0x201e800), %l2                     
#if __RTEMS_ADA__                                                     
    executing->rtems_ada_self = rtems_ada_self;                       
    rtems_ada_self = heir->rtems_ada_self;                            
#endif                                                                
    if ( heir->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE )
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 200a7c4:	29 00 80 7a 	sethi  %hi(0x201e800), %l4                     
 200a7c8:	a4 14 a1 2c 	or  %l2, 0x12c, %l2                            
#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 );                      
 200a7cc:	10 80 00 35 	b  200a8a0 <_Thread_Dispatch+0x12c>            
 200a7d0:	23 00 80 7a 	sethi  %hi(0x201e800), %l1                     
                                                                      
    _ISR_Enable( level );                                             
 200a7d4:	7f ff df e8 	call  2002774 <sparc_enable_interrupts>        
 200a7d8:	01 00 00 00 	nop                                            
                                                                      
    #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                        
      {                                                               
        Timestamp_Control uptime, ran;                                
        _TOD_Get_uptime( &uptime );                                   
 200a7dc:	40 00 0e 26 	call  200e074 <_TOD_Get_uptime>                
 200a7e0:	90 07 bf f8 	add  %fp, -8, %o0                              
        _Timestamp_Subtract(                                          
 200a7e4:	c4 1f bf f8 	ldd  [ %fp + -8 ], %g2                         
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
 200a7e8:	f4 1e 20 20 	ldd  [ %i0 + 0x20 ], %i2                       
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 200a7ec:	f8 1e 60 80 	ldd  [ %i1 + 0x80 ], %i4                       
    #endif                                                            
                                                                      
    /*                                                                
     * Switch libc's task specific data.                              
     */                                                               
    if ( _Thread_libc_reent ) {                                       
 200a7f0:	c2 04 80 00 	ld  [ %l2 ], %g1                               
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
 200a7f4:	b6 a0 c0 1b 	subcc  %g3, %i3, %i3                           
 200a7f8:	b4 60 80 1a 	subx  %g2, %i2, %i2                            
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 200a7fc:	ba 87 40 1b 	addcc  %i5, %i3, %i5                           
 200a800:	b8 47 00 1a 	addx  %i4, %i2, %i4                            
 200a804:	f8 3e 60 80 	std  %i4, [ %i1 + 0x80 ]                       
 200a808:	80 a0 60 00 	cmp  %g1, 0                                    
 200a80c:	02 80 00 06 	be  200a824 <_Thread_Dispatch+0xb0>            <== NEVER TAKEN
 200a810:	c4 3e 20 20 	std  %g2, [ %i0 + 0x20 ]                       
      executing->libc_reent = *_Thread_libc_reent;                    
 200a814:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200a818:	c4 26 61 54 	st  %g2, [ %i1 + 0x154 ]                       
      *_Thread_libc_reent = heir->libc_reent;                         
 200a81c:	c4 04 21 54 	ld  [ %l0 + 0x154 ], %g2                       
 200a820:	c4 20 40 00 	st  %g2, [ %g1 ]                               
    }                                                                 
                                                                      
    _User_extensions_Thread_switch( executing, heir );                
 200a824:	90 10 00 19 	mov  %i1, %o0                                  
 200a828:	40 00 03 9e 	call  200b6a0 <_User_extensions_Thread_switch> 
 200a82c:	92 10 00 10 	mov  %l0, %o1                                  
    if ( executing->fp_context != NULL )                              
      _Context_Save_fp( &executing->fp_context );                     
#endif                                                                
#endif                                                                
                                                                      
    _Context_Switch( &executing->Registers, &heir->Registers );       
 200a830:	90 06 60 c8 	add  %i1, 0xc8, %o0                            
 200a834:	40 00 04 e5 	call  200bbc8 <_CPU_Context_switch>            
 200a838:	92 04 20 c8 	add  %l0, 0xc8, %o1                            
                                                                      
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
#if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                            
    if ( (executing->fp_context != NULL) &&                           
 200a83c:	c2 06 61 50 	ld  [ %i1 + 0x150 ], %g1                       
 200a840:	80 a0 60 00 	cmp  %g1, 0                                    
 200a844:	02 80 00 0c 	be  200a874 <_Thread_Dispatch+0x100>           
 200a848:	d0 04 61 28 	ld  [ %l1 + 0x128 ], %o0                       
 200a84c:	80 a6 40 08 	cmp  %i1, %o0                                  
 200a850:	02 80 00 09 	be  200a874 <_Thread_Dispatch+0x100>           
 200a854:	80 a2 20 00 	cmp  %o0, 0                                    
         !_Thread_Is_allocated_fp( executing ) ) {                    
      if ( _Thread_Allocated_fp != NULL )                             
 200a858:	02 80 00 04 	be  200a868 <_Thread_Dispatch+0xf4>            
 200a85c:	01 00 00 00 	nop                                            
        _Context_Save_fp( &_Thread_Allocated_fp->fp_context );        
 200a860:	40 00 04 a0 	call  200bae0 <_CPU_Context_save_fp>           
 200a864:	90 02 21 50 	add  %o0, 0x150, %o0                           
      _Context_Restore_fp( &executing->fp_context );                  
 200a868:	40 00 04 bb 	call  200bb54 <_CPU_Context_restore_fp>        
 200a86c:	90 06 61 50 	add  %i1, 0x150, %o0                           
      _Thread_Allocated_fp = executing;                               
 200a870:	f2 24 61 28 	st  %i1, [ %l1 + 0x128 ]                       
#endif                                                                
#endif                                                                
                                                                      
    executing = _Thread_Executing;                                    
                                                                      
    _ISR_Disable( level );                                            
 200a874:	7f ff df bc 	call  2002764 <sparc_disable_interrupts>       
 200a878:	f2 06 20 0c 	ld  [ %i0 + 0xc ], %i1                         
  /*                                                                  
   *  Now determine if we need to perform a dispatch on the current CPU.
   */                                                                 
  executing   = _Thread_Executing;                                    
  _ISR_Disable( level );                                              
  while ( _Thread_Dispatch_necessary == true ) {                      
 200a87c:	c2 0e 20 18 	ldub  [ %i0 + 0x18 ], %g1                      
 200a880:	80 a0 60 00 	cmp  %g1, 0                                    
 200a884:	02 80 00 0d 	be  200a8b8 <_Thread_Dispatch+0x144>           
 200a888:	01 00 00 00 	nop                                            
                                                                      
    heir = _Thread_Heir;                                              
 200a88c:	e0 06 20 10 	ld  [ %i0 + 0x10 ], %l0                        
    _Thread_Dispatch_necessary = false;                               
 200a890:	c0 2e 20 18 	clrb  [ %i0 + 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 )                                          
 200a894:	80 a4 00 19 	cmp  %l0, %i1                                  
 200a898:	02 80 00 08 	be  200a8b8 <_Thread_Dispatch+0x144>           <== NEVER TAKEN
 200a89c:	e0 26 20 0c 	st  %l0, [ %i0 + 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 )
 200a8a0:	c2 04 20 78 	ld  [ %l0 + 0x78 ], %g1                        
 200a8a4:	80 a0 60 01 	cmp  %g1, 1                                    
 200a8a8:	12 bf ff cb 	bne  200a7d4 <_Thread_Dispatch+0x60>           
 200a8ac:	c2 05 20 10 	ld  [ %l4 + 0x10 ], %g1                        
      heir->cpu_time_budget = _Thread_Ticks_per_timeslice;            
 200a8b0:	10 bf ff c9 	b  200a7d4 <_Thread_Dispatch+0x60>             
 200a8b4:	c2 24 20 74 	st  %g1, [ %l0 + 0x74 ]                        
    _ISR_Disable( level );                                            
  }                                                                   
                                                                      
post_switch:                                                          
                                                                      
  _ISR_Enable( level );                                               
 200a8b8:	7f ff df af 	call  2002774 <sparc_enable_interrupts>        
 200a8bc:	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--;                                 
 200a8c0:	c2 04 e0 b0 	ld  [ %l3 + 0xb0 ], %g1                        
 200a8c4:	82 00 7f ff 	add  %g1, -1, %g1                              
 200a8c8:	c2 24 e0 b0 	st  %g1, [ %l3 + 0xb0 ]                        
    return _Thread_Dispatch_disable_level;                            
 200a8cc:	c2 04 e0 b0 	ld  [ %l3 + 0xb0 ], %g1                        
                                                                      
  _Thread_Unnest_dispatch();                                          
                                                                      
  _API_extensions_Run_postswitch();                                   
 200a8d0:	7f ff f7 a2 	call  2008758 <_API_extensions_Run_postswitch> 
 200a8d4:	01 00 00 00 	nop                                            
 200a8d8:	81 c7 e0 08 	ret                                            
 200a8dc:	81 e8 00 00 	restore                                        
                                                                      

02010594 <_Thread_Handler>: * Input parameters: NONE * * Output parameters: NONE */ void _Thread_Handler( void ) {
 2010594:	9d e3 bf a0 	save  %sp, -96, %sp                            
  #if defined(EXECUTE_GLOBAL_CONSTRUCTORS)                            
    static bool doneConstructors;                                     
    bool doCons;                                                      
  #endif                                                              
                                                                      
  executing = _Thread_Executing;                                      
 2010598:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 201059c:	fa 00 61 ec 	ld  [ %g1 + 0x1ec ], %i5	! 201edec <_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();                          
 20105a0:	3f 00 80 41 	sethi  %hi(0x2010400), %i7                     
 20105a4:	be 17 e1 94 	or  %i7, 0x194, %i7	! 2010594 <_Thread_Handler>
                                                                      
  /*                                                                  
   * have to put level into a register for those cpu's that use       
   * inline asm here                                                  
   */                                                                 
  level = executing->Start.isr_level;                                 
 20105a8:	d0 07 60 a8 	ld  [ %i5 + 0xa8 ], %o0                        
  _ISR_Set_level(level);                                              
 20105ac:	7f ff c8 72 	call  2002774 <sparc_enable_interrupts>        
 20105b0:	91 2a 20 08 	sll  %o0, 8, %o0                               
    #endif                                                            
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
 20105b4:	c4 07 61 50 	ld  [ %i5 + 0x150 ], %g2                       
      doCons = !doneConstructors                                      
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
 20105b8:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
      doneConstructors = true;                                        
 20105bc:	86 10 20 01 	mov  1, %g3                                    
      doCons = !doneConstructors                                      
        && _Objects_Get_API( executing->Object.id ) != OBJECTS_INTERNAL_API;
      if (doCons)                                                     
        doneConstructors = true;                                      
    #else                                                             
      doCons = !doneConstructors;                                     
 20105c0:	f6 08 60 b8 	ldub  [ %g1 + 0xb8 ], %i3                      
    #endif                                                            
  #endif                                                              
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    #if ( CPU_USE_DEFERRED_FP_SWITCH == TRUE )                        
      if ( (executing->fp_context != NULL) &&                         
 20105c4:	80 a0 a0 00 	cmp  %g2, 0                                    
 20105c8:	02 80 00 0c 	be  20105f8 <_Thread_Handler+0x64>             
 20105cc:	c6 28 60 b8 	stb  %g3, [ %g1 + 0xb8 ]                       
#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 );                      
 20105d0:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 20105d4:	d0 07 21 28 	ld  [ %i4 + 0x128 ], %o0	! 201e928 <_Thread_Allocated_fp>
 20105d8:	80 a7 40 08 	cmp  %i5, %o0                                  
 20105dc:	02 80 00 07 	be  20105f8 <_Thread_Handler+0x64>             
 20105e0:	80 a2 20 00 	cmp  %o0, 0                                    
            !_Thread_Is_allocated_fp( executing ) ) {                 
        if ( _Thread_Allocated_fp != NULL )                           
 20105e4:	22 80 00 05 	be,a   20105f8 <_Thread_Handler+0x64>          
 20105e8:	fa 27 21 28 	st  %i5, [ %i4 + 0x128 ]                       
          _Context_Save_fp( &_Thread_Allocated_fp->fp_context );      
 20105ec:	7f ff ed 3d 	call  200bae0 <_CPU_Context_save_fp>           
 20105f0:	90 02 21 50 	add  %o0, 0x150, %o0                           
        _Thread_Allocated_fp = executing;                             
 20105f4:	fa 27 21 28 	st  %i5, [ %i4 + 0x128 ]                       
  /*                                                                  
   * 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 );                         
 20105f8:	7f ff eb a9 	call  200b49c <_User_extensions_Thread_begin>  
 20105fc:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  /*                                                                  
   *  At this point, the dispatch disable level BETTER be 1.          
   */                                                                 
  _Thread_Enable_dispatch();                                          
 2010600:	7f ff e8 b8 	call  200a8e0 <_Thread_Enable_dispatch>        
 2010604:	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) */ {                    
 2010608:	80 8e e0 ff 	btst  0xff, %i3                                
 201060c:	02 80 00 0e 	be  2010644 <_Thread_Handler+0xb0>             
 2010610:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 2010614:	c2 07 60 90 	ld  [ %i5 + 0x90 ], %g1                        
 2010618:	80 a0 60 00 	cmp  %g1, 0                                    
 201061c:	02 80 00 0e 	be  2010654 <_Thread_Handler+0xc0>             
 2010620:	80 a0 60 01 	cmp  %g1, 1                                    
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
 2010624:	22 80 00 11 	be,a   2010668 <_Thread_Handler+0xd4>          <== ALWAYS TAKEN
 2010628:	c2 07 60 8c 	ld  [ %i5 + 0x8c ], %g1                        
   *  was placed in return_argument.  This assumed that if it returned
   *  anything (which is not supporting in all APIs), then it would be
   *  able to fit in a (void *).                                      
   */                                                                 
                                                                      
  _User_extensions_Thread_exitted( executing );                       
 201062c:	7f ff eb b0 	call  200b4ec <_User_extensions_Thread_exitted>
 2010630:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  _Internal_error_Occurred(                                           
 2010634:	90 10 20 00 	clr  %o0                                       
 2010638:	92 10 20 01 	mov  1, %o1                                    
 201063c:	7f ff e3 1f 	call  20092b8 <_Internal_error_Occurred>       
 2010640:	94 10 20 05 	mov  5, %o2                                    
     *  _init could be a weak symbol and we SHOULD test it but it isn't
     *  in any configuration I know of and it generates a warning on every
     *  RTEMS target configuration.  --joel (12 May 2007)             
     */                                                               
    if (doCons) /* && (volatile void *)_init) */ {                    
      INIT_NAME ();                                                   
 2010644:	40 00 35 0f 	call  201da80 <_init>                          
 2010648:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
 201064c:	10 bf ff f3 	b  2010618 <_Thread_Handler+0x84>              
 2010650:	c2 07 60 90 	ld  [ %i5 + 0x90 ], %g1                        
    executing->Wait.return_argument =                                 
      (*(Thread_Entry_numeric) executing->Start.entry_point)(         
 2010654:	c2 07 60 8c 	ld  [ %i5 + 0x8c ], %g1                        
 2010658:	9f c0 40 00 	call  %g1                                      
 201065c:	d0 07 60 98 	ld  [ %i5 + 0x98 ], %o0                        
      #endif                                                          
    }                                                                 
 #endif                                                               
                                                                      
  if ( executing->Start.prototype == THREAD_START_NUMERIC ) {         
    executing->Wait.return_argument =                                 
 2010660:	10 bf ff f3 	b  201062c <_Thread_Handler+0x98>              
 2010664:	d0 27 60 28 	st  %o0, [ %i5 + 0x28 ]                        
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
        (*(Thread_Entry_pointer) executing->Start.entry_point)(       
 2010668:	9f c0 40 00 	call  %g1                                      
 201066c:	d0 07 60 94 	ld  [ %i5 + 0x94 ], %o0                        
        executing->Start.numeric_argument                             
      );                                                              
  }                                                                   
  #if defined(RTEMS_POSIX_API)                                        
    else if ( executing->Start.prototype == THREAD_START_POINTER ) {  
      executing->Wait.return_argument =                               
 2010670:	10 bf ff ef 	b  201062c <_Thread_Handler+0x98>              
 2010674:	d0 27 60 28 	st  %o0, [ %i5 + 0x28 ]                        
                                                                      

0200abcc <_Thread_Handler_initialization>: * * Output parameters: NONE */ void _Thread_Handler_initialization(void) {
 200abcc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  uint32_t ticks_per_timeslice =                                      
 200abd0:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 200abd4:	82 10 62 cc 	or  %g1, 0x2cc, %g1	! 201dacc <Configuration>  
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t maximum_proxies =                                        
      _Configuration_MP_table->maximum_proxies;                       
  #endif                                                              
                                                                      
  if ( rtems_configuration_get_stack_allocate_hook() == NULL ||       
 200abd8:	c6 00 60 2c 	ld  [ %g1 + 0x2c ], %g3                        
 *  Output parameters:  NONE                                          
 */                                                                   
                                                                      
void _Thread_Handler_initialization(void)                             
{                                                                     
  uint32_t ticks_per_timeslice =                                      
 200abdc:	fa 00 60 18 	ld  [ %g1 + 0x18 ], %i5                        
    rtems_configuration_get_ticks_per_timeslice();                    
  uint32_t maximum_extensions =                                       
 200abe0:	f8 00 60 0c 	ld  [ %g1 + 0xc ], %i4                         
  #if defined(RTEMS_MULTIPROCESSING)                                  
    uint32_t maximum_proxies =                                        
      _Configuration_MP_table->maximum_proxies;                       
  #endif                                                              
                                                                      
  if ( rtems_configuration_get_stack_allocate_hook() == NULL ||       
 200abe4:	80 a0 e0 00 	cmp  %g3, 0                                    
 200abe8:	02 80 00 21 	be  200ac6c <_Thread_Handler_initialization+0xa0>
 200abec:	c4 00 60 28 	ld  [ %g1 + 0x28 ], %g2                        
 200abf0:	c6 00 60 30 	ld  [ %g1 + 0x30 ], %g3                        
 200abf4:	80 a0 e0 00 	cmp  %g3, 0                                    
 200abf8:	02 80 00 1d 	be  200ac6c <_Thread_Handler_initialization+0xa0><== NEVER TAKEN
 200abfc:	80 a0 a0 00 	cmp  %g2, 0                                    
      INTERNAL_ERROR_CORE,                                            
      true,                                                           
      INTERNAL_ERROR_BAD_STACK_HOOK                                   
    );                                                                
                                                                      
  if ( stack_allocate_init_hook != NULL )                             
 200ac00:	22 80 00 05 	be,a   200ac14 <_Thread_Handler_initialization+0x48>
 200ac04:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
    (*stack_allocate_init_hook)( rtems_configuration_get_stack_space_size() );
 200ac08:	9f c0 80 00 	call  %g2                                      
 200ac0c:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0	! 201ec08 <_POSIX_Message_queue_Information+0x28>
                                                                      
  _Thread_Dispatch_necessary = false;                                 
 200ac10:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 200ac14:	82 10 61 e0 	or  %g1, 0x1e0, %g1	! 201ede0 <_Per_CPU_Information>
 200ac18:	c0 28 60 18 	clrb  [ %g1 + 0x18 ]                           
  _Thread_Executing         = NULL;                                   
 200ac1c:	c0 20 60 0c 	clr  [ %g1 + 0xc ]                             
  _Thread_Heir              = NULL;                                   
 200ac20:	c0 20 60 10 	clr  [ %g1 + 0x10 ]                            
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )        
  _Thread_Allocated_fp      = NULL;                                   
 200ac24:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200ac28:	c0 20 61 28 	clr  [ %g1 + 0x128 ]	! 201e928 <_Thread_Allocated_fp>
#endif                                                                
                                                                      
  _Thread_Maximum_extensions = maximum_extensions;                    
 200ac2c:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200ac30:	f8 20 61 30 	st  %i4, [ %g1 + 0x130 ]	! 201e930 <_Thread_Maximum_extensions>
                                                                      
  _Thread_Ticks_per_timeslice  = ticks_per_timeslice;                 
 200ac34:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200ac38:	fa 20 60 10 	st  %i5, [ %g1 + 0x10 ]	! 201e810 <_Thread_Ticks_per_timeslice>
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if ( _System_state_Is_multiprocessing )                           
      maximum_internal_threads += 1;                                  
  #endif                                                              
                                                                      
  _Objects_Initialize_information(                                    
 200ac3c:	82 10 20 08 	mov  8, %g1                                    
 200ac40:	11 00 80 7a 	sethi  %hi(0x201e800), %o0                     
 200ac44:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 200ac48:	90 12 21 b0 	or  %o0, 0x1b0, %o0                            
 200ac4c:	92 10 20 01 	mov  1, %o1                                    
 200ac50:	94 10 20 01 	mov  1, %o2                                    
 200ac54:	96 10 20 01 	mov  1, %o3                                    
 200ac58:	98 10 21 68 	mov  0x168, %o4                                
 200ac5c:	7f ff fb 35 	call  2009930 <_Objects_Initialize_information>
 200ac60:	9a 10 20 00 	clr  %o5                                       
 200ac64:	81 c7 e0 08 	ret                                            
 200ac68:	81 e8 00 00 	restore                                        
      _Configuration_MP_table->maximum_proxies;                       
  #endif                                                              
                                                                      
  if ( rtems_configuration_get_stack_allocate_hook() == NULL ||       
       rtems_configuration_get_stack_free_hook() == NULL)             
    _Internal_error_Occurred(                                         
 200ac6c:	90 10 20 00 	clr  %o0                                       
 200ac70:	92 10 20 01 	mov  1, %o1                                    
 200ac74:	7f ff f9 91 	call  20092b8 <_Internal_error_Occurred>       
 200ac78:	94 10 20 0e 	mov  0xe, %o2                                  
                                                                      

0200a9c4 <_Thread_Initialize>: Thread_CPU_budget_algorithms budget_algorithm, Thread_CPU_budget_algorithm_callout budget_callout, uint32_t isr_level, Objects_Name name ) {
 200a9c4:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200a9c8:	c2 07 a0 6c 	ld  [ %fp + 0x6c ], %g1                        
                                                                      
  /*                                                                  
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
 200a9cc:	c0 26 61 58 	clr  [ %i1 + 0x158 ]                           
 200a9d0:	c0 26 61 5c 	clr  [ %i1 + 0x15c ]                           
                                                                      
  extensions_area = NULL;                                             
  the_thread->libc_reent = NULL;                                      
 200a9d4:	c0 26 61 54 	clr  [ %i1 + 0x154 ]                           
  Thread_CPU_budget_algorithms          budget_algorithm,             
  Thread_CPU_budget_algorithm_callout   budget_callout,               
  uint32_t                              isr_level,                    
  Objects_Name                          name                          
)                                                                     
{                                                                     
 200a9d8:	e0 07 a0 60 	ld  [ %fp + 0x60 ], %l0                        
 200a9dc:	e2 00 40 00 	ld  [ %g1 ], %l1                               
    if ( !actual_stack_size || actual_stack_size < stack_size )       
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
 200a9e0:	80 a6 a0 00 	cmp  %i2, 0                                    
 200a9e4:	02 80 00 6b 	be  200ab90 <_Thread_Initialize+0x1cc>         
 200a9e8:	e4 0f a0 5f 	ldub  [ %fp + 0x5f ], %l2                      
      stack = the_thread->Start.stack;                                
      the_thread->Start.core_allocated_stack = true;                  
    } else {                                                          
      stack = stack_area;                                             
      actual_stack_size = stack_size;                                 
      the_thread->Start.core_allocated_stack = false;                 
 200a9ec:	c0 2e 60 b0 	clrb  [ %i1 + 0xb0 ]                           
 200a9f0:	90 10 00 1b 	mov  %i3, %o0                                  
  Stack_Control *the_stack,                                           
  void          *starting_address,                                    
  size_t         size                                                 
)                                                                     
{                                                                     
  the_stack->area = starting_address;                                 
 200a9f4:	f4 26 60 b8 	st  %i2, [ %i1 + 0xb8 ]                        
  the_stack->size = size;                                             
 200a9f8:	d0 26 60 b4 	st  %o0, [ %i1 + 0xb4 ]                        
                                                                      
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
 200a9fc:	80 a7 20 00 	cmp  %i4, 0                                    
 200aa00:	12 80 00 48 	bne  200ab20 <_Thread_Initialize+0x15c>        
 200aa04:	b6 10 20 00 	clr  %i3                                       
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 200aa08:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 200aa0c:	c2 07 21 30 	ld  [ %i4 + 0x130 ], %g1	! 201e930 <_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;                           
 200aa10:	f6 26 61 50 	st  %i3, [ %i1 + 0x150 ]                       
    the_thread->Start.fp_context = fp_area;                           
 200aa14:	f6 26 60 bc 	st  %i3, [ %i1 + 0xbc ]                        
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 200aa18:	c0 26 60 50 	clr  [ %i1 + 0x50 ]                            
  the_watchdog->routine   = routine;                                  
 200aa1c:	c0 26 60 64 	clr  [ %i1 + 0x64 ]                            
  the_watchdog->id        = id;                                       
 200aa20:	c0 26 60 68 	clr  [ %i1 + 0x68 ]                            
  #endif                                                              
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
 200aa24:	80 a0 60 00 	cmp  %g1, 0                                    
 200aa28:	12 80 00 46 	bne  200ab40 <_Thread_Initialize+0x17c>        
 200aa2c:	c0 26 60 6c 	clr  [ %i1 + 0x6c ]                            
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
 200aa30:	c0 26 61 60 	clr  [ %i1 + 0x160 ]                           
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
 200aa34:	b4 10 20 00 	clr  %i2                                       
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 200aa38:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
                                                                      
  /*                                                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
 200aa3c:	e4 2e 60 9c 	stb  %l2, [ %i1 + 0x9c ]                       
  the_thread->Start.budget_algorithm = budget_algorithm;              
 200aa40:	e0 26 60 a0 	st  %l0, [ %i1 + 0xa0 ]                        
  the_thread->Start.budget_callout   = budget_callout;                
                                                                      
  switch ( budget_algorithm ) {                                       
 200aa44:	80 a4 20 02 	cmp  %l0, 2                                    
 200aa48:	12 80 00 05 	bne  200aa5c <_Thread_Initialize+0x98>         
 200aa4c:	c2 26 60 a4 	st  %g1, [ %i1 + 0xa4 ]                        
    case THREAD_CPU_BUDGET_ALGORITHM_NONE:                            
    case THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE:                 
      break;                                                          
    #if defined(RTEMS_SCORE_THREAD_ENABLE_EXHAUST_TIMESLICE)          
      case THREAD_CPU_BUDGET_ALGORITHM_EXHAUST_TIMESLICE:             
        the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;    
 200aa50:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200aa54:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1	! 201e810 <_Thread_Ticks_per_timeslice>
 200aa58:	c2 26 60 74 	st  %g1, [ %i1 + 0x74 ]                        
      case THREAD_CPU_BUDGET_ALGORITHM_CALLOUT:                       
	break;                                                               
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
 200aa5c:	c4 07 a0 68 	ld  [ %fp + 0x68 ], %g2                        
 */                                                                   
RTEMS_INLINE_ROUTINE void* _Scheduler_Allocate(                       
  Thread_Control    *the_thread                                       
)                                                                     
{                                                                     
  return _Scheduler.Operations.allocate( the_thread );                
 200aa60:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
 200aa64:	c2 00 63 d8 	ld  [ %g1 + 0x3d8 ], %g1	! 201dbd8 <_Scheduler+0x18>
 200aa68:	c4 26 60 a8 	st  %g2, [ %i1 + 0xa8 ]                        
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 200aa6c:	84 10 20 01 	mov  1, %g2                                    
  the_thread->Wait.queue              = NULL;                         
 200aa70:	c0 26 60 44 	clr  [ %i1 + 0x44 ]                            
    #endif                                                            
  }                                                                   
                                                                      
  the_thread->Start.isr_level         = isr_level;                    
                                                                      
  the_thread->current_state           = STATES_DORMANT;               
 200aa74:	c4 26 60 10 	st  %g2, [ %i1 + 0x10 ]                        
  the_thread->Wait.queue              = NULL;                         
  the_thread->resource_count          = 0;                            
 200aa78:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
  the_thread->real_priority           = priority;                     
 200aa7c:	fa 26 60 18 	st  %i5, [ %i1 + 0x18 ]                        
  the_thread->Start.initial_priority  = priority;                     
 200aa80:	fa 26 60 ac 	st  %i5, [ %i1 + 0xac ]                        
 200aa84:	9f c0 40 00 	call  %g1                                      
 200aa88:	90 10 00 19 	mov  %i1, %o0                                  
  sched =_Scheduler_Allocate( the_thread );                           
  if ( !sched )                                                       
 200aa8c:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200aa90:	22 80 00 13 	be,a   200aadc <_Thread_Initialize+0x118>      
 200aa94:	d0 06 61 54 	ld  [ %i1 + 0x154 ], %o0                       
    goto failed;                                                      
  _Thread_Set_priority( the_thread, priority );                       
 200aa98:	90 10 00 19 	mov  %i1, %o0                                  
 200aa9c:	40 00 01 e9 	call  200b240 <_Thread_Set_priority>           
 200aaa0:	92 10 00 1d 	mov  %i5, %o1                                  
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200aaa4:	c4 06 20 1c 	ld  [ %i0 + 0x1c ], %g2                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 200aaa8:	c2 16 60 0a 	lduh  [ %i1 + 0xa ], %g1                       
                                                                      
static inline void _Timestamp64_implementation_Set_to_zero(           
  Timestamp64_Control *_time                                          
)                                                                     
{                                                                     
  *_time = 0;                                                         
 200aaac:	c0 26 60 80 	clr  [ %i1 + 0x80 ]                            
 200aab0:	c0 26 60 84 	clr  [ %i1 + 0x84 ]                            
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200aab4:	83 28 60 02 	sll  %g1, 2, %g1                               
 200aab8:	f2 20 80 01 	st  %i1, [ %g2 + %g1 ]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 200aabc:	e2 26 60 0c 	st  %l1, [ %i1 + 0xc ]                         
   *  enabled when we get here.  We want to be able to run the        
   *  user extensions with dispatching enabled.  The Allocator        
   *  Mutex provides sufficient protection to let the user extensions 
   *  run safely.                                                     
   */                                                                 
  extension_status = _User_extensions_Thread_create( the_thread );    
 200aac0:	90 10 00 19 	mov  %i1, %o0                                  
 200aac4:	40 00 02 b1 	call  200b588 <_User_extensions_Thread_create> 
 200aac8:	b0 10 20 01 	mov  1, %i0                                    
  if ( extension_status )                                             
 200aacc:	80 8a 20 ff 	btst  0xff, %o0                                
 200aad0:	32 80 00 12 	bne,a   200ab18 <_Thread_Initialize+0x154>     
 200aad4:	b0 0e 20 ff 	and  %i0, 0xff, %i0                            
    return true;                                                      
                                                                      
failed:                                                               
  _Workspace_Free( the_thread->libc_reent );                          
 200aad8:	d0 06 61 54 	ld  [ %i1 + 0x154 ], %o0                       
 200aadc:	40 00 03 ec 	call  200ba8c <_Workspace_Free>                
 200aae0:	b0 10 20 00 	clr  %i0                                       
                                                                      
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    _Workspace_Free( the_thread->API_Extensions[i] );                 
 200aae4:	40 00 03 ea 	call  200ba8c <_Workspace_Free>                
 200aae8:	d0 06 61 58 	ld  [ %i1 + 0x158 ], %o0                       
 200aaec:	40 00 03 e8 	call  200ba8c <_Workspace_Free>                
 200aaf0:	d0 06 61 5c 	ld  [ %i1 + 0x15c ], %o0                       
                                                                      
  _Workspace_Free( extensions_area );                                 
 200aaf4:	40 00 03 e6 	call  200ba8c <_Workspace_Free>                
 200aaf8:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    _Workspace_Free( fp_area );                                       
 200aafc:	40 00 03 e4 	call  200ba8c <_Workspace_Free>                
 200ab00:	90 10 00 1b 	mov  %i3, %o0                                  
  #endif                                                              
                                                                      
   _Workspace_Free( sched );                                          
 200ab04:	40 00 03 e2 	call  200ba8c <_Workspace_Free>                
 200ab08:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
   _Thread_Stack_Free( the_thread );                                  
 200ab0c:	40 00 02 06 	call  200b324 <_Thread_Stack_Free>             
 200ab10:	90 10 00 19 	mov  %i1, %o0                                  
 200ab14:	b0 0e 20 ff 	and  %i0, 0xff, %i0                            
 200ab18:	81 c7 e0 08 	ret                                            
 200ab1c:	81 e8 00 00 	restore                                        
  /*                                                                  
   *  Allocate the floating point area for this thread                
   */                                                                 
  #if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )      
    if ( is_fp ) {                                                    
      fp_area = _Workspace_Allocate( CONTEXT_FP_SIZE );               
 200ab20:	40 00 03 d3 	call  200ba6c <_Workspace_Allocate>            
 200ab24:	90 10 20 88 	mov  0x88, %o0                                 
      if ( !fp_area )                                                 
 200ab28:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 200ab2c:	32 bf ff b8 	bne,a   200aa0c <_Thread_Initialize+0x48>      
 200ab30:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
   *  Zero out all the allocated memory fields                        
   */                                                                 
  for ( i=0 ; i <= THREAD_API_LAST ; i++ )                            
    the_thread->API_Extensions[i] = NULL;                             
                                                                      
  extensions_area = NULL;                                             
 200ab34:	b4 10 20 00 	clr  %i2                                       
  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;                                  
 200ab38:	10 bf ff e8 	b  200aad8 <_Thread_Initialize+0x114>          
 200ab3c:	b8 10 20 00 	clr  %i4                                       
                                                                      
  /*                                                                  
   *  Allocate the extensions area for this thread                    
   */                                                                 
  if ( _Thread_Maximum_extensions ) {                                 
    extensions_area = _Workspace_Allocate(                            
 200ab40:	90 00 60 01 	add  %g1, 1, %o0                               
 200ab44:	40 00 03 ca 	call  200ba6c <_Workspace_Allocate>            
 200ab48:	91 2a 20 02 	sll  %o0, 2, %o0                               
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
 200ab4c:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 200ab50:	02 80 00 1d 	be  200abc4 <_Thread_Initialize+0x200>         
 200ab54:	86 10 00 1a 	mov  %i2, %g3                                  
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
 200ab58:	f4 26 61 60 	st  %i2, [ %i1 + 0x160 ]                       
 200ab5c:	c8 07 21 30 	ld  [ %i4 + 0x130 ], %g4                       
   * 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++ )              
 200ab60:	84 10 20 00 	clr  %g2                                       
      (_Thread_Maximum_extensions + 1) * sizeof( void * )             
    );                                                                
    if ( !extensions_area )                                           
      goto failed;                                                    
  }                                                                   
  the_thread->extensions = (void **) extensions_area;                 
 200ab64:	10 80 00 03 	b  200ab70 <_Thread_Initialize+0x1ac>          
 200ab68:	82 10 20 00 	clr  %g1                                       
 200ab6c:	c6 06 61 60 	ld  [ %i1 + 0x160 ], %g3                       
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
      the_thread->extensions[i] = NULL;                               
 200ab70:	85 28 a0 02 	sll  %g2, 2, %g2                               
 200ab74:	c0 20 c0 02 	clr  [ %g3 + %g2 ]                             
   * create the extension long after tasks have been created          
   * so they cannot rely on the thread create user extension          
   * call.                                                            
   */                                                                 
  if ( the_thread->extensions ) {                                     
    for ( i = 0; i <= _Thread_Maximum_extensions ; i++ )              
 200ab78:	82 00 60 01 	inc  %g1                                       
 200ab7c:	80 a0 40 04 	cmp  %g1, %g4                                  
 200ab80:	08 bf ff fb 	bleu  200ab6c <_Thread_Initialize+0x1a8>       
 200ab84:	84 10 00 01 	mov  %g1, %g2                                  
   *  General initialization                                          
   */                                                                 
                                                                      
  the_thread->Start.is_preemptible   = is_preemptible;                
  the_thread->Start.budget_algorithm = budget_algorithm;              
  the_thread->Start.budget_callout   = budget_callout;                
 200ab88:	10 bf ff ad 	b  200aa3c <_Thread_Initialize+0x78>           
 200ab8c:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
      return false;                     /* stack allocation failed */ 
                                                                      
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
 200ab90:	90 10 00 19 	mov  %i1, %o0                                  
 200ab94:	40 00 01 d4 	call  200b2e4 <_Thread_Stack_Allocate>         
 200ab98:	92 10 00 1b 	mov  %i3, %o1                                  
      if ( !actual_stack_size || actual_stack_size < stack_size )     
 200ab9c:	80 a2 00 1b 	cmp  %o0, %i3                                  
 200aba0:	0a 80 00 07 	bcs  200abbc <_Thread_Initialize+0x1f8>        
 200aba4:	80 a2 20 00 	cmp  %o0, 0                                    
 200aba8:	02 80 00 05 	be  200abbc <_Thread_Initialize+0x1f8>         <== NEVER TAKEN
 200abac:	82 10 20 01 	mov  1, %g1                                    
        return false;                     /* stack allocation failed */
                                                                      
      stack = the_thread->Start.stack;                                
 200abb0:	f4 06 60 c0 	ld  [ %i1 + 0xc0 ], %i2                        
      the_thread->Start.core_allocated_stack = true;                  
 200abb4:	10 bf ff 90 	b  200a9f4 <_Thread_Initialize+0x30>           
 200abb8:	c2 2e 60 b0 	stb  %g1, [ %i1 + 0xb0 ]                       
    stack = the_thread->Start.stack;                                  
  #else                                                               
    if ( !stack_area ) {                                              
      actual_stack_size = _Thread_Stack_Allocate( the_thread, stack_size );
      if ( !actual_stack_size || actual_stack_size < stack_size )     
        return false;                     /* stack allocation failed */
 200abbc:	10 bf ff d6 	b  200ab14 <_Thread_Initialize+0x150>          
 200abc0:	b0 10 20 00 	clr  %i0                                       
  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;                                  
 200abc4:	10 bf ff c5 	b  200aad8 <_Thread_Initialize+0x114>          
 200abc8:	b8 10 20 00 	clr  %i4                                       
                                                                      

0200b324 <_Thread_Stack_Free>: */ void _Thread_Stack_Free( Thread_Control *the_thread ) {
 200b324:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  #if defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API)  
    /*                                                                
     *  If the API provided the stack space, then don't free it.      
     */                                                               
    if ( !the_thread->Start.core_allocated_stack )                    
 200b328:	c2 0e 20 b0 	ldub  [ %i0 + 0xb0 ], %g1                      
 200b32c:	80 a0 60 00 	cmp  %g1, 0                                    
                                                                      
void _Thread_Stack_Free(                                              
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  rtems_stack_free_hook stack_free_hook =                             
 200b330:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
                                                                      
  #if defined(RTEMS_SCORE_THREAD_ENABLE_USER_PROVIDED_STACK_VIA_API)  
    /*                                                                
     *  If the API provided the stack space, then don't free it.      
     */                                                               
    if ( !the_thread->Start.core_allocated_stack )                    
 200b334:	02 80 00 04 	be  200b344 <_Thread_Stack_Free+0x20>          <== NEVER TAKEN
 200b338:	c2 00 62 fc 	ld  [ %g1 + 0x2fc ], %g1	! 201dafc <Configuration+0x30>
   * Call ONLY the CPU table stack free hook, or the                  
   * the RTEMS workspace free.  This is so the free                   
   * routine properly matches the allocation of the stack.            
   */                                                                 
                                                                      
  (*stack_free_hook)( the_thread->Start.Initial_stack.area );         
 200b33c:	9f c0 40 00 	call  %g1                                      
 200b340:	d0 06 20 b8 	ld  [ %i0 + 0xb8 ], %o0                        
 200b344:	81 c7 e0 08 	ret                                            
 200b348:	81 e8 00 00 	restore                                        
                                                                      

0200b17c <_Thread_queue_Requeue>: void _Thread_queue_Requeue( Thread_queue_Control *the_thread_queue, Thread_Control *the_thread ) {
 200b17c:	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 )                                            
 200b180:	80 a6 20 00 	cmp  %i0, 0                                    
 200b184:	02 80 00 13 	be  200b1d0 <_Thread_queue_Requeue+0x54>       <== NEVER TAKEN
 200b188:	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 ) {
 200b18c:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        
 200b190:	80 a7 60 01 	cmp  %i5, 1                                    
 200b194:	02 80 00 04 	be  200b1a4 <_Thread_queue_Requeue+0x28>       <== ALWAYS TAKEN
 200b198:	01 00 00 00 	nop                                            
 200b19c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200b1a0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    Thread_queue_Control *tq = the_thread_queue;                      
    ISR_Level             level;                                      
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
 200b1a4:	7f ff dd 70 	call  2002764 <sparc_disable_interrupts>       
 200b1a8:	01 00 00 00 	nop                                            
 200b1ac:	b8 10 00 08 	mov  %o0, %i4                                  
 200b1b0:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        
 200b1b4:	03 00 00 ef 	sethi  %hi(0x3bc00), %g1                       
 200b1b8:	82 10 62 e0 	or  %g1, 0x2e0, %g1	! 3bee0 <PROM_START+0x3bee0>
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
 200b1bc:	80 88 80 01 	btst  %g2, %g1                                 
 200b1c0:	12 80 00 06 	bne  200b1d8 <_Thread_queue_Requeue+0x5c>      <== ALWAYS TAKEN
 200b1c4:	90 10 00 18 	mov  %i0, %o0                                  
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
    }                                                                 
    _ISR_Enable( level );                                             
 200b1c8:	7f ff dd 6b 	call  2002774 <sparc_enable_interrupts>        
 200b1cc:	90 10 00 1c 	mov  %i4, %o0                                  
 200b1d0:	81 c7 e0 08 	ret                                            
 200b1d4:	81 e8 00 00 	restore                                        
    ISR_Level             level_ignored;                              
                                                                      
    _ISR_Disable( level );                                            
    if ( _States_Is_waiting_on_thread_queue( the_thread->current_state ) ) {
      _Thread_queue_Enter_critical_section( tq );                     
      _Thread_queue_Extract_priority_helper( tq, the_thread, true );  
 200b1d8:	92 10 00 19 	mov  %i1, %o1                                  
 200b1dc:	94 10 20 01 	mov  1, %o2                                    
 200b1e0:	40 00 0d 9d 	call  200e854 <_Thread_queue_Extract_priority_helper>
 200b1e4:	fa 26 20 30 	st  %i5, [ %i0 + 0x30 ]                        
      (void) _Thread_queue_Enqueue_priority( tq, the_thread, &level_ignored );
 200b1e8:	90 10 00 18 	mov  %i0, %o0                                  
 200b1ec:	92 10 00 19 	mov  %i1, %o1                                  
 200b1f0:	7f ff ff 35 	call  200aec4 <_Thread_queue_Enqueue_priority> 
 200b1f4:	94 07 bf fc 	add  %fp, -4, %o2                              
 200b1f8:	30 bf ff f4 	b,a   200b1c8 <_Thread_queue_Requeue+0x4c>     
                                                                      

0200b1fc <_Thread_queue_Timeout>: void _Thread_queue_Timeout( Objects_Id id, void *ignored __attribute__((unused)) ) {
 200b1fc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control       *the_thread;                                   
  Objects_Locations     location;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200b200:	90 10 00 18 	mov  %i0, %o0                                  
 200b204:	7f ff fd c4 	call  200a914 <_Thread_Get>                    
 200b208:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200b20c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200b210:	80 a0 60 00 	cmp  %g1, 0                                    
 200b214:	12 80 00 09 	bne  200b238 <_Thread_queue_Timeout+0x3c>      <== NEVER TAKEN
 200b218:	01 00 00 00 	nop                                            
#if defined(RTEMS_MULTIPROCESSING)                                    
    case OBJECTS_REMOTE:  /* impossible */                            
#endif                                                                
      break;                                                          
    case OBJECTS_LOCAL:                                               
      _Thread_queue_Process_timeout( the_thread );                    
 200b21c:	40 00 0d c7 	call  200e938 <_Thread_queue_Process_timeout>  
 200b220:	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--;                                 
 200b224:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200b228:	c4 00 60 b0 	ld  [ %g1 + 0xb0 ], %g2	! 201e8b0 <_Thread_Dispatch_disable_level>
 200b22c:	84 00 bf ff 	add  %g2, -1, %g2                              
 200b230:	c4 20 60 b0 	st  %g2, [ %g1 + 0xb0 ]                        
    return _Thread_Dispatch_disable_level;                            
 200b234:	c2 00 60 b0 	ld  [ %g1 + 0xb0 ], %g1                        
 200b238:	81 c7 e0 08 	ret                                            
 200b23c:	81 e8 00 00 	restore                                        
                                                                      

02018210 <_Timer_server_Body>: * @a arg points to the corresponding timer server control block. */ static rtems_task _Timer_server_Body( rtems_task_argument arg ) {
 2018210:	9d e3 bf 88 	save  %sp, -120, %sp                           
 2018214:	21 00 80 f3 	sethi  %hi(0x203cc00), %l0                     
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2018218:	a4 07 bf e8 	add  %fp, -24, %l2                             
 201821c:	b4 07 bf ec 	add  %fp, -20, %i2                             
 2018220:	b8 07 bf f4 	add  %fp, -12, %i4                             
 2018224:	a2 07 bf f8 	add  %fp, -8, %l1                              
 2018228:	33 00 80 f3 	sethi  %hi(0x203cc00), %i1                     
 201822c:	27 00 80 f3 	sethi  %hi(0x203cc00), %l3                     
 2018230:	f4 27 bf e8 	st  %i2, [ %fp + -24 ]                         
  head->previous = NULL;                                              
 2018234:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
  tail->previous = head;                                              
 2018238:	e4 27 bf f0 	st  %l2, [ %fp + -16 ]                         
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 201823c:	e2 27 bf f4 	st  %l1, [ %fp + -12 ]                         
  head->previous = NULL;                                              
 2018240:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  tail->previous = head;                                              
 2018244:	f8 27 bf fc 	st  %i4, [ %fp + -4 ]                          
 2018248:	a0 14 22 28 	or  %l0, 0x228, %l0                            
 201824c:	b6 06 20 30 	add  %i0, 0x30, %i3                            
 2018250:	b2 16 60 78 	or  %i1, 0x78, %i1                             
 2018254:	ba 06 20 68 	add  %i0, 0x68, %i5                            
 2018258:	a6 14 e1 30 	or  %l3, 0x130, %l3                            
 201825c:	ac 06 20 08 	add  %i0, 8, %l6                               
 2018260:	aa 06 20 40 	add  %i0, 0x40, %l5                            
        _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;                                              
 2018264:	a8 10 20 01 	mov  1, %l4                                    
{                                                                     
  /*                                                                  
   *  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;                                    
 2018268:	e4 26 20 78 	st  %l2, [ %i0 + 0x78 ]                        
static void _Timer_server_Process_interval_watchdogs(                 
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = _Watchdog_Ticks_since_boot;            
 201826c:	c2 04 00 00 	ld  [ %l0 ], %g1                               
                                                                      
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
 2018270:	d2 06 20 3c 	ld  [ %i0 + 0x3c ], %o1                        
                                                                      
  watchdogs->last_snapshot = snapshot;                                
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2018274:	90 10 00 1b 	mov  %i3, %o0                                  
 2018278:	92 20 40 09 	sub  %g1, %o1, %o1                             
 201827c:	94 10 00 1c 	mov  %i4, %o2                                  
  /*                                                                  
   *  We assume adequate unsigned arithmetic here.                    
   */                                                                 
  Watchdog_Interval delta = snapshot - watchdogs->last_snapshot;      
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 2018280:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
                                                                      
  _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );  
 2018284:	40 00 12 ba 	call  201cd6c <_Watchdog_Adjust_to_chain>      
 2018288:	01 00 00 00 	nop                                            
 201828c:	d0 1e 40 00 	ldd  [ %i1 ], %o0                              
 2018290:	94 10 20 00 	clr  %o2                                       
 2018294:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2018298:	40 00 51 b1 	call  202c95c <__divdi3>                       
 201829c:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  Timer_server_Watchdogs *watchdogs,                                  
  Chain_Control *fire_chain                                           
)                                                                     
{                                                                     
  Watchdog_Interval snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();
  Watchdog_Interval last_snapshot = watchdogs->last_snapshot;         
 20182a0:	d4 06 20 74 	ld  [ %i0 + 0x74 ], %o2                        
  /*                                                                  
   *  Process the seconds chain.  Start by checking that the Time     
   *  of Day (TOD) has not been set backwards.  If it has then        
   *  we want to adjust the watchdogs->Chain to indicate this.        
   */                                                                 
  if ( snapshot > last_snapshot ) {                                   
 20182a4:	80 a2 40 0a 	cmp  %o1, %o2                                  
 20182a8:	18 80 00 2b 	bgu  2018354 <_Timer_server_Body+0x144>        
 20182ac:	ae 10 00 09 	mov  %o1, %l7                                  
     *  TOD has been set forward.                                     
     */                                                               
    delta = snapshot - last_snapshot;                                 
    _Watchdog_Adjust_to_chain( &watchdogs->Chain, delta, fire_chain );
                                                                      
  } else if ( snapshot < last_snapshot ) {                            
 20182b0:	80 a2 40 0a 	cmp  %o1, %o2                                  
 20182b4:	0a 80 00 20 	bcs  2018334 <_Timer_server_Body+0x124>        
 20182b8:	90 10 00 1d 	mov  %i5, %o0                                  
      */                                                              
     delta = last_snapshot - snapshot;                                
     _Watchdog_Adjust( &watchdogs->Chain, WATCHDOG_BACKWARD, delta ); 
  }                                                                   
                                                                      
  watchdogs->last_snapshot = snapshot;                                
 20182bc:	ee 26 20 74 	st  %l7, [ %i0 + 0x74 ]                        
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
 20182c0:	d0 06 20 78 	ld  [ %i0 + 0x78 ], %o0                        
 20182c4:	40 00 02 bb 	call  2018db0 <_Chain_Get>                     
 20182c8:	01 00 00 00 	nop                                            
                                                                      
    if ( timer == NULL ) {                                            
 20182cc:	92 92 20 00 	orcc  %o0, 0, %o1                              
 20182d0:	02 80 00 10 	be  2018310 <_Timer_server_Body+0x100>         
 20182d4:	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 ) {                 
 20182d8:	c2 02 60 38 	ld  [ %o1 + 0x38 ], %g1                        
 20182dc:	80 a0 60 01 	cmp  %g1, 1                                    
 20182e0:	02 80 00 19 	be  2018344 <_Timer_server_Body+0x134>         
 20182e4:	80 a0 60 03 	cmp  %g1, 3                                    
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 20182e8:	12 bf ff f6 	bne  20182c0 <_Timer_server_Body+0xb0>         <== NEVER TAKEN
 20182ec:	92 02 60 10 	add  %o1, 0x10, %o1                            
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 20182f0:	40 00 12 d0 	call  201ce30 <_Watchdog_Insert>               
 20182f4:	90 10 00 1d 	mov  %i5, %o0                                  
}                                                                     
                                                                      
static void _Timer_server_Process_insertions( Timer_server_Control *ts )
{                                                                     
  while ( true ) {                                                    
    Timer_Control *timer = (Timer_Control *) _Chain_Get( ts->insert_chain );
 20182f8:	d0 06 20 78 	ld  [ %i0 + 0x78 ], %o0                        
 20182fc:	40 00 02 ad 	call  2018db0 <_Chain_Get>                     
 2018300:	01 00 00 00 	nop                                            
                                                                      
    if ( timer == NULL ) {                                            
 2018304:	92 92 20 00 	orcc  %o0, 0, %o1                              
 2018308:	32 bf ff f5 	bne,a   20182dc <_Timer_server_Body+0xcc>      <== NEVER TAKEN
 201830c:	c2 02 60 38 	ld  [ %o1 + 0x38 ], %g1                        <== NOT EXECUTED
     *  of zero it will be processed in the next iteration of the timer server
     *  body loop.                                                    
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
 2018310:	7f ff dd 40 	call  200f810 <sparc_disable_interrupts>       
 2018314:	01 00 00 00 	nop                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
 2018318:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
 201831c:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2018320:	02 80 00 12 	be  2018368 <_Timer_server_Body+0x158>         <== ALWAYS TAKEN
 2018324:	01 00 00 00 	nop                                            
      ts->insert_chain = NULL;                                        
      _ISR_Enable( level );                                           
                                                                      
      break;                                                          
    } else {                                                          
      _ISR_Enable( level );                                           
 2018328:	7f ff dd 3e 	call  200f820 <sparc_enable_interrupts>        <== NOT EXECUTED
 201832c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2018330:	30 bf ff cf 	b,a   201826c <_Timer_server_Body+0x5c>        <== NOT EXECUTED
     /*                                                               
      *  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 ); 
 2018334:	92 10 20 01 	mov  1, %o1	! 1 <PROM_START+0x1>               
 2018338:	40 00 12 5d 	call  201ccac <_Watchdog_Adjust>               
 201833c:	94 22 80 17 	sub  %o2, %l7, %o2                             
 2018340:	30 bf ff df 	b,a   20182bc <_Timer_server_Body+0xac>        
  Timer_server_Control *ts,                                           
  Timer_Control *timer                                                
)                                                                     
{                                                                     
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
 2018344:	90 10 00 1b 	mov  %i3, %o0                                  
 2018348:	40 00 12 ba 	call  201ce30 <_Watchdog_Insert>               
 201834c:	92 02 60 10 	add  %o1, 0x10, %o1                            
 2018350:	30 bf ff dc 	b,a   20182c0 <_Timer_server_Body+0xb0>        
    /*                                                                
     *  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 );
 2018354:	92 22 40 0a 	sub  %o1, %o2, %o1                             
 2018358:	90 10 00 1d 	mov  %i5, %o0                                  
 201835c:	40 00 12 84 	call  201cd6c <_Watchdog_Adjust_to_chain>      
 2018360:	94 10 00 1c 	mov  %i4, %o2                                  
 2018364:	30 bf ff d6 	b,a   20182bc <_Timer_server_Body+0xac>        
     */                                                               
    _Timer_server_Process_insertions( ts );                           
                                                                      
    _ISR_Disable( level );                                            
    if ( _Chain_Is_empty( insert_chain ) ) {                          
      ts->insert_chain = NULL;                                        
 2018368:	c0 26 20 78 	clr  [ %i0 + 0x78 ]                            
      _ISR_Enable( level );                                           
 201836c:	7f ff dd 2d 	call  200f820 <sparc_enable_interrupts>        
 2018370:	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 ) ) {                          
 2018374:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2018378:	80 a0 40 11 	cmp  %g1, %l1                                  
 201837c:	12 80 00 0c 	bne  20183ac <_Timer_server_Body+0x19c>        
 2018380:	01 00 00 00 	nop                                            
 2018384:	30 80 00 13 	b,a   20183d0 <_Timer_server_Body+0x1c0>       
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
 2018388:	f8 20 60 04 	st  %i4, [ %g1 + 4 ]                           
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
 201838c:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
 2018390:	c0 25 e0 08 	clr  [ %l7 + 8 ]                               
          _ISR_Enable( level );                                       
 2018394:	7f ff dd 23 	call  200f820 <sparc_enable_interrupts>        
 2018398:	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 );    
 201839c:	d0 05 e0 20 	ld  [ %l7 + 0x20 ], %o0                        
 20183a0:	c2 05 e0 1c 	ld  [ %l7 + 0x1c ], %g1                        
 20183a4:	9f c0 40 00 	call  %g1                                      
 20183a8:	d2 05 e0 24 	ld  [ %l7 + 0x24 ], %o1                        
                                                                      
        /*                                                            
         *  It is essential that interrupts are disable here since an interrupt
         *  service routine may remove a watchdog from the chain.     
         */                                                           
        _ISR_Disable( level );                                        
 20183ac:	7f ff dd 19 	call  200f810 <sparc_disable_interrupts>       
 20183b0:	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;                    
 20183b4:	ee 07 bf f4 	ld  [ %fp + -12 ], %l7                         
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 20183b8:	80 a5 c0 11 	cmp  %l7, %l1                                  
 20183bc:	32 bf ff f3 	bne,a   2018388 <_Timer_server_Body+0x178>     
 20183c0:	c2 05 c0 00 	ld  [ %l7 ], %g1                               
        watchdog = (Watchdog_Control *) _Chain_Get_unprotected( &fire_chain );
        if ( watchdog != NULL ) {                                     
          watchdog->state = WATCHDOG_INACTIVE;                        
          _ISR_Enable( level );                                       
        } else {                                                      
          _ISR_Enable( level );                                       
 20183c4:	7f ff dd 17 	call  200f820 <sparc_enable_interrupts>        
 20183c8:	01 00 00 00 	nop                                            
 20183cc:	30 bf ff a7 	b,a   2018268 <_Timer_server_Body+0x58>        
         *  the active flag of the timer server is true.              
         */                                                           
        (*watchdog->routine)( watchdog->id, watchdog->user_data );    
      }                                                               
    } else {                                                          
      ts->active = false;                                             
 20183d0:	c0 2e 20 7c 	clrb  [ %i0 + 0x7c ]                           
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 20183d4:	c2 04 c0 00 	ld  [ %l3 ], %g1                               
 20183d8:	82 00 60 01 	inc  %g1                                       
 20183dc:	c2 24 c0 00 	st  %g1, [ %l3 ]                               
    return _Thread_Dispatch_disable_level;                            
 20183e0:	c2 04 c0 00 	ld  [ %l3 ], %g1                               
                                                                      
      /*                                                              
       *  Block until there is something to do.                       
       */                                                             
      _Thread_Disable_dispatch();                                     
        _Thread_Set_state( ts->thread, STATES_DELAYING );             
 20183e4:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 20183e8:	40 00 10 fa 	call  201c7d0 <_Thread_Set_state>              
 20183ec:	92 10 20 08 	mov  8, %o1                                    
        _Timer_server_Reset_interval_system_watchdog( ts );           
 20183f0:	7f ff ff 05 	call  2018004 <_Timer_server_Reset_interval_system_watchdog>
 20183f4:	90 10 00 18 	mov  %i0, %o0                                  
        _Timer_server_Reset_tod_system_watchdog( ts );                
 20183f8:	7f ff ff 17 	call  2018054 <_Timer_server_Reset_tod_system_watchdog>
 20183fc:	90 10 00 18 	mov  %i0, %o0                                  
      _Thread_Enable_dispatch();                                      
 2018400:	40 00 0e 70 	call  201bdc0 <_Thread_Enable_dispatch>        
 2018404:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2018408:	90 10 00 16 	mov  %l6, %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;                                              
 201840c:	e8 2e 20 7c 	stb  %l4, [ %i0 + 0x7c ]                       
                                                                      
static void _Timer_server_Stop_interval_system_watchdog(              
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->Interval_watchdogs.System_watchdog );        
 2018410:	40 00 12 e7 	call  201cfac <_Watchdog_Remove>               
 2018414:	01 00 00 00 	nop                                            
                                                                      
static void _Timer_server_Stop_tod_system_watchdog(                   
  Timer_server_Control *ts                                            
)                                                                     
{                                                                     
  _Watchdog_Remove( &ts->TOD_watchdogs.System_watchdog );             
 2018418:	40 00 12 e5 	call  201cfac <_Watchdog_Remove>               
 201841c:	90 10 00 15 	mov  %l5, %o0                                  
 2018420:	30 bf ff 92 	b,a   2018268 <_Timer_server_Body+0x58>        
                                                                      

020180a4 <_Timer_server_Schedule_operation_method>: static void _Timer_server_Schedule_operation_method( Timer_server_Control *ts, Timer_Control *timer ) {
 20180a4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( ts->insert_chain == NULL ) {                                   
 20180a8:	c2 06 20 78 	ld  [ %i0 + 0x78 ], %g1                        
 20180ac:	80 a0 60 00 	cmp  %g1, 0                                    
 20180b0:	02 80 00 05 	be  20180c4 <_Timer_server_Schedule_operation_method+0x20>
 20180b4:	ba 10 00 19 	mov  %i1, %i5                                  
     *  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 );           
 20180b8:	f0 06 20 78 	ld  [ %i0 + 0x78 ], %i0                        
 20180bc:	40 00 03 32 	call  2018d84 <_Chain_Append>                  
 20180c0:	81 e8 00 00 	restore                                        
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 20180c4:	03 00 80 f3 	sethi  %hi(0x203cc00), %g1                     
 20180c8:	c4 00 61 30 	ld  [ %g1 + 0x130 ], %g2	! 203cd30 <_Thread_Dispatch_disable_level>
 20180cc:	84 00 a0 01 	inc  %g2                                       
 20180d0:	c4 20 61 30 	st  %g2, [ %g1 + 0x130 ]                       
    return _Thread_Dispatch_disable_level;                            
 20180d4:	c2 00 61 30 	ld  [ %g1 + 0x130 ], %g1                       
   *  being inserted.  This could result in an integer overflow.      
   */                                                                 
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
 20180d8:	c2 06 60 38 	ld  [ %i1 + 0x38 ], %g1                        
 20180dc:	80 a0 60 01 	cmp  %g1, 1                                    
 20180e0:	02 80 00 2b 	be  201818c <_Timer_server_Schedule_operation_method+0xe8>
 20180e4:	80 a0 60 03 	cmp  %g1, 3                                    
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
                                                                      
    if ( !ts->active ) {                                              
      _Timer_server_Reset_interval_system_watchdog( ts );             
    }                                                                 
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
 20180e8:	02 80 00 04 	be  20180f8 <_Timer_server_Schedule_operation_method+0x54>
 20180ec:	01 00 00 00 	nop                                            
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
 20180f0:	40 00 0f 34 	call  201bdc0 <_Thread_Enable_dispatch>        
 20180f4:	81 e8 00 00 	restore                                        
  } else if ( timer->the_class == TIMER_TIME_OF_DAY_ON_TASK ) {       
    /*                                                                
     *  We have to advance the last known seconds value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
 20180f8:	7f ff dd c6 	call  200f810 <sparc_disable_interrupts>       
 20180fc:	01 00 00 00 	nop                                            
 2018100:	b8 10 00 08 	mov  %o0, %i4                                  
    snapshot = (Watchdog_Interval) _TOD_Seconds_since_epoch();        
 2018104:	03 00 80 f3 	sethi  %hi(0x203cc00), %g1                     
 2018108:	d0 18 60 78 	ldd  [ %g1 + 0x78 ], %o0	! 203cc78 <_TOD>      
 201810c:	94 10 20 00 	clr  %o2                                       
 2018110:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2018114:	40 00 52 12 	call  202c95c <__divdi3>                       
 2018118:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 201811c:	c2 06 20 68 	ld  [ %i0 + 0x68 ], %g1                        
    last_snapshot = ts->TOD_watchdogs.last_snapshot;                  
 2018120:	c4 06 20 74 	ld  [ %i0 + 0x74 ], %g2                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 2018124:	86 06 20 6c 	add  %i0, 0x6c, %g3                            
    if ( !_Chain_Is_empty( &ts->TOD_watchdogs.Chain ) ) {             
 2018128:	80 a0 40 03 	cmp  %g1, %g3                                  
 201812c:	02 80 00 0a 	be  2018154 <_Timer_server_Schedule_operation_method+0xb0>
 2018130:	80 a2 40 02 	cmp  %o1, %g2                                  
      first_watchdog = _Watchdog_First( &ts->TOD_watchdogs.Chain );   
      delta_interval = first_watchdog->delta_interval;                
      if ( snapshot > last_snapshot ) {                               
 2018134:	08 80 00 34 	bleu  2018204 <_Timer_server_Schedule_operation_method+0x160>
 2018138:	c8 00 60 10 	ld  [ %g1 + 0x10 ], %g4                        
        /*                                                            
         *  We advanced in time.                                      
         */                                                           
        delta = snapshot - last_snapshot;                             
 201813c:	84 22 40 02 	sub  %o1, %g2, %g2                             
        if (delta_interval > delta) {                                 
 2018140:	80 a1 00 02 	cmp  %g4, %g2                                  
 2018144:	08 80 00 03 	bleu  2018150 <_Timer_server_Schedule_operation_method+0xac><== NEVER TAKEN
 2018148:	86 10 20 00 	clr  %g3                                       
          delta_interval -= delta;                                    
 201814c:	86 21 00 02 	sub  %g4, %g2, %g3                             
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
        delta_interval += delta;                                      
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
 2018150:	c6 20 60 10 	st  %g3, [ %g1 + 0x10 ]                        
    }                                                                 
    ts->TOD_watchdogs.last_snapshot = snapshot;                       
 2018154:	d2 26 20 74 	st  %o1, [ %i0 + 0x74 ]                        
    _ISR_Enable( level );                                             
 2018158:	7f ff dd b2 	call  200f820 <sparc_enable_interrupts>        
 201815c:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
    _Watchdog_Insert( &ts->TOD_watchdogs.Chain, &timer->Ticker );     
 2018160:	90 06 20 68 	add  %i0, 0x68, %o0                            
 2018164:	40 00 13 33 	call  201ce30 <_Watchdog_Insert>               
 2018168:	92 07 60 10 	add  %i5, 0x10, %o1                            
                                                                      
    if ( !ts->active ) {                                              
 201816c:	c2 0e 20 7c 	ldub  [ %i0 + 0x7c ], %g1                      
 2018170:	80 a0 60 00 	cmp  %g1, 0                                    
 2018174:	12 bf ff df 	bne  20180f0 <_Timer_server_Schedule_operation_method+0x4c>
 2018178:	01 00 00 00 	nop                                            
      _Timer_server_Reset_tod_system_watchdog( ts );                  
 201817c:	7f ff ff b6 	call  2018054 <_Timer_server_Reset_tod_system_watchdog>
 2018180:	90 10 00 18 	mov  %i0, %o0                                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
 2018184:	40 00 0f 0f 	call  201bdc0 <_Thread_Enable_dispatch>        
 2018188:	81 e8 00 00 	restore                                        
  if ( timer->the_class == TIMER_INTERVAL_ON_TASK ) {                 
    /*                                                                
     *  We have to advance the last known ticks value of the server and update
     *  the watchdog chain accordingly.                               
     */                                                               
    _ISR_Disable( level );                                            
 201818c:	7f ff dd a1 	call  200f810 <sparc_disable_interrupts>       
 2018190:	01 00 00 00 	nop                                            
    snapshot = _Watchdog_Ticks_since_boot;                            
 2018194:	05 00 80 f3 	sethi  %hi(0x203cc00), %g2                     
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2018198:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 201819c:	c4 00 a2 28 	ld  [ %g2 + 0x228 ], %g2                       
    last_snapshot = ts->Interval_watchdogs.last_snapshot;             
 20181a0:	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 );                            
 20181a4:	86 06 20 34 	add  %i0, 0x34, %g3                            
    if ( !_Chain_Is_empty( &ts->Interval_watchdogs.Chain ) ) {        
 20181a8:	80 a0 40 03 	cmp  %g1, %g3                                  
 20181ac:	02 80 00 08 	be  20181cc <_Timer_server_Schedule_operation_method+0x128>
 20181b0:	88 20 80 04 	sub  %g2, %g4, %g4                             
      /*                                                              
       *  We assume adequate unsigned arithmetic here.                
       */                                                             
      delta = snapshot - last_snapshot;                               
                                                                      
      delta_interval = first_watchdog->delta_interval;                
 20181b4:	f8 00 60 10 	ld  [ %g1 + 0x10 ], %i4                        
      if (delta_interval > delta) {                                   
 20181b8:	80 a1 00 1c 	cmp  %g4, %i4                                  
 20181bc:	1a 80 00 03 	bcc  20181c8 <_Timer_server_Schedule_operation_method+0x124>
 20181c0:	86 10 20 00 	clr  %g3                                       
        delta_interval -= delta;                                      
 20181c4:	86 27 00 04 	sub  %i4, %g4, %g3                             
      } else {                                                        
        delta_interval = 0;                                           
      }                                                               
      first_watchdog->delta_interval = delta_interval;                
 20181c8:	c6 20 60 10 	st  %g3, [ %g1 + 0x10 ]                        
    }                                                                 
    ts->Interval_watchdogs.last_snapshot = snapshot;                  
 20181cc:	c4 26 20 3c 	st  %g2, [ %i0 + 0x3c ]                        
    _ISR_Enable( level );                                             
 20181d0:	7f ff dd 94 	call  200f820 <sparc_enable_interrupts>        
 20181d4:	01 00 00 00 	nop                                            
                                                                      
    _Watchdog_Insert( &ts->Interval_watchdogs.Chain, &timer->Ticker );
 20181d8:	90 06 20 30 	add  %i0, 0x30, %o0                            
 20181dc:	40 00 13 15 	call  201ce30 <_Watchdog_Insert>               
 20181e0:	92 07 60 10 	add  %i5, 0x10, %o1                            
                                                                      
    if ( !ts->active ) {                                              
 20181e4:	c2 0e 20 7c 	ldub  [ %i0 + 0x7c ], %g1                      
 20181e8:	80 a0 60 00 	cmp  %g1, 0                                    
 20181ec:	12 bf ff c1 	bne  20180f0 <_Timer_server_Schedule_operation_method+0x4c>
 20181f0:	01 00 00 00 	nop                                            
      _Timer_server_Reset_interval_system_watchdog( ts );             
 20181f4:	7f ff ff 84 	call  2018004 <_Timer_server_Reset_interval_system_watchdog>
 20181f8:	90 10 00 18 	mov  %i0, %o0                                  
    if ( !ts->active ) {                                              
      _Timer_server_Reset_tod_system_watchdog( ts );                  
    }                                                                 
  }                                                                   
                                                                      
  _Thread_Enable_dispatch();                                          
 20181fc:	40 00 0e f1 	call  201bdc0 <_Thread_Enable_dispatch>        
 2018200:	81 e8 00 00 	restore                                        
        }                                                             
      } else {                                                        
        /*                                                            
         *  Someone put us in the past.                               
         */                                                           
        delta = last_snapshot - snapshot;                             
 2018204:	84 01 00 02 	add  %g4, %g2, %g2                             
        delta_interval += delta;                                      
 2018208:	10 bf ff d2 	b  2018150 <_Timer_server_Schedule_operation_method+0xac>
 201820c:	86 20 80 09 	sub  %g2, %o1, %g3                             
                                                                      

0200d218 <_Timespec_Add_to>: ) { uint32_t seconds = add->tv_sec; /* Add the basics */ time->tv_sec += add->tv_sec;
 200d218:	d8 02 00 00 	ld  [ %o0 ], %o4                               
uint32_t _Timespec_Add_to(                                            
  struct timespec       *time,                                        
  const struct timespec *add                                          
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
 200d21c:	c4 02 40 00 	ld  [ %o1 ], %g2                               
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
 200d220:	c6 02 20 04 	ld  [ %o0 + 4 ], %g3                           
 200d224:	c2 02 60 04 	ld  [ %o1 + 4 ], %g1                           
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
 200d228:	98 03 00 02 	add  %o4, %g2, %o4                             
  time->tv_nsec += add->tv_nsec;                                      
 200d22c:	82 00 c0 01 	add  %g3, %g1, %g1                             
)                                                                     
{                                                                     
  uint32_t seconds = add->tv_sec;                                     
                                                                      
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
 200d230:	d8 22 00 00 	st  %o4, [ %o0 ]                               
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
 200d234:	09 0e e6 b2 	sethi  %hi(0x3b9ac800), %g4                    
 200d238:	88 11 21 ff 	or  %g4, 0x1ff, %g4	! 3b9ac9ff <RAM_END+0x395ac9ff>
 200d23c:	80 a0 40 04 	cmp  %g1, %g4                                  
 200d240:	08 80 00 0d 	bleu  200d274 <_Timespec_Add_to+0x5c>          
 200d244:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
 200d248:	98 03 20 01 	inc  %o4                                       
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
 200d24c:	1b 31 19 4d 	sethi  %hi(0xc4653400), %o5                    
 *                                                                    
 *  This routines adds two timespecs.  The second argument is added   
 *  to the first.                                                     
 */                                                                   
                                                                      
uint32_t _Timespec_Add_to(                                            
 200d250:	98 23 00 02 	sub  %o4, %g2, %o4                             
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
    time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                      
 200d254:	9a 13 62 00 	or  %o5, 0x200, %o5                            
 200d258:	82 00 40 0d 	add  %g1, %o5, %g1                             
 *                                                                    
 *  This routines adds two timespecs.  The second argument is added   
 *  to the first.                                                     
 */                                                                   
                                                                      
uint32_t _Timespec_Add_to(                                            
 200d25c:	86 03 00 02 	add  %o4, %g2, %g3                             
  /* Add the basics */                                                
  time->tv_sec += add->tv_sec;                                        
  time->tv_nsec += add->tv_nsec;                                      
                                                                      
  /* Now adjust it so nanoseconds is in range */                      
  while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {             
 200d260:	80 a0 40 04 	cmp  %g1, %g4                                  
 200d264:	18 bf ff fd 	bgu  200d258 <_Timespec_Add_to+0x40>           <== NEVER TAKEN
 200d268:	84 00 a0 01 	inc  %g2                                       
 200d26c:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
 200d270:	c6 22 00 00 	st  %g3, [ %o0 ]                               
    time->tv_sec++;                                                   
    seconds++;                                                        
  }                                                                   
                                                                      
  return seconds;                                                     
}                                                                     
 200d274:	81 c3 e0 08 	retl                                           
 200d278:	90 10 00 02 	mov  %g2, %o0                                  
                                                                      

0200cce0 <_Timestamp64_Divide>: const Timestamp64_Control *_lhs, const Timestamp64_Control *_rhs, uint32_t *_ival_percentage, uint32_t *_fval_percentage ) {
 200cce0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Timestamp64_Control answer;                                         
                                                                      
  if ( *_rhs == 0 ) {                                                 
 200cce4:	d4 1e 40 00 	ldd  [ %i1 ], %o2                              
 200cce8:	80 92 80 0b 	orcc  %o2, %o3, %g0                            
 200ccec:	22 80 00 2f 	be,a   200cda8 <_Timestamp64_Divide+0xc8>      <== NEVER TAKEN
 200ccf0:	c0 26 80 00 	clr  [ %i2 ]                                   <== NOT EXECUTED
   *  This looks odd but gives the results the proper precision.      
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
 200ccf4:	d0 1e 00 00 	ldd  [ %i0 ], %o0                              
 200ccf8:	83 2a 20 02 	sll  %o0, 2, %g1                               
 200ccfc:	89 32 60 1e 	srl  %o1, 0x1e, %g4                            
 200cd00:	87 2a 60 02 	sll  %o1, 2, %g3                               
 200cd04:	84 11 00 01 	or  %g4, %g1, %g2                              
 200cd08:	83 30 e0 1b 	srl  %g3, 0x1b, %g1                            
 200cd0c:	9b 28 e0 05 	sll  %g3, 5, %o5                               
 200cd10:	99 28 a0 05 	sll  %g2, 5, %o4                               
 200cd14:	86 a3 40 03 	subcc  %o5, %g3, %g3                           
 200cd18:	98 10 40 0c 	or  %g1, %o4, %o4                              
 200cd1c:	84 63 00 02 	subx  %o4, %g2, %g2                            
 200cd20:	92 80 c0 09 	addcc  %g3, %o1, %o1                           
 200cd24:	83 32 60 1e 	srl  %o1, 0x1e, %g1                            
 200cd28:	90 40 80 08 	addx  %g2, %o0, %o0                            
 200cd2c:	b3 2a 60 02 	sll  %o1, 2, %i1                               
 200cd30:	b1 2a 20 02 	sll  %o0, 2, %i0                               
 200cd34:	92 82 40 19 	addcc  %o1, %i1, %o1                           
 200cd38:	b0 10 40 18 	or  %g1, %i0, %i0                              
 200cd3c:	83 32 60 1e 	srl  %o1, 0x1e, %g1                            
 200cd40:	90 42 00 18 	addx  %o0, %i0, %o0                            
 200cd44:	bb 2a 60 02 	sll  %o1, 2, %i5                               
 200cd48:	b9 2a 20 02 	sll  %o0, 2, %i4                               
 200cd4c:	92 82 40 1d 	addcc  %o1, %i5, %o1                           
 200cd50:	b8 10 40 1c 	or  %g1, %i4, %i4                              
 200cd54:	87 32 60 1b 	srl  %o1, 0x1b, %g3                            
 200cd58:	90 42 00 1c 	addx  %o0, %i4, %o0                            
 200cd5c:	83 2a 60 05 	sll  %o1, 5, %g1                               
 200cd60:	85 2a 20 05 	sll  %o0, 5, %g2                               
 200cd64:	92 10 00 01 	mov  %g1, %o1                                  
 200cd68:	40 00 3b 79 	call  201bb4c <__divdi3>                       
 200cd6c:	90 10 c0 02 	or  %g3, %g2, %o0                              
                                                                      
  *_ival_percentage = answer / 1000;                                  
 200cd70:	94 10 20 00 	clr  %o2                                       
   *  This looks odd but gives the results the proper precision.      
   *                                                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
 200cd74:	b8 10 00 08 	mov  %o0, %i4                                  
 200cd78:	ba 10 00 09 	mov  %o1, %i5                                  
                                                                      
  *_ival_percentage = answer / 1000;                                  
 200cd7c:	40 00 3b 74 	call  201bb4c <__divdi3>                       
 200cd80:	96 10 23 e8 	mov  0x3e8, %o3                                
  *_fval_percentage = answer % 1000;                                  
 200cd84:	90 10 00 1c 	mov  %i4, %o0                                  
   *  TODO: Rounding on the last digit of the fval.                   
   */                                                                 
                                                                      
  answer = (*_lhs * 100000) / *_rhs;                                  
                                                                      
  *_ival_percentage = answer / 1000;                                  
 200cd88:	d2 26 80 00 	st  %o1, [ %i2 ]                               
  *_fval_percentage = answer % 1000;                                  
 200cd8c:	94 10 20 00 	clr  %o2                                       
 200cd90:	96 10 23 e8 	mov  0x3e8, %o3                                
 200cd94:	40 00 3c 59 	call  201bef8 <__moddi3>                       
 200cd98:	92 10 00 1d 	mov  %i5, %o1                                  
 200cd9c:	d2 26 c0 00 	st  %o1, [ %i3 ]                               
 200cda0:	81 c7 e0 08 	ret                                            
 200cda4:	81 e8 00 00 	restore                                        
{                                                                     
  Timestamp64_Control answer;                                         
                                                                      
  if ( *_rhs == 0 ) {                                                 
    *_ival_percentage = 0;                                            
    *_fval_percentage = 0;                                            
 200cda8:	c0 26 c0 00 	clr  [ %i3 ]                                   <== NOT EXECUTED
    return;                                                           
 200cdac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200cdb0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200b538 <_User_extensions_Fatal>: void _User_extensions_Fatal ( Internal_errors_Source the_source, bool is_internal, Internal_errors_t the_error ) {
 200b538:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200b53c:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 200b540:	b8 17 22 88 	or  %i4, 0x288, %i4	! 201ea88 <_User_extensions_List>
 200b544:	fa 07 20 08 	ld  [ %i4 + 8 ], %i5                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
 200b548:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b54c:	02 80 00 0d 	be  200b580 <_User_extensions_Fatal+0x48>      <== NEVER TAKEN
 200b550:	01 00 00 00 	nop                                            
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.fatal != NULL )                      
 200b554:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
 200b558:	80 a0 60 00 	cmp  %g1, 0                                    
 200b55c:	02 80 00 05 	be  200b570 <_User_extensions_Fatal+0x38>      
 200b560:	90 10 00 18 	mov  %i0, %o0                                  
      (*the_extension->Callouts.fatal)( the_source, is_internal, the_error );
 200b564:	92 10 00 19 	mov  %i1, %o1                                  
 200b568:	9f c0 40 00 	call  %g1                                      
 200b56c:	94 10 00 1a 	mov  %i2, %o2                                  
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
 200b570:	fa 07 60 04 	ld  [ %i5 + 4 ], %i5                           
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
 200b574:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b578:	32 bf ff f8 	bne,a   200b558 <_User_extensions_Fatal+0x20>  
 200b57c:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
 200b580:	81 c7 e0 08 	ret                                            
 200b584:	81 e8 00 00 	restore                                        
                                                                      

0200b3e4 <_User_extensions_Handler_initialization>: #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <string.h> void _User_extensions_Handler_initialization(void) {
 200b3e4:	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;  
 200b3e8:	07 00 80 76 	sethi  %hi(0x201d800), %g3                     
 200b3ec:	86 10 e2 cc 	or  %g3, 0x2cc, %g3	! 201dacc <Configuration>  
  initial_extensions   = Configuration.User_extension_table;          
 200b3f0:	f6 00 e0 48 	ld  [ %g3 + 0x48 ], %i3                        
 200b3f4:	3b 00 80 7a 	sethi  %hi(0x201e800), %i5                     
 200b3f8:	09 00 80 7a 	sethi  %hi(0x201e800), %g4                     
 200b3fc:	84 17 62 88 	or  %i5, 0x288, %g2                            
 200b400:	82 11 20 b4 	or  %g4, 0xb4, %g1                             
 200b404:	b4 00 a0 04 	add  %g2, 4, %i2                               
 200b408:	b8 00 60 04 	add  %g1, 4, %i4                               
 200b40c:	f4 27 62 88 	st  %i2, [ %i5 + 0x288 ]                       
  head->previous = NULL;                                              
 200b410:	c0 20 a0 04 	clr  [ %g2 + 4 ]                               
  tail->previous = head;                                              
 200b414:	c4 20 a0 08 	st  %g2, [ %g2 + 8 ]                           
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200b418:	f8 21 20 b4 	st  %i4, [ %g4 + 0xb4 ]                        
  head->previous = NULL;                                              
 200b41c:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
  tail->previous = head;                                              
 200b420:	c2 20 60 08 	st  %g1, [ %g1 + 8 ]                           
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
 200b424:	80 a6 e0 00 	cmp  %i3, 0                                    
 200b428:	02 80 00 1b 	be  200b494 <_User_extensions_Handler_initialization+0xb0><== NEVER TAKEN
 200b42c:	f4 00 e0 44 	ld  [ %g3 + 0x44 ], %i2                        
    extension = (User_extensions_Control *)                           
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
 200b430:	83 2e a0 02 	sll  %i2, 2, %g1                               
 200b434:	b9 2e a0 04 	sll  %i2, 4, %i4                               
 200b438:	b8 27 00 01 	sub  %i4, %g1, %i4                             
 200b43c:	b8 07 00 1a 	add  %i4, %i2, %i4                             
 200b440:	b9 2f 20 02 	sll  %i4, 2, %i4                               
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 200b444:	40 00 01 98 	call  200baa4 <_Workspace_Allocate_or_fatal_error>
 200b448:	90 10 00 1c 	mov  %i4, %o0                                  
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 200b44c:	92 10 20 00 	clr  %o1                                       
                                                                      
  _Chain_Initialize_empty( &_User_extensions_List );                  
  _Chain_Initialize_empty( &_User_extensions_Switches_list );         
                                                                      
  if ( initial_extensions ) {                                         
    extension = (User_extensions_Control *)                           
 200b450:	ba 10 00 08 	mov  %o0, %i5                                  
      _Workspace_Allocate_or_fatal_error(                             
        number_of_extensions * sizeof( User_extensions_Control )      
      );                                                              
                                                                      
    memset (                                                          
 200b454:	40 00 17 6c 	call  2011204 <memset>                         
 200b458:	94 10 00 1c 	mov  %i4, %o2                                  
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
 200b45c:	80 a6 a0 00 	cmp  %i2, 0                                    
 200b460:	02 80 00 0d 	be  200b494 <_User_extensions_Handler_initialization+0xb0><== NEVER TAKEN
 200b464:	b8 10 20 00 	clr  %i4                                       
RTEMS_INLINE_ROUTINE void _User_extensions_Add_set_with_table(        
  User_extensions_Control     *extension,                             
  const User_extensions_Table *extension_table                        
)                                                                     
{                                                                     
  extension->Callouts = *extension_table;                             
 200b468:	92 10 00 1b 	mov  %i3, %o1                                  
 200b46c:	94 10 20 20 	mov  0x20, %o2                                 
 200b470:	40 00 17 28 	call  2011110 <memcpy>                         
 200b474:	90 07 60 14 	add  %i5, 0x14, %o0                            
                                                                      
  _User_extensions_Add_set( extension );                              
 200b478:	40 00 0d 6f 	call  200ea34 <_User_extensions_Add_set>       
 200b47c:	90 10 00 1d 	mov  %i5, %o0                                  
 200b480:	b8 07 20 01 	inc  %i4                                       
      _User_extensions_Add_set_with_table (extension, &initial_extensions[i]);
      extension++;                                                    
 200b484:	ba 07 60 34 	add  %i5, 0x34, %i5                            
      extension,                                                      
      0,                                                              
      number_of_extensions * sizeof( User_extensions_Control )        
    );                                                                
                                                                      
    for ( i = 0 ; i < number_of_extensions ; i++ ) {                  
 200b488:	80 a7 00 1a 	cmp  %i4, %i2                                  
 200b48c:	12 bf ff f7 	bne  200b468 <_User_extensions_Handler_initialization+0x84>
 200b490:	b6 06 e0 20 	add  %i3, 0x20, %i3                            
 200b494:	81 c7 e0 08 	ret                                            
 200b498:	81 e8 00 00 	restore                                        
                                                                      

0200b49c <_User_extensions_Thread_begin>: #include <rtems/score/userext.h> void _User_extensions_Thread_begin ( Thread_Control *executing ) {
 200b49c:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200b4a0:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 200b4a4:	fa 07 22 88 	ld  [ %i4 + 0x288 ], %i5	! 201ea88 <_User_extensions_List>
 200b4a8:	b8 17 22 88 	or  %i4, 0x288, %i4                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
 200b4ac:	b8 07 20 04 	add  %i4, 4, %i4                               
 200b4b0:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b4b4:	02 80 00 0c 	be  200b4e4 <_User_extensions_Thread_begin+0x48><== NEVER TAKEN
 200b4b8:	01 00 00 00 	nop                                            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_begin != NULL )               
 200b4bc:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 200b4c0:	80 a0 60 00 	cmp  %g1, 0                                    
 200b4c4:	02 80 00 04 	be  200b4d4 <_User_extensions_Thread_begin+0x38>
 200b4c8:	90 10 00 18 	mov  %i0, %o0                                  
      (*the_extension->Callouts.thread_begin)( executing );           
 200b4cc:	9f c0 40 00 	call  %g1                                      
 200b4d0:	01 00 00 00 	nop                                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
 200b4d4:	fa 07 40 00 	ld  [ %i5 ], %i5                               
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
 200b4d8:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b4dc:	32 bf ff f9 	bne,a   200b4c0 <_User_extensions_Thread_begin+0x24>
 200b4e0:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 200b4e4:	81 c7 e0 08 	ret                                            
 200b4e8:	81 e8 00 00 	restore                                        
                                                                      

0200b588 <_User_extensions_Thread_create>: #include <rtems/score/userext.h> bool _User_extensions_Thread_create ( Thread_Control *the_thread ) {
 200b588:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200b58c:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 200b590:	fa 07 22 88 	ld  [ %i4 + 0x288 ], %i5	! 201ea88 <_User_extensions_List>
 200b594:	b8 17 22 88 	or  %i4, 0x288, %i4                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
 200b598:	b8 07 20 04 	add  %i4, 4, %i4                               
 200b59c:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b5a0:	02 80 00 10 	be  200b5e0 <_User_extensions_Thread_create+0x58><== NEVER TAKEN
 200b5a4:	37 00 80 7b 	sethi  %hi(0x201ec00), %i3                     
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_create != NULL ) {            
 200b5a8:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 200b5ac:	80 a0 60 00 	cmp  %g1, 0                                    
 200b5b0:	02 80 00 08 	be  200b5d0 <_User_extensions_Thread_create+0x48>
 200b5b4:	84 16 e1 e0 	or  %i3, 0x1e0, %g2                            
      status = (*the_extension->Callouts.thread_create)(              
 200b5b8:	d0 00 a0 0c 	ld  [ %g2 + 0xc ], %o0                         
 200b5bc:	9f c0 40 00 	call  %g1                                      
 200b5c0:	92 10 00 18 	mov  %i0, %o1                                  
        _Thread_Executing,                                            
        the_thread                                                    
      );                                                              
      if ( !status )                                                  
 200b5c4:	80 8a 20 ff 	btst  0xff, %o0                                
 200b5c8:	22 80 00 0a 	be,a   200b5f0 <_User_extensions_Thread_create+0x68>
 200b5cc:	b0 10 20 00 	clr  %i0                                       
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
 200b5d0:	fa 07 40 00 	ld  [ %i5 ], %i5                               
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
  bool                     status;                                    
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
 200b5d4:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b5d8:	32 bf ff f5 	bne,a   200b5ac <_User_extensions_Thread_create+0x24>
 200b5dc:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
      if ( !status )                                                  
        return false;                                                 
    }                                                                 
  }                                                                   
                                                                      
  return true;                                                        
 200b5e0:	b0 10 20 01 	mov  1, %i0                                    
}                                                                     
 200b5e4:	b0 0e 20 01 	and  %i0, 1, %i0                               
 200b5e8:	81 c7 e0 08 	ret                                            
 200b5ec:	81 e8 00 00 	restore                                        
 200b5f0:	b0 0e 20 01 	and  %i0, 1, %i0                               
 200b5f4:	81 c7 e0 08 	ret                                            
 200b5f8:	81 e8 00 00 	restore                                        
                                                                      

0200b5fc <_User_extensions_Thread_delete>: #include <rtems/score/userext.h> void _User_extensions_Thread_delete ( Thread_Control *the_thread ) {
 200b5fc:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Last(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Tail( the_chain )->previous;                          
 200b600:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 200b604:	b8 17 22 88 	or  %i4, 0x288, %i4	! 201ea88 <_User_extensions_List>
 200b608:	fa 07 20 08 	ld  [ %i4 + 8 ], %i5                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
 200b60c:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b610:	02 80 00 0d 	be  200b644 <_User_extensions_Thread_delete+0x48><== NEVER TAKEN
 200b614:	37 00 80 7b 	sethi  %hi(0x201ec00), %i3                     
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_delete != NULL )              
 200b618:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 200b61c:	80 a0 60 00 	cmp  %g1, 0                                    
 200b620:	02 80 00 05 	be  200b634 <_User_extensions_Thread_delete+0x38>
 200b624:	84 16 e1 e0 	or  %i3, 0x1e0, %g2                            
      (*the_extension->Callouts.thread_delete)(                       
 200b628:	d0 00 a0 0c 	ld  [ %g2 + 0xc ], %o0                         
 200b62c:	9f c0 40 00 	call  %g1                                      
 200b630:	92 10 00 18 	mov  %i0, %o1                                  
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
 200b634:	fa 07 60 04 	ld  [ %i5 + 4 ], %i5                           
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
 200b638:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b63c:	32 bf ff f8 	bne,a   200b61c <_User_extensions_Thread_delete+0x20>
 200b640:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 200b644:	81 c7 e0 08 	ret                                            
 200b648:	81 e8 00 00 	restore                                        
                                                                      

0200b4ec <_User_extensions_Thread_exitted>: } void _User_extensions_Thread_exitted ( Thread_Control *executing ) {
 200b4ec:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Last(                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Tail( the_chain )->previous;                          
 200b4f0:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 200b4f4:	b8 17 22 88 	or  %i4, 0x288, %i4	! 201ea88 <_User_extensions_List>
 200b4f8:	fa 07 20 08 	ld  [ %i4 + 8 ], %i5                           
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
 200b4fc:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b500:	02 80 00 0c 	be  200b530 <_User_extensions_Thread_exitted+0x44><== NEVER TAKEN
 200b504:	01 00 00 00 	nop                                            
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_exitted != NULL )             
 200b508:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
 200b50c:	80 a0 60 00 	cmp  %g1, 0                                    
 200b510:	02 80 00 04 	be  200b520 <_User_extensions_Thread_exitted+0x34>
 200b514:	90 10 00 18 	mov  %i0, %o0                                  
      (*the_extension->Callouts.thread_exitted)( executing );         
 200b518:	9f c0 40 00 	call  %g1                                      
 200b51c:	01 00 00 00 	nop                                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
        !_Chain_Is_head( &_User_extensions_List, the_node ) ;         
        the_node = the_node->previous ) {                             
 200b520:	fa 07 60 04 	ld  [ %i5 + 4 ], %i5                           
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_Last( &_User_extensions_List );             
 200b524:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b528:	32 bf ff f9 	bne,a   200b50c <_User_extensions_Thread_exitted+0x20>
 200b52c:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
 200b530:	81 c7 e0 08 	ret                                            
 200b534:	81 e8 00 00 	restore                                        
                                                                      

0200bea8 <_User_extensions_Thread_restart>: #include <rtems/score/userext.h> void _User_extensions_Thread_restart ( Thread_Control *the_thread ) {
 200bea8:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200beac:	39 00 80 7d 	sethi  %hi(0x201f400), %i4                     
 200beb0:	fa 07 21 b8 	ld  [ %i4 + 0x1b8 ], %i5	! 201f5b8 <_User_extensions_List>
 200beb4:	b8 17 21 b8 	or  %i4, 0x1b8, %i4                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
 200beb8:	b8 07 20 04 	add  %i4, 4, %i4                               
 200bebc:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200bec0:	02 80 00 0d 	be  200bef4 <_User_extensions_Thread_restart+0x4c><== NEVER TAKEN
 200bec4:	37 00 80 7e 	sethi  %hi(0x201f800), %i3                     
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_restart != NULL )             
 200bec8:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200becc:	80 a0 60 00 	cmp  %g1, 0                                    
 200bed0:	02 80 00 05 	be  200bee4 <_User_extensions_Thread_restart+0x3c>
 200bed4:	84 16 e1 10 	or  %i3, 0x110, %g2                            
      (*the_extension->Callouts.thread_restart)(                      
 200bed8:	d0 00 a0 0c 	ld  [ %g2 + 0xc ], %o0                         
 200bedc:	9f c0 40 00 	call  %g1                                      
 200bee0:	92 10 00 18 	mov  %i0, %o1                                  
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
 200bee4:	fa 07 40 00 	ld  [ %i5 ], %i5                               
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
 200bee8:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200beec:	32 bf ff f8 	bne,a   200becc <_User_extensions_Thread_restart+0x24>
 200bef0:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200bef4:	81 c7 e0 08 	ret                                            
 200bef8:	81 e8 00 00 	restore                                        
                                                                      

0200b64c <_User_extensions_Thread_start>: #include <rtems/score/userext.h> void _User_extensions_Thread_start ( Thread_Control *the_thread ) {
 200b64c:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200b650:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 200b654:	fa 07 22 88 	ld  [ %i4 + 0x288 ], %i5	! 201ea88 <_User_extensions_List>
 200b658:	b8 17 22 88 	or  %i4, 0x288, %i4                            
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
 200b65c:	b8 07 20 04 	add  %i4, 4, %i4                               
 200b660:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b664:	02 80 00 0d 	be  200b698 <_User_extensions_Thread_start+0x4c><== NEVER TAKEN
 200b668:	37 00 80 7b 	sethi  %hi(0x201ec00), %i3                     
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
                                                                      
    the_extension = (User_extensions_Control *) the_node;             
                                                                      
    if ( the_extension->Callouts.thread_start != NULL )               
 200b66c:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 200b670:	80 a0 60 00 	cmp  %g1, 0                                    
 200b674:	02 80 00 05 	be  200b688 <_User_extensions_Thread_start+0x3c>
 200b678:	84 16 e1 e0 	or  %i3, 0x1e0, %g2                            
      (*the_extension->Callouts.thread_start)(                        
 200b67c:	d0 00 a0 0c 	ld  [ %g2 + 0xc ], %o0                         
 200b680:	9f c0 40 00 	call  %g1                                      
 200b684:	92 10 00 18 	mov  %i0, %o1                                  
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
        !_Chain_Is_tail( &_User_extensions_List, the_node ) ;         
        the_node = the_node->next ) {                                 
 200b688:	fa 07 40 00 	ld  [ %i5 ], %i5                               
)                                                                     
{                                                                     
  Chain_Node              *the_node;                                  
  User_extensions_Control *the_extension;                             
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_List );            
 200b68c:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b690:	32 bf ff f8 	bne,a   200b670 <_User_extensions_Thread_start+0x24>
 200b694:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 200b698:	81 c7 e0 08 	ret                                            
 200b69c:	81 e8 00 00 	restore                                        
                                                                      

0200b6a0 <_User_extensions_Thread_switch>: void _User_extensions_Thread_switch ( Thread_Control *executing, Thread_Control *heir ) {
 200b6a0:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200b6a4:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 200b6a8:	fa 07 20 b4 	ld  [ %i4 + 0xb4 ], %i5	! 201e8b4 <_User_extensions_Switches_list>
 200b6ac:	b8 17 20 b4 	or  %i4, 0xb4, %i4                             
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
 200b6b0:	b8 07 20 04 	add  %i4, 4, %i4                               
 200b6b4:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b6b8:	02 80 00 0a 	be  200b6e0 <_User_extensions_Thread_switch+0x40><== NEVER TAKEN
 200b6bc:	01 00 00 00 	nop                                            
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
                                                                      
    the_extension_switch = (User_extensions_Switch_control *) the_node;
                                                                      
    (*the_extension_switch->thread_switch)( executing, heir );        
 200b6c0:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200b6c4:	90 10 00 18 	mov  %i0, %o0                                  
 200b6c8:	9f c0 40 00 	call  %g1                                      
 200b6cc:	92 10 00 19 	mov  %i1, %o1                                  
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
        !_Chain_Is_tail( &_User_extensions_Switches_list, the_node ) ;
        the_node = the_node->next ) {                                 
 200b6d0:	fa 07 40 00 	ld  [ %i5 ], %i5                               
)                                                                     
{                                                                     
  Chain_Node                     *the_node;                           
  User_extensions_Switch_control *the_extension_switch;               
                                                                      
  for ( the_node = _Chain_First( &_User_extensions_Switches_list );   
 200b6d4:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200b6d8:	32 bf ff fb 	bne,a   200b6c4 <_User_extensions_Thread_switch+0x24>
 200b6dc:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200b6e0:	81 c7 e0 08 	ret                                            
 200b6e4:	81 e8 00 00 	restore                                        
                                                                      

0200d0f8 <_Watchdog_Adjust>: void _Watchdog_Adjust( Chain_Control *header, Watchdog_Adjust_directions direction, Watchdog_Interval units ) {
 200d0f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level level;                                                    
                                                                      
  _ISR_Disable( level );                                              
 200d0fc:	7f ff d8 e8 	call  200349c <sparc_disable_interrupts>       
 200d100:	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;                    
 200d104:	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 );                            
 200d108:	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 ) ) {                                 
 200d10c:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200d110:	02 80 00 1f 	be  200d18c <_Watchdog_Adjust+0x94>            
 200d114:	80 a6 60 00 	cmp  %i1, 0                                    
    switch ( direction ) {                                            
 200d118:	12 80 00 1f 	bne  200d194 <_Watchdog_Adjust+0x9c>           
 200d11c:	80 a6 60 01 	cmp  %i1, 1                                    
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 200d120:	80 a6 a0 00 	cmp  %i2, 0                                    
 200d124:	02 80 00 1a 	be  200d18c <_Watchdog_Adjust+0x94>            <== NEVER TAKEN
 200d128:	01 00 00 00 	nop                                            
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 200d12c:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200d130:	80 a6 80 02 	cmp  %i2, %g2                                  
 200d134:	1a 80 00 0a 	bcc  200d15c <_Watchdog_Adjust+0x64>           <== ALWAYS TAKEN
 200d138:	b6 10 20 01 	mov  1, %i3                                    
            _Watchdog_First( header )->delta_interval -= units;       
 200d13c:	10 80 00 1d 	b  200d1b0 <_Watchdog_Adjust+0xb8>             <== NOT EXECUTED
 200d140:	84 20 80 1a 	sub  %g2, %i2, %g2                             <== NOT EXECUTED
    switch ( direction ) {                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
 200d144:	02 80 00 12 	be  200d18c <_Watchdog_Adjust+0x94>            <== NEVER TAKEN
 200d148:	01 00 00 00 	nop                                            
          if ( units < _Watchdog_First( header )->delta_interval ) {  
 200d14c:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200d150:	80 a0 80 1a 	cmp  %g2, %i2                                  
 200d154:	38 80 00 17 	bgu,a   200d1b0 <_Watchdog_Adjust+0xb8>        
 200d158:	84 20 80 1a 	sub  %g2, %i2, %g2                             
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
            _Watchdog_First( header )->delta_interval = 1;            
 200d15c:	f6 20 60 10 	st  %i3, [ %g1 + 0x10 ]                        
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
          } else {                                                    
            units -= _Watchdog_First( header )->delta_interval;       
 200d160:	b4 26 80 02 	sub  %i2, %g2, %i2                             
            _Watchdog_First( header )->delta_interval = 1;            
                                                                      
            _ISR_Enable( level );                                     
 200d164:	7f ff d8 d2 	call  20034ac <sparc_enable_interrupts>        
 200d168:	01 00 00 00 	nop                                            
                                                                      
            _Watchdog_Tickle( header );                               
 200d16c:	40 00 00 a8 	call  200d40c <_Watchdog_Tickle>               
 200d170:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
            _ISR_Disable( level );                                    
 200d174:	7f ff d8 ca 	call  200349c <sparc_disable_interrupts>       
 200d178:	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;                    
 200d17c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
                                                                      
            if ( _Chain_Is_empty( header ) )                          
 200d180:	80 a7 00 01 	cmp  %i4, %g1                                  
 200d184:	12 bf ff f0 	bne  200d144 <_Watchdog_Adjust+0x4c>           
 200d188:	80 a6 a0 00 	cmp  %i2, 0                                    
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200d18c:	7f ff d8 c8 	call  20034ac <sparc_enable_interrupts>        
 200d190:	91 e8 00 08 	restore  %g0, %o0, %o0                         
   *       unmodified across that call.                               
   *                                                                  
   *       Till Straumann, 7/2003                                     
   */                                                                 
  if ( !_Chain_Is_empty( header ) ) {                                 
    switch ( direction ) {                                            
 200d194:	12 bf ff fe 	bne  200d18c <_Watchdog_Adjust+0x94>           <== NEVER TAKEN
 200d198:	01 00 00 00 	nop                                            
      case WATCHDOG_BACKWARD:                                         
        _Watchdog_First( header )->delta_interval += units;           
 200d19c:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 200d1a0:	b4 00 80 1a 	add  %g2, %i2, %i2                             
 200d1a4:	f4 20 60 10 	st  %i2, [ %g1 + 0x10 ]                        
        }                                                             
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  _ISR_Enable( level );                                               
 200d1a8:	7f ff d8 c1 	call  20034ac <sparc_enable_interrupts>        
 200d1ac:	91 e8 00 08 	restore  %g0, %o0, %o0                         
        break;                                                        
      case WATCHDOG_FORWARD:                                          
        while ( units ) {                                             
          if ( units < _Watchdog_First( header )->delta_interval ) {  
            _Watchdog_First( header )->delta_interval -= units;       
            break;                                                    
 200d1b0:	10 bf ff f7 	b  200d18c <_Watchdog_Adjust+0x94>             
 200d1b4:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
                                                                      

0200b864 <_Watchdog_Remove>: */ Watchdog_States _Watchdog_Remove( Watchdog_Control *the_watchdog ) {
 200b864:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level         level;                                            
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
 200b868:	7f ff db bf 	call  2002764 <sparc_disable_interrupts>       
 200b86c:	01 00 00 00 	nop                                            
  previous_state = the_watchdog->state;                               
 200b870:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
  switch ( previous_state ) {                                         
 200b874:	80 a7 60 01 	cmp  %i5, 1                                    
 200b878:	02 80 00 2a 	be  200b920 <_Watchdog_Remove+0xbc>            
 200b87c:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200b880:	1a 80 00 09 	bcc  200b8a4 <_Watchdog_Remove+0x40>           
 200b884:	80 a7 60 03 	cmp  %i5, 3                                    
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 200b888:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200b88c:	c2 00 61 a8 	ld  [ %g1 + 0x1a8 ], %g1	! 201e9a8 <_Watchdog_Ticks_since_boot>
 200b890:	c2 26 20 18 	st  %g1, [ %i0 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 200b894:	7f ff db b8 	call  2002774 <sparc_enable_interrupts>        
 200b898:	b0 10 00 1d 	mov  %i5, %i0                                  
  return( previous_state );                                           
}                                                                     
 200b89c:	81 c7 e0 08 	ret                                            
 200b8a0:	81 e8 00 00 	restore                                        
  Watchdog_States   previous_state;                                   
  Watchdog_Control *next_watchdog;                                    
                                                                      
  _ISR_Disable( level );                                              
  previous_state = the_watchdog->state;                               
  switch ( previous_state ) {                                         
 200b8a4:	18 bf ff fa 	bgu  200b88c <_Watchdog_Remove+0x28>           <== NEVER TAKEN
 200b8a8:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
RTEMS_INLINE_ROUTINE Watchdog_Control *_Watchdog_Next(                
  Watchdog_Control *the_watchdog                                      
)                                                                     
{                                                                     
                                                                      
  return ( (Watchdog_Control *) the_watchdog->Node.next );            
 200b8ac:	c2 06 00 00 	ld  [ %i0 ], %g1                               
      break;                                                          
                                                                      
    case WATCHDOG_ACTIVE:                                             
    case WATCHDOG_REMOVE_IT:                                          
                                                                      
      the_watchdog->state = WATCHDOG_INACTIVE;                        
 200b8b0:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
      next_watchdog = _Watchdog_Next( the_watchdog );                 
                                                                      
      if ( _Watchdog_Next(next_watchdog) )                            
 200b8b4:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200b8b8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b8bc:	02 80 00 07 	be  200b8d8 <_Watchdog_Remove+0x74>            
 200b8c0:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
        next_watchdog->delta_interval += the_watchdog->delta_interval;
 200b8c4:	c6 00 60 10 	ld  [ %g1 + 0x10 ], %g3                        
 200b8c8:	c4 06 20 10 	ld  [ %i0 + 0x10 ], %g2                        
 200b8cc:	84 00 c0 02 	add  %g3, %g2, %g2                             
 200b8d0:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
                                                                      
      if ( _Watchdog_Sync_count )                                     
 200b8d4:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
 200b8d8:	c4 00 a1 a4 	ld  [ %g2 + 0x1a4 ], %g2	! 201e9a4 <_Watchdog_Sync_count>
 200b8dc:	80 a0 a0 00 	cmp  %g2, 0                                    
 200b8e0:	22 80 00 07 	be,a   200b8fc <_Watchdog_Remove+0x98>         
 200b8e4:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
        _Watchdog_Sync_level = _ISR_Nest_level;                       
 200b8e8:	05 00 80 7b 	sethi  %hi(0x201ec00), %g2                     
 200b8ec:	c6 00 a1 e8 	ld  [ %g2 + 0x1e8 ], %g3	! 201ede8 <_Per_CPU_Information+0x8>
 200b8f0:	05 00 80 7a 	sethi  %hi(0x201e800), %g2                     
 200b8f4:	c6 20 a1 44 	st  %g3, [ %g2 + 0x144 ]	! 201e944 <_Watchdog_Sync_level>
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 200b8f8:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
  next->previous = previous;                                          
 200b8fc:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
  previous->next = next;                                              
 200b900:	c2 20 80 00 	st  %g1, [ %g2 ]                               
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 200b904:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200b908:	c2 00 61 a8 	ld  [ %g1 + 0x1a8 ], %g1	! 201e9a8 <_Watchdog_Ticks_since_boot>
 200b90c:	c2 26 20 18 	st  %g1, [ %i0 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 200b910:	7f ff db 99 	call  2002774 <sparc_enable_interrupts>        
 200b914:	b0 10 00 1d 	mov  %i5, %i0                                  
  return( previous_state );                                           
}                                                                     
 200b918:	81 c7 e0 08 	ret                                            
 200b91c:	81 e8 00 00 	restore                                        
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 200b920:	c2 00 61 a8 	ld  [ %g1 + 0x1a8 ], %g1                       
                                                                      
      /*                                                              
       *  It is not actually on the chain so just change the state and
       *  the Insert operation we interrupted will be aborted.        
       */                                                             
      the_watchdog->state = WATCHDOG_INACTIVE;                        
 200b924:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
        _Watchdog_Sync_level = _ISR_Nest_level;                       
                                                                      
      _Chain_Extract_unprotected( &the_watchdog->Node );              
      break;                                                          
  }                                                                   
  the_watchdog->stop_time = _Watchdog_Ticks_since_boot;               
 200b928:	c2 26 20 18 	st  %g1, [ %i0 + 0x18 ]                        
                                                                      
  _ISR_Enable( level );                                               
 200b92c:	7f ff db 92 	call  2002774 <sparc_enable_interrupts>        
 200b930:	b0 10 00 1d 	mov  %i5, %i0                                  
  return( previous_state );                                           
}                                                                     
 200b934:	81 c7 e0 08 	ret                                            
 200b938:	81 e8 00 00 	restore                                        
                                                                      

0200cb08 <_Watchdog_Report_chain>: void _Watchdog_Report_chain( const char *name, Chain_Control *header ) {
 200cb08:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level          level;                                           
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
 200cb0c:	7f ff d9 62 	call  2003094 <sparc_disable_interrupts>       
 200cb10:	01 00 00 00 	nop                                            
 200cb14:	b6 10 00 08 	mov  %o0, %i3                                  
    printk( "Watchdog Chain: %s %p\n", name, header );                
 200cb18:	11 00 80 79 	sethi  %hi(0x201e400), %o0                     
 200cb1c:	94 10 00 19 	mov  %i1, %o2                                  
 200cb20:	92 10 00 18 	mov  %i0, %o1                                  
 200cb24:	7f ff e1 6e 	call  20050dc <printk>                         
 200cb28:	90 12 22 50 	or  %o0, 0x250, %o0                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200cb2c:	fa 06 40 00 	ld  [ %i1 ], %i5                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200cb30:	b2 06 60 04 	add  %i1, 4, %i1                               
    if ( !_Chain_Is_empty( header ) ) {                               
 200cb34:	80 a7 40 19 	cmp  %i5, %i1                                  
 200cb38:	02 80 00 0f 	be  200cb74 <_Watchdog_Report_chain+0x6c>      
 200cb3c:	11 00 80 79 	sethi  %hi(0x201e400), %o0                     
            node != _Chain_Tail(header) ;                             
            node = node->next )                                       
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
 200cb40:	92 10 00 1d 	mov  %i5, %o1                                  
 200cb44:	40 00 00 0f 	call  200cb80 <_Watchdog_Report>               
 200cb48:	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 )                                       
 200cb4c:	fa 07 40 00 	ld  [ %i5 ], %i5                               
  Chain_Node        *node;                                            
                                                                      
  _ISR_Disable( level );                                              
    printk( "Watchdog Chain: %s %p\n", name, header );                
    if ( !_Chain_Is_empty( header ) ) {                               
      for ( node = _Chain_First( header ) ;                           
 200cb50:	80 a7 40 19 	cmp  %i5, %i1                                  
 200cb54:	12 bf ff fc 	bne  200cb44 <_Watchdog_Report_chain+0x3c>     <== NEVER TAKEN
 200cb58:	92 10 00 1d 	mov  %i5, %o1                                  
      {                                                               
        Watchdog_Control *watch = (Watchdog_Control *) node;          
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
 200cb5c:	11 00 80 79 	sethi  %hi(0x201e400), %o0                     
 200cb60:	92 10 00 18 	mov  %i0, %o1                                  
 200cb64:	7f ff e1 5e 	call  20050dc <printk>                         
 200cb68:	90 12 22 68 	or  %o0, 0x268, %o0                            
    } else {                                                          
      printk( "Chain is empty\n" );                                   
    }                                                                 
  _ISR_Enable( level );                                               
 200cb6c:	7f ff d9 4e 	call  20030a4 <sparc_enable_interrupts>        
 200cb70:	91 e8 00 1b 	restore  %g0, %i3, %o0                         
                                                                      
        _Watchdog_Report( NULL, watch );                              
      }                                                               
      printk( "== end of %s \n", name );                              
    } else {                                                          
      printk( "Chain is empty\n" );                                   
 200cb74:	7f ff e1 5a 	call  20050dc <printk>                         
 200cb78:	90 12 22 78 	or  %o0, 0x278, %o0                            
 200cb7c:	30 bf ff fc 	b,a   200cb6c <_Watchdog_Report_chain+0x64>    
                                                                      

02029d6c <_fat_block_read>: uint32_t start, uint32_t offset, uint32_t count, void *buff ) {
 2029d6c:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                     rc = RC_OK;                               
    ssize_t                 cmpltd = 0;                               
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
 2029d70:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    void                                 *buff                        
    )                                                                 
{                                                                     
 2029d74:	a0 10 00 18 	mov  %i0, %l0                                  
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
 2029d78:	80 a6 e0 00 	cmp  %i3, 0                                    
 2029d7c:	12 80 00 12 	bne  2029dc4 <_fat_block_read+0x58>            <== ALWAYS TAKEN
 2029d80:	b0 10 20 00 	clr  %i0                                       
 2029d84:	30 80 00 1a 	b,a   2029dec <_fat_block_read+0x80>           <== NOT EXECUTED
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
 2029d88:	fa 14 00 00 	lduh  [ %l0 ], %i5                             
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
 2029d8c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        c = MIN(count, (fs_info->vol.bps - ofs));                     
 2029d90:	ba 27 40 1a 	sub  %i5, %i2, %i5                             
 2029d94:	80 a7 40 1b 	cmp  %i5, %i3                                  
 2029d98:	08 80 00 03 	bleu  2029da4 <_fat_block_read+0x38>           
 2029d9c:	b2 06 60 01 	inc  %i1                                       
 2029da0:	ba 10 00 1b 	mov  %i3, %i5                                  
        memcpy((buff + cmpltd), (block->buffer + ofs), c);            
 2029da4:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        
 2029da8:	94 10 00 1d 	mov  %i5, %o2                                  
 2029dac:	40 00 88 16 	call  204be04 <memcpy>                         
 2029db0:	92 02 40 1a 	add  %o1, %i2, %o1                             
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
 2029db4:	b0 07 40 18 	add  %i5, %i0, %i0                             
    uint32_t                blk = start;                              
    uint32_t                ofs = offset;                             
    rtems_bdbuf_buffer     *block = NULL;                             
    uint32_t                c = 0;                                    
                                                                      
    while (count > 0)                                                 
 2029db8:	b6 a6 c0 1d 	subcc  %i3, %i5, %i3                           
 2029dbc:	02 80 00 0c 	be  2029dec <_fat_block_read+0x80>             
 2029dc0:	b4 10 20 00 	clr  %i2                                       
    {                                                                 
        rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);  
 2029dc4:	92 10 00 19 	mov  %i1, %o1                                  
 2029dc8:	94 10 20 01 	mov  1, %o2                                    
 2029dcc:	96 07 bf fc 	add  %fp, -4, %o3                              
 2029dd0:	7f ff ff 00 	call  20299d0 <fat_buf_access>                 
 2029dd4:	90 10 00 10 	mov  %l0, %o0                                  
        if (rc != RC_OK)                                              
 2029dd8:	80 a2 20 00 	cmp  %o0, 0                                    
 2029ddc:	02 bf ff eb 	be  2029d88 <_fat_block_read+0x1c>             <== ALWAYS TAKEN
 2029de0:	90 07 00 18 	add  %i4, %i0, %o0                             
        cmpltd += c;                                                  
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
 2029de4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029de8:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
 2029dec:	81 c7 e0 08 	ret                                            
 2029df0:	81 e8 00 00 	restore                                        
                                                                      

02029df4 <_fat_block_write>: fat_fs_info_t *fs_info, uint32_t start, uint32_t offset, uint32_t count, const void *buff) {
 2029df4:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                 rc = RC_OK;                                   
    ssize_t             cmpltd = 0;                                   
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
 2029df8:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              start,                      
    uint32_t                              offset,                     
    uint32_t                              count,                      
    const void                           *buff)                       
{                                                                     
 2029dfc:	a0 10 00 18 	mov  %i0, %l0                                  
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
 2029e00:	80 a6 e0 00 	cmp  %i3, 0                                    
 2029e04:	02 80 00 29 	be  2029ea8 <_fat_block_write+0xb4>            <== NEVER TAKEN
 2029e08:	b0 10 20 00 	clr  %i0                                       
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
 2029e0c:	10 80 00 13 	b  2029e58 <_fat_block_write+0x64>             
 2029e10:	a2 10 20 01 	mov  1, %l1                                    
        c = MIN(count, (fs_info->vol.bps - ofs));                     
                                                                      
        if (c == fs_info->vol.bps)                                    
            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);
 2029e14:	96 07 bf fc 	add  %fp, -4, %o3                              
 2029e18:	7f ff fe ee 	call  20299d0 <fat_buf_access>                 
 2029e1c:	90 10 00 10 	mov  %l0, %o0                                  
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
 2029e20:	92 07 00 18 	add  %i4, %i0, %o1                             
                                                                      
        if (c == fs_info->vol.bps)                                    
            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);
        if (rc != RC_OK)                                              
 2029e24:	80 a2 20 00 	cmp  %o0, 0                                    
 2029e28:	12 80 00 1e 	bne  2029ea0 <_fat_block_write+0xac>           <== NEVER TAKEN
 2029e2c:	94 10 00 1d 	mov  %i5, %o2                                  
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
 2029e30:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
 2029e34:	b0 07 40 18 	add  %i5, %i0, %i0                             
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
 2029e38:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        cmpltd +=c;                                                   
        blk++;                                                        
 2029e3c:	b2 06 60 01 	inc  %i1                                       
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
 2029e40:	40 00 87 f1 	call  204be04 <memcpy>                         
 2029e44:	90 02 00 1a 	add  %o0, %i2, %o0                             
 2029e48:	e2 2c 20 7c 	stb  %l1, [ %l0 + 0x7c ]                       
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
 2029e4c:	b6 a6 c0 1d 	subcc  %i3, %i5, %i3                           
 2029e50:	02 80 00 16 	be  2029ea8 <_fat_block_write+0xb4>            
 2029e54:	b4 10 20 00 	clr  %i2                                       
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
 2029e58:	c2 14 00 00 	lduh  [ %l0 ], %g1                             
 2029e5c:	ba 20 40 1a 	sub  %g1, %i2, %i5                             
 2029e60:	80 a7 40 1b 	cmp  %i5, %i3                                  
 2029e64:	08 80 00 03 	bleu  2029e70 <_fat_block_write+0x7c>          
 2029e68:	92 10 00 19 	mov  %i1, %o1                                  
 2029e6c:	ba 10 00 1b 	mov  %i3, %i5                                  
                                                                      
        if (c == fs_info->vol.bps)                                    
 2029e70:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2029e74:	32 bf ff e8 	bne,a   2029e14 <_fat_block_write+0x20>        
 2029e78:	94 10 20 01 	mov  1, %o2                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
 2029e7c:	92 10 00 19 	mov  %i1, %o1                                  
 2029e80:	94 10 20 02 	mov  2, %o2                                    
 2029e84:	90 10 00 10 	mov  %l0, %o0                                  
 2029e88:	7f ff fe d2 	call  20299d0 <fat_buf_access>                 
 2029e8c:	96 07 bf fc 	add  %fp, -4, %o3                              
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        memcpy((block->buffer + ofs), (buff + cmpltd), c);            
 2029e90:	92 07 00 18 	add  %i4, %i0, %o1                             
                                                                      
        if (c == fs_info->vol.bps)                                    
            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);
        if (rc != RC_OK)                                              
 2029e94:	80 a2 20 00 	cmp  %o0, 0                                    
 2029e98:	02 bf ff e6 	be  2029e30 <_fat_block_write+0x3c>            <== ALWAYS TAKEN
 2029e9c:	94 10 00 1d 	mov  %i5, %o2                                  
        cmpltd +=c;                                                   
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return cmpltd;                                                    
}                                                                     
 2029ea0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029ea4:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
 2029ea8:	81 c7 e0 08 	ret                                            
 2029eac:	81 e8 00 00 	restore                                        
                                                                      

02029eb0 <_fat_block_zero>: _fat_block_zero( fat_fs_info_t *fs_info, uint32_t start, uint32_t offset, uint32_t count) {
 2029eb0:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                 rc = RC_OK;                                   
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
 2029eb4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
 2029eb8:	80 a6 e0 00 	cmp  %i3, 0                                    
 2029ebc:	12 80 00 14 	bne  2029f0c <_fat_block_zero+0x5c>            <== ALWAYS TAKEN
 2029ec0:	b8 10 20 01 	mov  1, %i4                                    
                                                                      
        count -= c;                                                   
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return 0;                                                         
 2029ec4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029ec8:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
        c = MIN(count, (fs_info->vol.bps - ofs));                     
                                                                      
        if (c == fs_info->vol.bps)                                    
            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);
 2029ecc:	96 07 bf fc 	add  %fp, -4, %o3                              
 2029ed0:	7f ff fe c0 	call  20299d0 <fat_buf_access>                 
 2029ed4:	90 10 00 18 	mov  %i0, %o0                                  
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        memset((block->buffer + ofs), 0, c);                          
 2029ed8:	92 10 20 00 	clr  %o1                                       
                                                                      
        if (c == fs_info->vol.bps)                                    
            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);
        if (rc != RC_OK)                                              
 2029edc:	80 a2 20 00 	cmp  %o0, 0                                    
 2029ee0:	12 80 00 1d 	bne  2029f54 <_fat_block_zero+0xa4>            <== NEVER TAKEN
 2029ee4:	94 10 00 1d 	mov  %i5, %o2                                  
            return -1;                                                
                                                                      
        memset((block->buffer + ofs), 0, c);                          
 2029ee8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
        fat_buf_mark_modified(fs_info);                               
                                                                      
        count -= c;                                                   
        blk++;                                                        
 2029eec:	b2 06 60 01 	inc  %i1                                       
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        memset((block->buffer + ofs), 0, c);                          
 2029ef0:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 2029ef4:	40 00 88 53 	call  204c040 <memset>                         
 2029ef8:	90 02 00 1a 	add  %o0, %i2, %o0                             
 2029efc:	f8 2e 20 7c 	stb  %i4, [ %i0 + 0x7c ]                       
    uint32_t            blk  = start;                                 
    uint32_t            ofs = offset;                                 
    rtems_bdbuf_buffer *block = NULL;                                 
    uint32_t            c = 0;                                        
                                                                      
    while(count > 0)                                                  
 2029f00:	b6 a6 c0 1d 	subcc  %i3, %i5, %i3                           
 2029f04:	02 80 00 16 	be  2029f5c <_fat_block_zero+0xac>             
 2029f08:	b4 10 20 00 	clr  %i2                                       
    {                                                                 
        c = MIN(count, (fs_info->vol.bps - ofs));                     
 2029f0c:	c2 16 00 00 	lduh  [ %i0 ], %g1                             
 2029f10:	ba 20 40 1a 	sub  %g1, %i2, %i5                             
 2029f14:	80 a7 40 1b 	cmp  %i5, %i3                                  
 2029f18:	08 80 00 03 	bleu  2029f24 <_fat_block_zero+0x74>           <== ALWAYS TAKEN
 2029f1c:	92 10 00 19 	mov  %i1, %o1                                  
 2029f20:	ba 10 00 1b 	mov  %i3, %i5                                  <== NOT EXECUTED
                                                                      
        if (c == fs_info->vol.bps)                                    
 2029f24:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2029f28:	32 bf ff e9 	bne,a   2029ecc <_fat_block_zero+0x1c>         
 2029f2c:	94 10 20 01 	mov  1, %o2                                    
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_GET, &block);
 2029f30:	92 10 00 19 	mov  %i1, %o1                                  
 2029f34:	94 10 20 02 	mov  2, %o2                                    
 2029f38:	90 10 00 18 	mov  %i0, %o0                                  
 2029f3c:	7f ff fe a5 	call  20299d0 <fat_buf_access>                 
 2029f40:	96 07 bf fc 	add  %fp, -4, %o3                              
        else                                                          
            rc = fat_buf_access(fs_info, blk, FAT_OP_TYPE_READ, &block);
        if (rc != RC_OK)                                              
            return -1;                                                
                                                                      
        memset((block->buffer + ofs), 0, c);                          
 2029f44:	92 10 20 00 	clr  %o1                                       
                                                                      
        if (c == fs_info->vol.bps)                                    
            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);
        if (rc != RC_OK)                                              
 2029f48:	80 a2 20 00 	cmp  %o0, 0                                    
 2029f4c:	02 bf ff e7 	be  2029ee8 <_fat_block_zero+0x38>             <== ALWAYS TAKEN
 2029f50:	94 10 00 1d 	mov  %i5, %o2                                  
        count -= c;                                                   
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return 0;                                                         
}                                                                     
 2029f54:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029f58:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      
        count -= c;                                                   
        blk++;                                                        
        ofs = 0;                                                      
    }                                                                 
    return 0;                                                         
 2029f5c:	b0 10 20 00 	clr  %i0                                       
 2029f60:	81 c7 e0 08 	ret                                            
 2029f64:	81 e8 00 00 	restore                                        
                                                                      

0202c884 <_lstat_r>: struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) { return _STAT_NAME( path, buf );
 202c884:	90 10 00 09 	mov  %o1, %o0                                  <== NOT EXECUTED
 202c888:	92 10 00 0a 	mov  %o2, %o1                                  <== NOT EXECUTED
 202c88c:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 202c890:	7f ff ff e9 	call  202c834 <lstat>                          <== NOT EXECUTED
 202c894:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

02004978 <_stat_r>: struct _reent *ptr __attribute__((unused)), const char *path, struct stat *buf ) { return _STAT_NAME( path, buf );
 2004978:	90 10 00 09 	mov  %o1, %o0                                  <== NOT EXECUTED
 200497c:	92 10 00 0a 	mov  %o2, %o1                                  <== NOT EXECUTED
 2004980:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 2004984:	7f ff ff e9 	call  2004928 <stat>                           <== NOT EXECUTED
 2004988:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

02007ba0 <adjtime>: int adjtime( const struct timeval *delta, struct timeval *olddelta ) {
 2007ba0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  long   adjustment;                                                  
                                                                      
  /*                                                                  
   * Simple validations                                               
   */                                                                 
  if ( !delta )                                                       
 2007ba4:	80 a6 20 00 	cmp  %i0, 0                                    
 2007ba8:	02 80 00 8c 	be  2007dd8 <adjtime+0x238>                    
 2007bac:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
 2007bb0:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
 2007bb4:	03 00 03 d0 	sethi  %hi(0xf4000), %g1                       
 2007bb8:	82 10 62 3f 	or  %g1, 0x23f, %g1	! f423f <PROM_START+0xf423f>
 2007bbc:	80 a0 80 01 	cmp  %g2, %g1                                  
 2007bc0:	18 80 00 86 	bgu  2007dd8 <adjtime+0x238>                   
 2007bc4:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( olddelta ) {                                                   
 2007bc8:	22 80 00 06 	be,a   2007be0 <adjtime+0x40>                  
 2007bcc:	c2 06 00 00 	ld  [ %i0 ], %g1                               
    olddelta->tv_sec  = 0;                                            
    olddelta->tv_usec = 0;                                            
 2007bd0:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
 2007bd4:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( olddelta ) {                                                   
    olddelta->tv_sec  = 0;                                            
 2007bd8:	c0 26 40 00 	clr  [ %i1 ]                                   
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
 2007bdc:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  adjustment += delta->tv_usec;                                       
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 2007be0:	07 00 80 81 	sethi  %hi(0x2020400), %g3                     
 2007be4:	c8 00 e3 2c 	ld  [ %g3 + 0x32c ], %g4	! 202072c <Configuration+0x10>
    olddelta->tv_sec  = 0;                                            
    olddelta->tv_usec = 0;                                            
  }                                                                   
                                                                      
  /* convert delta to microseconds */                                 
  adjustment  = (delta->tv_sec * TOD_MICROSECONDS_PER_SECOND);        
 2007be8:	bb 28 60 08 	sll  %g1, 8, %i5                               
 2007bec:	87 28 60 03 	sll  %g1, 3, %g3                               
 2007bf0:	86 27 40 03 	sub  %i5, %g3, %g3                             
 2007bf4:	bb 28 e0 06 	sll  %g3, 6, %i5                               
 2007bf8:	86 27 40 03 	sub  %i5, %g3, %g3                             
 2007bfc:	82 00 c0 01 	add  %g3, %g1, %g1                             
 2007c00:	83 28 60 06 	sll  %g1, 6, %g1                               
  adjustment += delta->tv_usec;                                       
 2007c04:	84 00 40 02 	add  %g1, %g2, %g2                             
                                                                      
  /* too small to account for */                                      
  if ( adjustment < rtems_configuration_get_microseconds_per_tick() ) 
 2007c08:	80 a0 80 04 	cmp  %g2, %g4                                  
 2007c0c:	1a 80 00 05 	bcc  2007c20 <adjtime+0x80>                    
 2007c10:	03 00 80 85 	sethi  %hi(0x2021400), %g1                     
    return 0;                                                         
 2007c14:	82 10 20 00 	clr  %g1                                       
  /* set the user's output */                                         
  if ( olddelta )                                                     
    *olddelta = *delta;                                               
                                                                      
  return 0;                                                           
}                                                                     
 2007c18:	81 c7 e0 08 	ret                                            
 2007c1c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2007c20:	c4 00 62 40 	ld  [ %g1 + 0x240 ], %g2                       
 2007c24:	84 00 a0 01 	inc  %g2                                       
 2007c28:	c4 20 62 40 	st  %g2, [ %g1 + 0x240 ]                       
    return _Thread_Dispatch_disable_level;                            
 2007c2c:	c2 00 62 40 	ld  [ %g1 + 0x240 ], %g1                       
  struct timespec *tod_as_timespec                                    
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _TOD_Get_as_timestamp( &tod_as_timestamp );                         
 2007c30:	40 00 07 20 	call  20098b0 <_TOD_Get_as_timestamp>          
 2007c34:	90 07 bf f8 	add  %fp, -8, %o0                              
  _Timestamp_To_timespec( &tod_as_timestamp, tod_as_timespec );       
 2007c38:	f8 1f bf f8 	ldd  [ %fp + -8 ], %i4                         
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007c3c:	94 10 20 00 	clr  %o2                                       
 2007c40:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007c44:	90 10 00 1c 	mov  %i4, %o0                                  
 2007c48:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 2007c4c:	40 00 52 10 	call  201c48c <__divdi3>                       
 2007c50:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
 2007c54:	f6 06 00 00 	ld  [ %i0 ], %i3                               
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007c58:	94 10 20 00 	clr  %o2                                       
 2007c5c:	b6 06 c0 09 	add  %i3, %o1, %i3                             
 2007c60:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007c64:	90 10 00 1c 	mov  %i4, %o0                                  
 2007c68:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 2007c6c:	40 00 52 f3 	call  201c838 <__moddi3>                       
 2007c70:	92 10 00 1d 	mov  %i5, %o1                                  
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2007c74:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
 2007c78:	09 31 19 4d 	sethi  %hi(0xc4653400), %g4                    
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2007c7c:	87 28 60 07 	sll  %g1, 7, %g3                               
 2007c80:	85 28 60 02 	sll  %g1, 2, %g2                               
 2007c84:	84 20 c0 02 	sub  %g3, %g2, %g2                             
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
 2007c88:	88 11 22 00 	or  %g4, 0x200, %g4                            
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2007c8c:	82 00 80 01 	add  %g2, %g1, %g1                             
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2007c90:	07 0e e6 b2 	sethi  %hi(0x3b9ac800), %g3                    
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2007c94:	83 28 60 03 	sll  %g1, 3, %g1                               
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2007c98:	86 10 e1 ff 	or  %g3, 0x1ff, %g3                            
  _Thread_Disable_dispatch();                                         
                                                                      
    _TOD_Get( &ts );                                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
 2007c9c:	92 00 40 09 	add  %g1, %o1, %o1                             
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2007ca0:	80 a2 40 03 	cmp  %o1, %g3                                  
 2007ca4:	08 80 00 07 	bleu  2007cc0 <adjtime+0x120>                  
 2007ca8:	84 06 e0 01 	add  %i3, 1, %g2                               
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
 2007cac:	92 02 40 04 	add  %o1, %g4, %o1                             
      ts.tv_sec++;                                                    
 2007cb0:	b6 10 00 02 	mov  %g2, %i3                                  
                                                                      
    ts.tv_sec  += delta->tv_sec;                                      
    ts.tv_nsec += delta->tv_usec * TOD_NANOSECONDS_PER_MICROSECOND;   
                                                                      
    /* if adjustment is too much positive */                          
    while ( ts.tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {              
 2007cb4:	80 a2 40 03 	cmp  %o1, %g3                                  
 2007cb8:	18 bf ff fd 	bgu  2007cac <adjtime+0x10c>                   <== NEVER TAKEN
 2007cbc:	84 00 a0 01 	inc  %g2                                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
 2007cc0:	3b 0e e6 b2 	sethi  %hi(0x3b9ac800), %i5                    
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
 2007cc4:	09 31 19 4d 	sethi  %hi(0xc4653400), %g4                    
 2007cc8:	82 10 00 09 	mov  %o1, %g1                                  
int _EXFUN(setitimer, (int __which, const struct itimerval *__value,  
					struct itimerval *__ovalue));                                    
                                                                      
#if defined(__rtems__)                                                
/* BSD function used by RTEMS code */                                 
int _EXFUN(adjtime,(const struct timeval *, struct timeval *));       
 2007ccc:	84 06 ff ff 	add  %i3, -1, %g2                              
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
 2007cd0:	ba 17 62 00 	or  %i5, 0x200, %i5                            
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
 2007cd4:	88 11 22 00 	or  %g4, 0x200, %g4                            
      ts.tv_nsec += TOD_NANOSECONDS_PER_SECOND;                       
 2007cd8:	82 00 40 1d 	add  %g1, %i5, %g1                             
      ts.tv_sec--;                                                    
 2007cdc:	86 10 00 02 	mov  %g2, %g3                                  
      ts.tv_nsec -= TOD_NANOSECONDS_PER_SECOND;                       
      ts.tv_sec++;                                                    
    }                                                                 
                                                                      
    /* if adjustment is too much negative */                          
    while ( ts.tv_nsec <= (-1 * TOD_NANOSECONDS_PER_SECOND) ) {       
 2007ce0:	80 a0 40 04 	cmp  %g1, %g4                                  
 2007ce4:	08 bf ff fd 	bleu  2007cd8 <adjtime+0x138>                  
 2007ce8:	84 00 bf ff 	add  %g2, -1, %g2                              
  const struct timespec *tod_as_timespec                              
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _Timestamp_Set(                                                     
 2007cec:	b9 38 e0 1f 	sra  %g3, 0x1f, %i4                            
 2007cf0:	ae 10 00 01 	mov  %g1, %l7                                  
 2007cf4:	ad 38 60 1f 	sra  %g1, 0x1f, %l6                            
  Timestamp64_Control *_time,                                         
  Timestamp64_Control  _seconds,                                      
  Timestamp64_Control  _nanoseconds                                   
)                                                                     
{                                                                     
  *_time = _seconds * 1000000000L + _nanoseconds;                     
 2007cf8:	83 2f 20 03 	sll  %i4, 3, %g1                               
 2007cfc:	b7 28 e0 03 	sll  %g3, 3, %i3                               
 2007d00:	85 30 e0 1d 	srl  %g3, 0x1d, %g2                            
 2007d04:	b4 10 80 01 	or  %g2, %g1, %i2                              
 2007d08:	83 36 e0 1b 	srl  %i3, 0x1b, %g1                            
 2007d0c:	a9 2e a0 05 	sll  %i2, 5, %l4                               
 2007d10:	ab 2e e0 05 	sll  %i3, 5, %l5                               
 2007d14:	a8 10 40 14 	or  %g1, %l4, %l4                              
 2007d18:	b6 a5 40 1b 	subcc  %l5, %i3, %i3                           
 2007d1c:	83 36 e0 1a 	srl  %i3, 0x1a, %g1                            
 2007d20:	b4 65 00 1a 	subx  %l4, %i2, %i2                            
 2007d24:	a7 2e e0 06 	sll  %i3, 6, %l3                               
 2007d28:	a5 2e a0 06 	sll  %i2, 6, %l2                               
 2007d2c:	b6 a4 c0 1b 	subcc  %l3, %i3, %i3                           
 2007d30:	a4 10 40 12 	or  %g1, %l2, %l2                              
 2007d34:	b4 64 80 1a 	subx  %l2, %i2, %i2                            
 2007d38:	ba 86 c0 03 	addcc  %i3, %g3, %i5                           
 2007d3c:	83 37 60 1e 	srl  %i5, 0x1e, %g1                            
 2007d40:	b8 46 80 1c 	addx  %i2, %i4, %i4                            
 2007d44:	a3 2f 60 02 	sll  %i5, 2, %l1                               
 2007d48:	a1 2f 20 02 	sll  %i4, 2, %l0                               
 2007d4c:	a2 87 40 11 	addcc  %i5, %l1, %l1                           
 2007d50:	a0 10 40 10 	or  %g1, %l0, %l0                              
 2007d54:	83 34 60 1e 	srl  %l1, 0x1e, %g1                            
 2007d58:	a0 47 00 10 	addx  %i4, %l0, %l0                            
 2007d5c:	97 2c 60 02 	sll  %l1, 2, %o3                               
 2007d60:	95 2c 20 02 	sll  %l0, 2, %o2                               
 2007d64:	96 84 40 0b 	addcc  %l1, %o3, %o3                           
 2007d68:	94 10 40 0a 	or  %g1, %o2, %o2                              
 2007d6c:	9b 2a e0 02 	sll  %o3, 2, %o5                               
 2007d70:	94 44 00 0a 	addx  %l0, %o2, %o2                            
 2007d74:	83 32 e0 1e 	srl  %o3, 0x1e, %g1                            
 2007d78:	86 82 c0 0d 	addcc  %o3, %o5, %g3                           
 2007d7c:	99 2a a0 02 	sll  %o2, 2, %o4                               
 2007d80:	98 10 40 0c 	or  %g1, %o4, %o4                              
 2007d84:	84 42 80 0c 	addx  %o2, %o4, %g2                            
 2007d88:	83 28 e0 09 	sll  %g3, 9, %g1                               
 2007d8c:	89 28 a0 09 	sll  %g2, 9, %g4                               
    &tod_as_timestamp,                                                
    tod_as_timespec->tv_sec,                                          
    tod_as_timespec->tv_nsec                                          
  );                                                                  
  _TOD_Set_with_timestamp( &tod_as_timestamp );                       
 2007d90:	90 07 bf f8 	add  %fp, -8, %o0                              
 2007d94:	bb 30 e0 17 	srl  %g3, 0x17, %i5                            
 2007d98:	86 85 c0 01 	addcc  %l7, %g1, %g3                           
 2007d9c:	84 17 40 04 	or  %i5, %g4, %g2                              
 2007da0:	84 45 80 02 	addx  %l6, %g2, %g2                            
 2007da4:	40 00 06 df 	call  2009920 <_TOD_Set_with_timestamp>        
 2007da8:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]                         
      ts.tv_sec--;                                                    
    }                                                                 
                                                                      
    _TOD_Set( &ts );                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
 2007dac:	40 00 0d a0 	call  200b42c <_Thread_Enable_dispatch>        
 2007db0:	01 00 00 00 	nop                                            
                                                                      
  /* set the user's output */                                         
  if ( olddelta )                                                     
 2007db4:	80 a6 60 00 	cmp  %i1, 0                                    
 2007db8:	02 bf ff 97 	be  2007c14 <adjtime+0x74>                     
 2007dbc:	82 10 20 00 	clr  %g1                                       
    *olddelta = *delta;                                               
 2007dc0:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 2007dc4:	c4 26 40 00 	st  %g2, [ %i1 ]                               
 2007dc8:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
 2007dcc:	c4 26 60 04 	st  %g2, [ %i1 + 4 ]                           
                                                                      
  return 0;                                                           
}                                                                     
 2007dd0:	81 c7 e0 08 	ret                                            
 2007dd4:	91 e8 00 01 	restore  %g0, %g1, %o0                         
   */                                                                 
  if ( !delta )                                                       
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( delta->tv_usec >= TOD_MICROSECONDS_PER_SECOND )                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 2007dd8:	40 00 25 b2 	call  20114a0 <__errno>                        
 2007ddc:	01 00 00 00 	nop                                            
 2007de0:	84 10 20 16 	mov  0x16, %g2	! 16 <PROM_START+0x16>          
 2007de4:	82 10 3f ff 	mov  -1, %g1                                   
 2007de8:	10 bf ff 8c 	b  2007c18 <adjtime+0x78>                      
 2007dec:	c4 22 00 00 	st  %g2, [ %o0 ]                               
                                                                      

02007dac <aio_cancel>: * operation(s) cannot be canceled */ int aio_cancel(int fildes, struct aiocb *aiocbp) {
 2007dac:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_aio_request_chain *r_chain;                                   
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
 2007db0:	3b 00 80 83 	sethi  %hi(0x2020c00), %i5                     
 2007db4:	40 00 04 85 	call  2008fc8 <pthread_mutex_lock>             
 2007db8:	90 17 61 a4 	or  %i5, 0x1a4, %o0	! 2020da4 <aio_request_queue>
                                                                      
  if (fcntl (fildes, F_GETFD) < 0) {                                  
 2007dbc:	90 10 00 18 	mov  %i0, %o0                                  
 2007dc0:	40 00 1c 42 	call  200eec8 <fcntl>                          
 2007dc4:	92 10 20 01 	mov  1, %o1                                    
 2007dc8:	80 a2 20 00 	cmp  %o0, 0                                    
 2007dcc:	06 80 00 6c 	bl  2007f7c <aio_cancel+0x1d0>                 
 2007dd0:	80 a6 60 00 	cmp  %i1, 0                                    
    pthread_mutex_unlock(&aio_request_queue.mutex);                   
    rtems_set_errno_and_return_minus_one (EBADF);                     
  }                                                                   
                                                                      
  /* if aiocbp is NULL remove all request for given file descriptor */
  if (aiocbp == NULL) {                                               
 2007dd4:	02 80 00 3b 	be  2007ec0 <aio_cancel+0x114>                 
 2007dd8:	92 10 00 18 	mov  %i0, %o1                                  
    pthread_mutex_unlock (&aio_request_queue.mutex);                  
    return AIO_CANCELED;                                              
  } else {                                                            
    AIO_printf ("Cancel request\n");                                  
                                                                      
    if (aiocbp->aio_fildes != fildes) {                               
 2007ddc:	f8 06 40 00 	ld  [ %i1 ], %i4                               
 2007de0:	80 a7 00 18 	cmp  %i4, %i0                                  
 2007de4:	12 80 00 2f 	bne  2007ea0 <aio_cancel+0xf4>                 
 2007de8:	90 17 61 a4 	or  %i5, 0x1a4, %o0                            
      pthread_mutex_unlock (&aio_request_queue.mutex);                
      rtems_set_errno_and_return_minus_one (EINVAL);                  
    }                                                                 
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
 2007dec:	92 10 00 1c 	mov  %i4, %o1                                  
 2007df0:	11 00 80 83 	sethi  %hi(0x2020c00), %o0                     
 2007df4:	94 10 20 00 	clr  %o2                                       
 2007df8:	40 00 01 92 	call  2008440 <rtems_aio_search_fd>            
 2007dfc:	90 12 21 ec 	or  %o0, 0x1ec, %o0                            
    if (r_chain == NULL) {                                            
 2007e00:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2007e04:	22 80 00 0f 	be,a   2007e40 <aio_cancel+0x94>               
 2007e08:	b6 17 61 a4 	or  %i5, 0x1a4, %i3                            
        return AIO_ALLDONE;                                           
      }                                                               
    }                                                                 
      AIO_printf ("Request on [WQ]\n");                               
                                                                      
      pthread_mutex_lock (&r_chain->mutex);                           
 2007e0c:	b8 06 e0 1c 	add  %i3, 0x1c, %i4                            
 2007e10:	40 00 04 6e 	call  2008fc8 <pthread_mutex_lock>             
 2007e14:	90 10 00 1c 	mov  %i4, %o0                                  
      result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);        
 2007e18:	92 10 00 19 	mov  %i1, %o1                                  
 2007e1c:	40 00 01 d2 	call  2008564 <rtems_aio_remove_req>           
 2007e20:	90 06 e0 08 	add  %i3, 8, %o0                               
 2007e24:	b0 10 00 08 	mov  %o0, %i0                                  
      pthread_mutex_unlock (&r_chain->mutex);                         
 2007e28:	40 00 04 88 	call  2009048 <pthread_mutex_unlock>           
 2007e2c:	90 10 00 1c 	mov  %i4, %o0                                  
      pthread_mutex_unlock (&aio_request_queue.mutex);                
 2007e30:	40 00 04 86 	call  2009048 <pthread_mutex_unlock>           
 2007e34:	90 17 61 a4 	or  %i5, 0x1a4, %o0                            
      return result;                                                  
  }                                                                   
  return AIO_ALLDONE;                                                 
}                                                                     
 2007e38:	81 c7 e0 08 	ret                                            
 2007e3c:	81 e8 00 00 	restore                                        
      rtems_set_errno_and_return_minus_one (EINVAL);                  
    }                                                                 
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
 2007e40:	c4 06 e0 54 	ld  [ %i3 + 0x54 ], %g2                        
 2007e44:	82 06 e0 58 	add  %i3, 0x58, %g1                            
 2007e48:	80 a0 80 01 	cmp  %g2, %g1                                  
 2007e4c:	02 80 00 0f 	be  2007e88 <aio_cancel+0xdc>                  <== NEVER TAKEN
 2007e50:	90 06 e0 54 	add  %i3, 0x54, %o0                            
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
 2007e54:	92 10 00 1c 	mov  %i4, %o1                                  
 2007e58:	40 00 01 7a 	call  2008440 <rtems_aio_search_fd>            
 2007e5c:	94 10 20 00 	clr  %o2                                       
        if (r_chain == NULL) {                                        
 2007e60:	80 a2 20 00 	cmp  %o0, 0                                    
 2007e64:	02 80 00 0e 	be  2007e9c <aio_cancel+0xf0>                  
 2007e68:	92 10 00 19 	mov  %i1, %o1                                  
          rtems_set_errno_and_return_minus_one (EINVAL);              
        }                                                             
                                                                      
        AIO_printf ("Request on [IQ]\n");                             
                                                                      
        result = rtems_aio_remove_req (&r_chain->perfd, aiocbp);      
 2007e6c:	40 00 01 be 	call  2008564 <rtems_aio_remove_req>           
 2007e70:	90 02 20 08 	add  %o0, 8, %o0                               
 2007e74:	b0 10 00 08 	mov  %o0, %i0                                  
        pthread_mutex_unlock (&aio_request_queue.mutex);              
 2007e78:	40 00 04 74 	call  2009048 <pthread_mutex_unlock>           
 2007e7c:	90 10 00 1b 	mov  %i3, %o0                                  
        return result;                                                
 2007e80:	81 c7 e0 08 	ret                                            
 2007e84:	81 e8 00 00 	restore                                        
                                                                      
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
        if (r_chain == NULL) {                                        
          pthread_mutex_unlock(&aio_request_queue.mutex);             
          return AIO_ALLDONE;                                         
 2007e88:	b0 10 20 02 	mov  2, %i0                                    <== NOT EXECUTED
      AIO_printf ("Request chain not on [WQ]\n");                     
                                                                      
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
        if (r_chain == NULL) {                                        
          pthread_mutex_unlock(&aio_request_queue.mutex);             
 2007e8c:	40 00 04 6f 	call  2009048 <pthread_mutex_unlock>           
 2007e90:	90 17 61 a4 	or  %i5, 0x1a4, %o0                            
          return AIO_ALLDONE;                                         
 2007e94:	81 c7 e0 08 	ret                                            
 2007e98:	81 e8 00 00 	restore                                        
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
        if (r_chain == NULL) {                                        
          pthread_mutex_unlock (&aio_request_queue.mutex);            
 2007e9c:	90 10 00 1b 	mov  %i3, %o0                                  
 2007ea0:	40 00 04 6a 	call  2009048 <pthread_mutex_unlock>           
 2007ea4:	b0 10 3f ff 	mov  -1, %i0                                   
          rtems_set_errno_and_return_minus_one (EINVAL);              
 2007ea8:	40 00 2b 68 	call  2012c48 <__errno>                        
 2007eac:	01 00 00 00 	nop                                            
 2007eb0:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          
 2007eb4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007eb8:	81 c7 e0 08 	ret                                            
 2007ebc:	81 e8 00 00 	restore                                        
                                                                      
  /* if aiocbp is NULL remove all request for given file descriptor */
  if (aiocbp == NULL) {                                               
    AIO_printf ("Cancel all requests\n");                             
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
 2007ec0:	11 00 80 83 	sethi  %hi(0x2020c00), %o0                     
 2007ec4:	94 10 20 00 	clr  %o2                                       
 2007ec8:	40 00 01 5e 	call  2008440 <rtems_aio_search_fd>            
 2007ecc:	90 12 21 ec 	or  %o0, 0x1ec, %o0                            
    if (r_chain == NULL) {                                            
 2007ed0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2007ed4:	02 80 00 0f 	be  2007f10 <aio_cancel+0x164>                 
 2007ed8:	b6 07 20 1c 	add  %i4, 0x1c, %i3                            
      return AIO_ALLDONE;                                             
    }                                                                 
                                                                      
    AIO_printf ("Request chain on [WQ]\n");                           
                                                                      
    pthread_mutex_lock (&r_chain->mutex);                             
 2007edc:	40 00 04 3b 	call  2008fc8 <pthread_mutex_lock>             
 2007ee0:	90 10 00 1b 	mov  %i3, %o0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 2007ee4:	40 00 0b 26 	call  200ab7c <_Chain_Extract>                 
 2007ee8:	90 10 00 1c 	mov  %i4, %o0                                  
    rtems_chain_extract (&r_chain->next_fd);                          
    rtems_aio_remove_fd (r_chain);                                    
 2007eec:	40 00 01 8a 	call  2008514 <rtems_aio_remove_fd>            
 2007ef0:	90 10 00 1c 	mov  %i4, %o0                                  
    pthread_mutex_unlock (&r_chain->mutex);                           
 2007ef4:	40 00 04 55 	call  2009048 <pthread_mutex_unlock>           
 2007ef8:	90 10 00 1b 	mov  %i3, %o0                                  
    pthread_mutex_unlock (&aio_request_queue.mutex);                  
    return AIO_CANCELED;                                              
 2007efc:	b0 10 20 00 	clr  %i0                                       
                                                                      
    pthread_mutex_lock (&r_chain->mutex);                             
    rtems_chain_extract (&r_chain->next_fd);                          
    rtems_aio_remove_fd (r_chain);                                    
    pthread_mutex_unlock (&r_chain->mutex);                           
    pthread_mutex_unlock (&aio_request_queue.mutex);                  
 2007f00:	40 00 04 52 	call  2009048 <pthread_mutex_unlock>           
 2007f04:	90 17 61 a4 	or  %i5, 0x1a4, %o0                            
    return AIO_CANCELED;                                              
 2007f08:	81 c7 e0 08 	ret                                            
 2007f0c:	81 e8 00 00 	restore                                        
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2007f10:	b8 17 61 a4 	or  %i5, 0x1a4, %i4                            
                                                                      
    r_chain = rtems_aio_search_fd (&aio_request_queue.work_req, fildes, 0);
    if (r_chain == NULL) {                                            
      AIO_printf ("Request chain not on [WQ]\n");                     
                                                                      
      if (!rtems_chain_is_empty (&aio_request_queue.idle_req)) {      
 2007f14:	c4 07 20 54 	ld  [ %i4 + 0x54 ], %g2                        
 2007f18:	82 07 20 58 	add  %i4, 0x58, %g1                            
 2007f1c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2007f20:	02 bf ff da 	be  2007e88 <aio_cancel+0xdc>                  <== NEVER TAKEN
 2007f24:	90 07 20 54 	add  %i4, 0x54, %o0                            
        r_chain = rtems_aio_search_fd (&aio_request_queue.idle_req, fildes, 0);
 2007f28:	92 10 00 18 	mov  %i0, %o1                                  
 2007f2c:	40 00 01 45 	call  2008440 <rtems_aio_search_fd>            
 2007f30:	94 10 20 00 	clr  %o2                                       
        if (r_chain == NULL) {                                        
 2007f34:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2007f38:	22 bf ff d5 	be,a   2007e8c <aio_cancel+0xe0>               
 2007f3c:	b0 10 20 02 	mov  2, %i0                                    
 2007f40:	40 00 0b 0f 	call  200ab7c <_Chain_Extract>                 
 2007f44:	ba 06 e0 1c 	add  %i3, 0x1c, %i5                            
        }                                                             
                                                                      
        AIO_printf ("Request chain on [IQ]\n");                       
                                                                      
        rtems_chain_extract (&r_chain->next_fd);                      
        rtems_aio_remove_fd (r_chain);                                
 2007f48:	40 00 01 73 	call  2008514 <rtems_aio_remove_fd>            
 2007f4c:	90 10 00 1b 	mov  %i3, %o0                                  
        pthread_mutex_destroy (&r_chain->mutex);                      
 2007f50:	40 00 03 71 	call  2008d14 <pthread_mutex_destroy>          
 2007f54:	90 10 00 1d 	mov  %i5, %o0                                  
        pthread_cond_destroy (&r_chain->mutex);                       
 2007f58:	40 00 02 92 	call  20089a0 <pthread_cond_destroy>           
 2007f5c:	90 10 00 1d 	mov  %i5, %o0                                  
        free (r_chain);                                               
 2007f60:	7f ff ef b0 	call  2003e20 <free>                           
 2007f64:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      
        pthread_mutex_unlock (&aio_request_queue.mutex);              
        return AIO_CANCELED;                                          
 2007f68:	b0 10 20 00 	clr  %i0                                       
        rtems_aio_remove_fd (r_chain);                                
        pthread_mutex_destroy (&r_chain->mutex);                      
        pthread_cond_destroy (&r_chain->mutex);                       
        free (r_chain);                                               
                                                                      
        pthread_mutex_unlock (&aio_request_queue.mutex);              
 2007f6c:	40 00 04 37 	call  2009048 <pthread_mutex_unlock>           
 2007f70:	90 10 00 1c 	mov  %i4, %o0                                  
        return AIO_CANCELED;                                          
 2007f74:	81 c7 e0 08 	ret                                            
 2007f78:	81 e8 00 00 	restore                                        
  int result;                                                         
                                                                      
  pthread_mutex_lock (&aio_request_queue.mutex);                      
                                                                      
  if (fcntl (fildes, F_GETFD) < 0) {                                  
    pthread_mutex_unlock(&aio_request_queue.mutex);                   
 2007f7c:	40 00 04 33 	call  2009048 <pthread_mutex_unlock>           
 2007f80:	90 17 61 a4 	or  %i5, 0x1a4, %o0                            
    rtems_set_errno_and_return_minus_one (EBADF);                     
 2007f84:	40 00 2b 31 	call  2012c48 <__errno>                        
 2007f88:	b0 10 3f ff 	mov  -1, %i0                                   
 2007f8c:	82 10 20 09 	mov  9, %g1                                    
 2007f90:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007f94:	81 c7 e0 08 	ret                                            
 2007f98:	81 e8 00 00 	restore                                        
                                                                      

02007fa4 <aio_fsync>: int aio_fsync( int op, struct aiocb *aiocbp ) {
 2007fa4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  if (op != O_SYNC)                                                   
 2007fa8:	03 00 00 08 	sethi  %hi(0x2000), %g1                        
 2007fac:	80 a6 00 01 	cmp  %i0, %g1                                  
 2007fb0:	12 80 00 14 	bne  2008000 <aio_fsync+0x5c>                  
 2007fb4:	ba 10 20 16 	mov  0x16, %i5                                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
 2007fb8:	d0 06 40 00 	ld  [ %i1 ], %o0                               
 2007fbc:	40 00 1b c3 	call  200eec8 <fcntl>                          
 2007fc0:	92 10 20 03 	mov  3, %o1                                    
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
 2007fc4:	90 0a 20 03 	and  %o0, 3, %o0                               
 2007fc8:	90 02 3f ff 	add  %o0, -1, %o0                              
 2007fcc:	80 a2 20 01 	cmp  %o0, 1                                    
 2007fd0:	18 80 00 0c 	bgu  2008000 <aio_fsync+0x5c>                  
 2007fd4:	ba 10 20 09 	mov  9, %i5                                    
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
 2007fd8:	7f ff f0 d3 	call  2004324 <malloc>                         
 2007fdc:	90 10 20 18 	mov  0x18, %o0                                 
  if (req == NULL)                                                    
 2007fe0:	80 a2 20 00 	cmp  %o0, 0                                    
 2007fe4:	02 80 00 06 	be  2007ffc <aio_fsync+0x58>                   <== NEVER TAKEN
 2007fe8:	82 10 20 03 	mov  3, %g1                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
 2007fec:	f2 22 20 14 	st  %i1, [ %o0 + 0x14 ]                        
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
 2007ff0:	c2 26 60 30 	st  %g1, [ %i1 + 0x30 ]                        
                                                                      
  return rtems_aio_enqueue (req);                                     
 2007ff4:	40 00 01 78 	call  20085d4 <rtems_aio_enqueue>              
 2007ff8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
 2007ffc:	ba 10 20 0b 	mov  0xb, %i5                                  <== NOT EXECUTED
 2008000:	82 10 3f ff 	mov  -1, %g1                                   
 2008004:	fa 26 60 34 	st  %i5, [ %i1 + 0x34 ]                        
 2008008:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        
 200800c:	40 00 2b 0f 	call  2012c48 <__errno>                        
 2008010:	b0 10 3f ff 	mov  -1, %i0                                   
 2008014:	fa 22 00 00 	st  %i5, [ %o0 ]                               
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_SYNC;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
                                                                      
}                                                                     
 2008018:	81 c7 e0 08 	ret                                            
 200801c:	81 e8 00 00 	restore                                        
                                                                      

020087b8 <aio_read>: * 0 - otherwise */ int aio_read (struct aiocb *aiocbp) {
 20087b8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
 20087bc:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 20087c0:	92 10 20 03 	mov  3, %o1                                    
 20087c4:	40 00 19 c1 	call  200eec8 <fcntl>                          
 20087c8:	ba 10 20 09 	mov  9, %i5                                    
  if (!(((mode & O_ACCMODE) == O_RDONLY) || ((mode & O_ACCMODE) == O_RDWR)))
 20087cc:	80 8a 20 01 	btst  1, %o0                                   
 20087d0:	12 80 00 0b 	bne  20087fc <aio_read+0x44>                   
 20087d4:	82 10 3f ff 	mov  -1, %g1                                   
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
 20087d8:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 20087dc:	80 a0 60 00 	cmp  %g1, 0                                    
 20087e0:	12 80 00 06 	bne  20087f8 <aio_read+0x40>                   
 20087e4:	ba 10 20 16 	mov  0x16, %i5                                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
 20087e8:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 20087ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20087f0:	16 80 00 0a 	bge  2008818 <aio_read+0x60>                   
 20087f4:	01 00 00 00 	nop                                            
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
 20087f8:	82 10 3f ff 	mov  -1, %g1	! ffffffff <RAM_END+0xfdbfffff>   
 20087fc:	fa 26 20 34 	st  %i5, [ %i0 + 0x34 ]                        
 2008800:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
 2008804:	40 00 29 11 	call  2012c48 <__errno>                        
 2008808:	b0 10 3f ff 	mov  -1, %i0                                   
 200880c:	fa 22 00 00 	st  %i5, [ %o0 ]                               
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
 2008810:	81 c7 e0 08 	ret                                            
 2008814:	81 e8 00 00 	restore                                        
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
 2008818:	7f ff ee c3 	call  2004324 <malloc>                         
 200881c:	90 10 20 18 	mov  0x18, %o0                                 
  if (req == NULL)                                                    
 2008820:	80 a2 20 00 	cmp  %o0, 0                                    
 2008824:	02 80 00 06 	be  200883c <aio_read+0x84>                    <== NEVER TAKEN
 2008828:	82 10 20 01 	mov  1, %g1                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
 200882c:	f0 22 20 14 	st  %i0, [ %o0 + 0x14 ]                        
  req->aiocbp->aio_lio_opcode = LIO_READ;                             
 2008830:	c2 26 20 30 	st  %g1, [ %i0 + 0x30 ]                        
                                                                      
  return rtems_aio_enqueue (req);                                     
 2008834:	7f ff ff 68 	call  20085d4 <rtems_aio_enqueue>              
 2008838:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
 200883c:	10 bf ff ef 	b  20087f8 <aio_read+0x40>                     <== NOT EXECUTED
 2008840:	ba 10 20 0b 	mov  0xb, %i5                                  <== NOT EXECUTED
                                                                      

0200884c <aio_write>: * 0 - otherwise */ int aio_write (struct aiocb *aiocbp) {
 200884c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_aio_request *req;                                             
  int mode;                                                           
                                                                      
  mode = fcntl (aiocbp->aio_fildes, F_GETFL);                         
 2008850:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 2008854:	40 00 19 9d 	call  200eec8 <fcntl>                          
 2008858:	92 10 20 03 	mov  3, %o1                                    
  if (!(((mode & O_ACCMODE) == O_WRONLY) || ((mode & O_ACCMODE) == O_RDWR)))
 200885c:	90 0a 20 03 	and  %o0, 3, %o0                               
 2008860:	90 02 3f ff 	add  %o0, -1, %o0                              
 2008864:	80 a2 20 01 	cmp  %o0, 1                                    
 2008868:	18 80 00 0a 	bgu  2008890 <aio_write+0x44>                  
 200886c:	ba 10 20 09 	mov  9, %i5                                    
    rtems_aio_set_errno_return_minus_one (EBADF, aiocbp);             
                                                                      
  if (aiocbp->aio_reqprio < 0 || aiocbp->aio_reqprio > AIO_PRIO_DELTA_MAX)
 2008870:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 2008874:	80 a0 60 00 	cmp  %g1, 0                                    
 2008878:	12 80 00 06 	bne  2008890 <aio_write+0x44>                  
 200887c:	ba 10 20 16 	mov  0x16, %i5                                 
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
 2008880:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2008884:	80 a0 60 00 	cmp  %g1, 0                                    
 2008888:	16 80 00 0a 	bge  20088b0 <aio_write+0x64>                  
 200888c:	01 00 00 00 	nop                                            
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
 2008890:	82 10 3f ff 	mov  -1, %g1	! ffffffff <RAM_END+0xfdbfffff>   
 2008894:	fa 26 20 34 	st  %i5, [ %i0 + 0x34 ]                        
 2008898:	c2 26 20 38 	st  %g1, [ %i0 + 0x38 ]                        
 200889c:	40 00 28 eb 	call  2012c48 <__errno>                        
 20088a0:	b0 10 3f ff 	mov  -1, %i0                                   
 20088a4:	fa 22 00 00 	st  %i5, [ %o0 ]                               
                                                                      
  req->aiocbp = aiocbp;                                               
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
                                                                      
  return rtems_aio_enqueue (req);                                     
}                                                                     
 20088a8:	81 c7 e0 08 	ret                                            
 20088ac:	81 e8 00 00 	restore                                        
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
 20088b0:	7f ff ee 9d 	call  2004324 <malloc>                         
 20088b4:	90 10 20 18 	mov  0x18, %o0                                 
  if (req == NULL)                                                    
 20088b8:	80 a2 20 00 	cmp  %o0, 0                                    
 20088bc:	02 80 00 06 	be  20088d4 <aio_write+0x88>                   <== NEVER TAKEN
 20088c0:	82 10 20 02 	mov  2, %g1                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
                                                                      
  req->aiocbp = aiocbp;                                               
 20088c4:	f0 22 20 14 	st  %i0, [ %o0 + 0x14 ]                        
  req->aiocbp->aio_lio_opcode = LIO_WRITE;                            
 20088c8:	c2 26 20 30 	st  %g1, [ %i0 + 0x30 ]                        
                                                                      
  return rtems_aio_enqueue (req);                                     
 20088cc:	7f ff ff 42 	call  20085d4 <rtems_aio_enqueue>              
 20088d0:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  if (aiocbp->aio_offset < 0)                                         
    rtems_aio_set_errno_return_minus_one (EINVAL, aiocbp);            
                                                                      
  req = malloc (sizeof (rtems_aio_request));                          
  if (req == NULL)                                                    
    rtems_aio_set_errno_return_minus_one (EAGAIN, aiocbp);            
 20088d4:	10 bf ff ef 	b  2008890 <aio_write+0x44>                    <== NOT EXECUTED
 20088d8:	ba 10 20 0b 	mov  0xb, %i5                                  <== NOT EXECUTED
                                                                      

02008e18 <check_and_merge>: rtems_rbtree_control *chunk_tree, rtems_rbheap_chunk *a, rtems_rbheap_chunk *b ) { if (b != NULL_PAGE && rtems_rbheap_is_chunk_free(b)) {
 2008e18:	80 a2 ff f8 	cmp  %o3, -8                                   
 2008e1c:	02 80 00 23 	be  2008ea8 <check_and_merge+0x90>             
 2008e20:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 2008e24:	c2 02 c0 00 	ld  [ %o3 ], %g1                               
 2008e28:	80 a0 60 00 	cmp  %g1, 0                                    
 2008e2c:	22 80 00 1c 	be,a   2008e9c <check_and_merge+0x84>          
 2008e30:	c4 02 e0 04 	ld  [ %o3 + 4 ], %g2                           
    if (b->begin < a->begin) {                                        
 2008e34:	c6 02 e0 18 	ld  [ %o3 + 0x18 ], %g3                        
 2008e38:	c4 02 a0 18 	ld  [ %o2 + 0x18 ], %g2                        
 2008e3c:	80 a0 c0 02 	cmp  %g3, %g2                                  
 2008e40:	3a 80 00 07 	bcc,a   2008e5c <check_and_merge+0x44>         
 2008e44:	c8 02 a0 1c 	ld  [ %o2 + 0x1c ], %g4                        
 2008e48:	84 10 00 0a 	mov  %o2, %g2                                  
 2008e4c:	c2 02 80 00 	ld  [ %o2 ], %g1                               
 2008e50:	94 10 00 0b 	mov  %o3, %o2                                  
 2008e54:	96 10 00 02 	mov  %g2, %o3                                  
                                                                      
      a = b;                                                          
      b = t;                                                          
    }                                                                 
                                                                      
    a->size += b->size;                                               
 2008e58:	c8 02 a0 1c 	ld  [ %o2 + 0x1c ], %g4                        
 2008e5c:	c6 02 e0 1c 	ld  [ %o3 + 0x1c ], %g3                        
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 2008e60:	c4 02 e0 04 	ld  [ %o3 + 4 ], %g2                           
 2008e64:	86 01 00 03 	add  %g4, %g3, %g3                             
 2008e68:	c6 22 a0 1c 	st  %g3, [ %o2 + 0x1c ]                        
  next->previous = previous;                                          
  previous->next = next;                                              
 2008e6c:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 2008e70:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 2008e74:	c2 02 00 00 	ld  [ %o0 ], %g1                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 2008e78:	d0 22 e0 04 	st  %o0, [ %o3 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 2008e7c:	d6 22 00 00 	st  %o3, [ %o0 ]                               
  the_node->next        = before_node;                                
 2008e80:	c2 22 c0 00 	st  %g1, [ %o3 ]                               
    rtems_chain_extract_unprotected(&b->chain_node);                  
    add_to_chain(free_chain, b);                                      
    _RBTree_Extract_unprotected(chunk_tree, &b->tree_node);           
 2008e84:	90 10 00 09 	mov  %o1, %o0                                  
  before_node->previous = the_node;                                   
 2008e88:	d6 20 60 04 	st  %o3, [ %g1 + 4 ]                           
 2008e8c:	92 02 e0 08 	add  %o3, 8, %o1                               
 2008e90:	82 13 c0 00 	mov  %o7, %g1                                  
 2008e94:	40 00 07 25 	call  200ab28 <_RBTree_Extract_unprotected>    
 2008e98:	9e 10 40 00 	mov  %g1, %o7                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 2008e9c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008ea0:	32 bf ff e6 	bne,a   2008e38 <check_and_merge+0x20>         <== NEVER TAKEN
 2008ea4:	c6 02 e0 18 	ld  [ %o3 + 0x18 ], %g3                        <== NOT EXECUTED
 2008ea8:	81 c3 e0 08 	retl                                           
                                                                      

0202b77c <chroot>: #include <unistd.h> #include <rtems/libio_.h> int chroot( const char *path ) {
 202b77c:	9d e3 bf 48 	save  %sp, -184, %sp                           
                                                                      
  /*                                                                  
   * We use the global environment for path evaluation.  This makes it possible
   * to escape from a chroot environment referencing an unmounted file system.
   */                                                                 
  rtems_filesystem_eval_path_start_with_root_and_current(             
 202b780:	94 10 20 19 	mov  0x19, %o2                                 
 202b784:	92 10 00 18 	mov  %i0, %o1                                  
 202b788:	90 07 bf c8 	add  %fp, -56, %o0                             
 202b78c:	17 00 81 c6 	sethi  %hi(0x2071800), %o3                     
 202b790:	96 12 e3 84 	or  %o3, 0x384, %o3	! 2071b84 <rtems_global_user_env+0x4>
 202b794:	7f ff 7d 5c 	call  200ad04 <rtems_filesystem_eval_path_start_with_root_and_current>
 202b798:	98 02 ff fc 	add  %o3, -4, %o4                              
 202b79c:	92 07 bf e0 	add  %fp, -32, %o1                             
 202b7a0:	7f ff 7e 5c 	call  200b110 <rtems_filesystem_location_copy_and_detach>
 202b7a4:	90 07 bf b0 	add  %fp, -80, %o0                             
    &rtems_global_user_env.root_directory,                            
    &rtems_global_user_env.current_directory                          
  );                                                                  
                                                                      
  rtems_filesystem_eval_path_extract_currentloc( &ctx, &loc );        
  new_current_loc = rtems_filesystem_location_transform_to_global( &loc );
 202b7a8:	7f ff 7e eb 	call  200b354 <rtems_filesystem_location_transform_to_global>
 202b7ac:	90 07 bf b0 	add  %fp, -80, %o0                             
  if ( !rtems_filesystem_global_location_is_null( new_current_loc ) ) {
 202b7b0:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
 202b7b4:	39 00 81 97 	sethi  %hi(0x2065c00), %i4                     
 202b7b8:	b8 17 22 04 	or  %i4, 0x204, %i4	! 2065e04 <rtems_filesystem_null_handlers>
 202b7bc:	80 a0 40 1c 	cmp  %g1, %i4                                  
 202b7c0:	02 80 00 16 	be  202b818 <chroot+0x9c>                      
 202b7c4:	d0 27 bf ac 	st  %o0, [ %fp + -84 ]                         
    rtems_filesystem_global_location_t *new_root_loc =                
 202b7c8:	7f ff 7e a7 	call  200b264 <rtems_filesystem_global_location_obtain>
 202b7cc:	90 07 bf ac 	add  %fp, -84, %o0                             
      rtems_filesystem_global_location_obtain( &new_current_loc );    
    rtems_filesystem_node_types_t type =                              
      (*new_root_loc->location.mt_entry->ops->node_type_h)(           
 202b7d0:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 202b7d4:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
  rtems_filesystem_eval_path_extract_currentloc( &ctx, &loc );        
  new_current_loc = rtems_filesystem_location_transform_to_global( &loc );
  if ( !rtems_filesystem_global_location_is_null( new_current_loc ) ) {
    rtems_filesystem_global_location_t *new_root_loc =                
      rtems_filesystem_global_location_obtain( &new_current_loc );    
    rtems_filesystem_node_types_t type =                              
 202b7d8:	c2 00 60 14 	ld  [ %g1 + 0x14 ], %g1                        
 202b7dc:	9f c0 40 00 	call  %g1                                      
 202b7e0:	ba 10 00 08 	mov  %o0, %i5                                  
      (*new_root_loc->location.mt_entry->ops->node_type_h)(           
        &new_root_loc->location                                       
      );                                                              
                                                                      
    if ( type == RTEMS_FILESYSTEM_DIRECTORY ) {                       
 202b7e4:	80 a2 20 00 	cmp  %o0, 0                                    
 202b7e8:	02 80 00 13 	be  202b834 <chroot+0xb8>                      
 202b7ec:	01 00 00 00 	nop                                            
static inline void rtems_filesystem_location_error(                   
  const rtems_filesystem_location_info_t *loc,                        
  int eno                                                             
)                                                                     
{                                                                     
  if ( !rtems_filesystem_location_is_null( loc ) ) {                  
 202b7f0:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 202b7f4:	80 a0 40 1c 	cmp  %g1, %i4                                  
 202b7f8:	02 80 00 06 	be  202b810 <chroot+0x94>                      <== NEVER TAKEN
 202b7fc:	01 00 00 00 	nop                                            
    errno = eno;                                                      
 202b800:	40 00 74 42 	call  2048908 <__errno>                        
 202b804:	01 00 00 00 	nop                                            
 202b808:	82 10 20 14 	mov  0x14, %g1	! 14 <PROM_START+0x14>          
 202b80c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      rtems_filesystem_location_error( &new_root_loc->location, ENOTDIR );
      rv = -1;                                                        
    }                                                                 
                                                                      
    if ( rv != 0 ) {                                                  
      rtems_filesystem_global_location_release( new_root_loc );       
 202b810:	7f ff 7e 75 	call  200b1e4 <rtems_filesystem_global_location_release>
 202b814:	90 10 00 1d 	mov  %i5, %o0                                  
    }                                                                 
  } else {                                                            
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
 202b818:	7f ff 7d 85 	call  200ae2c <rtems_filesystem_eval_path_cleanup>
 202b81c:	90 07 bf c8 	add  %fp, -56, %o0                             
                                                                      
  if ( rv != 0 ) {                                                    
    rtems_filesystem_global_location_release( new_current_loc );      
 202b820:	d0 07 bf ac 	ld  [ %fp + -84 ], %o0                         
 202b824:	7f ff 7e 70 	call  200b1e4 <rtems_filesystem_global_location_release>
 202b828:	b0 10 3f ff 	mov  -1, %i0                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 202b82c:	81 c7 e0 08 	ret                                            
 202b830:	81 e8 00 00 	restore                                        
      (*new_root_loc->location.mt_entry->ops->node_type_h)(           
        &new_root_loc->location                                       
      );                                                              
                                                                      
    if ( type == RTEMS_FILESYSTEM_DIRECTORY ) {                       
      sc = rtems_libio_set_private_env();                             
 202b834:	40 00 05 33 	call  202cd00 <rtems_libio_set_private_env>    
 202b838:	01 00 00 00 	nop                                            
      if (sc == RTEMS_SUCCESSFUL) {                                   
 202b83c:	80 a2 20 00 	cmp  %o0, 0                                    
 202b840:	02 80 00 09 	be  202b864 <chroot+0xe8>                      
 202b844:	80 a2 20 0d 	cmp  %o0, 0xd                                  
        rtems_filesystem_global_location_assign(                      
          &rtems_filesystem_current,                                  
          new_current_loc                                             
        );                                                            
      } else {                                                        
        if (sc != RTEMS_UNSATISFIED) {                                
 202b848:	02 bf ff f2 	be  202b810 <chroot+0x94>                      <== NEVER TAKEN
 202b84c:	01 00 00 00 	nop                                            
          errno = ENOMEM;                                             
 202b850:	40 00 74 2e 	call  2048908 <__errno>                        
 202b854:	01 00 00 00 	nop                                            
 202b858:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             
 202b85c:	10 bf ff ed 	b  202b810 <chroot+0x94>                       
 202b860:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      );                                                              
                                                                      
    if ( type == RTEMS_FILESYSTEM_DIRECTORY ) {                       
      sc = rtems_libio_set_private_env();                             
      if (sc == RTEMS_SUCCESSFUL) {                                   
        rtems_filesystem_global_location_assign(                      
 202b864:	39 00 81 c6 	sethi  %hi(0x2071800), %i4                     
 202b868:	d0 07 23 7c 	ld  [ %i4 + 0x37c ], %o0	! 2071b7c <rtems_current_user_env>
 202b86c:	92 10 00 1d 	mov  %i5, %o1                                  
 202b870:	7f ff 7e 73 	call  200b23c <rtems_filesystem_global_location_assign>
 202b874:	90 02 20 04 	add  %o0, 4, %o0                               
          &rtems_filesystem_root,                                     
          new_root_loc                                                
        );                                                            
        rtems_filesystem_global_location_assign(                      
 202b878:	d2 07 bf ac 	ld  [ %fp + -84 ], %o1                         
 202b87c:	d0 07 23 7c 	ld  [ %i4 + 0x37c ], %o0                       
 202b880:	7f ff 7e 6f 	call  200b23c <rtems_filesystem_global_location_assign>
 202b884:	b0 10 20 00 	clr  %i0                                       
    }                                                                 
  } else {                                                            
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
 202b888:	7f ff 7d 69 	call  200ae2c <rtems_filesystem_eval_path_cleanup>
 202b88c:	90 07 bf c8 	add  %fp, -56, %o0                             
 202b890:	81 c7 e0 08 	ret                                            
 202b894:	81 e8 00 00 	restore                                        
                                                                      

02007a0c <clock_gettime>: int clock_gettime( clockid_t clock_id, struct timespec *tp ) {
 2007a0c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ( !tp )                                                          
 2007a10:	80 a6 60 00 	cmp  %i1, 0                                    
 2007a14:	02 80 00 0a 	be  2007a3c <clock_gettime+0x30>               
 2007a18:	80 a6 20 01 	cmp  %i0, 1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 2007a1c:	02 80 00 19 	be  2007a80 <clock_gettime+0x74>               
 2007a20:	80 a6 20 04 	cmp  %i0, 4                                    
    _TOD_Get(tp);                                                     
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
 2007a24:	02 80 00 12 	be  2007a6c <clock_gettime+0x60>               <== NEVER TAKEN
 2007a28:	80 a6 20 02 	cmp  %i0, 2                                    
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_CPUTIME                                                 
  if ( clock_id == CLOCK_PROCESS_CPUTIME_ID ) {                       
 2007a2c:	02 80 00 10 	be  2007a6c <clock_gettime+0x60>               
 2007a30:	80 a6 20 03 	cmp  %i0, 3                                    
    return 0;                                                         
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                          
 2007a34:	02 80 00 08 	be  2007a54 <clock_gettime+0x48>               
 2007a38:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 2007a3c:	40 00 27 f1 	call  2011a00 <__errno>                        
 2007a40:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 2007a44:	82 10 20 16 	mov  0x16, %g1                                 
 2007a48:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 2007a4c:	81 c7 e0 08 	ret                                            
 2007a50:	81 e8 00 00 	restore                                        
  }                                                                   
#endif                                                                
                                                                      
#ifdef _POSIX_THREAD_CPUTIME                                          
  if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                          
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 2007a54:	40 00 27 eb 	call  2011a00 <__errno>                        
 2007a58:	b0 10 3f ff 	mov  -1, %i0                                   
 2007a5c:	82 10 20 58 	mov  0x58, %g1                                 
 2007a60:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2007a64:	81 c7 e0 08 	ret                                            
 2007a68:	81 e8 00 00 	restore                                        
    _TOD_Get(tp);                                                     
    return 0;                                                         
  }                                                                   
#ifdef CLOCK_MONOTONIC                                                
  if ( clock_id == CLOCK_MONOTONIC ) {                                
    _TOD_Get_uptime_as_timespec( tp );                                
 2007a6c:	90 10 00 19 	mov  %i1, %o0                                  
 2007a70:	40 00 08 a1 	call  2009cf4 <_TOD_Get_uptime_as_timespec>    
 2007a74:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
 2007a78:	81 c7 e0 08 	ret                                            
 2007a7c:	81 e8 00 00 	restore                                        
  struct timespec *tod_as_timespec                                    
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _TOD_Get_as_timestamp( &tod_as_timestamp );                         
 2007a80:	40 00 08 8b 	call  2009cac <_TOD_Get_as_timestamp>          
 2007a84:	90 07 bf f8 	add  %fp, -8, %o0                              
  _Timestamp_To_timespec( &tod_as_timestamp, tod_as_timespec );       
 2007a88:	f8 1f bf f8 	ldd  [ %fp + -8 ], %i4                         
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007a8c:	94 10 20 00 	clr  %o2                                       
 2007a90:	90 10 00 1c 	mov  %i4, %o0                                  
 2007a94:	92 10 00 1d 	mov  %i5, %o1                                  
 2007a98:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007a9c:	40 00 56 16 	call  201d2f4 <__divdi3>                       
 2007aa0:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007aa4:	94 10 20 00 	clr  %o2                                       
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007aa8:	d2 26 40 00 	st  %o1, [ %i1 ]                               
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007aac:	90 10 00 1c 	mov  %i4, %o0                                  
 2007ab0:	92 10 00 1d 	mov  %i5, %o1                                  
 2007ab4:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    _TOD_Get(tp);                                                     
    return 0;                                                         
 2007ab8:	b0 10 20 00 	clr  %i0                                       
 2007abc:	40 00 56 f9 	call  201d6a0 <__moddi3>                       
 2007ac0:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 2007ac4:	d2 26 60 04 	st  %o1, [ %i1 + 4 ]                           
 2007ac8:	81 c7 e0 08 	ret                                            
 2007acc:	81 e8 00 00 	restore                                        
                                                                      

0202d7a4 <clock_settime>: int clock_settime( clockid_t clock_id, const struct timespec *tp ) {
 202d7a4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ( !tp )                                                          
 202d7a8:	80 a6 60 00 	cmp  %i1, 0                                    
 202d7ac:	02 80 00 08 	be  202d7cc <clock_settime+0x28>               <== NEVER TAKEN
 202d7b0:	80 a6 20 01 	cmp  %i0, 1                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
 202d7b4:	02 80 00 0c 	be  202d7e4 <clock_settime+0x40>               
 202d7b8:	80 a6 20 02 	cmp  %i0, 2                                    
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
  }                                                                   
#ifdef _POSIX_CPUTIME                                                 
  else if ( clock_id == CLOCK_PROCESS_CPUTIME_ID )                    
 202d7bc:	02 80 00 4a 	be  202d8e4 <clock_settime+0x140>              
 202d7c0:	80 a6 20 03 	cmp  %i0, 3                                    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                     
 202d7c4:	02 80 00 48 	be  202d8e4 <clock_settime+0x140>              
 202d7c8:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 202d7cc:	40 00 6c 4f 	call  2048908 <__errno>                        
 202d7d0:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 202d7d4:	82 10 20 16 	mov  0x16, %g1                                 
 202d7d8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  return 0;                                                           
}                                                                     
 202d7dc:	81 c7 e0 08 	ret                                            
 202d7e0:	81 e8 00 00 	restore                                        
{                                                                     
  if ( !tp )                                                          
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( clock_id == CLOCK_REALTIME ) {                                 
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
 202d7e4:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 202d7e8:	03 08 76 b9 	sethi  %hi(0x21dae400), %g1                    
 202d7ec:	82 10 60 ff 	or  %g1, 0xff, %g1	! 21dae4ff <RAM_END+0x1f9ae4ff>
 202d7f0:	80 a0 80 01 	cmp  %g2, %g1                                  
 202d7f4:	08 bf ff f6 	bleu  202d7cc <clock_settime+0x28>             
 202d7f8:	03 00 81 d7 	sethi  %hi(0x2075c00), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 202d7fc:	c4 00 61 90 	ld  [ %g1 + 0x190 ], %g2	! 2075d90 <_Thread_Dispatch_disable_level>
 202d800:	84 00 a0 01 	inc  %g2                                       
 202d804:	c4 20 61 90 	st  %g2, [ %g1 + 0x190 ]                       
    return _Thread_Dispatch_disable_level;                            
 202d808:	c2 00 61 90 	ld  [ %g1 + 0x190 ], %g1                       
  const struct timespec *tod_as_timespec                              
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _Timestamp_Set(                                                     
 202d80c:	fa 06 40 00 	ld  [ %i1 ], %i5                               
 202d810:	ea 06 60 04 	ld  [ %i1 + 4 ], %l5                           
 202d814:	b9 3f 60 1f 	sra  %i5, 0x1f, %i4                            
  Timestamp64_Control *_time,                                         
  Timestamp64_Control  _seconds,                                      
  Timestamp64_Control  _nanoseconds                                   
)                                                                     
{                                                                     
  *_time = _seconds * 1000000000L + _nanoseconds;                     
 202d818:	83 2f 20 03 	sll  %i4, 3, %g1                               
 202d81c:	b7 2f 60 03 	sll  %i5, 3, %i3                               
 202d820:	85 37 60 1d 	srl  %i5, 0x1d, %g2                            
 202d824:	b4 10 80 01 	or  %g2, %g1, %i2                              
 202d828:	83 36 e0 1b 	srl  %i3, 0x1b, %g1                            
 202d82c:	a5 2e a0 05 	sll  %i2, 5, %l2                               
 202d830:	a7 2e e0 05 	sll  %i3, 5, %l3                               
 202d834:	a4 10 40 12 	or  %g1, %l2, %l2                              
 202d838:	b6 a4 c0 1b 	subcc  %l3, %i3, %i3                           
 202d83c:	83 36 e0 1a 	srl  %i3, 0x1a, %g1                            
 202d840:	b4 64 80 1a 	subx  %l2, %i2, %i2                            
 202d844:	a3 2e e0 06 	sll  %i3, 6, %l1                               
 202d848:	a1 2e a0 06 	sll  %i2, 6, %l0                               
 202d84c:	86 a4 40 1b 	subcc  %l1, %i3, %g3                           
 202d850:	a0 10 40 10 	or  %g1, %l0, %l0                              
 202d854:	84 64 00 1a 	subx  %l0, %i2, %g2                            
 202d858:	86 80 c0 1d 	addcc  %g3, %i5, %g3                           
 202d85c:	83 30 e0 1e 	srl  %g3, 0x1e, %g1                            
 202d860:	84 40 80 1c 	addx  %g2, %i4, %g2                            
 202d864:	97 28 e0 02 	sll  %g3, 2, %o3                               
 202d868:	95 28 a0 02 	sll  %g2, 2, %o2                               
 202d86c:	86 80 c0 0b 	addcc  %g3, %o3, %g3                           
 202d870:	94 10 40 0a 	or  %g1, %o2, %o2                              
 202d874:	83 30 e0 1e 	srl  %g3, 0x1e, %g1                            
 202d878:	84 40 80 0a 	addx  %g2, %o2, %g2                            
 202d87c:	9b 28 e0 02 	sll  %g3, 2, %o5                               
 202d880:	99 28 a0 02 	sll  %g2, 2, %o4                               
 202d884:	86 80 c0 0d 	addcc  %g3, %o5, %g3                           
 202d888:	98 10 40 0c 	or  %g1, %o4, %o4                              
 202d88c:	b3 28 e0 02 	sll  %g3, 2, %i1                               
 202d890:	84 40 80 0c 	addx  %g2, %o4, %g2                            
 202d894:	83 30 e0 1e 	srl  %g3, 0x1e, %g1                            
 202d898:	b1 28 a0 02 	sll  %g2, 2, %i0                               
 202d89c:	86 80 c0 19 	addcc  %g3, %i1, %g3                           
 202d8a0:	b0 10 40 18 	or  %g1, %i0, %i0                              
 202d8a4:	84 40 80 18 	addx  %g2, %i0, %g2                            
 202d8a8:	83 28 e0 09 	sll  %g3, 9, %g1                               
 202d8ac:	89 28 a0 09 	sll  %g2, 9, %g4                               
    &tod_as_timestamp,                                                
    tod_as_timespec->tv_sec,                                          
    tod_as_timespec->tv_nsec                                          
  );                                                                  
  _TOD_Set_with_timestamp( &tod_as_timestamp );                       
 202d8b0:	90 07 bf f8 	add  %fp, -8, %o0                              
 202d8b4:	bb 30 e0 17 	srl  %g3, 0x17, %i5                            
  const struct timespec *tod_as_timespec                              
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _Timestamp_Set(                                                     
 202d8b8:	a9 3d 60 1f 	sra  %l5, 0x1f, %l4                            
 202d8bc:	86 85 40 01 	addcc  %l5, %g1, %g3                           
 202d8c0:	84 17 40 04 	or  %i5, %g4, %g2                              
 202d8c4:	84 45 00 02 	addx  %l4, %g2, %g2                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
 202d8c8:	b0 10 20 00 	clr  %i0                                       
    &tod_as_timestamp,                                                
    tod_as_timespec->tv_sec,                                          
    tod_as_timespec->tv_nsec                                          
  );                                                                  
  _TOD_Set_with_timestamp( &tod_as_timestamp );                       
 202d8cc:	40 00 06 9d 	call  202f340 <_TOD_Set_with_timestamp>        
 202d8d0:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]                         
    if ( tp->tv_sec < TOD_SECONDS_1970_THROUGH_1988 )                 
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    _Thread_Disable_dispatch();                                       
      _TOD_Set( tp );                                                 
    _Thread_Enable_dispatch();                                        
 202d8d4:	7f ff 8d 9a 	call  2010f3c <_Thread_Enable_dispatch>        
 202d8d8:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
  else                                                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  return 0;                                                           
 202d8dc:	81 c7 e0 08 	ret                                            
 202d8e0:	81 e8 00 00 	restore                                        
  else if ( clock_id == CLOCK_PROCESS_CPUTIME_ID )                    
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
#endif                                                                
#ifdef _POSIX_THREAD_CPUTIME                                          
  else if ( clock_id == CLOCK_THREAD_CPUTIME_ID )                     
    rtems_set_errno_and_return_minus_one( ENOSYS );                   
 202d8e4:	40 00 6c 09 	call  2048908 <__errno>                        
 202d8e8:	b0 10 3f ff 	mov  -1, %i0                                   
 202d8ec:	82 10 20 58 	mov  0x58, %g1                                 
 202d8f0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 202d8f4:	81 c7 e0 08 	ret                                            
 202d8f8:	81 e8 00 00 	restore                                        
                                                                      

020037e0 <create_disk>: dev_t dev, const char *name, rtems_disk_device **dd_ptr, char **alloc_name_ptr ) {
 20037e0:	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) {                                        
 20037e4:	25 00 80 8a 	sethi  %hi(0x2022800), %l2                     
 20037e8:	fa 04 a0 98 	ld  [ %l2 + 0x98 ], %i5	! 2022898 <disktab_size>
 20037ec:	80 a6 00 1d 	cmp  %i0, %i5                                  
 20037f0:	1a 80 00 30 	bcc  20038b0 <create_disk+0xd0>                
 20037f4:	a2 10 00 18 	mov  %i0, %l1                                  
 20037f8:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 20037fc:	e0 00 60 9c 	ld  [ %g1 + 0x9c ], %l0	! 202289c <disktab>    
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
    disktab = table;                                                  
    disktab_size = new_size;                                          
  }                                                                   
                                                                      
  if (disktab [major].minor == NULL || minor >= disktab[major].size) {
 2003800:	83 2c 60 03 	sll  %l1, 3, %g1                               
 2003804:	fa 04 00 01 	ld  [ %l0 + %g1 ], %i5                         
 2003808:	a0 04 00 01 	add  %l0, %g1, %l0                             
 200380c:	80 a7 60 00 	cmp  %i5, 0                                    
 2003810:	02 80 00 0f 	be  200384c <create_disk+0x6c>                 
 2003814:	f0 04 20 04 	ld  [ %l0 + 4 ], %i0                           
 2003818:	80 a6 40 18 	cmp  %i1, %i0                                  
 200381c:	1a 80 00 0d 	bcc  2003850 <create_disk+0x70>                
 2003820:	80 a6 20 00 	cmp  %i0, 0                                    
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
    disktab [major].minor = table;                                    
    disktab [major].size = new_size;                                  
  }                                                                   
                                                                      
  return disktab [major].minor + minor;                               
 2003824:	83 2e 60 02 	sll  %i1, 2, %g1                               
{                                                                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
                                                                      
  if (dd_entry == NULL) {                                             
 2003828:	a0 87 40 01 	addcc  %i5, %g1, %l0                           
 200382c:	02 80 00 1f 	be  20038a8 <create_disk+0xc8>                 <== NEVER TAKEN
 2003830:	01 00 00 00 	nop                                            
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (*dd_entry != NULL) {                                            
 2003834:	c2 07 40 01 	ld  [ %i5 + %g1 ], %g1                         
 2003838:	80 a0 60 00 	cmp  %g1, 0                                    
 200383c:	02 80 00 36 	be  2003914 <create_disk+0x134>                
 2003840:	b0 10 20 0c 	mov  0xc, %i0                                  
  *dd_entry = dd;                                                     
  *dd_ptr = dd;                                                       
  *alloc_name_ptr = alloc_name;                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2003844:	81 c7 e0 08 	ret                                            
 2003848:	81 e8 00 00 	restore                                        
  if (disktab [major].minor == NULL || minor >= disktab[major].size) {
    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) {                                              
 200384c:	80 a6 20 00 	cmp  %i0, 0                                    
 2003850:	12 80 00 2b 	bne  20038fc <create_disk+0x11c>               
 2003854:	a4 10 20 08 	mov  8, %l2                                    
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
    }                                                                 
    if (minor >= new_size) {                                          
 2003858:	80 a6 40 12 	cmp  %i1, %l2                                  
 200385c:	3a 80 00 02 	bcc,a   2003864 <create_disk+0x84>             
 2003860:	a4 06 60 01 	add  %i1, 1, %l2                               
      new_size = minor + 1;                                           
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
 2003864:	90 10 00 1d 	mov  %i5, %o0                                  
 2003868:	40 00 08 ce 	call  2005ba0 <realloc>                        
 200386c:	93 2c a0 02 	sll  %l2, 2, %o1                               
    if (table == NULL) {                                              
 2003870:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2003874:	02 80 00 0d 	be  20038a8 <create_disk+0xc8>                 
 2003878:	94 24 80 18 	sub  %l2, %i0, %o2                             
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
 200387c:	91 2e 20 02 	sll  %i0, 2, %o0                               
 2003880:	92 10 20 00 	clr  %o1                                       
 2003884:	90 07 40 08 	add  %i5, %o0, %o0                             
 2003888:	40 00 47 9e 	call  2015700 <memset>                         
 200388c:	95 2a a0 02 	sll  %o2, 2, %o2                               
    disktab [major].minor = table;                                    
 2003890:	fa 24 00 00 	st  %i5, [ %l0 ]                               
    disktab [major].size = new_size;                                  
 2003894:	e4 24 20 04 	st  %l2, [ %l0 + 4 ]                           
  }                                                                   
                                                                      
  return disktab [major].minor + minor;                               
 2003898:	83 2e 60 02 	sll  %i1, 2, %g1                               
{                                                                     
  rtems_disk_device **dd_entry = create_disk_table_entry(dev);        
  rtems_disk_device *dd = NULL;                                       
  char *alloc_name = NULL;                                            
                                                                      
  if (dd_entry == NULL) {                                             
 200389c:	a0 87 40 01 	addcc  %i5, %g1, %l0                           
 20038a0:	32 bf ff e6 	bne,a   2003838 <create_disk+0x58>             <== ALWAYS TAKEN
 20038a4:	c2 07 40 01 	ld  [ %i5 + %g1 ], %g1                         
    alloc_name = strdup(name);                                        
                                                                      
    if (alloc_name == NULL) {                                         
      free(dd);                                                       
                                                                      
      return RTEMS_NO_MEMORY;                                         
 20038a8:	81 c7 e0 08 	ret                                            
 20038ac:	91 e8 20 1a 	restore  %g0, 0x1a, %o0                        
  rtems_device_minor_number minor = 0;                                
                                                                      
  rtems_filesystem_split_dev_t(dev, major, minor);                    
                                                                      
  if (major >= disktab_size) {                                        
    rtems_disk_device_table *table = disktab;                         
 20038b0:	27 00 80 8a 	sethi  %hi(0x2022800), %l3                     
    rtems_device_major_number old_size = disktab_size;                
    rtems_device_major_number new_size = 2 * old_size;                
 20038b4:	b1 2f 60 01 	sll  %i5, 1, %i0                               
                                                                      
    if (major >= new_size) {                                          
 20038b8:	80 a4 40 18 	cmp  %l1, %i0                                  
 20038bc:	0a 80 00 03 	bcs  20038c8 <create_disk+0xe8>                <== NEVER TAKEN
 20038c0:	d0 04 e0 9c 	ld  [ %l3 + 0x9c ], %o0                        
      new_size = major + 1;                                           
 20038c4:	b0 04 60 01 	add  %l1, 1, %i0                               
    }                                                                 
                                                                      
    table = realloc(table, new_size * sizeof(*table));                
 20038c8:	40 00 08 b6 	call  2005ba0 <realloc>                        
 20038cc:	93 2e 20 03 	sll  %i0, 3, %o1                               
    if (table == NULL) {                                              
 20038d0:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 20038d4:	02 bf ff f5 	be  20038a8 <create_disk+0xc8>                 <== ALWAYS TAKEN
 20038d8:	94 26 00 1d 	sub  %i0, %i5, %o2                             
      return NULL;                                                    
    }                                                                 
                                                                      
    memset(table + old_size, 0, (new_size - old_size) * sizeof(*table));
 20038dc:	91 2f 60 03 	sll  %i5, 3, %o0                               <== NOT EXECUTED
 20038e0:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 20038e4:	90 04 00 08 	add  %l0, %o0, %o0                             <== NOT EXECUTED
 20038e8:	40 00 47 86 	call  2015700 <memset>                         <== NOT EXECUTED
 20038ec:	95 2a a0 03 	sll  %o2, 3, %o2                               <== NOT EXECUTED
    disktab = table;                                                  
 20038f0:	e0 24 e0 9c 	st  %l0, [ %l3 + 0x9c ]                        <== NOT EXECUTED
    disktab_size = new_size;                                          
 20038f4:	10 bf ff c3 	b  2003800 <create_disk+0x20>                  <== NOT EXECUTED
 20038f8:	f0 24 a0 98 	st  %i0, [ %l2 + 0x98 ]                        <== NOT EXECUTED
    rtems_device_minor_number new_size = 0;                           
                                                                      
    if (old_size == 0) {                                              
      new_size = DISKTAB_INITIAL_SIZE;                                
    } else {                                                          
      new_size = 2 * old_size;                                        
 20038fc:	a5 2e 20 01 	sll  %i0, 1, %l2                               
    }                                                                 
    if (minor >= new_size) {                                          
 2003900:	80 a6 40 12 	cmp  %i1, %l2                                  
 2003904:	0a bf ff d9 	bcs  2003868 <create_disk+0x88>                <== ALWAYS TAKEN
 2003908:	90 10 00 1d 	mov  %i5, %o0                                  
 200390c:	10 bf ff d7 	b  2003868 <create_disk+0x88>                  <== NOT EXECUTED
 2003910:	a4 06 60 01 	add  %i1, 1, %l2                               <== NOT EXECUTED
                                                                      
  if (*dd_entry != NULL) {                                            
    return RTEMS_RESOURCE_IN_USE;                                     
  }                                                                   
                                                                      
  dd = malloc(sizeof(*dd));                                           
 2003914:	40 00 05 d9 	call  2005078 <malloc>                         
 2003918:	90 10 20 78 	mov  0x78, %o0                                 
  if (dd == NULL) {                                                   
 200391c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2003920:	02 bf ff e2 	be  20038a8 <create_disk+0xc8>                 <== NEVER TAKEN
 2003924:	80 a6 a0 00 	cmp  %i2, 0                                    
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
 2003928:	02 80 00 0f 	be  2003964 <create_disk+0x184>                
 200392c:	b0 10 20 00 	clr  %i0                                       
    alloc_name = strdup(name);                                        
 2003930:	40 00 48 ab 	call  2015bdc <strdup>                         
 2003934:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
    if (alloc_name == NULL) {                                         
 2003938:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200393c:	02 80 00 16 	be  2003994 <create_disk+0x1b4>                <== NEVER TAKEN
 2003940:	b4 10 00 08 	mov  %o0, %i2                                  
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
 2003944:	94 10 00 11 	mov  %l1, %o2                                  
 2003948:	13 00 00 18 	sethi  %hi(0x6000), %o1                        
 200394c:	96 10 00 19 	mov  %i1, %o3                                  
 2003950:	40 00 06 3e 	call  2005248 <mknod>                          
 2003954:	92 12 61 ff 	or  %o1, 0x1ff, %o1                            
 2003958:	80 a2 20 00 	cmp  %o0, 0                                    
 200395c:	06 80 00 07 	bl  2003978 <create_disk+0x198>                <== NEVER TAKEN
 2003960:	01 00 00 00 	nop                                            
      free(dd);                                                       
      return RTEMS_UNSATISFIED;                                       
    }                                                                 
  }                                                                   
                                                                      
  *dd_entry = dd;                                                     
 2003964:	fa 24 00 00 	st  %i5, [ %l0 ]                               
  *dd_ptr = dd;                                                       
 2003968:	fa 26 c0 00 	st  %i5, [ %i3 ]                               
  *alloc_name_ptr = alloc_name;                                       
 200396c:	f0 27 00 00 	st  %i0, [ %i4 ]                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2003970:	81 c7 e0 08 	ret                                            
 2003974:	91 e8 20 00 	restore  %g0, 0, %o0                           
    }                                                                 
  }                                                                   
                                                                      
  if (name != NULL) {                                                 
    if (mknod(alloc_name, 0777 | S_IFBLK, dev) < 0) {                 
      free(alloc_name);                                               
 2003978:	40 00 04 5e 	call  2004af0 <free>                           <== NOT EXECUTED
 200397c:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
      free(dd);                                                       
 2003980:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2003984:	40 00 04 5b 	call  2004af0 <free>                           <== NOT EXECUTED
 2003988:	b0 10 20 0d 	mov  0xd, %i0                                  <== NOT EXECUTED
      return RTEMS_UNSATISFIED;                                       
 200398c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003990:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  if (name != NULL) {                                                 
    alloc_name = strdup(name);                                        
                                                                      
    if (alloc_name == NULL) {                                         
      free(dd);                                                       
 2003994:	40 00 04 57 	call  2004af0 <free>                           <== NOT EXECUTED
 2003998:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200399c:	30 bf ff c3 	b,a   20038a8 <create_disk+0xc8>               <== NOT EXECUTED
                                                                      

02004e3c <data_to_part_desc.part.1>: * RTEMS_SUCCESSFUL, if success; * RTEMS_NO_MEMOTY, if cannot allocate memory for part_desc_t strucure; * RTEMS_INTERNAL_ERROR, if other error occurs. */ static rtems_status_code data_to_part_desc(uint8_t *data, rtems_part_desc_t **new_part_desc)
 2004e3c:	9d e3 bf 98 	save  %sp, -104, %sp                           
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    *new_part_desc = NULL;                                            
                                                                      
    if ((part_desc = calloc(1, sizeof(rtems_part_desc_t))) == NULL)   
 2004e40:	90 10 20 01 	mov  1, %o0                                    
    if (new_part_desc == NULL)                                        
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    *new_part_desc = NULL;                                            
 2004e44:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
    if ((part_desc = calloc(1, sizeof(rtems_part_desc_t))) == NULL)   
 2004e48:	40 00 03 43 	call  2005b54 <calloc>                         
 2004e4c:	92 10 20 28 	mov  0x28, %o1                                 
 *      RTEMS_SUCCESSFUL, if success;                                 
 *      RTEMS_NO_MEMOTY, if cannot allocate memory for part_desc_t strucure;
 *      RTEMS_INTERNAL_ERROR, if other error occurs.                  
 */                                                                   
static rtems_status_code                                              
data_to_part_desc(uint8_t *data, rtems_part_desc_t **new_part_desc)   
 2004e50:	82 10 00 18 	mov  %i0, %g1                                  
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    *new_part_desc = NULL;                                            
                                                                      
    if ((part_desc = calloc(1, sizeof(rtems_part_desc_t))) == NULL)   
 2004e54:	ba 10 00 08 	mov  %o0, %i5                                  
 2004e58:	80 a2 20 00 	cmp  %o0, 0                                    
 2004e5c:	02 80 00 40 	be  2004f5c <data_to_part_desc.part.1+0x120>   <== NEVER TAKEN
 2004e60:	b0 10 20 1a 	mov  0x1a, %i0                                 
    part_desc->sys_type = *(data + RTEMS_IDE_PARTITION_SYS_TYPE_OFFSET);
                                                                      
    /* read the offset start position and partition size in sectors */
                                                                      
    /* due to incorrect data alignment one have to align data first */
    memcpy(&temp, data + RTEMS_IDE_PARTITION_START_OFFSET, sizeof(uint32_t));
 2004e64:	c6 08 60 0b 	ldub  [ %g1 + 0xb ], %g3                       
 2004e68:	da 08 60 08 	ldub  [ %g1 + 8 ], %o5                         
 2004e6c:	de 08 60 09 	ldub  [ %g1 + 9 ], %o7                         
 2004e70:	f0 08 60 0a 	ldub  [ %g1 + 0xa ], %i0                       
    part_desc->start = LE_TO_CPU_U32(temp);                           
                                                                      
    memcpy(&temp, data + RTEMS_IDE_PARTITION_SIZE_OFFSET, sizeof(uint32_t));
 2004e74:	f6 08 60 0d 	ldub  [ %g1 + 0xd ], %i3                       
 2004e78:	f8 08 60 0e 	ldub  [ %g1 + 0xe ], %i4                       
 2004e7c:	c8 08 60 0f 	ldub  [ %g1 + 0xf ], %g4                       
 2004e80:	f4 08 60 0c 	ldub  [ %g1 + 0xc ], %i2                       
    part_desc->sys_type = *(data + RTEMS_IDE_PARTITION_SYS_TYPE_OFFSET);
                                                                      
    /* read the offset start position and partition size in sectors */
                                                                      
    /* due to incorrect data alignment one have to align data first */
    memcpy(&temp, data + RTEMS_IDE_PARTITION_START_OFFSET, sizeof(uint32_t));
 2004e84:	c6 2f bf ff 	stb  %g3, [ %fp + -1 ]                         
 2004e88:	da 2f bf fc 	stb  %o5, [ %fp + -4 ]                         
 2004e8c:	de 2f bf fd 	stb  %o7, [ %fp + -3 ]                         
 2004e90:	f0 2f bf fe 	stb  %i0, [ %fp + -2 ]                         
    part_desc->start = LE_TO_CPU_U32(temp);                           
 2004e94:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
    }                                                                 
                                                                      
    part_desc->bootable = *(data + RTEMS_IDE_PARTITION_BOOTABLE_OFFSET);
    part_desc->sys_type = *(data + RTEMS_IDE_PARTITION_SYS_TYPE_OFFSET);
 2004e98:	d2 08 60 04 	ldub  [ %g1 + 4 ], %o1                         
    if ((part_desc = calloc(1, sizeof(rtems_part_desc_t))) == NULL)   
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
    }                                                                 
                                                                      
    part_desc->bootable = *(data + RTEMS_IDE_PARTITION_BOOTABLE_OFFSET);
 2004e9c:	c6 08 40 00 	ldub  [ %g1 ], %g3                             
                                                                      
    /* due to incorrect data alignment one have to align data first */
    memcpy(&temp, data + RTEMS_IDE_PARTITION_START_OFFSET, sizeof(uint32_t));
    part_desc->start = LE_TO_CPU_U32(temp);                           
                                                                      
    memcpy(&temp, data + RTEMS_IDE_PARTITION_SIZE_OFFSET, sizeof(uint32_t));
 2004ea0:	f6 2f bf fd 	stb  %i3, [ %fp + -3 ]                         
 2004ea4:	f8 2f bf fe 	stb  %i4, [ %fp + -2 ]                         
 2004ea8:	c8 2f bf ff 	stb  %g4, [ %fp + -1 ]                         
 2004eac:	f4 2f bf fc 	stb  %i2, [ %fp + -4 ]                         
    part_desc->size = LE_TO_CPU_U32(temp);                            
 2004eb0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2004eb4:	b7 28 a0 18 	sll  %g2, 0x18, %i3                            
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
 2004eb8:	89 30 a0 18 	srl  %g2, 0x18, %g4                            
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 2004ebc:	b9 30 a0 08 	srl  %g2, 8, %i4                               
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2004ec0:	88 16 c0 04 	or  %i3, %g4, %g4                              
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 2004ec4:	b8 0f 20 ff 	and  %i4, 0xff, %i4                            
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2004ec8:	b9 2f 20 10 	sll  %i4, 0x10, %i4                            
 2004ecc:	88 11 00 1c 	or  %g4, %i4, %g4                              
 2004ed0:	b7 28 60 18 	sll  %g1, 0x18, %i3                            
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
 2004ed4:	b9 30 60 18 	srl  %g1, 0x18, %i4                            
  byte3 = (value >> 16) & 0xff;                                       
 2004ed8:	85 30 a0 10 	srl  %g2, 0x10, %g2                            
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2004edc:	b8 16 c0 1c 	or  %i3, %i4, %i4                              
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 2004ee0:	84 08 a0 ff 	and  %g2, 0xff, %g2                            
    if ((part_desc = calloc(1, sizeof(rtems_part_desc_t))) == NULL)   
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
    }                                                                 
                                                                      
    part_desc->bootable = *(data + RTEMS_IDE_PARTITION_BOOTABLE_OFFSET);
 2004ee4:	c6 2a 00 00 	stb  %g3, [ %o0 ]                              
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2004ee8:	85 28 a0 08 	sll  %g2, 8, %g2                               
    part_desc->sys_type = *(data + RTEMS_IDE_PARTITION_SYS_TYPE_OFFSET);
 2004eec:	d2 2a 20 01 	stb  %o1, [ %o0 + 1 ]                          
 2004ef0:	84 11 00 02 	or  %g4, %g2, %g2                              
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 2004ef4:	89 30 60 08 	srl  %g1, 8, %g4                               
                                                                      
    /* read the offset start position and partition size in sectors */
                                                                      
    /* due to incorrect data alignment one have to align data first */
    memcpy(&temp, data + RTEMS_IDE_PARTITION_START_OFFSET, sizeof(uint32_t));
    part_desc->start = LE_TO_CPU_U32(temp);                           
 2004ef8:	c4 22 20 04 	st  %g2, [ %o0 + 4 ]                           
 2004efc:	88 09 20 ff 	and  %g4, 0xff, %g4                            
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 2004f00:	83 30 60 10 	srl  %g1, 0x10, %g1                            
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2004f04:	89 29 20 10 	sll  %g4, 0x10, %g4                            
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 2004f08:	82 08 60 ff 	and  %g1, 0xff, %g1                            
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2004f0c:	b8 17 00 04 	or  %i4, %g4, %i4                              
 2004f10:	83 28 60 08 	sll  %g1, 8, %g1                               
 2004f14:	b8 17 00 01 	or  %i4, %g1, %i4                              
     * use partitions that are                                        
     * - extended                                                     
     * or                                                             
     * - FAT type and non-zero                                        
     */                                                               
    if (is_extended(part_desc->sys_type) ||                           
 2004f18:	82 0a 60 7f 	and  %o1, 0x7f, %g1                            
 2004f1c:	80 a0 60 05 	cmp  %g1, 5                                    
 2004f20:	02 80 00 11 	be  2004f64 <data_to_part_desc.part.1+0x128>   
 2004f24:	f8 22 20 08 	st  %i4, [ %o0 + 8 ]                           
    DOS_P32MB_PARTITION,                                              
    FAT32_PARTITION    ,FAT32_LBA_PARTITION,                          
    FAT16_LBA_PARTITION                                               
  };                                                                  
                                                                      
  return (NULL != memchr(fat_part_types,type,sizeof(fat_part_types)));
 2004f28:	92 0a 60 ff 	and  %o1, 0xff, %o1                            
 2004f2c:	11 00 80 96 	sethi  %hi(0x2025800), %o0                     
 2004f30:	94 10 20 06 	mov  6, %o2                                    
 2004f34:	40 00 46 e5 	call  2016ac8 <memchr>                         
 2004f38:	90 12 21 90 	or  %o0, 0x190, %o0                            
     * use partitions that are                                        
     * - extended                                                     
     * or                                                             
     * - FAT type and non-zero                                        
     */                                                               
    if (is_extended(part_desc->sys_type) ||                           
 2004f3c:	80 a2 20 00 	cmp  %o0, 0                                    
 2004f40:	02 80 00 04 	be  2004f50 <data_to_part_desc.part.1+0x114>   
 2004f44:	80 a7 20 00 	cmp  %i4, 0                                    
       ((is_fat_partition(part_desc->sys_type)) && (part_desc->size != 0))) {
 2004f48:	32 80 00 08 	bne,a   2004f68 <data_to_part_desc.part.1+0x12c><== ALWAYS TAKEN
 2004f4c:	fa 26 40 00 	st  %i5, [ %i1 ]                               
      *new_part_desc = part_desc;                                     
    }                                                                 
    else {                                                            
      /* empty partition */                                           
      free(part_desc);                                                
 2004f50:	90 10 00 1d 	mov  %i5, %o0                                  
 2004f54:	40 00 03 d2 	call  2005e9c <free>                           
 2004f58:	b0 10 20 00 	clr  %i0                                       
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
 2004f5c:	81 c7 e0 08 	ret                                            
 2004f60:	81 e8 00 00 	restore                                        
     * or                                                             
     * - FAT type and non-zero                                        
     */                                                               
    if (is_extended(part_desc->sys_type) ||                           
       ((is_fat_partition(part_desc->sys_type)) && (part_desc->size != 0))) {
      *new_part_desc = part_desc;                                     
 2004f64:	fa 26 40 00 	st  %i5, [ %i1 ]                               
    }                                                                 
    else {                                                            
      /* empty partition */                                           
      free(part_desc);                                                
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
 2004f68:	81 c7 e0 08 	ret                                            
 2004f6c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02002d5c <devFS_Show>: #endif #include "devfs.h" void devFS_Show(void) {
 2002d5c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_filesystem_location_info_t *rootloc = &rtems_filesystem_root->location;
 2002d60:	03 00 80 6c 	sethi  %hi(0x201b000), %g1                     
 2002d64:	c2 00 60 64 	ld  [ %g1 + 0x64 ], %g1	! 201b064 <rtems_current_user_env>
                                                                      
  if (rootloc->mt_entry->ops == &devFS_ops) {                         
 2002d68:	05 00 80 65 	sethi  %hi(0x2019400), %g2                     
 2002d6c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2002d70:	84 10 a0 74 	or  %g2, 0x74, %g2                             
 2002d74:	c2 00 60 14 	ld  [ %g1 + 0x14 ], %g1                        
 2002d78:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         
 2002d7c:	80 a0 c0 02 	cmp  %g3, %g2                                  
 2002d80:	22 80 00 04 	be,a   2002d90 <devFS_Show+0x34>               <== ALWAYS TAKEN
 2002d84:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 2002d88:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2002d8c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    const devFS_data *data = devFS_get_data(rootloc);                 
    size_t i = 0;                                                     
    size_t n = data->count;                                           
 2002d90:	f0 00 60 04 	ld  [ %g1 + 4 ], %i0                           
    devFS_node *nodes = data->nodes;                                  
                                                                      
    for (i = 0; i < n; ++i) {                                         
 2002d94:	80 a6 20 00 	cmp  %i0, 0                                    
 2002d98:	02 bf ff fc 	be  2002d88 <devFS_Show+0x2c>                  <== NEVER TAKEN
 2002d9c:	f8 00 40 00 	ld  [ %g1 ], %i4                               
                                                                      
      if (current->name != NULL) {                                    
        size_t j = 0;                                                 
        size_t m = current->namelen;                                  
                                                                      
        printk("/");                                                  
 2002da0:	23 00 80 65 	sethi  %hi(0x2019400), %l1                     
        for (j = 0; j < m; ++j) {                                     
          printk("%c", current->name [j]);                            
 2002da4:	35 00 80 65 	sethi  %hi(0x2019400), %i2                     
        }                                                             
        printk(                                                       
 2002da8:	21 00 80 65 	sethi  %hi(0x2019400), %l0                     
    const devFS_data *data = devFS_get_data(rootloc);                 
    size_t i = 0;                                                     
    size_t n = data->count;                                           
    devFS_node *nodes = data->nodes;                                  
                                                                      
    for (i = 0; i < n; ++i) {                                         
 2002dac:	b2 10 20 00 	clr  %i1                                       
                                                                      
      if (current->name != NULL) {                                    
        size_t j = 0;                                                 
        size_t m = current->namelen;                                  
                                                                      
        printk("/");                                                  
 2002db0:	a2 14 60 c8 	or  %l1, 0xc8, %l1                             
        for (j = 0; j < m; ++j) {                                     
          printk("%c", current->name [j]);                            
 2002db4:	b4 16 a0 e0 	or  %i2, 0xe0, %i2                             
        }                                                             
        printk(                                                       
 2002db8:	a0 14 20 d0 	or  %l0, 0xd0, %l0                             
    devFS_node *nodes = data->nodes;                                  
                                                                      
    for (i = 0; i < n; ++i) {                                         
      devFS_node *current = nodes + i;                                
                                                                      
      if (current->name != NULL) {                                    
 2002dbc:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2002dc0:	80 a0 60 00 	cmp  %g1, 0                                    
 2002dc4:	22 80 00 15 	be,a   2002e18 <devFS_Show+0xbc>               
 2002dc8:	b2 06 60 01 	inc  %i1                                       
        size_t j = 0;                                                 
        size_t m = current->namelen;                                  
 2002dcc:	f6 07 20 04 	ld  [ %i4 + 4 ], %i3                           
                                                                      
        printk("/");                                                  
 2002dd0:	40 00 04 b3 	call  200409c <printk>                         
 2002dd4:	90 10 00 11 	mov  %l1, %o0                                  
        for (j = 0; j < m; ++j) {                                     
 2002dd8:	80 a6 e0 00 	cmp  %i3, 0                                    
 2002ddc:	02 80 00 0a 	be  2002e04 <devFS_Show+0xa8>                  <== NEVER TAKEN
 2002de0:	ba 10 20 00 	clr  %i5                                       
          printk("%c", current->name [j]);                            
 2002de4:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2002de8:	90 10 00 1a 	mov  %i2, %o0                                  
 2002dec:	d2 48 40 1d 	ldsb  [ %g1 + %i5 ], %o1                       
 2002df0:	40 00 04 ab 	call  200409c <printk>                         
 2002df4:	ba 07 60 01 	inc  %i5                                       
      if (current->name != NULL) {                                    
        size_t j = 0;                                                 
        size_t m = current->namelen;                                  
                                                                      
        printk("/");                                                  
        for (j = 0; j < m; ++j) {                                     
 2002df8:	80 a7 40 1b 	cmp  %i5, %i3                                  
 2002dfc:	32 bf ff fb 	bne,a   2002de8 <devFS_Show+0x8c>              
 2002e00:	c2 07 00 00 	ld  [ %i4 ], %g1                               
          printk("%c", current->name [j]);                            
        }                                                             
        printk(                                                       
 2002e04:	d2 07 20 08 	ld  [ %i4 + 8 ], %o1                           
 2002e08:	d4 07 20 0c 	ld  [ %i4 + 0xc ], %o2                         
 2002e0c:	40 00 04 a4 	call  200409c <printk>                         
 2002e10:	90 10 00 10 	mov  %l0, %o0                                  
    const devFS_data *data = devFS_get_data(rootloc);                 
    size_t i = 0;                                                     
    size_t n = data->count;                                           
    devFS_node *nodes = data->nodes;                                  
                                                                      
    for (i = 0; i < n; ++i) {                                         
 2002e14:	b2 06 60 01 	inc  %i1                                       
 2002e18:	80 a6 40 18 	cmp  %i1, %i0                                  
 2002e1c:	12 bf ff e8 	bne  2002dbc <devFS_Show+0x60>                 
 2002e20:	b8 07 20 14 	add  %i4, 0x14, %i4                            
 2002e24:	81 c7 e0 08 	ret                                            
 2002e28:	81 e8 00 00 	restore                                        
                                                                      

0200c5c4 <devFS_eval_path>: } void devFS_eval_path( rtems_filesystem_eval_path_context_t *ctx ) {
 200c5c4:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
static inline const devFS_data *devFS_get_data(                       
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  return (const devFS_data *) loc->mt_entry->immutable_fs_info;       
 200c5c8:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
                                                                      
static inline const char *rtems_filesystem_eval_path_get_path(        
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  return ctx->path;                                                   
 200c5cc:	e2 06 00 00 	ld  [ %i0 ], %l1                               
 200c5d0:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
                                                                      
static inline size_t rtems_filesystem_eval_path_get_pathlen(          
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  return ctx->pathlen;                                                
 200c5d4:	f2 06 20 04 	ld  [ %i0 + 4 ], %i1                           
  size_t pathlen,                                                     
  devFS_node **free_node_ptr                                          
)                                                                     
{                                                                     
  size_t i = 0;                                                       
  size_t n = data->count;                                             
 200c5d8:	e0 00 60 04 	ld  [ %g1 + 4 ], %l0                           
  devFS_node *nodes = data->nodes;                                    
  devFS_node *node = NULL;                                            
  devFS_node *free_node = NULL;                                       
                                                                      
  for (i = 0; (free_node == NULL || node == NULL) && i < n; ++i) {    
 200c5dc:	80 a4 20 00 	cmp  %l0, 0                                    
 200c5e0:	02 80 00 3d 	be  200c6d4 <devFS_eval_path+0x110>            
 200c5e4:	fa 00 40 00 	ld  [ %g1 ], %i5                               
)                                                                     
{                                                                     
  size_t i = 0;                                                       
  size_t n = data->count;                                             
  devFS_node *nodes = data->nodes;                                    
  devFS_node *node = NULL;                                            
 200c5e8:	b4 10 20 00 	clr  %i2                                       
  devFS_node *free_node = NULL;                                       
 200c5ec:	82 10 20 00 	clr  %g1                                       
                                                                      
  for (i = 0; (free_node == NULL || node == NULL) && i < n; ++i) {    
 200c5f0:	10 80 00 09 	b  200c614 <devFS_eval_path+0x50>              
 200c5f4:	b8 10 20 00 	clr  %i4                                       
 200c5f8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200c5fc:	12 80 00 18 	bne  200c65c <devFS_eval_path+0x98>            
 200c600:	b8 07 20 01 	inc  %i4                                       
 200c604:	ba 07 60 14 	add  %i5, 0x14, %i5                            
 200c608:	80 a7 00 10 	cmp  %i4, %l0                                  
 200c60c:	02 80 00 1f 	be  200c688 <devFS_eval_path+0xc4>             
 200c610:	82 10 00 1b 	mov  %i3, %g1                                  
    devFS_node *current = nodes + i;                                  
                                                                      
    if (current->name != NULL) {                                      
 200c614:	d0 07 40 00 	ld  [ %i5 ], %o0                               
 200c618:	80 a2 20 00 	cmp  %o0, 0                                    
 200c61c:	02 bf ff f7 	be  200c5f8 <devFS_eval_path+0x34>             
 200c620:	b6 10 00 1d 	mov  %i5, %i3                                  
      if (                                                            
 200c624:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
 200c628:	80 a6 40 02 	cmp  %i1, %g2                                  
 200c62c:	12 bf ff f3 	bne  200c5f8 <devFS_eval_path+0x34>            
 200c630:	b6 10 00 01 	mov  %g1, %i3                                  
        current->namelen == pathlen                                   
          && memcmp(current->name, path, pathlen) == 0                
 200c634:	92 10 00 11 	mov  %l1, %o1                                  
 200c638:	40 00 0d 45 	call  200fb4c <memcmp>                         
 200c63c:	94 10 00 19 	mov  %i1, %o2                                  
 200c640:	80 a2 20 00 	cmp  %o0, 0                                    
 200c644:	12 bf ff ee 	bne  200c5fc <devFS_eval_path+0x38>            
 200c648:	80 a6 a0 00 	cmp  %i2, 0                                    
 200c64c:	b4 10 00 1d 	mov  %i5, %i2                                  
  size_t n = data->count;                                             
  devFS_node *nodes = data->nodes;                                    
  devFS_node *node = NULL;                                            
  devFS_node *free_node = NULL;                                       
                                                                      
  for (i = 0; (free_node == NULL || node == NULL) && i < n; ++i) {    
 200c650:	80 a6 a0 00 	cmp  %i2, 0                                    
 200c654:	02 bf ff ec 	be  200c604 <devFS_eval_path+0x40>             <== NEVER TAKEN
 200c658:	b8 07 20 01 	inc  %i4                                       
 200c65c:	80 a6 e0 00 	cmp  %i3, 0                                    
 200c660:	22 bf ff ea 	be,a   200c608 <devFS_eval_path+0x44>          
 200c664:	ba 07 60 14 	add  %i5, 0x14, %i5                            
                                                                      
static inline int rtems_filesystem_eval_path_get_flags(               
  const rtems_filesystem_eval_path_context_t *ctx                     
)                                                                     
{                                                                     
  return ctx->flags;                                                  
 200c668:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
    &free_node                                                        
  );                                                                  
  int eval_flags = rtems_filesystem_eval_path_get_flags(ctx);         
                                                                      
  if (node != NULL) {                                                 
    if ((eval_flags & RTEMS_FS_EXCLUSIVE) == 0) {                     
 200c66c:	80 88 60 40 	btst  0x40, %g1                                
 200c670:	12 80 00 15 	bne  200c6c4 <devFS_eval_path+0x100>           
 200c674:	01 00 00 00 	nop                                            
      currentloc->node_access = node;                                 
 200c678:	f4 26 20 20 	st  %i2, [ %i0 + 0x20 ]                        
                                                                      
static inline void rtems_filesystem_eval_path_clear_path(             
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->pathlen = 0;                                                   
 200c67c:	c0 26 20 04 	clr  [ %i0 + 4 ]                               
 200c680:	81 c7 e0 08 	ret                                            
 200c684:	81 e8 00 00 	restore                                        
    rtems_filesystem_eval_path_get_pathlen(ctx),                      
    &free_node                                                        
  );                                                                  
  int eval_flags = rtems_filesystem_eval_path_get_flags(ctx);         
                                                                      
  if (node != NULL) {                                                 
 200c688:	80 a6 a0 00 	cmp  %i2, 0                                    
 200c68c:	12 bf ff f8 	bne  200c66c <devFS_eval_path+0xa8>            
 200c690:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
      rtems_filesystem_eval_path_clear_path(ctx);                     
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, EEXIST);                  
    }                                                                 
  } else {                                                            
    if ((eval_flags & RTEMS_FS_MAKE) != 0) {                          
 200c694:	80 88 60 20 	btst  0x20, %g1                                
 200c698:	02 80 00 0d 	be  200c6cc <devFS_eval_path+0x108>            <== NEVER TAKEN
 200c69c:	80 a6 e0 00 	cmp  %i3, 0                                    
      if (free_node != NULL) {                                        
 200c6a0:	02 80 00 11 	be  200c6e4 <devFS_eval_path+0x120>            <== NEVER TAKEN
 200c6a4:	82 10 21 ff 	mov  0x1ff, %g1                                
        free_node->mode = S_IRWXU | S_IRWXG | S_IRWXO;                
 200c6a8:	c2 26 e0 10 	st  %g1, [ %i3 + 0x10 ]                        
        currentloc->node_access = free_node;                          
 200c6ac:	f6 26 20 20 	st  %i3, [ %i0 + 0x20 ]                        
  rtems_filesystem_eval_path_context_t *ctx,                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  ctx->token = token;                                                 
 200c6b0:	e2 26 20 08 	st  %l1, [ %i0 + 8 ]                           
  ctx->tokenlen = tokenlen;                                           
 200c6b4:	f2 26 20 0c 	st  %i1, [ %i0 + 0xc ]                         
                                                                      
static inline void rtems_filesystem_eval_path_clear_path(             
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->pathlen = 0;                                                   
 200c6b8:	c0 26 20 04 	clr  [ %i0 + 4 ]                               
 200c6bc:	81 c7 e0 08 	ret                                            
 200c6c0:	81 e8 00 00 	restore                                        
  if (node != NULL) {                                                 
    if ((eval_flags & RTEMS_FS_EXCLUSIVE) == 0) {                     
      currentloc->node_access = node;                                 
      rtems_filesystem_eval_path_clear_path(ctx);                     
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, EEXIST);                  
 200c6c4:	7f ff e2 50 	call  2005004 <rtems_filesystem_eval_path_error>
 200c6c8:	93 e8 20 11 	restore  %g0, 0x11, %o1                        
        rtems_filesystem_eval_path_clear_path(ctx);                   
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOSPC);                
      }                                                               
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ENOENT);                  
 200c6cc:	7f ff e2 4e 	call  2005004 <rtems_filesystem_eval_path_error><== NOT EXECUTED
 200c6d0:	93 e8 20 02 	restore  %g0, 2, %o1                           <== NOT EXECUTED
      rtems_filesystem_eval_path_clear_path(ctx);                     
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, EEXIST);                  
    }                                                                 
  } else {                                                            
    if ((eval_flags & RTEMS_FS_MAKE) != 0) {                          
 200c6d4:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 200c6d8:	80 88 60 20 	btst  0x20, %g1                                
 200c6dc:	02 bf ff fc 	be  200c6cc <devFS_eval_path+0x108>            <== NEVER TAKEN
 200c6e0:	01 00 00 00 	nop                                            
          rtems_filesystem_eval_path_get_path(ctx),                   
          rtems_filesystem_eval_path_get_pathlen(ctx)                 
        );                                                            
        rtems_filesystem_eval_path_clear_path(ctx);                   
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOSPC);                
 200c6e4:	7f ff e2 48 	call  2005004 <rtems_filesystem_eval_path_error>
 200c6e8:	93 e8 20 1c 	restore  %g0, 0x1c, %o1                        
                                                                      

02003910 <devFS_mknod>: const char *name, size_t namelen, mode_t mode, dev_t dev ) {
 2003910:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv = 0;                                                         
                                                                      
  if (namelen != 3 || name [0] != 'd' || name [1] != 'e' || name [2] != 'v') {
 2003914:	80 a6 a0 03 	cmp  %i2, 3                                    
 2003918:	22 80 00 18 	be,a   2003978 <devFS_mknod+0x68>              
 200391c:	c2 4e 40 00 	ldsb  [ %i1 ], %g1                             
    if (S_ISBLK(mode) || S_ISCHR(mode)) {                             
 2003920:	05 00 00 2c 	sethi  %hi(0xb000), %g2                        
 2003924:	03 00 00 08 	sethi  %hi(0x2000), %g1                        
 2003928:	84 0e c0 02 	and  %i3, %g2, %g2                             
 200392c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2003930:	12 80 00 23 	bne  20039bc <devFS_mknod+0xac>                
 2003934:	01 00 00 00 	nop                                            
      char *dupname = malloc(namelen);                                
 2003938:	40 00 02 0d 	call  200416c <malloc>                         
 200393c:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
      if (dupname != NULL) {                                          
 2003940:	84 92 20 00 	orcc  %o0, 0, %g2                              
 2003944:	02 80 00 24 	be  20039d4 <devFS_mknod+0xc4>                 
 2003948:	92 10 00 19 	mov  %i1, %o1                                  
        devFS_node *node = parentloc->node_access;                    
 200394c:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
                                                                      
        node->name = dupname;                                         
 2003950:	c4 20 40 00 	st  %g2, [ %g1 ]                               
        node->namelen = namelen;                                      
 2003954:	f4 20 60 04 	st  %i2, [ %g1 + 4 ]                           
        node->major = rtems_filesystem_dev_major_t(dev);              
 2003958:	f8 20 60 08 	st  %i4, [ %g1 + 8 ]                           
        node->minor = rtems_filesystem_dev_minor_t(dev);              
 200395c:	fa 20 60 0c 	st  %i5, [ %g1 + 0xc ]                         
        node->mode = mode;                                            
 2003960:	f6 20 60 10 	st  %i3, [ %g1 + 0x10 ]                        
        memcpy(dupname, name, namelen);                               
 2003964:	94 10 00 1a 	mov  %i2, %o2                                  
 2003968:	40 00 30 a3 	call  200fbf4 <memcpy>                         
 200396c:	b0 10 20 00 	clr  %i0                                       
 2003970:	81 c7 e0 08 	ret                                            
 2003974:	81 e8 00 00 	restore                                        
  dev_t dev                                                           
)                                                                     
{                                                                     
  int rv = 0;                                                         
                                                                      
  if (namelen != 3 || name [0] != 'd' || name [1] != 'e' || name [2] != 'v') {
 2003978:	80 a0 60 64 	cmp  %g1, 0x64                                 
 200397c:	12 bf ff ea 	bne  2003924 <devFS_mknod+0x14>                <== NEVER TAKEN
 2003980:	05 00 00 2c 	sethi  %hi(0xb000), %g2                        
 2003984:	c2 4e 60 01 	ldsb  [ %i1 + 1 ], %g1                         
 2003988:	80 a0 60 65 	cmp  %g1, 0x65                                 
 200398c:	12 bf ff e7 	bne  2003928 <devFS_mknod+0x18>                <== NEVER TAKEN
 2003990:	03 00 00 08 	sethi  %hi(0x2000), %g1                        
 2003994:	c2 4e 60 02 	ldsb  [ %i1 + 2 ], %g1                         
 2003998:	80 a0 60 76 	cmp  %g1, 0x76                                 
 200399c:	12 bf ff e3 	bne  2003928 <devFS_mknod+0x18>                <== NEVER TAKEN
 20039a0:	03 00 00 08 	sethi  %hi(0x2000), %g1                        
    } else {                                                          
      errno = ENOTSUP;                                                
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    if (!S_ISDIR(mode)) {                                             
 20039a4:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 20039a8:	b6 0e c0 01 	and  %i3, %g1, %i3                             
 20039ac:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 20039b0:	80 a6 c0 01 	cmp  %i3, %g1                                  
 20039b4:	02 bf ff ef 	be  2003970 <devFS_mknod+0x60>                 <== ALWAYS TAKEN
 20039b8:	b0 10 20 00 	clr  %i0                                       
      errno = ENOTSUP;                                                
 20039bc:	40 00 2d ff 	call  200f1b8 <__errno>                        
 20039c0:	b0 10 3f ff 	mov  -1, %i0                                   
 20039c4:	82 10 20 86 	mov  0x86, %g1                                 
 20039c8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      rv = -1;                                                        
    }                                                                 
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20039cc:	81 c7 e0 08 	ret                                            
 20039d0:	81 e8 00 00 	restore                                        
        node->major = rtems_filesystem_dev_major_t(dev);              
        node->minor = rtems_filesystem_dev_minor_t(dev);              
        node->mode = mode;                                            
        memcpy(dupname, name, namelen);                               
      } else {                                                        
        errno = ENOMEM;                                               
 20039d4:	40 00 2d f9 	call  200f1b8 <__errno>                        
 20039d8:	b0 10 3f ff 	mov  -1, %i0                                   
 20039dc:	82 10 20 0c 	mov  0xc, %g1                                  
 20039e0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20039e4:	81 c7 e0 08 	ret                                            
 20039e8:	81 e8 00 00 	restore                                        
                                                                      

02003768 <disk_lock>: */ static volatile bool diskdevs_protected; static rtems_status_code disk_lock(void) {
 2003768:	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);
 200376c:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 2003770:	d0 00 60 94 	ld  [ %g1 + 0x94 ], %o0	! 2022894 <diskdevs_mutex>
 2003774:	92 10 20 00 	clr  %o1                                       
 2003778:	94 10 20 00 	clr  %o2                                       
 200377c:	40 00 16 72 	call  2009144 <rtems_semaphore_obtain>         
 2003780:	b0 10 20 16 	mov  0x16, %i0                                 
  if (sc == RTEMS_SUCCESSFUL) {                                       
 2003784:	80 a2 20 00 	cmp  %o0, 0                                    
 2003788:	12 80 00 05 	bne  200379c <disk_lock+0x34>                  <== NEVER TAKEN
 200378c:	84 10 20 01 	mov  1, %g2                                    
    diskdevs_protected = true;                                        
 2003790:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
                                                                      
    return RTEMS_SUCCESSFUL;                                          
 2003794:	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;                                        
 2003798:	c4 28 60 90 	stb  %g2, [ %g1 + 0x90 ]                       
                                                                      
    return RTEMS_SUCCESSFUL;                                          
  } else {                                                            
    return RTEMS_NOT_CONFIGURED;                                      
  }                                                                   
}                                                                     
 200379c:	81 c7 e0 08 	ret                                            
 20037a0:	81 e8 00 00 	restore                                        
                                                                      

020037a4 <disk_unlock>: static void disk_unlock(void) {
 20037a4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
                                                                      
  sc = rtems_semaphore_release(diskdevs_mutex);                       
 20037a8:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 20037ac:	d0 00 60 94 	ld  [ %g1 + 0x94 ], %o0	! 2022894 <diskdevs_mutex>
static void                                                           
disk_unlock(void)                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  diskdevs_protected = false;                                         
 20037b0:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 20037b4:	c0 28 60 90 	clrb  [ %g1 + 0x90 ]	! 2022890 <diskdevs_protected>
                                                                      
  sc = rtems_semaphore_release(diskdevs_mutex);                       
 20037b8:	40 00 16 b3 	call  2009284 <rtems_semaphore_release>        
 20037bc:	01 00 00 00 	nop                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
 20037c0:	80 a2 20 00 	cmp  %o0, 0                                    
 20037c4:	12 80 00 04 	bne  20037d4 <disk_unlock+0x30>                <== NEVER TAKEN
 20037c8:	11 37 ab 6f 	sethi  %hi(0xdeadbc00), %o0                    
 20037cc:	81 c7 e0 08 	ret                                            
 20037d0:	81 e8 00 00 	restore                                        
    /* FIXME: Error number */                                         
    rtems_fatal_error_occurred(0xdeadbeef);                           
 20037d4:	40 00 18 10 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 20037d8:	90 12 22 ef 	or  %o0, 0x2ef, %o0                            <== NOT EXECUTED
                                                                      

02005610 <drainOutput.part.0>: /* * Drain output queue */ static void drainOutput (struct rtems_termios_tty *tty)
 2005610:	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);                                  
 2005614:	7f ff f4 54 	call  2002764 <sparc_disable_interrupts>       
 2005618:	01 00 00 00 	nop                                            
    while (tty->rawOutBuf.Tail != tty->rawOutBuf.Head) {              
 200561c:	c4 06 20 84 	ld  [ %i0 + 0x84 ], %g2                        
 2005620:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
 2005624:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005628:	02 80 00 14 	be  2005678 <drainOutput.part.0+0x68>          <== ALWAYS TAKEN
 200562c:	01 00 00 00 	nop                                            
      tty->rawOutBufState = rob_wait;                                 
 2005630:	b8 10 20 02 	mov  2, %i4	! 2 <PROM_START+0x2>               <== NOT EXECUTED
 2005634:	f8 26 20 94 	st  %i4, [ %i0 + 0x94 ]                        <== NOT EXECUTED
      rtems_interrupt_enable (level);                                 
 2005638:	7f ff f4 4f 	call  2002774 <sparc_enable_interrupts>        <== NOT EXECUTED
 200563c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      sc = rtems_semaphore_obtain(                                    
 2005640:	d0 06 20 8c 	ld  [ %i0 + 0x8c ], %o0                        <== NOT EXECUTED
 2005644:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2005648:	40 00 09 d6 	call  2007da0 <rtems_semaphore_obtain>         <== NOT EXECUTED
 200564c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
 2005650:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2005654:	12 80 00 0b 	bne  2005680 <drainOutput.part.0+0x70>         <== NOT EXECUTED
 2005658:	01 00 00 00 	nop                                            <== NOT EXECUTED
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
 200565c:	7f ff f4 42 	call  2002764 <sparc_disable_interrupts>       <== NOT EXECUTED
 2005660:	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) {              
 2005664:	c4 06 20 84 	ld  [ %i0 + 0x84 ], %g2                        <== NOT EXECUTED
 2005668:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        <== NOT EXECUTED
 200566c:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2005670:	32 bf ff f2 	bne,a   2005638 <drainOutput.part.0+0x28>      <== NOT EXECUTED
 2005674:	f8 26 20 94 	st  %i4, [ %i0 + 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);                                   
 2005678:	7f ff f4 3f 	call  2002774 <sparc_enable_interrupts>        
 200567c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
 2005680:	40 00 0b 95 	call  20084d4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      

02003e00 <dup2>: int dup2( int fildes, int fildes2 ) {
 2003e00:	9d e3 bf 58 	save  %sp, -168, %sp                           
                                                                      
  /*                                                                  
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
 2003e04:	90 10 00 18 	mov  %i0, %o0                                  
 2003e08:	40 00 01 eb 	call  20045b4 <fstat>                          
 2003e0c:	92 07 bf b8 	add  %fp, -72, %o1                             
  if ( status == -1 )                                                 
 2003e10:	80 a2 3f ff 	cmp  %o0, -1                                   
 2003e14:	02 80 00 0c 	be  2003e44 <dup2+0x44>                        
 2003e18:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  /*                                                                  
   *  If fildes2 is not valid, then we should not do anything either. 
   */                                                                 
                                                                      
  status = fstat( fildes2, &buf );                                    
 2003e1c:	40 00 01 e6 	call  20045b4 <fstat>                          
 2003e20:	92 07 bf b8 	add  %fp, -72, %o1                             
  if ( status == -1 )                                                 
 2003e24:	80 a2 3f ff 	cmp  %o0, -1                                   
 2003e28:	02 80 00 07 	be  2003e44 <dup2+0x44>                        <== NEVER TAKEN
 2003e2c:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  /*                                                                  
   *  This fcntl handles everything else.                             
   */                                                                 
                                                                      
  return fcntl( fildes, F_DUPFD, fildes2 );                           
 2003e30:	92 10 20 00 	clr  %o1                                       
 2003e34:	40 00 00 b0 	call  20040f4 <fcntl>                          
 2003e38:	94 10 00 19 	mov  %i1, %o2                                  
}                                                                     
 2003e3c:	81 c7 e0 08 	ret                                            
 2003e40:	91 e8 00 08 	restore  %g0, %o0, %o0                         
   *  If fildes is not valid, then fildes2 should not be closed.      
   */                                                                 
                                                                      
  status = fstat( fildes, &buf );                                     
  if ( status == -1 )                                                 
    return -1;                                                        
 2003e44:	81 c7 e0 08 	ret                                            
 2003e48:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      

0200639c <echo>: /* * Echo a typed character */ static void echo (unsigned char c, struct rtems_termios_tty *tty) {
 200639c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
 20063a0:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
 20063a4:	80 88 62 00 	btst  0x200, %g1                               
 20063a8:	02 80 00 0d 	be  20063dc <echo+0x40>                        <== NEVER TAKEN
 20063ac:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
 20063b0:	c2 00 62 40 	ld  [ %g1 + 0x240 ], %g1	! 201de40 <__ctype_ptr__>
 20063b4:	82 00 40 18 	add  %g1, %i0, %g1                             
 20063b8:	c2 08 60 01 	ldub  [ %g1 + 1 ], %g1                         
 * Echo a typed character                                             
 */                                                                   
static void                                                           
echo (unsigned char c, struct rtems_termios_tty *tty)                 
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
 20063bc:	80 88 60 20 	btst  0x20, %g1                                
 20063c0:	02 80 00 08 	be  20063e0 <echo+0x44>                        
 20063c4:	90 10 00 18 	mov  %i0, %o0                                  
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
 20063c8:	82 06 3f f7 	add  %i0, -9, %g1                              
 20063cc:	82 08 60 ff 	and  %g1, 0xff, %g1                            
 20063d0:	80 a0 60 01 	cmp  %g1, 1                                    
 20063d4:	18 80 00 07 	bgu  20063f0 <echo+0x54>                       
 20063d8:	82 10 20 5e 	mov  0x5e, %g1                                 
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
    rtems_termios_puts (echobuf, 2, tty);                             
    tty->column += 2;                                                 
  } else {                                                            
    oproc (c, tty);                                                   
 20063dc:	90 10 00 18 	mov  %i0, %o0                                  
 20063e0:	7f ff ff 8f 	call  200621c <oproc>                          
 20063e4:	92 10 00 19 	mov  %i1, %o1                                  
 20063e8:	81 c7 e0 08 	ret                                            
 20063ec:	81 e8 00 00 	restore                                        
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
    echobuf[1] = c ^ 0x40;                                            
 20063f0:	b0 1e 20 40 	xor  %i0, 0x40, %i0                            
{                                                                     
  if ((tty->termios.c_lflag & ECHOCTL) &&                             
       iscntrl(c) && (c != '\t') && (c != '\n')) {                    
    char echobuf[2];                                                  
                                                                      
    echobuf[0] = '^';                                                 
 20063f4:	c2 2f bf f8 	stb  %g1, [ %fp + -8 ]                         
    echobuf[1] = c ^ 0x40;                                            
 20063f8:	f0 2f bf f9 	stb  %i0, [ %fp + -7 ]                         
    rtems_termios_puts (echobuf, 2, tty);                             
 20063fc:	90 07 bf f8 	add  %fp, -8, %o0                              
 2006400:	92 10 20 02 	mov  2, %o1                                    
 2006404:	7f ff ff 36 	call  20060dc <rtems_termios_puts>             
 2006408:	94 10 00 19 	mov  %i1, %o2                                  
    tty->column += 2;                                                 
 200640c:	c2 06 60 28 	ld  [ %i1 + 0x28 ], %g1                        
 2006410:	82 00 60 02 	add  %g1, 2, %g1                               
 2006414:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        
 2006418:	81 c7 e0 08 	ret                                            
 200641c:	81 e8 00 00 	restore                                        
                                                                      

0202c6c8 <endgrent>: } void endgrent(void) { if (group_fp != NULL)
 202c6c8:	03 00 81 d5 	sethi  %hi(0x2075400), %g1                     
 202c6cc:	d0 00 63 d0 	ld  [ %g1 + 0x3d0 ], %o0	! 20757d0 <group_fp>  
 202c6d0:	80 a2 20 00 	cmp  %o0, 0                                    
 202c6d4:	02 80 00 05 	be  202c6e8 <endgrent+0x20>                    <== NEVER TAKEN
 202c6d8:	01 00 00 00 	nop                                            
    fclose(group_fp);                                                 
 202c6dc:	82 13 c0 00 	mov  %o7, %g1                                  
 202c6e0:	40 00 70 dc 	call  2048a50 <fclose>                         
 202c6e4:	9e 10 40 00 	mov  %g1, %o7                                  
 202c6e8:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

0202c52c <endpwent>: } void endpwent(void) { if (passwd_fp != NULL)
 202c52c:	03 00 81 d5 	sethi  %hi(0x2075400), %g1                     
 202c530:	d0 00 62 f0 	ld  [ %g1 + 0x2f0 ], %o0	! 20756f0 <passwd_fp> 
 202c534:	80 a2 20 00 	cmp  %o0, 0                                    
 202c538:	02 80 00 05 	be  202c54c <endpwent+0x20>                    <== NEVER TAKEN
 202c53c:	01 00 00 00 	nop                                            
    fclose(passwd_fp);                                                
 202c540:	82 13 c0 00 	mov  %o7, %g1                                  
 202c544:	40 00 71 43 	call  2048a50 <fclose>                         
 202c548:	9e 10 40 00 	mov  %g1, %o7                                  
 202c54c:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

02006420 <erase.part.2>: * Erase a character or line * 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)
 2006420:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
 2006424:	37 00 80 71 	sethi  %hi(0x201c400), %i3                     
 * Erase a character or line                                          
 * 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)                   
 2006428:	ba 10 00 18 	mov  %i0, %i5                                  
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
 200642c:	35 00 80 77 	sethi  %hi(0x201dc00), %i2                     
          rtems_termios_puts ("\b \b", 3, tty);                       
 2006430:	31 00 80 71 	sethi  %hi(0x201c400), %i0                     
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
          rtems_termios_puts ("\b", 1, tty);                          
 2006434:	b6 16 e1 48 	or  %i3, 0x148, %i3                            
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
 2006438:	10 80 00 0f 	b  2006474 <erase.part.2+0x54>                 
 200643c:	b0 16 21 50 	or  %i0, 0x150, %i0                            
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
          rtems_termios_puts ("\b \b", 3, tty);                       
 2006440:	90 12 21 50 	or  %o0, 0x150, %o0                            
 2006444:	92 10 20 03 	mov  3, %o1                                    
 2006448:	7f ff ff 25 	call  20060dc <rtems_termios_puts>             
 200644c:	94 10 00 1d 	mov  %i5, %o2                                  
          if (tty->column)                                            
 2006450:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2006454:	80 a0 60 00 	cmp  %g1, 0                                    
 2006458:	02 80 00 05 	be  200646c <erase.part.2+0x4c>                <== NEVER TAKEN
 200645c:	80 a6 60 00 	cmp  %i1, 0                                    
            tty->column--;                                            
 2006460:	82 00 7f ff 	add  %g1, -1, %g1                              
 2006464:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
 2006468:	80 a6 60 00 	cmp  %i1, 0                                    
 200646c:	02 80 00 58 	be  20065cc <erase.part.2+0x1ac>               
 2006470:	01 00 00 00 	nop                                            
        echo ('\n', tty);                                             
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
 2006474:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
 2006478:	80 a0 a0 00 	cmp  %g2, 0                                    
 200647c:	02 80 00 54 	be  20065cc <erase.part.2+0x1ac>               
 2006480:	84 00 bf ff 	add  %g2, -1, %g2                              
    unsigned char c = tty->cbuf[--tty->ccount];                       
 2006484:	c8 07 60 1c 	ld  [ %i5 + 0x1c ], %g4                        
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
 2006488:	c6 07 60 3c 	ld  [ %i5 + 0x3c ], %g3                        
      return;                                                         
    }                                                                 
  }                                                                   
                                                                      
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
 200648c:	c4 27 60 20 	st  %g2, [ %i5 + 0x20 ]                        
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
 2006490:	80 88 e0 08 	btst  8, %g3                                   
 2006494:	02 bf ff f5 	be  2006468 <erase.part.2+0x48>                <== NEVER TAKEN
 2006498:	c2 09 00 02 	ldub  [ %g4 + %g2 ], %g1                       
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
 200649c:	80 a6 60 00 	cmp  %i1, 0                                    
 20064a0:	12 80 00 05 	bne  20064b4 <erase.part.2+0x94>               
 20064a4:	82 08 60 ff 	and  %g1, 0xff, %g1                            
 20064a8:	80 88 e0 10 	btst  0x10, %g3                                
 20064ac:	22 80 00 4d 	be,a   20065e0 <erase.part.2+0x1c0>            <== NEVER TAKEN
 20064b0:	f0 0f 60 43 	ldub  [ %i5 + 0x43 ], %i0                      <== NOT EXECUTED
        echo (tty->termios.c_cc[VERASE], tty);                        
      } else if (c == '\t') {                                         
 20064b4:	80 a0 60 09 	cmp  %g1, 9                                    
 20064b8:	02 80 00 1e 	be  2006530 <erase.part.2+0x110>               
 20064bc:	80 a0 a0 00 	cmp  %g2, 0                                    
          rtems_termios_puts ("\b", 1, tty);                          
          tty->column--;                                              
        }                                                             
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
 20064c0:	c4 06 a2 40 	ld  [ %i2 + 0x240 ], %g2                       
 20064c4:	b8 00 60 01 	add  %g1, 1, %i4                               
 20064c8:	c2 08 80 1c 	ldub  [ %g2 + %i4 ], %g1                       
 20064cc:	80 88 60 20 	btst  0x20, %g1                                
 20064d0:	02 bf ff dc 	be  2006440 <erase.part.2+0x20>                <== ALWAYS TAKEN
 20064d4:	11 00 80 71 	sethi  %hi(0x201c400), %o0                     
 20064d8:	80 88 e2 00 	btst  0x200, %g3                               <== NOT EXECUTED
 20064dc:	02 bf ff e4 	be  200646c <erase.part.2+0x4c>                <== NOT EXECUTED
 20064e0:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
          rtems_termios_puts ("\b \b", 3, tty);                       
 20064e4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20064e8:	92 10 20 03 	mov  3, %o1                                    <== NOT EXECUTED
 20064ec:	7f ff fe fc 	call  20060dc <rtems_termios_puts>             <== NOT EXECUTED
 20064f0:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
          if (tty->column)                                            
 20064f4:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        <== NOT EXECUTED
 20064f8:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20064fc:	12 80 00 3b 	bne  20065e8 <erase.part.2+0x1c8>              <== NOT EXECUTED
 2006500:	11 00 80 71 	sethi  %hi(0x201c400), %o0                     <== NOT EXECUTED
            tty->column--;                                            
        }                                                             
        if (!iscntrl (c) || (tty->termios.c_lflag & ECHOCTL)) {       
 2006504:	c2 06 a2 40 	ld  [ %i2 + 0x240 ], %g1                       <== NOT EXECUTED
 2006508:	c2 08 40 1c 	ldub  [ %g1 + %i4 ], %g1                       <== NOT EXECUTED
 200650c:	80 88 60 20 	btst  0x20, %g1                                <== NOT EXECUTED
 2006510:	22 bf ff cd 	be,a   2006444 <erase.part.2+0x24>             <== NOT EXECUTED
 2006514:	90 12 21 50 	or  %o0, 0x150, %o0                            <== NOT EXECUTED
 2006518:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
 200651c:	80 88 62 00 	btst  0x200, %g1                               <== NOT EXECUTED
 2006520:	32 bf ff c9 	bne,a   2006444 <erase.part.2+0x24>            <== NOT EXECUTED
 2006524:	90 12 21 50 	or  %o0, 0x150, %o0                            <== NOT EXECUTED
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
 2006528:	10 bf ff d1 	b  200646c <erase.part.2+0x4c>                 <== NOT EXECUTED
 200652c:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
 2006530:	02 80 00 17 	be  200658c <erase.part.2+0x16c>               
 2006534:	f8 07 60 2c 	ld  [ %i5 + 0x2c ], %i4                        
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
 2006538:	da 06 a2 40 	ld  [ %i2 + 0x240 ], %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;                                                    
 200653c:	82 10 20 00 	clr  %g1                                       
        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)                       
 2006540:	10 80 00 07 	b  200655c <erase.part.2+0x13c>                
 2006544:	98 08 e2 00 	and  %g3, 0x200, %o4                           
 2006548:	32 80 00 02 	bne,a   2006550 <erase.part.2+0x130>           <== NOT EXECUTED
 200654c:	b8 07 20 02 	add  %i4, 2, %i4                               <== NOT EXECUTED
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
 2006550:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006554:	22 80 00 0f 	be,a   2006590 <erase.part.2+0x170>            <== NEVER TAKEN
 2006558:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        <== NOT EXECUTED
          c = tty->cbuf[i++];                                         
 200655c:	c6 09 00 01 	ldub  [ %g4 + %g1 ], %g3                       
 2006560:	82 00 60 01 	inc  %g1                                       
          if (c == '\t') {                                            
 2006564:	80 a0 e0 09 	cmp  %g3, 9                                    
 2006568:	02 80 00 1b 	be  20065d4 <erase.part.2+0x1b4>               
 200656c:	9e 03 40 03 	add  %o5, %g3, %o7                             
            col = (col | 7) + 1;                                      
          } else if (iscntrl (c)) {                                   
 2006570:	de 0b e0 01 	ldub  [ %o7 + 1 ], %o7                         
 2006574:	80 8b e0 20 	btst  0x20, %o7                                
 2006578:	12 bf ff f4 	bne  2006548 <erase.part.2+0x128>              <== NEVER TAKEN
 200657c:	80 a3 20 00 	cmp  %o4, 0                                    
        int i = 0;                                                    
                                                                      
        /*                                                            
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
 2006580:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006584:	12 bf ff f6 	bne  200655c <erase.part.2+0x13c>              
 2006588:	b8 07 20 01 	inc  %i4                                       
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
 200658c:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2006590:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2006594:	04 bf ff b6 	ble  200646c <erase.part.2+0x4c>               <== NEVER TAKEN
 2006598:	80 a6 60 00 	cmp  %i1, 0                                    
          rtems_termios_puts ("\b", 1, tty);                          
 200659c:	90 10 00 1b 	mov  %i3, %o0                                  
 20065a0:	92 10 20 01 	mov  1, %o1                                    
 20065a4:	7f ff fe ce 	call  20060dc <rtems_termios_puts>             
 20065a8:	94 10 00 1d 	mov  %i5, %o2                                  
          tty->column--;                                              
 20065ac:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 20065b0:	82 00 7f ff 	add  %g1, -1, %g1                              
        }                                                             
                                                                      
        /*                                                            
         * Back up over the tab                                       
         */                                                           
        while (tty->column > col) {                                   
 20065b4:	80 a0 40 1c 	cmp  %g1, %i4                                  
 20065b8:	14 bf ff f9 	bg  200659c <erase.part.2+0x17c>               
 20065bc:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        
          if (tty->column)                                            
            tty->column--;                                            
        }                                                             
      }                                                               
    }                                                                 
    if (!lineFlag)                                                    
 20065c0:	80 a6 60 00 	cmp  %i1, 0                                    
 20065c4:	32 bf ff ad 	bne,a   2006478 <erase.part.2+0x58>            <== ALWAYS TAKEN
 20065c8:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
 20065cc:	81 c7 e0 08 	ret                                            
 20065d0:	81 e8 00 00 	restore                                        
         * Find the character before the tab                          
         */                                                           
        while (i != tty->ccount) {                                    
          c = tty->cbuf[i++];                                         
          if (c == '\t') {                                            
            col = (col | 7) + 1;                                      
 20065d4:	b8 17 20 07 	or  %i4, 7, %i4                                
 20065d8:	10 bf ff de 	b  2006550 <erase.part.2+0x130>                
 20065dc:	b8 07 20 01 	inc  %i4                                       
  while (tty->ccount) {                                               
    unsigned char c = tty->cbuf[--tty->ccount];                       
                                                                      
    if (tty->termios.c_lflag & ECHO) {                                
      if (!lineFlag && !(tty->termios.c_lflag & ECHOE)) {             
        echo (tty->termios.c_cc[VERASE], tty);                        
 20065e0:	7f ff ff 6f 	call  200639c <echo>                           <== NOT EXECUTED
 20065e4:	93 e8 00 1d 	restore  %g0, %i5, %o1                         <== NOT EXECUTED
      }                                                               
      else {                                                          
        if (iscntrl (c) && (tty->termios.c_lflag & ECHOCTL)) {        
          rtems_termios_puts ("\b \b", 3, tty);                       
          if (tty->column)                                            
            tty->column--;                                            
 20065e8:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 20065ec:	10 bf ff c6 	b  2006504 <erase.part.2+0xe4>                 <== NOT EXECUTED
 20065f0:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        <== NOT EXECUTED
                                                                      

02004b3c <eval_path_start>: size_t pathlen, int eval_flags, rtems_filesystem_global_location_t *const *global_root_ptr, rtems_filesystem_global_location_t *const *global_current_ptr ) {
 2004b3c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  memset(ctx, 0, sizeof(*ctx));                                       
 2004b40:	92 10 20 00 	clr  %o1                                       
 2004b44:	90 10 00 18 	mov  %i0, %o0                                  
 2004b48:	40 00 31 af 	call  2011204 <memset>                         
 2004b4c:	94 10 20 38 	mov  0x38, %o2                                 
                                                                      
  ctx->path = path;                                                   
 2004b50:	f2 26 00 00 	st  %i1, [ %i0 ]                               
  ctx->pathlen = pathlen;                                             
 2004b54:	f4 26 20 04 	st  %i2, [ %i0 + 4 ]                           
  rtems_filesystem_eval_path_context_t *ctx,                          
  rtems_filesystem_global_location_t *const *global_root_ptr,         
  rtems_filesystem_global_location_t *const *global_current_ptr       
)                                                                     
{                                                                     
  if (ctx->pathlen > 0) {                                             
 2004b58:	80 a6 a0 00 	cmp  %i2, 0                                    
 2004b5c:	02 80 00 21 	be  2004be0 <eval_path_start+0xa4>             
 2004b60:	f6 26 20 10 	st  %i3, [ %i0 + 0x10 ]                        
    char c = ctx->path [0];                                           
 2004b64:	f6 0e 40 00 	ldub  [ %i1 ], %i3                             
                                                                      
    ctx->rootloc = rtems_filesystem_global_location_obtain(global_root_ptr);
 2004b68:	40 00 01 a3 	call  20051f4 <rtems_filesystem_global_location_obtain>
 2004b6c:	90 10 00 1c 	mov  %i4, %o0                                  
  gid_t node_gid                                                      
);                                                                    
                                                                      
static inline bool rtems_filesystem_is_delimiter(char c)              
{                                                                     
  return c == '/' || c == '\\';                                       
 2004b70:	83 2e e0 18 	sll  %i3, 0x18, %g1                            
 2004b74:	83 38 60 18 	sra  %g1, 0x18, %g1                            
                                                                      
    if (rtems_filesystem_is_delimiter(c)) {                           
 2004b78:	80 a0 60 5c 	cmp  %g1, 0x5c                                 
 2004b7c:	12 80 00 32 	bne  2004c44 <eval_path_start+0x108>           <== ALWAYS TAKEN
 2004b80:	d0 26 20 30 	st  %o0, [ %i0 + 0x30 ]                        
      ++ctx->path;                                                    
 2004b84:	c4 06 00 00 	ld  [ %i0 ], %g2                               <== NOT EXECUTED
      --ctx->pathlen;                                                 
 2004b88:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
    char c = ctx->path [0];                                           
                                                                      
    ctx->rootloc = rtems_filesystem_global_location_obtain(global_root_ptr);
                                                                      
    if (rtems_filesystem_is_delimiter(c)) {                           
      ++ctx->path;                                                    
 2004b8c:	84 00 a0 01 	inc  %g2                                       
      --ctx->pathlen;                                                 
 2004b90:	82 00 7f ff 	add  %g1, -1, %g1                              
    char c = ctx->path [0];                                           
                                                                      
    ctx->rootloc = rtems_filesystem_global_location_obtain(global_root_ptr);
                                                                      
    if (rtems_filesystem_is_delimiter(c)) {                           
      ++ctx->path;                                                    
 2004b94:	c4 26 00 00 	st  %g2, [ %i0 ]                               
      --ctx->pathlen;                                                 
 2004b98:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
      ctx->startloc = rtems_filesystem_global_location_obtain(        
 2004b9c:	40 00 01 96 	call  20051f4 <rtems_filesystem_global_location_obtain>
 2004ba0:	90 06 20 30 	add  %i0, 0x30, %o0                            
 2004ba4:	d0 26 20 34 	st  %o0, [ %i0 + 0x34 ]                        
 2004ba8:	82 10 00 08 	mov  %o0, %g1                                  
                                                                      
static inline void rtems_filesystem_instance_lock(                    
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 2004bac:	d0 00 60 14 	ld  [ %g1 + 0x14 ], %o0                        
                                                                      
  (*mt_entry->ops->lock_h)( mt_entry );                               
 2004bb0:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 2004bb4:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2004bb8:	9f c0 40 00 	call  %g1                                      
 2004bbc:	ba 06 20 18 	add  %i0, 0x18, %i5                            
                                                                      
  set_startloc(ctx, global_root_ptr, global_current_ptr);             
                                                                      
  rtems_filesystem_instance_lock(&ctx->startloc->location);           
                                                                      
  rtems_filesystem_location_clone(                                    
 2004bc0:	d2 06 20 34 	ld  [ %i0 + 0x34 ], %o1                        
 2004bc4:	40 00 1f 2f 	call  200c880 <rtems_filesystem_location_clone>
 2004bc8:	90 10 00 1d 	mov  %i5, %o0                                  
    &ctx->currentloc,                                                 
    &ctx->startloc->location                                          
  );                                                                  
                                                                      
  rtems_filesystem_eval_path_continue(ctx);                           
 2004bcc:	90 10 00 18 	mov  %i0, %o0                                  
 2004bd0:	7f ff ff be 	call  2004ac8 <rtems_filesystem_eval_path_continue>
 2004bd4:	b0 10 00 1d 	mov  %i5, %i0                                  
                                                                      
  return &ctx->currentloc;                                            
}                                                                     
 2004bd8:	81 c7 e0 08 	ret                                            
 2004bdc:	81 e8 00 00 	restore                                        
);                                                                    
                                                                      
static inline rtems_filesystem_global_location_t *                    
rtems_filesystem_global_location_obtain_null(void)                    
{                                                                     
  rtems_filesystem_global_location_t *global_loc = NULL;              
 2004be0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
  return rtems_filesystem_global_location_obtain( &global_loc );      
 2004be4:	40 00 01 84 	call  20051f4 <rtems_filesystem_global_location_obtain>
 2004be8:	90 07 bf fc 	add  %fp, -4, %o0                              
);                                                                    
                                                                      
static inline rtems_filesystem_global_location_t *                    
rtems_filesystem_global_location_obtain_null(void)                    
{                                                                     
  rtems_filesystem_global_location_t *global_loc = NULL;              
 2004bec:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
      ctx->startloc = rtems_filesystem_global_location_obtain(        
        global_current_ptr                                            
      );                                                              
    }                                                                 
  } else {                                                            
    ctx->rootloc = rtems_filesystem_global_location_obtain_null();    
 2004bf0:	d0 26 20 30 	st  %o0, [ %i0 + 0x30 ]                        
                                                                      
  return rtems_filesystem_global_location_obtain( &global_loc );      
 2004bf4:	40 00 01 80 	call  20051f4 <rtems_filesystem_global_location_obtain>
 2004bf8:	90 07 bf fc 	add  %fp, -4, %o0                              
    ctx->startloc = rtems_filesystem_global_location_obtain_null();   
    errno = ENOENT;                                                   
 2004bfc:	40 00 2e fe 	call  20107f4 <__errno>                        
 2004c00:	d0 26 20 34 	st  %o0, [ %i0 + 0x34 ]                        
 2004c04:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
 2004c08:	84 10 20 02 	mov  2, %g2                                    
 2004c0c:	c4 22 00 00 	st  %g2, [ %o0 ]                               
                                                                      
static inline void rtems_filesystem_instance_lock(                    
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 2004c10:	d0 00 60 14 	ld  [ %g1 + 0x14 ], %o0                        
                                                                      
  (*mt_entry->ops->lock_h)( mt_entry );                               
 2004c14:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 2004c18:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2004c1c:	9f c0 40 00 	call  %g1                                      
 2004c20:	ba 06 20 18 	add  %i0, 0x18, %i5                            
                                                                      
  set_startloc(ctx, global_root_ptr, global_current_ptr);             
                                                                      
  rtems_filesystem_instance_lock(&ctx->startloc->location);           
                                                                      
  rtems_filesystem_location_clone(                                    
 2004c24:	d2 06 20 34 	ld  [ %i0 + 0x34 ], %o1                        
 2004c28:	40 00 1f 16 	call  200c880 <rtems_filesystem_location_clone>
 2004c2c:	90 10 00 1d 	mov  %i5, %o0                                  
    &ctx->currentloc,                                                 
    &ctx->startloc->location                                          
  );                                                                  
                                                                      
  rtems_filesystem_eval_path_continue(ctx);                           
 2004c30:	90 10 00 18 	mov  %i0, %o0                                  
 2004c34:	7f ff ff a5 	call  2004ac8 <rtems_filesystem_eval_path_continue>
 2004c38:	b0 10 00 1d 	mov  %i5, %i0                                  
                                                                      
  return &ctx->currentloc;                                            
}                                                                     
 2004c3c:	81 c7 e0 08 	ret                                            
 2004c40:	81 e8 00 00 	restore                                        
  if (ctx->pathlen > 0) {                                             
    char c = ctx->path [0];                                           
                                                                      
    ctx->rootloc = rtems_filesystem_global_location_obtain(global_root_ptr);
                                                                      
    if (rtems_filesystem_is_delimiter(c)) {                           
 2004c44:	80 a0 60 2f 	cmp  %g1, 0x2f                                 
 2004c48:	22 bf ff d0 	be,a   2004b88 <eval_path_start+0x4c>          
 2004c4c:	c4 06 00 00 	ld  [ %i0 ], %g2                               
      --ctx->pathlen;                                                 
      ctx->startloc = rtems_filesystem_global_location_obtain(        
        &ctx->rootloc                                                 
      );                                                              
    } else {                                                          
      ctx->startloc = rtems_filesystem_global_location_obtain(        
 2004c50:	40 00 01 69 	call  20051f4 <rtems_filesystem_global_location_obtain>
 2004c54:	90 10 00 1d 	mov  %i5, %o0                                  
 2004c58:	d0 26 20 34 	st  %o0, [ %i0 + 0x34 ]                        
 2004c5c:	82 10 00 08 	mov  %o0, %g1                                  
                                                                      
static inline void rtems_filesystem_instance_lock(                    
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 2004c60:	d0 00 60 14 	ld  [ %g1 + 0x14 ], %o0                        
                                                                      
  (*mt_entry->ops->lock_h)( mt_entry );                               
 2004c64:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 2004c68:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2004c6c:	9f c0 40 00 	call  %g1                                      
 2004c70:	ba 06 20 18 	add  %i0, 0x18, %i5                            
                                                                      
  set_startloc(ctx, global_root_ptr, global_current_ptr);             
                                                                      
  rtems_filesystem_instance_lock(&ctx->startloc->location);           
                                                                      
  rtems_filesystem_location_clone(                                    
 2004c74:	d2 06 20 34 	ld  [ %i0 + 0x34 ], %o1                        
 2004c78:	40 00 1f 02 	call  200c880 <rtems_filesystem_location_clone>
 2004c7c:	90 10 00 1d 	mov  %i5, %o0                                  
    &ctx->currentloc,                                                 
    &ctx->startloc->location                                          
  );                                                                  
                                                                      
  rtems_filesystem_eval_path_continue(ctx);                           
 2004c80:	90 10 00 18 	mov  %i0, %o0                                  
 2004c84:	7f ff ff 91 	call  2004ac8 <rtems_filesystem_eval_path_continue>
 2004c88:	b0 10 00 1d 	mov  %i5, %i0                                  
                                                                      
  return &ctx->currentloc;                                            
}                                                                     
 2004c8c:	81 c7 e0 08 	ret                                            
 2004c90:	81 e8 00 00 	restore                                        
                                                                      

020299d0 <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) {
 20299d0:	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)                          
 20299d4:	c2 0e 20 7d 	ldub  [ %i0 + 0x7d ], %g1                      
 20299d8:	80 a0 60 00 	cmp  %g1, 0                                    
 20299dc:	22 80 00 31 	be,a   2029aa0 <fat_buf_access+0xd0>           
 20299e0:	d0 06 20 58 	ld  [ %i0 + 0x58 ], %o0                        
 20299e4:	c2 06 20 78 	ld  [ %i0 + 0x78 ], %g1                        
        fs_info->c.blk_num = blk;                                     
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
 20299e8:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
 20299ec:	80 a0 c0 01 	cmp  %g3, %g1                                  
 20299f0:	08 80 00 3d 	bleu  2029ae4 <fat_buf_access+0x114>           <== ALWAYS TAKEN
 20299f4:	84 10 20 00 	clr  %g2                                       
                  (fs_info->c.blk_num < fs_info->vol.rdir_loc));      
                                                                      
    if (fs_info->c.blk_num != blk)                                    
 20299f8:	80 a6 40 01 	cmp  %i1, %g1                                  
 20299fc:	22 80 00 26 	be,a   2029a94 <fat_buf_access+0xc4>           
 2029a00:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
    {                                                                 
        if (fs_info->c.modified)                                      
 2029a04:	c2 0e 20 7c 	ldub  [ %i0 + 0x7c ], %g1                      
 2029a08:	80 a0 60 00 	cmp  %g1, 0                                    
 2029a0c:	02 80 00 10 	be  2029a4c <fat_buf_access+0x7c>              
 2029a10:	80 88 a0 ff 	btst  0xff, %g2                                
        {                                                             
            if (sec_of_fat && !fs_info->vol.mirror)                   
 2029a14:	32 80 00 38 	bne,a   2029af4 <fat_buf_access+0x124>         
 2029a18:	c2 0e 20 48 	ldub  [ %i0 + 0x48 ], %g1                      
                memcpy(fs_info->sec_buf, fs_info->c.buf->buffer,      
                       fs_info->vol.bps);                             
                                                                      
            sc = rtems_bdbuf_release_modified(fs_info->c.buf);        
 2029a1c:	7f ff 74 f0 	call  2006ddc <rtems_bdbuf_release_modified>   
 2029a20:	d0 06 20 80 	ld  [ %i0 + 0x80 ], %o0                        
            fs_info->c.state = FAT_CACHE_EMPTY;                       
 2029a24:	c0 2e 20 7d 	clrb  [ %i0 + 0x7d ]                           
            fs_info->c.modified = 0;                                  
            if (sc != RTEMS_SUCCESSFUL)                               
 2029a28:	80 a2 20 00 	cmp  %o0, 0                                    
 2029a2c:	02 80 00 0d 	be  2029a60 <fat_buf_access+0x90>              <== ALWAYS TAKEN
 2029a30:	c0 2e 20 7c 	clrb  [ %i0 + 0x7c ]                           
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
 2029a34:	40 00 7b b5 	call  2048908 <__errno>                        <== NOT EXECUTED
 2029a38:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2029a3c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2029a40:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2029a44:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029a48:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                }                                                     
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            sc = rtems_bdbuf_release(fs_info->c.buf);                 
 2029a4c:	7f ff 74 ab 	call  2006cf8 <rtems_bdbuf_release>            
 2029a50:	d0 06 20 80 	ld  [ %i0 + 0x80 ], %o0                        
            fs_info->c.state = FAT_CACHE_EMPTY;                       
            if (sc != RTEMS_SUCCESSFUL)                               
 2029a54:	80 a2 20 00 	cmp  %o0, 0                                    
 2029a58:	12 bf ff f7 	bne  2029a34 <fat_buf_access+0x64>             <== NEVER TAKEN
 2029a5c:	c0 2e 20 7d 	clrb  [ %i0 + 0x7d ]                           
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
        }                                                             
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &fs_info->c.buf);
 2029a60:	d0 06 20 58 	ld  [ %i0 + 0x58 ], %o0                        
 2029a64:	92 10 00 19 	mov  %i1, %o1                                  
            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)                              
 2029a68:	80 a6 a0 01 	cmp  %i2, 1                                    
 2029a6c:	02 80 00 5e 	be  2029be4 <fat_buf_access+0x214>             
 2029a70:	94 06 20 80 	add  %i0, 0x80, %o2                            
            sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &fs_info->c.buf);
 2029a74:	7f ff 73 d9 	call  20069d8 <rtems_bdbuf_get>                
 2029a78:	01 00 00 00 	nop                                            
        if (sc != RTEMS_SUCCESSFUL)                                   
 2029a7c:	80 a2 20 00 	cmp  %o0, 0                                    
 2029a80:	12 bf ff ed 	bne  2029a34 <fat_buf_access+0x64>             <== NEVER TAKEN
 2029a84:	82 10 20 01 	mov  1, %g1                                    
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
 2029a88:	f2 26 20 78 	st  %i1, [ %i0 + 0x78 ]                        
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
 2029a8c:	c2 2e 20 7d 	stb  %g1, [ %i0 + 0x7d ]                       
    }                                                                 
    *buf = fs_info->c.buf;                                            
 2029a90:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
 2029a94:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    return RC_OK;                                                     
 2029a98:	81 c7 e0 08 	ret                                            
 2029a9c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &fs_info->c.buf);
 2029aa0:	92 10 00 19 	mov  %i1, %o1                                  
    bool              sec_of_fat;                                     
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
 2029aa4:	80 a6 a0 01 	cmp  %i2, 1                                    
 2029aa8:	02 80 00 4b 	be  2029bd4 <fat_buf_access+0x204>             
 2029aac:	94 06 20 80 	add  %i0, 0x80, %o2                            
            sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &fs_info->c.buf);
 2029ab0:	7f ff 73 ca 	call  20069d8 <rtems_bdbuf_get>                
 2029ab4:	01 00 00 00 	nop                                            
        if (sc != RTEMS_SUCCESSFUL)                                   
 2029ab8:	80 a2 20 00 	cmp  %o0, 0                                    
 2029abc:	12 bf ff de 	bne  2029a34 <fat_buf_access+0x64>             <== NEVER TAKEN
 2029ac0:	82 10 20 01 	mov  1, %g1                                    
        fs_info->c.blk_num = blk;                                     
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
 2029ac4:	c6 16 20 14 	lduh  [ %i0 + 0x14 ], %g3                      
            sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &fs_info->c.buf);
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
 2029ac8:	f2 26 20 78 	st  %i1, [ %i0 + 0x78 ]                        
        fs_info->c.modified = 0;                                      
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
 2029acc:	c2 2e 20 7d 	stb  %g1, [ %i0 + 0x7d ]                       
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.blk_num = blk;                                     
        fs_info->c.modified = 0;                                      
 2029ad0:	c0 2e 20 7c 	clrb  [ %i0 + 0x7c ]                           
        fs_info->c.state = FAT_CACHE_ACTUAL;                          
 2029ad4:	82 10 00 19 	mov  %i1, %g1                                  
    }                                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
 2029ad8:	80 a0 c0 01 	cmp  %g3, %g1                                  
 2029adc:	18 bf ff c7 	bgu  20299f8 <fat_buf_access+0x28>             <== NEVER TAKEN
 2029ae0:	84 10 20 00 	clr  %g2                                       
 2029ae4:	c4 06 20 1c 	ld  [ %i0 + 0x1c ], %g2                        
 2029ae8:	80 a0 40 02 	cmp  %g1, %g2                                  
 2029aec:	10 bf ff c3 	b  20299f8 <fat_buf_access+0x28>               
 2029af0:	84 40 20 00 	addx  %g0, 0, %g2                              
                                                                      
    if (fs_info->c.blk_num != blk)                                    
    {                                                                 
        if (fs_info->c.modified)                                      
        {                                                             
            if (sec_of_fat && !fs_info->vol.mirror)                   
 2029af4:	80 a0 60 00 	cmp  %g1, 0                                    
 2029af8:	12 80 00 07 	bne  2029b14 <fat_buf_access+0x144>            <== NEVER TAKEN
 2029afc:	01 00 00 00 	nop                                            
                memcpy(fs_info->sec_buf, fs_info->c.buf->buffer,      
 2029b00:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        
 2029b04:	d0 06 20 84 	ld  [ %i0 + 0x84 ], %o0                        
 2029b08:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        
 2029b0c:	40 00 88 be 	call  204be04 <memcpy>                         
 2029b10:	d4 16 00 00 	lduh  [ %i0 ], %o2                             
                       fs_info->vol.bps);                             
                                                                      
            sc = rtems_bdbuf_release_modified(fs_info->c.buf);        
 2029b14:	7f ff 74 b2 	call  2006ddc <rtems_bdbuf_release_modified>   
 2029b18:	d0 06 20 80 	ld  [ %i0 + 0x80 ], %o0                        
            fs_info->c.state = FAT_CACHE_EMPTY;                       
 2029b1c:	c0 2e 20 7d 	clrb  [ %i0 + 0x7d ]                           
            fs_info->c.modified = 0;                                  
            if (sc != RTEMS_SUCCESSFUL)                               
 2029b20:	80 a2 20 00 	cmp  %o0, 0                                    
 2029b24:	12 bf ff c4 	bne  2029a34 <fat_buf_access+0x64>             <== NEVER TAKEN
 2029b28:	c0 2e 20 7c 	clrb  [ %i0 + 0x7c ]                           
                rtems_set_errno_and_return_minus_one(EIO);            
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
 2029b2c:	c2 0e 20 48 	ldub  [ %i0 + 0x48 ], %g1                      
 2029b30:	80 a0 60 00 	cmp  %g1, 0                                    
 2029b34:	32 bf ff cc 	bne,a   2029a64 <fat_buf_access+0x94>          <== NEVER TAKEN
 2029b38:	d0 06 20 58 	ld  [ %i0 + 0x58 ], %o0                        <== NOT EXECUTED
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
 2029b3c:	c4 0e 20 09 	ldub  [ %i0 + 9 ], %g2                         
 2029b40:	ba 10 20 01 	mov  1, %i5                                    
 2029b44:	80 a0 a0 01 	cmp  %g2, 1                                    
 2029b48:	18 80 00 12 	bgu  2029b90 <fat_buf_access+0x1c0>            <== ALWAYS TAKEN
 2029b4c:	90 10 20 01 	mov  1, %o0                                    
            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.dd, blk, &fs_info->c.buf);
 2029b50:	10 bf ff c5 	b  2029a64 <fat_buf_access+0x94>               <== NOT EXECUTED
 2029b54:	d0 06 20 58 	ld  [ %i0 + 0x58 ], %o0                        <== NOT EXECUTED
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
                                         &b);                         
                    if ( sc != RTEMS_SUCCESSFUL)                      
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
                    memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
 2029b58:	d2 06 20 84 	ld  [ %i0 + 0x84 ], %o1                        
 2029b5c:	d4 16 00 00 	lduh  [ %i0 ], %o2                             
 2029b60:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 2029b64:	40 00 88 a8 	call  204be04 <memcpy>                         
 2029b68:	ba 07 60 01 	inc  %i5                                       
                    sc = rtems_bdbuf_release_modified(b);             
 2029b6c:	7f ff 74 9c 	call  2006ddc <rtems_bdbuf_release_modified>   
 2029b70:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
                    if ( sc != RTEMS_SUCCESSFUL)                      
 2029b74:	80 a2 20 00 	cmp  %o0, 0                                    
 2029b78:	12 80 00 11 	bne  2029bbc <fat_buf_access+0x1ec>            <== NEVER TAKEN
 2029b7c:	90 0f 60 ff 	and  %i5, 0xff, %o0                            
                                                                      
            if (sec_of_fat && !fs_info->vol.mirror)                   
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
 2029b80:	c4 0e 20 09 	ldub  [ %i0 + 9 ], %g2                         
 2029b84:	80 a0 80 08 	cmp  %g2, %o0                                  
 2029b88:	28 bf ff b7 	bleu,a   2029a64 <fat_buf_access+0x94>         <== ALWAYS TAKEN
 2029b8c:	d0 06 20 58 	ld  [ %i0 + 0x58 ], %o0                        
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dd,             
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
 2029b90:	d2 06 20 18 	ld  [ %i0 + 0x18 ], %o1                        
 2029b94:	7f ff 64 f4 	call  2002f64 <.umul>                          
 2029b98:	f8 06 20 58 	ld  [ %i0 + 0x58 ], %i4                        
            {                                                         
                rtems_bdbuf_buffer *b;                                
                                                                      
                for (i = 1; i < fs_info->vol.fats; i++)               
                {                                                     
                    sc = rtems_bdbuf_get(fs_info->vol.dd,             
 2029b9c:	d2 06 20 78 	ld  [ %i0 + 0x78 ], %o1                        
 2029ba0:	94 07 bf fc 	add  %fp, -4, %o2                              
 2029ba4:	92 02 00 09 	add  %o0, %o1, %o1                             
 2029ba8:	7f ff 73 8c 	call  20069d8 <rtems_bdbuf_get>                
 2029bac:	90 10 00 1c 	mov  %i4, %o0                                  
                                         fs_info->c.blk_num +         
                                         fs_info->vol.fat_length * i, 
                                         &b);                         
                    if ( sc != RTEMS_SUCCESSFUL)                      
 2029bb0:	80 a2 20 00 	cmp  %o0, 0                                    
 2029bb4:	02 bf ff e9 	be  2029b58 <fat_buf_access+0x188>             <== ALWAYS TAKEN
 2029bb8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
                    memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
                    sc = rtems_bdbuf_release_modified(b);             
                    if ( sc != RTEMS_SUCCESSFUL)                      
                        rtems_set_errno_and_return_minus_one(ENOMEM); 
 2029bbc:	40 00 7b 53 	call  2048908 <__errno>                        <== NOT EXECUTED
 2029bc0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2029bc4:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 2029bc8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2029bcc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029bd0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
    {                                                                 
        if (op_type == FAT_OP_TYPE_READ)                              
            sc = rtems_bdbuf_read(fs_info->vol.dd, blk, &fs_info->c.buf);
 2029bd4:	7f ff 73 c2 	call  2006adc <rtems_bdbuf_read>               
 2029bd8:	01 00 00 00 	nop                                            
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
 2029bdc:	10 bf ff b8 	b  2029abc <fat_buf_access+0xec>               
 2029be0:	80 a2 20 00 	cmp  %o0, 0                                    
            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.dd, blk, &fs_info->c.buf);
 2029be4:	7f ff 73 be 	call  2006adc <rtems_bdbuf_read>               
 2029be8:	01 00 00 00 	nop                                            
        else                                                          
            sc = rtems_bdbuf_get(fs_info->vol.dd, blk, &fs_info->c.buf);
        if (sc != RTEMS_SUCCESSFUL)                                   
 2029bec:	10 bf ff a5 	b  2029a80 <fat_buf_access+0xb0>               
 2029bf0:	80 a2 20 00 	cmp  %o0, 0                                    
                                                                      

02029bf4 <fat_buf_release>: return RC_OK; } int fat_buf_release(fat_fs_info_t *fs_info) {
 2029bf4:	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)                          
 2029bf8:	c2 0e 20 7d 	ldub  [ %i0 + 0x7d ], %g1                      
    return RC_OK;                                                     
}                                                                     
                                                                      
int                                                                   
fat_buf_release(fat_fs_info_t *fs_info)                               
{                                                                     
 2029bfc:	ba 10 00 18 	mov  %i0, %i5                                  
    rtems_status_code sc = RTEMS_SUCCESSFUL;                          
    uint8_t           i;                                              
    bool              sec_of_fat;                                     
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
 2029c00:	80 a0 60 00 	cmp  %g1, 0                                    
 2029c04:	02 80 00 3a 	be  2029cec <fat_buf_release+0xf8>             
 2029c08:	b0 10 20 00 	clr  %i0                                       
        return RC_OK;                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
 2029c0c:	c2 07 60 78 	ld  [ %i5 + 0x78 ], %g1                        
 2029c10:	c4 17 60 14 	lduh  [ %i5 + 0x14 ], %g2                      
 2029c14:	80 a0 40 02 	cmp  %g1, %g2                                  
 2029c18:	3a 80 00 37 	bcc,a   2029cf4 <fat_buf_release+0x100>        <== ALWAYS TAKEN
 2029c1c:	c4 07 60 1c 	ld  [ %i5 + 0x1c ], %g2                        
                  (fs_info->c.blk_num < fs_info->vol.rdir_loc));      
                                                                      
    if (fs_info->c.modified)                                          
 2029c20:	c2 0f 60 7c 	ldub  [ %i5 + 0x7c ], %g1                      <== NOT EXECUTED
 2029c24:	80 a0 60 00 	cmp  %g1, 0                                    
 2029c28:	02 80 00 46 	be  2029d40 <fat_buf_release+0x14c>            <== NEVER TAKEN
 2029c2c:	b8 10 20 00 	clr  %i4                                       
    {                                                                 
        if (sec_of_fat && !fs_info->vol.mirror)                       
            memcpy(fs_info->sec_buf, fs_info->c.buf->buffer, fs_info->vol.bps);
                                                                      
        sc = rtems_bdbuf_release_modified(fs_info->c.buf);            
 2029c30:	7f ff 74 6b 	call  2006ddc <rtems_bdbuf_release_modified>   
 2029c34:	d0 07 60 80 	ld  [ %i5 + 0x80 ], %o0                        
        if (sc != RTEMS_SUCCESSFUL)                                   
 2029c38:	80 a2 20 00 	cmp  %o0, 0                                    
 2029c3c:	12 80 00 46 	bne  2029d54 <fat_buf_release+0x160>           <== NEVER TAKEN
 2029c40:	80 8f 20 ff 	btst  0xff, %i4                                
            rtems_set_errno_and_return_minus_one(EIO);                
        fs_info->c.modified = 0;                                      
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
 2029c44:	02 80 00 3c 	be  2029d34 <fat_buf_release+0x140>            
 2029c48:	c0 2f 60 7c 	clrb  [ %i5 + 0x7c ]                           
 2029c4c:	c2 0f 60 48 	ldub  [ %i5 + 0x48 ], %g1                      
 2029c50:	80 a0 60 00 	cmp  %g1, 0                                    
 2029c54:	32 80 00 39 	bne,a   2029d38 <fat_buf_release+0x144>        <== NEVER TAKEN
 2029c58:	c0 2f 60 7d 	clrb  [ %i5 + 0x7d ]                           <== NOT EXECUTED
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
 2029c5c:	c4 0f 60 09 	ldub  [ %i5 + 9 ], %g2                         
 2029c60:	b8 10 20 01 	mov  1, %i4                                    
 2029c64:	80 a0 a0 01 	cmp  %g2, 1                                    
 2029c68:	18 80 00 12 	bgu  2029cb0 <fat_buf_release+0xbc>            <== ALWAYS TAKEN
 2029c6c:	90 10 20 01 	mov  1, %o0                                    
    {                                                                 
        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;                               
 2029c70:	10 80 00 32 	b  2029d38 <fat_buf_release+0x144>             <== NOT EXECUTED
 2029c74:	c0 2f 60 7d 	clrb  [ %i5 + 0x7d ]                           <== NOT EXECUTED
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
                                     &b);                             
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
 2029c78:	d2 07 60 84 	ld  [ %i5 + 0x84 ], %o1                        
 2029c7c:	d4 17 40 00 	lduh  [ %i5 ], %o2                             
 2029c80:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 2029c84:	40 00 88 60 	call  204be04 <memcpy>                         
 2029c88:	b8 07 20 01 	inc  %i4                                       
                sc = rtems_bdbuf_release_modified(b);                 
 2029c8c:	7f ff 74 54 	call  2006ddc <rtems_bdbuf_release_modified>   
 2029c90:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
                if ( sc != RTEMS_SUCCESSFUL)                          
 2029c94:	80 a2 20 00 	cmp  %o0, 0                                    
 2029c98:	12 80 00 11 	bne  2029cdc <fat_buf_release+0xe8>            <== NEVER TAKEN
 2029c9c:	90 0f 20 ff 	and  %i4, 0xff, %o0                            
                                                                      
        if (sec_of_fat && !fs_info->vol.mirror)                       
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
 2029ca0:	c4 0f 60 09 	ldub  [ %i5 + 9 ], %g2                         
 2029ca4:	80 a2 00 02 	cmp  %o0, %g2                                  
 2029ca8:	3a 80 00 24 	bcc,a   2029d38 <fat_buf_release+0x144>        <== ALWAYS TAKEN
 2029cac:	c0 2f 60 7d 	clrb  [ %i5 + 0x7d ]                           
            {                                                         
                sc = rtems_bdbuf_get(fs_info->vol.dd,                 
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
 2029cb0:	d2 07 60 18 	ld  [ %i5 + 0x18 ], %o1                        
 2029cb4:	7f ff 64 ac 	call  2002f64 <.umul>                          
 2029cb8:	f6 07 60 58 	ld  [ %i5 + 0x58 ], %i3                        
        {                                                             
            rtems_bdbuf_buffer *b;                                    
                                                                      
            for (i = 1; i < fs_info->vol.fats; i++)                   
            {                                                         
                sc = rtems_bdbuf_get(fs_info->vol.dd,                 
 2029cbc:	d2 07 60 78 	ld  [ %i5 + 0x78 ], %o1                        
 2029cc0:	94 07 bf fc 	add  %fp, -4, %o2                              
 2029cc4:	92 02 00 09 	add  %o0, %o1, %o1                             
 2029cc8:	7f ff 73 44 	call  20069d8 <rtems_bdbuf_get>                
 2029ccc:	90 10 00 1b 	mov  %i3, %o0                                  
                                     fs_info->c.blk_num +             
                                     fs_info->vol.fat_length * i,     
                                     &b);                             
                if ( sc != RTEMS_SUCCESSFUL)                          
 2029cd0:	80 a2 20 00 	cmp  %o0, 0                                    
 2029cd4:	02 bf ff e9 	be  2029c78 <fat_buf_release+0x84>             <== ALWAYS TAKEN
 2029cd8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
                memcpy(b->buffer, fs_info->sec_buf, fs_info->vol.bps);
                sc = rtems_bdbuf_release_modified(b);                 
                if ( sc != RTEMS_SUCCESSFUL)                          
                    rtems_set_errno_and_return_minus_one(ENOMEM);     
 2029cdc:	40 00 7b 0b 	call  2048908 <__errno>                        <== NOT EXECUTED
 2029ce0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2029ce4:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 2029ce8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2029cec:	81 c7 e0 08 	ret                                            
 2029cf0:	81 e8 00 00 	restore                                        
    bool              sec_of_fat;                                     
                                                                      
    if (fs_info->c.state == FAT_CACHE_EMPTY)                          
        return RC_OK;                                                 
                                                                      
    sec_of_fat = ((fs_info->c.blk_num >= fs_info->vol.fat_loc) &&     
 2029cf4:	80 a0 40 02 	cmp  %g1, %g2                                  
 2029cf8:	1a bf ff cb 	bcc  2029c24 <fat_buf_release+0x30>            
 2029cfc:	c2 0f 60 7c 	ldub  [ %i5 + 0x7c ], %g1                      
                  (fs_info->c.blk_num < fs_info->vol.rdir_loc));      
                                                                      
    if (fs_info->c.modified)                                          
 2029d00:	80 a0 60 00 	cmp  %g1, 0                                    
 2029d04:	02 80 00 0f 	be  2029d40 <fat_buf_release+0x14c>            
 2029d08:	01 00 00 00 	nop                                            
    {                                                                 
        if (sec_of_fat && !fs_info->vol.mirror)                       
 2029d0c:	c2 0f 60 48 	ldub  [ %i5 + 0x48 ], %g1                      
 2029d10:	80 a0 60 00 	cmp  %g1, 0                                    
 2029d14:	12 bf ff c7 	bne  2029c30 <fat_buf_release+0x3c>            <== NEVER TAKEN
 2029d18:	b8 10 20 01 	mov  1, %i4                                    
            memcpy(fs_info->sec_buf, fs_info->c.buf->buffer, fs_info->vol.bps);
 2029d1c:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        
 2029d20:	d0 07 60 84 	ld  [ %i5 + 0x84 ], %o0                        
 2029d24:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        
 2029d28:	40 00 88 37 	call  204be04 <memcpy>                         
 2029d2c:	d4 17 40 00 	lduh  [ %i5 ], %o2                             
 2029d30:	30 bf ff c0 	b,a   2029c30 <fat_buf_release+0x3c>           
    {                                                                 
        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;                               
 2029d34:	c0 2f 60 7d 	clrb  [ %i5 + 0x7d ]                           
    return RC_OK;                                                     
 2029d38:	81 c7 e0 08 	ret                                            
 2029d3c:	91 e8 20 00 	restore  %g0, 0, %o0                           
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        sc = rtems_bdbuf_release(fs_info->c.buf);                     
 2029d40:	7f ff 73 ee 	call  2006cf8 <rtems_bdbuf_release>            
 2029d44:	d0 07 60 80 	ld  [ %i5 + 0x80 ], %o0                        
        if (sc != RTEMS_SUCCESSFUL)                                   
 2029d48:	80 a2 20 00 	cmp  %o0, 0                                    
 2029d4c:	22 bf ff fb 	be,a   2029d38 <fat_buf_release+0x144>         <== ALWAYS TAKEN
 2029d50:	c0 2f 60 7d 	clrb  [ %i5 + 0x7d ]                           
            rtems_set_errno_and_return_minus_one(EIO);                
 2029d54:	40 00 7a ed 	call  2048908 <__errno>                        <== NOT EXECUTED
 2029d58:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2029d5c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2029d60:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2029d64:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029d68:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02029f74 <fat_cluster_read>: fat_cluster_num_to_sector_num( const fat_fs_info_t *fs_info, uint32_t cln ) { if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2029f74:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
 2029f78:	12 80 00 06 	bne  2029f90 <fat_cluster_read+0x1c>           <== NOT EXECUTED
 2029f7c:	98 10 00 0a 	mov  %o2, %o4                                  <== NOT EXECUTED
 2029f80:	c2 0a 20 0a 	ldub  [ %o0 + 0xa ], %g1                       <== NOT EXECUTED
 2029f84:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 2029f88:	32 80 00 0e 	bne,a   2029fc0 <fat_cluster_read+0x4c>        <== NOT EXECUTED
 2029f8c:	d6 0a 20 04 	ldub  [ %o0 + 4 ], %o3                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2029f90:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        <== NOT EXECUTED
 2029f94:	c4 0a 20 05 	ldub  [ %o0 + 5 ], %g2                         <== NOT EXECUTED
 2029f98:	92 02 7f fe 	add  %o1, -2, %o1                              <== NOT EXECUTED
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(fs_info, cln);               
                                                                      
    return _fat_block_read(fs_info, fsec, 0,                          
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
 2029f9c:	d6 0a 20 04 	ldub  [ %o0 + 4 ], %o3                         <== NOT EXECUTED
 2029fa0:	93 2a 40 02 	sll  %o1, %g2, %o1                             <== NOT EXECUTED
 2029fa4:	92 02 40 01 	add  %o1, %g1, %o1                             <== NOT EXECUTED
 2029fa8:	c2 0a 20 02 	ldub  [ %o0 + 2 ], %g1                         <== NOT EXECUTED
{                                                                     
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(fs_info, cln);               
                                                                      
    return _fat_block_read(fs_info, fsec, 0,                          
 2029fac:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2029fb0:	97 2a c0 01 	sll  %o3, %g1, %o3                             <== NOT EXECUTED
 2029fb4:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 2029fb8:	7f ff ff 6d 	call  2029d6c <_fat_block_read>                <== NOT EXECUTED
 2029fbc:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                           fs_info->vol.spc << fs_info->vol.sec_log2, buff);
 2029fc0:	c2 0a 20 02 	ldub  [ %o0 + 2 ], %g1                         <== NOT EXECUTED
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
 2029fc4:	d2 02 20 1c 	ld  [ %o0 + 0x1c ], %o1                        <== NOT EXECUTED
{                                                                     
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(fs_info, cln);               
                                                                      
    return _fat_block_read(fs_info, fsec, 0,                          
 2029fc8:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2029fcc:	97 2a c0 01 	sll  %o3, %g1, %o3                             <== NOT EXECUTED
 2029fd0:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 2029fd4:	7f ff ff 66 	call  2029d6c <_fat_block_read>                <== NOT EXECUTED
 2029fd8:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

02029fdc <fat_cluster_write>: fat_cluster_num_to_sector_num( const fat_fs_info_t *fs_info, uint32_t cln ) { if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2029fdc:	80 a2 60 00 	cmp  %o1, 0                                    
 2029fe0:	12 80 00 06 	bne  2029ff8 <fat_cluster_write+0x1c>          <== ALWAYS TAKEN
 2029fe4:	98 10 00 0a 	mov  %o2, %o4                                  
 2029fe8:	c2 0a 20 0a 	ldub  [ %o0 + 0xa ], %g1                       <== NOT EXECUTED
 2029fec:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 2029ff0:	32 80 00 0e 	bne,a   202a028 <fat_cluster_write+0x4c>       <== NOT EXECUTED
 2029ff4:	d6 0a 20 04 	ldub  [ %o0 + 4 ], %o3                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2029ff8:	c2 02 20 30 	ld  [ %o0 + 0x30 ], %g1                        
 2029ffc:	c4 0a 20 05 	ldub  [ %o0 + 5 ], %g2                         
 202a000:	92 02 7f fe 	add  %o1, -2, %o1                              
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(fs_info, cln);               
                                                                      
    return _fat_block_write(fs_info, fsec, 0,                         
                          fs_info->vol.spc << fs_info->vol.sec_log2, buff);
 202a004:	d6 0a 20 04 	ldub  [ %o0 + 4 ], %o3                         
 202a008:	93 2a 40 02 	sll  %o1, %g2, %o1                             
 202a00c:	92 02 40 01 	add  %o1, %g1, %o1                             
 202a010:	c2 0a 20 02 	ldub  [ %o0 + 2 ], %g1                         
{                                                                     
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(fs_info, cln);               
                                                                      
    return _fat_block_write(fs_info, fsec, 0,                         
 202a014:	94 10 20 00 	clr  %o2                                       
 202a018:	97 2a c0 01 	sll  %o3, %g1, %o3                             
 202a01c:	82 13 c0 00 	mov  %o7, %g1                                  
 202a020:	7f ff ff 75 	call  2029df4 <_fat_block_write>               
 202a024:	9e 10 40 00 	mov  %g1, %o7                                  
                          fs_info->vol.spc << fs_info->vol.sec_log2, buff);
 202a028:	c2 0a 20 02 	ldub  [ %o0 + 2 ], %g1                         <== NOT EXECUTED
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
 202a02c:	d2 02 20 1c 	ld  [ %o0 + 0x1c ], %o1                        <== NOT EXECUTED
{                                                                     
    uint32_t       fsec = 0;                                          
                                                                      
    fsec = fat_cluster_num_to_sector_num(fs_info, cln);               
                                                                      
    return _fat_block_write(fs_info, fsec, 0,                         
 202a030:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 202a034:	97 2a c0 01 	sll  %o3, %g1, %o3                             <== NOT EXECUTED
 202a038:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 202a03c:	7f ff ff 6e 	call  2029df4 <_fat_block_write>               <== NOT EXECUTED
 202a040:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

0202a230 <fat_fat32_update_fsinfo_sector>: fat_fat32_update_fsinfo_sector( fat_fs_info_t *fs_info, uint32_t free_count, uint32_t next_free ) {
 202a230:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
 202a234:	83 36 60 18 	srl  %i1, 0x18, %g1                            <== NOT EXECUTED
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 202a238:	87 2e 60 18 	sll  %i1, 0x18, %g3                            <== NOT EXECUTED
 202a23c:	86 10 c0 01 	or  %g3, %g1, %g3                              <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 202a240:	83 36 60 10 	srl  %i1, 0x10, %g1                            <== NOT EXECUTED
 202a244:	82 08 60 ff 	and  %g1, 0xff, %g1                            <== NOT EXECUTED
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 202a248:	83 28 60 08 	sll  %g1, 8, %g1                               <== 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(fs_info,                                  
 202a24c:	d2 16 20 3c 	lduh  [ %i0 + 0x3c ], %o1                      <== NOT EXECUTED
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 202a250:	85 36 60 08 	srl  %i1, 8, %g2                               <== NOT EXECUTED
 202a254:	84 08 a0 ff 	and  %g2, 0xff, %g2                            <== NOT EXECUTED
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 202a258:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 202a25c:	b2 10 c0 02 	or  %g3, %g2, %i1                              <== NOT EXECUTED
 202a260:	b2 16 40 01 	or  %i1, %g1, %i1                              <== NOT EXECUTED
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
 202a264:	83 36 a0 18 	srl  %i2, 0x18, %g1                            <== NOT EXECUTED
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 202a268:	87 2e a0 18 	sll  %i2, 0x18, %g3                            <== NOT EXECUTED
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 202a26c:	85 36 a0 08 	srl  %i2, 8, %g2                               <== NOT EXECUTED
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 202a270:	86 10 c0 01 	or  %g3, %g1, %g3                              <== NOT EXECUTED
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 202a274:	84 08 a0 ff 	and  %g2, 0xff, %g2                            <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 202a278:	83 36 a0 10 	srl  %i2, 0x10, %g1                            <== NOT EXECUTED
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 202a27c:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 202a280:	82 08 60 ff 	and  %g1, 0xff, %g1                            <== NOT EXECUTED
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 202a284:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 202a288:	b4 10 c0 02 	or  %g3, %g2, %i2                              <== NOT EXECUTED
 202a28c:	94 10 21 e8 	mov  0x1e8, %o2                                <== NOT EXECUTED
 202a290:	b4 16 80 01 	or  %i2, %g1, %i2                              <== NOT EXECUTED
 202a294:	96 10 20 04 	mov  4, %o3                                    <== NOT EXECUTED
 202a298:	98 07 bf f8 	add  %fp, -8, %o4                              <== NOT EXECUTED
{                                                                     
    ssize_t                 ret1 = 0, ret2 = 0;                       
    uint32_t                le_free_count = 0;                        
    uint32_t                le_next_free = 0;                         
                                                                      
    le_free_count = CT_LE_L(free_count);                              
 202a29c:	f2 27 bf f8 	st  %i1, [ %fp + -8 ]                          <== NOT EXECUTED
    le_next_free = CT_LE_L(next_free);                                
 202a2a0:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          <== NOT EXECUTED
                                                                      
    ret1 = _fat_block_write(fs_info,                                  
 202a2a4:	7f ff fe d4 	call  2029df4 <_fat_block_write>               <== NOT EXECUTED
 202a2a8:	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(fs_info,                                  
 202a2ac:	d2 16 20 3c 	lduh  [ %i0 + 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(fs_info,                                  
 202a2b0:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
                            fs_info->vol.info_sec,                    
                            FAT_FSINFO_FREE_CLUSTER_COUNT_OFFSET,     
                            4,                                        
                            (char *)(&le_free_count));                
                                                                      
    ret2 = _fat_block_write(fs_info,                                  
 202a2b4:	94 10 21 ec 	mov  0x1ec, %o2                                <== NOT EXECUTED
 202a2b8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 202a2bc:	96 10 20 04 	mov  4, %o3                                    <== NOT EXECUTED
 202a2c0:	7f ff fe cd 	call  2029df4 <_fat_block_write>               <== NOT EXECUTED
 202a2c4:	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) )                                   
 202a2c8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 202a2cc:	06 80 00 06 	bl  202a2e4 <fat_fat32_update_fsinfo_sector+0xb4><== NOT EXECUTED
 202a2d0:	80 a7 60 00 	cmp  %i5, 0                                    <== NOT EXECUTED
 202a2d4:	06 80 00 04 	bl  202a2e4 <fat_fat32_update_fsinfo_sector+0xb4><== NOT EXECUTED
 202a2d8:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
        return -1;                                                    
                                                                      
    return RC_OK;                                                     
}                                                                     
 202a2dc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202a2e0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 202a2e4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202a2e8:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      

020291d8 <fat_file_close>: int fat_file_close( fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd ) {
 20291d8:	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)                                        
 20291dc:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 20291e0:	80 a0 60 01 	cmp  %g1, 1                                    
 20291e4:	08 80 00 06 	bleu  20291fc <fat_file_close+0x24>            
 20291e8:	82 00 7f ff 	add  %g1, -1, %g1                              
    {                                                                 
        fat_fd->links_num--;                                          
        return rc;                                                    
 20291ec:	90 10 20 00 	clr  %o0                                       
     * 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)                                        
    {                                                                 
        fat_fd->links_num--;                                          
 20291f0:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
                                                                      
    return rc;                                                        
}                                                                     
 20291f4:	81 c7 e0 08 	ret                                            
 20291f8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
        return rc;                                                    
    }                                                                 
                                                                      
    key = fat_construct_key(fs_info, &fat_fd->dir_pos.sname);         
                                                                      
    if (fat_fd->flags & FAT_FILE_REMOVED)                             
 20291fc:	c2 0e 60 30 	ldub  [ %i1 + 0x30 ], %g1                      
 2029200:	80 88 60 01 	btst  1, %g1                                   
 2029204:	22 80 00 15 	be,a   2029258 <fat_file_close+0x80>           
 2029208:	d2 06 60 0c 	ld  [ %i1 + 0xc ], %o1                         
    {                                                                 
        rc = fat_file_truncate(fs_info, fat_fd, 0);                   
 202920c:	90 10 00 18 	mov  %i0, %o0                                  
 2029210:	92 10 00 19 	mov  %i1, %o1                                  
 2029214:	7f ff ff b0 	call  20290d4 <fat_file_truncate>              
 2029218:	94 10 20 00 	clr  %o2                                       
        if ( rc != RC_OK )                                            
 202921c:	80 a2 20 00 	cmp  %o0, 0                                    
 2029220:	12 bf ff f5 	bne  20291f4 <fat_file_close+0x1c>             <== NEVER TAKEN
 2029224:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 2029228:	40 00 17 be 	call  202f120 <_Chain_Extract>                 
 202922c:	90 10 00 19 	mov  %i1, %o0                                  
            return rc;                                                
                                                                      
        _hash_delete(fs_info->rhash, key, fat_fd->ino, fat_fd);       
                                                                      
        if ( fat_ino_is_unique(fs_info, fat_fd->ino) )                
 2029230:	d2 06 60 0c 	ld  [ %i1 + 0xc ], %o1                         
 2029234:	40 00 03 fb 	call  202a220 <fat_ino_is_unique>              
 2029238:	90 10 00 18 	mov  %i0, %o0                                  
 202923c:	80 8a 20 ff 	btst  0xff, %o0                                
 2029240:	32 80 00 11 	bne,a   2029284 <fat_file_close+0xac>          <== NEVER TAKEN
 2029244:	d2 06 60 0c 	ld  [ %i1 + 0xc ], %o1                         <== NOT EXECUTED
            fat_fd->links_num = 0;                                    
        }                                                             
        else                                                          
        {                                                             
            _hash_delete(fs_info->vhash, key, fat_fd->ino, fat_fd);   
            free(fat_fd);                                             
 2029248:	7f ff 80 31 	call  200930c <free>                           
 202924c:	90 10 00 19 	mov  %i1, %o0                                  
        }                                                             
    }                                                                 
    /*                                                                
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
 2029250:	40 00 02 69 	call  2029bf4 <fat_buf_release>                
 2029254:	81 e8 00 00 	restore                                        
                                                                      
        free(fat_fd);                                                 
    }                                                                 
    else                                                              
    {                                                                 
        if (fat_ino_is_unique(fs_info, fat_fd->ino))                  
 2029258:	40 00 03 f2 	call  202a220 <fat_ino_is_unique>              
 202925c:	90 10 00 18 	mov  %i0, %o0                                  
 2029260:	80 8a 20 ff 	btst  0xff, %o0                                
 2029264:	02 80 00 05 	be  2029278 <fat_file_close+0xa0>              <== ALWAYS TAKEN
 2029268:	01 00 00 00 	nop                                            
        {                                                             
            fat_fd->links_num = 0;                                    
 202926c:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
        }                                                             
    }                                                                 
    /*                                                                
     * flush any modified "cached" buffer back to disk                
     */                                                               
    rc = fat_buf_release(fs_info);                                    
 2029270:	40 00 02 61 	call  2029bf4 <fat_buf_release>                <== NOT EXECUTED
 2029274:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 2029278:	40 00 17 aa 	call  202f120 <_Chain_Extract>                 
 202927c:	90 10 00 19 	mov  %i1, %o0                                  
 2029280:	30 bf ff f2 	b,a   2029248 <fat_file_close+0x70>            
            return rc;                                                
                                                                      
        _hash_delete(fs_info->rhash, key, fat_fd->ino, fat_fd);       
                                                                      
        if ( fat_ino_is_unique(fs_info, fat_fd->ino) )                
            fat_free_unique_ino(fs_info, fat_fd->ino);                
 2029284:	40 00 03 dc 	call  202a1f4 <fat_free_unique_ino>            <== NOT EXECUTED
 2029288:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 202928c:	30 bf ff ef 	b,a   2029248 <fat_file_close+0x70>            <== NOT EXECUTED
                                                                      

02029364 <fat_file_extend>: fat_file_fd_t *fat_fd, bool zero_fill, uint32_t new_length, uint32_t *a_length ) {
 2029364:	9d e3 bf 90 	save  %sp, -112, %sp                           
    uint32_t       old_last_cl;                                       
    uint32_t       last_cl = 0;                                       
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
 2029368:	f6 27 00 00 	st  %i3, [ %i4 ]                               
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
 202936c:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
    uint32_t                              new_length,                 
    uint32_t                             *a_length                    
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       chain = 0;                                         
 2029370:	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;                                       
 2029374:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
    uint32_t       bytes_remain = 0;                                  
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
 2029378:	80 a6 c0 01 	cmp  %i3, %g1                                  
 202937c:	08 80 00 16 	bleu  20293d4 <fat_file_extend+0x70>           
 2029380:	ba 10 00 18 	mov  %i0, %i5                                  
        return RC_OK;                                                 
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2029384:	c4 06 60 20 	ld  [ %i1 + 0x20 ], %g2                        
 2029388:	80 a0 a0 01 	cmp  %g2, 1                                    
 202938c:	22 80 00 6e 	be,a   2029544 <fat_file_extend+0x1e0>         <== NEVER TAKEN
 2029390:	c4 06 60 24 	ld  [ %i1 + 0x24 ], %g2                        <== 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))) &
 2029394:	e0 17 60 06 	lduh  [ %i5 + 6 ], %l0                         
                   (fs_info->vol.bpc - 1);                            
                                                                      
    bytes2add = new_length - fat_fd->fat_file_size;                   
 2029398:	86 26 c0 01 	sub  %i3, %g1, %g3                             
    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 -                                
                   (fat_fd->fat_file_size & (fs_info->vol.bpc - 1))) &
 202939c:	84 04 3f ff 	add  %l0, -1, %g2                              
 20293a0:	a4 08 80 01 	and  %g2, %g1, %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 -                                
 20293a4:	a0 24 00 12 	sub  %l0, %l2, %l0                             
 20293a8:	a0 0c 00 02 	and  %l0, %g2, %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)                                     
 20293ac:	80 a4 00 03 	cmp  %l0, %g3                                  
 20293b0:	1a 80 00 03 	bcc  20293bc <fat_file_extend+0x58>            
 20293b4:	a2 10 20 00 	clr  %l1                                       
        bytes2add -= bytes_remain;                                    
 20293b8:	a2 20 c0 10 	sub  %g3, %l0, %l1                             
    else                                                              
        bytes2add = 0;                                                
                                                                      
    if (zero_fill && bytes_remain > 0) {                              
 20293bc:	80 a4 20 00 	cmp  %l0, 0                                    
 20293c0:	12 80 00 3c 	bne  20294b0 <fat_file_extend+0x14c>           
 20293c4:	80 a6 a0 00 	cmp  %i2, 0                                    
    /*                                                                
     * 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)                                               
 20293c8:	80 a4 60 00 	cmp  %l1, 0                                    
 20293cc:	32 80 00 04 	bne,a   20293dc <fat_file_extend+0x78>         
 20293d0:	c2 0f 60 08 	ldub  [ %i5 + 8 ], %g1                         
    uint32_t       cls_added;                                         
                                                                      
    *a_length = new_length;                                           
                                                                      
    if (new_length <= fat_fd->fat_file_size)                          
        return RC_OK;                                                 
 20293d4:	81 c7 e0 08 	ret                                            
 20293d8:	91 e8 20 00 	restore  %g0, 0, %o0                           
     * file ) - return                                                
     */                                                               
    if (bytes2add == 0)                                               
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
 20293dc:	a4 04 7f ff 	add  %l1, -1, %l2                              
                                                                      
    rc = fat_scan_fat_for_free_clusters(fs_info, &chain, cls2add,     
 20293e0:	90 10 00 1d 	mov  %i5, %o0                                  
     * file ) - return                                                
     */                                                               
    if (bytes2add == 0)                                               
        return RC_OK;                                                 
                                                                      
    cls2add = ((bytes2add - 1) >> fs_info->vol.bpc_log2) + 1;         
 20293e4:	a5 34 80 01 	srl  %l2, %g1, %l2                             
                                                                      
    rc = fat_scan_fat_for_free_clusters(fs_info, &chain, cls2add,     
 20293e8:	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;         
 20293ec:	a4 04 a0 01 	inc  %l2                                       
                                                                      
    rc = fat_scan_fat_for_free_clusters(fs_info, &chain, cls2add,     
 20293f0:	96 07 bf fc 	add  %fp, -4, %o3                              
 20293f4:	94 10 00 12 	mov  %l2, %o2                                  
 20293f8:	98 07 bf f8 	add  %fp, -8, %o4                              
 20293fc:	40 00 6b fa 	call  20443e4 <fat_scan_fat_for_free_clusters> 
 2029400:	9a 10 00 1a 	mov  %i2, %o5                                  
                                        &cls_added, &last_cl, zero_fill);
                                                                      
    /* this means that low level I/O error occured */                 
    if (rc != RC_OK)                                                  
 2029404:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2029408:	12 80 00 28 	bne  20294a8 <fat_file_extend+0x144>           <== NEVER TAKEN
 202940c:	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))                      
 2029410:	80 94 00 01 	orcc  %l0, %g1, %g0                            
 2029414:	02 80 00 53 	be  2029560 <fat_file_extend+0x1fc>            <== NEVER TAKEN
 2029418:	80 a4 80 01 	cmp  %l2, %g1                                  
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
 202941c:	02 80 00 09 	be  2029440 <fat_file_extend+0xdc>             <== ALWAYS TAKEN
 2029420:	a4 24 80 01 	sub  %l2, %g1, %l2                             
    {                                                                 
        new_length -= bytes2add & (fs_info->vol.bpc - 1);             
 2029424:	c6 17 60 06 	lduh  [ %i5 + 6 ], %g3                         <== NOT EXECUTED
        new_length -= (cls2add - cls_added) << fs_info->vol.bpc_log2; 
 2029428:	c4 0f 60 08 	ldub  [ %i5 + 8 ], %g2                         <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
    {                                                                 
        new_length -= bytes2add & (fs_info->vol.bpc - 1);             
 202942c:	86 00 ff ff 	add  %g3, -1, %g3                              <== NOT EXECUTED
 2029430:	a2 0c 40 03 	and  %l1, %g3, %l1                             <== NOT EXECUTED
        new_length -= (cls2add - cls_added) << fs_info->vol.bpc_log2; 
 2029434:	a5 2c 80 02 	sll  %l2, %g2, %l2                             <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
                                                                      
    /*  check wether we satisfied request for 'cls2add' clusters */   
    if (cls2add != cls_added)                                         
    {                                                                 
        new_length -= bytes2add & (fs_info->vol.bpc - 1);             
 2029438:	b6 26 c0 11 	sub  %i3, %l1, %i3                             <== NOT EXECUTED
        new_length -= (cls2add - cls_added) << fs_info->vol.bpc_log2; 
 202943c:	b6 26 c0 12 	sub  %i3, %l2, %i3                             <== NOT EXECUTED
    }                                                                 
                                                                      
    /* add new chain to the end of existed */                         
    if ( fat_fd->fat_file_size == 0 )                                 
 2029440:	d6 06 60 18 	ld  [ %i1 + 0x18 ], %o3                        
 2029444:	80 a2 e0 00 	cmp  %o3, 0                                    
 2029448:	32 80 00 50 	bne,a   2029588 <fat_file_extend+0x224>        
 202944c:	d2 06 60 3c 	ld  [ %i1 + 0x3c ], %o1                        
    {                                                                 
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
 2029450:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         
        fat_fd->map.file_cln = 0;                                     
 2029454:	c0 26 60 34 	clr  [ %i1 + 0x34 ]                            
    }                                                                 
                                                                      
    /* add new chain to the end of existed */                         
    if ( fat_fd->fat_file_size == 0 )                                 
    {                                                                 
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
 2029458:	c4 26 60 1c 	st  %g2, [ %i1 + 0x1c ]                        
 202945c:	c4 26 60 38 	st  %g2, [ %i1 + 0x38 ]                        
        }                                                             
        fat_buf_release(fs_info);                                     
    }                                                                 
                                                                      
    /* update number of the last cluster of the file if it changed */ 
    if (cls_added != 0)                                               
 2029460:	80 a0 60 00 	cmp  %g1, 0                                    
 2029464:	22 80 00 46 	be,a   202957c <fat_file_extend+0x218>         <== NEVER TAKEN
 2029468:	f6 27 00 00 	st  %i3, [ %i4 ]                               <== NOT EXECUTED
    {                                                                 
        fat_fd->map.last_cln = last_cl;                               
 202946c:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
 2029470:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 2029474:	80 a0 60 00 	cmp  %g1, 0                                    
 2029478:	12 80 00 40 	bne  2029578 <fat_file_extend+0x214>           
 202947c:	c4 26 60 3c 	st  %g2, [ %i1 + 0x3c ]                        
        {                                                             
            rc = fat_init_clusters_chain(fs_info, chain);             
 2029480:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         
 2029484:	40 00 02 f0 	call  202a044 <fat_init_clusters_chain>        
 2029488:	90 10 00 1d 	mov  %i5, %o0                                  
            if ( rc != RC_OK )                                        
 202948c:	82 92 20 00 	orcc  %o0, 0, %g1                              
 2029490:	22 80 00 3b 	be,a   202957c <fat_file_extend+0x218>         <== ALWAYS TAKEN
 2029494:	f6 27 00 00 	st  %i3, [ %i4 ]                               
            {                                                         
                fat_free_fat_clusters_chain(fs_info, chain);          
 2029498:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         <== NOT EXECUTED
 202949c:	b0 10 00 01 	mov  %g1, %i0                                  <== NOT EXECUTED
 20294a0:	40 00 6b 99 	call  2044304 <fat_free_fat_clusters_chain>    <== NOT EXECUTED
 20294a4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20294a8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20294ac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    if (bytes2add > bytes_remain)                                     
        bytes2add -= bytes_remain;                                    
    else                                                              
        bytes2add = 0;                                                
                                                                      
    if (zero_fill && bytes_remain > 0) {                              
 20294b0:	02 bf ff c7 	be  20293cc <fat_file_extend+0x68>             
 20294b4:	80 a4 60 00 	cmp  %l1, 0                                    
        uint32_t start = fat_fd->fat_file_size;                       
        uint32_t cl_start = start >> fs_info->vol.bpc_log2;           
 20294b8:	d4 0f 60 08 	ldub  [ %i5 + 8 ], %o2                         
        uint32_t ofs = start & (fs_info->vol.bpc - 1);                
        uint32_t cur_cln;                                             
        uint32_t sec;                                                 
        uint32_t byte;                                                
                                                                      
        rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);     
 20294bc:	90 10 00 1d 	mov  %i5, %o0                                  
 20294c0:	92 10 00 19 	mov  %i1, %o1                                  
 20294c4:	95 30 40 0a 	srl  %g1, %o2, %o2                             
 20294c8:	7f ff fd 9b 	call  2028b34 <fat_file_lseek>                 
 20294cc:	96 07 bf fc 	add  %fp, -4, %o3                              
        if (rc != RC_OK)                                              
 20294d0:	b0 92 60 00 	orcc  %o1, 0, %i0                              
 20294d4:	12 bf ff f5 	bne  20294a8 <fat_file_extend+0x144>           <== NEVER TAKEN
 20294d8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 20294dc:	80 a0 60 00 	cmp  %g1, 0                                    
 20294e0:	32 80 00 07 	bne,a   20294fc <fat_file_extend+0x198>        <== ALWAYS TAKEN
 20294e4:	c6 0f 60 05 	ldub  [ %i5 + 5 ], %g3                         
 20294e8:	c4 0f 60 0a 	ldub  [ %i5 + 0xa ], %g2                       <== NOT EXECUTED
 20294ec:	80 88 a0 03 	btst  3, %g2                                   <== NOT EXECUTED
 20294f0:	32 80 00 07 	bne,a   202950c <fat_file_extend+0x1a8>        <== NOT EXECUTED
 20294f4:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 20294f8:	c6 0f 60 05 	ldub  [ %i5 + 5 ], %g3                         <== NOT EXECUTED
 20294fc:	c4 07 60 30 	ld  [ %i5 + 0x30 ], %g2                        
 2029500:	92 00 7f fe 	add  %g1, -2, %o1                              
 2029504:	93 2a 40 03 	sll  %o1, %g3, %o1                             
 2029508:	92 02 40 02 	add  %o1, %g2, %o1                             
            return rc;                                                
                                                                      
        sec = fat_cluster_num_to_sector_num(fs_info, cur_cln);        
        sec += ofs >> fs_info->vol.sec_log2;                          
 202950c:	c4 0f 60 02 	ldub  [ %i5 + 2 ], %g2                         
        byte = ofs & (fs_info->vol.bps - 1);                          
 2029510:	d4 17 40 00 	lduh  [ %i5 ], %o2                             
        rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);     
        if (rc != RC_OK)                                              
            return rc;                                                
                                                                      
        sec = fat_cluster_num_to_sector_num(fs_info, cur_cln);        
        sec += ofs >> fs_info->vol.sec_log2;                          
 2029514:	85 34 80 02 	srl  %l2, %g2, %g2                             
        byte = ofs & (fs_info->vol.bps - 1);                          
 2029518:	94 02 bf ff 	add  %o2, -1, %o2                              
                                                                      
        rc = _fat_block_zero(fs_info, sec, byte, bytes_remain);       
 202951c:	90 10 00 1d 	mov  %i5, %o0                                  
 2029520:	92 02 40 02 	add  %o1, %g2, %o1                             
 2029524:	94 0c 80 0a 	and  %l2, %o2, %o2                             
 2029528:	40 00 02 62 	call  2029eb0 <_fat_block_zero>                
 202952c:	96 10 00 10 	mov  %l0, %o3                                  
        if (rc != RC_OK)                                              
 2029530:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2029534:	02 bf ff a6 	be  20293cc <fat_file_extend+0x68>             <== ALWAYS TAKEN
 2029538:	80 a4 60 00 	cmp  %l1, 0                                    
                                                                      
    *a_length = new_length;                                           
    fat_fd->fat_file_size = new_length;                               
                                                                      
    return RC_OK;                                                     
}                                                                     
 202953c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029540:	81 e8 00 00 	restore                                        <== 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)) &&                               
 2029544:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2029548:	32 bf ff 94 	bne,a   2029398 <fat_file_extend+0x34>         <== NOT EXECUTED
 202954c:	e0 17 60 06 	lduh  [ %i5 + 6 ], %l0                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
 2029550:	c4 0e 20 0a 	ldub  [ %i0 + 0xa ], %g2                       <== 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)) &&                               
 2029554:	80 88 a0 03 	btst  3, %g2                                   <== NOT EXECUTED
 2029558:	22 bf ff 90 	be,a   2029398 <fat_file_extend+0x34>          <== NOT EXECUTED
 202955c:	e0 17 60 06 	lduh  [ %i5 + 6 ], %l0                         <== NOT EXECUTED
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    /* this means that no space left on device */                     
    if ((cls_added == 0) && (bytes_remain == 0))                      
        rtems_set_errno_and_return_minus_one(ENOSPC);                 
 2029560:	40 00 7c ea 	call  2048908 <__errno>                        <== NOT EXECUTED
 2029564:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2029568:	82 10 20 1c 	mov  0x1c, %g1                                 <== NOT EXECUTED
 202956c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2029570:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029574:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                return rc;                                            
            }                                                         
        }                                                             
    }                                                                 
                                                                      
    *a_length = new_length;                                           
 2029578:	f6 27 00 00 	st  %i3, [ %i4 ]                               
    fat_fd->fat_file_size = new_length;                               
 202957c:	f6 26 60 18 	st  %i3, [ %i1 + 0x18 ]                        
                                                                      
    return RC_OK;                                                     
}                                                                     
 2029580:	81 c7 e0 08 	ret                                            
 2029584:	81 e8 00 00 	restore                                        
        fat_fd->map.disk_cln = fat_fd->cln = chain;                   
        fat_fd->map.file_cln = 0;                                     
    }                                                                 
    else                                                              
    {                                                                 
        if (fat_fd->map.last_cln != FAT_UNDEFINED_VALUE)              
 2029588:	80 a2 7f ff 	cmp  %o1, -1                                   
 202958c:	22 80 00 0d 	be,a   20295c0 <fat_file_extend+0x25c>         <== NEVER TAKEN
 2029590:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
        {                                                             
            old_last_cl = fat_fd->map.last_cln;                       
 2029594:	d2 27 bf f4 	st  %o1, [ %fp + -12 ]                         
                fat_free_fat_clusters_chain(fs_info, chain);          
                return rc;                                            
            }                                                         
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, old_last_cl, chain);        
 2029598:	d4 07 bf f0 	ld  [ %fp + -16 ], %o2                         
 202959c:	40 00 6a 9a 	call  2044004 <fat_set_fat_cluster>            
 20295a0:	90 10 00 1d 	mov  %i5, %o0                                  
        if ( rc != RC_OK )                                            
 20295a4:	82 92 20 00 	orcc  %o0, 0, %g1                              
 20295a8:	12 bf ff bd 	bne  202949c <fat_file_extend+0x138>           <== NEVER TAKEN
 20295ac:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         
        {                                                             
            fat_free_fat_clusters_chain(fs_info, chain);              
            return rc;                                                
        }                                                             
        fat_buf_release(fs_info);                                     
 20295b0:	40 00 01 91 	call  2029bf4 <fat_buf_release>                
 20295b4:	90 10 00 1d 	mov  %i5, %o0                                  
 20295b8:	10 bf ff aa 	b  2029460 <fat_file_extend+0xfc>              
 20295bc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
        {                                                             
            old_last_cl = fat_fd->map.last_cln;                       
        }                                                             
        else                                                          
        {                                                             
            rc = fat_file_ioctl(fs_info, fat_fd, F_CLU_NUM,           
 20295c0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20295c4:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 20295c8:	96 02 ff ff 	add  %o3, -1, %o3                              <== NOT EXECUTED
 20295cc:	7f ff ff 31 	call  2029290 <fat_file_ioctl>                 <== NOT EXECUTED
 20295d0:	98 07 bf f4 	add  %fp, -12, %o4                             <== NOT EXECUTED
 20295d4:	d2 07 bf f4 	ld  [ %fp + -12 ], %o1                         <== NOT EXECUTED
                                (fat_fd->fat_file_size - 1), &old_last_cl);
            if ( rc != RC_OK )                                        
 20295d8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20295dc:	02 bf ff ef 	be  2029598 <fat_file_extend+0x234>            <== NOT EXECUTED
 20295e0:	82 10 00 08 	mov  %o0, %g1                                  <== NOT EXECUTED
        if (fat_fd->fat_file_type == FAT_DIRECTORY)                   
        {                                                             
            rc = fat_init_clusters_chain(fs_info, chain);             
            if ( rc != RC_OK )                                        
            {                                                         
                fat_free_fat_clusters_chain(fs_info, chain);          
 20295e4:	10 bf ff ae 	b  202949c <fat_file_extend+0x138>             <== NOT EXECUTED
 20295e8:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         <== NOT EXECUTED
                                                                      

02029290 <fat_file_ioctl>: fat_file_ioctl( fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd, int cmd, ...) {
 2029290:	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);                                                
 2029294:	82 07 a0 50 	add  %fp, 0x50, %g1                            
 2029298:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 202929c:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 20292a0:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
    fat_file_fd_t                        *fat_fd,                     
    int                                   cmd,                        
    ...)                                                              
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = 0;                                       
 20292a4:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
    uint32_t      *ret;                                               
    va_list        ap;                                                
                                                                      
    va_start(ap, cmd);                                                
                                                                      
    switch (cmd)                                                      
 20292a8:	80 a6 a0 01 	cmp  %i2, 1                                    
 20292ac:	02 80 00 08 	be  20292cc <fat_file_ioctl+0x3c>              <== ALWAYS TAKEN
 20292b0:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
                                                                      
            *ret = cur_cln;                                           
            break;                                                    
                                                                      
        default:                                                      
            errno = EINVAL;                                           
 20292b4:	40 00 7d 95 	call  2048908 <__errno>                        <== NOT EXECUTED
 20292b8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20292bc:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 20292c0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
            rc = -1;                                                  
            break;                                                    
    }                                                                 
    va_end(ap);                                                       
    return rc;                                                        
}                                                                     
 20292c4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20292c8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
            ret = va_arg(ap, uint32_t *);                             
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
 20292cc:	c4 06 60 18 	ld  [ %i1 + 0x18 ], %g2                        
                                                                      
    switch (cmd)                                                      
    {                                                                 
        case F_CLU_NUM:                                               
            pos = va_arg(ap, uint32_t);                               
            ret = va_arg(ap, uint32_t *);                             
 20292d0:	86 07 a0 58 	add  %fp, 0x58, %g3                            
 20292d4:	c6 27 bf fc 	st  %g3, [ %fp + -4 ]                          
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
 20292d8:	80 a6 c0 02 	cmp  %i3, %g2                                  
 20292dc:	1a 80 00 1c 	bcc  202934c <fat_file_ioctl+0xbc>             <== NEVER TAKEN
 20292e0:	ba 10 00 1c 	mov  %i4, %i5                                  
                va_end(ap);                                           
                rtems_set_errno_and_return_minus_one( EIO );          
            }                                                         
                                                                      
            if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                       
 20292e4:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 20292e8:	80 a0 60 01 	cmp  %g1, 1                                    
 20292ec:	22 80 00 0e 	be,a   2029324 <fat_file_ioctl+0x94>           
 20292f0:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
                *ret  = 0;                                            
                rc = RC_OK;                                           
                break;                                                
            }                                                         
                                                                      
            cl_start = pos >> fs_info->vol.bpc_log2;                  
 20292f4:	d4 0e 20 08 	ldub  [ %i0 + 8 ], %o2                         
                                                                      
            rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln); 
 20292f8:	90 10 00 18 	mov  %i0, %o0                                  
 20292fc:	92 10 00 19 	mov  %i1, %o1                                  
 2029300:	95 36 c0 0a 	srl  %i3, %o2, %o2                             
 2029304:	7f ff fe 0c 	call  2028b34 <fat_file_lseek>                 
 2029308:	96 07 bf f8 	add  %fp, -8, %o3                              
            if ( rc != RC_OK )                                        
 202930c:	b0 92 60 00 	orcc  %o1, 0, %i0                              
 2029310:	12 bf ff ed 	bne  20292c4 <fat_file_ioctl+0x34>             <== NEVER TAKEN
 2029314:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                break;                                                
                                                                      
            *ret = cur_cln;                                           
 2029318:	c2 27 40 00 	st  %g1, [ %i5 ]                               
            break;                                                    
 202931c:	81 c7 e0 08 	ret                                            
 2029320:	81 e8 00 00 	restore                                        
            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)) &&                       
 2029324:	80 a0 60 00 	cmp  %g1, 0                                    
 2029328:	32 bf ff f4 	bne,a   20292f8 <fat_file_ioctl+0x68>          <== NEVER TAKEN
 202932c:	d4 0e 20 08 	ldub  [ %i0 + 8 ], %o2                         <== NOT EXECUTED
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
 2029330:	c2 0e 20 0a 	ldub  [ %i0 + 0xa ], %g1                       
            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)) &&                       
 2029334:	80 88 60 03 	btst  3, %g1                                   
 2029338:	22 bf ff f0 	be,a   20292f8 <fat_file_ioctl+0x68>           <== NEVER TAKEN
 202933c:	d4 0e 20 08 	ldub  [ %i0 + 8 ], %o2                         <== NOT EXECUTED
                (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))        
            {                                                         
                /* cluster 0 (zero) reserved for root dir */          
                *ret  = 0;                                            
 2029340:	c0 27 00 00 	clr  [ %i4 ]                                   
                rc = RC_OK;                                           
                break;                                                
 2029344:	81 c7 e0 08 	ret                                            
 2029348:	91 e8 20 00 	restore  %g0, 0, %o0                           
            ret = va_arg(ap, uint32_t *);                             
                                                                      
            /* sanity check */                                        
            if ( pos >= fat_fd->fat_file_size ) {                     
                va_end(ap);                                           
                rtems_set_errno_and_return_minus_one( EIO );          
 202934c:	40 00 7d 6f 	call  2048908 <__errno>                        <== NOT EXECUTED
 2029350:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2029354:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2029358:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202935c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029360:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02028b34 <fat_file_lseek>: fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd, uint32_t file_cln, uint32_t *disk_cln ) {
 2028b34:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
 2028b38:	f8 06 60 34 	ld  [ %i1 + 0x34 ], %i4                        
 2028b3c:	80 a7 00 1a 	cmp  %i4, %i2                                  
 2028b40:	22 80 00 26 	be,a   2028bd8 <fat_file_lseek+0xa4>           
 2028b44:	c2 06 60 38 	ld  [ %i1 + 0x38 ], %g1                        
    {                                                                 
        uint32_t   cur_cln;                                           
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
 2028b48:	2a 80 00 19 	bcs,a   2028bac <fat_file_lseek+0x78>          
 2028b4c:	c2 06 60 38 	ld  [ %i1 + 0x38 ], %g1                        
            cur_cln = fat_fd->map.disk_cln;                           
            count = file_cln - fat_fd->map.file_cln;                  
        }                                                             
        else                                                          
        {                                                             
            cur_cln = fat_fd->cln;                                    
 2028b50:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
 2028b54:	b8 10 00 1a 	mov  %i2, %i4                                  
 2028b58:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
 2028b5c:	80 a7 20 00 	cmp  %i4, 0                                    
 2028b60:	12 80 00 07 	bne  2028b7c <fat_file_lseek+0x48>             
 2028b64:	ba 10 20 00 	clr  %i5                                       
                return rc;                                            
        }                                                             
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
 2028b68:	10 80 00 14 	b  2028bb8 <fat_file_lseek+0x84>               
 2028b6c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            cur_cln = fat_fd->cln;                                    
            count = file_cln;                                         
        }                                                             
                                                                      
        /* skip over the clusters */                                  
        for (i = 0; i < count; i++)                                   
 2028b70:	80 a7 40 1c 	cmp  %i5, %i4                                  
 2028b74:	02 80 00 11 	be  2028bb8 <fat_file_lseek+0x84>              
 2028b78:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
        {                                                             
            rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);     
 2028b7c:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
 2028b80:	90 10 00 18 	mov  %i0, %o0                                  
 2028b84:	40 00 6c 97 	call  2043de0 <fat_get_fat_cluster>            
 2028b88:	94 07 bf fc 	add  %fp, -4, %o2                              
            if ( rc != RC_OK )                                        
 2028b8c:	80 a2 20 00 	cmp  %o0, 0                                    
 2028b90:	22 bf ff f8 	be,a   2028b70 <fat_file_lseek+0x3c>           <== ALWAYS TAKEN
 2028b94:	ba 07 60 01 	inc  %i5                                       
                return rc;                                            
 2028b98:	86 10 00 08 	mov  %o0, %g3                                  <== NOT EXECUTED
 2028b9c:	85 3a 20 1f 	sra  %o0, 0x1f, %g2                            <== NOT EXECUTED
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
 2028ba0:	b2 10 00 03 	mov  %g3, %i1                                  <== NOT EXECUTED
 2028ba4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2028ba8:	91 e8 00 02 	restore  %g0, %g2, %o0                         <== NOT EXECUTED
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
        {                                                             
            cur_cln = fat_fd->map.disk_cln;                           
            count = file_cln - fat_fd->map.file_cln;                  
 2028bac:	b8 26 80 1c 	sub  %i2, %i4, %i4                             
        uint32_t   count;                                             
        uint32_t   i;                                                 
                                                                      
        if (file_cln > fat_fd->map.file_cln)                          
        {                                                             
            cur_cln = fat_fd->map.disk_cln;                           
 2028bb0:	10 bf ff eb 	b  2028b5c <fat_file_lseek+0x28>               
 2028bb4:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
            if ( rc != RC_OK )                                        
                return rc;                                            
        }                                                             
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
 2028bb8:	f4 26 60 34 	st  %i2, [ %i1 + 0x34 ]                        
        fat_fd->map.disk_cln = cur_cln;                               
 2028bbc:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
 2028bc0:	84 10 20 00 	clr  %g2                                       
 2028bc4:	86 10 20 00 	clr  %g3                                       
                                                                      
        /* update cache */                                            
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
 2028bc8:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    }                                                                 
    return RC_OK;                                                     
}                                                                     
 2028bcc:	b0 10 00 02 	mov  %g2, %i0                                  
 2028bd0:	81 c7 e0 08 	ret                                            
 2028bd4:	93 e8 00 03 	restore  %g0, %g3, %o1                         
        fat_fd->map.file_cln = file_cln;                              
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
 2028bd8:	84 10 20 00 	clr  %g2                                       
 2028bdc:	86 10 20 00 	clr  %g3                                       
    )                                                                 
{                                                                     
    int rc = RC_OK;                                                   
                                                                      
    if (file_cln == fat_fd->map.file_cln)                             
        *disk_cln = fat_fd->map.disk_cln;                             
 2028be0:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
        fat_fd->map.disk_cln = cur_cln;                               
                                                                      
        *disk_cln = cur_cln;                                          
    }                                                                 
    return RC_OK;                                                     
}                                                                     
 2028be4:	b0 10 00 02 	mov  %g2, %i0                                  
 2028be8:	81 c7 e0 08 	ret                                            
 2028bec:	93 e8 00 03 	restore  %g0, %g3, %o1                         
                                                                      

02029860 <fat_file_mark_removed>: void fat_file_mark_removed( fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd ) {
 2029860:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2029864:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
fat_cluster_num_to_sector512_num(                                     
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
 2029868:	80 a0 60 01 	cmp  %g1, 1                                    
 202986c:	02 80 00 26 	be  2029904 <fat_file_mark_removed+0xa4>       <== NEVER TAKEN
 2029870:	80 a0 60 00 	cmp  %g1, 0                                    
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2029874:	32 80 00 1f 	bne,a   20298f0 <fat_file_mark_removed+0x90>   <== NEVER TAKEN
 2029878:	c6 0e 20 05 	ldub  [ %i0 + 5 ], %g3                         <== NOT EXECUTED
 202987c:	c4 0e 20 0a 	ldub  [ %i0 + 0xa ], %g2                       
 2029880:	80 88 a0 03 	btst  3, %g2                                   
 2029884:	22 80 00 1b 	be,a   20298f0 <fat_file_mark_removed+0x90>    <== NEVER TAKEN
 2029888:	c6 0e 20 05 	ldub  [ %i0 + 5 ], %g3                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 202988c:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(fs_info, cln) <<            
 2029890:	c4 0e 20 03 	ldub  [ %i0 + 3 ], %g2                         
 2029894:	bb 2f 40 02 	sll  %i5, %g2, %i5                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 2029898:	c4 06 60 24 	ld  [ %i1 + 0x24 ], %g2                        
 202989c:	90 10 00 19 	mov  %i1, %o0                                  
 20298a0:	87 30 a0 09 	srl  %g2, 9, %g3                               
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
 20298a4:	85 30 a0 05 	srl  %g2, 5, %g2                               
 20298a8:	84 08 a0 0f 	and  %g2, 0xf, %g2                             
static inline uint32_t                                                
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
 20298ac:	ba 07 40 03 	add  %i5, %g3, %i5                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 20298b0:	bb 2f 60 04 	sll  %i5, 4, %i5                               
 20298b4:	40 00 16 1b 	call  202f120 <_Chain_Extract>                 
 20298b8:	ba 07 40 02 	add  %i5, %g2, %i5                             
 */                                                                   
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);
 20298bc:	d0 06 20 64 	ld  [ %i0 + 0x64 ], %o0                        
 20298c0:	82 0f 60 01 	and  %i5, 1, %g1                               
 20298c4:	85 28 60 02 	sll  %g1, 2, %g2                               
 20298c8:	83 28 60 04 	sll  %g1, 4, %g1                               
 20298cc:	82 20 40 02 	sub  %g1, %g2, %g1                             
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 20298d0:	92 10 00 19 	mov  %i1, %o1                                  
 20298d4:	7f ff 95 32 	call  200ed9c <_Chain_Append>                  
 20298d8:	90 02 00 01 	add  %o0, %g1, %o0                             
                                                                      
    _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;                                
 20298dc:	c2 0e 60 30 	ldub  [ %i1 + 0x30 ], %g1                      
 20298e0:	82 10 60 01 	or  %g1, 1, %g1                                
 20298e4:	c2 2e 60 30 	stb  %g1, [ %i1 + 0x30 ]                       
 20298e8:	81 c7 e0 08 	ret                                            
 20298ec:	81 e8 00 00 	restore                                        
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 20298f0:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        <== NOT EXECUTED
 20298f4:	ba 00 7f fe 	add  %g1, -2, %i5                              <== NOT EXECUTED
 20298f8:	bb 2f 40 03 	sll  %i5, %g3, %i5                             <== NOT EXECUTED
 20298fc:	10 bf ff e5 	b  2029890 <fat_file_mark_removed+0x30>        <== NOT EXECUTED
 2029900:	ba 07 40 02 	add  %i5, %g2, %i5                             <== NOT EXECUTED
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
 2029904:	10 bf ff e5 	b  2029898 <fat_file_mark_removed+0x38>        <== NOT EXECUTED
 2029908:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
                                                                      

02028bf0 <fat_file_open>: fat_file_open( fat_fs_info_t *fs_info, fat_dir_pos_t *dir_pos, fat_file_fd_t **fat_fd ) {
 2028bf0:	9d e3 bf a0 	save  %sp, -96, %sp                            
static inline uint32_t                                                
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
 2028bf4:	c2 06 40 00 	ld  [ %i1 ], %g1                               
fat_cluster_num_to_sector512_num(                                     
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
 2028bf8:	80 a0 60 01 	cmp  %g1, 1                                    
 2028bfc:	02 80 00 9c 	be  2028e6c <fat_file_open+0x27c>              
 2028c00:	80 a0 60 00 	cmp  %g1, 0                                    
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2028c04:	32 80 00 7b 	bne,a   2028df0 <fat_file_open+0x200>          
 2028c08:	c6 0e 20 05 	ldub  [ %i0 + 5 ], %g3                         
 2028c0c:	c4 0e 20 0a 	ldub  [ %i0 + 0xa ], %g2                       
 2028c10:	80 88 a0 03 	btst  3, %g2                                   
 2028c14:	22 80 00 77 	be,a   2028df0 <fat_file_open+0x200>           <== NEVER TAKEN
 2028c18:	c6 0e 20 05 	ldub  [ %i0 + 5 ], %g3                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 2028c1c:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(fs_info, cln) <<            
 2028c20:	c4 0e 20 03 	ldub  [ %i0 + 3 ], %g2                         
 2028c24:	bb 2f 40 02 	sll  %i5, %g2, %i5                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 2028c28:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
    uint32_t                               key2,                      
    fat_file_fd_t                          **ret                      
    )                                                                 
{                                                                     
    uint32_t          mod = (key1) % FAT_HASH_MODULE;                 
    rtems_chain_node *the_node = rtems_chain_first(hash + mod);       
 2028c2c:	de 06 20 60 	ld  [ %i0 + 0x60 ], %o7                        
 2028c30:	85 30 60 09 	srl  %g1, 9, %g2                               
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
 2028c34:	83 30 60 05 	srl  %g1, 5, %g1                               
 2028c38:	82 08 60 0f 	and  %g1, 0xf, %g1                             
static inline uint32_t                                                
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
 2028c3c:	ba 07 40 02 	add  %i5, %g2, %i5                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 2028c40:	bb 2f 60 04 	sll  %i5, 4, %i5                               
static inline uint32_t                                                
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
 2028c44:	ba 07 40 01 	add  %i5, %g1, %i5                             
    uint32_t                               key1,                      
    uint32_t                               key2,                      
    fat_file_fd_t                          **ret                      
    )                                                                 
{                                                                     
    uint32_t          mod = (key1) % FAT_HASH_MODULE;                 
 2028c48:	82 0f 60 01 	and  %i5, 1, %g1                               
    rtems_chain_node *the_node = rtems_chain_first(hash + mod);       
 2028c4c:	85 28 60 02 	sll  %g1, 2, %g2                               
 2028c50:	b7 28 60 04 	sll  %g1, 4, %i3                               
 2028c54:	b6 26 c0 02 	sub  %i3, %g2, %i3                             
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2028c58:	c2 03 c0 1b 	ld  [ %o7 + %i3 ], %g1                         
 2028c5c:	9e 03 c0 1b 	add  %o7, %i3, %o7                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  const Chain_Control *the_chain,                                     
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Immutable_tail( the_chain ));            
 2028c60:	9e 03 e0 04 	add  %o7, 4, %o7                               
                                                                      
    for ( ; !rtems_chain_is_tail((hash) + mod, the_node) ; )          
 2028c64:	80 a0 40 0f 	cmp  %g1, %o7                                  
 2028c68:	22 80 00 1e 	be,a   2028ce0 <fat_file_open+0xf0>            
 2028c6c:	c4 06 20 64 	ld  [ %i0 + 0x64 ], %g2                        
 2028c70:	c4 00 60 20 	ld  [ %g1 + 0x20 ], %g2                        
fat_cluster_num_to_sector512_num(                                     
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
 2028c74:	80 a0 a0 01 	cmp  %g2, 1                                    
 2028c78:	02 80 00 6d 	be  2028e2c <fat_file_open+0x23c>              
 2028c7c:	80 a0 a0 00 	cmp  %g2, 0                                    
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2028c80:	32 80 00 61 	bne,a   2028e04 <fat_file_open+0x214>          
 2028c84:	c8 0e 20 05 	ldub  [ %i0 + 5 ], %g4                         
 2028c88:	c6 0e 20 0a 	ldub  [ %i0 + 0xa ], %g3                       
 2028c8c:	80 88 e0 03 	btst  3, %g3                                   
 2028c90:	22 80 00 5d 	be,a   2028e04 <fat_file_open+0x214>           <== NEVER TAKEN
 2028c94:	c8 0e 20 05 	ldub  [ %i0 + 5 ], %g4                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 2028c98:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(fs_info, cln) <<            
 2028c9c:	c6 0e 20 03 	ldub  [ %i0 + 3 ], %g3                         
 2028ca0:	b9 2f 00 03 	sll  %i4, %g3, %i4                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 2028ca4:	c6 00 60 24 	ld  [ %g1 + 0x24 ], %g3                        
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
 2028ca8:	85 30 e0 05 	srl  %g3, 5, %g2                               
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 2028cac:	89 30 e0 09 	srl  %g3, 9, %g4                               
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
 2028cb0:	84 08 a0 0f 	and  %g2, 0xf, %g2                             
static inline uint32_t                                                
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
 2028cb4:	86 07 00 04 	add  %i4, %g4, %g3                             
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 2028cb8:	87 28 e0 04 	sll  %g3, 4, %g3                               
static inline uint32_t                                                
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
 2028cbc:	86 00 c0 02 	add  %g3, %g2, %g3                             
    {                                                                 
        fat_file_fd_t *ffd = (fat_file_fd_t *)the_node;               
        uint32_t       ck =  fat_construct_key(fs_info, &ffd->dir_pos.sname);
                                                                      
        if ( (key1) == ck)                                            
 2028cc0:	80 a7 40 03 	cmp  %i5, %g3                                  
 2028cc4:	22 80 00 55 	be,a   2028e18 <fat_file_open+0x228>           
 2028cc8:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
            {                                                         
                *ret = (void *)the_node;                              
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
 2028ccc:	c2 00 40 00 	ld  [ %g1 ], %g1                               
    )                                                                 
{                                                                     
    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) ; )          
 2028cd0:	80 a3 c0 01 	cmp  %o7, %g1                                  
 2028cd4:	32 bf ff e8 	bne,a   2028c74 <fat_file_open+0x84>           
 2028cd8:	c4 00 60 20 	ld  [ %g1 + 0x20 ], %g2                        
    uint32_t                               key2,                      
    fat_file_fd_t                          **ret                      
    )                                                                 
{                                                                     
    uint32_t          mod = (key1) % FAT_HASH_MODULE;                 
    rtems_chain_node *the_node = rtems_chain_first(hash + mod);       
 2028cdc:	c4 06 20 64 	ld  [ %i0 + 0x64 ], %g2                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2028ce0:	c2 00 80 1b 	ld  [ %g2 + %i3 ], %g1                         
 2028ce4:	84 00 80 1b 	add  %g2, %i3, %g2                             
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  const Chain_Control *the_chain,                                     
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Immutable_tail( the_chain ));            
 2028ce8:	9e 00 a0 04 	add  %g2, 4, %o7                               
                                                                      
    for ( ; !rtems_chain_is_tail((hash) + mod, the_node) ; )          
 2028cec:	80 a0 40 0f 	cmp  %g1, %o7                                  
 2028cf0:	02 80 00 1e 	be  2028d68 <fat_file_open+0x178>              <== ALWAYS TAKEN
 2028cf4:	a0 10 3f ff 	mov  -1, %l0                                   
 2028cf8:	c4 00 60 20 	ld  [ %g1 + 0x20 ], %g2                        <== NOT EXECUTED
fat_cluster_num_to_sector512_num(                                     
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
 2028cfc:	80 a0 a0 01 	cmp  %g2, 1                                    <== NOT EXECUTED
 2028d00:	02 80 00 59 	be  2028e64 <fat_file_open+0x274>              <== NOT EXECUTED
 2028d04:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2028d08:	32 80 00 4b 	bne,a   2028e34 <fat_file_open+0x244>          <== NOT EXECUTED
 2028d0c:	c6 0e 20 05 	ldub  [ %i0 + 5 ], %g3                         <== NOT EXECUTED
 2028d10:	c6 0e 20 0a 	ldub  [ %i0 + 0xa ], %g3                       <== NOT EXECUTED
 2028d14:	80 88 e0 03 	btst  3, %g3                                   <== NOT EXECUTED
 2028d18:	22 80 00 47 	be,a   2028e34 <fat_file_open+0x244>           <== NOT EXECUTED
 2028d1c:	c6 0e 20 05 	ldub  [ %i0 + 5 ], %g3                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 2028d20:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        <== NOT EXECUTED
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
                                                                      
    return (fat_cluster_num_to_sector_num(fs_info, cln) <<            
 2028d24:	c8 0e 20 03 	ldub  [ %i0 + 3 ], %g4                         <== NOT EXECUTED
 2028d28:	b9 2f 00 04 	sll  %i4, %g4, %i4                             <== NOT EXECUTED
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 2028d2c:	c6 00 60 24 	ld  [ %g1 + 0x24 ], %g3                        <== NOT EXECUTED
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
 2028d30:	85 30 e0 05 	srl  %g3, 5, %g2                               <== NOT EXECUTED
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 2028d34:	89 30 e0 09 	srl  %g3, 9, %g4                               <== NOT EXECUTED
              ((pos->ofs >> 5) & (FAT_DIRENTRIES_PER_SEC512 - 1)) );  
 2028d38:	84 08 a0 0f 	and  %g2, 0xf, %g2                             <== NOT EXECUTED
static inline uint32_t                                                
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
 2028d3c:	86 07 00 04 	add  %i4, %g4, %g3                             <== NOT EXECUTED
              (pos->ofs >> FAT_SECTOR512_BITS)) << 4)              +  
 2028d40:	87 28 e0 04 	sll  %g3, 4, %g3                               <== NOT EXECUTED
static inline uint32_t                                                
fat_construct_key(                                                    
    const fat_fs_info_t                  *fs_info,                    
    fat_pos_t                            *pos)                        
{                                                                     
    return ( ((fat_cluster_num_to_sector512_num(fs_info, pos->cln) +  
 2028d44:	86 00 c0 02 	add  %g3, %g2, %g3                             <== NOT EXECUTED
    {                                                                 
        fat_file_fd_t *ffd = (fat_file_fd_t *)the_node;               
        uint32_t       ck =  fat_construct_key(fs_info, &ffd->dir_pos.sname);
                                                                      
        if ( (key1) == ck)                                            
 2028d48:	80 a7 40 03 	cmp  %i5, %g3                                  <== NOT EXECUTED
 2028d4c:	02 80 00 3f 	be  2028e48 <fat_file_open+0x258>              <== NOT EXECUTED
 2028d50:	80 a7 60 00 	cmp  %i5, 0                                    <== NOT EXECUTED
            {                                                         
                *ret = (void *)the_node;                              
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
 2028d54:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
    )                                                                 
{                                                                     
    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) ; )          
 2028d58:	80 a0 40 0f 	cmp  %g1, %o7                                  <== NOT EXECUTED
 2028d5c:	32 bf ff e8 	bne,a   2028cfc <fat_file_open+0x10c>          <== NOT EXECUTED
 2028d60:	c4 00 60 20 	ld  [ %g1 + 0x20 ], %g2                        <== NOT EXECUTED
                return 0;                                             
            }                                                         
        }                                                             
        the_node = the_node->next;                                    
    }                                                                 
    return -1;                                                        
 2028d64:	a0 10 3f ff 	mov  -1, %l0                                   <== NOT EXECUTED
    }                                                                 
                                                                      
    /* access "removed-but-still-open" hash table */                  
    rc = _hash_search(fs_info, fs_info->rhash, key, key, &lfat_fd);   
                                                                      
    lfat_fd = (*fat_fd) = (fat_file_fd_t*)malloc(sizeof(fat_file_fd_t));
 2028d68:	7f ff 82 d3 	call  20098b4 <malloc>                         
 2028d6c:	90 10 20 44 	mov  0x44, %o0                                 
 2028d70:	d0 26 80 00 	st  %o0, [ %i2 ]                               
    if ( lfat_fd == NULL )                                            
 2028d74:	80 a2 20 00 	cmp  %o0, 0                                    
 2028d78:	02 80 00 46 	be  2028e90 <fat_file_open+0x2a0>              <== NEVER TAKEN
 2028d7c:	b8 10 00 08 	mov  %o0, %i4                                  
        rtems_set_errno_and_return_minus_one( ENOMEM );               
                                                                      
    memset(lfat_fd, 0, sizeof(fat_file_fd_t));                        
 2028d80:	92 10 20 00 	clr  %o1                                       
 2028d84:	40 00 8c af 	call  204c040 <memset>                         
 2028d88:	94 10 20 44 	mov  0x44, %o2                                 
                                                                      
    lfat_fd->links_num = 1;                                           
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
 2028d8c:	de 0f 20 30 	ldub  [ %i4 + 0x30 ], %o7                      
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
 2028d90:	c8 06 40 00 	ld  [ %i1 ], %g4                               
 2028d94:	c6 06 60 04 	ld  [ %i1 + 4 ], %g3                           
 2028d98:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 2028d9c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
        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;                              
 2028da0:	b2 0b ff fe 	and  %o7, -2, %i1                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
 2028da4:	c8 27 20 20 	st  %g4, [ %i4 + 0x20 ]                        
    if ( lfat_fd == NULL )                                            
        rtems_set_errno_and_return_minus_one( ENOMEM );               
                                                                      
    memset(lfat_fd, 0, sizeof(fat_file_fd_t));                        
                                                                      
    lfat_fd->links_num = 1;                                           
 2028da8:	9e 10 20 01 	mov  1, %o7                                    
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
 2028dac:	f2 2f 20 30 	stb  %i1, [ %i4 + 0x30 ]                       
    if ( lfat_fd == NULL )                                            
        rtems_set_errno_and_return_minus_one( ENOMEM );               
                                                                      
    memset(lfat_fd, 0, sizeof(fat_file_fd_t));                        
                                                                      
    lfat_fd->links_num = 1;                                           
 2028db0:	de 27 20 08 	st  %o7, [ %i4 + 8 ]                           
    lfat_fd->flags &= ~FAT_FILE_REMOVED;                              
    lfat_fd->map.last_cln = FAT_UNDEFINED_VALUE;                      
 2028db4:	b2 10 3f ff 	mov  -1, %i1                                   
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
 2028db8:	c6 27 20 24 	st  %g3, [ %i4 + 0x24 ]                        
                                                                      
    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;                      
 2028dbc:	f2 27 20 3c 	st  %i1, [ %i4 + 0x3c ]                        
                                                                      
    lfat_fd->dir_pos = *dir_pos;                                      
 2028dc0:	c4 27 20 28 	st  %g2, [ %i4 + 0x28 ]                        
                                                                      
    if ( rc != RC_OK )                                                
 2028dc4:	80 a4 20 00 	cmp  %l0, 0                                    
 2028dc8:	02 80 00 2b 	be  2028e74 <fat_file_open+0x284>              <== NEVER TAKEN
 2028dcc:	c2 27 20 2c 	st  %g1, [ %i4 + 0x2c ]                        
        lfat_fd->ino = key;                                           
 2028dd0:	fa 27 20 0c 	st  %i5, [ %i4 + 0xc ]                         
 */                                                                   
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);
 2028dd4:	d0 06 20 60 	ld  [ %i0 + 0x60 ], %o0                        
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 2028dd8:	92 10 00 1c 	mov  %i4, %o1                                  
 2028ddc:	90 02 00 1b 	add  %o0, %i3, %o0                             
 2028de0:	7f ff 97 ef 	call  200ed9c <_Chain_Append>                  
 2028de4:	b0 10 20 00 	clr  %i0                                       
 2028de8:	81 c7 e0 08 	ret                                            
 2028dec:	81 e8 00 00 	restore                                        
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2028df0:	c4 06 20 30 	ld  [ %i0 + 0x30 ], %g2                        
 2028df4:	ba 00 7f fe 	add  %g1, -2, %i5                              
 2028df8:	bb 2f 40 03 	sll  %i5, %g3, %i5                             
 2028dfc:	10 bf ff 89 	b  2028c20 <fat_file_open+0x30>                
 2028e00:	ba 07 40 02 	add  %i5, %g2, %i5                             
 2028e04:	c6 06 20 30 	ld  [ %i0 + 0x30 ], %g3                        
 2028e08:	b8 00 bf fe 	add  %g2, -2, %i4                              
 2028e0c:	b9 2f 00 04 	sll  %i4, %g4, %i4                             
 2028e10:	10 bf ff a3 	b  2028c9c <fat_file_open+0xac>                
 2028e14:	b8 07 00 03 	add  %i4, %g3, %i4                             
    /* access "valid" hash table */                                   
    rc = _hash_search(fs_info, fs_info->vhash, key, 0, &lfat_fd);     
    if ( rc == RC_OK )                                                
    {                                                                 
        /* return pointer to fat_file_descriptor allocated before */  
        (*fat_fd) = lfat_fd;                                          
 2028e18:	c2 26 80 00 	st  %g1, [ %i2 ]                               
        lfat_fd->links_num++;                                         
 2028e1c:	84 00 a0 01 	inc  %g2                                       
 2028e20:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
 2028e24:	81 c7 e0 08 	ret                                            
 2028e28:	91 e8 20 00 	restore  %g0, 0, %o0                           
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
 2028e2c:	10 bf ff 9e 	b  2028ca4 <fat_file_open+0xb4>                
 2028e30:	b8 10 20 01 	mov  1, %i4                                    
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2028e34:	c8 06 20 30 	ld  [ %i0 + 0x30 ], %g4                        <== NOT EXECUTED
 2028e38:	b8 00 bf fe 	add  %g2, -2, %i4                              <== NOT EXECUTED
 2028e3c:	b9 2f 00 03 	sll  %i4, %g3, %i4                             <== NOT EXECUTED
 2028e40:	10 bf ff b9 	b  2028d24 <fat_file_open+0x134>               <== NOT EXECUTED
 2028e44:	b8 07 00 04 	add  %i4, %g4, %i4                             <== NOT EXECUTED
        fat_file_fd_t *ffd = (fat_file_fd_t *)the_node;               
        uint32_t       ck =  fat_construct_key(fs_info, &ffd->dir_pos.sname);
                                                                      
        if ( (key1) == ck)                                            
        {                                                             
            if ( ((key2) == 0) || ((key2) == ffd->ino) )              
 2028e48:	02 bf ff c8 	be  2028d68 <fat_file_open+0x178>              <== NOT EXECUTED
 2028e4c:	a0 10 20 00 	clr  %l0                                       <== NOT EXECUTED
 2028e50:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         <== NOT EXECUTED
 2028e54:	80 a7 40 02 	cmp  %i5, %g2                                  <== NOT EXECUTED
 2028e58:	32 bf ff c0 	bne,a   2028d58 <fat_file_open+0x168>          <== NOT EXECUTED
 2028e5c:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
 2028e60:	30 bf ff c2 	b,a   2028d68 <fat_file_open+0x178>            <== NOT EXECUTED
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if (cln == 1)                                                     
        return 1;                                                     
 2028e64:	10 bf ff b2 	b  2028d2c <fat_file_open+0x13c>               <== NOT EXECUTED
 2028e68:	b8 10 20 01 	mov  1, %i4                                    <== NOT EXECUTED
 2028e6c:	10 bf ff 6f 	b  2028c28 <fat_file_open+0x38>                
 2028e70:	ba 10 20 01 	mov  1, %i5                                    
                                                                      
    if ( rc != RC_OK )                                                
        lfat_fd->ino = key;                                           
    else                                                              
    {                                                                 
        lfat_fd->ino = fat_get_unique_ino(fs_info);                   
 2028e74:	40 00 04 a4 	call  202a104 <fat_get_unique_ino>             <== NOT EXECUTED
 2028e78:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
                                                                      
        if ( lfat_fd->ino == 0 )                                      
 2028e7c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2028e80:	12 bf ff d5 	bne  2028dd4 <fat_file_open+0x1e4>             <== NOT EXECUTED
 2028e84:	d0 27 20 0c 	st  %o0, [ %i4 + 0xc ]                         <== NOT EXECUTED
        {                                                             
            free((*fat_fd));                                          
 2028e88:	7f ff 81 21 	call  200930c <free>                           <== NOT EXECUTED
 2028e8c:	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 );           
 2028e90:	40 00 7e 9e 	call  2048908 <__errno>                        <== NOT EXECUTED
 2028e94:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2028e98:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 2028e9c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2028ea0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2028ea4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02028ec0 <fat_file_read>: fat_file_fd_t *fat_fd, uint32_t start, uint32_t count, uint8_t *buf ) {
 2028ec0:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK;                                        
    ssize_t        ret = 0;                                           
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
 2028ec4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    uint8_t                              *buf                         
)                                                                     
{                                                                     
 2028ec8:	ba 10 00 18 	mov  %i0, %i5                                  
    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)                                                   
 2028ecc:	80 a6 e0 00 	cmp  %i3, 0                                    
 2028ed0:	02 80 00 7f 	be  20290cc <fat_file_read+0x20c>              <== NEVER TAKEN
 2028ed4:	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 )                             
 2028ed8:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
 2028edc:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2028ee0:	08 80 00 7b 	bleu  20290cc <fat_file_read+0x20c>            
 2028ee4:	80 a6 c0 01 	cmp  %i3, %g1                                  
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
 2028ee8:	08 80 00 4c 	bleu  2029018 <fat_file_read+0x158>            <== ALWAYS TAKEN
 2028eec:	84 20 40 1b 	sub  %g1, %i3, %g2                             
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
 2028ef0:	b6 20 40 1a 	sub  %g1, %i2, %i3                             <== NOT EXECUTED
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2028ef4:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 2028ef8:	80 a0 60 01 	cmp  %g1, 1                                    
 2028efc:	22 80 00 4c 	be,a   202902c <fat_file_read+0x16c>           
 2028f00:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
 2028f04:	e4 0f 60 08 	ldub  [ %i5 + 8 ], %l2                         
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 2028f08:	e0 17 60 06 	lduh  [ %i5 + 6 ], %l0                         
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
 2028f0c:	a5 36 80 12 	srl  %i2, %l2, %l2                             
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
 2028f10:	90 10 00 1d 	mov  %i5, %o0                                  
 2028f14:	92 10 00 19 	mov  %i1, %o1                                  
 2028f18:	94 10 00 12 	mov  %l2, %o2                                  
 2028f1c:	7f ff ff 06 	call  2028b34 <fat_file_lseek>                 
 2028f20:	96 07 bf fc 	add  %fp, -4, %o3                              
    if (rc != RC_OK)                                                  
 2028f24:	b0 92 60 00 	orcc  %o1, 0, %i0                              
 2028f28:	12 80 00 69 	bne  20290cc <fat_file_read+0x20c>             <== NEVER TAKEN
 2028f2c:	a1 2c 20 10 	sll  %l0, 0x10, %l0                            
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 2028f30:	a6 10 20 00 	clr  %l3                                       
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 2028f34:	a1 34 20 10 	srl  %l0, 0x10, %l0                            
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 2028f38:	a2 10 20 00 	clr  %l1                                       
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 2028f3c:	a0 04 3f ff 	add  %l0, -1, %l0                              
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 2028f40:	80 a6 e0 00 	cmp  %i3, 0                                    
 2028f44:	02 80 00 5b 	be  20290b0 <fat_file_read+0x1f0>              <== NEVER TAKEN
 2028f48:	b4 0e 80 10 	and  %i2, %l0, %i2                             
 2028f4c:	c6 0f 60 02 	ldub  [ %i5 + 2 ], %g3                         
 2028f50:	c8 17 40 00 	lduh  [ %i5 ], %g4                             
 2028f54:	10 80 00 20 	b  2028fd4 <fat_file_read+0x114>               
 2028f58:	94 10 00 1a 	mov  %i2, %o2                                  
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2028f5c:	80 8e 20 03 	btst  3, %i0                                   <== NOT EXECUTED
 2028f60:	22 80 00 27 	be,a   2028ffc <fat_file_read+0x13c>           <== NOT EXECUTED
 2028f64:	de 0f 60 05 	ldub  [ %i5 + 5 ], %o7                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 2028f68:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        <== NOT EXECUTED
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(fs_info, cur_cln);        
        sec += (ofs >> fs_info->vol.sec_log2);                        
 2028f6c:	87 32 80 03 	srl  %o2, %g3, %g3                             
        byte = ofs & (fs_info->vol.bps - 1);                          
 2028f70:	85 29 20 10 	sll  %g4, 0x10, %g2                            
 2028f74:	85 30 a0 10 	srl  %g2, 0x10, %g2                            
 2028f78:	84 00 bf ff 	add  %g2, -1, %g2                              
                                                                      
        ret = _fat_block_read(fs_info, sec, byte, c, buf + cmpltd);   
 2028f7c:	98 07 00 11 	add  %i4, %l1, %o4                             
 2028f80:	94 0a 80 02 	and  %o2, %g2, %o2                             
 2028f84:	92 02 40 03 	add  %o1, %g3, %o1                             
 2028f88:	96 10 00 10 	mov  %l0, %o3                                  
 2028f8c:	40 00 03 78 	call  2029d6c <_fat_block_read>                
 2028f90:	90 10 00 1d 	mov  %i5, %o0                                  
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
 2028f94:	94 07 bf fc 	add  %fp, -4, %o2                              
        sec = fat_cluster_num_to_sector_num(fs_info, cur_cln);        
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_read(fs_info, sec, byte, c, buf + cmpltd);   
        if ( ret < 0 )                                                
 2028f98:	80 a2 20 00 	cmp  %o0, 0                                    
 2028f9c:	06 80 00 3d 	bl  2029090 <fat_file_read+0x1d0>              <== NEVER TAKEN
 2028fa0:	90 10 00 1d 	mov  %i5, %o0                                  
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
 2028fa4:	e6 07 bf fc 	ld  [ %fp + -4 ], %l3                          
                                                                      
        ret = _fat_block_read(fs_info, sec, byte, c, buf + cmpltd);   
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
 2028fa8:	b6 26 c0 10 	sub  %i3, %l0, %i3                             
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
 2028fac:	92 10 00 13 	mov  %l3, %o1                                  
 2028fb0:	40 00 6b 8c 	call  2043de0 <fat_get_fat_cluster>            
 2028fb4:	a2 04 40 10 	add  %l1, %l0, %l1                             
        if ( rc != RC_OK )                                            
 2028fb8:	80 a2 20 00 	cmp  %o0, 0                                    
 2028fbc:	12 80 00 15 	bne  2029010 <fat_file_read+0x150>             <== NEVER TAKEN
 2028fc0:	80 a6 e0 00 	cmp  %i3, 0                                    
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 2028fc4:	02 80 00 3a 	be  20290ac <fat_file_read+0x1ec>              
 2028fc8:	94 10 20 00 	clr  %o2                                       
 2028fcc:	c6 0f 60 02 	ldub  [ %i5 + 2 ], %g3                         
 2028fd0:	c8 17 40 00 	lduh  [ %i5 ], %g4                             
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
 2028fd4:	e0 17 60 06 	lduh  [ %i5 + 6 ], %l0                         
 2028fd8:	a0 24 00 0a 	sub  %l0, %o2, %l0                             
 2028fdc:	80 a4 00 1b 	cmp  %l0, %i3                                  
 2028fe0:	08 80 00 03 	bleu  2028fec <fat_file_read+0x12c>            
 2028fe4:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 2028fe8:	a0 10 00 1b 	mov  %i3, %l0                                  
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2028fec:	80 a0 a0 00 	cmp  %g2, 0                                    
 2028ff0:	22 bf ff db 	be,a   2028f5c <fat_file_read+0x9c>            <== NEVER TAKEN
 2028ff4:	f0 0f 60 0a 	ldub  [ %i5 + 0xa ], %i0                       <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2028ff8:	de 0f 60 05 	ldub  [ %i5 + 5 ], %o7                         
 2028ffc:	f0 07 60 30 	ld  [ %i5 + 0x30 ], %i0                        
 2029000:	92 00 bf fe 	add  %g2, -2, %o1                              
 2029004:	93 2a 40 0f 	sll  %o1, %o7, %o1                             
 2029008:	10 bf ff d9 	b  2028f6c <fat_file_read+0xac>                
 202900c:	92 02 40 18 	add  %o1, %i0, %o1                             
    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;                                                    
}                                                                     
 2029010:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029014:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
     * computed from 1                                                
     */                                                               
    if ( start >= fat_fd->fat_file_size )                             
        return FAT_EOF;                                               
                                                                      
    if ((count > fat_fd->fat_file_size) ||                            
 2029018:	80 a6 80 02 	cmp  %i2, %g2                                  
 202901c:	28 bf ff b7 	bleu,a   2028ef8 <fat_file_read+0x38>          
 2029020:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
        (start > fat_fd->fat_file_size - count))                      
        count = fat_fd->fat_file_size - start;                        
 2029024:	10 bf ff b4 	b  2028ef4 <fat_file_read+0x34>                
 2029028:	b6 20 40 1a 	sub  %g1, %i2, %i3                             
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 202902c:	80 a0 60 00 	cmp  %g1, 0                                    
 2029030:	32 bf ff b6 	bne,a   2028f08 <fat_file_read+0x48>           <== NEVER TAKEN
 2029034:	e4 0f 60 08 	ldub  [ %i5 + 8 ], %l2                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
 2029038:	c2 0f 60 0a 	ldub  [ %i5 + 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)) &&                               
 202903c:	80 88 60 03 	btst  3, %g1                                   
 2029040:	22 bf ff b2 	be,a   2028f08 <fat_file_read+0x48>            <== NEVER TAKEN
 2029044:	e4 0f 60 08 	ldub  [ %i5 + 8 ], %l2                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(fs_info, fat_fd->cln);    
 2029048:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 202904c:	80 a0 60 00 	cmp  %g1, 0                                    
 2029050:	32 80 00 12 	bne,a   2029098 <fat_file_read+0x1d8>          <== NEVER TAKEN
 2029054:	c6 0f 60 05 	ldub  [ %i5 + 5 ], %g3                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 2029058:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
        sec += (start >> fs_info->vol.sec_log2);                      
 202905c:	c2 0f 60 02 	ldub  [ %i5 + 2 ], %g1                         
        byte = start & (fs_info->vol.bps - 1);                        
 2029060:	d4 17 40 00 	lduh  [ %i5 ], %o2                             
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(fs_info, fat_fd->cln);    
        sec += (start >> fs_info->vol.sec_log2);                      
 2029064:	83 36 80 01 	srl  %i2, %g1, %g1                             
        byte = start & (fs_info->vol.bps - 1);                        
 2029068:	94 02 bf ff 	add  %o2, -1, %o2                              
                                                                      
        ret = _fat_block_read(fs_info, sec, byte, count, buf);        
 202906c:	90 10 00 1d 	mov  %i5, %o0                                  
 2029070:	92 02 40 01 	add  %o1, %g1, %o1                             
 2029074:	94 0e 80 0a 	and  %i2, %o2, %o2                             
 2029078:	96 10 00 1b 	mov  %i3, %o3                                  
 202907c:	40 00 03 3c 	call  2029d6c <_fat_block_read>                
 2029080:	98 10 00 1c 	mov  %i4, %o4                                  
        if ( ret < 0 )                                                
 2029084:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2029088:	16 80 00 11 	bge  20290cc <fat_file_read+0x20c>             <== ALWAYS TAKEN
 202908c:	01 00 00 00 	nop                                            
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_read(fs_info, sec, byte, c, buf + cmpltd);   
        if ( ret < 0 )                                                
            return -1;                                                
 2029090:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2029094:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2029098:	c4 07 60 30 	ld  [ %i5 + 0x30 ], %g2                        <== NOT EXECUTED
 202909c:	92 00 7f fe 	add  %g1, -2, %o1                              <== NOT EXECUTED
 20290a0:	93 2a 40 03 	sll  %o1, %g3, %o1                             <== NOT EXECUTED
 20290a4:	10 bf ff ee 	b  202905c <fat_file_read+0x19c>               <== NOT EXECUTED
 20290a8:	92 02 40 02 	add  %o1, %g2, %o1                             <== NOT EXECUTED
 20290ac:	b0 10 00 11 	mov  %l1, %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);
 20290b0:	c2 0f 60 08 	ldub  [ %i5 + 8 ], %g1                         
 20290b4:	b4 06 bf ff 	add  %i2, -1, %i2                              
    fat_fd->map.disk_cln = save_cln;                                  
 20290b8:	e6 26 60 38 	st  %l3, [ %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);
 20290bc:	a2 06 80 11 	add  %i2, %l1, %l1                             
 20290c0:	a3 34 40 01 	srl  %l1, %g1, %l1                             
        ofs = 0;                                                      
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
 20290c4:	a4 04 40 12 	add  %l1, %l2, %l2                             
 20290c8:	e4 26 60 34 	st  %l2, [ %i1 + 0x34 ]                        
 20290cc:	81 c7 e0 08 	ret                                            
 20290d0:	81 e8 00 00 	restore                                        
                                                                      

0202990c <fat_file_size>: int fat_file_size( fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd ) {
 202990c:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = fat_fd->cln;                             
 2029910:	f8 06 60 1c 	ld  [ %i1 + 0x1c ], %i4                        
    uint32_t       save_cln = 0;                                      
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2029914:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 2029918:	80 a0 60 01 	cmp  %g1, 1                                    
 202991c:	02 80 00 21 	be  20299a0 <fat_file_size+0x94>               <== NEVER TAKEN
 2029920:	f8 27 bf fc 	st  %i4, [ %fp + -4 ]                          
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 2029924:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         
 2029928:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 202992c:	84 0f 00 02 	and  %i4, %g2, %g2                             
 2029930:	80 a0 80 01 	cmp  %g2, %g1                                  
 2029934:	0a 80 00 0e 	bcs  202996c <fat_file_size+0x60>              <== ALWAYS TAKEN
 2029938:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = fat_fd->cln;                             
    uint32_t       save_cln = 0;                                      
 202993c:	10 80 00 15 	b  2029990 <fat_file_size+0x84>                <== NOT EXECUTED
 2029940:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
 2029944:	f6 06 60 18 	ld  [ %i1 + 0x18 ], %i3                        
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 2029948:	c6 06 20 0c 	ld  [ %i0 + 0xc ], %g3                         
 202994c:	c4 06 20 10 	ld  [ %i0 + 0x10 ], %g2                        
 2029950:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
 2029954:	88 06 c0 04 	add  %i3, %g4, %g4                             
        return rc;                                                    
    }                                                                 
                                                                      
    fat_fd->fat_file_size = 0;                                        
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 2029958:	86 08 40 03 	and  %g1, %g3, %g3                             
 202995c:	80 a0 c0 02 	cmp  %g3, %g2                                  
 2029960:	1a 80 00 0c 	bcc  2029990 <fat_file_size+0x84>              <== ALWAYS TAKEN
 2029964:	c8 26 60 18 	st  %g4, [ %i1 + 0x18 ]                        
 2029968:	b8 10 00 01 	mov  %g1, %i4                                  <== NOT EXECUTED
    {                                                                 
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
 202996c:	92 10 00 1c 	mov  %i4, %o1                                  
 2029970:	90 10 00 18 	mov  %i0, %o0                                  
 2029974:	40 00 69 1b 	call  2043de0 <fat_get_fat_cluster>            
 2029978:	94 07 bf fc 	add  %fp, -4, %o2                              
        if ( rc != RC_OK )                                            
 202997c:	80 a2 20 00 	cmp  %o0, 0                                    
 2029980:	22 bf ff f1 	be,a   2029944 <fat_file_size+0x38>            <== ALWAYS TAKEN
 2029984:	c8 16 20 06 	lduh  [ %i0 + 6 ], %g4                         
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
    return rc;                                                        
}                                                                     
 2029988:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202998c:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
        if ( rc != RC_OK )                                            
            return rc;                                                
                                                                      
        fat_fd->fat_file_size += fs_info->vol.bpc;                    
    }                                                                 
    fat_fd->map.last_cln = save_cln;                                  
 2029990:	90 10 20 00 	clr  %o0                                       
 2029994:	f8 26 60 3c 	st  %i4, [ %i1 + 0x3c ]                        
    return rc;                                                        
}                                                                     
 2029998:	81 c7 e0 08 	ret                                            
 202999c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
    int            rc = RC_OK;                                        
    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)) &&                               
 20299a0:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        <== NOT EXECUTED
 20299a4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20299a8:	32 bf ff e0 	bne,a   2029928 <fat_file_size+0x1c>           <== NOT EXECUTED
 20299ac:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
 20299b0:	c2 0e 20 0a 	ldub  [ %i0 + 0xa ], %g1                       <== NOT EXECUTED
    int            rc = RC_OK;                                        
    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)) &&                               
 20299b4:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 20299b8:	22 bf ff dc 	be,a   2029928 <fat_file_size+0x1c>            <== NOT EXECUTED
 20299bc:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        fat_fd->fat_file_size = fs_info->vol.rdir_size;               
 20299c0:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== NOT EXECUTED
        return rc;                                                    
 20299c4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
    /* Have we requested root dir size for FAT12/16? */               
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        fat_fd->fat_file_size = fs_info->vol.rdir_size;               
 20299c8:	10 bf ff f0 	b  2029988 <fat_file_size+0x7c>                <== NOT EXECUTED
 20299cc:	c2 26 60 18 	st  %g1, [ %i1 + 0x18 ]                        <== NOT EXECUTED
                                                                      

020290d4 <fat_file_truncate>: fat_file_truncate( fat_fs_info_t *fs_info, fat_file_fd_t *fat_fd, uint32_t new_length ) {
 20290d4:	9d e3 bf 98 	save  %sp, -104, %sp                           
    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 )                        
 20290d8:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = 0;                                       
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
 20290dc:	84 10 3f ff 	mov  -1, %g2                                   
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              new_length                  
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cur_cln = 0;                                       
 20290e0:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
 20290e4:	80 a0 40 1a 	cmp  %g1, %i2                                  
 20290e8:	08 80 00 26 	bleu  2029180 <fat_file_truncate+0xac>         
 20290ec:	c4 27 bf fc 	st  %g2, [ %fp + -4 ]                          
        return rc;                                                    
                                                                      
    assert(fat_fd->fat_file_size);                                    
 20290f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20290f4:	02 80 00 31 	be  20291b8 <fat_file_truncate+0xe4>           <== NEVER TAKEN
 20290f8:	11 00 81 a9 	sethi  %hi(0x206a400), %o0                     
                                                                      
    cl_start = (new_length + fs_info->vol.bpc - 1) >> fs_info->vol.bpc_log2;
 20290fc:	c4 0e 20 08 	ldub  [ %i0 + 8 ], %g2                         
 2029100:	c6 16 20 06 	lduh  [ %i0 + 6 ], %g3                         
 2029104:	86 00 ff ff 	add  %g3, -1, %g3                              
 2029108:	b4 00 c0 1a 	add  %g3, %i2, %i2                             
 202910c:	b5 36 80 02 	srl  %i2, %g2, %i2                             
                                                                      
    if ((cl_start << fs_info->vol.bpc_log2) >= fat_fd->fat_file_size) 
 2029110:	85 2e 80 02 	sll  %i2, %g2, %g2                             
 2029114:	80 a0 40 02 	cmp  %g1, %g2                                  
 2029118:	08 80 00 1a 	bleu  2029180 <fat_file_truncate+0xac>         
 202911c:	80 a6 a0 00 	cmp  %i2, 0                                    
        return RC_OK;                                                 
                                                                      
    if (cl_start != 0)                                                
 2029120:	02 80 00 09 	be  2029144 <fat_file_truncate+0x70>           
 2029124:	90 10 00 18 	mov  %i0, %o0                                  
    {                                                                 
        rc = fat_file_lseek(fs_info, fat_fd, cl_start - 1, &new_last_cln);
 2029128:	92 10 00 19 	mov  %i1, %o1                                  
 202912c:	94 06 bf ff 	add  %i2, -1, %o2                              
 2029130:	7f ff fe 81 	call  2028b34 <fat_file_lseek>                 
 2029134:	96 07 bf fc 	add  %fp, -4, %o3                              
        if (rc != RC_OK)                                              
 2029138:	80 a2 60 00 	cmp  %o1, 0                                    
 202913c:	12 80 00 12 	bne  2029184 <fat_file_truncate+0xb0>          <== NEVER TAKEN
 2029140:	90 10 00 18 	mov  %i0, %o0                                  
            return rc;                                                
                                                                      
    }                                                                 
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
 2029144:	92 10 00 19 	mov  %i1, %o1                                  
 2029148:	94 10 00 1a 	mov  %i2, %o2                                  
 202914c:	7f ff fe 7a 	call  2028b34 <fat_file_lseek>                 
 2029150:	96 07 bf f8 	add  %fp, -8, %o3                              
    if (rc != RC_OK)                                                  
 2029154:	80 a2 60 00 	cmp  %o1, 0                                    
 2029158:	12 80 00 0b 	bne  2029184 <fat_file_truncate+0xb0>          <== NEVER TAKEN
 202915c:	01 00 00 00 	nop                                            
        return rc;                                                    
                                                                      
    rc = fat_free_fat_clusters_chain(fs_info, cur_cln);               
 2029160:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 2029164:	40 00 6c 68 	call  2044304 <fat_free_fat_clusters_chain>    
 2029168:	90 10 00 18 	mov  %i0, %o0                                  
    if (rc != RC_OK)                                                  
 202916c:	92 92 20 00 	orcc  %o0, 0, %o1                              
 2029170:	12 80 00 05 	bne  2029184 <fat_file_truncate+0xb0>          <== NEVER TAKEN
 2029174:	80 a6 a0 00 	cmp  %i2, 0                                    
        return rc;                                                    
                                                                      
    if (cl_start != 0)                                                
 2029178:	12 80 00 05 	bne  202918c <fat_file_truncate+0xb8>          
 202917c:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
    uint32_t       cl_start = 0;                                      
    uint32_t       new_last_cln = FAT_UNDEFINED_VALUE;                
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
        return rc;                                                    
 2029180:	92 10 20 00 	clr  %o1                                       
        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;                                                     
}                                                                     
 2029184:	81 c7 e0 08 	ret                                            
 2029188:	91 e8 00 09 	restore  %g0, %o1, %o0                         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    if (cl_start != 0)                                                
    {                                                                 
        rc = fat_set_fat_cluster(fs_info, new_last_cln, FAT_GENFAT_EOC);
 202918c:	90 10 00 18 	mov  %i0, %o0                                  
 2029190:	40 00 6b 9d 	call  2044004 <fat_set_fat_cluster>            
 2029194:	94 10 3f ff 	mov  -1, %o2                                   
        if ( rc != RC_OK )                                            
 2029198:	92 92 20 00 	orcc  %o0, 0, %o1                              
 202919c:	12 bf ff fa 	bne  2029184 <fat_file_truncate+0xb0>          <== NEVER TAKEN
 20291a0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            return rc;                                                
        fat_fd->map.file_cln = cl_start - 1;                          
 20291a4:	b4 06 bf ff 	add  %i2, -1, %i2                              
        fat_fd->map.disk_cln = new_last_cln;                          
 20291a8:	c2 26 60 38 	st  %g1, [ %i1 + 0x38 ]                        
    if (cl_start != 0)                                                
    {                                                                 
        rc = fat_set_fat_cluster(fs_info, new_last_cln, FAT_GENFAT_EOC);
        if ( rc != RC_OK )                                            
            return rc;                                                
        fat_fd->map.file_cln = cl_start - 1;                          
 20291ac:	f4 26 60 34 	st  %i2, [ %i1 + 0x34 ]                        
        fat_fd->map.disk_cln = new_last_cln;                          
        fat_fd->map.last_cln = new_last_cln;                          
 20291b0:	10 bf ff f5 	b  2029184 <fat_file_truncate+0xb0>            
 20291b4:	c2 26 60 3c 	st  %g1, [ %i1 + 0x3c ]                        
                                                                      
                                                                      
    if ( new_length >= fat_fd->fat_file_size )                        
        return rc;                                                    
                                                                      
    assert(fat_fd->fat_file_size);                                    
 20291b8:	15 00 81 a9 	sethi  %hi(0x206a400), %o2                     <== NOT EXECUTED
 20291bc:	17 00 81 a9 	sethi  %hi(0x206a400), %o3                     <== NOT EXECUTED
 20291c0:	90 12 23 20 	or  %o0, 0x320, %o0                            <== NOT EXECUTED
 20291c4:	92 10 22 7d 	mov  0x27d, %o1                                <== NOT EXECUTED
 20291c8:	94 12 a3 80 	or  %o2, 0x380, %o2                            <== NOT EXECUTED
 20291cc:	40 00 08 a7 	call  202b468 <__assert_func>                  <== NOT EXECUTED
 20291d0:	96 12 e3 68 	or  %o3, 0x368, %o3                            <== NOT EXECUTED
                                                                      

020295ec <fat_file_write>: fat_file_fd_t *fat_fd, uint32_t start, uint32_t count, const uint8_t *buf ) {
 20295ec:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = 0;                                            
    ssize_t        ret = 0;                                           
    uint32_t       cmpltd = 0;                                        
    uint32_t       cur_cln = 0;                                       
 20295f0:	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;                                             
 20295f4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    fat_file_fd_t                        *fat_fd,                     
    uint32_t                              start,                      
    uint32_t                              count,                      
    const uint8_t                        *buf                         
    )                                                                 
{                                                                     
 20295f8:	ba 10 00 18 	mov  %i0, %i5                                  
    uint32_t       ofs = 0;                                           
    uint32_t       save_ofs;                                          
    uint32_t       sec = 0;                                           
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
    bool           zero_fill = start > fat_fd->fat_file_size;         
 20295fc:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
                                                                      
    if ( count == 0 )                                                 
 2029600:	80 a6 e0 00 	cmp  %i3, 0                                    
 2029604:	02 80 00 8f 	be  2029840 <fat_file_write+0x254>             <== NEVER TAKEN
 2029608:	b0 10 20 00 	clr  %i0                                       
        return cmpltd;                                                
                                                                      
    if (start >= fat_fd->size_limit)                                  
 202960c:	e0 06 60 14 	ld  [ %i1 + 0x14 ], %l0                        
 2029610:	80 a6 80 10 	cmp  %i2, %l0                                  
 2029614:	1a 80 00 8d 	bcc  2029848 <fat_file_write+0x25c>            <== NEVER TAKEN
 2029618:	a0 24 00 1a 	sub  %l0, %i2, %l0                             
 202961c:	80 a4 00 1b 	cmp  %l0, %i3                                  
    uint32_t       ofs = 0;                                           
    uint32_t       save_ofs;                                          
    uint32_t       sec = 0;                                           
    uint32_t       byte = 0;                                          
    uint32_t       c = 0;                                             
    bool           zero_fill = start > fat_fd->fat_file_size;         
 2029620:	18 80 00 6f 	bgu  20297dc <fat_file_write+0x1f0>            <== ALWAYS TAKEN
 2029624:	80 a0 40 1a 	cmp  %g1, %i2                                  
        rtems_set_errno_and_return_minus_one(EFBIG);                  
                                                                      
    if (count > fat_fd->size_limit - start)                           
        count = fat_fd->size_limit - start;                           
                                                                      
    rc = fat_file_extend(fs_info, fat_fd, zero_fill, start + count, &c);
 2029628:	b6 04 00 1a 	add  %l0, %i2, %i3                             <== NOT EXECUTED
 202962c:	94 40 20 00 	addx  %g0, 0, %o2                              <== NOT EXECUTED
 2029630:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2029634:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2029638:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
 202963c:	7f ff ff 4a 	call  2029364 <fat_file_extend>                <== NOT EXECUTED
 2029640:	98 07 bf fc 	add  %fp, -4, %o4                              <== NOT EXECUTED
    if (rc != RC_OK)                                                  
 2029644:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2029648:	12 80 00 7e 	bne  2029840 <fat_file_write+0x254>            <== NOT EXECUTED
 202964c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
                                                                      
    /*                                                                
     * check whether there was enough room on device to locate        
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
 2029650:	80 a6 c0 01 	cmp  %i3, %g1                                  
 2029654:	32 80 00 02 	bne,a   202965c <fat_file_write+0x70>          <== NEVER TAKEN
 2029658:	a0 20 40 1a 	sub  %g1, %i2, %l0                             <== NOT EXECUTED
        count = c - start;                                            
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 202965c:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 2029660:	80 a0 60 01 	cmp  %g1, 1                                    
 2029664:	22 80 00 43 	be,a   2029770 <fat_file_write+0x184>          
 2029668:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
 202966c:	e2 0f 60 08 	ldub  [ %i5 + 8 ], %l1                         
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 2029670:	f6 17 60 06 	lduh  [ %i5 + 6 ], %i3                         
            return -1;                                                
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
 2029674:	a3 36 80 11 	srl  %i2, %l1, %l1                             
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
 2029678:	90 10 00 1d 	mov  %i5, %o0                                  
 202967c:	92 10 00 19 	mov  %i1, %o1                                  
 2029680:	94 10 00 11 	mov  %l1, %o2                                  
 2029684:	7f ff fd 2c 	call  2028b34 <fat_file_lseek>                 
 2029688:	96 07 bf f8 	add  %fp, -8, %o3                              
    if (rc != RC_OK)                                                  
 202968c:	b0 92 60 00 	orcc  %o1, 0, %i0                              
 2029690:	12 80 00 6c 	bne  2029840 <fat_file_write+0x254>            <== NEVER TAKEN
 2029694:	83 2e e0 10 	sll  %i3, 0x10, %g1                            
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 2029698:	a4 10 20 00 	clr  %l2                                       
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 202969c:	83 30 60 10 	srl  %g1, 0x10, %g1                            
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 20296a0:	b6 10 20 00 	clr  %i3                                       
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 20296a4:	82 00 7f ff 	add  %g1, -1, %g1                              
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 20296a8:	80 a4 20 00 	cmp  %l0, 0                                    
                                                                      
        return ret;                                                   
    }                                                                 
                                                                      
    cl_start = start >> fs_info->vol.bpc_log2;                        
    save_ofs = ofs = start & (fs_info->vol.bpc - 1);                  
 20296ac:	b4 0e 80 01 	and  %i2, %g1, %i2                             
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 20296b0:	12 80 00 21 	bne  2029734 <fat_file_write+0x148>            <== ALWAYS TAKEN
 20296b4:	94 10 00 1a 	mov  %i2, %o2                                  
    }                                                                 
                                                                      
    /* 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);
 20296b8:	10 80 00 5c 	b  2029828 <fat_file_write+0x23c>              <== NOT EXECUTED
 20296bc:	c2 0f 60 08 	ldub  [ %i5 + 8 ], %g1                         <== NOT EXECUTED
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 20296c0:	c6 0f 60 0a 	ldub  [ %i5 + 0xa ], %g3                       <== NOT EXECUTED
 20296c4:	80 88 e0 03 	btst  3, %g3                                   <== NOT EXECUTED
 20296c8:	22 80 00 25 	be,a   202975c <fat_file_write+0x170>          <== NOT EXECUTED
 20296cc:	c8 0f 60 05 	ldub  [ %i5 + 5 ], %g4                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 20296d0:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        <== NOT EXECUTED
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(fs_info, cur_cln);        
        sec += (ofs >> fs_info->vol.sec_log2);                        
 20296d4:	c8 0f 60 02 	ldub  [ %i5 + 2 ], %g4                         
        byte = ofs & (fs_info->vol.bps - 1);                          
 20296d8:	c6 17 40 00 	lduh  [ %i5 ], %g3                             
    while (count > 0)                                                 
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
                                                                      
        sec = fat_cluster_num_to_sector_num(fs_info, cur_cln);        
        sec += (ofs >> fs_info->vol.sec_log2);                        
 20296dc:	89 32 80 04 	srl  %o2, %g4, %g4                             
        byte = ofs & (fs_info->vol.bps - 1);                          
 20296e0:	86 00 ff ff 	add  %g3, -1, %g3                              
                                                                      
        ret = _fat_block_write(fs_info, sec, byte, c, buf + cmpltd);  
 20296e4:	98 07 00 1b 	add  %i4, %i3, %o4                             
 20296e8:	94 0a 80 03 	and  %o2, %g3, %o2                             
 20296ec:	92 02 40 04 	add  %o1, %g4, %o1                             
 20296f0:	40 00 01 c1 	call  2029df4 <_fat_block_write>               
 20296f4:	90 10 00 1d 	mov  %i5, %o0                                  
            return -1;                                                
                                                                      
        count -= c;                                                   
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
 20296f8:	94 07 bf f8 	add  %fp, -8, %o2                              
        sec = fat_cluster_num_to_sector_num(fs_info, cur_cln);        
        sec += (ofs >> fs_info->vol.sec_log2);                        
        byte = ofs & (fs_info->vol.bps - 1);                          
                                                                      
        ret = _fat_block_write(fs_info, sec, byte, c, buf + cmpltd);  
        if ( ret < 0 )                                                
 20296fc:	80 a2 20 00 	cmp  %o0, 0                                    
 2029700:	06 80 00 35 	bl  20297d4 <fat_file_write+0x1e8>             <== NEVER TAKEN
 2029704:	90 10 00 1d 	mov  %i5, %o0                                  
            return -1;                                                
                                                                      
        count -= c;                                                   
 2029708:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
        cmpltd += c;                                                  
        save_cln = cur_cln;                                           
 202970c:	e4 07 bf f8 	ld  [ %fp + -8 ], %l2                          
                                                                      
        ret = _fat_block_write(fs_info, sec, byte, c, buf + cmpltd);  
        if ( ret < 0 )                                                
            return -1;                                                
                                                                      
        count -= c;                                                   
 2029710:	a0 24 00 01 	sub  %l0, %g1, %l0                             
        cmpltd += c;                                                  
 2029714:	b6 06 c0 01 	add  %i3, %g1, %i3                             
        save_cln = cur_cln;                                           
        rc = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);         
 2029718:	40 00 69 b2 	call  2043de0 <fat_get_fat_cluster>            
 202971c:	92 10 00 12 	mov  %l2, %o1                                  
        if ( rc != RC_OK )                                            
 2029720:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2029724:	12 80 00 47 	bne  2029840 <fat_file_write+0x254>            <== NEVER TAKEN
 2029728:	80 a4 20 00 	cmp  %l0, 0                                    
                                                                      
    rc = fat_file_lseek(fs_info, fat_fd, cl_start, &cur_cln);         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    while (count > 0)                                                 
 202972c:	02 80 00 3d 	be  2029820 <fat_file_write+0x234>             
 2029730:	94 10 20 00 	clr  %o2                                       
    {                                                                 
        c = MIN(count, (fs_info->vol.bpc - ofs));                     
 2029734:	d6 17 60 06 	lduh  [ %i5 + 6 ], %o3                         
 2029738:	96 22 c0 0a 	sub  %o3, %o2, %o3                             
 202973c:	80 a2 c0 10 	cmp  %o3, %l0                                  
 2029740:	08 80 00 03 	bleu  202974c <fat_file_write+0x160>           
 2029744:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
 2029748:	96 10 00 10 	mov  %l0, %o3                                  
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 202974c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2029750:	02 bf ff dc 	be  20296c0 <fat_file_write+0xd4>              <== NEVER TAKEN
 2029754:	d6 27 bf fc 	st  %o3, [ %fp + -4 ]                          
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2029758:	c8 0f 60 05 	ldub  [ %i5 + 5 ], %g4                         
 202975c:	c6 07 60 30 	ld  [ %i5 + 0x30 ], %g3                        
 2029760:	92 00 bf fe 	add  %g2, -2, %o1                              
 2029764:	93 2a 40 04 	sll  %o1, %g4, %o1                             
 2029768:	10 bf ff db 	b  20296d4 <fat_file_write+0xe8>               
 202976c:	92 02 40 03 	add  %o1, %g3, %o1                             
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
        count = c - start;                                            
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2029770:	80 a0 60 00 	cmp  %g1, 0                                    
 2029774:	32 bf ff bf 	bne,a   2029670 <fat_file_write+0x84>          <== NEVER TAKEN
 2029778:	e2 0f 60 08 	ldub  [ %i5 + 8 ], %l1                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
 202977c:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       
     * file of 'start + count' bytes                                  
     */                                                               
    if (c != (start + count))                                         
        count = c - start;                                            
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
 2029780:	80 88 60 03 	btst  3, %g1                                   
 2029784:	22 bf ff bb 	be,a   2029670 <fat_file_write+0x84>           <== NEVER TAKEN
 2029788:	e2 0f 60 08 	ldub  [ %i5 + 8 ], %l1                         <== NOT EXECUTED
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(fs_info, fat_fd->cln);    
 202978c:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2029790:	80 a0 60 00 	cmp  %g1, 0                                    
 2029794:	32 80 00 1e 	bne,a   202980c <fat_file_write+0x220>         <== NEVER TAKEN
 2029798:	c6 0f 60 05 	ldub  [ %i5 + 5 ], %g3                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 202979c:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
        sec += (start >> fs_info->vol.sec_log2);                      
 20297a0:	c2 0f 60 02 	ldub  [ %i5 + 2 ], %g1                         
        byte = start & (fs_info->vol.bps - 1);                        
 20297a4:	d4 17 40 00 	lduh  [ %i5 ], %o2                             
                                                                      
    if ((FAT_FD_OF_ROOT_DIR(fat_fd)) &&                               
        (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)))                
    {                                                                 
        sec = fat_cluster_num_to_sector_num(fs_info, fat_fd->cln);    
        sec += (start >> fs_info->vol.sec_log2);                      
 20297a8:	83 36 80 01 	srl  %i2, %g1, %g1                             
        byte = start & (fs_info->vol.bps - 1);                        
 20297ac:	94 02 bf ff 	add  %o2, -1, %o2                              
                                                                      
        ret = _fat_block_write(fs_info, sec, byte, count, buf);       
 20297b0:	90 10 00 1d 	mov  %i5, %o0                                  
 20297b4:	92 02 40 01 	add  %o1, %g1, %o1                             
 20297b8:	94 0e 80 0a 	and  %i2, %o2, %o2                             
 20297bc:	96 10 00 10 	mov  %l0, %o3                                  
 20297c0:	40 00 01 8d 	call  2029df4 <_fat_block_write>               
 20297c4:	98 10 00 1c 	mov  %i4, %o4                                  
        if ( ret < 0 )                                                
 20297c8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20297cc:	16 80 00 23 	bge  2029858 <fat_file_write+0x26c>            <== ALWAYS TAKEN
 20297d0:	01 00 00 00 	nop                                            
    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;                                                    
}                                                                     
 20297d4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20297d8:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
 20297dc:	a0 10 00 1b 	mov  %i3, %l0                                  
        rtems_set_errno_and_return_minus_one(EFBIG);                  
                                                                      
    if (count > fat_fd->size_limit - start)                           
        count = fat_fd->size_limit - start;                           
                                                                      
    rc = fat_file_extend(fs_info, fat_fd, zero_fill, start + count, &c);
 20297e0:	94 40 20 00 	addx  %g0, 0, %o2                              
 20297e4:	b6 04 00 1a 	add  %l0, %i2, %i3                             
 20297e8:	90 10 00 1d 	mov  %i5, %o0                                  
 20297ec:	92 10 00 19 	mov  %i1, %o1                                  
 20297f0:	96 10 00 1b 	mov  %i3, %o3                                  
 20297f4:	7f ff fe dc 	call  2029364 <fat_file_extend>                
 20297f8:	98 07 bf fc 	add  %fp, -4, %o4                              
    if (rc != RC_OK)                                                  
 20297fc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2029800:	02 bf ff 94 	be  2029650 <fat_file_write+0x64>              <== ALWAYS TAKEN
 2029804:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2029808:	30 80 00 14 	b,a   2029858 <fat_file_write+0x26c>           <== NOT EXECUTED
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 202980c:	c4 07 60 30 	ld  [ %i5 + 0x30 ], %g2                        <== NOT EXECUTED
 2029810:	92 00 7f fe 	add  %g1, -2, %o1                              <== NOT EXECUTED
 2029814:	93 2a 40 03 	sll  %o1, %g3, %o1                             <== NOT EXECUTED
 2029818:	10 bf ff e2 	b  20297a0 <fat_file_write+0x1b4>              <== NOT EXECUTED
 202981c:	92 02 40 02 	add  %o1, %g2, %o1                             <== NOT EXECUTED
 2029820:	b0 10 00 1b 	mov  %i3, %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);
 2029824:	c2 0f 60 08 	ldub  [ %i5 + 8 ], %g1                         
 2029828:	b4 06 bf ff 	add  %i2, -1, %i2                              
    fat_fd->map.disk_cln = save_cln;                                  
 202982c:	e4 26 60 38 	st  %l2, [ %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);
 2029830:	b6 06 80 1b 	add  %i2, %i3, %i3                             
 2029834:	b7 36 c0 01 	srl  %i3, %g1, %i3                             
        ofs = 0;                                                      
    }                                                                 
                                                                      
    /* update cache */                                                
    /* XXX: check this - I'm not sure :( */                           
    fat_fd->map.file_cln = cl_start +                                 
 2029838:	a2 06 c0 11 	add  %i3, %l1, %l1                             
 202983c:	e2 26 60 34 	st  %l1, [ %i1 + 0x34 ]                        
 2029840:	81 c7 e0 08 	ret                                            
 2029844:	81 e8 00 00 	restore                                        
                                                                      
    if ( count == 0 )                                                 
        return cmpltd;                                                
                                                                      
    if (start >= fat_fd->size_limit)                                  
        rtems_set_errno_and_return_minus_one(EFBIG);                  
 2029848:	40 00 7c 30 	call  2048908 <__errno>                        <== NOT EXECUTED
 202984c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2029850:	82 10 20 1b 	mov  0x1b, %g1                                 <== NOT EXECUTED
 2029854:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2029858:	81 c7 e0 08 	ret                                            
 202985c:	81 e8 00 00 	restore                                        
                                                                      

02044304 <fat_free_fat_clusters_chain>: int fat_free_fat_clusters_chain( fat_fs_info_t *fs_info, uint32_t chain ) {
 2044304:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK, rc1 = RC_OK;                           
    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)      
 2044308:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         
 204430c:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
    uint32_t                              chain                       
    )                                                                 
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
 2044310:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 2044314:	84 0e 40 02 	and  %i1, %g2, %g2                             
 2044318:	80 a0 80 01 	cmp  %g2, %g1                                  
 204431c:	1a 80 00 25 	bcc  20443b0 <fat_free_fat_clusters_chain+0xac><== NEVER TAKEN
 2044320:	ba 10 00 18 	mov  %i0, %i5                                  
 2044324:	b8 10 00 19 	mov  %i1, %i4                                  
 2044328:	b6 10 20 00 	clr  %i3                                       
 204432c:	10 80 00 0e 	b  2044364 <fat_free_fat_clusters_chain+0x60>  
 2044330:	b4 10 20 00 	clr  %i2                                       
                                                                      
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, cur_cln, FAT_GENFAT_FREE);  
 2044334:	7f ff ff 34 	call  2044004 <fat_set_fat_cluster>            
 2044338:	01 00 00 00 	nop                                            
        if ( rc != RC_OK )                                            
 204433c:	80 a2 20 00 	cmp  %o0, 0                                    
 2044340:	02 80 00 03 	be  204434c <fat_free_fat_clusters_chain+0x48> <== ALWAYS TAKEN
 2044344:	f8 07 bf fc 	ld  [ %fp + -4 ], %i4                          
 2044348:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
    int            rc = RC_OK, rc1 = RC_OK;                           
    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)      
 204434c:	c4 07 60 0c 	ld  [ %i5 + 0xc ], %g2                         
 2044350:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 2044354:	84 0f 00 02 	and  %i4, %g2, %g2                             
 2044358:	80 a0 80 01 	cmp  %g2, %g1                                  
 204435c:	1a 80 00 17 	bcc  20443b8 <fat_free_fat_clusters_chain+0xb4>
 2044360:	b6 06 e0 01 	inc  %i3                                       
    {                                                                 
        rc = fat_get_fat_cluster(fs_info, cur_cln, &next_cln);        
 2044364:	92 10 00 1c 	mov  %i4, %o1                                  
 2044368:	94 07 bf fc 	add  %fp, -4, %o2                              
 204436c:	7f ff fe 9d 	call  2043de0 <fat_get_fat_cluster>            
 2044370:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, cur_cln, FAT_GENFAT_FREE);  
 2044374:	92 10 00 1c 	mov  %i4, %o1                                  
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        rc = fat_get_fat_cluster(fs_info, cur_cln, &next_cln);        
 2044378:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
            fat_buf_release(fs_info);                                 
            return rc;                                                
        }                                                             
                                                                      
        rc = fat_set_fat_cluster(fs_info, cur_cln, FAT_GENFAT_FREE);  
 204437c:	94 10 20 00 	clr  %o2                                       
    uint32_t       freed_cls_cnt = 0;                                 
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        rc = fat_get_fat_cluster(fs_info, cur_cln, &next_cln);        
        if ( rc != RC_OK )                                            
 2044380:	80 a6 20 00 	cmp  %i0, 0                                    
 2044384:	02 bf ff ec 	be  2044334 <fat_free_fat_clusters_chain+0x30> <== ALWAYS TAKEN
 2044388:	90 10 00 1d 	mov  %i5, %o0                                  
        {                                                             
              if(fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)        
 204438c:	c2 07 60 40 	ld  [ %i5 + 0x40 ], %g1                        <== NOT EXECUTED
 2044390:	80 a0 7f ff 	cmp  %g1, -1                                   <== NOT EXECUTED
 2044394:	02 80 00 03 	be  20443a0 <fat_free_fat_clusters_chain+0x9c> <== NOT EXECUTED
 2044398:	82 06 c0 01 	add  %i3, %g1, %g1                             <== NOT EXECUTED
                fs_info->vol.free_cls += freed_cls_cnt;               
 204439c:	c2 27 60 40 	st  %g1, [ %i5 + 0x40 ]                        <== NOT EXECUTED
                                                                      
            fat_buf_release(fs_info);                                 
 20443a0:	7f ff 96 15 	call  2029bf4 <fat_buf_release>                <== NOT EXECUTED
 20443a4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20443a8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20443ac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    )                                                                 
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
    uint32_t       cur_cln = chain;                                   
    uint32_t       next_cln = 0;                                      
    uint32_t       freed_cls_cnt = 0;                                 
 20443b0:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
fat_free_fat_clusters_chain(                                          
    fat_fs_info_t                        *fs_info,                    
    uint32_t                              chain                       
    )                                                                 
{                                                                     
    int            rc = RC_OK, rc1 = RC_OK;                           
 20443b4:	b4 10 20 00 	clr  %i2                                       <== NOT EXECUTED
        freed_cls_cnt++;                                              
        cur_cln = next_cln;                                           
    }                                                                 
                                                                      
        fs_info->vol.next_cl = chain;                                 
        if (fs_info->vol.free_cls != FAT_UNDEFINED_VALUE)             
 20443b8:	c2 07 60 40 	ld  [ %i5 + 0x40 ], %g1                        
 20443bc:	80 a0 7f ff 	cmp  %g1, -1                                   
 20443c0:	02 80 00 04 	be  20443d0 <fat_free_fat_clusters_chain+0xcc> <== ALWAYS TAKEN
 20443c4:	f2 27 60 44 	st  %i1, [ %i5 + 0x44 ]                        
            fs_info->vol.free_cls += freed_cls_cnt;                   
 20443c8:	82 06 c0 01 	add  %i3, %g1, %g1                             <== NOT EXECUTED
 20443cc:	c2 27 60 40 	st  %g1, [ %i5 + 0x40 ]                        <== NOT EXECUTED
                                                                      
    fat_buf_release(fs_info);                                         
 20443d0:	b0 10 00 1a 	mov  %i2, %i0                                  
 20443d4:	7f ff 96 08 	call  2029bf4 <fat_buf_release>                
 20443d8:	90 10 00 1d 	mov  %i5, %o0                                  
    if (rc1 != RC_OK)                                                 
        return rc1;                                                   
                                                                      
    return RC_OK;                                                     
}                                                                     
 20443dc:	81 c7 e0 08 	ret                                            
 20443e0:	81 e8 00 00 	restore                                        
                                                                      

0202a1f4 <fat_free_unique_ino>: fat_free_unique_ino( fat_fs_info_t *fs_info, uint32_t ino ) { FAT_SET_UNIQ_INO_FREE((ino - fs_info->uino_base), fs_info->uino);
 202a1f4:	c4 02 20 74 	ld  [ %o0 + 0x74 ], %g2                        <== NOT EXECUTED
 202a1f8:	c2 02 20 68 	ld  [ %o0 + 0x68 ], %g1                        <== NOT EXECUTED
 202a1fc:	92 22 40 02 	sub  %o1, %g2, %o1                             <== NOT EXECUTED
 202a200:	85 32 60 03 	srl  %o1, 3, %g2                               <== NOT EXECUTED
 202a204:	c6 08 40 02 	ldub  [ %g1 + %g2 ], %g3                       <== NOT EXECUTED
 202a208:	92 0a 60 07 	and  %o1, 7, %o1                               <== NOT EXECUTED
 202a20c:	88 10 20 01 	mov  1, %g4                                    <== NOT EXECUTED
 202a210:	93 29 00 09 	sll  %g4, %o1, %o1                             <== NOT EXECUTED
 202a214:	92 28 c0 09 	andn  %g3, %o1, %o1                            <== NOT EXECUTED
 202a218:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 202a21c:	d2 28 40 02 	stb  %o1, [ %g1 + %g2 ]                        <== NOT EXECUTED
                                                                      

02043de0 <fat_get_fat_cluster>: fat_get_fat_cluster( fat_fs_info_t *fs_info, uint32_t cln, uint32_t *ret_val ) {
 2043de0:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                     rc = RC_OK;                               
    rtems_bdbuf_buffer     *block0 = NULL;                            
 2043de4:	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)) )           
 2043de8:	80 a6 60 01 	cmp  %i1, 1                                    
 2043dec:	08 80 00 27 	bleu  2043e88 <fat_get_fat_cluster+0xa8>       <== NEVER TAKEN
 2043df0:	ba 10 00 18 	mov  %i0, %i5                                  
 2043df4:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
 2043df8:	82 00 60 01 	inc  %g1                                       
 2043dfc:	80 a6 40 01 	cmp  %i1, %g1                                  
 2043e00:	18 80 00 22 	bgu  2043e88 <fat_get_fat_cluster+0xa8>        <== NEVER TAKEN
 2043e04:	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) +
 2043e08:	c2 0e 20 0a 	ldub  [ %i0 + 0xa ], %g1                       
 2043e0c:	80 88 60 01 	btst  1, %g1                                   
 2043e10:	12 80 00 24 	bne  2043ea0 <fat_get_fat_cluster+0xc0>        <== ALWAYS TAKEN
 2043e14:	f6 0e 20 02 	ldub  [ %i0 + 2 ], %i3                         
 2043e18:	82 08 60 02 	and  %g1, 2, %g1                               <== NOT EXECUTED
 2043e1c:	80 88 60 ff 	btst  0xff, %g1                                <== NOT EXECUTED
 2043e20:	02 80 00 30 	be  2043ee0 <fat_get_fat_cluster+0x100>        <== NOT EXECUTED
 2043e24:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        <== NOT EXECUTED
 2043e28:	b9 2e 60 01 	sll  %i1, 1, %i4                               <== NOT EXECUTED
 2043e2c:	b7 37 00 1b 	srl  %i4, %i3, %i3                             <== NOT EXECUTED
 2043e30:	b6 06 c0 01 	add  %i3, %g1, %i3                             <== NOT EXECUTED
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
 2043e34:	e0 17 40 00 	lduh  [ %i5 ], %l0                             <== NOT EXECUTED
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
 2043e38:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2043e3c:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2043e40:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 2043e44:	7f ff 96 e3 	call  20299d0 <fat_buf_access>                 <== NOT EXECUTED
 2043e48:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
    if (rc != RC_OK)                                                  
 2043e4c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2043e50:	12 80 00 5a 	bne  2043fb8 <fat_get_fat_cluster+0x1d8>       <== NOT EXECUTED
 2043e54:	01 00 00 00 	nop                                            <== NOT EXECUTED
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
 2043e58:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       <== NOT EXECUTED
    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);
 2043e5c:	a1 2c 20 10 	sll  %l0, 0x10, %l0                            
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
 2043e60:	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);
 2043e64:	a1 34 20 10 	srl  %l0, 0x10, %l0                            
 2043e68:	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 )                                      
 2043e6c:	02 80 00 21 	be  2043ef0 <fat_get_fat_cluster+0x110>        <== NEVER TAKEN
 2043e70:	b8 0f 00 10 	and  %i4, %l0, %i4                             
 2043e74:	80 a0 60 04 	cmp  %g1, 4                                    
 2043e78:	02 80 00 3e 	be  2043f70 <fat_get_fat_cluster+0x190>        <== NEVER TAKEN
 2043e7c:	80 a0 60 01 	cmp  %g1, 1                                    
 2043e80:	02 80 00 29 	be  2043f24 <fat_get_fat_cluster+0x144>        <== ALWAYS TAKEN
 2043e84:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            *ret_val = *((uint32_t   *)(block0->buffer + ofs));       
            *ret_val = CF_LE_L(*ret_val);                             
            break;                                                    
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
 2043e88:	40 00 12 a0 	call  2048908 <__errno>                        <== NOT EXECUTED
 2043e8c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2043e90:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2043e94:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2043e98:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2043e9c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    /* 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) +
 2043ea0:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        
 2043ea4:	b9 36 60 01 	srl  %i1, 1, %i4                               
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
 2043ea8:	e0 17 40 00 	lduh  [ %i5 ], %l0                             
                                                                      
    /* 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) +
 2043eac:	b8 07 00 19 	add  %i4, %i1, %i4                             
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
 2043eb0:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
    /* 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) +
 2043eb4:	b7 37 00 1b 	srl  %i4, %i3, %i3                             
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
 2043eb8:	94 10 20 01 	mov  1, %o2                                    
                                                                      
    /* 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) +
 2043ebc:	b6 06 c0 01 	add  %i3, %g1, %i3                             
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
 2043ec0:	96 07 bf fc 	add  %fp, -4, %o3                              
 2043ec4:	7f ff 96 c3 	call  20299d0 <fat_buf_access>                 
 2043ec8:	92 10 00 1b 	mov  %i3, %o1                                  
    if (rc != RC_OK)                                                  
 2043ecc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2043ed0:	22 bf ff e3 	be,a   2043e5c <fat_get_fat_cluster+0x7c>      <== ALWAYS TAKEN
 2043ed4:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
 2043ed8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2043edc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    /* 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) +
 2043ee0:	b9 2e 60 02 	sll  %i1, 2, %i4                               <== NOT EXECUTED
 2043ee4:	b7 37 00 1b 	srl  %i4, %i3, %i3                             <== NOT EXECUTED
 2043ee8:	10 bf ff d3 	b  2043e34 <fat_get_fat_cluster+0x54>          <== NOT EXECUTED
 2043eec:	b6 06 c0 01 	add  %i3, %g1, %i3                             <== NOT EXECUTED
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
 2043ef0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
            *ret_val = CF_LE_W(*ret_val);                             
 2043ef4:	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));       
 2043ef8:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
            *ret_val = CF_LE_W(*ret_val);                             
 2043efc:	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));       
 2043f00:	c2 10 40 1c 	lduh  [ %g1 + %i4 ], %g1                       <== NOT EXECUTED
            *ret_val = CF_LE_W(*ret_val);                             
 2043f04:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 2043f08:	85 30 60 18 	srl  %g1, 0x18, %g2                            <== NOT EXECUTED
 2043f0c:	83 30 60 08 	srl  %g1, 8, %g1                               <== NOT EXECUTED
 2043f10:	82 08 40 03 	and  %g1, %g3, %g1                             <== NOT EXECUTED
 2043f14:	82 10 80 01 	or  %g2, %g1, %g1                              <== NOT EXECUTED
 2043f18:	c2 26 80 00 	st  %g1, [ %i2 ]                               <== NOT EXECUTED
            break;                                                    
 2043f1c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2043f20:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            /*                                                        
             * 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) )                      
 2043f24:	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)));      
 2043f28:	c4 00 60 1c 	ld  [ %g1 + 0x1c ], %g2                        
            if ( ofs == (fs_info->vol.bps - 1) )                      
 2043f2c:	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)));      
 2043f30:	c2 08 80 1c 	ldub  [ %g2 + %i4 ], %g1                       
            if ( ofs == (fs_info->vol.bps - 1) )                      
 2043f34:	80 a0 c0 1c 	cmp  %g3, %i4                                  
 2043f38:	02 80 00 22 	be  2043fc0 <fat_get_fat_cluster+0x1e0>        <== NEVER TAKEN
 2043f3c:	c2 26 80 00 	st  %g1, [ %i2 ]                               
                                                                      
                *ret_val |= (*((uint8_t   *)(block0->buffer)))<<8;    
            }                                                         
            else                                                      
            {                                                         
                *ret_val |= (*((uint8_t   *)(block0->buffer + ofs + 1)))<<8;
 2043f40:	b8 00 80 1c 	add  %g2, %i4, %i4                             
 2043f44:	c4 0f 20 01 	ldub  [ %i4 + 1 ], %g2                         
 2043f48:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2043f4c:	82 10 80 01 	or  %g2, %g1, %g1                              
 2043f50:	c2 26 80 00 	st  %g1, [ %i2 ]                               
            }                                                         
                                                                      
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
 2043f54:	80 8e 60 01 	btst  1, %i1                                   
 2043f58:	22 80 00 17 	be,a   2043fb4 <fat_get_fat_cluster+0x1d4>     
 2043f5c:	82 08 6f ff 	and  %g1, 0xfff, %g1                           
                *ret_val = (*ret_val) >> FAT12_SHIFT;                 
 2043f60:	83 30 60 04 	srl  %g1, 4, %g1                               
 2043f64:	c2 26 80 00 	st  %g1, [ %i2 ]                               
 2043f68:	81 c7 e0 08 	ret                                            
 2043f6c:	81 e8 00 00 	restore                                        
            *ret_val = *((uint16_t   *)(block0->buffer + ofs));       
            *ret_val = CF_LE_W(*ret_val);                             
            break;                                                    
                                                                      
        case FAT_FAT32:                                               
            *ret_val = *((uint32_t   *)(block0->buffer + ofs));       
 2043f70:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 2043f74:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
 2043f78:	c2 00 40 1c 	ld  [ %g1 + %i4 ], %g1                         <== NOT EXECUTED
 2043f7c:	89 28 60 18 	sll  %g1, 0x18, %g4                            <== NOT EXECUTED
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
 2043f80:	85 30 60 18 	srl  %g1, 0x18, %g2                            <== NOT EXECUTED
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 2043f84:	87 30 60 08 	srl  %g1, 8, %g3                               <== NOT EXECUTED
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2043f88:	84 11 00 02 	or  %g4, %g2, %g2                              <== NOT EXECUTED
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 2043f8c:	86 08 e0 ff 	and  %g3, 0xff, %g3                            <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 2043f90:	83 30 60 10 	srl  %g1, 0x10, %g1                            <== NOT EXECUTED
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2043f94:	87 28 e0 10 	sll  %g3, 0x10, %g3                            <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 2043f98:	82 08 60 ff 	and  %g1, 0xff, %g1                            <== NOT EXECUTED
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2043f9c:	84 10 80 03 	or  %g2, %g3, %g2                              <== NOT EXECUTED
 2043fa0:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 2043fa4:	82 10 80 01 	or  %g2, %g1, %g1                              <== NOT EXECUTED
            *ret_val = CF_LE_L(*ret_val);                             
 2043fa8:	c2 26 80 00 	st  %g1, [ %i2 ]                               <== NOT EXECUTED
            break;                                                    
 2043fac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2043fb0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            }                                                         
                                                                      
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
                *ret_val = (*ret_val) >> FAT12_SHIFT;                 
            else                                                      
                *ret_val = (*ret_val) & FAT_FAT12_MASK;               
 2043fb4:	c2 26 80 00 	st  %g1, [ %i2 ]                               
 2043fb8:	81 c7 e0 08 	ret                                            
 2043fbc:	81 e8 00 00 	restore                                        
             * align problems for some architectures                  
             */                                                       
            *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,
 2043fc0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2043fc4:	92 06 e0 01 	add  %i3, 1, %o1                               <== NOT EXECUTED
 2043fc8:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 2043fcc:	7f ff 96 81 	call  20299d0 <fat_buf_access>                 <== NOT EXECUTED
 2043fd0:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
                                    &block0);                         
                if (rc != RC_OK)                                      
 2043fd4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2043fd8:	12 80 00 09 	bne  2043ffc <fat_get_fat_cluster+0x21c>       <== NOT EXECUTED
 2043fdc:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          <== NOT EXECUTED
                    return rc;                                        
                                                                      
                *ret_val |= (*((uint8_t   *)(block0->buffer)))<<8;    
 2043fe0:	c2 06 80 00 	ld  [ %i2 ], %g1                               <== NOT EXECUTED
 2043fe4:	c4 00 a0 1c 	ld  [ %g2 + 0x1c ], %g2                        <== NOT EXECUTED
 2043fe8:	c4 08 80 00 	ldub  [ %g2 ], %g2                             <== NOT EXECUTED
 2043fec:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 2043ff0:	82 10 80 01 	or  %g2, %g1, %g1                              <== NOT EXECUTED
 2043ff4:	10 bf ff d8 	b  2043f54 <fat_get_fat_cluster+0x174>         <== NOT EXECUTED
 2043ff8:	c2 26 80 00 	st  %g1, [ %i2 ]                               <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
            break;                                                    
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
 2043ffc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2044000:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

0202a104 <fat_get_unique_ino>: * 0 means FAILED !!! * */ uint32_t fat_get_unique_ino(fat_fs_info_t *fs_info) {
 202a104:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
 202a108:	fa 06 20 70 	ld  [ %i0 + 0x70 ], %i5                        <== 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))
 202a10c:	33 03 ff ff 	sethi  %hi(0xffffc00), %i1                     <== NOT EXECUTED
 202a110:	b2 16 63 ff 	or  %i1, 0x3ff, %i1	! fffffff <RAM_END+0xdbfffff><== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
 202a114:	80 a7 60 00 	cmp  %i5, 0                                    <== NOT EXECUTED
 202a118:	22 80 00 20 	be,a   202a198 <fat_get_unique_ino+0x94>       <== NOT EXECUTED
 202a11c:	c2 06 20 74 	ld  [ %i0 + 0x74 ], %g1                        <== NOT EXECUTED
        {                                                             
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
 202a120:	c6 06 20 68 	ld  [ %i0 + 0x68 ], %g3                        <== NOT EXECUTED
 202a124:	c2 06 20 6c 	ld  [ %i0 + 0x6c ], %g1                        <== NOT EXECUTED
 202a128:	85 30 60 03 	srl  %g1, 3, %g2                               <== NOT EXECUTED
 202a12c:	c8 48 c0 02 	ldsb  [ %g3 + %g2 ], %g4                       <== NOT EXECUTED
 202a130:	b8 08 60 07 	and  %g1, 7, %i4                               <== NOT EXECUTED
 202a134:	b4 00 c0 02 	add  %g3, %g2, %i2                             <== NOT EXECUTED
 202a138:	89 39 00 1c 	sra  %g4, %i4, %g4                             <== NOT EXECUTED
 202a13c:	80 89 20 01 	btst  1, %g4                                   <== NOT EXECUTED
 202a140:	02 80 00 1d 	be  202a1b4 <fat_get_unique_ino+0xb0>          <== NOT EXECUTED
 202a144:	c4 08 c0 02 	ldub  [ %g3 + %g2 ], %g2                       <== NOT EXECUTED
 202a148:	10 80 00 0a 	b  202a170 <fat_get_unique_ino+0x6c>           <== NOT EXECUTED
 202a14c:	88 10 20 00 	clr  %g4                                       <== NOT EXECUTED
 202a150:	85 30 60 03 	srl  %g1, 3, %g2                               <== NOT EXECUTED
 202a154:	f6 48 c0 02 	ldsb  [ %g3 + %g2 ], %i3                       <== NOT EXECUTED
 202a158:	b8 08 60 07 	and  %g1, 7, %i4                               <== NOT EXECUTED
 202a15c:	b4 00 c0 02 	add  %g3, %g2, %i2                             <== NOT EXECUTED
 202a160:	b7 3e c0 1c 	sra  %i3, %i4, %i3                             <== NOT EXECUTED
 202a164:	80 8e e0 01 	btst  1, %i3                                   <== NOT EXECUTED
 202a168:	02 80 00 13 	be  202a1b4 <fat_get_unique_ino+0xb0>          <== NOT EXECUTED
 202a16c:	c4 08 c0 02 	ldub  [ %g3 + %g2 ], %g2                       <== NOT EXECUTED
            {                                                         
                FAT_SET_UNIQ_INO_BUSY(fs_info->index, fs_info->uino); 
                return (fs_info->uino_base + fs_info->index);         
            }                                                         
            fs_info->index++;                                         
 202a170:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
            if (fs_info->index >= fs_info->uino_pool_size)            
 202a174:	80 a0 40 1d 	cmp  %g1, %i5                                  <== NOT EXECUTED
 202a178:	0a 80 00 03 	bcs  202a184 <fat_get_unique_ino+0x80>         <== NOT EXECUTED
 202a17c:	c2 26 20 6c 	st  %g1, [ %i0 + 0x6c ]                        <== NOT EXECUTED
                fs_info->index = 0;                                   
 202a180:	c0 26 20 6c 	clr  [ %i0 + 0x6c ]                            <== NOT EXECUTED
    uint32_t                j = 0;                                    
    bool                    resrc_unsuff = false;                     
                                                                      
    while (!resrc_unsuff)                                             
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
 202a184:	88 01 20 01 	inc  %g4                                       <== NOT EXECUTED
 202a188:	80 a1 00 1d 	cmp  %g4, %i5                                  <== NOT EXECUTED
 202a18c:	32 bf ff f1 	bne,a   202a150 <fat_get_unique_ino+0x4c>      <== NOT EXECUTED
 202a190:	c2 06 20 6c 	ld  [ %i0 + 0x6c ], %g1                        <== 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))
 202a194:	c2 06 20 74 	ld  [ %i0 + 0x74 ], %g1                        <== NOT EXECUTED
 202a198:	93 2f 60 01 	sll  %i5, 1, %o1                               <== NOT EXECUTED
 202a19c:	82 26 40 01 	sub  %i1, %g1, %g1                             <== NOT EXECUTED
 202a1a0:	80 a2 40 01 	cmp  %o1, %g1                                  <== NOT EXECUTED
 202a1a4:	2a 80 00 0c 	bcs,a   202a1d4 <fat_get_unique_ino+0xd0>      <== NOT EXECUTED
 202a1a8:	d0 06 20 68 	ld  [ %i0 + 0x68 ], %o0                        <== NOT EXECUTED
        }                                                             
        else                                                          
            resrc_unsuff = true;                                      
    }                                                                 
    return 0;                                                         
}                                                                     
 202a1ac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202a1b0:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
    {                                                                 
        for (j = 0; j < fs_info->uino_pool_size; j++)                 
        {                                                             
            if (!FAT_UNIQ_INO_IS_BUSY(fs_info->index, fs_info->uino)) 
            {                                                         
                FAT_SET_UNIQ_INO_BUSY(fs_info->index, fs_info->uino); 
 202a1b4:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 202a1b8:	b9 28 40 1c 	sll  %g1, %i4, %i4                             <== NOT EXECUTED
 202a1bc:	84 17 00 02 	or  %i4, %g2, %g2                              <== NOT EXECUTED
 202a1c0:	c4 2e 80 00 	stb  %g2, [ %i2 ]                              <== NOT EXECUTED
                return (fs_info->uino_base + fs_info->index);         
 202a1c4:	c4 06 20 6c 	ld  [ %i0 + 0x6c ], %g2                        <== NOT EXECUTED
 202a1c8:	c2 06 20 74 	ld  [ %i0 + 0x74 ], %g1                        <== NOT EXECUTED
 202a1cc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202a1d0:	91 e8 80 01 	restore  %g2, %g1, %o0                         <== NOT EXECUTED
        }                                                             
                                                                      
        if ((fs_info->uino_pool_size << 1) < (0x0FFFFFFF - fs_info->uino_base))
        {                                                             
            fs_info->uino_pool_size <<= 1;                            
            fs_info->uino = realloc(fs_info->uino, fs_info->uino_pool_size);
 202a1d4:	7f ff 80 f4 	call  200a5a4 <realloc>                        <== NOT EXECUTED
 202a1d8:	d2 26 20 70 	st  %o1, [ %i0 + 0x70 ]                        <== NOT EXECUTED
            if (fs_info->uino != NULL)                                
 202a1dc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 202a1e0:	02 bf ff f3 	be  202a1ac <fat_get_unique_ino+0xa8>          <== NOT EXECUTED
 202a1e4:	d0 26 20 68 	st  %o0, [ %i0 + 0x68 ]                        <== NOT EXECUTED
                fs_info->index = fs_info->uino_pool_size;             
 202a1e8:	fa 06 20 70 	ld  [ %i0 + 0x70 ], %i5                        <== NOT EXECUTED
 202a1ec:	10 bf ff ca 	b  202a114 <fat_get_unique_ino+0x10>           <== NOT EXECUTED
 202a1f0:	fa 26 20 6c 	st  %i5, [ %i0 + 0x6c ]                        <== NOT EXECUTED
                                                                      

0202a044 <fat_init_clusters_chain>: int fat_init_clusters_chain( fat_fs_info_t *fs_info, uint32_t start_cln ) {
 202a044:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    uint32_t                cur_cln = start_cln;                      
    char                   *buf;                                      
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
 202a048:	d0 16 20 06 	lduh  [ %i0 + 6 ], %o0                         
 202a04c:	92 10 20 01 	mov  1, %o1                                    
    uint32_t                              start_cln                   
    )                                                                 
{                                                                     
    int                     rc = RC_OK;                               
    ssize_t                 ret = 0;                                  
    uint32_t                cur_cln = start_cln;                      
 202a050:	f2 27 bf fc 	st  %i1, [ %fp + -4 ]                          
    char                   *buf;                                      
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
 202a054:	7f ff 7b cd 	call  2008f88 <calloc>                         
 202a058:	ba 10 00 18 	mov  %i0, %i5                                  
    if ( buf == NULL )                                                
 202a05c:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 202a060:	32 80 00 04 	bne,a   202a070 <fat_init_clusters_chain+0x2c> <== ALWAYS TAKEN
 202a064:	c4 07 60 0c 	ld  [ %i5 + 0xc ], %g2                         
 202a068:	30 80 00 21 	b,a   202a0ec <fat_init_clusters_chain+0xa8>   <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
 202a06c:	c4 07 60 0c 	ld  [ %i5 + 0xc ], %g2                         
 202a070:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 202a074:	84 0e 40 02 	and  %i1, %g2, %g2                             
 202a078:	80 a0 80 01 	cmp  %g2, %g1                                  
 202a07c:	1a 80 00 12 	bcc  202a0c4 <fat_init_clusters_chain+0x80>    
 202a080:	94 10 00 1c 	mov  %i4, %o2                                  
    {                                                                 
        ret = fat_cluster_write(fs_info, cur_cln, buf);               
 202a084:	92 10 00 19 	mov  %i1, %o1                                  
 202a088:	7f ff ff d5 	call  2029fdc <fat_cluster_write>              
 202a08c:	90 10 00 1d 	mov  %i5, %o0                                  
        {                                                             
            free(buf);                                                
            return -1;                                                
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);        
 202a090:	94 07 bf fc 	add  %fp, -4, %o2                              
        rtems_set_errno_and_return_minus_one( EIO );                  
                                                                      
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_write(fs_info, cur_cln, buf);               
        if ( ret == -1 )                                              
 202a094:	80 a2 3f ff 	cmp  %o0, -1                                   
 202a098:	02 80 00 10 	be  202a0d8 <fat_init_clusters_chain+0x94>     <== NEVER TAKEN
 202a09c:	90 10 00 1d 	mov  %i5, %o0                                  
        {                                                             
            free(buf);                                                
            return -1;                                                
        }                                                             
                                                                      
        rc  = fat_get_fat_cluster(fs_info, cur_cln, &cur_cln);        
 202a0a0:	40 00 67 50 	call  2043de0 <fat_get_fat_cluster>            
 202a0a4:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
        if ( rc != RC_OK )                                            
 202a0a8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 202a0ac:	22 bf ff f0 	be,a   202a06c <fat_init_clusters_chain+0x28>  <== ALWAYS TAKEN
 202a0b0:	f2 07 bf fc 	ld  [ %fp + -4 ], %i1                          
        {                                                             
            free(buf);                                                
 202a0b4:	7f ff 7c 96 	call  200930c <free>                           <== NOT EXECUTED
 202a0b8:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 202a0bc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202a0c0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            return rc;                                                
        }                                                             
                                                                      
    }                                                                 
    free(buf);                                                        
 202a0c4:	b0 10 20 00 	clr  %i0                                       
 202a0c8:	7f ff 7c 91 	call  200930c <free>                           
 202a0cc:	90 10 00 1c 	mov  %i4, %o0                                  
    return rc;                                                        
}                                                                     
 202a0d0:	81 c7 e0 08 	ret                                            
 202a0d4:	81 e8 00 00 	restore                                        
    {                                                                 
        ret = fat_cluster_write(fs_info, cur_cln, buf);               
        if ( ret == -1 )                                              
        {                                                             
            free(buf);                                                
            return -1;                                                
 202a0d8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    while ((cur_cln & fs_info->vol.mask) < fs_info->vol.eoc_val)      
    {                                                                 
        ret = fat_cluster_write(fs_info, cur_cln, buf);               
        if ( ret == -1 )                                              
        {                                                             
            free(buf);                                                
 202a0dc:	7f ff 7c 8c 	call  200930c <free>                           <== NOT EXECUTED
 202a0e0:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 202a0e4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202a0e8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    uint32_t                cur_cln = start_cln;                      
    char                   *buf;                                      
                                                                      
    buf = calloc(fs_info->vol.bpc, sizeof(char));                     
    if ( buf == NULL )                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
 202a0ec:	40 00 7a 07 	call  2048908 <__errno>                        <== NOT EXECUTED
 202a0f0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202a0f4:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 202a0f8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202a0fc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202a100:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0202a418 <fat_init_volume_info>: * RC_OK on success, or -1 if error occured * and errno set appropriately */ int fat_init_volume_info(fat_fs_info_t *fs_info, const char *device) {
 202a418:	9d e3 bf 10 	save  %sp, -240, %sp                           
    ssize_t             ret = 0;                                      
    struct stat         stat_buf;                                     
    int                 i = 0;                                        
    rtems_bdbuf_buffer *block = NULL;                                 
                                                                      
    vol->fd = open(device, O_RDWR);                                   
 202a41c:	92 10 20 02 	mov  2, %o1                                    
 *     RC_OK on success, or -1 if error occured                       
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
fat_init_volume_info(fat_fs_info_t *fs_info, const char *device)      
{                                                                     
 202a420:	a2 10 00 18 	mov  %i0, %l1                                  
    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;                                 
 202a424:	c0 27 bf a4 	clr  [ %fp + -92 ]                             
                                                                      
    vol->fd = open(device, O_RDWR);                                   
 202a428:	7f ff 7f 88 	call  200a248 <open>                           
 202a42c:	90 10 00 19 	mov  %i1, %o0                                  
    if (vol->fd < 0)                                                  
 202a430:	80 a2 20 00 	cmp  %o0, 0                                    
 202a434:	06 80 01 bf 	bl  202ab30 <fat_init_volume_info+0x718>       <== NEVER TAKEN
 202a438:	d0 24 60 54 	st  %o0, [ %l1 + 0x54 ]                        
    {                                                                 
        rtems_set_errno_and_return_minus_one(ENXIO);                  
    }                                                                 
                                                                      
    rc = fstat(vol->fd, &stat_buf);                                   
 202a43c:	40 00 05 a0 	call  202babc <fstat>                          
 202a440:	92 07 bf b8 	add  %fp, -72, %o1                             
    if (rc != 0)                                                      
 202a444:	80 a2 20 00 	cmp  %o0, 0                                    
 202a448:	12 80 01 a4 	bne  202aad8 <fat_init_volume_info+0x6c0>      <== NEVER TAKEN
 202a44c:	c6 07 bf c4 	ld  [ %fp + -60 ], %g3                         
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(ENXIO);                  
    }                                                                 
                                                                      
    /* Must be a block device. */                                     
    if (!S_ISBLK(stat_buf.st_mode))                                   
 202a450:	05 00 00 3c 	sethi  %hi(0xf000), %g2                        
 202a454:	86 08 c0 02 	and  %g3, %g2, %g3                             
 202a458:	05 00 00 18 	sethi  %hi(0x6000), %g2                        
 202a45c:	80 a0 c0 02 	cmp  %g3, %g2                                  
 202a460:	12 80 01 9f 	bne  202aadc <fat_init_volume_info+0x6c4>      <== NEVER TAKEN
 202a464:	d0 06 20 54 	ld  [ %i0 + 0x54 ], %o0                        
static inline int rtems_disk_fd_get_disk_device(                      
  int fd,                                                             
  rtems_disk_device **dd_ptr                                          
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETDISKDEV, dd_ptr);                   
 202a468:	94 06 20 58 	add  %i0, 0x58, %o2                            
 202a46c:	13 10 01 10 	sethi  %hi(0x40044000), %o1                    
 202a470:	7f ff 7b ff 	call  200946c <ioctl>                          
 202a474:	92 12 62 09 	or  %o1, 0x209, %o1	! 40044209 <RAM_END+0x3dc44209>
        rtems_set_errno_and_return_minus_one(ENXIO);                  
    }                                                                 
                                                                      
    /* check that device is registred as block device and lock it */  
    rc = rtems_disk_fd_get_disk_device(vol->fd, &vol->dd);            
    if (rc != 0) {                                                    
 202a478:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 202a47c:	12 80 01 97 	bne  202aad8 <fat_init_volume_info+0x6c0>      <== NEVER TAKEN
 202a480:	92 10 20 00 	clr  %o1                                       
        rtems_set_errno_and_return_minus_one(ENXIO);                  
    }                                                                 
                                                                      
    /* Read boot record */                                            
    /* FIXME: Asserts FAT_MAX_BPB_SIZE < bdbuf block size */          
    sc = rtems_bdbuf_read( vol->dd, 0, &block);                       
 202a484:	d0 04 60 58 	ld  [ %l1 + 0x58 ], %o0                        
 202a488:	7f ff 71 95 	call  2006adc <rtems_bdbuf_read>               
 202a48c:	94 07 bf a4 	add  %fp, -92, %o2                             
    if (sc != RTEMS_SUCCESSFUL)                                       
 202a490:	80 a2 20 00 	cmp  %o0, 0                                    
 202a494:	12 80 01 9e 	bne  202ab0c <fat_init_volume_info+0x6f4>      <== NEVER TAKEN
 202a498:	d0 07 bf a4 	ld  [ %fp + -92 ], %o0                         
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one( EIO);                   
    }                                                                 
                                                                      
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
 202a49c:	c4 02 20 1c 	ld  [ %o0 + 0x1c ], %g2                        
 202a4a0:	c2 08 a0 20 	ldub  [ %g2 + 0x20 ], %g1                      
 202a4a4:	f8 08 a0 0b 	ldub  [ %g2 + 0xb ], %i4                       
 202a4a8:	c2 2f bf 92 	stb  %g1, [ %fp + -110 ]                       
 202a4ac:	c2 08 a0 21 	ldub  [ %g2 + 0x21 ], %g1                      
 202a4b0:	f6 08 a0 0c 	ldub  [ %g2 + 0xc ], %i3                       
 202a4b4:	c2 2f bf 97 	stb  %g1, [ %fp + -105 ]                       
 202a4b8:	c2 08 a0 22 	ldub  [ %g2 + 0x22 ], %g1                      
 202a4bc:	ec 08 a0 0d 	ldub  [ %g2 + 0xd ], %l6                       
 202a4c0:	c2 2f bf 96 	stb  %g1, [ %fp + -106 ]                       
 202a4c4:	c2 08 a0 23 	ldub  [ %g2 + 0x23 ], %g1                      
 202a4c8:	e6 08 a0 0e 	ldub  [ %g2 + 0xe ], %l3                       
 202a4cc:	c2 2f bf 8f 	stb  %g1, [ %fp + -113 ]                       
 202a4d0:	c2 08 a0 24 	ldub  [ %g2 + 0x24 ], %g1                      
 202a4d4:	e8 08 a0 0f 	ldub  [ %g2 + 0xf ], %l4                       
 202a4d8:	c2 2f bf 95 	stb  %g1, [ %fp + -107 ]                       
 202a4dc:	c2 08 a0 25 	ldub  [ %g2 + 0x25 ], %g1                      
 202a4e0:	fa 08 a0 10 	ldub  [ %g2 + 0x10 ], %i5                      
 202a4e4:	c2 2f bf 94 	stb  %g1, [ %fp + -108 ]                       
 202a4e8:	c2 08 a0 26 	ldub  [ %g2 + 0x26 ], %g1                      
 202a4ec:	ea 08 a0 11 	ldub  [ %g2 + 0x11 ], %l5                      
 202a4f0:	c2 2f bf 93 	stb  %g1, [ %fp + -109 ]                       
 202a4f4:	c2 08 a0 27 	ldub  [ %g2 + 0x27 ], %g1                      
 202a4f8:	f2 08 a0 12 	ldub  [ %g2 + 0x12 ], %i1                      
 202a4fc:	c2 2f bf 9f 	stb  %g1, [ %fp + -97 ]                        
 202a500:	c2 08 a0 28 	ldub  [ %g2 + 0x28 ], %g1                      
 202a504:	e0 08 a0 13 	ldub  [ %g2 + 0x13 ], %l0                      
 202a508:	c2 2f bf 87 	stb  %g1, [ %fp + -121 ]                       
 202a50c:	c2 08 a0 2c 	ldub  [ %g2 + 0x2c ], %g1                      
 202a510:	ee 08 a0 14 	ldub  [ %g2 + 0x14 ], %l7                      
 202a514:	e4 08 a0 16 	ldub  [ %g2 + 0x16 ], %l2                      
 202a518:	f4 08 a0 17 	ldub  [ %g2 + 0x17 ], %i2                      
 202a51c:	c2 2f bf 7f 	stb  %g1, [ %fp + -129 ]                       
 202a520:	c2 08 a0 2d 	ldub  [ %g2 + 0x2d ], %g1                      
 202a524:	c2 2f bf 7e 	stb  %g1, [ %fp + -130 ]                       
 202a528:	c2 08 a0 2e 	ldub  [ %g2 + 0x2e ], %g1                      
 202a52c:	c2 2f bf 7d 	stb  %g1, [ %fp + -131 ]                       
 202a530:	c2 08 a0 2f 	ldub  [ %g2 + 0x2f ], %g1                      
 202a534:	c2 2f bf 77 	stb  %g1, [ %fp + -137 ]                       
 202a538:	c2 08 a0 30 	ldub  [ %g2 + 0x30 ], %g1                      
 202a53c:	c4 08 a0 31 	ldub  [ %g2 + 0x31 ], %g2                      
 202a540:	c2 2f bf 91 	stb  %g1, [ %fp + -111 ]                       
                                                                      
    sc = rtems_bdbuf_release( block);                                 
 202a544:	7f ff 71 ed 	call  2006cf8 <rtems_bdbuf_release>            
 202a548:	c4 2f bf 90 	stb  %g2, [ %fp + -112 ]                       
    if (sc != RTEMS_SUCCESSFUL)                                       
 202a54c:	80 a2 20 00 	cmp  %o0, 0                                    
 202a550:	12 80 01 6f 	bne  202ab0c <fat_init_volume_info+0x6f4>      <== NEVER TAKEN
 202a554:	b6 0e e0 ff 	and  %i3, 0xff, %i3                            
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    /* Evaluate boot record */                                        
    vol->bps = FAT_GET_BR_BYTES_PER_SECTOR(boot_rec);                 
 202a558:	b8 0f 20 ff 	and  %i4, 0xff, %i4                            
 202a55c:	b7 2e e0 08 	sll  %i3, 8, %i3                               
 202a560:	b8 16 c0 1c 	or  %i3, %i4, %i4                              
                                                                      
    if ( (vol->bps != 512)  &&                                        
 202a564:	93 2f 20 10 	sll  %i4, 0x10, %o1                            
 202a568:	85 32 60 10 	srl  %o1, 0x10, %g2                            
 202a56c:	80 a0 a4 00 	cmp  %g2, 0x400                                
 202a570:	12 80 00 bc 	bne  202a860 <fat_init_volume_info+0x448>      <== ALWAYS TAKEN
 202a574:	f8 34 40 00 	sth  %i4, [ %l1 ]                              
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
 202a578:	85 32 60 19 	srl  %o1, 0x19, %g2                            <== NOT EXECUTED
 202a57c:	80 88 a0 01 	btst  1, %g2                                   
 202a580:	12 80 00 0a 	bne  202a5a8 <fat_init_volume_info+0x190>      <== ALWAYS TAKEN
 202a584:	c0 2c 60 03 	clrb  [ %l1 + 3 ]                              
 *     RC_OK on success, or -1 if error occured                       
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
fat_init_volume_info(fat_fs_info_t *fs_info, const char *device)      
{                                                                     
 202a588:	10 80 00 03 	b  202a594 <fat_init_volume_info+0x17c>        <== NOT EXECUTED
 202a58c:	86 10 20 01 	mov  1, %g3                                    <== NOT EXECUTED
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
 202a590:	86 10 00 04 	mov  %g4, %g3                                  <== NOT EXECUTED
         i >>= 1, vol->sec_mul++);                                    
 202a594:	85 38 a0 01 	sra  %g2, 1, %g2                               <== NOT EXECUTED
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one( EINVAL );               
    }                                                                 
                                                                      
    for (vol->sec_mul = 0, i = (vol->bps >> FAT_SECTOR512_BITS); (i & 1) == 0;
 202a598:	80 88 a0 01 	btst  1, %g2                                   <== NOT EXECUTED
 202a59c:	02 bf ff fd 	be  202a590 <fat_init_volume_info+0x178>       <== NOT EXECUTED
 202a5a0:	88 00 e0 01 	add  %g3, 1, %g4                               <== NOT EXECUTED
 202a5a4:	c6 2c 60 03 	stb  %g3, [ %l1 + 3 ]                          <== NOT EXECUTED
         i >>= 1, vol->sec_mul++);                                    
    for (vol->sec_log2 = 0, i = vol->bps; (i & 1) == 0;               
 202a5a8:	c0 2c 60 02 	clrb  [ %l1 + 2 ]                              
 202a5ac:	93 32 60 10 	srl  %o1, 0x10, %o1                            
 202a5b0:	86 10 20 00 	clr  %g3                                       
 202a5b4:	80 8f 20 01 	btst  1, %i4                                   
 202a5b8:	12 80 00 08 	bne  202a5d8 <fat_init_volume_info+0x1c0>      <== NEVER TAKEN
 202a5bc:	84 10 00 09 	mov  %o1, %g2                                  
         i >>= 1, vol->sec_log2++);                                   
 202a5c0:	85 38 a0 01 	sra  %g2, 1, %g2                               
 202a5c4:	88 00 e0 01 	add  %g3, 1, %g4                               
        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;               
 202a5c8:	80 88 a0 01 	btst  1, %g2                                   
 202a5cc:	02 bf ff fd 	be  202a5c0 <fat_init_volume_info+0x1a8>       
 202a5d0:	86 10 00 04 	mov  %g4, %g3                                  
 202a5d4:	c8 2c 60 02 	stb  %g4, [ %l1 + 2 ]                          
    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)                                                
 202a5d8:	b8 8d a0 ff 	andcc  %l6, 0xff, %i4                          
 202a5dc:	02 80 01 36 	be  202aab4 <fat_init_volume_info+0x69c>       <== NEVER TAKEN
 202a5e0:	ec 2c 60 04 	stb  %l6, [ %l1 + 4 ]                          
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
 202a5e4:	c0 2c 60 05 	clrb  [ %l1 + 5 ]                              
 202a5e8:	80 8d a0 01 	btst  1, %l6                                   
 202a5ec:	12 80 01 46 	bne  202ab04 <fat_init_volume_info+0x6ec>      <== NEVER TAKEN
 202a5f0:	84 10 00 1c 	mov  %i4, %g2                                  
 202a5f4:	10 80 00 03 	b  202a600 <fat_init_volume_info+0x1e8>        
 202a5f8:	86 10 20 01 	mov  1, %g3                                    
 202a5fc:	86 10 00 04 	mov  %g4, %g3                                  <== NOT EXECUTED
         i >>= 1, vol->spc_log2++);                                   
 202a600:	85 38 a0 01 	sra  %g2, 1, %g2                               
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
 202a604:	80 88 a0 01 	btst  1, %g2                                   
 202a608:	02 bf ff fd 	be  202a5fc <fat_init_volume_info+0x1e4>       <== NEVER TAKEN
 202a60c:	88 00 e0 01 	add  %g3, 1, %g4                               
 202a610:	c6 2c 60 05 	stb  %g3, [ %l1 + 5 ]                          
 202a614:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
         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)
 202a618:	87 2a 40 03 	sll  %o1, %g3, %g3                             
 202a61c:	89 28 e0 10 	sll  %g3, 0x10, %g4                            
 202a620:	05 20 00 00 	sethi  %hi(0x80000000), %g2                    
 202a624:	80 a1 00 02 	cmp  %g4, %g2                                  
 202a628:	18 80 01 23 	bgu  202aab4 <fat_init_volume_info+0x69c>      <== NEVER TAKEN
 202a62c:	c6 34 60 06 	sth  %g3, [ %l1 + 6 ]                          
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
 202a630:	c0 2c 60 08 	clrb  [ %l1 + 8 ]                              
 202a634:	05 00 00 3f 	sethi  %hi(0xfc00), %g2                        
 202a638:	88 10 20 01 	mov  1, %g4                                    
 202a63c:	84 10 a3 ff 	or  %g2, 0x3ff, %g2                            
 202a640:	80 88 e0 01 	btst  1, %g3                                   
 202a644:	02 80 00 05 	be  202a658 <fat_init_volume_info+0x240>       <== ALWAYS TAKEN
 202a648:	84 08 c0 02 	and  %g3, %g2, %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)) /
 202a64c:	10 80 00 09 	b  202a670 <fat_init_volume_info+0x258>        <== NOT EXECUTED
 202a650:	84 02 7f ff 	add  %o1, -1, %g2                              <== NOT EXECUTED
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
 202a654:	88 10 00 03 	mov  %g3, %g4                                  
         i >>= 1, vol->bpc_log2++);                                   
 202a658:	85 38 a0 01 	sra  %g2, 1, %g2                               
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->bpc_log2 = 0, i = vol->bpc; (i & 1) == 0;               
 202a65c:	80 88 a0 01 	btst  1, %g2                                   
 202a660:	02 bf ff fd 	be  202a654 <fat_init_volume_info+0x23c>       
 202a664:	86 01 20 01 	add  %g4, 1, %g3                               
 202a668:	c8 2c 60 08 	stb  %g4, [ %l1 + 8 ]                          
    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)) /
 202a66c:	84 02 7f ff 	add  %o1, -1, %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);                         
 202a670:	fa 2c 60 09 	stb  %i5, [ %l1 + 9 ]                          
    vol->fat_loc = FAT_GET_BR_RESERVED_SECTORS_NUM(boot_rec);         
 202a674:	a8 0d 20 ff 	and  %l4, 0xff, %l4                            
 202a678:	a6 0c e0 ff 	and  %l3, 0xff, %l3                            
 202a67c:	a9 2d 20 08 	sll  %l4, 8, %l4                               
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
 202a680:	b2 0e 60 ff 	and  %i1, 0xff, %i1                            
                                                                      
    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);         
 202a684:	a6 15 00 13 	or  %l4, %l3, %l3                              
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
 202a688:	b3 2e 60 08 	sll  %i1, 8, %i1                               
                                                                      
    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);         
 202a68c:	e6 34 60 14 	sth  %l3, [ %l1 + 0x14 ]                       
                                                                      
    vol->rdir_entrs = FAT_GET_BR_FILES_PER_ROOT_DIR(boot_rec);        
 202a690:	aa 0d 60 ff 	and  %l5, 0xff, %l5                            
 202a694:	aa 16 40 15 	or  %i1, %l5, %l5                              
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
 202a698:	91 2d 60 10 	sll  %l5, 0x10, %o0                            
         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);        
 202a69c:	ea 34 60 20 	sth  %l5, [ %l1 + 0x20 ]                       
                                                                      
    /* calculate the count of sectors occupied by the root directory */
    vol->rdir_secs = ((vol->rdir_entrs * FAT_DIRENTRY_SIZE) + (vol->bps - 1)) /
 202a6a0:	91 32 20 0b 	srl  %o0, 0xb, %o0                             
 202a6a4:	40 00 dd 80 	call  2061ca4 <.div>                           
 202a6a8:	90 02 00 02 	add  %o0, %g2, %o0                             
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
 202a6ac:	c4 0c 60 02 	ldub  [ %l1 + 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)) /
 202a6b0:	d0 24 60 24 	st  %o0, [ %l1 + 0x24 ]                        
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
 202a6b4:	85 2a 00 02 	sll  %o0, %g2, %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)) /
 202a6b8:	b6 10 00 08 	mov  %o0, %i3                                  
                     vol->bps;                                        
                                                                      
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
 202a6bc:	a4 0c a0 ff 	and  %l2, 0xff, %l2                            
 202a6c0:	90 0e a0 ff 	and  %i2, 0xff, %o0                            
 202a6c4:	91 2a 20 08 	sll  %o0, 8, %o0                               
 202a6c8:	90 12 00 12 	or  %o0, %l2, %o0                              
 202a6cc:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 202a6d0:	80 a2 20 00 	cmp  %o0, 0                                    
 202a6d4:	02 80 00 e4 	be  202aa64 <fat_init_volume_info+0x64c>       <== NEVER TAKEN
 202a6d8:	c4 24 60 28 	st  %g2, [ %l1 + 0x28 ]                        
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT(boot_rec);       
 202a6dc:	91 32 20 10 	srl  %o0, 0x10, %o0                            
 202a6e0:	d0 24 60 18 	st  %o0, [ %l1 + 0x18 ]                        
    else                                                              
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT32(boot_rec);     
                                                                      
    vol->data_fsec = vol->fat_loc + vol->fats * vol->fat_length +     
 202a6e4:	92 0f 60 ff 	and  %i5, 0xff, %o1                            
 202a6e8:	7f ff 62 1f 	call  2002f64 <.umul>                          
 202a6ec:	a7 2c e0 10 	sll  %l3, 0x10, %l3                            
 202a6f0:	a7 34 e0 10 	srl  %l3, 0x10, %l3                            
 202a6f4:	90 02 00 13 	add  %o0, %l3, %o0                             
 202a6f8:	b6 02 00 1b 	add  %o0, %i3, %i3                             
                     vol->rdir_secs;                                  
                                                                      
    /* for  FAT12/16 root dir starts at(sector) */                    
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
 202a6fc:	d0 24 60 1c 	st  %o0, [ %l1 + 0x1c ]                        
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
 202a700:	90 0d e0 ff 	and  %l7, 0xff, %o0                            
 202a704:	a0 0c 20 ff 	and  %l0, 0xff, %l0                            
 202a708:	91 2a 20 08 	sll  %o0, 8, %o0                               
 202a70c:	90 12 00 10 	or  %o0, %l0, %o0                              
 202a710:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 202a714:	80 a2 20 00 	cmp  %o0, 0                                    
 202a718:	02 80 00 c7 	be  202aa34 <fat_init_volume_info+0x61c>       <== NEVER TAKEN
 202a71c:	f6 24 60 30 	st  %i3, [ %l1 + 0x30 ]                        
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec);     
 202a720:	91 32 20 10 	srl  %o0, 0x10, %o0                            
 202a724:	d0 24 60 2c 	st  %o0, [ %l1 + 0x2c ]                        
    else                                                              
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM32(boot_rec);     
                                                                      
    data_secs = vol->tot_secs - vol->data_fsec;                       
                                                                      
    vol->data_cls = data_secs / vol->spc;                             
 202a728:	90 22 00 1b 	sub  %o0, %i3, %o0                             
 202a72c:	40 00 dd 5c 	call  2061c9c <.udiv>                          
 202a730:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
    /* determine FAT type at least */                                 
    if ( vol->data_cls < FAT_FAT12_MAX_CLN)                           
 202a734:	80 a2 2f f4 	cmp  %o0, 0xff4                                
 202a738:	18 80 00 56 	bgu  202a890 <fat_init_volume_info+0x478>      <== NEVER TAKEN
 202a73c:	d0 24 60 34 	st  %o0, [ %l1 + 0x34 ]                        
    {                                                                 
        vol->type = FAT_FAT12;                                        
 202a740:	84 10 20 01 	mov  1, %g2                                    
 202a744:	c4 2c 60 0a 	stb  %g2, [ %l1 + 0xa ]                        
        vol->mask = FAT_FAT12_MASK;                                   
 202a748:	84 10 2f ff 	mov  0xfff, %g2                                
 202a74c:	c4 24 60 0c 	st  %g2, [ %l1 + 0xc ]                         
        vol->eoc_val = FAT_FAT12_EOC;                                 
 202a750:	84 10 2f f8 	mov  0xff8, %g2                                
 202a754:	c4 24 60 10 	st  %g2, [ %l1 + 0x10 ]                        
    else                                                              
    {                                                                 
        vol->rdir_cl = 0;                                             
        vol->mirror = 0;                                              
        vol->afat = 0;                                                
        vol->free_cls = 0xFFFFFFFF;                                   
 202a758:	82 10 3f ff 	mov  -1, %g1                                   
            }                                                         
        }                                                             
    }                                                                 
    else                                                              
    {                                                                 
        vol->rdir_cl = 0;                                             
 202a75c:	c0 24 60 38 	clr  [ %l1 + 0x38 ]                            
        vol->mirror = 0;                                              
 202a760:	c0 2c 60 48 	clrb  [ %l1 + 0x48 ]                           
        vol->afat = 0;                                                
 202a764:	c0 2c 60 50 	clrb  [ %l1 + 0x50 ]                           
        vol->free_cls = 0xFFFFFFFF;                                   
 202a768:	c2 24 60 40 	st  %g1, [ %l1 + 0x40 ]                        
        vol->next_cl = 0xFFFFFFFF;                                    
 202a76c:	c2 24 60 44 	st  %g1, [ %l1 + 0x44 ]                        
    }                                                                 
                                                                      
    _fat_block_release(fs_info);                                      
 202a770:	7f ff fd fe 	call  2029f68 <_fat_block_release>             
 202a774:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
 202a778:	d2 04 60 18 	ld  [ %l1 + 0x18 ], %o1                        
 202a77c:	7f ff 61 fa 	call  2002f64 <.umul>                          
 202a780:	d0 0c 60 50 	ldub  [ %l1 + 0x50 ], %o0                      
 202a784:	c4 14 60 14 	lduh  [ %l1 + 0x14 ], %g2                      
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
 202a788:	92 10 20 0c 	mov  0xc, %o1                                  
        vol->next_cl = 0xFFFFFFFF;                                    
    }                                                                 
                                                                      
    _fat_block_release(fs_info);                                      
                                                                      
    vol->afat_loc = vol->fat_loc + vol->fat_length * vol->afat;       
 202a78c:	84 02 00 02 	add  %o0, %g2, %g2                             
                                                                      
    /* set up collection of fat-files fd */                           
    fs_info->vhash = calloc(FAT_HASH_SIZE, sizeof(rtems_chain_control));
 202a790:	90 10 20 02 	mov  2, %o0                                    
 202a794:	7f ff 79 fd 	call  2008f88 <calloc>                         
 202a798:	c4 24 60 4c 	st  %g2, [ %l1 + 0x4c ]                        
    if ( fs_info->vhash == NULL )                                     
 202a79c:	80 a2 20 00 	cmp  %o0, 0                                    
 202a7a0:	02 80 01 0d 	be  202abd4 <fat_init_volume_info+0x7bc>       <== NEVER TAKEN
 202a7a4:	d0 24 60 60 	st  %o0, [ %l1 + 0x60 ]                        
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 );                        
 202a7a8:	88 02 20 04 	add  %o0, 4, %g4                               
 202a7ac:	84 02 20 0c 	add  %o0, 0xc, %g2                             
 202a7b0:	86 02 20 10 	add  %o0, 0x10, %g3                            
                                                                      
  head->next = tail;                                                  
 202a7b4:	c8 22 00 00 	st  %g4, [ %o0 ]                               
  head->previous = NULL;                                              
 202a7b8:	c0 22 20 04 	clr  [ %o0 + 4 ]                               
  tail->previous = head;                                              
 202a7bc:	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;                                                  
 202a7c0:	c6 22 20 0c 	st  %g3, [ %o0 + 0xc ]                         
  head->previous = NULL;                                              
 202a7c4:	c0 22 20 10 	clr  [ %o0 + 0x10 ]                            
  tail->previous = head;                                              
 202a7c8:	c4 22 20 14 	st  %g2, [ %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));
 202a7cc:	92 10 20 0c 	mov  0xc, %o1                                  
 202a7d0:	7f ff 79 ee 	call  2008f88 <calloc>                         
 202a7d4:	90 10 20 02 	mov  2, %o0                                    
    if ( fs_info->rhash == NULL )                                     
 202a7d8:	80 a2 20 00 	cmp  %o0, 0                                    
 202a7dc:	02 80 01 07 	be  202abf8 <fat_init_volume_info+0x7e0>       <== NEVER TAKEN
 202a7e0:	d0 24 60 64 	st  %o0, [ %l1 + 0x64 ]                        
    }                                                                 
    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;        
 202a7e4:	c4 0c 60 03 	ldub  [ %l1 + 3 ], %g2                         
 202a7e8:	f8 04 60 2c 	ld  [ %l1 + 0x2c ], %i4                        
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 );                        
 202a7ec:	86 02 20 0c 	add  %o0, 0xc, %g3                             
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 202a7f0:	c0 22 20 04 	clr  [ %o0 + 4 ]                               
  tail->previous = head;                                              
 202a7f4:	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;                                              
 202a7f8:	c0 22 20 10 	clr  [ %o0 + 0x10 ]                            
  tail->previous = head;                                              
 202a7fc:	c6 22 20 14 	st  %g3, [ %o0 + 0x14 ]                        
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 );                        
 202a800:	88 02 20 10 	add  %o0, 0x10, %g4                            
 202a804:	ba 02 20 04 	add  %o0, 4, %i5                               
                                                                      
  head->next = tail;                                                  
 202a808:	c8 22 20 0c 	st  %g4, [ %o0 + 0xc ]                         
 202a80c:	fa 22 00 00 	st  %i5, [ %o0 ]                               
 202a810:	85 2f 00 02 	sll  %i4, %g2, %g2                             
 202a814:	85 28 a0 04 	sll  %g2, 4, %g2                               
 202a818:	c4 24 60 74 	st  %g2, [ %l1 + 0x74 ]                        
        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;                
 202a81c:	84 10 21 00 	mov  0x100, %g2                                
    fs_info->uino_base = (vol->tot_secs << vol->sec_mul) << 4;        
    fs_info->index = 0;                                               
 202a820:	c0 24 60 6c 	clr  [ %l1 + 0x6c ]                            
        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;                
 202a824:	c4 24 60 70 	st  %g2, [ %l1 + 0x70 ]                        
    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));
 202a828:	90 10 21 00 	mov  0x100, %o0                                
 202a82c:	7f ff 79 d7 	call  2008f88 <calloc>                         
 202a830:	92 10 20 01 	mov  1, %o1                                    
    if ( fs_info->uino == NULL )                                      
 202a834:	80 a2 20 00 	cmp  %o0, 0                                    
 202a838:	02 80 00 c4 	be  202ab48 <fat_init_volume_info+0x730>       <== NEVER TAKEN
 202a83c:	d0 24 60 68 	st  %o0, [ %l1 + 0x68 ]                        
        close(vol->fd);                                               
        free(fs_info->vhash);                                         
        free(fs_info->rhash);                                         
        rtems_set_errno_and_return_minus_one( ENOMEM );               
    }                                                                 
    fs_info->sec_buf = (uint8_t *)calloc(vol->bps, sizeof(uint8_t));  
 202a840:	d0 14 40 00 	lduh  [ %l1 ], %o0                             
 202a844:	7f ff 79 d1 	call  2008f88 <calloc>                         
 202a848:	92 10 20 01 	mov  1, %o1                                    
    if (fs_info->sec_buf == NULL)                                     
 202a84c:	80 a2 20 00 	cmp  %o0, 0                                    
 202a850:	02 80 00 d2 	be  202ab98 <fat_init_volume_info+0x780>       <== NEVER TAKEN
 202a854:	d0 24 60 84 	st  %o0, [ %l1 + 0x84 ]                        
        free(fs_info->uino);                                          
        rtems_set_errno_and_return_minus_one( ENOMEM );               
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
 202a858:	81 c7 e0 08 	ret                                            
 202a85c:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    /* Evaluate boot record */                                        
    vol->bps = FAT_GET_BR_BYTES_PER_SECTOR(boot_rec);                 
                                                                      
    if ( (vol->bps != 512)  &&                                        
 202a860:	80 a0 a2 00 	cmp  %g2, 0x200                                
 202a864:	22 bf ff 46 	be,a   202a57c <fat_init_volume_info+0x164>    <== ALWAYS TAKEN
 202a868:	85 32 60 19 	srl  %o1, 0x19, %g2                            
         (vol->bps != 1024) &&                                        
 202a86c:	80 a0 a8 00 	cmp  %g2, 0x800                                <== NOT EXECUTED
 202a870:	22 bf ff 46 	be,a   202a588 <fat_init_volume_info+0x170>    <== NOT EXECUTED
 202a874:	85 32 60 19 	srl  %o1, 0x19, %g2                            <== NOT EXECUTED
         (vol->bps != 2048) &&                                        
 202a878:	07 00 00 04 	sethi  %hi(0x1000), %g3                        <== NOT EXECUTED
 202a87c:	80 a0 80 03 	cmp  %g2, %g3                                  <== NOT EXECUTED
 202a880:	12 80 00 8d 	bne  202aab4 <fat_init_volume_info+0x69c>      <== NOT EXECUTED
 202a884:	85 32 60 19 	srl  %o1, 0x19, %g2                            <== NOT EXECUTED
 202a888:	10 bf ff 43 	b  202a594 <fat_init_volume_info+0x17c>        <== NOT EXECUTED
 202a88c:	86 10 20 01 	mov  1, %g3                                    <== NOT EXECUTED
        vol->mask = FAT_FAT12_MASK;                                   
        vol->eoc_val = FAT_FAT12_EOC;                                 
    }                                                                 
    else                                                              
    {                                                                 
        if ( vol->data_cls < FAT_FAT16_MAX_CLN)                       
 202a890:	05 00 00 3f 	sethi  %hi(0xfc00), %g2                        <== NOT EXECUTED
 202a894:	86 10 a3 f4 	or  %g2, 0x3f4, %g3	! fff4 <PROM_START+0xfff4> <== NOT EXECUTED
 202a898:	80 a2 00 03 	cmp  %o0, %g3                                  <== NOT EXECUTED
 202a89c:	08 80 00 7e 	bleu  202aa94 <fat_init_volume_info+0x67c>     <== NOT EXECUTED
 202a8a0:	86 10 a3 ff 	or  %g2, 0x3ff, %g3                            <== NOT EXECUTED
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
 202a8a4:	c2 0f bf 87 	ldub  [ %fp + -121 ], %g1                      <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
 202a8a8:	f8 0f bf 7e 	ldub  [ %fp + -130 ], %i4                      <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
 202a8ac:	84 08 7f 80 	and  %g1, -128, %g2                            <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
 202a8b0:	f6 0f bf 7f 	ldub  [ %fp + -129 ], %i3                      <== NOT EXECUTED
 202a8b4:	c8 0f bf 7d 	ldub  [ %fp + -131 ], %g4                      <== NOT EXECUTED
 202a8b8:	c2 0f bf 77 	ldub  [ %fp + -137 ], %g1                      <== NOT EXECUTED
 202a8bc:	b9 2f 20 08 	sll  %i4, 8, %i4                               <== NOT EXECUTED
            vol->eoc_val = FAT_FAT16_EOC;                             
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
            vol->mask = FAT_FAT32_MASK;                               
 202a8c0:	07 03 ff ff 	sethi  %hi(0xffffc00), %g3                     <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
 202a8c4:	89 29 20 10 	sll  %g4, 0x10, %g4                            <== NOT EXECUTED
            vol->eoc_val = FAT_FAT16_EOC;                             
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
            vol->mask = FAT_FAT32_MASK;                               
 202a8c8:	ba 10 e3 ff 	or  %g3, 0x3ff, %i5                            <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
 202a8cc:	88 17 00 04 	or  %i4, %g4, %g4                              <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
            vol->mask = FAT_FAT32_MASK;                               
            vol->eoc_val = FAT_FAT32_EOC;                             
 202a8d0:	86 10 e3 f8 	or  %g3, 0x3f8, %g3                            <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
 202a8d4:	88 11 00 1b 	or  %g4, %i3, %g4                              <== NOT EXECUTED
 202a8d8:	b9 28 60 18 	sll  %g1, 0x18, %i4                            <== NOT EXECUTED
            vol->mask = FAT_FAT16_MASK;                               
            vol->eoc_val = FAT_FAT16_EOC;                             
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
 202a8dc:	b6 10 20 04 	mov  4, %i3                                    <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
 202a8e0:	88 11 00 1c 	or  %g4, %i4, %g4                              <== NOT EXECUTED
            vol->mask = FAT_FAT16_MASK;                               
            vol->eoc_val = FAT_FAT16_EOC;                             
        }                                                             
        else                                                          
        {                                                             
            vol->type = FAT_FAT32;                                    
 202a8e4:	f6 2c 60 0a 	stb  %i3, [ %l1 + 0xa ]                        <== NOT EXECUTED
            vol->mask = FAT_FAT32_MASK;                               
 202a8e8:	fa 24 60 0c 	st  %i5, [ %l1 + 0xc ]                         <== NOT EXECUTED
            vol->eoc_val = FAT_FAT32_EOC;                             
 202a8ec:	c6 24 60 10 	st  %g3, [ %l1 + 0x10 ]                        <== NOT EXECUTED
        }                                                             
    }                                                                 
                                                                      
    if (vol->type == FAT_FAT32)                                       
    {                                                                 
        vol->rdir_cl = FAT_GET_BR_FAT32_ROOT_CLUSTER(boot_rec);       
 202a8f0:	c8 24 60 38 	st  %g4, [ %l1 + 0x38 ]                        <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
        if (vol->mirror)                                              
 202a8f4:	80 88 a0 80 	btst  0x80, %g2                                <== NOT EXECUTED
 202a8f8:	02 80 00 81 	be  202aafc <fat_init_volume_info+0x6e4>       <== NOT EXECUTED
 202a8fc:	c4 2c 60 48 	stb  %g2, [ %l1 + 0x48 ]                       <== NOT EXECUTED
            vol->afat = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_FAT_NUM;
 202a900:	c2 0f bf 87 	ldub  [ %fp + -121 ], %g1                      <== NOT EXECUTED
 202a904:	84 08 60 0f 	and  %g1, 0xf, %g2                             <== NOT EXECUTED
 202a908:	c4 2c 60 50 	stb  %g2, [ %l1 + 0x50 ]                       <== NOT EXECUTED
        else                                                          
            vol->afat = 0;                                            
                                                                      
        vol->info_sec = FAT_GET_BR_FAT32_FS_INFO_SECTOR(boot_rec);    
 202a90c:	c4 0f bf 90 	ldub  [ %fp + -112 ], %g2                      <== NOT EXECUTED
 202a910:	c6 0f bf 91 	ldub  [ %fp + -111 ], %g3                      <== NOT EXECUTED
 202a914:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 202a918:	84 10 80 03 	or  %g2, %g3, %g2                              <== NOT EXECUTED
 202a91c:	c4 34 60 3c 	sth  %g2, [ %l1 + 0x3c ]                       <== NOT EXECUTED
        if( vol->info_sec == 0 )                                      
 202a920:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 202a924:	93 30 a0 10 	srl  %g2, 0x10, %o1                            <== NOT EXECUTED
 202a928:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
 202a92c:	02 80 00 62 	be  202aab4 <fat_init_volume_info+0x69c>       <== NOT EXECUTED
 202a930:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
            close(vol->fd);                                           
            rtems_set_errno_and_return_minus_one( EINVAL );           
        }                                                             
        else                                                          
        {                                                             
            ret = _fat_block_read(fs_info, vol->info_sec , 0,         
 202a934:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 202a938:	96 10 20 04 	mov  4, %o3                                    <== NOT EXECUTED
 202a93c:	7f ff fd 0c 	call  2029d6c <_fat_block_read>                <== NOT EXECUTED
 202a940:	98 07 bf a8 	add  %fp, -88, %o4                             <== NOT EXECUTED
                                  FAT_FSI_LEADSIG_SIZE, fs_info_sector);
            if ( ret < 0 )                                            
 202a944:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 202a948:	06 80 00 8f 	bl  202ab84 <fat_init_volume_info+0x76c>       <== NOT EXECUTED
 202a94c:	c4 0f bf ab 	ldub  [ %fp + -85 ], %g2                       <== NOT EXECUTED
            {                                                         
                close(vol->fd);                                       
                return -1;                                            
            }                                                         
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
 202a950:	c6 0f bf a9 	ldub  [ %fp + -87 ], %g3                       <== NOT EXECUTED
 202a954:	fa 0f bf aa 	ldub  [ %fp + -86 ], %i5                       <== NOT EXECUTED
 202a958:	c8 0f bf a8 	ldub  [ %fp + -88 ], %g4                       <== NOT EXECUTED
 202a95c:	85 28 a0 18 	sll  %g2, 0x18, %g2                            <== NOT EXECUTED
 202a960:	87 28 e0 08 	sll  %g3, 8, %g3                               <== NOT EXECUTED
 202a964:	bb 2f 60 10 	sll  %i5, 0x10, %i5                            <== NOT EXECUTED
 202a968:	86 10 c0 1d 	or  %g3, %i5, %g3                              <== NOT EXECUTED
 202a96c:	86 10 c0 04 	or  %g3, %g4, %g3                              <== NOT EXECUTED
 202a970:	86 10 c0 02 	or  %g3, %g2, %g3                              <== NOT EXECUTED
 202a974:	05 10 58 54 	sethi  %hi(0x41615000), %g2                    <== NOT EXECUTED
 202a978:	84 10 a2 52 	or  %g2, 0x252, %g2	! 41615252 <RAM_END+0x3f215252><== NOT EXECUTED
 202a97c:	80 a0 c0 02 	cmp  %g3, %g2                                  <== NOT EXECUTED
 202a980:	12 80 00 4b 	bne  202aaac <fat_init_volume_info+0x694>      <== NOT EXECUTED
 202a984:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
                close(vol->fd);                                       
                rtems_set_errno_and_return_minus_one( EINVAL );       
            }                                                         
            else                                                      
            {                                                         
                ret = _fat_block_read(fs_info, vol->info_sec , FAT_FSI_INFO,
 202a988:	d2 14 60 3c 	lduh  [ %l1 + 0x3c ], %o1                      <== NOT EXECUTED
 202a98c:	94 10 21 e4 	mov  0x1e4, %o2                                <== NOT EXECUTED
 202a990:	96 10 20 0c 	mov  0xc, %o3                                  <== NOT EXECUTED
 202a994:	7f ff fc f6 	call  2029d6c <_fat_block_read>                <== NOT EXECUTED
 202a998:	98 07 bf a8 	add  %fp, -88, %o4                             <== NOT EXECUTED
                                      FAT_USEFUL_INFO_SIZE, fs_info_sector);
                if ( ret < 0 )                                        
 202a99c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 202a9a0:	06 80 00 77 	bl  202ab7c <fat_init_volume_info+0x764>       <== NOT EXECUTED
 202a9a4:	fa 0f bf b0 	ldub  [ %fp + -80 ], %i5                       <== NOT EXECUTED
                    _fat_block_release(fs_info);                      
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 202a9a8:	c8 0f bf ad 	ldub  [ %fp + -83 ], %g4                       <== NOT EXECUTED
 202a9ac:	f2 0f bf ae 	ldub  [ %fp + -82 ], %i1                       <== NOT EXECUTED
 202a9b0:	f4 0f bf ac 	ldub  [ %fp + -84 ], %i2                       <== NOT EXECUTED
 202a9b4:	f6 0f bf af 	ldub  [ %fp + -81 ], %i3                       <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
 202a9b8:	f8 0f bf b1 	ldub  [ %fp + -79 ], %i4                       <== NOT EXECUTED
 202a9bc:	c4 0f bf b2 	ldub  [ %fp + -78 ], %g2                       <== NOT EXECUTED
 202a9c0:	c6 0f bf b3 	ldub  [ %fp + -77 ], %g3                       <== NOT EXECUTED
                    _fat_block_release(fs_info);                      
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 202a9c4:	89 29 20 08 	sll  %g4, 8, %g4                               <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
 202a9c8:	87 28 e0 18 	sll  %g3, 0x18, %g3                            <== NOT EXECUTED
                    _fat_block_release(fs_info);                      
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 202a9cc:	b3 2e 60 10 	sll  %i1, 0x10, %i1                            <== NOT EXECUTED
 202a9d0:	b7 2e e0 18 	sll  %i3, 0x18, %i3                            <== NOT EXECUTED
 202a9d4:	88 11 00 19 	or  %g4, %i1, %g4                              <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
 202a9d8:	b9 2f 20 08 	sll  %i4, 8, %i4                               <== NOT EXECUTED
                    _fat_block_release(fs_info);                      
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 202a9dc:	88 11 00 1a 	or  %g4, %i2, %g4                              <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
 202a9e0:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
                    _fat_block_release(fs_info);                      
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 202a9e4:	88 11 00 1b 	or  %g4, %i3, %g4                              <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
 202a9e8:	84 17 00 02 	or  %i4, %g2, %g2                              <== NOT EXECUTED
 202a9ec:	84 10 80 1d 	or  %g2, %i5, %g2                              <== NOT EXECUTED
 202a9f0:	84 10 80 03 	or  %g2, %g3, %g2                              <== NOT EXECUTED
                    _fat_block_release(fs_info);                      
                    close(vol->fd);                                   
                    return -1;                                        
                }                                                     
                                                                      
                vol->free_cls = FAT_GET_FSINFO_FREE_CLUSTER_COUNT(fs_info_sector);
 202a9f4:	c8 24 60 40 	st  %g4, [ %l1 + 0x40 ]                        <== NOT EXECUTED
                vol->next_cl = FAT_GET_FSINFO_NEXT_FREE_CLUSTER(fs_info_sector);
                rc = fat_fat32_update_fsinfo_sector(fs_info, 0xFFFFFFFF,
 202a9f8:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
                    close(vol->fd);                                   
                    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);
 202a9fc:	c4 24 60 44 	st  %g2, [ %l1 + 0x44 ]                        <== NOT EXECUTED
                rc = fat_fat32_update_fsinfo_sector(fs_info, 0xFFFFFFFF,
 202aa00:	92 10 3f ff 	mov  -1, %o1                                   <== NOT EXECUTED
 202aa04:	7f ff fe 0b 	call  202a230 <fat_fat32_update_fsinfo_sector> <== NOT EXECUTED
 202aa08:	94 10 3f ff 	mov  -1, %o2                                   <== NOT EXECUTED
                                                    0xFFFFFFFF);      
                if ( rc != RC_OK )                                    
 202aa0c:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 202aa10:	02 bf ff 58 	be  202a770 <fat_init_volume_info+0x358>       <== NOT EXECUTED
 202aa14:	01 00 00 00 	nop                                            <== NOT EXECUTED
                {                                                     
                    _fat_block_release(fs_info);                      
 202aa18:	7f ff fd 54 	call  2029f68 <_fat_block_release>             <== NOT EXECUTED
 202aa1c:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
                    close(vol->fd);                                   
 202aa20:	d0 04 60 54 	ld  [ %l1 + 0x54 ], %o0                        <== NOT EXECUTED
 202aa24:	7f ff 79 7d 	call  2009018 <close>                          <== NOT EXECUTED
 202aa28:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
 202aa2c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202aa30:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    vol->rdir_loc = vol->fat_loc + vol->fats * vol->fat_length;       
                                                                      
    if ( (FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec)) != 0)             
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM16(boot_rec);     
    else                                                              
        vol->tot_secs = FAT_GET_BR_TOTAL_SECTORS_NUM32(boot_rec);     
 202aa34:	c4 0f bf 96 	ldub  [ %fp + -106 ], %g2                      <== NOT EXECUTED
 202aa38:	d0 0f bf 97 	ldub  [ %fp + -105 ], %o0                      <== NOT EXECUTED
 202aa3c:	ee 0f bf 92 	ldub  [ %fp + -110 ], %l7                      <== NOT EXECUTED
 202aa40:	c2 0f bf 8f 	ldub  [ %fp + -113 ], %g1                      <== NOT EXECUTED
 202aa44:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 202aa48:	91 2a 20 08 	sll  %o0, 8, %o0                               <== NOT EXECUTED
 202aa4c:	90 12 00 02 	or  %o0, %g2, %o0                              <== NOT EXECUTED
 202aa50:	85 28 60 18 	sll  %g1, 0x18, %g2                            <== NOT EXECUTED
 202aa54:	90 12 00 17 	or  %o0, %l7, %o0                              <== NOT EXECUTED
 202aa58:	90 12 00 02 	or  %o0, %g2, %o0                              <== NOT EXECUTED
 202aa5c:	10 bf ff 33 	b  202a728 <fat_init_volume_info+0x310>        <== NOT EXECUTED
 202aa60:	d0 24 60 2c 	st  %o0, [ %l1 + 0x2c ]                        <== NOT EXECUTED
    vol->rdir_size = vol->rdir_secs << vol->sec_log2;                 
                                                                      
    if ( (FAT_GET_BR_SECTORS_PER_FAT(boot_rec)) != 0)                 
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT(boot_rec);       
    else                                                              
        vol->fat_length = FAT_GET_BR_SECTORS_PER_FAT32(boot_rec);     
 202aa64:	d0 0f bf 94 	ldub  [ %fp + -108 ], %o0                      <== NOT EXECUTED
 202aa68:	ec 0f bf 93 	ldub  [ %fp + -109 ], %l6                      <== NOT EXECUTED
 202aa6c:	c6 0f bf 95 	ldub  [ %fp + -107 ], %g3                      <== NOT EXECUTED
 202aa70:	c2 0f bf 9f 	ldub  [ %fp + -97 ], %g1                       <== NOT EXECUTED
 202aa74:	91 2a 20 08 	sll  %o0, 8, %o0                               <== NOT EXECUTED
 202aa78:	ad 2d a0 10 	sll  %l6, 0x10, %l6                            <== NOT EXECUTED
 202aa7c:	85 28 60 18 	sll  %g1, 0x18, %g2                            <== NOT EXECUTED
 202aa80:	90 12 00 16 	or  %o0, %l6, %o0                              <== NOT EXECUTED
 202aa84:	90 12 00 03 	or  %o0, %g3, %o0                              <== NOT EXECUTED
 202aa88:	90 12 00 02 	or  %o0, %g2, %o0                              <== NOT EXECUTED
 202aa8c:	10 bf ff 16 	b  202a6e4 <fat_init_volume_info+0x2cc>        <== NOT EXECUTED
 202aa90:	d0 24 60 18 	st  %o0, [ %l1 + 0x18 ]                        <== NOT EXECUTED
    }                                                                 
    else                                                              
    {                                                                 
        if ( vol->data_cls < FAT_FAT16_MAX_CLN)                       
        {                                                             
            vol->type = FAT_FAT16;                                    
 202aa94:	88 10 20 02 	mov  2, %g4                                    <== NOT EXECUTED
            vol->mask = FAT_FAT16_MASK;                               
            vol->eoc_val = FAT_FAT16_EOC;                             
 202aa98:	84 10 a3 f8 	or  %g2, 0x3f8, %g2                            <== NOT EXECUTED
    }                                                                 
    else                                                              
    {                                                                 
        if ( vol->data_cls < FAT_FAT16_MAX_CLN)                       
        {                                                             
            vol->type = FAT_FAT16;                                    
 202aa9c:	c8 2c 60 0a 	stb  %g4, [ %l1 + 0xa ]                        <== NOT EXECUTED
            vol->mask = FAT_FAT16_MASK;                               
 202aaa0:	c6 24 60 0c 	st  %g3, [ %l1 + 0xc ]                         <== NOT EXECUTED
            vol->eoc_val = FAT_FAT16_EOC;                             
 202aaa4:	10 bf ff 2d 	b  202a758 <fat_init_volume_info+0x340>        <== NOT EXECUTED
 202aaa8:	c4 24 60 10 	st  %g2, [ %l1 + 0x10 ]                        <== NOT EXECUTED
            }                                                         
                                                                      
            if (FAT_GET_FSINFO_LEAD_SIGNATURE(fs_info_sector) !=      
                FAT_FSINFO_LEAD_SIGNATURE_VALUE)                      
            {                                                         
                _fat_block_release(fs_info);                          
 202aaac:	7f ff fd 2f 	call  2029f68 <_fat_block_release>             <== NOT EXECUTED
 202aab0:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
                close(vol->fd);                                       
 202aab4:	d0 04 60 54 	ld  [ %l1 + 0x54 ], %o0                        <== NOT EXECUTED
 202aab8:	7f ff 79 58 	call  2009018 <close>                          <== NOT EXECUTED
 202aabc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
                rtems_set_errno_and_return_minus_one( EINVAL );       
 202aac0:	40 00 77 92 	call  2048908 <__errno>                        <== NOT EXECUTED
 202aac4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202aac8:	82 10 20 16 	mov  0x16, %g1	! 16 <PROM_START+0x16>          <== NOT EXECUTED
 202aacc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202aad0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202aad4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /* check that device is registred as block device and lock it */  
    rc = rtems_disk_fd_get_disk_device(vol->fd, &vol->dd);            
    if (rc != 0) {                                                    
        close(vol->fd);                                               
 202aad8:	d0 04 60 54 	ld  [ %l1 + 0x54 ], %o0                        <== NOT EXECUTED
 202aadc:	7f ff 79 4f 	call  2009018 <close>                          <== NOT EXECUTED
 202aae0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENXIO);                  
 202aae4:	40 00 77 89 	call  2048908 <__errno>                        <== NOT EXECUTED
 202aae8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202aaec:	82 10 20 06 	mov  6, %g1	! 6 <PROM_START+0x6>               <== NOT EXECUTED
 202aaf0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202aaf4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202aaf8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        vol->mirror = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_MIRROR;
        if (vol->mirror)                                              
            vol->afat = FAT_GET_BR_EXT_FLAGS(boot_rec) & FAT_BR_EXT_FLAGS_FAT_NUM;
        else                                                          
            vol->afat = 0;                                            
 202aafc:	10 bf ff 84 	b  202a90c <fat_init_volume_info+0x4f4>        <== NOT EXECUTED
 202ab00:	c0 2c 60 50 	clrb  [ %l1 + 0x50 ]                           <== NOT EXECUTED
    {                                                                 
        close(vol->fd);                                               
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    for (vol->spc_log2 = 0, i = vol->spc; (i & 1) == 0;               
 202ab04:	10 bf fe c5 	b  202a618 <fat_init_volume_info+0x200>        <== NOT EXECUTED
 202ab08:	86 10 20 00 	clr  %g3                                       <== NOT EXECUTED
    memcpy( boot_rec, block->buffer, FAT_MAX_BPB_SIZE);               
                                                                      
    sc = rtems_bdbuf_release( block);                                 
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        close(vol->fd);                                               
 202ab0c:	d0 04 60 54 	ld  [ %l1 + 0x54 ], %o0                        <== NOT EXECUTED
 202ab10:	7f ff 79 42 	call  2009018 <close>                          <== NOT EXECUTED
 202ab14:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
 202ab18:	40 00 77 7c 	call  2048908 <__errno>                        <== NOT EXECUTED
 202ab1c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202ab20:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 202ab24:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202ab28:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202ab2c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    rtems_bdbuf_buffer *block = NULL;                                 
                                                                      
    vol->fd = open(device, O_RDWR);                                   
    if (vol->fd < 0)                                                  
    {                                                                 
        rtems_set_errno_and_return_minus_one(ENXIO);                  
 202ab30:	40 00 77 76 	call  2048908 <__errno>                        <== NOT EXECUTED
 202ab34:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202ab38:	82 10 20 06 	mov  6, %g1                                    <== NOT EXECUTED
 202ab3c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202ab40:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202ab44:	81 e8 00 00 	restore                                        <== 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 )                                      
    {                                                                 
        close(vol->fd);                                               
 202ab48:	d0 04 60 54 	ld  [ %l1 + 0x54 ], %o0                        <== NOT EXECUTED
 202ab4c:	7f ff 79 33 	call  2009018 <close>                          <== NOT EXECUTED
 202ab50:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        free(fs_info->vhash);                                         
 202ab54:	7f ff 79 ee 	call  200930c <free>                           <== NOT EXECUTED
 202ab58:	d0 04 60 60 	ld  [ %l1 + 0x60 ], %o0                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
 202ab5c:	7f ff 79 ec 	call  200930c <free>                           <== NOT EXECUTED
 202ab60:	d0 04 60 64 	ld  [ %l1 + 0x64 ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
 202ab64:	40 00 77 69 	call  2048908 <__errno>                        <== NOT EXECUTED
 202ab68:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202ab6c:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
 202ab70:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202ab74:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202ab78:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            {                                                         
                ret = _fat_block_read(fs_info, vol->info_sec , FAT_FSI_INFO,
                                      FAT_USEFUL_INFO_SIZE, fs_info_sector);
                if ( ret < 0 )                                        
                {                                                     
                    _fat_block_release(fs_info);                      
 202ab7c:	7f ff fc fb 	call  2029f68 <_fat_block_release>             <== NOT EXECUTED
 202ab80:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
                    close(vol->fd);                                   
 202ab84:	d0 04 60 54 	ld  [ %l1 + 0x54 ], %o0                        <== NOT EXECUTED
 202ab88:	7f ff 79 24 	call  2009018 <close>                          <== NOT EXECUTED
 202ab8c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202ab90:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202ab94:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
    }                                                                 
    fs_info->sec_buf = (uint8_t *)calloc(vol->bps, sizeof(uint8_t));  
    if (fs_info->sec_buf == NULL)                                     
    {                                                                 
        close(vol->fd);                                               
 202ab98:	d0 04 60 54 	ld  [ %l1 + 0x54 ], %o0                        <== NOT EXECUTED
 202ab9c:	7f ff 79 1f 	call  2009018 <close>                          <== NOT EXECUTED
 202aba0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        free(fs_info->vhash);                                         
 202aba4:	7f ff 79 da 	call  200930c <free>                           <== NOT EXECUTED
 202aba8:	d0 04 60 60 	ld  [ %l1 + 0x60 ], %o0                        <== NOT EXECUTED
        free(fs_info->rhash);                                         
 202abac:	7f ff 79 d8 	call  200930c <free>                           <== NOT EXECUTED
 202abb0:	d0 04 60 64 	ld  [ %l1 + 0x64 ], %o0                        <== NOT EXECUTED
        free(fs_info->uino);                                          
 202abb4:	7f ff 79 d6 	call  200930c <free>                           <== NOT EXECUTED
 202abb8:	d0 04 60 68 	ld  [ %l1 + 0x68 ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
 202abbc:	40 00 77 53 	call  2048908 <__errno>                        <== NOT EXECUTED
 202abc0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202abc4:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
 202abc8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202abcc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202abd0:	81 e8 00 00 	restore                                        <== 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 )                                     
    {                                                                 
        close(vol->fd);                                               
 202abd4:	d0 04 60 54 	ld  [ %l1 + 0x54 ], %o0                        <== NOT EXECUTED
 202abd8:	7f ff 79 10 	call  2009018 <close>                          <== NOT EXECUTED
 202abdc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
 202abe0:	40 00 77 4a 	call  2048908 <__errno>                        <== NOT EXECUTED
 202abe4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202abe8:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
 202abec:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202abf0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202abf4:	81 e8 00 00 	restore                                        <== 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 )                                     
    {                                                                 
        close(vol->fd);                                               
 202abf8:	d0 04 60 54 	ld  [ %l1 + 0x54 ], %o0                        <== NOT EXECUTED
 202abfc:	7f ff 79 07 	call  2009018 <close>                          <== NOT EXECUTED
 202ac00:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        free(fs_info->vhash);                                         
 202ac04:	7f ff 79 c2 	call  200930c <free>                           <== NOT EXECUTED
 202ac08:	d0 04 60 60 	ld  [ %l1 + 0x60 ], %o0                        <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( ENOMEM );               
 202ac0c:	40 00 77 3f 	call  2048908 <__errno>                        <== NOT EXECUTED
 202ac10:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202ac14:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
 202ac18:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202ac1c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202ac20:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020443e4 <fat_scan_fat_for_free_clusters>: uint32_t count, uint32_t *cls_added, uint32_t *last_cl, bool zero_fill ) {
 20443e4:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int            rc = RC_OK;                                        
    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;          
 20443e8:	e6 06 20 34 	ld  [ %i0 + 0x34 ], %l3                        
    bool                                  zero_fill                   
    )                                                                 
{                                                                     
    int            rc = RC_OK;                                        
    uint32_t       cl4find = 2;                                       
    uint32_t       next_cln = 0;                                      
 20443ec:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    uint32_t       save_cln = 0;                                      
    uint32_t       data_cls_val = fs_info->vol.data_cls + 2;          
    uint32_t       i = 2;                                             
                                                                      
    *cls_added = 0;                                                   
 20443f0:	c0 26 c0 00 	clr  [ %i3 ]                                   
                                                                      
    if (count == 0)                                                   
 20443f4:	80 a6 a0 00 	cmp  %i2, 0                                    
 20443f8:	02 80 00 58 	be  2044558 <fat_scan_fat_for_free_clusters+0x174><== NEVER TAKEN
 20443fc:	a4 10 20 00 	clr  %l2                                       
        return rc;                                                    
                                                                      
    if (fs_info->vol.next_cl != FAT_UNDEFINED_VALUE)                  
 2044400:	e0 06 20 44 	ld  [ %i0 + 0x44 ], %l0                        
 2044404:	80 a4 3f ff 	cmp  %l0, -1                                   
 2044408:	22 80 00 02 	be,a   2044410 <fat_scan_fat_for_free_clusters+0x2c>
 204440c:	a0 10 20 02 	mov  2, %l0                                    
{                                                                     
    int            rc = RC_OK;                                        
    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;          
 2044410:	a6 04 e0 02 	add  %l3, 2, %l3                               
    /*                                                                
     * 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)                                          
 2044414:	80 a4 e0 02 	cmp  %l3, 2                                    
 2044418:	08 80 00 57 	bleu  2044574 <fat_scan_fat_for_free_clusters+0x190><== NEVER TAKEN
 204441c:	a2 10 20 02 	mov  2, %l1                                    
 2044420:	10 80 00 29 	b  20444c4 <fat_scan_fat_for_free_clusters+0xe0>
 2044424:	a8 10 20 00 	clr  %l4                                       
             * wouldn't work properly                                 
             */                                                       
            if (*cls_added == 0)                                      
            {                                                         
                *chain = cl4find;                                     
                rc = fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_EOC);
 2044428:	90 10 00 18 	mov  %i0, %o0                                  
 204442c:	92 10 00 10 	mov  %l0, %o1                                  
 2044430:	7f ff fe f5 	call  2044004 <fat_set_fat_cluster>            
 2044434:	94 10 3f ff 	mov  -1, %o2                                   
                if ( rc != RC_OK )                                    
 2044438:	80 a2 20 00 	cmp  %o0, 0                                    
 204443c:	32 80 00 47 	bne,a   2044558 <fat_scan_fat_for_free_clusters+0x174><== NEVER TAKEN
 2044440:	a4 10 00 08 	mov  %o0, %l2                                  <== NOT EXECUTED
                rc = fat_set_fat_cluster(fs_info, save_cln, cl4find); 
                if ( rc != RC_OK )                                    
                    goto cleanup;                                     
            }                                                         
                                                                      
            if (zero_fill) {                                          
 2044444:	80 a7 60 00 	cmp  %i5, 0                                    
 2044448:	22 80 00 12 	be,a   2044490 <fat_scan_fat_for_free_clusters+0xac>
 204444c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2044450:	80 a4 20 00 	cmp  %l0, 0                                    
 2044454:	32 80 00 43 	bne,a   2044560 <fat_scan_fat_for_free_clusters+0x17c><== ALWAYS TAKEN
 2044458:	c4 0e 20 05 	ldub  [ %i0 + 5 ], %g2                         
 204445c:	c2 0e 20 0a 	ldub  [ %i0 + 0xa ], %g1                       <== NOT EXECUTED
 2044460:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 2044464:	22 80 00 3f 	be,a   2044560 <fat_scan_fat_for_free_clusters+0x17c><== NOT EXECUTED
 2044468:	c4 0e 20 05 	ldub  [ %i0 + 5 ], %g2                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 204446c:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        <== NOT EXECUTED
                uint32_t sec = fat_cluster_num_to_sector_num(fs_info, 
                                                             cl4find);
                                                                      
                rc = _fat_block_zero(fs_info, sec, 0, fs_info->vol.bpc);
 2044470:	d6 16 20 06 	lduh  [ %i0 + 6 ], %o3                         
 2044474:	90 10 00 18 	mov  %i0, %o0                                  
 2044478:	7f ff 96 8e 	call  2029eb0 <_fat_block_zero>                
 204447c:	94 10 20 00 	clr  %o2                                       
                if ( rc != RC_OK )                                    
 2044480:	80 a2 20 00 	cmp  %o0, 0                                    
 2044484:	32 80 00 2c 	bne,a   2044534 <fat_scan_fat_for_free_clusters+0x150><== NEVER TAKEN
 2044488:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
                    goto cleanup;                                     
            }                                                         
                                                                      
            save_cln = cl4find;                                       
            (*cls_added)++;                                           
 204448c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2044490:	82 00 60 01 	inc  %g1                                       
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
 2044494:	80 a6 80 01 	cmp  %i2, %g1                                  
 2044498:	02 80 00 4d 	be  20445cc <fat_scan_fat_for_free_clusters+0x1e8>
 204449c:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
 20444a0:	a8 10 00 10 	mov  %l0, %l4                                  
                fat_buf_release(fs_info);                             
                return rc;                                            
            }                                                         
        }                                                             
        i++;                                                          
        cl4find++;                                                    
 20444a4:	a0 04 20 01 	inc  %l0                                       
        if (cl4find >= data_cls_val)                                  
 20444a8:	80 a4 c0 10 	cmp  %l3, %l0                                  
 20444ac:	18 80 00 03 	bgu  20444b8 <fat_scan_fat_for_free_clusters+0xd4><== ALWAYS TAKEN
 20444b0:	a2 04 60 01 	inc  %l1                                       
            cl4find = 2;                                              
 20444b4:	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)                                          
 20444b8:	80 a4 c0 11 	cmp  %l3, %l1                                  
 20444bc:	22 80 00 30 	be,a   204457c <fat_scan_fat_for_free_clusters+0x198><== NEVER TAKEN
 20444c0:	c2 06 20 40 	ld  [ %i0 + 0x40 ], %g1                        <== NOT EXECUTED
    {                                                                 
        rc = fat_get_fat_cluster(fs_info, cl4find, &next_cln);        
 20444c4:	90 10 00 18 	mov  %i0, %o0                                  
 20444c8:	92 10 00 10 	mov  %l0, %o1                                  
 20444cc:	7f ff fe 45 	call  2043de0 <fat_get_fat_cluster>            
 20444d0:	94 07 bf fc 	add  %fp, -4, %o2                              
        if ( rc != RC_OK )                                            
 20444d4:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 20444d8:	12 80 00 35 	bne  20445ac <fat_scan_fat_for_free_clusters+0x1c8><== NEVER TAKEN
 20444dc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            if (*cls_added != 0)                                      
                fat_free_fat_clusters_chain(fs_info, (*chain));       
            return rc;                                                
        }                                                             
                                                                      
        if (next_cln == FAT_GENFAT_FREE)                              
 20444e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20444e4:	32 bf ff f1 	bne,a   20444a8 <fat_scan_fat_for_free_clusters+0xc4>
 20444e8:	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)                                      
 20444ec:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 20444f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20444f4:	22 bf ff cd 	be,a   2044428 <fat_scan_fat_for_free_clusters+0x44>
 20444f8:	e0 26 40 00 	st  %l0, [ %i1 ]                               
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_EOC);
 20444fc:	90 10 00 18 	mov  %i0, %o0                                  
 2044500:	92 10 00 10 	mov  %l0, %o1                                  
 2044504:	7f ff fe c0 	call  2044004 <fat_set_fat_cluster>            
 2044508:	94 10 3f ff 	mov  -1, %o2                                   
                if ( rc != RC_OK )                                    
 204450c:	82 92 20 00 	orcc  %o0, 0, %g1                              
 2044510:	12 80 00 3a 	bne  20445f8 <fat_scan_fat_for_free_clusters+0x214><== NEVER TAKEN
 2044514:	90 10 00 18 	mov  %i0, %o0                                  
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(fs_info, (*chain));   
                    return rc;                                        
                }                                                     
                                                                      
                rc = fat_set_fat_cluster(fs_info, save_cln, cl4find); 
 2044518:	92 10 00 14 	mov  %l4, %o1                                  
 204451c:	7f ff fe ba 	call  2044004 <fat_set_fat_cluster>            
 2044520:	94 10 00 10 	mov  %l0, %o2                                  
                if ( rc != RC_OK )                                    
 2044524:	80 a2 20 00 	cmp  %o0, 0                                    
 2044528:	02 bf ff c8 	be  2044448 <fat_scan_fat_for_free_clusters+0x64><== ALWAYS TAKEN
 204452c:	80 a7 60 00 	cmp  %i5, 0                                    
    return RC_OK;                                                     
                                                                      
cleanup:                                                              
                                                                      
    /* cleanup activity */                                            
    fat_free_fat_clusters_chain(fs_info, (*chain));                   
 2044530:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
                                                                      
            if (zero_fill) {                                          
                uint32_t sec = fat_cluster_num_to_sector_num(fs_info, 
                                                             cl4find);
                                                                      
                rc = _fat_block_zero(fs_info, sec, 0, fs_info->vol.bpc);
 2044534:	a4 10 00 08 	mov  %o0, %l2                                  <== NOT EXECUTED
    return RC_OK;                                                     
                                                                      
cleanup:                                                              
                                                                      
    /* cleanup activity */                                            
    fat_free_fat_clusters_chain(fs_info, (*chain));                   
 2044538:	7f ff ff 73 	call  2044304 <fat_free_fat_clusters_chain>    <== NOT EXECUTED
 204453c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    /* trying to save last allocated cluster for future use */        
    fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_FREE);           
 2044540:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2044544:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 2044548:	7f ff fe af 	call  2044004 <fat_set_fat_cluster>            <== NOT EXECUTED
 204454c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
 2044550:	7f ff 95 a9 	call  2029bf4 <fat_buf_release>                <== NOT EXECUTED
 2044554:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 2044558:	81 c7 e0 08 	ret                                            
 204455c:	91 e8 00 12 	restore  %g0, %l2, %o0                         
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2044560:	c2 06 20 30 	ld  [ %i0 + 0x30 ], %g1                        
 2044564:	92 04 3f fe 	add  %l0, -2, %o1                              
 2044568:	93 2a 40 02 	sll  %o1, %g2, %o1                             
 204456c:	10 bf ff c1 	b  2044470 <fat_scan_fat_for_free_clusters+0x8c>
 2044570:	92 02 40 01 	add  %o1, %g1, %o1                             
    /*                                                                
     * 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)                                          
 2044574:	a8 10 20 00 	clr  %l4                                       <== NOT EXECUTED
        if (cl4find >= data_cls_val)                                  
            cl4find = 2;                                              
    }                                                                 
                                                                      
        fs_info->vol.next_cl = save_cln;                              
        if (fs_info->vol.free_cls != 0xFFFFFFFF)                      
 2044578:	c2 06 20 40 	ld  [ %i0 + 0x40 ], %g1                        <== NOT EXECUTED
 204457c:	80 a0 7f ff 	cmp  %g1, -1                                   <== NOT EXECUTED
 2044580:	02 80 00 05 	be  2044594 <fat_scan_fat_for_free_clusters+0x1b0><== NOT EXECUTED
 2044584:	e8 26 20 44 	st  %l4, [ %i0 + 0x44 ]                        <== NOT EXECUTED
            fs_info->vol.free_cls -= (*cls_added);                    
 2044588:	c4 06 c0 00 	ld  [ %i3 ], %g2                               <== NOT EXECUTED
 204458c:	82 20 40 02 	sub  %g1, %g2, %g1                             <== NOT EXECUTED
 2044590:	c2 26 20 40 	st  %g1, [ %i0 + 0x40 ]                        <== NOT EXECUTED
                                                                      
    *last_cl = save_cln;                                              
 2044594:	e8 27 00 00 	st  %l4, [ %i4 ]                               <== NOT EXECUTED
    fat_buf_release(fs_info);                                         
 2044598:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 204459c:	7f ff 95 96 	call  2029bf4 <fat_buf_release>                <== NOT EXECUTED
 20445a0:	a4 10 20 00 	clr  %l2                                       <== NOT EXECUTED
    fat_free_fat_clusters_chain(fs_info, (*chain));                   
    /* trying to save last allocated cluster for future use */        
    fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_FREE);           
    fat_buf_release(fs_info);                                         
    return rc;                                                        
}                                                                     
 20445a4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20445a8:	91 e8 00 12 	restore  %g0, %l2, %o0                         <== NOT EXECUTED
    while (i < data_cls_val)                                          
    {                                                                 
        rc = fat_get_fat_cluster(fs_info, cl4find, &next_cln);        
        if ( rc != RC_OK )                                            
        {                                                             
            if (*cls_added != 0)                                      
 20445ac:	c2 06 c0 00 	ld  [ %i3 ], %g1                               <== NOT EXECUTED
 20445b0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20445b4:	02 bf ff e9 	be  2044558 <fat_scan_fat_for_free_clusters+0x174><== NOT EXECUTED
 20445b8:	01 00 00 00 	nop                                            <== NOT EXECUTED
                fat_free_fat_clusters_chain(fs_info, (*chain));       
 20445bc:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 20445c0:	7f ff ff 51 	call  2044304 <fat_free_fat_clusters_chain>    <== NOT EXECUTED
 20445c4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20445c8:	30 bf ff e4 	b,a   2044558 <fat_scan_fat_for_free_clusters+0x174><== NOT EXECUTED
                                                                      
            /* have we satisfied request ? */                         
            if (*cls_added == count)                                  
            {                                                         
                    fs_info->vol.next_cl = save_cln;                  
                    if (fs_info->vol.free_cls != 0xFFFFFFFF)          
 20445cc:	c2 06 20 40 	ld  [ %i0 + 0x40 ], %g1                        
 20445d0:	80 a0 7f ff 	cmp  %g1, -1                                   
 20445d4:	02 80 00 05 	be  20445e8 <fat_scan_fat_for_free_clusters+0x204><== ALWAYS TAKEN
 20445d8:	e0 26 20 44 	st  %l0, [ %i0 + 0x44 ]                        
                        fs_info->vol.free_cls -= (*cls_added);        
 20445dc:	c4 06 c0 00 	ld  [ %i3 ], %g2                               <== NOT EXECUTED
 20445e0:	82 20 40 02 	sub  %g1, %g2, %g1                             <== NOT EXECUTED
 20445e4:	c2 26 20 40 	st  %g1, [ %i0 + 0x40 ]                        <== NOT EXECUTED
                *last_cl = save_cln;                                  
 20445e8:	e0 27 00 00 	st  %l0, [ %i4 ]                               
                fat_buf_release(fs_info);                             
 20445ec:	7f ff 95 82 	call  2029bf4 <fat_buf_release>                
 20445f0:	90 10 00 18 	mov  %i0, %o0                                  
 20445f4:	30 bf ff d9 	b,a   2044558 <fat_scan_fat_for_free_clusters+0x174>
                /* set EOC value to new allocated cluster */          
                rc = fat_set_fat_cluster(fs_info, cl4find, FAT_GENFAT_EOC);
                if ( rc != RC_OK )                                    
                {                                                     
                    /* cleanup activity */                            
                    fat_free_fat_clusters_chain(fs_info, (*chain));   
 20445f8:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 20445fc:	7f ff ff 42 	call  2044304 <fat_free_fat_clusters_chain>    <== NOT EXECUTED
 2044600:	a4 10 00 01 	mov  %g1, %l2                                  <== NOT EXECUTED
 2044604:	30 bf ff d5 	b,a   2044558 <fat_scan_fat_for_free_clusters+0x174><== NOT EXECUTED
                                                                      

02044004 <fat_set_fat_cluster>: fat_set_fat_cluster( fat_fs_info_t *fs_info, uint32_t cln, uint32_t in_val ) {
 2044004:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                 rc = RC_OK;                                   
    uint32_t            sec = 0;                                      
    uint32_t            ofs = 0;                                      
    uint16_t            fat16_clv = 0;                                
    uint32_t            fat32_clv = 0;                                
    rtems_bdbuf_buffer *block0 = NULL;                                
 2044008:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
    /* sanity check */                                                
    if ( (cln < 2) || (cln > (fs_info->vol.data_cls + 1)) )           
 204400c:	80 a6 60 01 	cmp  %i1, 1                                    
 2044010:	08 80 00 26 	bleu  20440a8 <fat_set_fat_cluster+0xa4>       <== NEVER TAKEN
 2044014:	ba 10 00 18 	mov  %i0, %i5                                  
 2044018:	c2 06 20 34 	ld  [ %i0 + 0x34 ], %g1                        
 204401c:	82 00 60 01 	inc  %g1                                       
 2044020:	80 a6 40 01 	cmp  %i1, %g1                                  
 2044024:	18 80 00 21 	bgu  20440a8 <fat_set_fat_cluster+0xa4>        <== NEVER TAKEN
 2044028:	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) +
 204402c:	c2 0e 20 0a 	ldub  [ %i0 + 0xa ], %g1                       
 2044030:	80 88 60 01 	btst  1, %g1                                   
 2044034:	12 80 00 23 	bne  20440c0 <fat_set_fat_cluster+0xbc>        <== ALWAYS TAKEN
 2044038:	e0 0e 20 02 	ldub  [ %i0 + 2 ], %l0                         
 204403c:	82 08 60 02 	and  %g1, 2, %g1                               <== NOT EXECUTED
 2044040:	80 88 60 ff 	btst  0xff, %g1                                <== NOT EXECUTED
 2044044:	02 80 00 25 	be  20440d8 <fat_set_fat_cluster+0xd4>         <== NOT EXECUTED
 2044048:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        <== NOT EXECUTED
 204404c:	b9 2e 60 01 	sll  %i1, 1, %i4                               <== NOT EXECUTED
 2044050:	a1 37 00 10 	srl  %i4, %l0, %l0                             <== NOT EXECUTED
 2044054:	a0 04 00 01 	add  %l0, %g1, %l0                             <== NOT EXECUTED
          fs_info->vol.afat_loc;                                      
    ofs = FAT_FAT_OFFSET(fs_info->vol.type, cln) & (fs_info->vol.bps - 1);
 2044058:	e2 17 40 00 	lduh  [ %i5 ], %l1                             
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
 204405c:	90 10 00 1d 	mov  %i5, %o0                                  
 2044060:	92 10 00 10 	mov  %l0, %o1                                  
 2044064:	94 10 20 01 	mov  1, %o2                                    
 2044068:	7f ff 96 5a 	call  20299d0 <fat_buf_access>                 
 204406c:	96 07 bf fc 	add  %fp, -4, %o3                              
    if (rc != RC_OK)                                                  
 2044070:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2044074:	12 80 00 11 	bne  20440b8 <fat_set_fat_cluster+0xb4>        <== NEVER TAKEN
 2044078:	a3 2c 60 10 	sll  %l1, 0x10, %l1                            
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
 204407c:	f6 0f 60 0a 	ldub  [ %i5 + 0xa ], %i3                       
 2044080:	80 a6 e0 02 	cmp  %i3, 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);
 2044084:	a3 34 60 10 	srl  %l1, 0x10, %l1                            
 2044088:	a2 04 7f ff 	add  %l1, -1, %l1                              
                                                                      
    rc = fat_buf_access(fs_info, sec, FAT_OP_TYPE_READ, &block0);     
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
 204408c:	02 80 00 17 	be  20440e8 <fat_set_fat_cluster+0xe4>         <== NEVER TAKEN
 2044090:	b8 0f 00 11 	and  %i4, %l1, %i4                             
 2044094:	80 a6 e0 04 	cmp  %i3, 4                                    
 2044098:	02 80 00 40 	be  2044198 <fat_set_fat_cluster+0x194>        <== NEVER TAKEN
 204409c:	80 a6 e0 01 	cmp  %i3, 1                                    
 20440a0:	02 80 00 20 	be  2044120 <fat_set_fat_cluster+0x11c>        <== ALWAYS TAKEN
 20440a4:	80 8e 60 01 	btst  1, %i1                                   
                                                                      
            fat_buf_mark_modified(fs_info);                           
            break;                                                    
                                                                      
        default:                                                      
            rtems_set_errno_and_return_minus_one(EIO);                
 20440a8:	40 00 12 18 	call  2048908 <__errno>                        <== NOT EXECUTED
 20440ac:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20440b0:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20440b4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
 20440b8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20440bc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    /* 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) +
 20440c0:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        
 20440c4:	b9 36 60 01 	srl  %i1, 1, %i4                               
 20440c8:	b8 07 00 19 	add  %i4, %i1, %i4                             
 20440cc:	a1 37 00 10 	srl  %i4, %l0, %l0                             
 20440d0:	10 bf ff e2 	b  2044058 <fat_set_fat_cluster+0x54>          
 20440d4:	a0 04 00 01 	add  %l0, %g1, %l0                             
 20440d8:	b9 2e 60 02 	sll  %i1, 2, %i4                               <== NOT EXECUTED
 20440dc:	a1 37 00 10 	srl  %i4, %l0, %l0                             <== NOT EXECUTED
 20440e0:	10 bf ff de 	b  2044058 <fat_set_fat_cluster+0x54>          <== NOT EXECUTED
 20440e4:	a0 04 00 01 	add  %l0, %g1, %l0                             <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
 20440e8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
 20440ec:	85 2e a0 10 	sll  %i2, 0x10, %g2                            <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
 20440f0:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
                    (uint16_t  )(CT_LE_W(in_val));                    
 20440f4:	85 30 a0 18 	srl  %g2, 0x18, %g2                            <== NOT EXECUTED
            break;                                                    
                                                                      
    }                                                                 
                                                                      
    return RC_OK;                                                     
}                                                                     
 20440f8:	07 00 00 3f 	sethi  %hi(0xfc00), %g3                        <== NOT EXECUTED
 20440fc:	86 10 e3 ff 	or  %g3, 0x3ff, %g3	! ffff <PROM_START+0xffff> <== NOT EXECUTED
 2044100:	b4 0e 80 03 	and  %i2, %g3, %i2                             <== NOT EXECUTED
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
                    (uint16_t  )(CT_LE_W(in_val));                    
 2044104:	b5 2e a0 08 	sll  %i2, 8, %i2                               <== NOT EXECUTED
 2044108:	b4 16 80 02 	or  %i2, %g2, %i2                              <== NOT EXECUTED
                }                                                     
            }                                                         
            break;                                                    
                                                                      
        case FAT_FAT16:                                               
            *((uint16_t   *)(block0->buffer + ofs)) =                 
 204410c:	f4 30 40 1c 	sth  %i2, [ %g1 + %i4 ]                        <== NOT EXECUTED
}                                                                     
                                                                      
static inline void                                                    
fat_buf_mark_modified(fat_fs_info_t *fs_info)                         
{                                                                     
    fs_info->c.modified = true;                                       
 2044110:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 2044114:	c2 2f 60 7c 	stb  %g1, [ %i5 + 0x7c ]                       <== NOT EXECUTED
 2044118:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204411c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        return rc;                                                    
                                                                      
    switch ( fs_info->vol.type )                                      
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
 2044120:	02 80 00 35 	be  20441f4 <fat_set_fat_cluster+0x1f0>        
 2044124:	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)) =              
 2044128:	85 2e a0 04 	sll  %i2, 4, %g2                               
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
 204412c:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
    {                                                                 
        case FAT_FAT12:                                               
            if ( FAT_CLUSTER_IS_ODD(cln) )                            
            {                                                         
                fat16_clv = ((uint16_t  )in_val) << FAT_FAT12_SHIFT;  
                *((uint8_t   *)(block0->buffer + ofs)) =              
 2044130:	c6 08 40 1c 	ldub  [ %g1 + %i4 ], %g3                       
 2044134:	86 08 e0 0f 	and  %g3, 0xf, %g3                             
 2044138:	c6 28 40 1c 	stb  %g3, [ %g1 + %i4 ]                        
                        (*((uint8_t   *)(block0->buffer + ofs))) & 0x0F;
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
 204413c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2044140:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %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)) =              
 2044144:	c6 08 40 1c 	ldub  [ %g1 + %i4 ], %g3                       
 2044148:	84 10 c0 02 	or  %g3, %g2, %g2                              
 204414c:	c4 28 40 1c 	stb  %g2, [ %g1 + %i4 ]                        
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
                        (uint8_t  )(fat16_clv & 0x00FF);              
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
 2044150:	c2 17 40 00 	lduh  [ %i5 ], %g1                             
 2044154:	82 00 7f ff 	add  %g1, -1, %g1                              
 2044158:	80 a0 40 1c 	cmp  %g1, %i4                                  
 204415c:	02 80 00 41 	be  2044260 <fat_set_fat_cluster+0x25c>        <== NEVER TAKEN
 2044160:	f6 2f 60 7c 	stb  %i3, [ %i5 + 0x7c ]                       
                                                                      
                     fat_buf_mark_modified(fs_info);                  
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) &= 0x00;
 2044164:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2044168:	b8 07 20 01 	inc  %i4                                       
 204416c:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                            (*((uint8_t   *)(block0->buffer + ofs + 1))) |
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
 2044170:	b5 2e a0 14 	sll  %i2, 0x14, %i2                            
                                                                      
                     fat_buf_mark_modified(fs_info);                  
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) &= 0x00;
 2044174:	c0 28 40 1c 	clrb  [ %g1 + %i4 ]                            
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                            (*((uint8_t   *)(block0->buffer + ofs + 1))) |
 2044178:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
 204417c:	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))) |
 2044180:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) &= 0x00;
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
 2044184:	c4 08 40 1c 	ldub  [ %g1 + %i4 ], %g2                       
 2044188:	84 10 80 1a 	or  %g2, %i2, %g2                              
 204418c:	c4 28 40 1c 	stb  %g2, [ %g1 + %i4 ]                        
 2044190:	81 c7 e0 08 	ret                                            
 2044194:	81 e8 00 00 	restore                                        
                                                                      
        case FAT_FAT32:                                               
            fat32_clv = CT_LE_L((in_val & FAT_FAT32_MASK));           
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
 2044198:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 204419c:	c4 00 60 1c 	ld  [ %g1 + 0x1c ], %g2                        <== 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));           
 20441a0:	03 3c 00 00 	sethi  %hi(0xf0000000), %g1                    <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
 20441a4:	c6 00 80 1c 	ld  [ %g2 + %i4 ], %g3                         <== 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));           
 20441a8:	82 2e 80 01 	andn  %i2, %g1, %g1                            <== NOT EXECUTED
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
 20441ac:	89 30 60 18 	srl  %g1, 0x18, %g4                            <== NOT EXECUTED
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 20441b0:	b7 30 60 08 	srl  %g1, 8, %i3                               <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
            (*((uint32_t   *)(block0->buffer + ofs))) & (CT_LE_L(0xF0000000));
 20441b4:	86 08 e0 f0 	and  %g3, 0xf0, %g3                            <== NOT EXECUTED
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 20441b8:	b5 2e a0 18 	sll  %i2, 0x18, %i2                            <== NOT EXECUTED
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 20441bc:	b6 0e e0 ff 	and  %i3, 0xff, %i3                            <== NOT EXECUTED
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 20441c0:	b4 16 80 04 	or  %i2, %g4, %i2                              <== NOT EXECUTED
 20441c4:	b7 2e e0 10 	sll  %i3, 0x10, %i3                            <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 20441c8:	89 30 60 10 	srl  %g1, 0x10, %g4                            <== NOT EXECUTED
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 20441cc:	82 16 80 1b 	or  %i2, %i3, %g1                              <== NOT EXECUTED
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 20441d0:	88 09 20 ff 	and  %g4, 0xff, %g4                            <== NOT EXECUTED
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 20441d4:	89 29 20 08 	sll  %g4, 8, %g4                               <== NOT EXECUTED
 20441d8:	82 10 40 04 	or  %g1, %g4, %g1                              <== NOT EXECUTED
                                                                      
            *((uint32_t   *)(block0->buffer + ofs)) =                 
                   fat32_clv | (*((uint32_t   *)(block0->buffer + ofs)));
 20441dc:	82 10 40 03 	or  %g1, %g3, %g1                              <== 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)) =                 
 20441e0:	c2 20 80 1c 	st  %g1, [ %g2 + %i4 ]                         <== NOT EXECUTED
 20441e4:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 20441e8:	c2 2f 60 7c 	stb  %g1, [ %i5 + 0x7c ]                       <== NOT EXECUTED
 20441ec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20441f0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
                }                                                     
            }                                                         
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
 20441f4:	b4 0e af ff 	and  %i2, 0xfff, %i2                           
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
 20441f8:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
 20441fc:	c0 28 40 1c 	clrb  [ %g1 + %i4 ]                            
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
 2044200:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2044204:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
            else                                                      
            {                                                         
                fat16_clv = ((uint16_t  )in_val) & FAT_FAT12_MASK;    
                *((uint8_t   *)(block0->buffer + ofs)) &= 0x00;       
                                                                      
                *((uint8_t   *)(block0->buffer + ofs)) =              
 2044208:	c4 08 40 1c 	ldub  [ %g1 + %i4 ], %g2                       
 204420c:	84 10 80 1a 	or  %g2, %i2, %g2                              
 2044210:	c4 28 40 1c 	stb  %g2, [ %g1 + %i4 ]                        
                        (*((uint8_t   *)(block0->buffer + ofs))) |    
                        (uint8_t  )(fat16_clv & 0x00FF);              
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
 2044214:	c2 17 40 00 	lduh  [ %i5 ], %g1                             
 2044218:	82 00 7f ff 	add  %g1, -1, %g1                              
 204421c:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2044220:	02 80 00 24 	be  20442b0 <fat_set_fat_cluster+0x2ac>        <== NEVER TAKEN
 2044224:	f6 2f 60 7c 	stb  %i3, [ %i5 + 0x7c ]                       
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
 2044228:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 204422c:	b8 07 20 01 	inc  %i4                                       
 2044230:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
                           (*((uint8_t   *)(block0->buffer + ofs+1))) |
                           (uint8_t  )((fat16_clv & 0xFF00)>>8);      
 2044234:	b5 36 a0 08 	srl  %i2, 8, %i2                               
                                                                      
                    fat_buf_mark_modified(fs_info);                   
                }                                                     
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
 2044238:	c4 08 40 1c 	ldub  [ %g1 + %i4 ], %g2                       
 204423c:	84 08 bf f0 	and  %g2, -16, %g2                             
 2044240:	c4 28 40 1c 	stb  %g2, [ %g1 + %i4 ]                        
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
                           (*((uint8_t   *)(block0->buffer + ofs+1))) |
 2044244:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2044248:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
                else                                                  
                {                                                     
                    *((uint8_t   *)(block0->buffer + ofs + 1)) =      
                      (*((uint8_t   *)(block0->buffer + ofs + 1))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer + ofs+1)) =        
 204424c:	c4 08 40 1c 	ldub  [ %g1 + %i4 ], %g2                       
 2044250:	b4 10 80 1a 	or  %g2, %i2, %i2                              
 2044254:	f4 28 40 1c 	stb  %i2, [ %g1 + %i4 ]                        
 2044258:	81 c7 e0 08 	ret                                            
 204425c:	81 e8 00 00 	restore                                        
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
                {                                                     
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
 2044260:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2044264:	92 04 20 01 	add  %l0, 1, %o1                               <== NOT EXECUTED
 2044268:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 204426c:	7f ff 95 d9 	call  20299d0 <fat_buf_access>                 <== NOT EXECUTED
 2044270:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
 2044274:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2044278:	12 bf ff 90 	bne  20440b8 <fat_set_fat_cluster+0xb4>        <== NOT EXECUTED
 204427c:	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);     
 2044280:	87 2e a0 14 	sll  %i2, 0x14, %g3                            <== 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;        
 2044284:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
                                                                      
                     *((uint8_t   *)(block0->buffer)) =               
                            (*((uint8_t   *)(block0->buffer))) |      
                            (uint8_t  )((fat16_clv & 0xFF00)>>8);     
 2044288:	87 30 e0 18 	srl  %g3, 0x18, %g3                            <== 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;        
 204428c:	c0 28 40 00 	clrb  [ %g1 ]                                  <== NOT EXECUTED
                                                                      
                     *((uint8_t   *)(block0->buffer)) =               
                            (*((uint8_t   *)(block0->buffer))) |      
 2044290:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 2044294:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
                    if (rc != RC_OK)                                  
                        return rc;                                    
                                                                      
                     *((uint8_t   *)(block0->buffer)) &= 0x00;        
                                                                      
                     *((uint8_t   *)(block0->buffer)) =               
 2044298:	c4 08 40 00 	ldub  [ %g1 ], %g2                             <== NOT EXECUTED
 204429c:	84 10 c0 02 	or  %g3, %g2, %g2                              <== NOT EXECUTED
 20442a0:	c4 28 40 00 	stb  %g2, [ %g1 ]                              <== NOT EXECUTED
 20442a4:	f6 2f 60 7c 	stb  %i3, [ %i5 + 0x7c ]                       <== NOT EXECUTED
 20442a8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20442ac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
                fat_buf_mark_modified(fs_info);                       
                                                                      
                if ( ofs == (fs_info->vol.bps - 1) )                  
                {                                                     
                    rc = fat_buf_access(fs_info, sec + 1, FAT_OP_TYPE_READ,
 20442b0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20442b4:	92 04 20 01 	add  %l0, 1, %o1                               <== NOT EXECUTED
 20442b8:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 20442bc:	7f ff 95 c5 	call  20299d0 <fat_buf_access>                 <== NOT EXECUTED
 20442c0:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
                                        &block0);                     
                    if (rc != RC_OK)                                  
 20442c4:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 20442c8:	12 bf ff 7c 	bne  20440b8 <fat_set_fat_cluster+0xb4>        <== NOT EXECUTED
 20442cc:	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);     
 20442d0:	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;
 20442d4:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %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)) =                
 20442d8:	c4 08 40 00 	ldub  [ %g1 ], %g2                             <== NOT EXECUTED
 20442dc:	84 08 bf f0 	and  %g2, -16, %g2                             <== NOT EXECUTED
 20442e0:	c4 28 40 00 	stb  %g2, [ %g1 ]                              <== NOT EXECUTED
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) |      
 20442e4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 20442e8:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
                        return rc;                                    
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
                            (*((uint8_t   *)(block0->buffer))) & 0xF0;
                                                                      
                    *((uint8_t   *)(block0->buffer)) =                
 20442ec:	c4 08 40 00 	ldub  [ %g1 ], %g2                             <== NOT EXECUTED
 20442f0:	84 16 80 02 	or  %i2, %g2, %g2                              <== NOT EXECUTED
 20442f4:	c4 28 40 00 	stb  %g2, [ %g1 ]                              <== NOT EXECUTED
 20442f8:	f6 2f 60 7c 	stb  %i3, [ %i5 + 0x7c ]                       <== NOT EXECUTED
 20442fc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2044300:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0202a2ec <fat_shutdown_drive>: * RC_OK on success, or -1 if error occured * and errno set appropriately */ int fat_shutdown_drive(fat_fs_info_t *fs_info) {
 202a2ec:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int            rc = RC_OK;                                        
    int            i = 0;                                             
                                                                      
    if (fs_info->vol.type & FAT_FAT32)                                
 202a2f0:	c2 0e 20 0a 	ldub  [ %i0 + 0xa ], %g1                       
 *     RC_OK on success, or -1 if error occured                       
 *     and errno set appropriately                                    
 */                                                                   
int                                                                   
fat_shutdown_drive(fat_fs_info_t *fs_info)                            
{                                                                     
 202a2f4:	b8 10 00 18 	mov  %i0, %i4                                  
    int            rc = RC_OK;                                        
    int            i = 0;                                             
                                                                      
    if (fs_info->vol.type & FAT_FAT32)                                
 202a2f8:	82 08 60 04 	and  %g1, 4, %g1                               
 202a2fc:	80 88 60 ff 	btst  0xff, %g1                                
 202a300:	12 80 00 3c 	bne  202a3f0 <fat_shutdown_drive+0x104>        <== NEVER TAKEN
 202a304:	b0 10 20 00 	clr  %i0                                       
                                            fs_info->vol.next_cl);    
        if ( rc != RC_OK )                                            
            rc = -1;                                                  
    }                                                                 
                                                                      
    fat_buf_release(fs_info);                                         
 202a308:	7f ff fe 3b 	call  2029bf4 <fat_buf_release>                
 202a30c:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dd) != RTEMS_SUCCESSFUL)     
 202a310:	7f ff 73 29 	call  2006fb4 <rtems_bdbuf_syncdev>            
 202a314:	d0 07 20 58 	ld  [ %i4 + 0x58 ], %o0                        
 202a318:	80 a2 20 00 	cmp  %o0, 0                                    
 202a31c:	32 80 00 3d 	bne,a   202a410 <fat_shutdown_drive+0x124>     <== NEVER TAKEN
 202a320:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        rc = -1;                                                      
 202a324:	b6 10 20 00 	clr  %i3                                       
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->vhash + i;          
 202a328:	fa 07 20 60 	ld  [ %i4 + 0x60 ], %i5                        
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
 202a32c:	10 80 00 04 	b  202a33c <fat_shutdown_drive+0x50>           
 202a330:	ba 07 40 1b 	add  %i5, %i3, %i5                             
            free(node);                                               
 202a334:	7f ff 7b f6 	call  200930c <free>                           <== NOT EXECUTED
 202a338:	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 );                                     
 202a33c:	7f ff 92 a3 	call  200edc8 <_Chain_Get>                     
 202a340:	90 10 00 1d 	mov  %i5, %o0                                  
    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 )         
 202a344:	80 a2 20 00 	cmp  %o0, 0                                    
 202a348:	12 bf ff fb 	bne  202a334 <fat_shutdown_drive+0x48>         <== NEVER TAKEN
 202a34c:	01 00 00 00 	nop                                            
 202a350:	b6 06 e0 0c 	add  %i3, 0xc, %i3                             
    fat_buf_release(fs_info);                                         
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dd) != RTEMS_SUCCESSFUL)     
        rc = -1;                                                      
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
 202a354:	80 a6 e0 18 	cmp  %i3, 0x18                                 
 202a358:	32 bf ff f5 	bne,a   202a32c <fat_shutdown_drive+0x40>      
 202a35c:	fa 07 20 60 	ld  [ %i4 + 0x60 ], %i5                        
 202a360:	b6 10 20 00 	clr  %i3                                       
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
    {                                                                 
        rtems_chain_node    *node = NULL;                             
        rtems_chain_control *the_chain = fs_info->rhash + i;          
 202a364:	fa 07 20 64 	ld  [ %i4 + 0x64 ], %i5                        
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
 202a368:	10 80 00 04 	b  202a378 <fat_shutdown_drive+0x8c>           
 202a36c:	ba 07 40 1b 	add  %i5, %i3, %i5                             
            free(node);                                               
 202a370:	7f ff 7b e7 	call  200930c <free>                           <== NOT EXECUTED
 202a374:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202a378:	7f ff 92 94 	call  200edc8 <_Chain_Get>                     
 202a37c:	90 10 00 1d 	mov  %i5, %o0                                  
    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 )         
 202a380:	80 a2 20 00 	cmp  %o0, 0                                    
 202a384:	12 bf ff fb 	bne  202a370 <fat_shutdown_drive+0x84>         <== NEVER TAKEN
 202a388:	01 00 00 00 	nop                                            
 202a38c:	b6 06 e0 0c 	add  %i3, 0xc, %i3                             
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    for (i = 0; i < FAT_HASH_SIZE; i++)                               
 202a390:	80 a6 e0 18 	cmp  %i3, 0x18                                 
 202a394:	32 bf ff f5 	bne,a   202a368 <fat_shutdown_drive+0x7c>      
 202a398:	fa 07 20 64 	ld  [ %i4 + 0x64 ], %i5                        
                                                                      
        while ( (node = rtems_chain_get(the_chain)) != NULL )         
            free(node);                                               
    }                                                                 
                                                                      
    free(fs_info->vhash);                                             
 202a39c:	7f ff 7b dc 	call  200930c <free>                           
 202a3a0:	d0 07 20 60 	ld  [ %i4 + 0x60 ], %o0                        
    free(fs_info->rhash);                                             
 202a3a4:	7f ff 7b da 	call  200930c <free>                           
 202a3a8:	d0 07 20 64 	ld  [ %i4 + 0x64 ], %o0                        
                                                                      
    free(fs_info->uino);                                              
 202a3ac:	7f ff 7b d8 	call  200930c <free>                           
 202a3b0:	d0 07 20 68 	ld  [ %i4 + 0x68 ], %o0                        
    free(fs_info->sec_buf);                                           
 202a3b4:	7f ff 7b d6 	call  200930c <free>                           
 202a3b8:	d0 07 20 84 	ld  [ %i4 + 0x84 ], %o0                        
    close(fs_info->vol.fd);                                           
 202a3bc:	7f ff 7b 17 	call  2009018 <close>                          
 202a3c0:	d0 07 20 54 	ld  [ %i4 + 0x54 ], %o0                        
                                                                      
    if (rc)                                                           
 202a3c4:	80 a6 20 00 	cmp  %i0, 0                                    
 202a3c8:	12 80 00 04 	bne  202a3d8 <fat_shutdown_drive+0xec>         <== NEVER TAKEN
 202a3cc:	01 00 00 00 	nop                                            
        errno = EIO;                                                  
    return rc;                                                        
}                                                                     
 202a3d0:	81 c7 e0 08 	ret                                            
 202a3d4:	81 e8 00 00 	restore                                        
    free(fs_info->uino);                                              
    free(fs_info->sec_buf);                                           
    close(fs_info->vol.fd);                                           
                                                                      
    if (rc)                                                           
        errno = EIO;                                                  
 202a3d8:	40 00 79 4c 	call  2048908 <__errno>                        <== NOT EXECUTED
 202a3dc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202a3e0:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 202a3e4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 202a3e8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202a3ec:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    int            rc = RC_OK;                                        
    int            i = 0;                                             
                                                                      
    if (fs_info->vol.type & FAT_FAT32)                                
    {                                                                 
        rc = fat_fat32_update_fsinfo_sector(fs_info, fs_info->vol.free_cls,
 202a3f0:	d2 07 20 40 	ld  [ %i4 + 0x40 ], %o1                        <== NOT EXECUTED
 202a3f4:	d4 07 20 44 	ld  [ %i4 + 0x44 ], %o2                        <== NOT EXECUTED
 202a3f8:	7f ff ff 8e 	call  202a230 <fat_fat32_update_fsinfo_sector> <== NOT EXECUTED
 202a3fc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                            fs_info->vol.next_cl);    
        if ( rc != RC_OK )                                            
 202a400:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 202a404:	32 bf ff c1 	bne,a   202a308 <fat_shutdown_drive+0x1c>      <== NOT EXECUTED
 202a408:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202a40c:	30 bf ff bf 	b,a   202a308 <fat_shutdown_drive+0x1c>        <== NOT EXECUTED
    }                                                                 
                                                                      
    fat_buf_release(fs_info);                                         
                                                                      
    if (rtems_bdbuf_syncdev(fs_info->vol.dd) != RTEMS_SUCCESSFUL)     
        rc = -1;                                                      
 202a410:	10 bf ff c6 	b  202a328 <fat_shutdown_drive+0x3c>           <== NOT EXECUTED
 202a414:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
                                                                      

02044764 <fchdir>: #include <unistd.h> #include <rtems/libio_.h> int fchdir( int fd ) {
 2044764:	9d e3 bf 40 	save  %sp, -192, %sp                           
                                                                      
  st.st_mode = 0;                                                     
  st.st_uid = 0;                                                      
  st.st_gid = 0;                                                      
                                                                      
  rtems_libio_check_fd( fd );                                         
 2044768:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 204476c:	c2 00 62 68 	ld  [ %g1 + 0x268 ], %g1	! 2071a68 <rtems_libio_number_iops>
  int rv = 0;                                                         
  rtems_libio_t *iop;                                                 
  struct stat st;                                                     
  rtems_filesystem_location_info_t loc;                               
                                                                      
  st.st_mode = 0;                                                     
 2044770:	c0 27 bf c4 	clr  [ %fp + -60 ]                             
  st.st_uid = 0;                                                      
 2044774:	c0 37 bf ca 	clrh  [ %fp + -54 ]                            
  st.st_gid = 0;                                                      
                                                                      
  rtems_libio_check_fd( fd );                                         
 2044778:	80 a6 00 01 	cmp  %i0, %g1                                  
 204477c:	1a 80 00 3d 	bcc  2044870 <fchdir+0x10c>                    
 2044780:	c0 37 bf cc 	clrh  [ %fp + -52 ]                            
  iop = rtems_libio_iop( fd );                                        
 2044784:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
 2044788:	fa 00 63 f8 	ld  [ %g1 + 0x3f8 ], %i5	! 2075bf8 <rtems_libio_iops>
 204478c:	83 2e 20 03 	sll  %i0, 3, %g1                               
 2044790:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 2044794:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 2044798:	ba 07 40 18 	add  %i5, %i0, %i5                             
  rtems_libio_check_is_open( iop );                                   
 204479c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 20447a0:	80 88 61 00 	btst  0x100, %g1                               
 20447a4:	02 80 00 33 	be  2044870 <fchdir+0x10c>                     
 20447a8:	01 00 00 00 	nop                                            
                                                                      
static inline void rtems_filesystem_instance_lock(                    
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 20447ac:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
  (*mt_entry->ops->lock_h)( mt_entry );                               
 20447b0:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 20447b4:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 20447b8:	9f c0 40 00 	call  %g1                                      
 20447bc:	b8 07 60 14 	add  %i5, 0x14, %i4                            
                                                                      
  rtems_filesystem_instance_lock( &iop->pathinfo );                   
  rv = (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, &st );     
 20447c0:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 20447c4:	90 10 00 1c 	mov  %i4, %o0                                  
 20447c8:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
 20447cc:	9f c0 40 00 	call  %g1                                      
 20447d0:	92 07 bf b8 	add  %fp, -72, %o1                             
  if ( rv == 0 ) {                                                    
 20447d4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20447d8:	02 80 00 09 	be  20447fc <fchdir+0x98>                      <== ALWAYS TAKEN
 20447dc:	d2 07 bf c4 	ld  [ %fp + -60 ], %o1                         
                                                                      
static inline void rtems_filesystem_instance_unlock(                  
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 20447e0:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        <== NOT EXECUTED
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
 20447e4:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         <== NOT EXECUTED
 20447e8:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           <== NOT EXECUTED
 20447ec:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 20447f0:	01 00 00 00 	nop                                            <== NOT EXECUTED
  if ( rv == 0 ) {                                                    
    rv = rtems_filesystem_chdir( &loc );                              
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20447f4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20447f8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rtems_libio_check_is_open( iop );                                   
                                                                      
  rtems_filesystem_instance_lock( &iop->pathinfo );                   
  rv = (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, &st );     
  if ( rv == 0 ) {                                                    
    bool access_ok = rtems_filesystem_check_access(                   
 20447fc:	d4 17 bf ca 	lduh  [ %fp + -54 ], %o2                       
 2044800:	d6 17 bf cc 	lduh  [ %fp + -52 ], %o3                       
 2044804:	7f ff a2 1b 	call  202d070 <rtems_filesystem_check_access>  
 2044808:	90 10 20 01 	mov  1, %o0                                    
      st.st_mode,                                                     
      st.st_uid,                                                      
      st.st_gid                                                       
    );                                                                
                                                                      
    if ( access_ok ) {                                                
 204480c:	80 8a 20 ff 	btst  0xff, %o0                                
 2044810:	02 80 00 0d 	be  2044844 <fchdir+0xe0>                      
 2044814:	92 10 00 1c 	mov  %i4, %o1                                  
      rtems_filesystem_location_clone( &loc, &iop->pathinfo );        
 2044818:	7f ff 9c 20 	call  202b898 <rtems_filesystem_location_clone>
 204481c:	90 07 bf a0 	add  %fp, -96, %o0                             
                                                                      
static inline void rtems_filesystem_instance_unlock(                  
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 2044820:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
 2044824:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 2044828:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 204482c:	9f c0 40 00 	call  %g1                                      
 2044830:	01 00 00 00 	nop                                            
    }                                                                 
  }                                                                   
  rtems_filesystem_instance_unlock( &iop->pathinfo );                 
                                                                      
  if ( rv == 0 ) {                                                    
    rv = rtems_filesystem_chdir( &loc );                              
 2044834:	7f ff 9b 92 	call  202b67c <rtems_filesystem_chdir>         
 2044838:	90 07 bf a0 	add  %fp, -96, %o0                             
 204483c:	81 c7 e0 08 	ret                                            
 2044840:	91 e8 00 08 	restore  %g0, %o0, %o0                         
    );                                                                
                                                                      
    if ( access_ok ) {                                                
      rtems_filesystem_location_clone( &loc, &iop->pathinfo );        
    } else {                                                          
      errno = EACCES;                                                 
 2044844:	40 00 10 31 	call  2048908 <__errno>                        
 2044848:	b0 10 3f ff 	mov  -1, %i0                                   
 204484c:	82 10 20 0d 	mov  0xd, %g1                                  
 2044850:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
static inline void rtems_filesystem_instance_unlock(                  
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 2044854:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
 2044858:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 204485c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2044860:	9f c0 40 00 	call  %g1                                      
 2044864:	01 00 00 00 	nop                                            
  if ( rv == 0 ) {                                                    
    rv = rtems_filesystem_chdir( &loc );                              
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 2044868:	81 c7 e0 08 	ret                                            
 204486c:	81 e8 00 00 	restore                                        
  st.st_uid = 0;                                                      
  st.st_gid = 0;                                                      
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
 2044870:	40 00 10 26 	call  2048908 <__errno>                        
 2044874:	b0 10 3f ff 	mov  -1, %i0                                   
 2044878:	82 10 20 09 	mov  9, %g1                                    
 204487c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2044880:	81 c7 e0 08 	ret                                            
 2044884:	81 e8 00 00 	restore                                        
                                                                      

0202b8e0 <fchmod>: #include <sys/stat.h> #include <rtems/libio_.h> int fchmod( int fd, mode_t mode ) {
 202b8e0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv;                                                             
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 202b8e4:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 202b8e8:	c2 00 62 68 	ld  [ %g1 + 0x268 ], %g1	! 2071a68 <rtems_libio_number_iops>
 202b8ec:	80 a6 00 01 	cmp  %i0, %g1                                  
 202b8f0:	1a 80 00 28 	bcc  202b990 <fchmod+0xb0>                     
 202b8f4:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
  iop = rtems_libio_iop( fd );                                        
 202b8f8:	fa 00 63 f8 	ld  [ %g1 + 0x3f8 ], %i5	! 2075bf8 <rtems_libio_iops>
 202b8fc:	83 2e 20 03 	sll  %i0, 3, %g1                               
 202b900:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 202b904:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 202b908:	ba 07 40 18 	add  %i5, %i0, %i5                             
  rtems_libio_check_is_open(iop);                                     
 202b90c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 202b910:	80 88 61 00 	btst  0x100, %g1                               
 202b914:	02 80 00 1f 	be  202b990 <fchmod+0xb0>                      
 202b918:	01 00 00 00 	nop                                            
                                                                      
  if (iop->pathinfo.mt_entry->writeable) {                            
 202b91c:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
 202b920:	c2 0a 20 29 	ldub  [ %o0 + 0x29 ], %g1                      
 202b924:	80 a0 60 00 	cmp  %g1, 0                                    
 202b928:	02 80 00 14 	be  202b978 <fchmod+0x98>                      <== NEVER TAKEN
 202b92c:	01 00 00 00 	nop                                            
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
                                                                      
  (*mt_entry->ops->lock_h)( mt_entry );                               
 202b930:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 202b934:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 202b938:	9f c0 40 00 	call  %g1                                      
 202b93c:	01 00 00 00 	nop                                            
    rtems_filesystem_instance_lock( &iop->pathinfo );                 
    rv = (*iop->pathinfo.mt_entry->ops->fchmod_h)( &iop->pathinfo, mode );
 202b940:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 202b944:	90 07 60 14 	add  %i5, 0x14, %o0                            
 202b948:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 202b94c:	c2 00 60 20 	ld  [ %g1 + 0x20 ], %g1                        
 202b950:	9f c0 40 00 	call  %g1                                      
 202b954:	92 10 00 19 	mov  %i1, %o1                                  
 202b958:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
static inline void rtems_filesystem_instance_unlock(                  
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 202b95c:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
 202b960:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 202b964:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 202b968:	9f c0 40 00 	call  %g1                                      
 202b96c:	01 00 00 00 	nop                                            
 202b970:	81 c7 e0 08 	ret                                            
 202b974:	81 e8 00 00 	restore                                        
    rtems_filesystem_instance_unlock( &iop->pathinfo );               
  } else {                                                            
    errno = EROFS;                                                    
 202b978:	40 00 73 e4 	call  2048908 <__errno>                        <== NOT EXECUTED
 202b97c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202b980:	82 10 20 1e 	mov  0x1e, %g1                                 <== NOT EXECUTED
 202b984:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 202b988:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202b98c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  int rv;                                                             
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 202b990:	40 00 73 de 	call  2048908 <__errno>                        
 202b994:	b0 10 3f ff 	mov  -1, %i0                                   
 202b998:	82 10 20 09 	mov  9, %g1                                    
 202b99c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 202b9a0:	81 c7 e0 08 	ret                                            
 202b9a4:	81 e8 00 00 	restore                                        
                                                                      

0202b9a8 <fchown>: #include <unistd.h> #include <rtems/libio_.h> int fchown( int fd, uid_t owner, gid_t group ) {
 202b9a8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv = 0;                                                         
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 202b9ac:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 202b9b0:	c2 00 62 68 	ld  [ %g1 + 0x268 ], %g1	! 2071a68 <rtems_libio_number_iops>
 202b9b4:	80 a6 00 01 	cmp  %i0, %g1                                  
 202b9b8:	1a 80 00 29 	bcc  202ba5c <fchown+0xb4>                     
 202b9bc:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
  iop = rtems_libio_iop( fd );                                        
 202b9c0:	fa 00 63 f8 	ld  [ %g1 + 0x3f8 ], %i5	! 2075bf8 <rtems_libio_iops>
 202b9c4:	83 2e 20 03 	sll  %i0, 3, %g1                               
 202b9c8:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 202b9cc:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 202b9d0:	ba 07 40 18 	add  %i5, %i0, %i5                             
  rtems_libio_check_is_open(iop);                                     
 202b9d4:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 202b9d8:	80 88 61 00 	btst  0x100, %g1                               
 202b9dc:	02 80 00 20 	be  202ba5c <fchown+0xb4>                      
 202b9e0:	01 00 00 00 	nop                                            
                                                                      
  if (iop->pathinfo.mt_entry->writeable) {                            
 202b9e4:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
 202b9e8:	c2 0a 20 29 	ldub  [ %o0 + 0x29 ], %g1                      
 202b9ec:	80 a0 60 00 	cmp  %g1, 0                                    
 202b9f0:	02 80 00 15 	be  202ba44 <fchown+0x9c>                      <== NEVER TAKEN
 202b9f4:	01 00 00 00 	nop                                            
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
                                                                      
  (*mt_entry->ops->lock_h)( mt_entry );                               
 202b9f8:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 202b9fc:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 202ba00:	9f c0 40 00 	call  %g1                                      
 202ba04:	01 00 00 00 	nop                                            
    rtems_filesystem_instance_lock( &iop->pathinfo );                 
    rv = (*iop->pathinfo.mt_entry->ops->chown_h)(                     
 202ba08:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 202ba0c:	90 07 60 14 	add  %i5, 0x14, %o0                            
 202ba10:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 202ba14:	92 10 00 19 	mov  %i1, %o1                                  
 202ba18:	c2 00 60 24 	ld  [ %g1 + 0x24 ], %g1                        
 202ba1c:	9f c0 40 00 	call  %g1                                      
 202ba20:	94 10 00 1a 	mov  %i2, %o2                                  
 202ba24:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
static inline void rtems_filesystem_instance_unlock(                  
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 202ba28:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
 202ba2c:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 202ba30:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 202ba34:	9f c0 40 00 	call  %g1                                      
 202ba38:	01 00 00 00 	nop                                            
 202ba3c:	81 c7 e0 08 	ret                                            
 202ba40:	81 e8 00 00 	restore                                        
      owner,                                                          
      group                                                           
    );                                                                
    rtems_filesystem_instance_unlock( &iop->pathinfo );               
  } else {                                                            
    errno = EROFS;                                                    
 202ba44:	40 00 73 b1 	call  2048908 <__errno>                        <== NOT EXECUTED
 202ba48:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202ba4c:	82 10 20 1e 	mov  0x1e, %g1                                 <== NOT EXECUTED
 202ba50:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 202ba54:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202ba58:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  int rv = 0;                                                         
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 202ba5c:	40 00 73 ab 	call  2048908 <__errno>                        
 202ba60:	b0 10 3f ff 	mov  -1, %i0                                   
 202ba64:	82 10 20 09 	mov  9, %g1                                    
 202ba68:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 202ba6c:	81 c7 e0 08 	ret                                            
 202ba70:	81 e8 00 00 	restore                                        
                                                                      

020448b0 <fcntl>: int fcntl( int fd, int cmd, ... ) {
 20448b0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 20448b4:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 20448b8:	c4 00 62 68 	ld  [ %g1 + 0x268 ], %g2	! 2071a68 <rtems_libio_number_iops>
  ...                                                                 
)                                                                     
{                                                                     
  int            ret;                                                 
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
 20448bc:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 20448c0:	82 07 a0 4c 	add  %fp, 0x4c, %g1                            
 20448c4:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 20448c8:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 20448cc:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 20448d0:	80 a6 00 02 	cmp  %i0, %g2                                  
 20448d4:	1a 80 00 7c 	bcc  2044ac4 <fcntl+0x214>                     
 20448d8:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
  iop = rtems_libio_iop( fd );                                        
 20448dc:	39 00 81 d6 	sethi  %hi(0x2075800), %i4                     
 20448e0:	fa 07 23 f8 	ld  [ %i4 + 0x3f8 ], %i5	! 2075bf8 <rtems_libio_iops>
 20448e4:	85 2e 20 03 	sll  %i0, 3, %g2                               
 20448e8:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 20448ec:	b0 26 00 02 	sub  %i0, %g2, %i0                             
 20448f0:	ba 07 40 18 	add  %i5, %i0, %i5                             
  rtems_libio_check_is_open(iop);                                     
 20448f4:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
 20448f8:	80 8a 21 00 	btst  0x100, %o0                               
 20448fc:	02 80 00 72 	be  2044ac4 <fcntl+0x214>                      
 2044900:	80 a6 60 09 	cmp  %i1, 9                                    
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
 2044904:	08 80 00 08 	bleu  2044924 <fcntl+0x74>                     
 2044908:	85 2e 60 02 	sll  %i1, 2, %g2                               
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    default:                                                          
      errno = EINVAL;                                                 
 204490c:	40 00 0f ff 	call  2048908 <__errno>                        
 2044910:	b0 10 3f ff 	mov  -1, %i0                                   
 2044914:	82 10 20 16 	mov  0x16, %g1                                 
 2044918:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
 204491c:	81 c7 e0 08 	ret                                            
 2044920:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  This switch should contain all the cases from POSIX.            
   */                                                                 
                                                                      
  switch ( cmd ) {                                                    
 2044924:	07 00 81 12 	sethi  %hi(0x2044800), %g3                     
 2044928:	86 10 e0 88 	or  %g3, 0x88, %g3	! 2044888 <fchdir+0x124>    
 204492c:	c4 00 c0 02 	ld  [ %g3 + %g2 ], %g2                         
 2044930:	81 c0 80 00 	jmp  %g2                                       
 2044934:	01 00 00 00 	nop                                            
      errno = ENOTSUP;                                                
      ret = -1;                                                       
      break;                                                          
                                                                      
    case F_GETOWN:       /*  for sockets. */                          
      errno = ENOTSUP;                                                
 2044938:	40 00 0f f4 	call  2048908 <__errno>                        
 204493c:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 2044940:	82 10 20 86 	mov  0x86, %g1                                 
 2044944:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2044948:	81 c7 e0 08 	ret                                            
 204494c:	81 e8 00 00 	restore                                        
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
      break;                                                          
                                                                      
    case F_SETFL:                                                     
      flags = rtems_libio_fcntl_flags( va_arg( ap, int ) );           
 2044950:	d0 00 40 00 	ld  [ %g1 ], %o0                               
 2044954:	7f ff 13 1d 	call  20095c8 <rtems_libio_fcntl_flags>        
 2044958:	b0 10 20 00 	clr  %i0                                       
                                                                      
      /*                                                              
       *  XXX If we are turning on append, should we seek to the end? 
       */                                                             
                                                                      
      iop->flags = (iop->flags & ~mask) | (flags & mask);             
 204495c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 2044960:	90 0a 22 01 	and  %o0, 0x201, %o0                           
 2044964:	82 08 7d fe 	and  %g1, -514, %g1                            
 2044968:	82 12 00 01 	or  %o0, %g1, %g1                              
 204496c:	c2 27 60 10 	st  %g1, [ %i5 + 0x10 ]                        
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
    int err = (*iop->pathinfo.handlers->fcntl_h)( iop, cmd );         
 2044970:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 2044974:	90 10 00 1d 	mov  %i5, %o0                                  
 2044978:	c2 00 60 28 	ld  [ %g1 + 0x28 ], %g1                        
 204497c:	9f c0 40 00 	call  %g1                                      
 2044980:	92 10 00 19 	mov  %i1, %o1                                  
    if (err) {                                                        
 2044984:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2044988:	02 80 00 53 	be  2044ad4 <fcntl+0x224>                      <== ALWAYS TAKEN
 204498c:	01 00 00 00 	nop                                            
      errno = err;                                                    
 2044990:	40 00 0f de 	call  2048908 <__errno>                        <== NOT EXECUTED
 2044994:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 2044998:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
 204499c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20449a0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
      break;                                                          
                                                                      
    case F_GETFL:        /* more flags (cloexec) */                   
      ret = rtems_libio_to_fcntl_flags( iop->flags );                 
 20449a4:	7f ff 13 16 	call  20095fc <rtems_libio_to_fcntl_flags>     
 20449a8:	01 00 00 00 	nop                                            
 20449ac:	b0 10 00 08 	mov  %o0, %i0                                  
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
 20449b0:	80 a6 20 00 	cmp  %i0, 0                                    
 20449b4:	36 bf ff f0 	bge,a   2044974 <fcntl+0xc4>                   <== ALWAYS TAKEN
 20449b8:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
  va_list        ap;                                                  
  va_start( ap, cmd );                                                
  ret = vfcntl(fd,cmd,ap);                                            
  va_end(ap);                                                         
  return ret;                                                         
}                                                                     
 20449bc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20449c0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
       *  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 ) )                                        
 20449c4:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 20449c8:	80 a0 60 00 	cmp  %g1, 0                                    
 20449cc:	22 80 00 3b 	be,a   2044ab8 <fcntl+0x208>                   
 20449d0:	90 0a 37 ff 	and  %o0, -2049, %o0                           
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
 20449d4:	90 12 28 00 	or  %o0, 0x800, %o0                            
{                                                                     
  rtems_libio_t *iop;                                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
 20449d8:	b0 10 20 00 	clr  %i0                                       
       *  processes, then we can ignore this one except to make       
       *  F_GETFD work.                                               
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
 20449dc:	10 bf ff e5 	b  2044970 <fcntl+0xc0>                        
 20449e0:	d0 27 60 10 	st  %o0, [ %i5 + 0x10 ]                        
      fd2 = va_arg( ap, int );                                        
      ret = duplicate_iop( iop, fd2 );                                
      break;                                                          
                                                                      
    case F_GETFD:        /* get f_flags */                            
      ret = ((iop->flags & LIBIO_FLAGS_CLOSE_ON_EXEC) != 0);          
 20449e4:	b1 32 20 0b 	srl  %o0, 0xb, %i0                             
 20449e8:	10 bf ff e2 	b  2044970 <fcntl+0xc0>                        
 20449ec:	b0 0e 20 01 	and  %i0, 1, %i0                               
                                                                      
  /*                                                                  
   * FIXME: We ignore the start value fd2 for the file descriptor search.  This
   * is not POSIX conform.                                            
   */                                                                 
  rtems_libio_t *diop = rtems_libio_allocate();                       
 20449f0:	7f ff 13 1a 	call  2009658 <rtems_libio_allocate>           
 20449f4:	01 00 00 00 	nop                                            
                                                                      
  if (diop != NULL) {                                                 
 20449f8:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 20449fc:	02 bf ff c8 	be  204491c <fcntl+0x6c>                       
 2044a00:	b0 10 3f ff 	mov  -1, %i0                                   
    int oflag = rtems_libio_to_fcntl_flags( iop->flags );             
 2044a04:	7f ff 12 fe 	call  20095fc <rtems_libio_to_fcntl_flags>     
 2044a08:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
                                                                      
    oflag &= ~O_CREAT;                                                
    diop->flags |= rtems_libio_fcntl_flags( oflag );                  
 2044a0c:	f0 06 e0 10 	ld  [ %i3 + 0x10 ], %i0                        
  rtems_libio_t *diop = rtems_libio_allocate();                       
                                                                      
  if (diop != NULL) {                                                 
    int oflag = rtems_libio_to_fcntl_flags( iop->flags );             
                                                                      
    oflag &= ~O_CREAT;                                                
 2044a10:	b4 0a 3d ff 	and  %o0, -513, %i2                            
    diop->flags |= rtems_libio_fcntl_flags( oflag );                  
 2044a14:	7f ff 12 ed 	call  20095c8 <rtems_libio_fcntl_flags>        
 2044a18:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
static inline void rtems_filesystem_instance_lock(                    
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 2044a1c:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2044a20:	b0 12 00 18 	or  %o0, %i0, %i0                              
                                                                      
  (*mt_entry->ops->lock_h)( mt_entry );                               
 2044a24:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 2044a28:	90 10 00 01 	mov  %g1, %o0                                  
 2044a2c:	c2 00 80 00 	ld  [ %g2 ], %g1                               
 2044a30:	9f c0 40 00 	call  %g1                                      
 2044a34:	f0 26 e0 10 	st  %i0, [ %i3 + 0x10 ]                        
                                                                      
    rtems_filesystem_instance_lock( &iop->pathinfo );                 
    rtems_filesystem_location_clone( &diop->pathinfo, &iop->pathinfo );
 2044a38:	92 07 60 14 	add  %i5, 0x14, %o1                            
 2044a3c:	7f ff 9b 97 	call  202b898 <rtems_filesystem_location_clone>
 2044a40:	90 06 e0 14 	add  %i3, 0x14, %o0                            
                                                                      
static inline void rtems_filesystem_instance_unlock(                  
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 2044a44:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
 2044a48:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 2044a4c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2044a50:	9f c0 40 00 	call  %g1                                      
 2044a54:	01 00 00 00 	nop                                            
    /*                                                                
     * XXX: We call the open handler here to have a proper open and close pair.
     *                                                                
     * FIXME: What to do with the path?                               
     */                                                               
    rv = (*diop->pathinfo.handlers->open_h)( diop, NULL, oflag, 0 );  
 2044a58:	c2 06 e0 24 	ld  [ %i3 + 0x24 ], %g1                        
 2044a5c:	90 10 00 1b 	mov  %i3, %o0                                  
 2044a60:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2044a64:	92 10 20 00 	clr  %o1                                       
 2044a68:	94 10 00 1a 	mov  %i2, %o2                                  
 2044a6c:	9f c0 40 00 	call  %g1                                      
 2044a70:	96 10 20 00 	clr  %o3                                       
    if ( rv == 0 ) {                                                  
 2044a74:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2044a78:	12 80 00 19 	bne  2044adc <fcntl+0x22c>                     <== NEVER TAKEN
 2044a7c:	c2 07 23 f8 	ld  [ %i4 + 0x3f8 ], %g1                       
      rv = diop - rtems_libio_iops;                                   
 2044a80:	b6 26 c0 01 	sub  %i3, %g1, %i3                             
 2044a84:	b7 3e e0 03 	sra  %i3, 3, %i3                               
 2044a88:	85 2e e0 03 	sll  %i3, 3, %g2                               
 2044a8c:	83 2e e0 06 	sll  %i3, 6, %g1                               
 2044a90:	82 00 80 01 	add  %g2, %g1, %g1                             
 2044a94:	85 28 60 06 	sll  %g1, 6, %g2                               
 2044a98:	82 00 40 02 	add  %g1, %g2, %g1                             
 2044a9c:	82 00 40 1b 	add  %g1, %i3, %g1                             
 2044aa0:	85 28 60 0f 	sll  %g1, 0xf, %g2                             
 2044aa4:	82 00 40 02 	add  %g1, %g2, %g1                             
 2044aa8:	83 28 60 03 	sll  %g1, 3, %g1                               
 2044aac:	b6 00 40 1b 	add  %g1, %i3, %i3                             
 2044ab0:	10 bf ff c0 	b  20449b0 <fcntl+0x100>                       
 2044ab4:	b0 20 00 1b 	neg  %i3, %i0                                  
{                                                                     
  rtems_libio_t *iop;                                                 
  int            fd2;                                                 
  int            flags;                                               
  int            mask;                                                
  int            ret = 0;                                             
 2044ab8:	b0 10 20 00 	clr  %i0                                       
       */                                                             
                                                                      
      if ( va_arg( ap, int ) )                                        
        iop->flags |= LIBIO_FLAGS_CLOSE_ON_EXEC;                      
      else                                                            
        iop->flags &= ~LIBIO_FLAGS_CLOSE_ON_EXEC;                     
 2044abc:	10 bf ff ad 	b  2044970 <fcntl+0xc0>                        
 2044ac0:	d0 27 60 10 	st  %o0, [ %i5 + 0x10 ]                        
  int            mask;                                                
  int            ret = 0;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open(iop);                                     
 2044ac4:	40 00 0f 91 	call  2048908 <__errno>                        
 2044ac8:	b0 10 3f ff 	mov  -1, %i0                                   
 2044acc:	82 10 20 09 	mov  9, %g1                                    
 2044ad0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2044ad4:	81 c7 e0 08 	ret                                            
 2044ad8:	81 e8 00 00 	restore                                        
     */                                                               
    rv = (*diop->pathinfo.handlers->open_h)( diop, NULL, oflag, 0 );  
    if ( rv == 0 ) {                                                  
      rv = diop - rtems_libio_iops;                                   
    } else {                                                          
      rtems_libio_free( diop );                                       
 2044adc:	7f ff 12 f5 	call  20096b0 <rtems_libio_free>               <== NOT EXECUTED
 2044ae0:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
  /*                                                                  
   *  If we got this far successfully, then we give the optional      
   *  filesystem specific handler a chance to process this.           
   */                                                                 
                                                                      
  if (ret >= 0) {                                                     
 2044ae4:	10 bf ff b4 	b  20449b4 <fcntl+0x104>                       <== NOT EXECUTED
 2044ae8:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
                                                                      

0200e9f0 <fifo_open>: */ int fifo_open( pipe_control_t **pipep, rtems_libio_t *iop ) {
 200e9f0:	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) {                              
 200e9f4:	3b 00 80 91 	sethi  %hi(0x2024400), %i5                     
 200e9f8:	d0 07 61 d8 	ld  [ %i5 + 0x1d8 ], %o0	! 20245d8 <pipe_semaphore>
 */                                                                   
int fifo_open(                                                        
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
 200e9fc:	b6 10 00 18 	mov  %i0, %i3                                  
                                                                      
static int pipe_lock(void)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
 200ea00:	80 a2 20 00 	cmp  %o0, 0                                    
 200ea04:	02 80 00 18 	be  200ea64 <fifo_open+0x74>                   
 200ea08:	b8 17 61 d8 	or  %i5, 0x1d8, %i4                            
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
    sc = rtems_semaphore_obtain(pipe_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 200ea0c:	92 10 20 00 	clr  %o1                                       
 200ea10:	7f ff eb 61 	call  2009794 <rtems_semaphore_obtain>         
 200ea14:	94 10 20 00 	clr  %o2                                       
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
 200ea18:	80 a2 20 00 	cmp  %o0, 0                                    
 200ea1c:	12 80 00 7a 	bne  200ec04 <fifo_open+0x214>                 <== NEVER TAKEN
 200ea20:	01 00 00 00 	nop                                            
                                                                      
  err = pipe_lock();                                                  
  if (err)                                                            
    return err;                                                       
                                                                      
  pipe = *pipep;                                                      
 200ea24:	f8 06 c0 00 	ld  [ %i3 ], %i4                               
  if (pipe == NULL) {                                                 
 200ea28:	80 a7 20 00 	cmp  %i4, 0                                    
 200ea2c:	02 80 00 1b 	be  200ea98 <fifo_open+0xa8>                   
 200ea30:	01 00 00 00 	nop                                            
    err = pipe_alloc(&pipe);                                          
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 200ea34:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        
 200ea38:	92 10 20 00 	clr  %o1                                       
 200ea3c:	7f ff eb 56 	call  2009794 <rtems_semaphore_obtain>         
 200ea40:	94 10 20 00 	clr  %o2                                       
 200ea44:	80 a2 20 00 	cmp  %o0, 0                                    
 200ea48:	02 80 00 8c 	be  200ec78 <fifo_open+0x288>                  <== ALWAYS TAKEN
 200ea4c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
    err = -EINTR;                                                     
                                                                      
  if (*pipep == NULL) {                                               
 200ea50:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200ea54:	22 80 00 6e 	be,a   200ec0c <fifo_open+0x21c>               <== NOT EXECUTED
 200ea58:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        <== NOT EXECUTED
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
 200ea5c:	10 80 00 76 	b  200ec34 <fifo_open+0x244>                   <== NOT EXECUTED
 200ea60:	b0 10 3f fc 	mov  -4, %i0                                   <== NOT EXECUTED
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
 200ea64:	35 00 80 92 	sethi  %hi(0x2024800), %i2                     
 200ea68:	d0 06 a0 44 	ld  [ %i2 + 0x44 ], %o0	! 2024844 <rtems_libio_semaphore>
 200ea6c:	92 10 20 00 	clr  %o1                                       
 200ea70:	7f ff eb 49 	call  2009794 <rtems_semaphore_obtain>         
 200ea74:	94 10 20 00 	clr  %o2                                       
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
 200ea78:	c2 07 61 d8 	ld  [ %i5 + 0x1d8 ], %g1                       
 200ea7c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ea80:	02 80 00 55 	be  200ebd4 <fifo_open+0x1e4>                  <== ALWAYS TAKEN
 200ea84:	98 10 00 1c 	mov  %i4, %o4                                  
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 200ea88:	7f ff eb 93 	call  20098d4 <rtems_semaphore_release>        <== NOT EXECUTED
 200ea8c:	d0 06 a0 44 	ld  [ %i2 + 0x44 ], %o0                        <== NOT EXECUTED
 200ea90:	10 bf ff df 	b  200ea0c <fifo_open+0x1c>                    <== NOT EXECUTED
 200ea94:	d0 07 61 d8 	ld  [ %i5 + 0x1d8 ], %o0                       <== NOT EXECUTED
{                                                                     
  static char c = 'a';                                                
  pipe_control_t *pipe;                                               
  int err = -ENOMEM;                                                  
                                                                      
  pipe = malloc(sizeof(pipe_control_t));                              
 200ea98:	7f ff d9 9b 	call  2005104 <malloc>                         
 200ea9c:	90 10 20 34 	mov  0x34, %o0                                 
  if (pipe == NULL)                                                   
 200eaa0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 200eaa4:	02 80 00 73 	be  200ec70 <fifo_open+0x280>                  <== NEVER TAKEN
 200eaa8:	82 10 22 00 	mov  0x200, %g1                                
    return err;                                                       
  memset(pipe, 0, sizeof(pipe_control_t));                            
 200eaac:	c0 27 00 00 	clr  [ %i4 ]                                   
 200eab0:	c0 27 20 08 	clr  [ %i4 + 8 ]                               
 200eab4:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
 200eab8:	c0 27 20 10 	clr  [ %i4 + 0x10 ]                            
 200eabc:	c0 27 20 14 	clr  [ %i4 + 0x14 ]                            
 200eac0:	c0 27 20 18 	clr  [ %i4 + 0x18 ]                            
 200eac4:	c0 27 20 1c 	clr  [ %i4 + 0x1c ]                            
 200eac8:	c0 27 20 20 	clr  [ %i4 + 0x20 ]                            
 200eacc:	c0 27 20 24 	clr  [ %i4 + 0x24 ]                            
 200ead0:	c0 27 20 28 	clr  [ %i4 + 0x28 ]                            
 200ead4:	c0 27 20 2c 	clr  [ %i4 + 0x2c ]                            
 200ead8:	c0 27 20 30 	clr  [ %i4 + 0x30 ]                            
                                                                      
  pipe->Size = PIPE_BUF;                                              
  pipe->Buffer = malloc(pipe->Size);                                  
 200eadc:	90 10 22 00 	mov  0x200, %o0                                
 200eae0:	7f ff d9 89 	call  2005104 <malloc>                         
 200eae4:	c2 27 20 04 	st  %g1, [ %i4 + 4 ]                           
  if (! pipe->Buffer)                                                 
 200eae8:	80 a2 20 00 	cmp  %o0, 0                                    
 200eaec:	02 80 00 5f 	be  200ec68 <fifo_open+0x278>                  <== NEVER TAKEN
 200eaf0:	d0 27 00 00 	st  %o0, [ %i4 ]                               
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
        rtems_build_name ('P', 'I', 'r', c),                          
 200eaf4:	35 00 80 8f 	sethi  %hi(0x2023c00), %i2                     
 200eaf8:	d0 4e a2 90 	ldsb  [ %i2 + 0x290 ], %o0	! 2023e90 <c.7113>  
  if (! pipe->Buffer)                                                 
    goto err_buf;                                                     
                                                                      
  err = -ENOMEM;                                                      
                                                                      
  if (rtems_barrier_create(                                           
 200eafc:	31 14 12 5c 	sethi  %hi(0x50497000), %i0                    
 200eb00:	82 16 22 00 	or  %i0, 0x200, %g1	! 50497200 <RAM_END+0x4e097200>
 200eb04:	92 10 20 00 	clr  %o1                                       
 200eb08:	94 10 20 00 	clr  %o2                                       
 200eb0c:	90 12 00 01 	or  %o0, %g1, %o0                              
 200eb10:	40 00 06 5f 	call  201048c <rtems_barrier_create>           
 200eb14:	96 07 20 2c 	add  %i4, 0x2c, %o3                            
 200eb18:	80 a2 20 00 	cmp  %o0, 0                                    
 200eb1c:	12 80 00 51 	bne  200ec60 <fifo_open+0x270>                 
 200eb20:	d0 4e a2 90 	ldsb  [ %i2 + 0x290 ], %o0                     
        rtems_build_name ('P', 'I', 'r', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->readBarrier) != RTEMS_SUCCESSFUL)                      
    goto err_rbar;                                                    
  if (rtems_barrier_create(                                           
 200eb24:	03 14 12 5d 	sethi  %hi(0x50497400), %g1                    
 200eb28:	82 10 63 00 	or  %g1, 0x300, %g1	! 50497700 <RAM_END+0x4e097700>
 200eb2c:	92 10 20 00 	clr  %o1                                       
 200eb30:	94 10 20 00 	clr  %o2                                       
 200eb34:	90 12 00 01 	or  %o0, %g1, %o0                              
 200eb38:	40 00 06 55 	call  201048c <rtems_barrier_create>           
 200eb3c:	96 07 20 30 	add  %i4, 0x30, %o3                            
 200eb40:	80 a2 20 00 	cmp  %o0, 0                                    
 200eb44:	12 80 00 45 	bne  200ec58 <fifo_open+0x268>                 
 200eb48:	d0 4e a2 90 	ldsb  [ %i2 + 0x290 ], %o0                     
        rtems_build_name ('P', 'I', 'w', c),                          
        RTEMS_BARRIER_MANUAL_RELEASE, 0,                              
        &pipe->writeBarrier) != RTEMS_SUCCESSFUL)                     
    goto err_wbar;                                                    
  if (rtems_semaphore_create(                                         
 200eb4c:	b0 16 23 00 	or  %i0, 0x300, %i0                            
 200eb50:	92 10 20 01 	mov  1, %o1                                    
 200eb54:	90 12 00 18 	or  %o0, %i0, %o0                              
 200eb58:	94 10 20 10 	mov  0x10, %o2                                 
 200eb5c:	96 10 20 00 	clr  %o3                                       
 200eb60:	7f ff ea 64 	call  20094f0 <rtems_semaphore_create>         
 200eb64:	98 07 20 28 	add  %i4, 0x28, %o4                            
 200eb68:	80 a2 20 00 	cmp  %o0, 0                                    
 200eb6c:	12 80 00 39 	bne  200ec50 <fifo_open+0x260>                 
 200eb70:	94 07 bf fc 	add  %fp, -4, %o2                              
RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Get (                  
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Barrier_Control *)                                          
 200eb74:	d2 07 20 2c 	ld  [ %i4 + 0x2c ], %o1                        
 200eb78:	21 00 80 94 	sethi  %hi(0x2025000), %l0                     
 200eb7c:	7f ff f1 f9 	call  200b360 <_Objects_Get>                   
 200eb80:	90 14 23 10 	or  %l0, 0x310, %o0	! 2025310 <_Barrier_Information>
static void pipe_interruptible(pipe_control_t *pipe)                  
{                                                                     
  Objects_Locations location;                                         
                                                                      
  _Barrier_Get(pipe->readBarrier, &location)->Barrier.Wait_queue.state
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
 200eb84:	c2 02 20 4c 	ld  [ %o0 + 0x4c ], %g1                        
 200eb88:	31 04 00 00 	sethi  %hi(0x10000000), %i0                    
 200eb8c:	82 10 40 18 	or  %g1, %i0, %g1                              
  _Thread_Enable_dispatch();                                          
 200eb90:	7f ff f5 d2 	call  200c2d8 <_Thread_Enable_dispatch>        
 200eb94:	c2 22 20 4c 	st  %g1, [ %o0 + 0x4c ]                        
 200eb98:	d2 07 20 30 	ld  [ %i4 + 0x30 ], %o1                        
 200eb9c:	94 07 bf fc 	add  %fp, -4, %o2                              
 200eba0:	7f ff f1 f0 	call  200b360 <_Objects_Get>                   
 200eba4:	90 14 23 10 	or  %l0, 0x310, %o0                            
  _Barrier_Get(pipe->writeBarrier, &location)->Barrier.Wait_queue.state
    |= STATES_INTERRUPTIBLE_BY_SIGNAL;                                
 200eba8:	c2 02 20 4c 	ld  [ %o0 + 0x4c ], %g1                        
 200ebac:	b0 10 40 18 	or  %g1, %i0, %i0                              
  _Thread_Enable_dispatch();                                          
 200ebb0:	7f ff f5 ca 	call  200c2d8 <_Thread_Enable_dispatch>        
 200ebb4:	f0 22 20 4c 	st  %i0, [ %o0 + 0x4c ]                        
#ifdef RTEMS_POSIX_API                                                
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
 200ebb8:	c2 4e a2 90 	ldsb  [ %i2 + 0x290 ], %g1                     
 200ebbc:	80 a0 60 7a 	cmp  %g1, 0x7a                                 
 200ebc0:	02 80 00 21 	be  200ec44 <fifo_open+0x254>                  
 200ebc4:	c4 0e a2 90 	ldub  [ %i2 + 0x290 ], %g2                     
 200ebc8:	84 00 a0 01 	inc  %g2                                       
 200ebcc:	10 bf ff 9a 	b  200ea34 <fifo_open+0x44>                    
 200ebd0:	c4 2e a2 90 	stb  %g2, [ %i2 + 0x290 ]                      
                                                                      
  if (pipe_semaphore == RTEMS_ID_NONE) {                              
    rtems_libio_lock();                                               
                                                                      
    if (pipe_semaphore == RTEMS_ID_NONE) {                            
      sc = rtems_semaphore_create(                                    
 200ebd4:	92 10 20 01 	mov  1, %o1                                    
 200ebd8:	94 10 20 54 	mov  0x54, %o2                                 
 200ebdc:	96 10 20 00 	clr  %o3                                       
 200ebe0:	11 14 12 54 	sethi  %hi(0x50495000), %o0                    
 200ebe4:	7f ff ea 43 	call  20094f0 <rtems_semaphore_create>         
 200ebe8:	90 12 20 45 	or  %o0, 0x45, %o0	! 50495045 <RAM_END+0x4e095045>
 200ebec:	b8 10 00 08 	mov  %o0, %i4                                  
 200ebf0:	7f ff eb 39 	call  20098d4 <rtems_semaphore_release>        
 200ebf4:	d0 06 a0 44 	ld  [ %i2 + 0x44 ], %o0                        
    }                                                                 
                                                                      
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  if (sc == RTEMS_SUCCESSFUL) {                                       
 200ebf8:	80 a7 20 00 	cmp  %i4, 0                                    
 200ebfc:	02 bf ff 84 	be  200ea0c <fifo_open+0x1c>                   
 200ec00:	d0 07 61 d8 	ld  [ %i5 + 0x1d8 ], %o0                       
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
	PIPE_UNLOCK(pipe);                                                   
        err = -ENXIO;                                                 
 200ec04:	81 c7 e0 08 	ret                                            
 200ec08:	91 e8 3f f4 	restore  %g0, -12, %o0                         
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
 200ec0c:	40 00 06 52 	call  2010554 <rtems_barrier_delete>           <== NOT EXECUTED
 200ec10:	b0 10 3f fc 	mov  -4, %i0                                   <== NOT EXECUTED
  rtems_barrier_delete(pipe->writeBarrier);                           
 200ec14:	40 00 06 50 	call  2010554 <rtems_barrier_delete>           <== NOT EXECUTED
 200ec18:	d0 07 20 30 	ld  [ %i4 + 0x30 ], %o0                        <== NOT EXECUTED
  rtems_semaphore_delete(pipe->Semaphore);                            
 200ec1c:	7f ff ea a7 	call  20096b8 <rtems_semaphore_delete>         <== NOT EXECUTED
 200ec20:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        <== NOT EXECUTED
  free(pipe->Buffer);                                                 
 200ec24:	7f ff d8 03 	call  2004c30 <free>                           <== NOT EXECUTED
 200ec28:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
  free(pipe);                                                         
 200ec2c:	7f ff d8 01 	call  2004c30 <free>                           <== NOT EXECUTED
 200ec30:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
 200ec34:	7f ff eb 28 	call  20098d4 <rtems_semaphore_release>        
 200ec38:	d0 07 61 d8 	ld  [ %i5 + 0x1d8 ], %o0                       
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
  return err;                                                         
}                                                                     
 200ec3c:	81 c7 e0 08 	ret                                            
 200ec40:	81 e8 00 00 	restore                                        
  pipe_interruptible(pipe);                                           
#endif                                                                
                                                                      
  *pipep = pipe;                                                      
  if (c ++ == 'z')                                                    
    c = 'a';                                                          
 200ec44:	82 10 20 61 	mov  0x61, %g1                                 
 200ec48:	10 bf ff 7b 	b  200ea34 <fifo_open+0x44>                    
 200ec4c:	c2 2e a2 90 	stb  %g1, [ %i2 + 0x290 ]                      
  return 0;                                                           
                                                                      
err_sem:                                                              
  rtems_barrier_delete(pipe->writeBarrier);                           
 200ec50:	40 00 06 41 	call  2010554 <rtems_barrier_delete>           
 200ec54:	d0 07 20 30 	ld  [ %i4 + 0x30 ], %o0                        
err_wbar:                                                             
  rtems_barrier_delete(pipe->readBarrier);                            
 200ec58:	40 00 06 3f 	call  2010554 <rtems_barrier_delete>           
 200ec5c:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        
err_rbar:                                                             
  free(pipe->Buffer);                                                 
 200ec60:	7f ff d7 f4 	call  2004c30 <free>                           
 200ec64:	d0 07 00 00 	ld  [ %i4 ], %o0                               
err_buf:                                                              
  free(pipe);                                                         
 200ec68:	7f ff d7 f2 	call  2004c30 <free>                           
 200ec6c:	90 10 00 1c 	mov  %i4, %o0                                  
    if (err)                                                          
      goto out;                                                       
  }                                                                   
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    err = -EINTR;                                                     
 200ec70:	10 bf ff f1 	b  200ec34 <fifo_open+0x244>                   
 200ec74:	b0 10 3f f4 	mov  -12, %i0                                  
                                                                      
  if (*pipep == NULL) {                                               
 200ec78:	80 a0 60 00 	cmp  %g1, 0                                    
 200ec7c:	22 80 00 02 	be,a   200ec84 <fifo_open+0x294>               
 200ec80:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
 200ec84:	7f ff eb 14 	call  20098d4 <rtems_semaphore_release>        
 200ec88:	d0 07 61 d8 	ld  [ %i5 + 0x1d8 ], %o0                       
  err = pipe_new(pipep);                                              
  if (err)                                                            
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
 200ec8c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200ec90:	82 08 60 06 	and  %g1, 6, %g1                               
 200ec94:	80 a0 60 04 	cmp  %g1, 4                                    
 200ec98:	02 80 00 0c 	be  200ecc8 <fifo_open+0x2d8>                  
 200ec9c:	fa 06 c0 00 	ld  [ %i3 ], %i5                               
 200eca0:	80 a0 60 06 	cmp  %g1, 6                                    
 200eca4:	02 80 00 58 	be  200ee04 <fifo_open+0x414>                  
 200eca8:	80 a0 60 02 	cmp  %g1, 2                                    
 200ecac:	22 80 00 31 	be,a   200ed70 <fifo_open+0x380>               <== ALWAYS TAKEN
 200ecb0:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
 200ecb4:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        <== NOT EXECUTED
 200ecb8:	7f ff eb 07 	call  20098d4 <rtems_semaphore_release>        
 200ecbc:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
 200ecc0:	81 c7 e0 08 	ret                                            
 200ecc4:	81 e8 00 00 	restore                                        
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
 200ecc8:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
 200eccc:	c4 07 60 24 	ld  [ %i5 + 0x24 ], %g2                        
                                                                      
      if (pipe->Writers ++ == 0)                                      
 200ecd0:	86 00 60 01 	add  %g1, 1, %g3                               
        } while (prevCounter == pipe->writerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
 200ecd4:	84 00 a0 01 	inc  %g2                                       
                                                                      
      if (pipe->Writers ++ == 0)                                      
 200ecd8:	c6 27 60 14 	st  %g3, [ %i5 + 0x14 ]                        
 200ecdc:	80 a0 60 00 	cmp  %g1, 0                                    
 200ece0:	02 80 00 68 	be  200ee80 <fifo_open+0x490>                  <== ALWAYS TAKEN
 200ece4:	c4 27 60 24 	st  %g2, [ %i5 + 0x24 ]                        
        PIPE_WAKEUPREADERS(pipe);                                     
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
 200ece8:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        <== NOT EXECUTED
 200ecec:	80 a0 60 00 	cmp  %g1, 0                                    
 200ecf0:	32 bf ff f2 	bne,a   200ecb8 <fifo_open+0x2c8>              
 200ecf4:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
 200ecf8:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200ecfc:	80 88 60 01 	btst  1, %g1                                   
 200ed00:	32 80 00 65 	bne,a   200ee94 <fifo_open+0x4a4>              
 200ed04:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
        err = -ENXIO;                                                 
        goto out_error;                                               
      }                                                               
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
 200ed08:	10 80 00 0c 	b  200ed38 <fifo_open+0x348>                   
 200ed0c:	f8 07 60 20 	ld  [ %i5 + 0x20 ], %i4                        
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_WRITEWAIT(pipe))                                 
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
 200ed10:	92 10 20 00 	clr  %o1                                       
 200ed14:	7f ff ea a0 	call  2009794 <rtems_semaphore_obtain>         
 200ed18:	94 10 20 00 	clr  %o2                                       
 200ed1c:	80 a2 20 00 	cmp  %o0, 0                                    
 200ed20:	12 80 00 0f 	bne  200ed5c <fifo_open+0x36c>                 <== NEVER TAKEN
 200ed24:	b0 10 3f fc 	mov  -4, %i0                                   
            goto out_error;                                           
        } while (prevCounter == pipe->readerCounter);                 
 200ed28:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 200ed2c:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200ed30:	32 bf ff e2 	bne,a   200ecb8 <fifo_open+0x2c8>              <== ALWAYS TAKEN
 200ed34:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
      if (pipe->Readers == 0) {                                       
        prevCounter = pipe->readerCounter;                            
        err = -EINTR;                                                 
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
 200ed38:	7f ff ea e7 	call  20098d4 <rtems_semaphore_release>        
 200ed3c:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
          if (! PIPE_WRITEWAIT(pipe))                                 
 200ed40:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
 200ed44:	40 00 06 45 	call  2010658 <rtems_barrier_wait>             
 200ed48:	92 10 20 00 	clr  %o1                                       
 200ed4c:	80 a2 20 00 	cmp  %o0, 0                                    
 200ed50:	22 bf ff f0 	be,a   200ed10 <fifo_open+0x320>               <== ALWAYS TAKEN
 200ed54:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
 200ed58:	b0 10 3f fc 	mov  -4, %i0                                   <== NOT EXECUTED
                                                                      
  PIPE_UNLOCK(pipe);                                                  
  return 0;                                                           
                                                                      
out_error:                                                            
  pipe_release(pipep, iop);                                           
 200ed5c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 200ed60:	7f ff fe e5 	call  200e8f4 <pipe_release>                   
 200ed64:	92 10 00 19 	mov  %i1, %o1                                  
  return err;                                                         
 200ed68:	81 c7 e0 08 	ret                                            
 200ed6c:	81 e8 00 00 	restore                                        
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
 200ed70:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
      if (pipe->Readers ++ == 0)                                      
 200ed74:	86 00 60 01 	add  %g1, 1, %g3                               
    return err;                                                       
  pipe = *pipep;                                                      
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
 200ed78:	84 00 a0 01 	inc  %g2                                       
      if (pipe->Readers ++ == 0)                                      
 200ed7c:	c6 27 60 10 	st  %g3, [ %i5 + 0x10 ]                        
 200ed80:	80 a0 60 00 	cmp  %g1, 0                                    
 200ed84:	02 80 00 35 	be  200ee58 <fifo_open+0x468>                  <== ALWAYS TAKEN
 200ed88:	c4 27 60 20 	st  %g2, [ %i5 + 0x20 ]                        
        PIPE_WAKEUPWRITERS(pipe);                                     
                                                                      
      if (pipe->Writers == 0) {                                       
 200ed8c:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        <== NOT EXECUTED
 200ed90:	80 a0 60 00 	cmp  %g1, 0                                    
 200ed94:	32 bf ff c9 	bne,a   200ecb8 <fifo_open+0x2c8>              
 200ed98:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
 200ed9c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 200eda0:	80 88 60 01 	btst  1, %g1                                   
 200eda4:	32 bf ff c5 	bne,a   200ecb8 <fifo_open+0x2c8>              
 200eda8:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
 200edac:	10 80 00 0c 	b  200eddc <fifo_open+0x3ec>                   
 200edb0:	f8 07 60 24 	ld  [ %i5 + 0x24 ], %i4                        
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
          if (! PIPE_READWAIT(pipe))                                  
            goto out_error;                                           
          if (! PIPE_LOCK(pipe))                                      
 200edb4:	92 10 20 00 	clr  %o1                                       
 200edb8:	7f ff ea 77 	call  2009794 <rtems_semaphore_obtain>         
 200edbc:	94 10 20 00 	clr  %o2                                       
 200edc0:	80 a2 20 00 	cmp  %o0, 0                                    
 200edc4:	12 bf ff e6 	bne  200ed5c <fifo_open+0x36c>                 <== NEVER TAKEN
 200edc8:	b0 10 3f fc 	mov  -4, %i0                                   
            goto out_error;                                           
        } while (prevCounter == pipe->writerCounter);                 
 200edcc:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 200edd0:	80 a0 40 1c 	cmp  %g1, %i4                                  
 200edd4:	32 bf ff b9 	bne,a   200ecb8 <fifo_open+0x2c8>              <== ALWAYS TAKEN
 200edd8:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
        /* Wait until a writer opens the pipe */                      
        do {                                                          
          PIPE_UNLOCK(pipe);                                          
 200eddc:	7f ff ea be 	call  20098d4 <rtems_semaphore_release>        
 200ede0:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
          if (! PIPE_READWAIT(pipe))                                  
 200ede4:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 200ede8:	40 00 06 1c 	call  2010658 <rtems_barrier_wait>             
 200edec:	92 10 20 00 	clr  %o1                                       
 200edf0:	80 a2 20 00 	cmp  %o0, 0                                    
 200edf4:	22 bf ff f0 	be,a   200edb4 <fifo_open+0x3c4>               <== ALWAYS TAKEN
 200edf8:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
        /* Not an error */                                            
        if (LIBIO_NODELAY(iop))                                       
          break;                                                      
                                                                      
        prevCounter = pipe->writerCounter;                            
        err = -EINTR;                                                 
 200edfc:	10 bf ff d8 	b  200ed5c <fifo_open+0x36c>                   <== NOT EXECUTED
 200ee00:	b0 10 3f fc 	mov  -4, %i0                                   <== NOT EXECUTED
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
 200ee04:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
 200ee08:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
      if (pipe->Readers ++ == 0)                                      
 200ee0c:	86 00 60 01 	add  %g1, 1, %g3                               
        } while (prevCounter == pipe->readerCounter);                 
      }                                                               
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
 200ee10:	84 00 a0 01 	inc  %g2                                       
      if (pipe->Readers ++ == 0)                                      
 200ee14:	c6 27 60 10 	st  %g3, [ %i5 + 0x10 ]                        
 200ee18:	80 a0 60 00 	cmp  %g1, 0                                    
 200ee1c:	02 80 00 14 	be  200ee6c <fifo_open+0x47c>                  <== ALWAYS TAKEN
 200ee20:	c4 27 60 20 	st  %g2, [ %i5 + 0x20 ]                        
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
 200ee24:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        <== NOT EXECUTED
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
 200ee28:	c4 07 60 24 	ld  [ %i5 + 0x24 ], %g2                        
      if (pipe->Writers ++ == 0)                                      
 200ee2c:	86 00 60 01 	add  %g1, 1, %g3                               
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
      pipe->writerCounter ++;                                         
 200ee30:	84 00 a0 01 	inc  %g2                                       
      if (pipe->Writers ++ == 0)                                      
 200ee34:	c6 27 60 14 	st  %g3, [ %i5 + 0x14 ]                        
 200ee38:	80 a0 60 00 	cmp  %g1, 0                                    
 200ee3c:	12 bf ff 9e 	bne  200ecb4 <fifo_open+0x2c4>                 <== NEVER TAKEN
 200ee40:	c4 27 60 24 	st  %g2, [ %i5 + 0x24 ]                        
        PIPE_WAKEUPREADERS(pipe);                                     
 200ee44:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 200ee48:	40 00 05 ec 	call  20105f8 <rtems_barrier_release>          
 200ee4c:	92 07 bf f8 	add  %fp, -8, %o1                              
      break;                                                          
  }                                                                   
                                                                      
  PIPE_UNLOCK(pipe);                                                  
 200ee50:	10 bf ff 9a 	b  200ecb8 <fifo_open+0x2c8>                   
 200ee54:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
  switch (LIBIO_ACCMODE(iop)) {                                       
    case LIBIO_FLAGS_READ:                                            
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
 200ee58:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
 200ee5c:	40 00 05 e7 	call  20105f8 <rtems_barrier_release>          
 200ee60:	92 07 bf f8 	add  %fp, -8, %o1                              
                                                                      
      if (pipe->Writers == 0) {                                       
 200ee64:	10 bf ff cb 	b  200ed90 <fifo_open+0x3a0>                   
 200ee68:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
      break;                                                          
                                                                      
    case LIBIO_FLAGS_READ_WRITE:                                      
      pipe->readerCounter ++;                                         
      if (pipe->Readers ++ == 0)                                      
        PIPE_WAKEUPWRITERS(pipe);                                     
 200ee6c:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
 200ee70:	40 00 05 e2 	call  20105f8 <rtems_barrier_release>          
 200ee74:	92 07 bf f8 	add  %fp, -8, %o1                              
      pipe->writerCounter ++;                                         
      if (pipe->Writers ++ == 0)                                      
 200ee78:	10 bf ff ec 	b  200ee28 <fifo_open+0x438>                   
 200ee7c:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
                                                                      
    case LIBIO_FLAGS_WRITE:                                           
      pipe->writerCounter ++;                                         
                                                                      
      if (pipe->Writers ++ == 0)                                      
        PIPE_WAKEUPREADERS(pipe);                                     
 200ee80:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 200ee84:	40 00 05 dd 	call  20105f8 <rtems_barrier_release>          
 200ee88:	92 07 bf f8 	add  %fp, -8, %o1                              
                                                                      
      if (pipe->Readers == 0 && LIBIO_NODELAY(iop)) {                 
 200ee8c:	10 bf ff 98 	b  200ecec <fifo_open+0x2fc>                   
 200ee90:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
	PIPE_UNLOCK(pipe);                                                   
 200ee94:	7f ff ea 90 	call  20098d4 <rtems_semaphore_release>        
 200ee98:	b0 10 3f fa 	mov  -6, %i0                                   
        err = -ENXIO;                                                 
        goto out_error;                                               
 200ee9c:	10 bf ff b1 	b  200ed60 <fifo_open+0x370>                   
 200eea0:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      

0200a0c0 <fpathconf>: long fpathconf( int fd, int name ) {
 200a0c0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  long                                    return_value;               
  rtems_libio_t                          *iop;                        
  const rtems_filesystem_limits_and_options_t *the_limits;            
                                                                      
  rtems_libio_check_fd(fd);                                           
 200a0c4:	03 00 80 4c 	sethi  %hi(0x2013000), %g1                     
 200a0c8:	c2 00 62 14 	ld  [ %g1 + 0x214 ], %g1	! 2013214 <rtems_libio_number_iops>
 200a0cc:	80 a6 00 01 	cmp  %i0, %g1                                  
 200a0d0:	1a 80 00 3e 	bcc  200a1c8 <fpathconf+0x108>                 <== ALWAYS TAKEN
 200a0d4:	03 00 80 4e 	sethi  %hi(0x2013800), %g1                     
  iop = rtems_libio_iop(fd);                                          
 200a0d8:	c2 00 62 fc 	ld  [ %g1 + 0x2fc ], %g1	! 2013afc <rtems_libio_iops><== NOT EXECUTED
 200a0dc:	85 2e 20 03 	sll  %i0, 3, %g2                               <== NOT EXECUTED
 200a0e0:	b1 2e 20 06 	sll  %i0, 6, %i0                               <== NOT EXECUTED
 200a0e4:	b0 26 00 02 	sub  %i0, %g2, %i0                             <== NOT EXECUTED
 200a0e8:	b0 00 40 18 	add  %g1, %i0, %i0                             <== NOT EXECUTED
  rtems_libio_check_is_open(iop);                                     
 200a0ec:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        <== NOT EXECUTED
 200a0f0:	80 88 61 00 	btst  0x100, %g1                               <== NOT EXECUTED
 200a0f4:	02 80 00 35 	be  200a1c8 <fpathconf+0x108>                  <== NOT EXECUTED
 200a0f8:	80 a6 60 0b 	cmp  %i1, 0xb                                  <== NOT EXECUTED
                                                                      
  /*                                                                  
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = iop->pathinfo.mt_entry->pathconf_limits_and_options;   
 200a0fc:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== NOT EXECUTED
                                                                      
  switch ( name ) {                                                   
 200a100:	08 80 00 08 	bleu  200a120 <fpathconf+0x60>                 <== NOT EXECUTED
 200a104:	c2 00 60 2c 	ld  [ %g1 + 0x2c ], %g1                        <== NOT EXECUTED
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
      break;                                                          
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 200a108:	40 00 09 eb 	call  200c8b4 <__errno>                        <== NOT EXECUTED
 200a10c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200a110:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 200a114:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
      break;                                                          
  }                                                                   
                                                                      
  return return_value;                                                
}                                                                     
 200a118:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a11c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   *  Now process the information request.                            
   */                                                                 
                                                                      
  the_limits = iop->pathinfo.mt_entry->pathconf_limits_and_options;   
                                                                      
  switch ( name ) {                                                   
 200a120:	b3 2e 60 02 	sll  %i1, 2, %i1                               <== NOT EXECUTED
 200a124:	05 00 80 28 	sethi  %hi(0x200a000), %g2                     <== NOT EXECUTED
 200a128:	84 10 a0 90 	or  %g2, 0x90, %g2	! 200a090 <_close_r+0x10>   <== NOT EXECUTED
 200a12c:	c4 00 80 19 	ld  [ %g2 + %i1 ], %g2                         <== NOT EXECUTED
 200a130:	81 c0 80 00 	jmp  %g2                                       <== NOT EXECUTED
 200a134:	01 00 00 00 	nop                                            <== NOT EXECUTED
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
 200a138:	f0 00 60 24 	ld  [ %g1 + 0x24 ], %i0                        <== NOT EXECUTED
      break;                                                          
 200a13c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a140:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
      break;                                                          
    case _PC_ASYNC_IO:                                                
      return_value = the_limits->posix_async_io;                      
 200a144:	f0 00 60 18 	ld  [ %g1 + 0x18 ], %i0                        <== NOT EXECUTED
      break;                                                          
 200a148:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a14c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
      break;                                                          
    case _PC_VDISABLE:                                                
      return_value = the_limits->posix_vdisable;                      
 200a150:	f0 00 60 2c 	ld  [ %g1 + 0x2c ], %i0                        <== NOT EXECUTED
      break;                                                          
 200a154:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a158:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
      break;                                                          
    case _PC_NO_TRUNC:                                                
      return_value = the_limits->posix_no_trunc;                      
 200a15c:	f0 00 60 20 	ld  [ %g1 + 0x20 ], %i0                        <== NOT EXECUTED
      break;                                                          
 200a160:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a164:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
      break;                                                          
    case _PC_CHOWN_RESTRICTED:                                        
      return_value = the_limits->posix_chown_restrictions;            
 200a168:	f0 00 60 1c 	ld  [ %g1 + 0x1c ], %i0                        <== NOT EXECUTED
      break;                                                          
 200a16c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a170:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
      break;                                                          
    case _PC_PIPE_BUF:                                                
      return_value = the_limits->pipe_buf;                            
 200a174:	f0 00 60 14 	ld  [ %g1 + 0x14 ], %i0                        <== NOT EXECUTED
      break;                                                          
 200a178:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a17c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
      break;                                                          
    case _PC_PATH_MAX:                                                
      return_value = the_limits->path_max;                            
 200a180:	f0 00 60 10 	ld  [ %g1 + 0x10 ], %i0                        <== NOT EXECUTED
      break;                                                          
 200a184:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a188:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
      break;                                                          
    case _PC_NAME_MAX:                                                
      return_value = the_limits->name_max;                            
 200a18c:	f0 00 60 0c 	ld  [ %g1 + 0xc ], %i0                         <== NOT EXECUTED
      break;                                                          
 200a190:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a194:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
      break;                                                          
    case _PC_MAX_INPUT:                                               
      return_value = the_limits->max_input;                           
 200a198:	f0 00 60 08 	ld  [ %g1 + 8 ], %i0                           <== NOT EXECUTED
      break;                                                          
 200a19c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a1a0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
      break;                                                          
    case _PC_MAX_CANON:                                               
      return_value = the_limits->max_canon;                           
 200a1a4:	f0 00 60 04 	ld  [ %g1 + 4 ], %i0                           <== NOT EXECUTED
      break;                                                          
 200a1a8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a1ac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  the_limits = iop->pathinfo.mt_entry->pathconf_limits_and_options;   
                                                                      
  switch ( name ) {                                                   
    case _PC_LINK_MAX:                                                
      return_value = the_limits->link_max;                            
 200a1b0:	f0 00 40 00 	ld  [ %g1 ], %i0                               <== NOT EXECUTED
      break;                                                          
 200a1b4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a1b8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case _PC_PRIO_IO:                                                 
      return_value = the_limits->posix_prio_io;                       
      break;                                                          
    case _PC_SYNC_IO:                                                 
      return_value = the_limits->posix_sync_io;                       
 200a1bc:	f0 00 60 28 	ld  [ %g1 + 0x28 ], %i0                        <== NOT EXECUTED
      break;                                                          
 200a1c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a1c4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rtems_libio_t                          *iop;                        
  const rtems_filesystem_limits_and_options_t *the_limits;            
                                                                      
  rtems_libio_check_fd(fd);                                           
  iop = rtems_libio_iop(fd);                                          
  rtems_libio_check_is_open(iop);                                     
 200a1c8:	40 00 09 bb 	call  200c8b4 <__errno>                        
 200a1cc:	b0 10 3f ff 	mov  -1, %i0                                   
 200a1d0:	82 10 20 09 	mov  9, %g1                                    
 200a1d4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200a1d8:	81 c7 e0 08 	ret                                            
 200a1dc:	81 e8 00 00 	restore                                        
                                                                      

020038e4 <free>: #include <stdlib.h> void free( void *ptr ) {
 20038e4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  MSBUMP(free_calls, 1);                                              
 20038e8:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 20038ec:	82 10 63 30 	or  %g1, 0x330, %g1	! 201e730 <rtems_malloc_statistics>
 20038f0:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
#include <stdlib.h>                                                   
                                                                      
void free(                                                            
  void *ptr                                                           
)                                                                     
{                                                                     
 20038f4:	b2 10 00 18 	mov  %i0, %i1                                  
  MSBUMP(free_calls, 1);                                              
 20038f8:	84 00 a0 01 	inc  %g2                                       
                                                                      
  if ( !ptr )                                                         
 20038fc:	80 a6 20 00 	cmp  %i0, 0                                    
 2003900:	02 80 00 15 	be  2003954 <free+0x70>                        
 2003904:	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()) &&                    
 2003908:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 200390c:	c2 00 61 f0 	ld  [ %g1 + 0x1f0 ], %g1	! 201e9f0 <_System_state_Current>
 2003910:	80 a0 60 03 	cmp  %g1, 3                                    
 2003914:	02 80 00 17 	be  2003970 <free+0x8c>                        <== ALWAYS TAKEN
 2003918:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
  }                                                                   
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
 200391c:	c2 00 63 74 	ld  [ %g1 + 0x374 ], %g1	! 201e374 <rtems_malloc_statistics_helpers>
 2003920:	80 a0 60 00 	cmp  %g1, 0                                    
 2003924:	02 80 00 06 	be  200393c <free+0x58>                        
 2003928:	3b 00 80 76 	sethi  %hi(0x201d800), %i5                     
    (*rtems_malloc_statistics_helpers->at_free)(ptr);                 
 200392c:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 2003930:	9f c0 40 00 	call  %g1                                      
 2003934:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  if ( !_Protected_heap_Free( RTEMS_Malloc_Heap, ptr ) ) {            
 2003938:	3b 00 80 76 	sethi  %hi(0x201d800), %i5                     
 200393c:	d0 07 63 bc 	ld  [ %i5 + 0x3bc ], %o0	! 201dbbc <RTEMS_Malloc_Heap>
 2003940:	40 00 18 b7 	call  2009c1c <_Protected_heap_Free>           
 2003944:	92 10 00 19 	mov  %i1, %o1                                  
 2003948:	80 8a 20 ff 	btst  0xff, %o0                                
 200394c:	02 80 00 04 	be  200395c <free+0x78>                        
 2003950:	c2 07 63 bc 	ld  [ %i5 + 0x3bc ], %g1                       
 2003954:	81 c7 e0 08 	ret                                            
 2003958:	81 e8 00 00 	restore                                        
    printk( "Program heap: free of bad pointer %p -- range %p - %p \n",
 200395c:	31 00 80 71 	sethi  %hi(0x201c400), %i0                     
 2003960:	f4 00 60 18 	ld  [ %g1 + 0x18 ], %i2                        
 2003964:	f6 00 60 1c 	ld  [ %g1 + 0x1c ], %i3                        
 2003968:	40 00 03 91 	call  20047ac <printk>                         
 200396c:	91 ee 20 a0 	restore  %i0, 0xa0, %o0                        
                                                                      
  /*                                                                  
   *  Do not attempt to free memory if in a critical section or ISR.  
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() ) {                               
 2003970:	40 00 00 6b 	call  2003b1c <malloc_is_system_state_OK>      
 2003974:	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()) &&                    
 2003978:	80 8a 20 ff 	btst  0xff, %o0                                
 200397c:	12 bf ff e8 	bne  200391c <free+0x38>                       
 2003980:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
       !malloc_is_system_state_OK() ) {                               
      malloc_deferred_free(ptr);                                      
 2003984:	40 00 00 87 	call  2003ba0 <malloc_deferred_free>           
 2003988:	81 e8 00 00 	restore                                        
                                                                      

0201ad94 <fstat>: int fstat( int fd, struct stat *sbuf ) {
 201ad94:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_t *iop;                                                 
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
 201ad98:	80 a6 60 00 	cmp  %i1, 0                                    
 201ad9c:	02 80 00 1f 	be  201ae18 <fstat+0x84>                       <== NEVER TAKEN
 201ada0:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
    rtems_set_errno_and_return_minus_one( EFAULT );                   
                                                                      
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
 201ada4:	c2 00 60 00 	ld  [ %g1 ], %g1                               
 201ada8:	80 a6 00 01 	cmp  %i0, %g1                                  
 201adac:	1a 80 00 15 	bcc  201ae00 <fstat+0x6c>                      
 201adb0:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 201adb4:	c2 00 63 18 	ld  [ %g1 + 0x318 ], %g1	! 201e718 <rtems_libio_iops>
 201adb8:	85 2e 20 03 	sll  %i0, 3, %g2                               
 201adbc:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 201adc0:	b0 26 00 02 	sub  %i0, %g2, %i0                             
 201adc4:	b0 00 40 18 	add  %g1, %i0, %i0                             
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
 201adc8:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 201adcc:	80 88 61 00 	btst  0x100, %g1                               
 201add0:	02 80 00 0c 	be  201ae00 <fstat+0x6c>                       
 201add4:	94 10 20 48 	mov  0x48, %o2                                 
                                                                      
  /*                                                                  
   *  Zero out the stat structure so the various support              
   *  versions of stat don't have to.                                 
   */                                                                 
  memset( sbuf, 0, sizeof(struct stat) );                             
 201add8:	92 10 20 00 	clr  %o1                                       
 201addc:	7f ff d9 0a 	call  2011204 <memset>                         
 201ade0:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  return (*iop->pathinfo.handlers->fstat_h)( &iop->pathinfo, sbuf );  
 201ade4:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 201ade8:	90 06 20 14 	add  %i0, 0x14, %o0                            
 201adec:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
 201adf0:	9f c0 40 00 	call  %g1                                      
 201adf4:	92 10 00 19 	mov  %i1, %o1                                  
}                                                                     
 201adf8:	81 c7 e0 08 	ret                                            
 201adfc:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  /*                                                                  
   *  Now process the stat() request.                                 
   */                                                                 
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_fd( fd );                                         
  rtems_libio_check_is_open(iop);                                     
 201ae00:	7f ff d6 7d 	call  20107f4 <__errno>                        
 201ae04:	b0 10 3f ff 	mov  -1, %i0                                   
 201ae08:	82 10 20 09 	mov  9, %g1                                    
 201ae0c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201ae10:	81 c7 e0 08 	ret                                            
 201ae14:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  Check to see if we were passed a valid pointer.                 
   */                                                                 
  if ( !sbuf )                                                        
    rtems_set_errno_and_return_minus_one( EFAULT );                   
 201ae18:	7f ff d6 77 	call  20107f4 <__errno>                        <== NOT EXECUTED
 201ae1c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201ae20:	82 10 20 0e 	mov  0xe, %g1                                  <== NOT EXECUTED
 201ae24:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201ae28:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201ae2c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02003674 <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) {
 2003674:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 2003678:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1	! 2022898 <disktab_size>
 200367c:	80 a0 40 08 	cmp  %g1, %o0                                  
 2003680:	08 80 00 20 	bleu  2003700 <get_disk_entry+0x8c>            <== NEVER TAKEN
 2003684:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 2003688:	c2 00 60 9c 	ld  [ %g1 + 0x9c ], %g1	! 202289c <disktab>    
 200368c:	80 a0 60 00 	cmp  %g1, 0                                    
 2003690:	02 80 00 1c 	be  2003700 <get_disk_entry+0x8c>              <== NEVER TAKEN
 2003694:	01 00 00 00 	nop                                            
    rtems_disk_device_table *dtab = disktab + major;                  
 2003698:	91 2a 20 03 	sll  %o0, 3, %o0                               
 200369c:	84 00 40 08 	add  %g1, %o0, %g2                             
                                                                      
    if (minor < dtab->size && dtab->minor != NULL) {                  
 20036a0:	c4 00 a0 04 	ld  [ %g2 + 4 ], %g2                           
 20036a4:	80 a0 80 09 	cmp  %g2, %o1                                  
 20036a8:	08 80 00 16 	bleu  2003700 <get_disk_entry+0x8c>            <== NEVER TAKEN
 20036ac:	01 00 00 00 	nop                                            
 20036b0:	c2 00 40 08 	ld  [ %g1 + %o0 ], %g1                         
 20036b4:	80 a0 60 00 	cmp  %g1, 0                                    
 20036b8:	02 80 00 12 	be  2003700 <get_disk_entry+0x8c>              <== NEVER TAKEN
 20036bc:	93 2a 60 02 	sll  %o1, 2, %o1                               
      rtems_disk_device *dd = dtab->minor [minor];                    
                                                                      
      if (dd != NULL && !lookup_only) {                               
 20036c0:	80 a2 a0 01 	cmp  %o2, 1                                    
 20036c4:	12 80 00 04 	bne  20036d4 <get_disk_entry+0x60>             
 20036c8:	d0 00 40 09 	ld  [ %g1 + %o1 ], %o0                         
      return dd;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
 20036cc:	81 c3 e0 08 	retl                                           
 20036d0:	01 00 00 00 	nop                                            
    rtems_disk_device_table *dtab = disktab + major;                  
                                                                      
    if (minor < dtab->size && dtab->minor != NULL) {                  
      rtems_disk_device *dd = dtab->minor [minor];                    
                                                                      
      if (dd != NULL && !lookup_only) {                               
 20036d4:	80 a2 20 00 	cmp  %o0, 0                                    
 20036d8:	02 bf ff fd 	be  20036cc <get_disk_entry+0x58>              <== NEVER TAKEN
 20036dc:	01 00 00 00 	nop                                            
        if (!dd->deleted) {                                           
 20036e0:	c2 0a 20 40 	ldub  [ %o0 + 0x40 ], %g1                      
 20036e4:	80 a0 60 00 	cmp  %g1, 0                                    
 20036e8:	12 80 00 06 	bne  2003700 <get_disk_entry+0x8c>             
 20036ec:	01 00 00 00 	nop                                            
          ++dd->uses;                                                 
 20036f0:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 20036f4:	82 00 60 01 	inc  %g1                                       
 20036f8:	81 c3 e0 08 	retl                                           
 20036fc:	c2 22 20 14 	st  %g1, [ %o0 + 0x14 ]                        
      return dd;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
 2003700:	81 c3 e0 08 	retl                                           
 2003704:	90 10 20 00 	clr  %o0                                       
                                                                      

02004de0 <get_sector.part.0>: * NOTES: * get_sector() operates with device via bdbuf library, * and does not support devices with sector size other than 512 bytes */ static rtems_status_code get_sector(int fd,
 2004de0:	9d e3 bf a0 	save  %sp, -96, %sp                            
    new_off = lseek(fd, off, SEEK_SET);                               
    if (new_off != off) {                                             
        return RTEMS_IO_ERROR;                                        
    }                                                                 
                                                                      
    s = (rtems_sector_data_t *) malloc(sizeof(rtems_sector_data_t) + RTEMS_IDE_SECTOR_SIZE);
 2004de4:	40 00 05 e5 	call  2006578 <malloc>                         
 2004de8:	90 10 22 04 	mov  0x204, %o0                                
    if (s == NULL)                                                    
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
 2004dec:	82 10 20 1a 	mov  0x1a, %g1                                 
    if (new_off != off) {                                             
        return RTEMS_IO_ERROR;                                        
    }                                                                 
                                                                      
    s = (rtems_sector_data_t *) malloc(sizeof(rtems_sector_data_t) + RTEMS_IDE_SECTOR_SIZE);
    if (s == NULL)                                                    
 2004df0:	80 a2 20 00 	cmp  %o0, 0                                    
 2004df4:	02 80 00 0c 	be  2004e24 <get_sector.part.0+0x44>           <== NEVER TAKEN
 2004df8:	ba 10 00 08 	mov  %o0, %i5                                  
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
    }                                                                 
                                                                      
    n = read(fd, s->data, RTEMS_IDE_SECTOR_SIZE);                     
 2004dfc:	90 10 00 18 	mov  %i0, %o0                                  
 2004e00:	92 07 60 04 	add  %i5, 4, %o1                               
 2004e04:	40 00 08 a7 	call  20070a0 <read>                           
 2004e08:	94 10 22 00 	mov  0x200, %o2                                
    if (n != RTEMS_IDE_SECTOR_SIZE)                                   
 2004e0c:	80 a2 22 00 	cmp  %o0, 0x200                                
 2004e10:	02 80 00 07 	be  2004e2c <get_sector.part.0+0x4c>           <== ALWAYS TAKEN
 2004e14:	82 10 20 00 	clr  %g1                                       
    {                                                                 
        free(s);                                                      
 2004e18:	40 00 04 21 	call  2005e9c <free>                           <== NOT EXECUTED
 2004e1c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        return RTEMS_IO_ERROR;                                        
 2004e20:	82 10 20 1b 	mov  0x1b, %g1                                 <== NOT EXECUTED
    s->sector_num = sector_num;                                       
                                                                      
    *sector = s;                                                      
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
 2004e24:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2004e28:	91 e8 00 01 	restore  %g0, %g1, %o0                         <== NOT EXECUTED
    {                                                                 
        free(s);                                                      
        return RTEMS_IO_ERROR;                                        
    }                                                                 
                                                                      
    s->sector_num = sector_num;                                       
 2004e2c:	f2 27 40 00 	st  %i1, [ %i5 ]                               
                                                                      
    *sector = s;                                                      
 2004e30:	fa 26 80 00 	st  %i5, [ %i2 ]                               
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
 2004e34:	81 c7 e0 08 	ret                                            
 2004e38:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

02063550 <getdents>: int getdents( int dd_fd, char *dd_buf, int dd_len ) {
 2063550:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_filesystem_node_types_t type;                                 
                                                                      
  /*                                                                  
   *  Get the file control block structure associated with the file descriptor
   */                                                                 
  iop = rtems_libio_iop( dd_fd );                                     
 2063554:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 2063558:	c2 00 62 68 	ld  [ %g1 + 0x268 ], %g1	! 2071a68 <rtems_libio_number_iops>
 206355c:	80 a6 00 01 	cmp  %i0, %g1                                  
 2063560:	1a 80 00 08 	bcc  2063580 <getdents+0x30>                   <== NEVER TAKEN
 2063564:	ba 10 20 00 	clr  %i5                                       
 2063568:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
 206356c:	fa 00 63 f8 	ld  [ %g1 + 0x3f8 ], %i5	! 2075bf8 <rtems_libio_iops>
 2063570:	83 2e 20 03 	sll  %i0, 3, %g1                               
 2063574:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 2063578:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 206357c:	ba 07 40 18 	add  %i5, %i0, %i5                             
                                                                      
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  type = rtems_filesystem_node_type( &iop->pathinfo );                
 2063580:	7f ff 27 dc 	call  202d4f0 <rtems_filesystem_node_type>     
 2063584:	90 07 60 14 	add  %i5, 0x14, %o0                            
  if ( type != RTEMS_FILESYSTEM_DIRECTORY )                           
 2063588:	80 a2 20 00 	cmp  %o0, 0                                    
 206358c:	12 80 00 09 	bne  20635b0 <getdents+0x60>                   
 2063590:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  /*                                                                  
   *  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  );   
 2063594:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 2063598:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 206359c:	92 10 00 19 	mov  %i1, %o1                                  
 20635a0:	9f c0 40 00 	call  %g1                                      
 20635a4:	94 10 00 1a 	mov  %i2, %o2                                  
}                                                                     
 20635a8:	81 c7 e0 08 	ret                                            
 20635ac:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  /*                                                                  
   *  Make sure we are working on a directory                         
   */                                                                 
  type = rtems_filesystem_node_type( &iop->pathinfo );                
  if ( type != RTEMS_FILESYSTEM_DIRECTORY )                           
    rtems_set_errno_and_return_minus_one( ENOTDIR );                  
 20635b0:	7f ff 94 d6 	call  2048908 <__errno>                        
 20635b4:	b0 10 3f ff 	mov  -1, %i0                                   
 20635b8:	82 10 20 14 	mov  0x14, %g1                                 
 20635bc:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20635c0:	81 c7 e0 08 	ret                                            
 20635c4:	81 e8 00 00 	restore                                        
                                                                      

0200f994 <imfs_dir_read>: ssize_t imfs_dir_read( rtems_libio_t *iop, void *buffer, size_t count ) {
 200f994:	9d e3 be 88 	save  %sp, -376, %sp                           
                                                                      
static inline void rtems_filesystem_instance_lock(                    
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 200f998:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
                                                                      
  (*mt_entry->ops->lock_h)( mt_entry );                               
 200f99c:	c4 02 20 0c 	ld  [ %o0 + 0xc ], %g2                         
 200f9a0:	c2 00 80 00 	ld  [ %g2 ], %g1                               
 200f9a4:	9f c0 40 00 	call  %g1                                      
 200f9a8:	01 00 00 00 	nop                                            
   int                  last_entry;                                   
   struct dirent        tmp_dirent;                                   
                                                                      
   rtems_filesystem_instance_lock( &iop->pathinfo );                  
                                                                      
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
 200f9ac:	e0 06 20 1c 	ld  [ %i0 + 0x1c ], %l0                        
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   /* Move to the first of the desired directory entries */           
                                                                      
   bytes_transferred = 0;                                             
   first_entry = iop->offset;                                         
 200f9b0:	f6 06 20 0c 	ld  [ %i0 + 0xc ], %i3                         
   /* protect against using sizes that are not exact multiples of the */
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry                                           
     + (count / sizeof( struct dirent )) * sizeof( struct dirent );   
 200f9b4:	90 10 00 1a 	mov  %i2, %o0                                  
 200f9b8:	40 00 27 0d 	call  20195ec <.udiv>                          
 200f9bc:	92 10 21 18 	mov  0x118, %o1                                
 200f9c0:	83 2a 20 03 	sll  %o0, 3, %g1                               
 200f9c4:	91 2a 20 05 	sll  %o0, 5, %o0                               
 200f9c8:	82 00 40 08 	add  %g1, %o0, %g1                             
 200f9cc:	b5 28 60 03 	sll  %g1, 3, %i2                               
 200f9d0:	b4 26 80 01 	sub  %i2, %g1, %i2                             
 200f9d4:	b4 06 80 1b 	add  %i2, %i3, %i2                             
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
 200f9d8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200f9dc:	04 80 00 34 	ble  200faac <imfs_dir_read+0x118>             <== NEVER TAKEN
 200f9e0:	f8 04 20 50 	ld  [ %l0 + 0x50 ], %i4                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  const Chain_Control *the_chain,                                     
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Immutable_tail( the_chain ));            
 200f9e4:	a0 04 20 54 	add  %l0, 0x54, %l0                            
      current_entry = 0,                                              
        the_node = rtems_chain_first( the_chain );                    
      current_entry < last_entry                                      
        && !rtems_chain_is_tail( the_chain, the_node );               
 200f9e8:	80 a7 00 10 	cmp  %i4, %l0                                  
 200f9ec:	02 80 00 29 	be  200fa90 <imfs_dir_read+0xfc>               
 200f9f0:	a2 10 20 00 	clr  %l1                                       
 200f9f4:	ba 10 20 00 	clr  %i5                                       
        the_node = rtems_chain_next( the_node )                       
   ) {                                                                
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
 200f9f8:	10 80 00 08 	b  200fa18 <imfs_dir_read+0x84>                
 200f9fc:	a6 10 21 18 	mov  0x118, %l3                                
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry                                           
     + (count / sizeof( struct dirent )) * sizeof( struct dirent );   
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
 200fa00:	80 a6 80 1d 	cmp  %i2, %i5                                  
 200fa04:	04 80 00 23 	ble  200fa90 <imfs_dir_read+0xfc>              <== NEVER TAKEN
 200fa08:	f8 07 00 00 	ld  [ %i4 ], %i4                               
      current_entry = 0,                                              
        the_node = rtems_chain_first( the_chain );                    
      current_entry < last_entry                                      
        && !rtems_chain_is_tail( the_chain, the_node );               
 200fa0c:	80 a7 00 10 	cmp  %i4, %l0                                  
 200fa10:	22 80 00 21 	be,a   200fa94 <imfs_dir_read+0x100>           
 200fa14:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
      current_entry +=  sizeof( struct dirent ),                      
        the_node = rtems_chain_next( the_node )                       
   ) {                                                                
      if( current_entry >= first_entry ) {                            
 200fa18:	80 a6 c0 1d 	cmp  %i3, %i5                                  
 200fa1c:	34 bf ff f9 	bg,a   200fa00 <imfs_dir_read+0x6c>            
 200fa20:	ba 07 61 18 	add  %i5, 0x118, %i5                           
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
 200fa24:	c2 07 20 38 	ld  [ %i4 + 0x38 ], %g1                        
      current_entry +=  sizeof( struct dirent ),                      
        the_node = rtems_chain_next( the_node )                       
   ) {                                                                
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
 200fa28:	85 3f 60 1f 	sra  %i5, 0x1f, %g2                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
 200fa2c:	a4 07 20 0c 	add  %i4, 0xc, %l2                             
      current_entry +=  sizeof( struct dirent ),                      
        the_node = rtems_chain_next( the_node )                       
   ) {                                                                
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
 200fa30:	c4 27 be f0 	st  %g2, [ %fp + -272 ]                        
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
 200fa34:	c2 27 be e8 	st  %g1, [ %fp + -280 ]                        
      current_entry +=  sizeof( struct dirent ),                      
        the_node = rtems_chain_next( the_node )                       
   ) {                                                                
      if( current_entry >= first_entry ) {                            
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
 200fa38:	fa 27 be f4 	st  %i5, [ %fp + -268 ]                        
         tmp_dirent.d_reclen = sizeof( struct dirent );               
 200fa3c:	e6 37 be f8 	sth  %l3, [ %fp + -264 ]                       
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
 200fa40:	40 00 08 c8 	call  2011d60 <strlen>                         
 200fa44:	90 10 00 12 	mov  %l2, %o0                                  
         strcpy( tmp_dirent.d_name, the_jnode->name );                
 200fa48:	92 10 00 12 	mov  %l2, %o1                                  
 200fa4c:	94 02 20 01 	add  %o0, 1, %o2                               
         /* Move the entry to the return buffer */                    
         tmp_dirent.d_off = current_entry;                            
         tmp_dirent.d_reclen = sizeof( struct dirent );               
         the_jnode = (IMFS_jnode_t *) the_node;                       
         tmp_dirent.d_ino = the_jnode->st_ino;                        
         tmp_dirent.d_namlen = strlen( the_jnode->name );             
 200fa50:	d0 37 be fa 	sth  %o0, [ %fp + -262 ]                       
         strcpy( tmp_dirent.d_name, the_jnode->name );                
 200fa54:	40 00 05 af 	call  2011110 <memcpy>                         
 200fa58:	90 07 be fc 	add  %fp, -260, %o0                            
         memcpy(                                                      
 200fa5c:	90 06 40 11 	add  %i1, %l1, %o0                             
 200fa60:	92 07 be e8 	add  %fp, -280, %o1                            
 200fa64:	40 00 05 ab 	call  2011110 <memcpy>                         
 200fa68:	94 10 21 18 	mov  0x118, %o2                                
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset += sizeof( struct dirent );                      
 200fa6c:	c4 1e 20 08 	ldd  [ %i0 + 8 ], %g2                          
 *  to the end of the 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.                                        
 */                                                                   
                                                                      
ssize_t imfs_dir_read(                                                
 200fa70:	ba 07 61 18 	add  %i5, 0x118, %i5                           
         memcpy(                                                      
            buffer + bytes_transferred,                               
            (void *)&tmp_dirent,                                      
            sizeof( struct dirent )                                   
         );                                                           
         iop->offset += sizeof( struct dirent );                      
 200fa74:	86 80 e1 18 	addcc  %g3, 0x118, %g3                         
 200fa78:	84 40 a0 00 	addx  %g2, 0, %g2                              
 200fa7c:	c4 3e 20 08 	std  %g2, [ %i0 + 8 ]                          
         bytes_transferred += sizeof( struct dirent );                
 200fa80:	a2 04 61 18 	add  %l1, 0x118, %l1                           
   /* -dirent- size. These could result in unexpected results          */
   last_entry = first_entry                                           
     + (count / sizeof( struct dirent )) * sizeof( struct dirent );   
                                                                      
   /* The directory was not empty so try to move to the desired entry in chain*/
   for (                                                              
 200fa84:	80 a6 80 1d 	cmp  %i2, %i5                                  
 200fa88:	14 bf ff e1 	bg  200fa0c <imfs_dir_read+0x78>               <== NEVER TAKEN
 200fa8c:	f8 07 00 00 	ld  [ %i4 ], %i4                               
                                                                      
static inline void rtems_filesystem_instance_unlock(                  
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 200fa90:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
                                                                      
  (*mt_entry->ops->unlock_h)( mt_entry );                             
 200fa94:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 200fa98:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 200fa9c:	9f c0 40 00 	call  %g1                                      
 200faa0:	b0 10 00 11 	mov  %l1, %i0                                  
   }                                                                  
                                                                      
   rtems_filesystem_instance_unlock( &iop->pathinfo );                
                                                                      
   return bytes_transferred;                                          
}                                                                     
 200faa4:	81 c7 e0 08 	ret                                            
 200faa8:	81 e8 00 00 	restore                                        
   the_jnode = (IMFS_jnode_t *)iop->pathinfo.node_access;             
   the_chain = &the_jnode->info.directory.Entries;                    
                                                                      
   /* Move to the first of the desired directory entries */           
                                                                      
   bytes_transferred = 0;                                             
 200faac:	10 bf ff f9 	b  200fa90 <imfs_dir_read+0xfc>                <== NOT EXECUTED
 200fab0:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
                                                                      

0202c140 <init_etc_passwd_group>: /* * Initialize useable but dummy databases */ void init_etc_passwd_group(void) {
 202c140:	9d e3 bf a0 	save  %sp, -96, %sp                            
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
 202c144:	03 00 81 d5 	sethi  %hi(0x2075400), %g1                     
 202c148:	c4 48 62 08 	ldsb  [ %g1 + 0x208 ], %g2	! 2075608 <etc_passwd_initted.7009>
 202c14c:	80 a0 a0 00 	cmp  %g2, 0                                    
 202c150:	02 80 00 04 	be  202c160 <init_etc_passwd_group+0x20>       
 202c154:	84 10 20 01 	mov  1, %g2                                    
 202c158:	81 c7 e0 08 	ret                                            
 202c15c:	81 e8 00 00 	restore                                        
    return;                                                           
  etc_passwd_initted = 1;                                             
  mkdir("/etc", 0777);                                                
 202c160:	92 10 21 ff 	mov  0x1ff, %o1                                
  FILE *fp;                                                           
  static char etc_passwd_initted = 0;                                 
                                                                      
  if (etc_passwd_initted)                                             
    return;                                                           
  etc_passwd_initted = 1;                                             
 202c164:	c4 28 62 08 	stb  %g2, [ %g1 + 0x208 ]                      
  mkdir("/etc", 0777);                                                
 202c168:	11 00 81 92 	sethi  %hi(0x2064800), %o0                     
 202c16c:	7f ff 76 4c 	call  2009a9c <mkdir>                          
 202c170:	90 12 20 50 	or  %o0, 0x50, %o0	! 2064850 <_rodata_start+0xb10>
                                                                      
  /*                                                                  
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
 202c174:	39 00 81 92 	sethi  %hi(0x2064800), %i4                     
 202c178:	3b 00 81 c4 	sethi  %hi(0x2071000), %i5                     
 202c17c:	90 17 20 d8 	or  %i4, 0xd8, %o0                             
 202c180:	40 00 74 88 	call  20493a0 <fopen>                          
 202c184:	92 17 60 38 	or  %i5, 0x38, %o1                             
 202c188:	80 a2 20 00 	cmp  %o0, 0                                    
 202c18c:	22 80 00 0d 	be,a   202c1c0 <init_etc_passwd_group+0x80>    
 202c190:	90 17 20 d8 	or  %i4, 0xd8, %o0                             
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
 202c194:	40 00 72 2f 	call  2048a50 <fclose>                         
 202c198:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
 202c19c:	39 00 81 92 	sethi  %hi(0x2064800), %i4                     
 202c1a0:	92 17 60 38 	or  %i5, 0x38, %o1                             
 202c1a4:	40 00 74 7f 	call  20493a0 <fopen>                          
 202c1a8:	90 17 21 90 	or  %i4, 0x190, %o0                            
 202c1ac:	80 a2 20 00 	cmp  %o0, 0                                    
 202c1b0:	22 80 00 11 	be,a   202c1f4 <init_etc_passwd_group+0xb4>    
 202c1b4:	90 17 21 90 	or  %i4, 0x190, %o0                            
    fclose(fp);                                                       
 202c1b8:	40 00 72 26 	call  2048a50 <fclose>                         
 202c1bc:	91 e8 00 08 	restore  %g0, %o0, %o0                         
   *  Initialize /etc/passwd                                          
   */                                                                 
  if ((fp = fopen("/etc/passwd", "r")) != NULL) {                     
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/passwd", "w")) != NULL) {                
 202c1c0:	13 00 81 a1 	sethi  %hi(0x2068400), %o1                     
 202c1c4:	40 00 74 77 	call  20493a0 <fopen>                          
 202c1c8:	92 12 62 c8 	or  %o1, 0x2c8, %o1	! 20686c8 <rtems_rtc_shell_usage+0x4e8>
 202c1cc:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 202c1d0:	02 bf ff f3 	be  202c19c <init_etc_passwd_group+0x5c>       <== NEVER TAKEN
 202c1d4:	92 10 20 01 	mov  1, %o1                                    
    fprintf(fp, "root:*:0:0:root::/:/bin/sh\n"                        
 202c1d8:	94 10 20 66 	mov  0x66, %o2                                 
 202c1dc:	96 10 00 1c 	mov  %i4, %o3                                  
 202c1e0:	11 00 81 aa 	sethi  %hi(0x206a800), %o0                     
 202c1e4:	40 00 79 38 	call  204a6c4 <fwrite>                         
 202c1e8:	90 12 21 48 	or  %o0, 0x148, %o0	! 206a948 <IMFS_memfile_handlers+0x7c>
                 "rtems:*:1:1:RTEMS Application::/:/bin/sh\n"         
                 "tty:!:2:2:tty owner::/:/bin/false\n" );             
    fclose(fp);                                                       
 202c1ec:	10 bf ff ea 	b  202c194 <init_etc_passwd_group+0x54>        
 202c1f0:	90 10 00 1c 	mov  %i4, %o0                                  
   *  Initialize /etc/group                                           
   */                                                                 
  if ((fp = fopen("/etc/group", "r")) != NULL) {                      
    fclose(fp);                                                       
  }                                                                   
  else if ((fp = fopen("/etc/group", "w")) != NULL) {                 
 202c1f4:	13 00 81 a1 	sethi  %hi(0x2068400), %o1                     
 202c1f8:	40 00 74 6a 	call  20493a0 <fopen>                          
 202c1fc:	92 12 62 c8 	or  %o1, 0x2c8, %o1	! 20686c8 <rtems_rtc_shell_usage+0x4e8>
 202c200:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 202c204:	02 bf ff d5 	be  202c158 <init_etc_passwd_group+0x18>       <== NEVER TAKEN
 202c208:	92 10 20 01 	mov  1, %o1                                    
    fprintf( fp, "root:x:0:root\n"                                    
 202c20c:	11 00 81 aa 	sethi  %hi(0x206a800), %o0                     
 202c210:	94 10 20 2a 	mov  0x2a, %o2                                 
 202c214:	96 10 00 18 	mov  %i0, %o3                                  
 202c218:	40 00 79 2b 	call  204a6c4 <fwrite>                         
 202c21c:	90 12 21 b0 	or  %o0, 0x1b0, %o0                            
                 "rtems:x:1:rtems\n"                                  
                 "tty:x:2:tty\n" );                                   
    fclose(fp);                                                       
 202c220:	40 00 72 0c 	call  2048a50 <fclose>                         
 202c224:	81 e8 00 00 	restore                                        
                                                                      

020065f4 <iproc>: /* * Process a single input character */ static int iproc (unsigned char c, struct rtems_termios_tty *tty) {
 20065f4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (tty->termios.c_iflag & ISTRIP)                                  
 20065f8:	c2 06 60 30 	ld  [ %i1 + 0x30 ], %g1                        
 20065fc:	80 88 60 20 	btst  0x20, %g1                                
 2006600:	32 80 00 02 	bne,a   2006608 <iproc+0x14>                   <== NEVER TAKEN
 2006604:	b0 0e 20 7f 	and  %i0, 0x7f, %i0                            <== NOT EXECUTED
    c &= 0x7f;                                                        
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
 2006608:	80 88 62 00 	btst  0x200, %g1                               
 200660c:	02 80 00 0d 	be  2006640 <iproc+0x4c>                       
 2006610:	80 a6 20 0d 	cmp  %i0, 0xd                                  
    c = tolower (c);                                                  
 2006614:	05 00 80 77 	sethi  %hi(0x201dc00), %g2                     
 2006618:	c6 00 a2 40 	ld  [ %g2 + 0x240 ], %g3	! 201de40 <__ctype_ptr__>
 200661c:	84 10 00 18 	mov  %i0, %g2                                  
 2006620:	b0 00 c0 18 	add  %g3, %i0, %i0                             
 2006624:	c6 0e 20 01 	ldub  [ %i0 + 1 ], %g3                         
 2006628:	86 08 e0 03 	and  %g3, 3, %g3                               
 200662c:	80 a0 e0 01 	cmp  %g3, 1                                    
 2006630:	22 80 00 02 	be,a   2006638 <iproc+0x44>                    
 2006634:	84 00 a0 20 	add  %g2, 0x20, %g2                            
 2006638:	b0 08 a0 ff 	and  %g2, 0xff, %i0                            
                                                                      
  if (c == '\r') {                                                    
 200663c:	80 a6 20 0d 	cmp  %i0, 0xd                                  
 2006640:	02 80 00 1d 	be  20066b4 <iproc+0xc0>                       
 2006644:	80 a6 20 0a 	cmp  %i0, 0xa                                  
    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)) {         
 2006648:	02 80 00 44 	be  2006758 <iproc+0x164>                      
 200664c:	80 a6 20 00 	cmp  %i0, 0                                    
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
 2006650:	32 80 00 1f 	bne,a   20066cc <iproc+0xd8>                   <== ALWAYS TAKEN
 2006654:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
  }                                                                   
                                                                      
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
 2006658:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
 200665c:	05 00 80 77 	sethi  %hi(0x201dc00), %g2                     
 2006660:	c4 00 a0 e0 	ld  [ %g2 + 0xe0 ], %g2	! 201dce0 <rtems_termios_cbufsize>
 2006664:	84 00 bf ff 	add  %g2, -1, %g2                              
 2006668:	80 a0 40 02 	cmp  %g1, %g2                                  
 200666c:	1a 80 00 10 	bcc  20066ac <iproc+0xb8>                      <== NEVER TAKEN
 2006670:	01 00 00 00 	nop                                            
    if (tty->termios.c_lflag & ECHO)                                  
 2006674:	c4 06 60 3c 	ld  [ %i1 + 0x3c ], %g2                        
 2006678:	80 88 a0 08 	btst  8, %g2                                   
 200667c:	12 80 00 3c 	bne  200676c <iproc+0x178>                     <== ALWAYS TAKEN
 2006680:	84 00 60 01 	add  %g1, 1, %g2                               
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
 2006684:	c6 06 60 1c 	ld  [ %i1 + 0x1c ], %g3                        <== NOT EXECUTED
 2006688:	f0 28 c0 01 	stb  %i0, [ %g3 + %g1 ]                        <== NOT EXECUTED
 200668c:	c4 26 60 20 	st  %g2, [ %i1 + 0x20 ]                        <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
 2006690:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006694:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
 * FIXME: Some of the tests should check for IEXTEN, too.             
 */                                                                   
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
  if (tty->ccount == 0)                                               
 2006698:	80 a0 60 00 	cmp  %g1, 0                                    
 200669c:	02 80 00 04 	be  20066ac <iproc+0xb8>                       
 20066a0:	90 10 00 19 	mov  %i1, %o0                                  
 20066a4:	7f ff ff 5f 	call  2006420 <erase.part.2>                   
 20066a8:	92 10 20 00 	clr  %o1                                       
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
    if (c == tty->termios.c_cc[VERASE]) {                             
      erase (tty, 0);                                                 
      return 0;                                                       
 20066ac:	81 c7 e0 08 	ret                                            
 20066b0:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  if (tty->termios.c_iflag & IUCLC)                                   
    c = tolower (c);                                                  
                                                                      
  if (c == '\r') {                                                    
    if (tty->termios.c_iflag & IGNCR)                                 
 20066b4:	80 88 60 80 	btst  0x80, %g1                                
 20066b8:	12 bf ff fd 	bne  20066ac <iproc+0xb8>                      <== NEVER TAKEN
 20066bc:	80 88 61 00 	btst  0x100, %g1                               
      return 0;                                                       
    if (tty->termios.c_iflag & ICRNL)                                 
 20066c0:	32 80 00 02 	bne,a   20066c8 <iproc+0xd4>                   <== ALWAYS TAKEN
 20066c4:	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)) {               
 20066c8:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
 20066cc:	80 88 60 02 	btst  2, %g1                                   
 20066d0:	22 bf ff e3 	be,a   200665c <iproc+0x68>                    
 20066d4:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
    if (c == tty->termios.c_cc[VERASE]) {                             
 20066d8:	c4 0e 60 43 	ldub  [ %i1 + 0x43 ], %g2                      
 20066dc:	80 a0 80 18 	cmp  %g2, %i0                                  
 20066e0:	22 bf ff ee 	be,a   2006698 <iproc+0xa4>                    
 20066e4:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
 20066e8:	c4 0e 60 44 	ldub  [ %i1 + 0x44 ], %g2                      
 20066ec:	80 a0 80 18 	cmp  %g2, %i0                                  
 20066f0:	22 80 00 2d 	be,a   20067a4 <iproc+0x1b0>                   
 20066f4:	c4 06 60 20 	ld  [ %i1 + 0x20 ], %g2                        
      erase (tty, 1);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
 20066f8:	c4 0e 60 45 	ldub  [ %i1 + 0x45 ], %g2                      
 20066fc:	80 a0 80 18 	cmp  %g2, %i0                                  
 2006700:	02 80 00 42 	be  2006808 <iproc+0x214>                      <== NEVER TAKEN
 2006704:	80 a6 20 0a 	cmp  %i0, 0xa                                  
      return 1;                                                       
    } else if (c == '\n') {                                           
 2006708:	02 80 00 33 	be  20067d4 <iproc+0x1e0>                      
 200670c:	80 88 60 48 	btst  0x48, %g1                                
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
 2006710:	c4 0e 60 4c 	ldub  [ %i1 + 0x4c ], %g2                      
 2006714:	80 a0 80 18 	cmp  %g2, %i0                                  
 2006718:	02 80 00 07 	be  2006734 <iproc+0x140>                      <== NEVER TAKEN
 200671c:	80 88 60 08 	btst  8, %g1                                   
 2006720:	c4 0e 60 51 	ldub  [ %i1 + 0x51 ], %g2                      
 2006724:	80 a0 80 18 	cmp  %g2, %i0                                  
 2006728:	32 bf ff cd 	bne,a   200665c <iproc+0x68>                   <== ALWAYS TAKEN
 200672c:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
 2006730:	80 88 60 08 	btst  8, %g1                                   <== NOT EXECUTED
 2006734:	12 80 00 18 	bne  2006794 <iproc+0x1a0>                     <== NOT EXECUTED
 2006738:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
        echo (c, tty);                                                
      tty->cbuf[tty->ccount++] = c;                                   
 200673c:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
 2006740:	c6 06 60 1c 	ld  [ %i1 + 0x1c ], %g3                        <== NOT EXECUTED
 2006744:	84 00 60 01 	add  %g1, 1, %g2                               <== NOT EXECUTED
 2006748:	f0 28 c0 01 	stb  %i0, [ %g3 + %g1 ]                        <== NOT EXECUTED
 200674c:	c4 26 60 20 	st  %g2, [ %i1 + 0x20 ]                        <== NOT EXECUTED
      return 1;                                                       
 2006750:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006754:	91 e8 20 01 	restore  %g0, 1, %o0                           <== 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)) {         
 2006758:	80 88 60 40 	btst  0x40, %g1                                
 200675c:	32 bf ff db 	bne,a   20066c8 <iproc+0xd4>                   <== NEVER TAKEN
 2006760:	b0 10 20 0d 	mov  0xd, %i0                                  <== NOT EXECUTED
    c = '\r';                                                         
  }                                                                   
                                                                      
  if ((c != '\0') && (tty->termios.c_lflag & ICANON)) {               
 2006764:	10 bf ff da 	b  20066cc <iproc+0xd8>                        
 2006768:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
  /*                                                                  
   * FIXME: Should do IMAXBEL handling somehow                        
   */                                                                 
  if (tty->ccount < (CBUFSIZE-1)) {                                   
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
 200676c:	90 10 00 18 	mov  %i0, %o0                                  
 2006770:	7f ff ff 0b 	call  200639c <echo>                           
 2006774:	92 10 00 19 	mov  %i1, %o1                                  
 2006778:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
    tty->cbuf[tty->ccount++] = c;                                     
 200677c:	c6 06 60 1c 	ld  [ %i1 + 0x1c ], %g3                        
 2006780:	84 00 60 01 	add  %g1, 1, %g2                               
 2006784:	f0 28 c0 01 	stb  %i0, [ %g3 + %g1 ]                        
 2006788:	c4 26 60 20 	st  %g2, [ %i1 + 0x20 ]                        
  }                                                                   
  return 0;                                                           
 200678c:	81 c7 e0 08 	ret                                            
 2006790:	91 e8 20 00 	restore  %g0, 0, %o0                           
      tty->cbuf[tty->ccount++] = c;                                   
      return 1;                                                       
    } else if ((c == tty->termios.c_cc[VEOL]) ||                      
               (c == tty->termios.c_cc[VEOL2])) {                     
      if (tty->termios.c_lflag & ECHO)                                
        echo (c, tty);                                                
 2006794:	7f ff ff 02 	call  200639c <echo>                           <== NOT EXECUTED
 2006798:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
      tty->cbuf[tty->ccount++] = c;                                   
 200679c:	10 bf ff e9 	b  2006740 <iproc+0x14c>                       <== NOT EXECUTED
 20067a0:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
 * FIXME: Some of the tests should check for IEXTEN, too.             
 */                                                                   
static void                                                           
erase (struct rtems_termios_tty *tty, int lineFlag)                   
{                                                                     
  if (tty->ccount == 0)                                               
 20067a4:	80 a0 a0 00 	cmp  %g2, 0                                    
 20067a8:	02 bf ff c1 	be  20066ac <iproc+0xb8>                       <== NEVER TAKEN
 20067ac:	80 88 60 08 	btst  8, %g1                                   
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
 20067b0:	02 80 00 18 	be  2006810 <iproc+0x21c>                      <== NEVER TAKEN
 20067b4:	80 88 60 10 	btst  0x10, %g1                                
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
 20067b8:	02 80 00 19 	be  200681c <iproc+0x228>                      <== NEVER TAKEN
 20067bc:	90 10 00 19 	mov  %i1, %o0                                  
 20067c0:	92 10 20 01 	mov  1, %o1                                    
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
 20067c4:	7f ff ff 17 	call  2006420 <erase.part.2>                   
 20067c8:	b0 10 20 00 	clr  %i0                                       
 20067cc:	81 c7 e0 08 	ret                                            
 20067d0:	81 e8 00 00 	restore                                        
    }                                                                 
    else if (c == tty->termios.c_cc[VEOF]) {                          
      return 1;                                                       
    } else if (c == '\n') {                                           
      if (tty->termios.c_lflag & (ECHO | ECHONL))                     
 20067d4:	22 80 00 06 	be,a   20067ec <iproc+0x1f8>                   <== NEVER TAKEN
 20067d8:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        <== NOT EXECUTED
        echo (c, tty);                                                
 20067dc:	90 10 20 0a 	mov  0xa, %o0                                  
 20067e0:	7f ff fe ef 	call  200639c <echo>                           
 20067e4:	92 10 00 19 	mov  %i1, %o1                                  
      tty->cbuf[tty->ccount++] = c;                                   
 20067e8:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 20067ec:	c4 06 60 1c 	ld  [ %i1 + 0x1c ], %g2                        
 20067f0:	86 10 20 0a 	mov  0xa, %g3                                  
 20067f4:	c6 28 80 01 	stb  %g3, [ %g2 + %g1 ]                        
 20067f8:	82 00 60 01 	inc  %g1                                       
 20067fc:	c2 26 60 20 	st  %g1, [ %i1 + 0x20 ]                        
      return 1;                                                       
 2006800:	81 c7 e0 08 	ret                                            
 2006804:	91 e8 20 01 	restore  %g0, 1, %o0                           
    if (tty->termios.c_lflag & ECHO)                                  
      echo (c, tty);                                                  
    tty->cbuf[tty->ccount++] = c;                                     
  }                                                                   
  return 0;                                                           
}                                                                     
 2006808:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200680c:	91 e8 20 01 	restore  %g0, 1, %o0                           <== NOT EXECUTED
{                                                                     
  if (tty->ccount == 0)                                               
    return;                                                           
  if (lineFlag) {                                                     
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
 2006810:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            <== NOT EXECUTED
      erase (tty, 0);                                                 
      return 0;                                                       
    }                                                                 
    else if (c == tty->termios.c_cc[VKILL]) {                         
      erase (tty, 1);                                                 
      return 0;                                                       
 2006814:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006818:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
    if (!(tty->termios.c_lflag & ECHO)) {                             
      tty->ccount = 0;                                                
      return;                                                         
    }                                                                 
    if (!(tty->termios.c_lflag & ECHOE)) {                            
      tty->ccount = 0;                                                
 200681c:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            <== NOT EXECUTED
      echo (tty->termios.c_cc[VKILL], tty);                           
 2006820:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2006824:	7f ff fe de 	call  200639c <echo>                           <== NOT EXECUTED
 2006828:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
      if (tty->termios.c_lflag & ECHOK)                               
 200682c:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        <== NOT EXECUTED
 2006830:	80 88 60 20 	btst  0x20, %g1                                <== NOT EXECUTED
 2006834:	02 bf ff 9e 	be  20066ac <iproc+0xb8>                       <== NOT EXECUTED
 2006838:	90 10 20 0a 	mov  0xa, %o0                                  <== NOT EXECUTED
        echo ('\n', tty);                                             
 200683c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2006840:	7f ff fe d7 	call  200639c <echo>                           <== NOT EXECUTED
 2006844:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2006848:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200684c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201b0b4 <killinfo>: int killinfo( pid_t pid, int sig, const union sigval *value ) {
 201b0b4:	9d e3 bf 90 	save  %sp, -112, %sp                           
  POSIX_signals_Siginfo_node  *psiginfo;                              
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
 201b0b8:	7f ff ff 63 	call  201ae44 <getpid>                         
 201b0bc:	01 00 00 00 	nop                                            
 201b0c0:	80 a2 00 18 	cmp  %o0, %i0                                  
 201b0c4:	12 80 00 ad 	bne  201b378 <killinfo+0x2c4>                  
 201b0c8:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  /*                                                                  
   *  Validate the signal passed.                                     
   */                                                                 
  if ( !sig )                                                         
 201b0cc:	02 80 00 b1 	be  201b390 <killinfo+0x2dc>                   
 201b0d0:	82 06 7f ff 	add  %i1, -1, %g1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 201b0d4:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 201b0d8:	18 80 00 ae 	bgu  201b390 <killinfo+0x2dc>                  
 201b0dc:	a1 2e 60 02 	sll  %i1, 2, %l0                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  /*                                                                  
   *  If the signal is being ignored, then we are out of here.        
   */                                                                 
  if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN )          
 201b0e0:	31 00 80 7b 	sethi  %hi(0x201ec00), %i0                     
 201b0e4:	a3 2e 60 04 	sll  %i1, 4, %l1                               
 201b0e8:	b0 16 22 40 	or  %i0, 0x240, %i0                            
 201b0ec:	84 24 40 10 	sub  %l1, %l0, %g2                             
 201b0f0:	84 06 00 02 	add  %i0, %g2, %g2                             
 201b0f4:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 201b0f8:	80 a0 a0 01 	cmp  %g2, 1                                    
 201b0fc:	02 80 00 9d 	be  201b370 <killinfo+0x2bc>                   
 201b100:	80 a6 60 04 	cmp  %i1, 4                                    
  /*                                                                  
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
 201b104:	02 80 00 3f 	be  201b200 <killinfo+0x14c>                   
 201b108:	80 a6 60 08 	cmp  %i1, 8                                    
 201b10c:	02 80 00 3d 	be  201b200 <killinfo+0x14c>                   
 201b110:	80 a6 60 0b 	cmp  %i1, 0xb                                  
 201b114:	02 80 00 3b 	be  201b200 <killinfo+0x14c>                   
 201b118:	ba 10 20 01 	mov  1, %i5                                    
                                                                      
  /*                                                                  
   *  Build up a siginfo structure                                    
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
 201b11c:	f2 27 bf f4 	st  %i1, [ %fp + -12 ]                         
  siginfo->si_code = SI_USER;                                         
 201b120:	fa 27 bf f8 	st  %i5, [ %fp + -8 ]                          
  if ( !value ) {                                                     
 201b124:	80 a6 a0 00 	cmp  %i2, 0                                    
 201b128:	02 80 00 3c 	be  201b218 <killinfo+0x164>                   
 201b12c:	bb 2f 40 01 	sll  %i5, %g1, %i5                             
    siginfo->si_value.sival_int = 0;                                  
  } else {                                                            
    siginfo->si_value = *value;                                       
 201b130:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 201b134:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 201b138:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 201b13c:	c4 00 60 b0 	ld  [ %g1 + 0xb0 ], %g2	! 201e8b0 <_Thread_Dispatch_disable_level>
 201b140:	84 00 a0 01 	inc  %g2                                       
 201b144:	c4 20 60 b0 	st  %g2, [ %g1 + 0xb0 ]                        
    return _Thread_Dispatch_disable_level;                            
 201b148:	c2 00 60 b0 	ld  [ %g1 + 0xb0 ], %g1                        
                                                                      
  /*                                                                  
   *  Is the currently executing thread interested?  If so then it will
   *  get it an execute it as soon as the dispatcher executes.        
   */                                                                 
  the_thread = _Thread_Executing;                                     
 201b14c:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 201b150:	d0 00 61 ec 	ld  [ %g1 + 0x1ec ], %o0	! 201edec <_Per_CPU_Information+0xc>
                                                                      
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
  if ( _POSIX_signals_Is_interested( api, mask ) ) {                  
 201b154:	c2 02 21 5c 	ld  [ %o0 + 0x15c ], %g1                       
 201b158:	c2 00 60 d0 	ld  [ %g1 + 0xd0 ], %g1                        
 201b15c:	80 af 40 01 	andncc  %i5, %g1, %g0                          
 201b160:	12 80 00 17 	bne  201b1bc <killinfo+0x108>                  
 201b164:	09 00 80 7b 	sethi  %hi(0x201ec00), %g4                     
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 201b168:	c2 01 23 cc 	ld  [ %g4 + 0x3cc ], %g1	! 201efcc <_POSIX_signals_Wait_queue>
 201b16c:	88 11 23 cc 	or  %g4, 0x3cc, %g4                            
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
 201b170:	88 01 20 04 	add  %g4, 4, %g4                               
 201b174:	80 a0 40 04 	cmp  %g1, %g4                                  
 201b178:	32 80 00 0d 	bne,a   201b1ac <killinfo+0xf8>                
 201b17c:	c4 00 60 30 	ld  [ %g1 + 0x30 ], %g2                        
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
 201b180:	10 80 00 28 	b  201b220 <killinfo+0x16c>                    
 201b184:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
                                                                      
    /*                                                                
     * Is this thread is blocked waiting for another signal but has   
     * not blocked this one?                                          
     */                                                               
    if (~api->signals_blocked & mask)                                 
 201b188:	c4 00 e0 d0 	ld  [ %g3 + 0xd0 ], %g2                        
 201b18c:	80 af 40 02 	andncc  %i5, %g2, %g0                          
 201b190:	12 80 00 0b 	bne  201b1bc <killinfo+0x108>                  
 201b194:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
 201b198:	c2 00 40 00 	ld  [ %g1 ], %g1                               
                                                                      
  /* XXX violation of visibility -- need to define thread queue support */
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
 201b19c:	80 a0 40 04 	cmp  %g1, %g4                                  
 201b1a0:	22 80 00 20 	be,a   201b220 <killinfo+0x16c>                <== ALWAYS TAKEN
 201b1a4:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
    #endif                                                            
                                                                      
    /*                                                                
     * Is this thread is actually blocked waiting for the signal?     
     */                                                               
    if (the_thread->Wait.option & mask)                               
 201b1a8:	c4 00 60 30 	ld  [ %g1 + 0x30 ], %g2	! 201d830 <__mprec_tinytens+0x8><== NOT EXECUTED
 201b1ac:	80 8f 40 02 	btst  %i5, %g2                                 
 201b1b0:	02 bf ff f6 	be  201b188 <killinfo+0xd4>                    
 201b1b4:	c6 00 61 5c 	ld  [ %g1 + 0x15c ], %g3                       
                                                                      
  the_chain = &_POSIX_signals_Wait_queue.Queues.Fifo;                 
                                                                      
  for ( the_node = _Chain_First( the_chain );                         
        !_Chain_Is_tail( the_chain, the_node ) ;                      
        the_node = the_node->next ) {                                 
 201b1b8:	90 10 00 01 	mov  %g1, %o0                                  
                                                                      
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
 201b1bc:	92 10 00 19 	mov  %i1, %o1                                  
 201b1c0:	40 00 00 8b 	call  201b3ec <_POSIX_signals_Unblock_thread>  
 201b1c4:	94 07 bf f4 	add  %fp, -12, %o2                             
 201b1c8:	80 8a 20 ff 	btst  0xff, %o0                                
 201b1cc:	12 80 00 09 	bne  201b1f0 <killinfo+0x13c>                  
 201b1d0:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  We may have woken up a thread but we definitely need to post the
   *  signal to the process wide information set.                     
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
 201b1d4:	40 00 00 7d 	call  201b3c8 <_POSIX_signals_Set_process_signals>
 201b1d8:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
 201b1dc:	a0 24 40 10 	sub  %l1, %l0, %l0                             
 201b1e0:	c2 06 00 10 	ld  [ %i0 + %l0 ], %g1                         
 201b1e4:	80 a0 60 02 	cmp  %g1, 2                                    
 201b1e8:	02 80 00 4f 	be  201b324 <killinfo+0x270>                   
 201b1ec:	11 00 80 7b 	sethi  %hi(0x201ec00), %o0                     
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
    _Thread_Enable_dispatch();                                        
 201b1f0:	7f ff bd bc 	call  200a8e0 <_Thread_Enable_dispatch>        
 201b1f4:	b0 10 20 00 	clr  %i0                                       
 201b1f8:	81 c7 e0 08 	ret                                            
 201b1fc:	81 e8 00 00 	restore                                        
   *  P1003.1c/Draft 10, p. 33 says that certain signals should always
   *  be directed to the executing thread such as those caused by hardware
   *  faults.                                                         
   */                                                                 
  if ( (sig == SIGFPE) || (sig == SIGILL) || (sig == SIGSEGV ) )      
      return pthread_kill( pthread_self(), sig );                     
 201b200:	40 00 01 0f 	call  201b63c <pthread_self>                   
 201b204:	01 00 00 00 	nop                                            
 201b208:	40 00 00 d2 	call  201b550 <pthread_kill>                   
 201b20c:	92 10 00 19 	mov  %i1, %o1                                  
 201b210:	81 c7 e0 08 	ret                                            
 201b214:	91 e8 00 08 	restore  %g0, %o0, %o0                         
   */                                                                 
  siginfo = &siginfo_struct;                                          
  siginfo->si_signo = sig;                                            
  siginfo->si_code = SI_USER;                                         
  if ( !value ) {                                                     
    siginfo->si_value.sival_int = 0;                                  
 201b218:	10 bf ff c8 	b  201b138 <killinfo+0x84>                     
 201b21c:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
 201b220:	f8 08 63 18 	ldub  [ %g1 + 0x318 ], %i4                     
 201b224:	1b 00 80 7a 	sethi  %hi(0x201e800), %o5                     
 201b228:	b8 07 20 01 	inc  %i4                                       
 201b22c:	9a 13 60 1c 	or  %o5, 0x1c, %o5                             
   *                                                                  
   *  NOTES:                                                          
   *                                                                  
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
 201b230:	90 10 20 00 	clr  %o0                                       
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
 201b234:	98 03 60 08 	add  %o5, 8, %o4                               
 */                                                                   
RTEMS_INLINE_ROUTINE bool _States_Is_interruptible_by_signal (        
  States_Control the_states                                           
)                                                                     
{                                                                     
   return (the_states & STATES_INTERRUPTIBLE_BY_SIGNAL);              
 201b238:	17 04 00 00 	sethi  %hi(0x10000000), %o3                    
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
                                                                      
    /*                                                                
     *  This can occur when no one is interested and an API is not configured.
     */                                                               
    if ( !_Objects_Information_table[ the_api ] )                     
 201b23c:	c2 03 40 00 	ld  [ %o5 ], %g1                               
 201b240:	80 a0 60 00 	cmp  %g1, 0                                    
 201b244:	22 80 00 31 	be,a   201b308 <killinfo+0x254>                <== NEVER TAKEN
 201b248:	9a 03 60 04 	add  %o5, 4, %o5                               <== NOT EXECUTED
      continue;                                                       
                                                                      
    the_info = _Objects_Information_table[ the_api ][ 1 ];            
 201b24c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
       */                                                             
      if ( !the_info )                                                
        continue;                                                     
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
 201b250:	f6 10 60 10 	lduh  [ %g1 + 0x10 ], %i3                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 201b254:	80 a6 e0 00 	cmp  %i3, 0                                    
 201b258:	02 80 00 2b 	be  201b304 <killinfo+0x250>                   
 201b25c:	f4 00 60 1c 	ld  [ %g1 + 0x1c ], %i2                        
 201b260:	84 10 20 01 	mov  1, %g2                                    
 */                                                                   
                                                                      
#define _POSIX_signals_Is_interested( _api, _mask ) \                 
  ( ~(_api)->signals_blocked & (_mask) )                              
                                                                      
int killinfo(                                                         
 201b264:	87 28 a0 02 	sll  %g2, 2, %g3                               
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
      the_thread = (Thread_Control *) object_table[ index ];          
 201b268:	c6 06 80 03 	ld  [ %i2 + %g3 ], %g3                         
                                                                      
      if ( !the_thread )                                              
 201b26c:	80 a0 e0 00 	cmp  %g3, 0                                    
 201b270:	22 80 00 22 	be,a   201b2f8 <killinfo+0x244>                
 201b274:	84 00 a0 01 	inc  %g2                                       
                                                                      
      /*                                                              
       *  If this thread is of lower priority than the interested thread,
       *  go on to the next thread.                                   
       */                                                             
      if ( the_thread->current_priority > interested_priority )       
 201b278:	c8 00 e0 14 	ld  [ %g3 + 0x14 ], %g4                        
 201b27c:	80 a1 00 1c 	cmp  %g4, %i4                                  
 201b280:	38 80 00 1e 	bgu,a   201b2f8 <killinfo+0x244>               
 201b284:	84 00 a0 01 	inc  %g2                                       
      #if defined(RTEMS_DEBUG)                                        
        if ( !api )                                                   
          continue;                                                   
      #endif                                                          
                                                                      
      if ( !_POSIX_signals_Is_interested( api, mask ) )               
 201b288:	de 00 e1 5c 	ld  [ %g3 + 0x15c ], %o7                       
 201b28c:	de 03 e0 d0 	ld  [ %o7 + 0xd0 ], %o7                        
 201b290:	80 af 40 0f 	andncc  %i5, %o7, %g0                          
 201b294:	22 80 00 19 	be,a   201b2f8 <killinfo+0x244>                
 201b298:	84 00 a0 01 	inc  %g2                                       
       *                                                              
       *  NOTE: We initialized interested_priority to PRIORITY_MAXIMUM + 1
       *        so we never have to worry about deferencing a NULL    
       *        interested thread.                                    
       */                                                             
      if ( the_thread->current_priority < interested_priority ) {     
 201b29c:	80 a1 00 1c 	cmp  %g4, %i4                                  
 201b2a0:	2a 80 00 14 	bcs,a   201b2f0 <killinfo+0x23c>               
 201b2a4:	b8 10 00 04 	mov  %g4, %i4                                  
       *  and blocking interruptibutable by signal.                   
       *                                                              
       *  If the interested thread is ready, don't think about changing.
       */                                                             
                                                                      
      if ( interested && !_States_Is_ready( interested->current_state ) ) {
 201b2a8:	80 a2 20 00 	cmp  %o0, 0                                    
 201b2ac:	22 80 00 13 	be,a   201b2f8 <killinfo+0x244>                <== NEVER TAKEN
 201b2b0:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 201b2b4:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
 201b2b8:	80 a0 60 00 	cmp  %g1, 0                                    
 201b2bc:	22 80 00 0f 	be,a   201b2f8 <killinfo+0x244>                <== NEVER TAKEN
 201b2c0:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
 201b2c4:	de 00 e0 10 	ld  [ %g3 + 0x10 ], %o7                        
 201b2c8:	80 a3 e0 00 	cmp  %o7, 0                                    
 201b2cc:	22 80 00 09 	be,a   201b2f0 <killinfo+0x23c>                
 201b2d0:	b8 10 00 04 	mov  %g4, %i4                                  
          continue;                                                   
        }                                                             
                                                                      
        DEBUG_STEP("6");                                              
        /* prefer blocked/interruptible over blocked/not interruptible */
        if ( !_States_Is_interruptible_by_signal(interested->current_state) ) {
 201b2d4:	80 88 40 0b 	btst  %g1, %o3                                 
 201b2d8:	32 80 00 08 	bne,a   201b2f8 <killinfo+0x244>               
 201b2dc:	84 00 a0 01 	inc  %g2                                       
          DEBUG_STEP("7");                                            
          if ( _States_Is_interruptible_by_signal(the_thread->current_state) ) {
 201b2e0:	80 8b c0 0b 	btst  %o7, %o3                                 
 201b2e4:	22 80 00 05 	be,a   201b2f8 <killinfo+0x244>                
 201b2e8:	84 00 a0 01 	inc  %g2                                       
       */                                                             
                                                                      
      if ( interested && !_States_Is_ready( interested->current_state ) ) {
        /* preferred ready over blocked */                            
        DEBUG_STEP("5");                                              
        if ( _States_Is_ready( the_thread->current_state ) ) {        
 201b2ec:	b8 10 00 04 	mov  %g4, %i4                                  
 201b2f0:	90 10 00 03 	mov  %g3, %o0                                  
    #endif                                                            
                                                                      
    maximum = the_info->maximum;                                      
    object_table = the_info->local_table;                             
                                                                      
    for ( index = 1 ; index <= maximum ; index++ ) {                  
 201b2f4:	84 00 a0 01 	inc  %g2                                       
 201b2f8:	80 a6 c0 02 	cmp  %i3, %g2                                  
 201b2fc:	1a bf ff db 	bcc  201b268 <killinfo+0x1b4>                  
 201b300:	87 28 a0 02 	sll  %g2, 2, %g3                               
 201b304:	9a 03 60 04 	add  %o5, 4, %o5                               
   *    + rtems internal threads do not receive signals.              
   */                                                                 
  interested = NULL;                                                  
  interested_priority = PRIORITY_MAXIMUM + 1;                         
                                                                      
  for (the_api = OBJECTS_CLASSIC_API; the_api <= OBJECTS_APIS_LAST; the_api++) {
 201b308:	80 a3 40 0c 	cmp  %o5, %o4                                  
 201b30c:	32 bf ff cd 	bne,a   201b240 <killinfo+0x18c>               
 201b310:	c2 03 40 00 	ld  [ %o5 ], %g1                               
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( interested ) {                                                 
 201b314:	80 a2 20 00 	cmp  %o0, 0                                    
 201b318:	12 bf ff aa 	bne  201b1c0 <killinfo+0x10c>                  
 201b31c:	92 10 00 19 	mov  %i1, %o1                                  
 201b320:	30 bf ff ad 	b,a   201b1d4 <killinfo+0x120>                 
   */                                                                 
  _POSIX_signals_Set_process_signals( mask );                         
                                                                      
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
 201b324:	7f ff b5 63 	call  20088b0 <_Chain_Get>                     
 201b328:	90 12 23 c0 	or  %o0, 0x3c0, %o0                            
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
 201b32c:	92 92 20 00 	orcc  %o0, 0, %o1                              
 201b330:	02 80 00 1e 	be  201b3a8 <killinfo+0x2f4>                   
 201b334:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
 201b338:	11 00 80 7c 	sethi  %hi(0x201f000), %o0                     
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
 201b33c:	c2 22 60 08 	st  %g1, [ %o1 + 8 ]                           
 201b340:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
 201b344:	90 12 20 38 	or  %o0, 0x38, %o0                             
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
 201b348:	c2 22 60 0c 	st  %g1, [ %o1 + 0xc ]                         
 201b34c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
 201b350:	90 02 00 10 	add  %o0, %l0, %o0                             
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
    }                                                                 
                                                                      
    psiginfo->Info = *siginfo;                                        
 201b354:	c2 22 60 10 	st  %g1, [ %o1 + 0x10 ]                        
                                                                      
    _Chain_Append( &_POSIX_signals_Siginfo[ sig ], &psiginfo->Node ); 
 201b358:	7f ff b5 4b 	call  2008884 <_Chain_Append>                  
 201b35c:	b0 10 20 00 	clr  %i0                                       
  /*                                                                  
   *  Returns true if the signal was synchronously given to a thread  
   *  blocked waiting for the signal.                                 
   */                                                                 
  if ( _POSIX_signals_Unblock_thread( the_thread, sig, siginfo ) ) {  
    _Thread_Enable_dispatch();                                        
 201b360:	7f ff bd 60 	call  200a8e0 <_Thread_Enable_dispatch>        
 201b364:	01 00 00 00 	nop                                            
 201b368:	81 c7 e0 08 	ret                                            
 201b36c:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  DEBUG_STEP("\n");                                                   
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
 201b370:	81 c7 e0 08 	ret                                            
 201b374:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
  if ( pid != getpid() )                                              
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 201b378:	7f ff d5 1f 	call  20107f4 <__errno>                        
 201b37c:	b0 10 3f ff 	mov  -1, %i0                                   
 201b380:	82 10 20 03 	mov  3, %g1                                    
 201b384:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201b388:	81 c7 e0 08 	ret                                            
 201b38c:	81 e8 00 00 	restore                                        
   */                                                                 
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 201b390:	7f ff d5 19 	call  20107f4 <__errno>                        
 201b394:	b0 10 3f ff 	mov  -1, %i0                                   
 201b398:	82 10 20 16 	mov  0x16, %g1                                 
 201b39c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201b3a0:	81 c7 e0 08 	ret                                            
 201b3a4:	81 e8 00 00 	restore                                        
  if ( _POSIX_signals_Vectors[ sig ].sa_flags == SA_SIGINFO ) {       
                                                                      
    psiginfo = (POSIX_signals_Siginfo_node *)                         
               _Chain_Get( &_POSIX_signals_Inactive_siginfo );        
    if ( !psiginfo ) {                                                
      _Thread_Enable_dispatch();                                      
 201b3a8:	7f ff bd 4e 	call  200a8e0 <_Thread_Enable_dispatch>        
 201b3ac:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one( EAGAIN );                 
 201b3b0:	7f ff d5 11 	call  20107f4 <__errno>                        
 201b3b4:	01 00 00 00 	nop                                            
 201b3b8:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
 201b3bc:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201b3c0:	81 c7 e0 08 	ret                                            
 201b3c4:	81 e8 00 00 	restore                                        
                                                                      

020041f0 <libc_wrapup>: extern void _wrapup_reent(struct _reent *); extern void _reclaim_reent(struct _reent *); void libc_wrapup(void) {
 20041f0:	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()))                      
 20041f4:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 20041f8:	c2 00 61 f0 	ld  [ %g1 + 0x1f0 ], %g1	! 201e9f0 <_System_state_Current>
 20041fc:	80 a0 60 03 	cmp  %g1, 3                                    
 2004200:	02 80 00 04 	be  2004210 <libc_wrapup+0x20>                 <== ALWAYS TAKEN
 2004204:	3b 00 80 77 	sethi  %hi(0x201dc00), %i5                     
 2004208:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200420c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  /*                                                                  
   *  This was already done if the user called exit() directly .      
  _wrapup_reent(0);                                                   
   */                                                                 
                                                                      
  if (_REENT != _global_impure_ptr) {                                 
 2004210:	05 00 80 74 	sethi  %hi(0x201d000), %g2                     
 2004214:	c2 07 62 48 	ld  [ %i5 + 0x248 ], %g1                       
 2004218:	f8 00 a0 40 	ld  [ %g2 + 0x40 ], %i4                        
 200421c:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2004220:	02 80 00 05 	be  2004234 <libc_wrapup+0x44>                 
 2004224:	01 00 00 00 	nop                                            
      _wrapup_reent(_global_impure_ptr);                              
 2004228:	40 00 34 98 	call  2011488 <_wrapup_reent>                  
 200422c:	90 10 00 1c 	mov  %i4, %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;                                    
 2004230:	f8 27 62 48 	st  %i4, [ %i5 + 0x248 ]                       
   *                                                                  
   * Should this be changed to do *all* file streams?                 
   *    _fwalk (_REENT, fclose);                                      
   */                                                                 
                                                                      
  fclose (stdin);                                                     
 2004234:	40 00 31 c2 	call  201093c <fclose>                         
 2004238:	d0 07 20 04 	ld  [ %i4 + 4 ], %o0                           
  fclose (stdout);                                                    
 200423c:	c2 07 62 48 	ld  [ %i5 + 0x248 ], %g1                       
 2004240:	40 00 31 bf 	call  201093c <fclose>                         
 2004244:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
  fclose (stderr);                                                    
 2004248:	c2 07 62 48 	ld  [ %i5 + 0x248 ], %g1                       
 200424c:	f0 00 60 0c 	ld  [ %g1 + 0xc ], %i0                         
 2004250:	40 00 31 bb 	call  201093c <fclose>                         
 2004254:	81 e8 00 00 	restore                                        
                                                                      

02003cb4 <malloc>: #include "malloc_p.h" void *malloc( size_t size ) {
 2003cb4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void        *return_this;                                           
                                                                      
  MSBUMP(malloc_calls, 1);                                            
 2003cb8:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 2003cbc:	82 10 63 30 	or  %g1, 0x330, %g1	! 201e730 <rtems_malloc_statistics>
 2003cc0:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 2003cc4:	84 00 a0 01 	inc  %g2                                       
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
 2003cc8:	7f ff ff a9 	call  2003b6c <malloc_deferred_frees_process>  
 2003ccc:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
 2003cd0:	80 a6 20 00 	cmp  %i0, 0                                    
 2003cd4:	02 80 00 25 	be  2003d68 <malloc+0xb4>                      
 2003cd8:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
    return (void *) 0;                                                
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 2003cdc:	c2 00 61 f0 	ld  [ %g1 + 0x1f0 ], %g1	! 201e9f0 <_System_state_Current>
 2003ce0:	80 a0 60 03 	cmp  %g1, 3                                    
 2003ce4:	02 80 00 1c 	be  2003d54 <malloc+0xa0>                      
 2003ce8:	03 00 80 76 	sethi  %hi(0x201d800), %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 );
 2003cec:	d0 00 63 bc 	ld  [ %g1 + 0x3bc ], %o0	! 201dbbc <RTEMS_Malloc_Heap>
 2003cf0:	92 10 00 18 	mov  %i0, %o1                                  
 2003cf4:	94 10 20 00 	clr  %o2                                       
 2003cf8:	40 00 17 bb 	call  2009be4 <_Protected_heap_Allocate_aligned_with_boundary>
 2003cfc:	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 ) {                                               
 2003d00:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2003d04:	02 80 00 1c 	be  2003d74 <malloc+0xc0>                      
 2003d08:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
  }                                                                   
                                                                      
  /*                                                                  
   *  If the user wants us to dirty the allocated memory, then do it. 
   */                                                                 
  if ( rtems_malloc_dirty_helper )                                    
 2003d0c:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2003d10:	c2 00 63 6c 	ld  [ %g1 + 0x36c ], %g1	! 201e36c <rtems_malloc_dirty_helper>
 2003d14:	80 a0 60 00 	cmp  %g1, 0                                    
 2003d18:	02 80 00 04 	be  2003d28 <malloc+0x74>                      
 2003d1c:	90 10 00 1d 	mov  %i5, %o0                                  
    (*rtems_malloc_dirty_helper)( return_this, size );                
 2003d20:	9f c0 40 00 	call  %g1                                      
 2003d24:	92 10 00 18 	mov  %i0, %o1                                  
                                                                      
  /*                                                                  
   *  If configured, update the statistics                            
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
 2003d28:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2003d2c:	c2 00 63 74 	ld  [ %g1 + 0x374 ], %g1	! 201e374 <rtems_malloc_statistics_helpers>
 2003d30:	80 a0 60 00 	cmp  %g1, 0                                    
 2003d34:	22 80 00 06 	be,a   2003d4c <malloc+0x98>                   
 2003d38:	b0 10 00 1d 	mov  %i5, %i0                                  
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
 2003d3c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2003d40:	9f c0 40 00 	call  %g1                                      
 2003d44:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  return return_this;                                                 
}                                                                     
 2003d48:	b0 10 00 1d 	mov  %i5, %i0                                  
 2003d4c:	81 c7 e0 08 	ret                                            
 2003d50:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() )                                 
 2003d54:	7f ff ff 72 	call  2003b1c <malloc_is_system_state_OK>      
 2003d58:	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()) &&                    
 2003d5c:	80 8a 20 ff 	btst  0xff, %o0                                
 2003d60:	12 bf ff e3 	bne  2003cec <malloc+0x38>                     <== ALWAYS TAKEN
 2003d64:	03 00 80 76 	sethi  %hi(0x201d800), %g1                     
                                                                      
  /*                                                                  
   * Validate the parameters                                          
   */                                                                 
  if ( !size )                                                        
    return (void *) 0;                                                
 2003d68:	ba 10 20 00 	clr  %i5                                       
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
    (*rtems_malloc_statistics_helpers->at_malloc)(return_this);       
                                                                      
  return return_this;                                                 
}                                                                     
 2003d6c:	81 c7 e0 08 	ret                                            
 2003d70:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
   */                                                                 
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
                                                                      
  if ( !return_this ) {                                               
    if (rtems_malloc_sbrk_helpers)                                    
 2003d74:	c2 00 63 70 	ld  [ %g1 + 0x370 ], %g1                       
 2003d78:	80 a0 60 00 	cmp  %g1, 0                                    
 2003d7c:	02 80 00 0a 	be  2003da4 <malloc+0xf0>                      
 2003d80:	01 00 00 00 	nop                                            
      return_this = (*rtems_malloc_sbrk_helpers->extend)( size );     
 2003d84:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2003d88:	9f c0 40 00 	call  %g1                                      
 2003d8c:	90 10 00 18 	mov  %i0, %o0                                  
    if ( !return_this ) {                                             
 2003d90:	80 a2 20 00 	cmp  %o0, 0                                    
 2003d94:	02 80 00 04 	be  2003da4 <malloc+0xf0>                      
 2003d98:	01 00 00 00 	nop                                            
 2003d9c:	10 bf ff dc 	b  2003d0c <malloc+0x58>                       
 2003da0:	ba 10 00 08 	mov  %o0, %i5                                  
      errno = ENOMEM;                                                 
 2003da4:	40 00 32 94 	call  20107f4 <__errno>                        
 2003da8:	b0 10 00 1d 	mov  %i5, %i0                                  
 2003dac:	82 10 20 0c 	mov  0xc, %g1                                  
 2003db0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2003db4:	81 c7 e0 08 	ret                                            
 2003db8:	81 e8 00 00 	restore                                        
                                                                      

02003d8c <malloc_sbrk_extend_and_allocate>: } static void *malloc_sbrk_extend_and_allocate( size_t size ) {
 2003d8c:	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;                             
 2003d90:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2003d94:	fa 00 63 28 	ld  [ %g1 + 0x328 ], %i5	! 201eb28 <RTEMS_Malloc_Sbrk_amount>
                                                                      
  if ( sbrk_amount == 0 )                                             
 2003d98:	80 a7 60 00 	cmp  %i5, 0                                    
 2003d9c:	02 80 00 20 	be  2003e1c <malloc_sbrk_extend_and_allocate+0x90><== NEVER TAKEN
 2003da0:	b2 10 00 18 	mov  %i0, %i1                                  
    return (void *) 0;                                                
                                                                      
  the_size = ((size + sbrk_amount) / sbrk_amount * sbrk_amount);      
 2003da4:	92 10 00 1d 	mov  %i5, %o1                                  
 2003da8:	40 00 56 d6 	call  2019900 <.udiv>                          
 2003dac:	90 06 00 1d 	add  %i0, %i5, %o0                             
 2003db0:	40 00 56 9a 	call  2019818 <.umul>                          
 2003db4:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
  starting_address = (void *) sbrk(the_size);                         
 2003db8:	7f ff f5 c3 	call  20014c4 <sbrk>                           
 2003dbc:	ba 10 00 08 	mov  %o0, %i5                                  
  if ( starting_address == (void*) -1 )                               
 2003dc0:	80 a2 3f ff 	cmp  %o0, -1                                   
 2003dc4:	02 80 00 16 	be  2003e1c <malloc_sbrk_extend_and_allocate+0x90>
 2003dc8:	92 10 00 08 	mov  %o0, %o1                                  
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
 2003dcc:	39 00 80 77 	sethi  %hi(0x201dc00), %i4                     
 2003dd0:	d0 07 22 1c 	ld  [ %i4 + 0x21c ], %o0	! 201de1c <RTEMS_Malloc_Heap>
 2003dd4:	40 00 17 7f 	call  2009bd0 <_Protected_heap_Extend>         
 2003dd8:	94 10 00 1d 	mov  %i5, %o2                                  
 2003ddc:	80 8a 20 ff 	btst  0xff, %o0                                
 2003de0:	02 80 00 09 	be  2003e04 <malloc_sbrk_extend_and_allocate+0x78>
 2003de4:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 2003de8:	f0 07 22 1c 	ld  [ %i4 + 0x21c ], %i0                       
    sbrk(-the_size);                                                  
    errno = ENOMEM;                                                   
    return (void *) 0;                                                
  }                                                                   
                                                                      
  MSBUMP(space_available, the_size);                                  
 2003dec:	c4 00 62 f8 	ld  [ %g1 + 0x2f8 ], %g2                       
 2003df0:	b4 10 20 00 	clr  %i2                                       
 2003df4:	ba 07 40 02 	add  %i5, %g2, %i5                             
 2003df8:	fa 20 62 f8 	st  %i5, [ %g1 + 0x2f8 ]                       
 2003dfc:	40 00 17 67 	call  2009b98 <_Protected_heap_Allocate_aligned_with_boundary>
 2003e00:	97 e8 20 00 	restore  %g0, 0, %o3                           
  if ( starting_address == (void*) -1 )                               
    return (void *) 0;                                                
                                                                      
  if ( !_Protected_heap_Extend(                                       
          RTEMS_Malloc_Heap, starting_address, the_size) ) {          
    sbrk(-the_size);                                                  
 2003e04:	7f ff f5 b0 	call  20014c4 <sbrk>                           
 2003e08:	90 20 00 1d 	neg  %i5, %o0                                  
    errno = ENOMEM;                                                   
 2003e0c:	40 00 33 3f 	call  2010b08 <__errno>                        
 2003e10:	01 00 00 00 	nop                                            
 2003e14:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             
 2003e18:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      
  MSBUMP(space_available, the_size);                                  
                                                                      
  return_this = _Protected_heap_Allocate( RTEMS_Malloc_Heap, size );  
  return return_this;                                                 
}                                                                     
 2003e1c:	81 c7 e0 08 	ret                                            
 2003e20:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02003e24 <malloc_sbrk_initialize>: static void *malloc_sbrk_initialize( void *starting_address, size_t length ) {
 2003e24:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uintptr_t     old_address;                                          
  uintptr_t     uaddress;                                             
                                                                      
  RTEMS_Malloc_Sbrk_amount = length;                                  
 2003e28:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
   * 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) {                                            
 2003e2c:	80 a6 20 00 	cmp  %i0, 0                                    
 2003e30:	02 80 00 04 	be  2003e40 <malloc_sbrk_initialize+0x1c>      
 2003e34:	f2 20 63 28 	st  %i1, [ %g1 + 0x328 ]                       
    }                                                                 
                                                                      
    starting_address = (void *)uaddress;                              
  }                                                                   
  return starting_address;                                            
}                                                                     
 2003e38:	81 c7 e0 08 	ret                                            
 2003e3c:	81 e8 00 00 	restore                                        
   * get length worth of memory using sbrk. Make sure we              
   * align the address that we get back.                              
   */                                                                 
                                                                      
  if (!starting_address) {                                            
    uaddress = (uintptr_t)sbrk(length);                               
 2003e40:	7f ff f5 a1 	call  20014c4 <sbrk>                           
 2003e44:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
    if (uaddress == (uintptr_t) -1) {                                 
 2003e48:	80 a2 3f ff 	cmp  %o0, -1                                   
 2003e4c:	02 80 00 08 	be  2003e6c <malloc_sbrk_initialize+0x48>      <== ALWAYS TAKEN
 2003e50:	80 8a 20 07 	btst  7, %o0                                   
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
      /* DOES NOT RETURN!!! */                                        
    }                                                                 
                                                                      
    if (uaddress & (CPU_HEAP_ALIGNMENT-1)) {                          
 2003e54:	02 80 00 04 	be  2003e64 <malloc_sbrk_initialize+0x40>      <== NOT EXECUTED
 2003e58:	01 00 00 00 	nop                                            <== NOT EXECUTED
      old_address = uaddress;                                         
      uaddress = (uaddress + CPU_HEAP_ALIGNMENT) & ~(CPU_HEAP_ALIGNMENT-1);
 2003e5c:	90 02 20 08 	add  %o0, 8, %o0                               <== NOT EXECUTED
 2003e60:	90 0a 3f f8 	and  %o0, -8, %o0                              <== NOT EXECUTED
    }                                                                 
                                                                      
    starting_address = (void *)uaddress;                              
  }                                                                   
  return starting_address;                                            
}                                                                     
 2003e64:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003e68:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      
  if (!starting_address) {                                            
    uaddress = (uintptr_t)sbrk(length);                               
                                                                      
    if (uaddress == (uintptr_t) -1) {                                 
      rtems_fatal_error_occurred( RTEMS_NO_MEMORY );                  
 2003e6c:	40 00 11 b3 	call  2008538 <rtems_fatal_error_occurred>     
 2003e70:	90 10 20 1a 	mov  0x1a, %o0                                 
                                                                      

0200ea74 <memfile_alloc_block>: * Allocate a block for an in-memory file. */ int memfile_blocks_allocated = 0; void *memfile_alloc_block(void) {
 200ea74:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void *memory;                                                       
                                                                      
  memory = (void *)calloc(1, IMFS_MEMFILE_BYTES_PER_BLOCK);           
 200ea78:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 200ea7c:	d2 00 63 a0 	ld  [ %g1 + 0x3a0 ], %o1	! 201e3a0 <imfs_memfile_bytes_per_block>
 200ea80:	7f ff d2 e9 	call  2003624 <calloc>                         
 200ea84:	90 10 20 01 	mov  1, %o0                                    
  if ( memory )                                                       
 200ea88:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200ea8c:	02 80 00 05 	be  200eaa0 <memfile_alloc_block+0x2c>         <== NEVER TAKEN
 200ea90:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
    memfile_blocks_allocated++;                                       
 200ea94:	c4 00 60 b4 	ld  [ %g1 + 0xb4 ], %g2	! 201e4b4 <memfile_blocks_allocated>
 200ea98:	84 00 a0 01 	inc  %g2                                       
 200ea9c:	c4 20 60 b4 	st  %g2, [ %g1 + 0xb4 ]                        
                                                                      
  return memory;                                                      
}                                                                     
 200eaa0:	81 c7 e0 08 	ret                                            
 200eaa4:	81 e8 00 00 	restore                                        
                                                                      

0200f028 <memfile_free_blocks_in_table>: */ static void memfile_free_blocks_in_table( block_p **block_table, int entries ) {
 200f028:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
 200f02c:	80 a6 60 00 	cmp  %i1, 0                                    
 200f030:	04 80 00 0f 	ble  200f06c <memfile_free_blocks_in_table+0x44><== NEVER TAKEN
 200f034:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 200f038:	ba 10 00 08 	mov  %o0, %i5                                  
 200f03c:	b8 10 20 00 	clr  %i4                                       
    if ( b[i] ) {                                                     
 200f040:	d0 07 40 00 	ld  [ %i5 ], %o0                               
 200f044:	80 a2 20 00 	cmp  %o0, 0                                    
 200f048:	02 80 00 05 	be  200f05c <memfile_free_blocks_in_table+0x34>
 200f04c:	b8 07 20 01 	inc  %i4                                       
      memfile_free_block( b[i] );                                     
 200f050:	7f ff ff ed 	call  200f004 <memfile_free_block>             
 200f054:	01 00 00 00 	nop                                            
      b[i] = 0;                                                       
 200f058:	c0 27 40 00 	clr  [ %i5 ]                                   
  /*                                                                  
   *  Now go through all the slots in the table and free the memory.  
   */                                                                 
  b = *block_table;                                                   
                                                                      
  for ( i=0 ; i<entries ; i++ ) {                                     
 200f05c:	80 a7 00 19 	cmp  %i4, %i1                                  
 200f060:	12 bf ff f8 	bne  200f040 <memfile_free_blocks_in_table+0x18>
 200f064:	ba 07 60 04 	add  %i5, 4, %i5                               
 200f068:	d0 06 00 00 	ld  [ %i0 ], %o0                               
                                                                      
  /*                                                                  
   *  Now that all the blocks in the block table are free, we can     
   *  free the block table itself.                                    
   */                                                                 
  memfile_free_block( *block_table );                                 
 200f06c:	7f ff ff e6 	call  200f004 <memfile_free_block>             
 200f070:	01 00 00 00 	nop                                            
  *block_table = 0;                                                   
 200f074:	c0 26 00 00 	clr  [ %i0 ]                                   
 200f078:	81 c7 e0 08 	ret                                            
 200f07c:	81 e8 00 00 	restore                                        
                                                                      

0200f6c0 <memfile_ftruncate>: */ int memfile_ftruncate( rtems_libio_t *iop, off_t length ) {
 200f6c0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  IMFS_jnode_t   *the_jnode;                                          
                                                                      
  the_jnode = iop->pathinfo.node_access;                              
 200f6c4:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
   *  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 )                           
 200f6c8:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        
 200f6cc:	80 a0 40 19 	cmp  %g1, %i1                                  
 200f6d0:	06 80 00 11 	bl  200f714 <memfile_ftruncate+0x54>           <== NEVER TAKEN
 200f6d4:	90 10 00 1d 	mov  %i5, %o0                                  
 200f6d8:	22 80 00 0b 	be,a   200f704 <memfile_ftruncate+0x44>        <== ALWAYS TAKEN
 200f6dc:	c2 07 60 54 	ld  [ %i5 + 0x54 ], %g1                        
  /*                                                                  
   *  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;                                 
 200f6e0:	f2 27 60 50 	st  %i1, [ %i5 + 0x50 ]                        <== NOT EXECUTED
 200f6e4:	f4 27 60 54 	st  %i2, [ %i5 + 0x54 ]                        
                                                                      
  IMFS_update_atime( the_jnode );                                     
 200f6e8:	90 07 bf f8 	add  %fp, -8, %o0                              
 200f6ec:	7f ff d0 a8 	call  200398c <gettimeofday>                   
 200f6f0:	92 10 20 00 	clr  %o1                                       
 200f6f4:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 200f6f8:	c2 27 60 40 	st  %g1, [ %i5 + 0x40 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 200f6fc:	81 c7 e0 08 	ret                                            
 200f700:	91 e8 20 00 	restore  %g0, 0, %o0                           
   *  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 )                           
 200f704:	80 a0 40 1a 	cmp  %g1, %i2                                  
 200f708:	3a bf ff f7 	bcc,a   200f6e4 <memfile_ftruncate+0x24>       
 200f70c:	f2 27 60 50 	st  %i1, [ %i5 + 0x50 ]                        
    return IMFS_memfile_extend( the_jnode, true, length );            
 200f710:	90 10 00 1d 	mov  %i5, %o0                                  
 200f714:	92 10 20 01 	mov  1, %o1                                    
 200f718:	94 10 00 19 	mov  %i1, %o2                                  
 200f71c:	7f ff fe c3 	call  200f228 <IMFS_memfile_extend>            
 200f720:	96 10 00 1a 	mov  %i2, %o3                                  
 200f724:	81 c7 e0 08 	ret                                            
 200f728:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200f644 <memfile_open>: rtems_libio_t *iop, const char *pathname, int oflag, mode_t mode ) {
 200f644:	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)                                
 200f648:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 200f64c:	80 88 60 04 	btst  4, %g1                                   
 200f650:	02 80 00 07 	be  200f66c <memfile_open+0x28>                
 200f654:	d0 06 20 1c 	ld  [ %i0 + 0x1c ], %o0                        
 200f658:	c2 02 20 4c 	ld  [ %o0 + 0x4c ], %g1                        
   && (IMFS_type( the_jnode ) == IMFS_LINEAR_FILE)) {                 
 200f65c:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 200f660:	80 a0 60 05 	cmp  %g1, 5                                    
 200f664:	22 80 00 04 	be,a   200f674 <memfile_open+0x30>             <== NEVER TAKEN
 200f668:	d8 02 20 54 	ld  [ %o0 + 0x54 ], %o4                        <== NOT EXECUTED
    if ((count != 0)                                                  
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
        return -1;                                                    
  }                                                                   
                                                                      
  return 0;                                                           
 200f66c:	81 c7 e0 08 	ret                                            
 200f670:	91 e8 20 00 	restore  %g0, 0, %o0                           
   * Perform 'copy on write' for linear files                         
   */                                                                 
  if ((iop->flags & LIBIO_FLAGS_WRITE)                                
   && (IMFS_type( the_jnode ) == IMFS_LINEAR_FILE)) {                 
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
 200f674:	d6 02 20 58 	ld  [ %o0 + 0x58 ], %o3                        <== NOT EXECUTED
                                                                      
    the_jnode->control = &IMFS_node_control_memfile;                  
 200f678:	03 00 80 72 	sethi  %hi(0x201c800), %g1                     <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
 200f67c:	c0 22 20 50 	clr  [ %o0 + 0x50 ]                            <== NOT EXECUTED
  if ((iop->flags & LIBIO_FLAGS_WRITE)                                
   && (IMFS_type( the_jnode ) == IMFS_LINEAR_FILE)) {                 
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->control = &IMFS_node_control_memfile;                  
 200f680:	82 10 60 cc 	or  %g1, 0xcc, %g1                             <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
 200f684:	c0 22 20 54 	clr  [ %o0 + 0x54 ]                            <== NOT EXECUTED
    the_jnode->info.file.indirect        = 0;                         
 200f688:	c0 22 20 58 	clr  [ %o0 + 0x58 ]                            <== NOT EXECUTED
  if ((iop->flags & LIBIO_FLAGS_WRITE)                                
   && (IMFS_type( the_jnode ) == IMFS_LINEAR_FILE)) {                 
    uint32_t   count = the_jnode->info.linearfile.size;               
    const unsigned char *buffer = the_jnode->info.linearfile.direct;  
                                                                      
    the_jnode->control = &IMFS_node_control_memfile;                  
 200f68c:	c2 22 20 4c 	st  %g1, [ %o0 + 0x4c ]                        <== NOT EXECUTED
    the_jnode->info.file.size            = 0;                         
    the_jnode->info.file.indirect        = 0;                         
    the_jnode->info.file.doubly_indirect = 0;                         
 200f690:	c0 22 20 5c 	clr  [ %o0 + 0x5c ]                            <== NOT EXECUTED
    the_jnode->info.file.triply_indirect = 0;                         
    if ((count != 0)                                                  
 200f694:	80 a3 20 00 	cmp  %o4, 0                                    <== NOT EXECUTED
 200f698:	02 bf ff f5 	be  200f66c <memfile_open+0x28>                <== NOT EXECUTED
 200f69c:	c0 22 20 60 	clr  [ %o0 + 0x60 ]                            <== NOT EXECUTED
     && (IMFS_memfile_write(the_jnode, 0, buffer, count) == -1))      
 200f6a0:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 200f6a4:	7f ff ff 52 	call  200f3ec <IMFS_memfile_write>             <== NOT EXECUTED
 200f6a8:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
        return -1;                                                    
 200f6ac:	90 38 00 08 	xnor  %g0, %o0, %o0                            <== NOT EXECUTED
 200f6b0:	80 a0 00 08 	cmp  %g0, %o0                                  <== NOT EXECUTED
 200f6b4:	b0 40 3f ff 	addx  %g0, -1, %i0                             <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 200f6b8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f6bc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02003ee0 <mount>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
 2003ee0:	9d e3 bf 50 	save  %sp, -176, %sp                           
  int rv = 0;                                                         
                                                                      
  if (                                                                
 2003ee4:	80 a6 e0 01 	cmp  %i3, 1                                    
 2003ee8:	18 80 00 8b 	bgu  2004114 <mount+0x234>                     
 2003eec:	01 00 00 00 	nop                                            
    options == RTEMS_FILESYSTEM_READ_ONLY                             
      || options == RTEMS_FILESYSTEM_READ_WRITE                       
  ) {                                                                 
    rtems_filesystem_fsmount_me_t fsmount_me_h =                      
 2003ef0:	40 00 23 3d 	call  200cbe4 <rtems_filesystem_get_mount_handler>
 2003ef4:	90 10 00 1a 	mov  %i2, %o0                                  
      rtems_filesystem_get_mount_handler( filesystemtype );           
                                                                      
    if ( fsmount_me_h != NULL ) {                                     
 2003ef8:	a4 92 20 00 	orcc  %o0, 0, %l2                              
 2003efc:	02 80 00 86 	be  2004114 <mount+0x234>                      
 2003f00:	80 a6 60 00 	cmp  %i1, 0                                    
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
 2003f04:	02 80 00 80 	be  2004104 <mount+0x224>                      
 2003f08:	90 10 00 19 	mov  %i1, %o0                                  
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
                                                                      
int mount(                                                            
 2003f0c:	40 00 37 95 	call  2011d60 <strlen>                         
 2003f10:	aa 10 00 19 	mov  %i1, %l5                                  
 2003f14:	a6 02 20 01 	add  %o0, 1, %l3                               
  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;          
 2003f18:	40 00 37 92 	call  2011d60 <strlen>                         
 2003f1c:	90 10 00 1a 	mov  %i2, %o0                                  
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
 2003f20:	80 a6 20 00 	cmp  %i0, 0                                    
  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;          
 2003f24:	ba 10 00 08 	mov  %o0, %i5                                  
  size_t source_size = source_or_null != NULL ?                       
    strlen( source_or_null ) + 1 : 0;                                 
 2003f28:	02 80 00 75 	be  20040fc <mount+0x21c>                      
 2003f2c:	a8 02 20 01 	add  %o0, 1, %l4                               
 2003f30:	40 00 37 8c 	call  2011d60 <strlen>                         
 2003f34:	90 10 00 18 	mov  %i0, %o0                                  
 2003f38:	a0 02 20 01 	add  %o0, 1, %l0                               
  size_t target_size = strlen( target ) + 1;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size                 
 2003f3c:	ba 07 40 13 	add  %i5, %l3, %i5                             
    + sizeof( rtems_filesystem_global_location_t );                   
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
 2003f40:	90 10 20 01 	mov  1, %o0                                    
  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;                          
  size_t size = sizeof( rtems_filesystem_mount_table_entry_t )        
    + filesystemtype_size + source_size + target_size                 
 2003f44:	92 07 60 65 	add  %i5, 0x65, %o1                            
    + sizeof( rtems_filesystem_global_location_t );                   
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
 2003f48:	7f ff fd b7 	call  2003624 <calloc>                         
 2003f4c:	92 02 40 10 	add  %o1, %l0, %o1                             
                                                                      
  if ( mt_entry != NULL ) {                                           
 2003f50:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2003f54:	02 80 00 64 	be  20040e4 <mount+0x204>                      <== NEVER TAKEN
 2003f58:	a2 07 60 64 	add  %i5, 0x64, %l1                            
    rtems_filesystem_global_location_t *mt_fs_root =                  
      (rtems_filesystem_global_location_t *)                          
        ((char *) mt_entry + sizeof( *mt_entry ));                    
    char *str = (char *) mt_fs_root + sizeof( *mt_fs_root );          
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
 2003f5c:	92 10 00 1a 	mov  %i2, %o1                                  
 2003f60:	94 10 00 14 	mov  %l4, %o2                                  
 2003f64:	40 00 34 6b 	call  2011110 <memcpy>                         
 2003f68:	90 10 00 11 	mov  %l1, %o0                                  
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
 2003f6c:	b4 04 40 14 	add  %l1, %l4, %i2                             
                                                                      
    memcpy( str, source_or_null, source_size );                       
 2003f70:	92 10 00 18 	mov  %i0, %o1                                  
 2003f74:	94 10 00 10 	mov  %l0, %o2                                  
      (rtems_filesystem_global_location_t *)                          
        ((char *) mt_entry + sizeof( *mt_entry ));                    
    char *str = (char *) mt_fs_root + sizeof( *mt_fs_root );          
                                                                      
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
 2003f78:	e2 27 60 34 	st  %l1, [ %i5 + 0x34 ]                        
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
 2003f7c:	40 00 34 65 	call  2011110 <memcpy>                         
 2003f80:	90 10 00 1a 	mov  %i2, %o0                                  
    mt_entry->dev = str;                                              
    str += source_size;                                               
 2003f84:	a0 06 80 10 	add  %i2, %l0, %l0                             
                                                                      
    memcpy( str, target, target_size );                               
 2003f88:	92 10 00 15 	mov  %l5, %o1                                  
 2003f8c:	94 10 00 13 	mov  %l3, %o2                                  
    memcpy( str, filesystemtype, filesystemtype_size );               
    mt_entry->type = str;                                             
    str += filesystemtype_size;                                       
                                                                      
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
 2003f90:	f4 27 60 38 	st  %i2, [ %i5 + 0x38 ]                        
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
 2003f94:	40 00 34 5f 	call  2011110 <memcpy>                         
 2003f98:	90 10 00 10 	mov  %l0, %o0                                  
    + filesystemtype_size + source_size + target_size                 
    + sizeof( rtems_filesystem_global_location_t );                   
  rtems_filesystem_mount_table_entry_t *mt_entry = calloc( 1, size ); 
                                                                      
  if ( mt_entry != NULL ) {                                           
    rtems_filesystem_global_location_t *mt_fs_root =                  
 2003f9c:	82 07 60 40 	add  %i5, 0x40, %g1                            
  void                *starting_address,                              
  size_t               number_nodes,                                  
  size_t               node_size                                      
)                                                                     
{                                                                     
  _Chain_Initialize( the_chain, starting_address, number_nodes, node_size );
 2003fa0:	92 10 00 01 	mov  %g1, %o1                                  
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
    str += target_size;                                               
                                                                      
    mt_entry->mounted = true;                                         
    mt_entry->mt_fs_root = mt_fs_root;                                
 2003fa4:	c2 27 60 24 	st  %g1, [ %i5 + 0x24 ]                        
                                                                      
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
    str += target_size;                                               
                                                                      
    mt_entry->mounted = true;                                         
 2003fa8:	82 10 20 01 	mov  1, %g1                                    
 2003fac:	c2 2f 60 28 	stb  %g1, [ %i5 + 0x28 ]                       
    mt_entry->mt_fs_root = mt_fs_root;                                
    mt_entry->pathconf_limits_and_options = &rtems_filesystem_default_pathconf;
 2003fb0:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 2003fb4:	82 10 60 dc 	or  %g1, 0xdc, %g1	! 201c4dc <rtems_filesystem_default_pathconf>
 2003fb8:	c2 27 60 2c 	st  %g1, [ %i5 + 0x2c ]                        
                                                                      
    mt_fs_root->location.mt_entry = mt_entry;                         
    mt_fs_root->reference_count = 1;                                  
 2003fbc:	82 10 20 01 	mov  1, %g1                                    
 2003fc0:	90 07 60 14 	add  %i5, 0x14, %o0                            
 2003fc4:	94 10 20 01 	mov  1, %o2                                    
 2003fc8:	96 10 20 24 	mov  0x24, %o3                                 
 2003fcc:	c2 27 60 58 	st  %g1, [ %i5 + 0x58 ]                        
    memcpy( str, source_or_null, source_size );                       
    mt_entry->dev = str;                                              
    str += source_size;                                               
                                                                      
    memcpy( str, target, target_size );                               
    mt_entry->target = str;                                           
 2003fd0:	e0 27 60 30 	st  %l0, [ %i5 + 0x30 ]                        
 2003fd4:	40 00 12 47 	call  20088f0 <_Chain_Initialize>              
 2003fd8:	fa 27 60 54 	st  %i5, [ %i5 + 0x54 ]                        
      );                                                              
                                                                      
      if ( mt_entry != NULL ) {                                       
        mt_entry->writeable = options == RTEMS_FILESYSTEM_READ_WRITE; 
                                                                      
        rv = (*fsmount_me_h)( mt_entry, data );                       
 2003fdc:	90 10 00 1d 	mov  %i5, %o0                                  
        filesystemtype,                                               
        &target_length                                                
      );                                                              
                                                                      
      if ( mt_entry != NULL ) {                                       
        mt_entry->writeable = options == RTEMS_FILESYSTEM_READ_WRITE; 
 2003fe0:	b6 0e e0 01 	and  %i3, 1, %i3                               
                                                                      
        rv = (*fsmount_me_h)( mt_entry, data );                       
 2003fe4:	92 10 00 1c 	mov  %i4, %o1                                  
 2003fe8:	9f c4 80 00 	call  %l2                                      
 2003fec:	f6 2f 60 29 	stb  %i3, [ %i5 + 0x29 ]                       
        if ( rv == 0 ) {                                              
 2003ff0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2003ff4:	12 80 00 29 	bne  2004098 <mount+0x1b8>                     
 2003ff8:	80 a6 60 00 	cmp  %i1, 0                                    
          if ( target != NULL ) {                                     
 2003ffc:	02 80 00 4c 	be  200412c <mount+0x24c>                      
 2004000:	92 10 00 19 	mov  %i1, %o1                                  
{                                                                     
  int rv = 0;                                                         
  rtems_filesystem_eval_path_context_t ctx;                           
  int eval_flags = RTEMS_FS_PERMS_RWX                                 
    | RTEMS_FS_FOLLOW_LINK;                                           
  rtems_filesystem_location_info_t *currentloc =                      
 2004004:	94 10 20 1f 	mov  0x1f, %o2                                 
 2004008:	40 00 03 2d 	call  2004cbc <rtems_filesystem_eval_path_start>
 200400c:	90 07 bf c8 	add  %fp, -56, %o0                             
                                                                      
static inline bool rtems_filesystem_location_is_root(                 
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 2004010:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
                                                                      
  return (*mt_entry->ops->are_nodes_equal_h)(                         
 2004014:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 2004018:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        
 200401c:	c2 00 a0 10 	ld  [ %g2 + 0x10 ], %g1                        
 2004020:	9f c0 40 00 	call  %g1                                      
 2004024:	01 00 00 00 	nop                                            
    rtems_filesystem_eval_path_start( &ctx, target, eval_flags );     
                                                                      
  if ( !rtems_filesystem_location_is_root( currentloc ) ) {           
 2004028:	80 8a 20 ff 	btst  0xff, %o0                                
 200402c:	12 80 00 64 	bne  20041bc <mount+0x2dc>                     
 2004030:	92 07 bf e0 	add  %fp, -32, %o1                             
static inline void rtems_filesystem_eval_path_extract_currentloc(     
  rtems_filesystem_eval_path_context_t *ctx,                          
  rtems_filesystem_location_info_t *get                               
)                                                                     
{                                                                     
  rtems_filesystem_location_copy_and_detach(                          
 2004034:	40 00 04 1b 	call  20050a0 <rtems_filesystem_location_copy_and_detach>
 2004038:	90 07 bf b0 	add  %fp, -80, %o0                             
    rtems_filesystem_location_info_t targetloc;                       
    rtems_filesystem_global_location_t *mt_point_node;                
                                                                      
    rtems_filesystem_eval_path_extract_currentloc( &ctx, &targetloc );
    mt_point_node = rtems_filesystem_location_transform_to_global( &targetloc );
 200403c:	40 00 04 aa 	call  20052e4 <rtems_filesystem_location_transform_to_global>
 2004040:	90 07 bf b0 	add  %fp, -80, %o0                             
    mt_entry->mt_point_node = mt_point_node;                          
    rv = (*mt_point_node->location.mt_entry->ops->mount_h)( mt_entry );
 2004044:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
  if ( !rtems_filesystem_location_is_root( currentloc ) ) {           
    rtems_filesystem_location_info_t targetloc;                       
    rtems_filesystem_global_location_t *mt_point_node;                
                                                                      
    rtems_filesystem_eval_path_extract_currentloc( &ctx, &targetloc );
    mt_point_node = rtems_filesystem_location_transform_to_global( &targetloc );
 2004048:	b8 10 00 08 	mov  %o0, %i4                                  
    mt_entry->mt_point_node = mt_point_node;                          
    rv = (*mt_point_node->location.mt_entry->ops->mount_h)( mt_entry );
 200404c:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
    rtems_filesystem_location_info_t targetloc;                       
    rtems_filesystem_global_location_t *mt_point_node;                
                                                                      
    rtems_filesystem_eval_path_extract_currentloc( &ctx, &targetloc );
    mt_point_node = rtems_filesystem_location_transform_to_global( &targetloc );
    mt_entry->mt_point_node = mt_point_node;                          
 2004050:	d0 27 60 20 	st  %o0, [ %i5 + 0x20 ]                        
    rv = (*mt_point_node->location.mt_entry->ops->mount_h)( mt_entry );
 2004054:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1                        
 2004058:	9f c0 40 00 	call  %g1                                      
 200405c:	90 10 00 1d 	mov  %i5, %o0                                  
    if ( rv == 0 ) {                                                  
 2004060:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2004064:	22 80 00 11 	be,a   20040a8 <mount+0x1c8>                   
 2004068:	39 00 80 79 	sethi  %hi(0x201e400), %i4                     
        &rtems_filesystem_mount_table,                                
        &mt_entry->mt_node                                            
      );                                                              
      rtems_filesystem_mt_unlock();                                   
    } else {                                                          
      rtems_filesystem_global_location_release( mt_point_node );      
 200406c:	40 00 04 42 	call  2005174 <rtems_filesystem_global_location_release>
 2004070:	90 10 00 1c 	mov  %i4, %o0                                  
  } else {                                                            
    rtems_filesystem_eval_path_error( &ctx, EBUSY );                  
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
 2004074:	40 00 03 52 	call  2004dbc <rtems_filesystem_eval_path_cleanup>
 2004078:	90 07 bf c8 	add  %fp, -56, %o0                             
            rv = register_subordinate_file_system( mt_entry, target );
          } else {                                                    
            rv = register_root_file_system( mt_entry );               
          }                                                           
                                                                      
          if ( rv != 0 ) {                                            
 200407c:	80 a6 20 00 	cmp  %i0, 0                                    
 2004080:	02 80 00 4d 	be  20041b4 <mount+0x2d4>                      
 2004084:	01 00 00 00 	nop                                            
            (*mt_entry->ops->fsunmount_me_h)( mt_entry );             
 2004088:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200408c:	c2 00 60 3c 	ld  [ %g1 + 0x3c ], %g1                        
 2004090:	9f c0 40 00 	call  %g1                                      
 2004094:	90 10 00 1d 	mov  %i5, %o0                                  
          }                                                           
        }                                                             
                                                                      
        if ( rv != 0 ) {                                              
          free( mt_entry );                                           
 2004098:	7f ff fe 13 	call  20038e4 <free>                           
 200409c:	90 10 00 1d 	mov  %i5, %o0                                  
    errno = EINVAL;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20040a0:	81 c7 e0 08 	ret                                            
 20040a4:	81 e8 00 00 	restore                                        
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
 20040a8:	d0 07 23 20 	ld  [ %i4 + 0x320 ], %o0                       
 20040ac:	92 10 20 00 	clr  %o1                                       
 20040b0:	40 00 0f 3c 	call  2007da0 <rtems_semaphore_obtain>         
 20040b4:	94 10 20 00 	clr  %o2                                       
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 20040b8:	d0 07 23 20 	ld  [ %i4 + 0x320 ], %o0                       
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 20040bc:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 20040c0:	82 10 60 c8 	or  %g1, 0xc8, %g1	! 201dcc8 <rtems_filesystem_mount_table>
 20040c4:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
                                                                      
  the_node->next = tail;                                              
 20040c8:	86 00 60 04 	add  %g1, 4, %g3                               
 20040cc:	c6 27 40 00 	st  %g3, [ %i5 ]                               
  tail->previous = the_node;                                          
 20040d0:	fa 20 60 08 	st  %i5, [ %g1 + 8 ]                           
  old_last->next = the_node;                                          
 20040d4:	fa 20 80 00 	st  %i5, [ %g2 ]                               
 20040d8:	40 00 0f 82 	call  2007ee0 <rtems_semaphore_release>        
 20040dc:	c4 27 60 04 	st  %g2, [ %i5 + 4 ]                           
 20040e0:	30 bf ff e5 	b,a   2004074 <mount+0x194>                    
                                                                      
        if ( rv != 0 ) {                                              
          free( mt_entry );                                           
        }                                                             
      } else {                                                        
        errno = ENOMEM;                                               
 20040e4:	40 00 31 c4 	call  20107f4 <__errno>                        <== NOT EXECUTED
 20040e8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20040ec:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 20040f0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20040f4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20040f8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  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;                                 
 20040fc:	10 bf ff 90 	b  2003f3c <mount+0x5c>                        
 2004100:	a0 10 20 00 	clr  %l0                                       
  const char *target_or_null,                                         
  const char *filesystemtype,                                         
  size_t *target_length_ptr                                           
)                                                                     
{                                                                     
  const char *target = target_or_null != NULL ? target_or_null : "/"; 
 2004104:	2b 00 80 71 	sethi  %hi(0x201c400), %l5                     
 2004108:	a6 10 20 02 	mov  2, %l3                                    
 200410c:	10 bf ff 83 	b  2003f18 <mount+0x38>                        
 2004110:	aa 15 60 d8 	or  %l5, 0xd8, %l5                             
    } else {                                                          
      errno = EINVAL;                                                 
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
 2004114:	40 00 31 b8 	call  20107f4 <__errno>                        
 2004118:	b0 10 3f ff 	mov  -1, %i0                                   
 200411c:	82 10 20 16 	mov  0x16, %g1                                 
 2004120:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2004124:	81 c7 e0 08 	ret                                            
 2004128:	81 e8 00 00 	restore                                        
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
 200412c:	39 00 80 79 	sethi  %hi(0x201e400), %i4                     
 2004130:	d0 07 23 20 	ld  [ %i4 + 0x320 ], %o0	! 201e720 <rtems_libio_semaphore>
 2004134:	92 10 20 00 	clr  %o1                                       
 2004138:	40 00 0f 1a 	call  2007da0 <rtems_semaphore_obtain>         
 200413c:	94 10 20 00 	clr  %o2                                       
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2004140:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
)                                                                     
{                                                                     
  int rv = 0;                                                         
                                                                      
  rtems_filesystem_mt_lock();                                         
  if ( rtems_chain_is_empty( &rtems_filesystem_mount_table ) ) {      
 2004144:	c4 00 60 c8 	ld  [ %g1 + 0xc8 ], %g2	! 201dcc8 <rtems_filesystem_mount_table>
 2004148:	82 10 60 c8 	or  %g1, 0xc8, %g1                             
 200414c:	86 00 60 04 	add  %g1, 4, %g3                               
 2004150:	80 a0 80 03 	cmp  %g2, %g3                                  
 2004154:	12 80 00 1f 	bne  20041d0 <mount+0x2f0>                     <== NEVER TAKEN
 2004158:	01 00 00 00 	nop                                            
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200415c:	c6 00 60 08 	ld  [ %g1 + 8 ], %g3                           
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 2004160:	d0 07 23 20 	ld  [ %i4 + 0x320 ], %o0                       
                                                                      
  the_node->next = tail;                                              
 2004164:	c4 27 40 00 	st  %g2, [ %i5 ]                               
  tail->previous = the_node;                                          
 2004168:	fa 20 60 08 	st  %i5, [ %g1 + 8 ]                           
  old_last->next = the_node;                                          
 200416c:	fa 20 c0 00 	st  %i5, [ %g3 ]                               
 2004170:	40 00 0f 5c 	call  2007ee0 <rtems_semaphore_release>        
 2004174:	c6 27 60 04 	st  %g3, [ %i5 + 4 ]                           
  }                                                                   
  rtems_filesystem_mt_unlock();                                       
                                                                      
  if ( rv == 0 ) {                                                    
    rtems_filesystem_global_location_t *new_fs_root =                 
      rtems_filesystem_global_location_obtain( &mt_entry->mt_fs_root );
 2004178:	ba 07 60 24 	add  %i5, 0x24, %i5                            
    rv = -1;                                                          
  }                                                                   
  rtems_filesystem_mt_unlock();                                       
                                                                      
  if ( rv == 0 ) {                                                    
    rtems_filesystem_global_location_t *new_fs_root =                 
 200417c:	40 00 04 1e 	call  20051f4 <rtems_filesystem_global_location_obtain>
 2004180:	90 10 00 1d 	mov  %i5, %o0                                  
 2004184:	b6 10 00 08 	mov  %o0, %i3                                  
      rtems_filesystem_global_location_obtain( &mt_entry->mt_fs_root );
    rtems_filesystem_global_location_t *new_fs_current =              
 2004188:	40 00 04 1b 	call  20051f4 <rtems_filesystem_global_location_obtain>
 200418c:	90 10 00 1d 	mov  %i5, %o0                                  
      rtems_filesystem_global_location_obtain( &mt_entry->mt_fs_root );
                                                                      
    rtems_filesystem_global_location_assign(                          
 2004190:	39 00 80 77 	sethi  %hi(0x201dc00), %i4                     
  rtems_filesystem_mt_unlock();                                       
                                                                      
  if ( rv == 0 ) {                                                    
    rtems_filesystem_global_location_t *new_fs_root =                 
      rtems_filesystem_global_location_obtain( &mt_entry->mt_fs_root );
    rtems_filesystem_global_location_t *new_fs_current =              
 2004194:	ba 10 00 08 	mov  %o0, %i5                                  
      rtems_filesystem_global_location_obtain( &mt_entry->mt_fs_root );
                                                                      
    rtems_filesystem_global_location_assign(                          
 2004198:	d0 07 20 e8 	ld  [ %i4 + 0xe8 ], %o0                        
 200419c:	92 10 00 1b 	mov  %i3, %o1                                  
 20041a0:	40 00 04 0b 	call  20051cc <rtems_filesystem_global_location_assign>
 20041a4:	90 02 20 04 	add  %o0, 4, %o0                               
      &rtems_filesystem_root,                                         
      new_fs_root                                                     
    );                                                                
    rtems_filesystem_global_location_assign(                          
 20041a8:	d0 07 20 e8 	ld  [ %i4 + 0xe8 ], %o0                        
 20041ac:	40 00 04 08 	call  20051cc <rtems_filesystem_global_location_assign>
 20041b0:	92 10 00 1d 	mov  %i5, %o1                                  
 20041b4:	81 c7 e0 08 	ret                                            
 20041b8:	81 e8 00 00 	restore                                        
      rtems_filesystem_mt_unlock();                                   
    } else {                                                          
      rtems_filesystem_global_location_release( mt_point_node );      
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error( &ctx, EBUSY );                  
 20041bc:	90 07 bf c8 	add  %fp, -56, %o0                             
 20041c0:	92 10 20 10 	mov  0x10, %o1                                 
 20041c4:	40 00 02 02 	call  20049cc <rtems_filesystem_eval_path_error>
 20041c8:	b0 10 3f ff 	mov  -1, %i0                                   
 20041cc:	30 bf ff aa 	b,a   2004074 <mount+0x194>                    
    rtems_chain_append_unprotected(                                   
      &rtems_filesystem_mount_table,                                  
      &mt_entry->mt_node                                              
    );                                                                
  } else {                                                            
    errno = EINVAL;                                                   
 20041d0:	40 00 31 89 	call  20107f4 <__errno>                        <== NOT EXECUTED
 20041d4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20041d8:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 20041dc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20041e0:	40 00 0f 40 	call  2007ee0 <rtems_semaphore_release>        <== NOT EXECUTED
 20041e4:	d0 07 23 20 	ld  [ %i4 + 0x320 ], %o0                       <== NOT EXECUTED
          } else {                                                    
            rv = register_root_file_system( mt_entry );               
          }                                                           
                                                                      
          if ( rv != 0 ) {                                            
            (*mt_entry->ops->fsunmount_me_h)( mt_entry );             
 20041e8:	10 bf ff a9 	b  200408c <mount+0x1ac>                       <== NOT EXECUTED
 20041ec:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         <== NOT EXECUTED
                                                                      

02009384 <mount_and_make_target_path>: const char *target, const char *filesystemtype, rtems_filesystem_options_t options, const void *data ) {
 2009384:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
 2009388:	90 96 60 00 	orcc  %i1, 0, %o0                              
 200938c:	02 80 00 0b 	be  20093b8 <mount_and_make_target_path+0x34>  
 2009390:	01 00 00 00 	nop                                            
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
 2009394:	40 00 02 ed 	call  2009f48 <rtems_mkdir>                    
 2009398:	92 10 21 ff 	mov  0x1ff, %o1	! 1ff <PROM_START+0x1ff>       
    if (rv == 0) {                                                    
 200939c:	82 92 20 00 	orcc  %o0, 0, %g1                              
 20093a0:	02 80 00 04 	be  20093b0 <mount_and_make_target_path+0x2c>  <== ALWAYS TAKEN
 20093a4:	01 00 00 00 	nop                                            
  } else {                                                            
    errno = EINVAL;                                                   
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20093a8:	81 c7 e0 08 	ret                                            
 20093ac:	91 e8 00 01 	restore  %g0, %g1, %o0                         
  int rv = -1;                                                        
                                                                      
  if (target != NULL) {                                               
    rv = rtems_mkdir(target, S_IRWXU | S_IRWXG | S_IRWXO);            
    if (rv == 0) {                                                    
      rv = mount(                                                     
 20093b0:	40 00 00 08 	call  20093d0 <mount>                          
 20093b4:	81 e8 00 00 	restore                                        
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
 20093b8:	40 00 68 36 	call  2023490 <__errno>                        
 20093bc:	01 00 00 00 	nop                                            
 20093c0:	84 10 20 16 	mov  0x16, %g2	! 16 <PROM_START+0x16>          
  const char *filesystemtype,                                         
  rtems_filesystem_options_t options,                                 
  const void *data                                                    
)                                                                     
{                                                                     
  int rv = -1;                                                        
 20093c4:	82 10 3f ff 	mov  -1, %g1                                   
        options,                                                      
        data                                                          
      );                                                              
    }                                                                 
  } else {                                                            
    errno = EINVAL;                                                   
 20093c8:	10 bf ff f8 	b  20093a8 <mount_and_make_target_path+0x24>   
 20093cc:	c4 22 00 00 	st  %g2, [ %o0 ]                               
                                                                      

02007f70 <mq_open>: int oflag, ... /* mode_t mode, */ /* struct mq_attr attr */ ) {
 2007f70:	9d e3 bf 88 	save  %sp, -120, %sp                           
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2007f74:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
 2007f78:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 20233a0 <_Thread_Dispatch_disable_level>
  size_t                          name_len;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 2007f7c:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 2007f80:	84 00 a0 01 	inc  %g2                                       
 2007f84:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
    return _Thread_Dispatch_disable_level;                            
 2007f88:	c2 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g1                       
 2007f8c:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 2007f90:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 2007f94:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
  Objects_Locations               location;                           
  size_t                          name_len;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
 2007f98:	a2 8e 62 00 	andcc  %i1, 0x200, %l1                         
 2007f9c:	12 80 00 36 	bne  2008074 <mq_open+0x104>                   
 2007fa0:	a0 10 20 00 	clr  %l0                                       
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *                 
  _POSIX_Message_queue_Allocate_fd( void )                            
{                                                                     
  return (POSIX_Message_queue_Control_fd *)                           
 2007fa4:	39 00 80 8e 	sethi  %hi(0x2023800), %i4                     
 2007fa8:	40 00 0c 19 	call  200b00c <_Objects_Allocate>              
 2007fac:	90 17 20 9c 	or  %i4, 0x9c, %o0	! 202389c <_POSIX_Message_queue_Information_fds>
    attr = va_arg( arg, struct mq_attr * );                           
    va_end(arg);                                                      
  }                                                                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Allocate_fd();                     
  if ( !the_mq_fd ) {                                                 
 2007fb0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2007fb4:	02 80 00 39 	be  2008098 <mq_open+0x128>                    <== NEVER TAKEN
 2007fb8:	01 00 00 00 	nop                                            
    _Thread_Enable_dispatch();                                        
    rtems_set_errno_and_return_minus_one( ENFILE );                   
  }                                                                   
  the_mq_fd->oflag = oflag;                                           
 2007fbc:	f2 27 60 14 	st  %i1, [ %i5 + 0x14 ]                        
  const char          *name,                                          
  Objects_Id          *id,                                            
  size_t              *len                                            
)                                                                     
{                                                                     
  return _POSIX_Name_to_id( &_POSIX_Message_queue_Information, name, id, len );
 2007fc0:	35 00 80 8d 	sethi  %hi(0x2023400), %i2                     
 2007fc4:	92 10 00 18 	mov  %i0, %o1                                  
 2007fc8:	90 16 a3 10 	or  %i2, 0x310, %o0                            
 2007fcc:	94 07 bf f0 	add  %fp, -16, %o2                             
 2007fd0:	40 00 01 46 	call  20084e8 <_POSIX_Name_to_id>              
 2007fd4:	96 07 bf fc 	add  %fp, -4, %o3                              
   *  If the name to id translation worked, then the message queue exists
   *  and we can just return a pointer to the id.  Otherwise we may   
   *  need to check to see if this is a "message queue does not exist"
   *  or some other miscellaneous error on the name.                  
   */                                                                 
  if ( status ) {                                                     
 2007fd8:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2007fdc:	22 80 00 0f 	be,a   2008018 <mq_open+0xa8>                  
 2007fe0:	b2 0e 6a 00 	and  %i1, 0xa00, %i1                           
    /*                                                                
     * Unless provided a valid name that did not already exist        
     * and we are willing to create then it is an error.              
     */                                                               
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
 2007fe4:	80 a6 e0 02 	cmp  %i3, 2                                    
 2007fe8:	02 80 00 3f 	be  20080e4 <mq_open+0x174>                    
 2007fec:	80 a4 60 00 	cmp  %l1, 0                                    
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free_fd (              
  POSIX_Message_queue_Control_fd *the_mq_fd                           
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Message_queue_Information_fds, &the_mq_fd->Object );
 2007ff0:	90 17 20 9c 	or  %i4, 0x9c, %o0                             
 2007ff4:	40 00 0c f3 	call  200b3c0 <_Objects_Free>                  
 2007ff8:	92 10 00 1d 	mov  %i5, %o1                                  
      _POSIX_Message_queue_Free_fd( the_mq_fd );                      
      _Thread_Enable_dispatch();                                      
 2007ffc:	40 00 11 6c 	call  200c5ac <_Thread_Enable_dispatch>        
 2008000:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( status, mqd_t );     
 2008004:	40 00 29 d2 	call  201274c <__errno>                        
 2008008:	01 00 00 00 	nop                                            
 200800c:	f6 22 00 00 	st  %i3, [ %o0 ]                               
 2008010:	81 c7 e0 08 	ret                                            
 2008014:	81 e8 00 00 	restore                                        
                                                                      
  } else {                /* name -> ID translation succeeded */      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
 2008018:	80 a6 6a 00 	cmp  %i1, 0xa00                                
 200801c:	02 80 00 27 	be  20080b8 <mq_open+0x148>                    
 2008020:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Message_queue_Control *)                              
 2008024:	94 07 bf f8 	add  %fp, -8, %o2                              
 2008028:	40 00 0d 4c 	call  200b558 <_Objects_Get>                   
 200802c:	90 16 a3 10 	or  %i2, 0x310, %o0                            
    /*                                                                
     * In this case we need to do an ID->pointer conversion to        
     * check the mode.                                                
     */                                                               
    the_mq = _POSIX_Message_queue_Get( the_mq_id, &location );        
    the_mq->open_count += 1;                                          
 2008030:	c4 02 20 18 	ld  [ %o0 + 0x18 ], %g2                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008034:	c2 17 60 0a 	lduh  [ %i5 + 0xa ], %g1                       
 2008038:	84 00 a0 01 	inc  %g2                                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200803c:	b8 17 20 9c 	or  %i4, 0x9c, %i4                             
 2008040:	c4 22 20 18 	st  %g2, [ %o0 + 0x18 ]                        
 2008044:	c4 07 20 1c 	ld  [ %i4 + 0x1c ], %g2                        
                                                                      
    /*                                                                
     * In this case we need to do an ID->pointer conversion to        
     * check the mode.                                                
     */                                                               
    the_mq = _POSIX_Message_queue_Get( the_mq_id, &location );        
 2008048:	d0 27 bf f4 	st  %o0, [ %fp + -12 ]                         
    the_mq->open_count += 1;                                          
    the_mq_fd->Queue = the_mq;                                        
 200804c:	d0 27 60 10 	st  %o0, [ %i5 + 0x10 ]                        
 2008050:	83 28 60 02 	sll  %g1, 2, %g1                               
 2008054:	fa 20 80 01 	st  %i5, [ %g2 + %g1 ]                         
    _Objects_Open_string(                                             
      &_POSIX_Message_queue_Information_fds,                          
      &the_mq_fd->Object,                                             
      NULL                                                            
    );                                                                
    _Thread_Enable_dispatch();                                        
 2008058:	40 00 11 55 	call  200c5ac <_Thread_Enable_dispatch>        
 200805c:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
    _Thread_Enable_dispatch();                                        
 2008060:	40 00 11 53 	call  200c5ac <_Thread_Enable_dispatch>        
 2008064:	01 00 00 00 	nop                                            
    return (mqd_t)the_mq_fd->Object.id;                               
 2008068:	f0 07 60 08 	ld  [ %i5 + 8 ], %i0                           
 200806c:	81 c7 e0 08 	ret                                            
 2008070:	81 e8 00 00 	restore                                        
  size_t                          name_len;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 2008074:	82 07 a0 4c 	add  %fp, 0x4c, %g1                            
    mode = va_arg( arg, mode_t );                                     
    attr = va_arg( arg, struct mq_attr * );                           
 2008078:	e0 07 a0 50 	ld  [ %fp + 0x50 ], %l0                        
  size_t                          name_len;                           
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 200807c:	c2 27 bf ec 	st  %g1, [ %fp + -20 ]                         
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control_fd *                 
  _POSIX_Message_queue_Allocate_fd( void )                            
{                                                                     
  return (POSIX_Message_queue_Control_fd *)                           
 2008080:	39 00 80 8e 	sethi  %hi(0x2023800), %i4                     
 2008084:	40 00 0b e2 	call  200b00c <_Objects_Allocate>              
 2008088:	90 17 20 9c 	or  %i4, 0x9c, %o0	! 202389c <_POSIX_Message_queue_Information_fds>
    attr = va_arg( arg, struct mq_attr * );                           
    va_end(arg);                                                      
  }                                                                   
                                                                      
  the_mq_fd = _POSIX_Message_queue_Allocate_fd();                     
  if ( !the_mq_fd ) {                                                 
 200808c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2008090:	32 bf ff cc 	bne,a   2007fc0 <mq_open+0x50>                 
 2008094:	f2 27 60 14 	st  %i1, [ %i5 + 0x14 ]                        
    _Thread_Enable_dispatch();                                        
 2008098:	40 00 11 45 	call  200c5ac <_Thread_Enable_dispatch>        
 200809c:	b0 10 3f ff 	mov  -1, %i0                                   
    rtems_set_errno_and_return_minus_one( ENFILE );                   
 20080a0:	40 00 29 ab 	call  201274c <__errno>                        
 20080a4:	01 00 00 00 	nop                                            
 20080a8:	82 10 20 17 	mov  0x17, %g1	! 17 <PROM_START+0x17>          
 20080ac:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20080b0:	81 c7 e0 08 	ret                                            
 20080b4:	81 e8 00 00 	restore                                        
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Message_queue_Free_fd (              
  POSIX_Message_queue_Control_fd *the_mq_fd                           
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Message_queue_Information_fds, &the_mq_fd->Object );
 20080b8:	90 17 20 9c 	or  %i4, 0x9c, %o0                             
 20080bc:	40 00 0c c1 	call  200b3c0 <_Objects_Free>                  
 20080c0:	92 10 00 1d 	mov  %i5, %o1                                  
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _POSIX_Message_queue_Free_fd( the_mq_fd );                      
      _Thread_Enable_dispatch();                                      
 20080c4:	40 00 11 3a 	call  200c5ac <_Thread_Enable_dispatch>        
 20080c8:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( EEXIST, mqd_t );     
 20080cc:	40 00 29 a0 	call  201274c <__errno>                        
 20080d0:	01 00 00 00 	nop                                            
 20080d4:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 20080d8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20080dc:	81 c7 e0 08 	ret                                            
 20080e0:	81 e8 00 00 	restore                                        
  if ( status ) {                                                     
    /*                                                                
     * Unless provided a valid name that did not already exist        
     * and we are willing to create then it is an error.              
     */                                                               
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
 20080e4:	02 bf ff c4 	be  2007ff4 <mq_open+0x84>                     
 20080e8:	90 17 20 9c 	or  %i4, 0x9c, %o0                             
                                                                      
  /*                                                                  
   *  At this point, the message queue does not exist and everything has been
   *  checked. We should go ahead and create a message queue.         
   */                                                                 
  status = _POSIX_Message_queue_Create_support(                       
 20080ec:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
 20080f0:	90 10 00 18 	mov  %i0, %o0                                  
 20080f4:	94 10 20 01 	mov  1, %o2                                    
 20080f8:	96 10 00 10 	mov  %l0, %o3                                  
 20080fc:	40 00 1c 13 	call  200f148 <_POSIX_Message_queue_Create_support>
 2008100:	98 07 bf f4 	add  %fp, -12, %o4                             
  );                                                                  
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
  if ( status == -1 ) {                                               
 2008104:	80 a2 3f ff 	cmp  %o0, -1                                   
 2008108:	02 80 00 0d 	be  200813c <mq_open+0x1cc>                    
 200810c:	c6 07 bf f4 	ld  [ %fp + -12 ], %g3                         
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  const char          *name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008110:	c2 17 60 0a 	lduh  [ %i5 + 0xa ], %g1                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008114:	b8 17 20 9c 	or  %i4, 0x9c, %i4                             
 2008118:	c4 07 20 1c 	ld  [ %i4 + 0x1c ], %g2                        
    _POSIX_Message_queue_Free_fd( the_mq_fd );                        
    _Thread_Enable_dispatch();                                        
    return (mqd_t) -1;                                                
  }                                                                   
                                                                      
  the_mq_fd->Queue = the_mq;                                          
 200811c:	c6 27 60 10 	st  %g3, [ %i5 + 0x10 ]                        
 2008120:	83 28 60 02 	sll  %g1, 2, %g1                               
 2008124:	fa 20 80 01 	st  %i5, [ %g2 + %g1 ]                         
    &_POSIX_Message_queue_Information_fds,                            
    &the_mq_fd->Object,                                               
    NULL                                                              
  );                                                                  
                                                                      
  _Thread_Enable_dispatch();                                          
 2008128:	40 00 11 21 	call  200c5ac <_Thread_Enable_dispatch>        
 200812c:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
                                                                      
  return (mqd_t) the_mq_fd->Object.id;                                
 2008130:	f0 07 60 08 	ld  [ %i5 + 8 ], %i0                           
}                                                                     
 2008134:	81 c7 e0 08 	ret                                            
 2008138:	81 e8 00 00 	restore                                        
 200813c:	90 17 20 9c 	or  %i4, 0x9c, %o0                             
 2008140:	92 10 00 1d 	mov  %i5, %o1                                  
 2008144:	40 00 0c 9f 	call  200b3c0 <_Objects_Free>                  
 2008148:	b0 10 3f ff 	mov  -1, %i0                                   
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
  if ( status == -1 ) {                                               
    _POSIX_Message_queue_Free_fd( the_mq_fd );                        
    _Thread_Enable_dispatch();                                        
 200814c:	40 00 11 18 	call  200c5ac <_Thread_Enable_dispatch>        
 2008150:	01 00 00 00 	nop                                            
 2008154:	81 c7 e0 08 	ret                                            
 2008158:	81 e8 00 00 	restore                                        
                                                                      

02039558 <msdos_creat_node>: msdos_node_type_t type, const char *name, int name_len, mode_t mode, const fat_file_fd_t *link_fd) {
 2039558:	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;        
 203955c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
    uint32_t          sec = 0;                                        
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
 2039560:	b8 07 bf 80 	add  %fp, -128, %i4                            
                 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;        
 2039564:	e0 00 60 08 	ld  [ %g1 + 8 ], %l0                           
    fat_file_fd_t    *parent_fat_fd = parent_loc->node_access;        
    fat_file_fd_t    *fat_fd = NULL;                                  
 2039568:	c0 27 bf 6c 	clr  [ %fp + -148 ]                            
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 203956c:	82 10 3f ff 	mov  -1, %g1                                   
    time_t            time_ret = 0;                                   
    uint16_t          time_val = 0;                                   
 2039570:	c0 37 bf 68 	clrh  [ %fp + -152 ]                           
    uint16_t          date = 0;                                       
 2039574:	c0 37 bf 6a 	clrh  [ %fp + -150 ]                           
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
 2039578:	c0 27 bf 70 	clr  [ %fp + -144 ]                            
  dir_pos->sname.ofs = 0;                                             
 203957c:	c0 27 bf 74 	clr  [ %fp + -140 ]                            
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 2039580:	c2 27 bf 78 	st  %g1, [ %fp + -136 ]                        
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 2039584:	c2 27 bf 7c 	st  %g1, [ %fp + -132 ]                        
    uint32_t          sec = 0;                                        
    uint32_t          byte = 0;                                       
                                                                      
    fat_dir_pos_init(&dir_pos);                                       
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
 2039588:	c0 27 bf 80 	clr  [ %fp + -128 ]                            
 203958c:	c0 27 bf 84 	clr  [ %fp + -124 ]                            
 2039590:	c0 27 20 08 	clr  [ %i4 + 8 ]                               
 2039594:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
 2039598:	c0 27 20 10 	clr  [ %i4 + 0x10 ]                            
 203959c:	c0 27 20 14 	clr  [ %i4 + 0x14 ]                            
 20395a0:	c0 27 20 18 	clr  [ %i4 + 0x18 ]                            
 20395a4:	c0 27 20 1c 	clr  [ %i4 + 0x1c ]                            
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
 20395a8:	c0 27 bf c0 	clr  [ %fp + -64 ]                             
 20395ac:	c0 27 bf c4 	clr  [ %fp + -60 ]                             
 20395b0:	c0 27 bf c8 	clr  [ %fp + -56 ]                             
 20395b4:	c0 27 bf cc 	clr  [ %fp + -52 ]                             
 20395b8:	c0 27 bf d0 	clr  [ %fp + -48 ]                             
 20395bc:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
 20395c0:	c0 27 bf d8 	clr  [ %fp + -40 ]                             
 20395c4:	c0 27 bf dc 	clr  [ %fp + -36 ]                             
 20395c8:	c0 27 bf e0 	clr  [ %fp + -32 ]                             
 20395cc:	c0 27 bf e4 	clr  [ %fp + -28 ]                             
 20395d0:	c0 27 bf e8 	clr  [ %fp + -24 ]                             
 20395d4:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
 20395d8:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
 20395dc:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
 20395e0:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 20395e4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
    if (name_len > MSDOS_NAME_MAX_LFN_WITH_DOT) {                     
 20395e8:	80 a6 e1 04 	cmp  %i3, 0x104                                
 20395ec:	14 80 00 e3 	bg  2039978 <msdos_creat_node+0x420>           <== NEVER TAKEN
 20395f0:	e4 06 20 08 	ld  [ %i0 + 8 ], %l2                           
        rtems_set_errno_and_return_minus_one(ENAMETOOLONG);           
    }                                                                 
                                                                      
    name_type = msdos_long_to_short (name, name_len,                  
 20395f4:	90 10 00 1a 	mov  %i2, %o0                                  
 20395f8:	92 10 00 1b 	mov  %i3, %o1                                  
 20395fc:	94 10 00 1c 	mov  %i4, %o2                                  
 2039600:	40 00 01 37 	call  2039adc <msdos_long_to_short>            
 2039604:	96 10 20 0b 	mov  0xb, %o3                                  
                                     MSDOS_DIR_NAME(short_node),      
                                     MSDOS_NAME_MAX);                 
    if (name_type == MSDOS_NAME_INVALID) {                            
 2039608:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 203960c:	02 80 00 e0 	be  203998c <msdos_creat_node+0x434>           <== NEVER TAKEN
 2039610:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(EINVAL);                 
    }                                                                 
                                                                      
    /* fill reserved field */                                         
    *MSDOS_DIR_NT_RES(short_node) = MSDOS_RES_NT_VALUE;               
 2039614:	c0 2f bf 8c 	clrb  [ %fp + -116 ]                           
                                                                      
    /* set up last write date and time */                             
    time_ret = time(NULL);                                            
 2039618:	40 00 6f 04 	call  2055228 <time>                           
 203961c:	90 10 20 00 	clr  %o0                                       
    if ( time_ret == -1 )                                             
 2039620:	80 a2 3f ff 	cmp  %o0, -1                                   
 2039624:	02 80 00 df 	be  20399a0 <msdos_creat_node+0x448>           <== NEVER TAKEN
 2039628:	92 07 bf 6a 	add  %fp, -150, %o1                            
        return -1;                                                    
                                                                      
    msdos_date_unix2dos(time_ret, &date, &time_val);                  
 203962c:	40 00 34 f1 	call  20469f0 <msdos_date_unix2dos>            
 2039630:	94 07 bf 68 	add  %fp, -152, %o2                            
    *MSDOS_DIR_CRT_TIME(short_node) = CT_LE_W(time_val);              
 2039634:	c8 17 bf 68 	lduh  [ %fp + -152 ], %g4                      
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2039638:	c6 17 bf 6a 	lduh  [ %fp + -150 ], %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);              
 203963c:	89 29 20 10 	sll  %g4, 0x10, %g4                            
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2039640:	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);              
 2039644:	85 31 20 08 	srl  %g4, 8, %g2                               
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2039648:	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);              
 203964c:	89 31 20 18 	srl  %g4, 0x18, %g4                            
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2039650:	87 30 e0 18 	srl  %g3, 0x18, %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);              
 2039654:	84 10 80 04 	or  %g2, %g4, %g2                              
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
 2039658:	82 10 40 03 	or  %g1, %g3, %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);              
 203965c:	c4 37 bf 8e 	sth  %g2, [ %fp + -114 ]                       
    *MSDOS_DIR_CRT_DATE(short_node) = CT_LE_W(date);                  
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
 2039660:	c4 37 bf 96 	sth  %g2, [ %fp + -106 ]                       
    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);                  
 2039664:	c2 37 bf 90 	sth  %g1, [ %fp + -112 ]                       
    *MSDOS_DIR_WRITE_TIME(short_node) = CT_LE_W(time_val);            
    *MSDOS_DIR_WRITE_DATE(short_node) = CT_LE_W(date);                
 2039668:	c2 37 bf 98 	sth  %g1, [ %fp + -104 ]                       
    *MSDOS_DIR_LAST_ACCESS_DATE(short_node) = CT_LE_W(date);          
 203966c:	c2 37 bf 92 	sth  %g1, [ %fp + -110 ]                       
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
                                                                      
    if (type == MSDOS_DIRECTORY) {                                    
 2039670:	80 a6 60 00 	cmp  %i1, 0                                    
 2039674:	02 80 00 12 	be  20396bc <msdos_creat_node+0x164>           
 2039678:	c0 27 bf 9c 	clr  [ %fp + -100 ]                            
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
    }                                                                 
    else if (type == MSDOS_HARD_LINK) {                               
 203967c:	80 a6 60 02 	cmp  %i1, 2                                    
 2039680:	02 80 00 89 	be  20398a4 <msdos_creat_node+0x34c>           <== NEVER TAKEN
 2039684:	c2 0f bf 8b 	ldub  [ %fp + -117 ], %g1                      
       * 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;            
 2039688:	82 10 60 20 	or  %g1, 0x20, %g1                             
 203968c:	c2 2f bf 8b 	stb  %g1, [ %fp + -117 ]                       
                                                                      
    /*                                                                
     * 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,        
 2039690:	f8 23 a0 5c 	st  %i4, [ %sp + 0x5c ]                        
 2039694:	90 10 00 18 	mov  %i0, %o0                                  
 2039698:	92 10 20 01 	mov  1, %o1                                    
 203969c:	94 10 00 1a 	mov  %i2, %o2                                  
 20396a0:	96 10 00 1b 	mov  %i3, %o3                                  
 20396a4:	98 10 00 11 	mov  %l1, %o4                                  
 20396a8:	40 00 06 a4 	call  203b138 <msdos_get_name_node>            
 20396ac:	9a 07 bf 70 	add  %fp, -144, %o5                            
 20396b0:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
err:                                                                  
    /* mark the used 32bytes structure on the disk as free */         
    msdos_set_first_char4file_name(parent_loc->mt_entry, &dir_pos, 0xE5);
    return rc;                                                        
}                                                                     
 20396b4:	81 c7 e0 08 	ret                                            
 20396b8:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
                                                                      
    if (type == MSDOS_DIRECTORY) {                                    
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
 20396bc:	c2 0f bf 8b 	ldub  [ %fp + -117 ], %g1                      
                                                                      
    /*                                                                
     * 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,        
 20396c0:	f8 23 a0 5c 	st  %i4, [ %sp + 0x5c ]                        
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
                                                                      
    if (type == MSDOS_DIRECTORY) {                                    
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
 20396c4:	82 10 60 10 	or  %g1, 0x10, %g1                             
                                                                      
    /*                                                                
     * 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,        
 20396c8:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
    /* initialize directory/file size */                              
    *MSDOS_DIR_FILE_SIZE(short_node) = MSDOS_INIT_DIR_SIZE;           
                                                                      
    if (type == MSDOS_DIRECTORY) {                                    
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_DIRECTORY;            
 20396cc:	c2 2f bf 8b 	stb  %g1, [ %fp + -117 ]                       
                                                                      
    /*                                                                
     * 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,        
 20396d0:	92 10 20 01 	mov  1, %o1                                    
 20396d4:	94 10 00 1a 	mov  %i2, %o2                                  
 20396d8:	96 10 00 1b 	mov  %i3, %o3                                  
 20396dc:	98 10 00 11 	mov  %l1, %o4                                  
 20396e0:	40 00 06 96 	call  203b138 <msdos_get_name_node>            
 20396e4:	9a 07 bf 70 	add  %fp, -144, %o5                            
                             name_type, &dir_pos, short_node);        
    if ( rc != RC_OK )                                                
 20396e8:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20396ec:	12 bf ff f2 	bne  20396b4 <msdos_creat_node+0x15c>          <== NEVER TAKEN
 20396f0:	90 10 00 10 	mov  %l0, %o0                                  
     * to do                                                          
     */                                                               
    if (type == MSDOS_DIRECTORY)                                      
    {                                                                 
        /* open new directory as fat-file */                          
        rc = fat_file_open(&fs_info->fat, &dir_pos, &fat_fd);         
 20396f4:	92 07 bf 70 	add  %fp, -144, %o1                            
 20396f8:	7f ff bd 3e 	call  2028bf0 <fat_file_open>                  
 20396fc:	94 07 bf 6c 	add  %fp, -148, %o2                            
        if (rc != RC_OK)                                              
 2039700:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2039704:	32 80 00 62 	bne,a   203988c <msdos_creat_node+0x334>       <== NEVER TAKEN
 2039708:	d0 06 20 14 	ld  [ %i0 + 0x14 ], %o0                        <== NOT EXECUTED
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
 203970c:	f2 07 bf 6c 	ld  [ %fp + -148 ], %i1                        
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
 2039710:	03 00 08 00 	sethi  %hi(0x200000), %g1                      
                                                                      
        /*                                                            
         * we opened fat-file for node we just created, so initialize fat-file
         * descritor                                                  
         */                                                           
        fat_fd->fat_file_size = 0;                                    
 2039714:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
        fat_fd->fat_file_type = FAT_DIRECTORY;                        
        fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                    
 2039718:	c2 26 60 14 	st  %g1, [ %i1 + 0x14 ]                        
        /*                                                            
         * 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;                        
 203971c:	c0 26 60 10 	clr  [ %i1 + 0x10 ]                            
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(MSDOS_DIR_NAME(DOT_NODE_P(dot_dotdot)), MSDOS_DOT_NAME,
 2039720:	03 00 81 b5 	sethi  %hi(0x206d400), %g1                     
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
 2039724:	d8 1f bf 80 	ldd  [ %fp + -128 ], %o4                       
 2039728:	c4 1f bf 98 	ldd  [ %fp + -104 ], %g2                       
 203972c:	f4 1f bf 88 	ldd  [ %fp + -120 ], %i2                       
 2039730:	f8 1f bf 90 	ldd  [ %fp + -112 ], %i4                       
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(MSDOS_DIR_NAME(DOT_NODE_P(dot_dotdot)), MSDOS_DOT_NAME,
 2039734:	d2 00 63 5c 	ld  [ %g1 + 0x35c ], %o1                       
 2039738:	94 10 20 0b 	mov  0xb, %o2                                  
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
 203973c:	d8 3f bf c0 	std  %o4, [ %fp + -64 ]                        
 2039740:	c4 3f bf d8 	std  %g2, [ %fp + -40 ]                        
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
 2039744:	d8 3f bf e0 	std  %o4, [ %fp + -32 ]                        
 2039748:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]                         
                                                                      
        /*                                                            
         * dot and dotdot entries are identical to new node except the
         * names                                                      
         */                                                           
        memcpy(DOT_NODE_P(dot_dotdot), short_node,                    
 203974c:	f4 3f bf c8 	std  %i2, [ %fp + -56 ]                        
 2039750:	f8 3f bf d0 	std  %i4, [ %fp + -48 ]                        
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(DOTDOT_NODE_P(dot_dotdot), short_node,                 
 2039754:	f4 3f bf e8 	std  %i2, [ %fp + -24 ]                        
 2039758:	f8 3f bf f0 	std  %i4, [ %fp + -16 ]                        
               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);                    
        memcpy(MSDOS_DIR_NAME(DOT_NODE_P(dot_dotdot)), MSDOS_DOT_NAME,
 203975c:	40 00 49 aa 	call  204be04 <memcpy>                         
 2039760:	90 07 bf c0 	add  %fp, -64, %o0                             
               MSDOS_NAME_MAX);                                       
        memcpy(MSDOS_DIR_NAME(DOTDOT_NODE_P(dot_dotdot)), MSDOS_DOTDOT_NAME,
 2039764:	03 00 81 b5 	sethi  %hi(0x206d400), %g1                     
 2039768:	d2 00 63 58 	ld  [ %g1 + 0x358 ], %o1	! 206d758 <MSDOS_DOTDOT_NAME>
 203976c:	90 07 bf e0 	add  %fp, -32, %o0                             
 2039770:	40 00 49 a5 	call  204be04 <memcpy>                         
 2039774:	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)) &&                    
 2039778:	c2 04 a0 20 	ld  [ %l2 + 0x20 ], %g1                        
 203977c:	80 a0 60 01 	cmp  %g1, 1                                    
 2039780:	22 80 00 73 	be,a   203994c <msdos_creat_node+0x3f4>        
 2039784:	c2 04 a0 24 	ld  [ %l2 + 0x24 ], %g1                        
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
        }                                                             
        else                                                          
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
 2039788:	c2 04 a0 1c 	ld  [ %l2 + 0x1c ], %g1                        
                                                                      
err:                                                                  
    /* mark the used 32bytes structure on the disk as free */         
    msdos_set_first_char4file_name(parent_loc->mt_entry, &dir_pos, 0xE5);
    return rc;                                                        
}                                                                     
 203978c:	07 00 00 3f 	sethi  %hi(0xfc00), %g3                        
        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)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
 2039790:	85 30 60 10 	srl  %g1, 0x10, %g2                            
                                                                      
err:                                                                  
    /* mark the used 32bytes structure on the disk as free */         
    msdos_set_first_char4file_name(parent_loc->mt_entry, &dir_pos, 0xE5);
    return rc;                                                        
}                                                                     
 2039794:	86 10 e3 ff 	or  %g3, 0x3ff, %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)) = 
 2039798:	89 28 60 10 	sll  %g1, 0x10, %g4                            
                                                                      
err:                                                                  
    /* mark the used 32bytes structure on the disk as free */         
    msdos_set_first_char4file_name(parent_loc->mt_entry, &dir_pos, 0xE5);
    return rc;                                                        
}                                                                     
 203979c:	82 08 40 03 	and  %g1, %g3, %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)) = 
 20397a0:	89 31 20 18 	srl  %g4, 0x18, %g4                            
                                                                      
err:                                                                  
    /* mark the used 32bytes structure on the disk as free */         
    msdos_set_first_char4file_name(parent_loc->mt_entry, &dir_pos, 0xE5);
    return rc;                                                        
}                                                                     
 20397a4:	86 08 80 03 	and  %g2, %g3, %g3                             
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
        }                                                             
        else                                                          
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
 20397a8:	83 28 60 08 	sll  %g1, 8, %g1                               
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
                CT_LE_W((uint16_t  )(((parent_fat_fd->cln) & 0xFFFF0000)>>16));
 20397ac:	87 28 e0 08 	sll  %g3, 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)) = 
 20397b0:	82 10 40 04 	or  %g1, %g4, %g1                              
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
 20397b4:	85 30 a0 08 	srl  %g2, 8, %g2                               
            *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)) = 
 20397b8:	c2 37 bf fa 	sth  %g1, [ %fp + -6 ]                         
                CT_LE_W((uint16_t  )((parent_fat_fd->cln) & 0x0000FFFF));
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) =  
 20397bc:	84 10 c0 02 	or  %g3, %g2, %g2                              
 20397c0:	c4 37 bf f4 	sth  %g2, [ %fp + -12 ]                        
        /*                                                            
         * 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(&fs_info->fat, fat_fd, 0,                
 20397c4:	90 10 00 10 	mov  %l0, %o0                                  
 20397c8:	92 10 00 19 	mov  %i1, %o1                                  
 20397cc:	94 10 20 00 	clr  %o2                                       
 20397d0:	96 10 20 40 	mov  0x40, %o3                                 
 20397d4:	7f ff bf 86 	call  20295ec <fat_file_write>                 
 20397d8:	98 07 bf c0 	add  %fp, -64, %o4                             
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2,   
                             (uint8_t *)dot_dotdot);                  
        if (ret < 0)                                                  
 20397dc:	80 a2 20 00 	cmp  %o0, 0                                    
 20397e0:	06 80 00 26 	bl  2039878 <msdos_creat_node+0x320>           <== NEVER TAKEN
 20397e4:	d2 07 bf 6c 	ld  [ %fp + -148 ], %o1                        
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
 20397e8:	c4 14 20 06 	lduh  [ %l0 + 6 ], %g2                         
 20397ec:	c6 02 60 18 	ld  [ %o1 + 0x18 ], %g3                        
                                                                      
        /* 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));    
 20397f0:	c2 02 60 1c 	ld  [ %o1 + 0x1c ], %g1                        
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
 20397f4:	84 00 c0 02 	add  %g3, %g2, %g2                             
                                                                      
        /* set up cluster num for dot entry */                        
        *MSDOS_DIR_FIRST_CLUSTER_LOW(DOT_NODE_P(dot_dotdot)) =        
 20397f8:	bb 28 60 10 	sll  %g1, 0x10, %i5                            
                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));
 20397fc:	87 30 60 10 	srl  %g1, 0x10, %g3                            
            rc = -1;                                                  
            goto error;                                               
        }                                                             
                                                                      
        /* increment fat-file size by cluster size */                 
        fat_fd->fat_file_size += fs_info->fat.vol.bpc;                
 2039800:	c4 22 60 18 	st  %g2, [ %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));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
 2039804:	89 30 e0 08 	srl  %g3, 8, %g4                               
                                                                      
        /* 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)) =        
 2039808:	bb 37 60 18 	srl  %i5, 0x18, %i5                            
                                                                      
err:                                                                  
    /* mark the used 32bytes structure on the disk as free */         
    msdos_set_first_char4file_name(parent_loc->mt_entry, &dir_pos, 0xE5);
    return rc;                                                        
}                                                                     
 203980c:	05 00 00 3f 	sethi  %hi(0xfc00), %g2                        
 2039810:	84 10 a3 ff 	or  %g2, 0x3ff, %g2	! ffff <PROM_START+0xffff> 
 2039814:	82 08 40 02 	and  %g1, %g2, %g1                             
 2039818:	84 08 c0 02 	and  %g3, %g2, %g2                             
        /* 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));    
 203981c:	83 28 60 08 	sll  %g1, 8, %g1                               
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
 2039820:	85 28 a0 08 	sll  %g2, 8, %g2                               
                                                                      
        /* 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)) =        
 2039824:	82 10 40 1d 	or  %g1, %i5, %g1                              
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
 2039828:	84 10 80 04 	or  %g2, %g4, %g2                              
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(&fs_info->fat, fat_fd, 0,                
 203982c:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
        /* 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)) =        
 2039830:	c2 37 bf da 	sth  %g1, [ %fp + -38 ]                        
                CT_LE_W((uint16_t  )((fat_fd->cln) & 0x0000FFFF));    
        *MSDOS_DIR_FIRST_CLUSTER_HI(DOT_NODE_P(dot_dotdot)) =         
 2039834:	c4 37 bf d4 	sth  %g2, [ %fp + -44 ]                        
                CT_LE_W((uint16_t  )(((fat_fd->cln) & 0xFFFF0000) >> 16));
                                                                      
        /* rewrite dot entry */                                       
        ret = fat_file_write(&fs_info->fat, fat_fd, 0,                
 2039838:	94 10 20 00 	clr  %o2                                       
 203983c:	96 10 20 20 	mov  0x20, %o3                                 
 2039840:	7f ff bf 6b 	call  20295ec <fat_file_write>                 
 2039844:	98 07 bf c0 	add  %fp, -64, %o4                             
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,       
                             (uint8_t *)DOT_NODE_P(dot_dotdot));      
        if (ret < 0)                                                  
 2039848:	80 a2 20 00 	cmp  %o0, 0                                    
 203984c:	06 80 00 0c 	bl  203987c <msdos_creat_node+0x324>           <== NEVER TAKEN
 2039850:	ba 10 3f ff 	mov  -1, %i5                                   
            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);
 2039854:	d0 06 20 14 	ld  [ %i0 + 0x14 ], %o0                        
 2039858:	40 00 01 74 	call  2039e28 <msdos_set_first_cluster_num>    
 203985c:	d2 07 bf 6c 	ld  [ %fp + -148 ], %o1                        
        if (rc != RC_OK)                                              
 2039860:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2039864:	12 80 00 07 	bne  2039880 <msdos_creat_node+0x328>          <== NEVER TAKEN
 2039868:	d2 07 bf 6c 	ld  [ %fp + -148 ], %o1                        
            goto error;                                               
                                                                      
        fat_file_close(&fs_info->fat, fat_fd);                        
 203986c:	7f ff be 5b 	call  20291d8 <fat_file_close>                 
 2039870:	90 10 00 10 	mov  %l0, %o0                                  
 2039874:	30 bf ff 90 	b,a   20396b4 <msdos_creat_node+0x15c>         
        ret = fat_file_write(&fs_info->fat, fat_fd, 0,                
                             MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2,   
                             (uint8_t *)dot_dotdot);                  
        if (ret < 0)                                                  
        {                                                             
            rc = -1;                                                  
 2039878:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
        fat_file_close(&fs_info->fat, fat_fd);                        
    }                                                                 
    return RC_OK;                                                     
                                                                      
error:                                                                
    fat_file_close(&fs_info->fat, fat_fd);                            
 203987c:	d2 07 bf 6c 	ld  [ %fp + -148 ], %o1                        <== NOT EXECUTED
 2039880:	7f ff be 56 	call  20291d8 <fat_file_close>                 <== NOT EXECUTED
 2039884:	90 10 00 10 	mov  %l0, %o0                                  <== 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);
 2039888:	d0 06 20 14 	ld  [ %i0 + 0x14 ], %o0                        <== NOT EXECUTED
 203988c:	92 07 bf 70 	add  %fp, -144, %o1                            <== NOT EXECUTED
 2039890:	94 10 20 e5 	mov  0xe5, %o2                                 <== NOT EXECUTED
 2039894:	40 00 01 c9 	call  2039fb8 <msdos_set_first_char4file_name> <== NOT EXECUTED
 2039898:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 203989c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20398a0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
       * node to the newly created                                    
       */                                                             
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(&fs_info->fat,              
 20398a4:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        <== NOT EXECUTED
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 20398a8:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20398ac:	32 80 00 07 	bne,a   20398c8 <msdos_creat_node+0x370>       <== NOT EXECUTED
 20398b0:	c6 0c 20 05 	ldub  [ %l0 + 5 ], %g3                         <== NOT EXECUTED
 20398b4:	c4 0c 20 0a 	ldub  [ %l0 + 0xa ], %g2                       <== NOT EXECUTED
 20398b8:	80 88 a0 03 	btst  3, %g2                                   <== NOT EXECUTED
 20398bc:	32 80 00 07 	bne,a   20398d8 <msdos_creat_node+0x380>       <== NOT EXECUTED
 20398c0:	d2 04 20 1c 	ld  [ %l0 + 0x1c ], %o1                        <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 20398c4:	c6 0c 20 05 	ldub  [ %l0 + 5 ], %g3                         <== NOT EXECUTED
 20398c8:	c4 04 20 30 	ld  [ %l0 + 0x30 ], %g2                        <== NOT EXECUTED
 20398cc:	92 00 7f fe 	add  %g1, -2, %o1                              <== NOT EXECUTED
 20398d0:	93 2a 40 03 	sll  %o1, %g3, %o1                             <== NOT EXECUTED
 20398d4:	92 02 40 02 	add  %o1, %g2, %o1                             <== NOT EXECUTED
                                          link_fd->dir_pos.sname.cln);
      sec += (link_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);
 20398d8:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        <== NOT EXECUTED
 20398dc:	c4 0c 20 02 	ldub  [ %l0 + 2 ], %g2                         <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
 20398e0:	d4 14 00 00 	lduh  [ %l0 ], %o2                             <== NOT EXECUTED
      /*                                                              
       * read the original directory entry                            
       */                                                             
      sec = fat_cluster_num_to_sector_num(&fs_info->fat,              
                                          link_fd->dir_pos.sname.cln);
      sec += (link_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);
 20398e4:	85 30 40 02 	srl  %g1, %g2, %g2                             <== NOT EXECUTED
      byte = (link_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));
 20398e8:	94 02 bf ff 	add  %o2, -1, %o2                              <== NOT EXECUTED
                                                                      
      ret = _fat_block_read(&fs_info->fat,                            
 20398ec:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 20398f0:	92 02 40 02 	add  %o1, %g2, %o1                             <== NOT EXECUTED
 20398f4:	94 0a 80 01 	and  %o2, %g1, %o2                             <== NOT EXECUTED
 20398f8:	96 10 20 20 	mov  0x20, %o3                                 <== NOT EXECUTED
 20398fc:	7f ff c1 1c 	call  2029d6c <_fat_block_read>                <== NOT EXECUTED
 2039900:	98 07 bf a0 	add  %fp, -96, %o4                             <== NOT EXECUTED
                            sec, byte, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE,
                            link_node);                               
      if (ret < 0) {                                                  
 2039904:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2039908:	06 80 00 26 	bl  20399a0 <msdos_creat_node+0x448>           <== NOT EXECUTED
 203990c:	c4 0f bf ad 	ldub  [ %fp + -83 ], %g2                       <== NOT EXECUTED
          return -1;                                                  
      }                                                               
      /*                                                              
       * copy various attributes                                      
       */                                                             
      *MSDOS_DIR_ATTR(short_node)          =*MSDOS_DIR_ATTR(link_node);
 2039910:	c2 0f bf ab 	ldub  [ %fp + -85 ], %g1                       <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME_TENTH(short_node)=*MSDOS_DIR_CRT_TIME_TENTH(link_node);
 2039914:	c4 2f bf 8d 	stb  %g2, [ %fp + -115 ]                       <== NOT EXECUTED
      *MSDOS_DIR_CRT_TIME(short_node)      =*MSDOS_DIR_CRT_TIME(link_node);
 2039918:	c4 17 bf ae 	lduh  [ %fp + -82 ], %g2                       <== NOT EXECUTED
      *MSDOS_DIR_FIRST_CLUSTER_HI(short_node) =                       
           *MSDOS_DIR_FIRST_CLUSTER_HI(link_node);                    
      /*                                                              
       * set "archive bit" due to changes                             
       */                                                             
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_ARCHIVE;              
 203991c:	82 10 60 20 	or  %g1, 0x20, %g1                             <== NOT EXECUTED
      /*                                                              
       * copy various attributes                                      
       */                                                             
      *MSDOS_DIR_ATTR(short_node)          =*MSDOS_DIR_ATTR(link_node);
      *MSDOS_DIR_CRT_TIME_TENTH(short_node)=*MSDOS_DIR_CRT_TIME_TENTH(link_node);
      *MSDOS_DIR_CRT_TIME(short_node)      =*MSDOS_DIR_CRT_TIME(link_node);
 2039920:	c4 37 bf 8e 	sth  %g2, [ %fp + -114 ]                       <== NOT EXECUTED
      *MSDOS_DIR_CRT_DATE(short_node)      =*MSDOS_DIR_CRT_DATE(link_node);
 2039924:	c4 17 bf b0 	lduh  [ %fp + -80 ], %g2                       <== NOT EXECUTED
      *MSDOS_DIR_FIRST_CLUSTER_HI(short_node) =                       
           *MSDOS_DIR_FIRST_CLUSTER_HI(link_node);                    
      /*                                                              
       * set "archive bit" due to changes                             
       */                                                             
      *MSDOS_DIR_ATTR(short_node) |= MSDOS_ATTR_ARCHIVE;              
 2039928:	c2 2f bf 8b 	stb  %g1, [ %fp + -117 ]                       <== NOT EXECUTED
       * copy various attributes                                      
       */                                                             
      *MSDOS_DIR_ATTR(short_node)          =*MSDOS_DIR_ATTR(link_node);
      *MSDOS_DIR_CRT_TIME_TENTH(short_node)=*MSDOS_DIR_CRT_TIME_TENTH(link_node);
      *MSDOS_DIR_CRT_TIME(short_node)      =*MSDOS_DIR_CRT_TIME(link_node);
      *MSDOS_DIR_CRT_DATE(short_node)      =*MSDOS_DIR_CRT_DATE(link_node);
 203992c:	c4 37 bf 90 	sth  %g2, [ %fp + -112 ]                       <== NOT EXECUTED
                                                                      
      /*                                                              
       * copy/set "file size", "first cluster"                        
       */                                                             
      *MSDOS_DIR_FILE_SIZE(short_node)     =*MSDOS_DIR_FILE_SIZE(link_node);
 2039930:	c4 07 bf bc 	ld  [ %fp + -68 ], %g2                         <== NOT EXECUTED
 2039934:	c4 27 bf 9c 	st  %g2, [ %fp + -100 ]                        <== NOT EXECUTED
                                                                      
      *MSDOS_DIR_FIRST_CLUSTER_LOW(short_node) =                      
 2039938:	c4 17 bf ba 	lduh  [ %fp + -70 ], %g2                       <== NOT EXECUTED
 203993c:	c4 37 bf 9a 	sth  %g2, [ %fp + -102 ]                       <== NOT EXECUTED
           *MSDOS_DIR_FIRST_CLUSTER_LOW(link_node);                   
      *MSDOS_DIR_FIRST_CLUSTER_HI(short_node) =                       
 2039940:	c4 17 bf b4 	lduh  [ %fp + -76 ], %g2                       <== NOT EXECUTED
 2039944:	10 bf ff 53 	b  2039690 <msdos_creat_node+0x138>            <== NOT EXECUTED
 2039948:	c4 37 bf 94 	sth  %g2, [ %fp + -108 ]                       <== NOT EXECUTED
        /*                                                            
         * 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)) &&                    
 203994c:	80 a0 60 00 	cmp  %g1, 0                                    
 2039950:	32 bf ff 8f 	bne,a   203978c <msdos_creat_node+0x234>       <== NEVER TAKEN
 2039954:	c2 04 a0 1c 	ld  [ %l2 + 0x1c ], %g1                        <== NOT EXECUTED
            (fs_info->fat.vol.type & FAT_FAT32))                      
 2039958:	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)) &&                    
 203995c:	82 08 60 04 	and  %g1, 4, %g1                               
 2039960:	80 88 60 ff 	btst  0xff, %g1                                
 2039964:	22 bf ff 8a 	be,a   203978c <msdos_creat_node+0x234>        <== ALWAYS TAKEN
 2039968:	c2 04 a0 1c 	ld  [ %l2 + 0x1c ], %g1                        
            (fs_info->fat.vol.type & FAT_FAT32))                      
        {                                                             
            *MSDOS_DIR_FIRST_CLUSTER_LOW(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
 203996c:	c0 37 bf fa 	clrh  [ %fp + -6 ]                             <== NOT EXECUTED
            *MSDOS_DIR_FIRST_CLUSTER_HI(DOTDOT_NODE_P(dot_dotdot)) = 0x0000;
 2039970:	10 bf ff 95 	b  20397c4 <msdos_creat_node+0x26c>            <== NOT EXECUTED
 2039974:	c0 37 bf f4 	clrh  [ %fp + -12 ]                            <== NOT EXECUTED
                                                                      
    memset(short_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);         
    memset(dot_dotdot, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE * 2);     
                                                                      
    if (name_len > MSDOS_NAME_MAX_LFN_WITH_DOT) {                     
        rtems_set_errno_and_return_minus_one(ENAMETOOLONG);           
 2039978:	40 00 3b e4 	call  2048908 <__errno>                        <== NOT EXECUTED
 203997c:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
 2039980:	82 10 20 5b 	mov  0x5b, %g1                                 <== NOT EXECUTED
 2039984:	10 bf ff 4c 	b  20396b4 <msdos_creat_node+0x15c>            <== NOT EXECUTED
 2039988:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
                                                                      
    name_type = msdos_long_to_short (name, name_len,                  
                                     MSDOS_DIR_NAME(short_node),      
                                     MSDOS_NAME_MAX);                 
    if (name_type == MSDOS_NAME_INVALID) {                            
        rtems_set_errno_and_return_minus_one(EINVAL);                 
 203998c:	40 00 3b df 	call  2048908 <__errno>                        <== NOT EXECUTED
 2039990:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
 2039994:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 2039998:	10 bf ff 47 	b  20396b4 <msdos_creat_node+0x15c>            <== NOT EXECUTED
 203999c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    *MSDOS_DIR_NT_RES(short_node) = MSDOS_RES_NT_VALUE;               
                                                                      
    /* set up last write date and time */                             
    time_ret = time(NULL);                                            
    if ( time_ret == -1 )                                             
        return -1;                                                    
 20399a0:	10 bf ff 45 	b  20396b4 <msdos_creat_node+0x15c>            <== NOT EXECUTED
 20399a4:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
                                                                      

02046b68 <msdos_date_dos2unix>: + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600; /* * If the year, month, and day from the last conversion are the * same then use the saved value. */ if (lastdosdate != dd) {
 2046b68:	09 00 81 d6 	sethi  %hi(0x2075800), %g4                     
 2046b6c:	da 11 20 0a 	lduh  [ %g4 + 0xa ], %o5	! 207580a <lastdosdate>
	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  
 2046b70:	86 0a 67 e0 	and  %o1, 0x7e0, %g3                           
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
 2046b74:	85 32 60 0b 	srl  %o1, 0xb, %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  
 2046b78:	83 30 e0 04 	srl  %g3, 4, %g1                               
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
 2046b7c:	84 08 a0 1f 	and  %g2, 0x1f, %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  
 2046b80:	86 20 c0 01 	sub  %g3, %g1, %g3                             
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
 2046b84:	99 28 a0 03 	sll  %g2, 3, %o4                               
 2046b88:	83 28 a0 07 	sll  %g2, 7, %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)
 2046b8c:	92 0a 60 1f 	and  %o1, 0x1f, %o1                            
	    + ((dt & MSDOS_DT_MINUTES_MASK) >> MSDOS_DT_MINUTES_SHIFT) * 60  
	    + ((dt & MSDOS_DT_HOURS_MASK) >> MSDOS_DT_HOURS_SHIFT) * 3600;   
 2046b90:	82 20 40 0c 	sub  %g1, %o4, %g1                             
	/*                                                                   
	 * If the year, month, and day from the last conversion are the      
	 * same then use the saved value.                                    
	 */                                                                  
	if (lastdosdate != dd) {                                             
 2046b94:	80 a3 40 08 	cmp  %o5, %o0                                  
	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;   
 2046b98:	85 28 60 04 	sll  %g1, 4, %g2                               
 2046b9c:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2046ba0:	82 00 40 03 	add  %g1, %g3, %g1                             
 2046ba4:	92 00 40 09 	add  %g1, %o1, %o1                             
	/*                                                                   
	 * If the year, month, and day from the last conversion are the      
	 * same then use the saved value.                                    
	 */                                                                  
	if (lastdosdate != dd) {                                             
 2046ba8:	02 80 00 3a 	be  2046c90 <msdos_date_dos2unix+0x128>        
 2046bac:	93 2a 60 01 	sll  %o1, 1, %o1                               
		lastdosdate = dd;                                                   
 2046bb0:	d0 31 20 0a 	sth  %o0, [ %g4 + 0xa ]                        
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
 2046bb4:	82 10 20 00 	clr  %g1                                       
	 * same then use the saved value.                                    
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
 2046bb8:	89 32 20 09 	srl  %o0, 9, %g4                               
		for (y = 0; y < year; y++)                                          
 2046bbc:	84 10 20 00 	clr  %g2                                       
 2046bc0:	88 89 20 7f 	andcc  %g4, 0x7f, %g4                          
 2046bc4:	12 80 00 08 	bne  2046be4 <msdos_date_dos2unix+0x7c>        <== ALWAYS TAKEN
 2046bc8:	86 10 21 6e 	mov  0x16e, %g3                                
			days += y & 0x03 ? 365 : 366;                                      
		months = year & 0x03 ? regyear : leapyear;                          
 2046bcc:	10 80 00 2f 	b  2046c88 <msdos_date_dos2unix+0x120>         <== NOT EXECUTED
 2046bd0:	09 00 81 c8 	sethi  %hi(0x2072000), %g4                     <== NOT EXECUTED
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
			days += y & 0x03 ? 365 : 366;                                      
 2046bd4:	86 08 a0 03 	and  %g2, 3, %g3                               
 2046bd8:	80 a0 00 03 	cmp  %g0, %g3                                  
 2046bdc:	86 60 3f ff 	subx  %g0, -1, %g3                             
 2046be0:	86 00 e1 6d 	add  %g3, 0x16d, %g3                           
	 */                                                                  
	if (lastdosdate != dd) {                                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
 2046be4:	84 00 a0 01 	inc  %g2                                       
 2046be8:	80 a0 80 04 	cmp  %g2, %g4                                  
 2046bec:	12 bf ff fa 	bne  2046bd4 <msdos_date_dos2unix+0x6c>        
 2046bf0:	82 00 40 03 	add  %g1, %g3, %g1                             
			days += y & 0x03 ? 365 : 366;                                      
		months = year & 0x03 ? regyear : leapyear;                          
 2046bf4:	80 88 a0 03 	btst  3, %g2                                   
 2046bf8:	02 80 00 24 	be  2046c88 <msdos_date_dos2unix+0x120>        <== ALWAYS TAKEN
 2046bfc:	09 00 81 c8 	sethi  %hi(0x2072000), %g4                     
 2046c00:	09 00 81 c8 	sethi  %hi(0x2072000), %g4                     <== NOT EXECUTED
 2046c04:	88 11 23 c0 	or  %g4, 0x3c0, %g4	! 20723c0 <regyear>        <== NOT EXECUTED
		/*                                                                  
		 * Prevent going from 0 to 0xffffffff in the following              
		 * loop.                                                            
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
 2046c08:	9a 0a 21 e0 	and  %o0, 0x1e0, %o5                           
 2046c0c:	9b 33 60 05 	srl  %o5, 5, %o5                               
		if (month == 0) {                                                   
 2046c10:	80 a3 60 00 	cmp  %o5, 0                                    
 2046c14:	22 80 00 0d 	be,a   2046c48 <msdos_date_dos2unix+0xe0>      <== NEVER TAKEN
 2046c18:	90 0a 20 1f 	and  %o0, 0x1f, %o0                            <== NOT EXECUTED
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
 2046c1c:	80 a3 60 01 	cmp  %o5, 1                                    
 2046c20:	02 80 00 09 	be  2046c44 <msdos_date_dos2unix+0xdc>         <== ALWAYS TAKEN
 2046c24:	84 10 20 00 	clr  %g2                                       
 * Convert from dos' idea of time to unix'. This will probably only be
 * 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)                 
 2046c28:	9a 03 7f ff 	add  %o5, -1, %o5                              <== NOT EXECUTED
 2046c2c:	9b 2b 60 01 	sll  %o5, 1, %o5                               <== NOT EXECUTED
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
			days += months[m];                                                 
 2046c30:	c6 11 00 02 	lduh  [ %g4 + %g2 ], %g3                       <== NOT EXECUTED
 2046c34:	84 00 a0 02 	add  %g2, 2, %g2                               <== NOT EXECUTED
		 */                                                                 
		month = (dd & MSDOS_DD_MONTH_MASK) >> MSDOS_DD_MONTH_SHIFT;         
		if (month == 0) {                                                   
			month = 1;                                                         
		}                                                                   
		for (m = 0; m < month - 1; m++)                                     
 2046c38:	80 a0 80 0d 	cmp  %g2, %o5                                  <== NOT EXECUTED
 2046c3c:	12 bf ff fd 	bne  2046c30 <msdos_date_dos2unix+0xc8>        <== NOT EXECUTED
 2046c40:	82 00 40 03 	add  %g1, %g3, %g1                             <== NOT EXECUTED
			days += months[m];                                                 
		days += ((dd & MSDOS_DD_DAY_MASK) >> MSDOS_DD_DAY_SHIFT) - 1;       
 2046c44:	90 0a 20 1f 	and  %o0, 0x1f, %o0                            
 2046c48:	90 02 3f ff 	add  %o0, -1, %o0                              
 2046c4c:	82 02 00 01 	add  %o0, %g1, %g1                             
		lastseconds = (days + DAYSTO1980) * SECONDSPERDAY;                  
 2046c50:	85 28 60 07 	sll  %g1, 7, %g2                               
 2046c54:	83 28 60 09 	sll  %g1, 9, %g1                               
 2046c58:	82 20 40 02 	sub  %g1, %g2, %g1                             
 2046c5c:	85 28 60 04 	sll  %g1, 4, %g2                               
 2046c60:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2046c64:	85 28 60 04 	sll  %g1, 4, %g2                               
 2046c68:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2046c6c:	05 04 b3 a9 	sethi  %hi(0x12cea400), %g2                    
 2046c70:	84 10 a2 00 	or  %g2, 0x200, %g2	! 12cea600 <RAM_END+0x108ea600>
 2046c74:	90 00 40 02 	add  %g1, %g2, %o0                             
 2046c78:	05 00 81 d6 	sethi  %hi(0x2075800), %g2                     
 2046c7c:	d0 20 a0 0c 	st  %o0, [ %g2 + 0xc ]	! 207580c <lastseconds> 
	}                                                                    
	return seconds + lastseconds;                                        
}                                                                     
 2046c80:	81 c3 e0 08 	retl                                           
 2046c84:	90 02 00 09 	add  %o0, %o1, %o0                             
		lastdosdate = dd;                                                   
		days = 0;                                                           
		year = (dd & MSDOS_DD_YEAR_MASK) >> MSDOS_DD_YEAR_SHIFT;            
		for (y = 0; y < year; y++)                                          
			days += y & 0x03 ? 365 : 366;                                      
		months = year & 0x03 ? regyear : leapyear;                          
 2046c88:	10 bf ff e0 	b  2046c08 <msdos_date_dos2unix+0xa0>          
 2046c8c:	88 11 23 d8 	or  %g4, 0x3d8, %g4                            
 2046c90:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
 2046c94:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0	! 207580c <lastseconds> 
			days += months[m];                                                 
		days += ((dd & MSDOS_DD_DAY_MASK) >> MSDOS_DD_DAY_SHIFT) - 1;       
		lastseconds = (days + DAYSTO1980) * SECONDSPERDAY;                  
	}                                                                    
	return seconds + lastseconds;                                        
}                                                                     
 2046c98:	81 c3 e0 08 	retl                                           
 2046c9c:	90 02 00 09 	add  %o0, %o1, %o0                             
                                                                      

020469f0 <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) {
 20469f0:	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) {                                                 
 20469f4:	03 00 81 d5 	sethi  %hi(0x2075400), %g1                     
 20469f8:	c4 00 63 fc 	ld  [ %g1 + 0x3fc ], %g2	! 20757fc <lasttime>  
 20469fc:	80 a0 80 18 	cmp  %g2, %i0                                  
 2046a00:	02 80 00 4d 	be  2046b34 <msdos_date_unix2dos+0x144>        
 2046a04:	92 10 20 3c 	mov  0x3c, %o1                                 
		lasttime = t;                                                       
 2046a08:	f0 20 63 fc 	st  %i0, [ %g1 + 0x3fc ]                       
		lastdtime = (((t % 60) >> 1) << MSDOS_DT_2SECONDS_SHIFT)            
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
 2046a0c:	40 00 6c a4 	call  2061c9c <.udiv>                          
 2046a10:	90 10 00 18 	mov  %i0, %o0                                  
 2046a14:	40 00 6d 4e 	call  2061f4c <.urem>                          
 2046a18:	92 10 20 3c 	mov  0x3c, %o1                                 
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
 2046a1c:	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)            
 2046a20:	bb 2a 20 05 	sll  %o0, 5, %i5                               
		    + (((t / 60) % 60) << MSDOS_DT_MINUTES_SHIFT)                   
		    + (((t / 3600) % 24) << MSDOS_DT_HOURS_SHIFT);                  
 2046a24:	40 00 6c 9e 	call  2061c9c <.udiv>                          
 2046a28:	90 10 00 18 	mov  %i0, %o0                                  
 2046a2c:	40 00 6d 48 	call  2061f4c <.urem>                          
 2046a30:	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)            
 2046a34:	83 2a 20 0b 	sll  %o0, 0xb, %g1                             
 2046a38:	92 10 20 3c 	mov  0x3c, %o1                                 
 2046a3c:	ba 07 40 01 	add  %i5, %g1, %i5                             
 2046a40:	40 00 6d 43 	call  2061f4c <.urem>                          
 2046a44:	90 10 00 18 	mov  %i0, %o0                                  
 2046a48:	05 00 81 d6 	sethi  %hi(0x2075800), %g2                     
 2046a4c:	91 32 20 01 	srl  %o0, 1, %o0                               
 2046a50:	82 07 40 08 	add  %i5, %o0, %g1                             
		/*                                                                  
		 * 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);                                         
 2046a54:	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)            
 2046a58:	c2 30 a0 00 	sth  %g1, [ %g2 ]                              
 2046a5c:	ba 10 00 01 	mov  %g1, %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);                                         
 2046a60:	90 10 00 18 	mov  %i0, %o0                                  
 2046a64:	40 00 6c 8e 	call  2061c9c <.udiv>                          
 2046a68:	92 12 61 80 	or  %o1, 0x180, %o1                            
		if (days != lastday) {                                              
 2046a6c:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
 2046a70:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2	! 2075804 <lastday>       
 2046a74:	80 a2 00 02 	cmp  %o0, %g2                                  
 2046a78:	22 80 00 37 	be,a   2046b54 <msdos_date_unix2dos+0x164>     
 2046a7c:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
			lastday = days;                                                    
 2046a80:	d0 20 60 04 	st  %o0, [ %g1 + 4 ]	! 2075804 <lastday>       
			for (year = 1970;; year++) {                                       
 2046a84:	10 80 00 03 	b  2046a90 <msdos_date_unix2dos+0xa0>          
 2046a88:	82 10 27 b2 	mov  0x7b2, %g1                                
 2046a8c:	82 00 60 01 	inc  %g1                                       
				inc = year & 0x03 ? 365 : 366;                                    
 2046a90:	86 08 60 03 	and  %g1, 3, %g3                               
 2046a94:	80 a0 00 03 	cmp  %g0, %g3                                  
 2046a98:	84 60 3f ff 	subx  %g0, -1, %g2                             
 2046a9c:	84 00 a1 6d 	add  %g2, 0x16d, %g2                           
				if (days < inc)                                                   
 2046aa0:	80 a2 00 02 	cmp  %o0, %g2                                  
 2046aa4:	3a bf ff fa 	bcc,a   2046a8c <msdos_date_unix2dos+0x9c>     
 2046aa8:	90 22 00 02 	sub  %o0, %g2, %o0                             
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
 2046aac:	80 a0 e0 00 	cmp  %g3, 0                                    
 2046ab0:	02 80 00 1d 	be  2046b24 <msdos_date_unix2dos+0x134>        <== ALWAYS TAKEN
 2046ab4:	09 00 81 c8 	sethi  %hi(0x2072000), %g4                     
 2046ab8:	09 00 81 c8 	sethi  %hi(0x2072000), %g4                     <== NOT EXECUTED
 2046abc:	88 11 23 c0 	or  %g4, 0x3c0, %g4	! 20723c0 <regyear>        <== NOT EXECUTED
			for (month = 0; month < 12; month++) {                             
 2046ac0:	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,                    
 2046ac4:	87 28 a0 01 	sll  %g2, 1, %g3                               
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
				if (days < months[month])                                         
 2046ac8:	c6 11 00 03 	lduh  [ %g4 + %g3 ], %g3                       
 2046acc:	80 a0 c0 08 	cmp  %g3, %o0                                  
 2046ad0:	18 80 00 17 	bgu  2046b2c <msdos_date_unix2dos+0x13c>       <== ALWAYS TAKEN
 2046ad4:	84 00 a0 01 	inc  %g2                                       
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
			for (month = 0; month < 12; month++) {                             
 2046ad8:	80 a0 a0 0c 	cmp  %g2, 0xc                                  <== NOT EXECUTED
 2046adc:	12 bf ff fa 	bne  2046ac4 <msdos_date_unix2dos+0xd4>        <== NOT EXECUTED
 2046ae0:	90 22 00 03 	sub  %o0, %g3, %o0                             <== NOT EXECUTED
 2046ae4:	84 10 21 a0 	mov  0x1a0, %g2                                <== NOT EXECUTED
				if (days < months[month])                                         
					break;                                                           
				days -= months[month];                                            
			}                                                                  
			lastddate = ((days + 1) << MSDOS_DD_DAY_SHIFT)                     
 2046ae8:	84 00 a0 01 	inc  %g2                                       
			 * 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)                                                   
 2046aec:	80 a0 67 bc 	cmp  %g1, 0x7bc                                
			for (month = 0; month < 12; month++) {                             
				if (days < months[month])                                         
					break;                                                           
				days -= months[month];                                            
			}                                                                  
			lastddate = ((days + 1) << MSDOS_DD_DAY_SHIFT)                     
 2046af0:	90 00 80 08 	add  %g2, %o0, %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)                                                   
 2046af4:	08 80 00 06 	bleu  2046b0c <msdos_date_unix2dos+0x11c>      <== NEVER TAKEN
 2046af8:	84 10 00 08 	mov  %o0, %g2                                  
				lastddate += (year - 1980) <<                                     
 2046afc:	82 00 78 44 	add  %g1, -1980, %g1                           
 2046b00:	83 28 60 09 	sll  %g1, 9, %g1                               
 2046b04:	90 02 00 01 	add  %o0, %g1, %o0                             
 2046b08:	84 10 00 08 	mov  %o0, %g2                                  
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
 2046b0c:	fa 36 80 00 	sth  %i5, [ %i2 ]                              
			 * unix's is relative to 1970.  If somehow we get a                
			 * time before 1980 then don't give totally crazy                  
			 * results.                                                        
			 */                                                                
			if (year > 1980)                                                   
				lastddate += (year - 1980) <<                                     
 2046b10:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
	*ddp = lastddate;                                                    
 2046b14:	c4 36 40 00 	sth  %g2, [ %i1 ]                              
			 * unix's is relative to 1970.  If somehow we get a                
			 * time before 1980 then don't give totally crazy                  
			 * results.                                                        
			 */                                                                
			if (year > 1980)                                                   
				lastddate += (year - 1980) <<                                     
 2046b18:	d0 30 60 08 	sth  %o0, [ %g1 + 8 ]                          
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
	*ddp = lastddate;                                                    
 2046b1c:	81 c7 e0 08 	ret                                            
 2046b20:	81 e8 00 00 	restore                                        
				inc = year & 0x03 ? 365 : 366;                                    
				if (days < inc)                                                   
					break;                                                           
				days -= inc;                                                      
			}                                                                  
			months = year & 0x03 ? regyear : leapyear;                         
 2046b24:	10 bf ff e7 	b  2046ac0 <msdos_date_unix2dos+0xd0>          
 2046b28:	88 11 23 d8 	or  %g4, 0x3d8, %g4                            
 2046b2c:	10 bf ff ef 	b  2046ae8 <msdos_date_unix2dos+0xf8>          
 2046b30:	85 28 a0 05 	sll  %g2, 5, %g2                               
 2046b34:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
 2046b38:	fa 10 60 00 	lduh  [ %g1 ], %i5                             
 2046b3c:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
 2046b40:	c4 10 60 08 	lduh  [ %g1 + 8 ], %g2	! 2075808 <lastddate>   
			if (year > 1980)                                                   
				lastddate += (year - 1980) <<                                     
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
 2046b44:	fa 36 80 00 	sth  %i5, [ %i2 ]                              
	*ddp = lastddate;                                                    
 2046b48:	c4 36 40 00 	sth  %g2, [ %i1 ]                              
 2046b4c:	81 c7 e0 08 	ret                                            
 2046b50:	81 e8 00 00 	restore                                        
 2046b54:	c4 10 60 08 	lduh  [ %g1 + 8 ], %g2                         
			if (year > 1980)                                                   
				lastddate += (year - 1980) <<                                     
				             MSDOS_DD_YEAR_SHIFT;                                 
		}                                                                   
	}                                                                    
	*dtp = lastdtime;                                                    
 2046b58:	fa 36 80 00 	sth  %i5, [ %i2 ]                              
	*ddp = lastddate;                                                    
 2046b5c:	c4 36 40 00 	sth  %g2, [ %i1 ]                              
 2046b60:	81 c7 e0 08 	ret                                            
 2046b64:	81 e8 00 00 	restore                                        
                                                                      

0203a168 <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 ) {
 203a168:	9d e3 bf a0 	save  %sp, -96, %sp                            
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
 203a16c:	e0 06 20 08 	ld  [ %i0 + 8 ], %l0                           
             */                                                       
            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,     
 203a170:	25 00 81 b5 	sethi  %hi(0x206d400), %l2                     
 203a174:	e2 14 00 00 	lduh  [ %l0 ], %l1                             
 203a178:	ea 04 20 94 	ld  [ %l0 + 0x94 ], %l5                        
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
 203a17c:	29 00 81 b5 	sethi  %hi(0x206d400), %l4                     
    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;                                                 
 203a180:	c0 2e 80 00 	clrb  [ %i2 ]                                  
    bool                                 *ret_val                     
    )                                                                 
{                                                                     
    ssize_t          ret = 0;                                         
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         j = 0, i = 0;                                    
 203a184:	a6 10 20 00 	clr  %l3                                       
 203a188:	a3 2c 60 10 	sll  %l1, 0x10, %l1                            
             */                                                       
            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,     
 203a18c:	a4 14 a3 18 	or  %l2, 0x318, %l2                            
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
 203a190:	a8 15 23 28 	or  %l4, 0x328, %l4                            
    uint32_t         j = 0, i = 0;                                    
                                                                      
    /* dir is not empty */                                            
    *ret_val = false;                                                 
                                                                      
    while ((ret = fat_file_read(&fs_info->fat, fat_fd, j * fs_info->fat.vol.bps,
 203a194:	a3 34 60 10 	srl  %l1, 0x10, %l1                            
 203a198:	92 10 00 13 	mov  %l3, %o1                                  
 203a19c:	7f ff 23 72 	call  2002f64 <.umul>                          
 203a1a0:	90 10 00 11 	mov  %l1, %o0                                  
 203a1a4:	92 10 00 19 	mov  %i1, %o1                                  
 203a1a8:	94 10 00 08 	mov  %o0, %o2                                  
 203a1ac:	96 10 00 11 	mov  %l1, %o3                                  
 203a1b0:	90 10 00 10 	mov  %l0, %o0                                  
 203a1b4:	7f ff bb 43 	call  2028ec0 <fat_file_read>                  
 203a1b8:	98 10 00 15 	mov  %l5, %o4                                  
 203a1bc:	80 a2 20 00 	cmp  %o0, 0                                    
 203a1c0:	02 80 00 34 	be  203a290 <msdos_dir_is_empty+0x128>         <== NEVER TAKEN
 203a1c4:	80 a2 20 1f 	cmp  %o0, 0x1f                                 
                                  fs_info->fat.vol.bps,               
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
 203a1c8:	04 80 00 27 	ble  203a264 <msdos_dir_is_empty+0xfc>         <== NEVER TAKEN
 203a1cc:	b0 10 3f ff 	mov  -1, %i0                                   
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
 203a1d0:	e2 14 00 00 	lduh  [ %l0 ], %l1                             
 203a1d4:	a3 2c 60 10 	sll  %l1, 0x10, %l1                            
 203a1d8:	b1 34 60 10 	srl  %l1, 0x10, %i0                            
 203a1dc:	80 a6 00 08 	cmp  %i0, %o0                                  
 203a1e0:	12 80 00 2e 	bne  203a298 <msdos_dir_is_empty+0x130>        <== NEVER TAKEN
 203a1e4:	80 a6 20 00 	cmp  %i0, 0                                    
                                                                      
        /* have to look at the DIR_NAME as "raw" 8-bit data */        
        for (i = 0;                                                   
 203a1e8:	02 80 00 27 	be  203a284 <msdos_dir_is_empty+0x11c>         <== NEVER TAKEN
 203a1ec:	b8 10 20 00 	clr  %i4                                       
 203a1f0:	ea 04 20 94 	ld  [ %l0 + 0x94 ], %l5                        
 203a1f4:	ba 10 00 15 	mov  %l5, %i5                                  
             * 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)) ==                    
 203a1f8:	f6 0f 40 00 	ldub  [ %i5 ], %i3                             
 203a1fc:	80 a6 e0 e5 	cmp  %i3, 0xe5                                 
 203a200:	22 80 00 1c 	be,a   203a270 <msdos_dir_is_empty+0x108>      <== NEVER TAKEN
 203a204:	b8 07 20 20 	add  %i4, 0x20, %i4                            <== NOT EXECUTED
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
 203a208:	c2 0f 60 0b 	ldub  [ %i5 + 0xb ], %g1                       
             *                                                        
             * 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) ||                       
 203a20c:	82 08 60 3f 	and  %g1, 0x3f, %g1                            
 203a210:	80 a0 60 0f 	cmp  %g1, 0xf                                  
 203a214:	02 80 00 16 	be  203a26c <msdos_dir_is_empty+0x104>         <== NEVER TAKEN
 203a218:	90 10 00 1d 	mov  %i5, %o0                                  
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
 203a21c:	92 10 00 12 	mov  %l2, %o1                                  
 203a220:	40 00 55 df 	call  204f99c <strncmp>                        
 203a224:	94 10 20 0b 	mov  0xb, %o2                                  
             * be valid.                                              
             */                                                       
            if (((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                    
                 MSDOS_THIS_DIR_ENTRY_EMPTY) ||                       
                ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) ==    
                 MSDOS_ATTR_LFN) ||                                   
 203a228:	80 a2 20 00 	cmp  %o0, 0                                    
 203a22c:	22 80 00 11 	be,a   203a270 <msdos_dir_is_empty+0x108>      
 203a230:	b8 07 20 20 	add  %i4, 0x20, %i4                            
                (strncmp(MSDOS_DIR_NAME((entry)), MSDOS_DOT_NAME,     
                         MSDOS_SHORT_NAME_LEN) == 0) ||               
                (strncmp(MSDOS_DIR_NAME((entry)),                     
 203a234:	90 10 00 1d 	mov  %i5, %o0                                  
 203a238:	92 10 00 14 	mov  %l4, %o1                                  
 203a23c:	40 00 55 d8 	call  204f99c <strncmp>                        
 203a240:	94 10 20 0b 	mov  0xb, %o2                                  
            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) ||               
 203a244:	80 a2 20 00 	cmp  %o0, 0                                    
 203a248:	22 80 00 0a 	be,a   203a270 <msdos_dir_is_empty+0x108>      
 203a24c:	b8 07 20 20 	add  %i4, 0x20, %i4                            
                continue;                                             
                                                                      
            /*                                                        
             * Nothing more to look at.                               
             */                                                       
            if ((*MSDOS_DIR_NAME(entry)) ==                           
 203a250:	80 a6 e0 00 	cmp  %i3, 0                                    
 203a254:	12 80 00 04 	bne  203a264 <msdos_dir_is_empty+0xfc>         
 203a258:	b0 10 20 00 	clr  %i0                                       
             */                                                       
            return RC_OK;                                             
        }                                                             
        j++;                                                          
    }                                                                 
    *ret_val = true;                                                  
 203a25c:	82 10 20 01 	mov  1, %g1                                    
 203a260:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              
    return RC_OK;                                                     
 203a264:	81 c7 e0 08 	ret                                            
 203a268:	81 e8 00 00 	restore                                        
        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)                  
 203a26c:	b8 07 20 20 	add  %i4, 0x20, %i4                            <== 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;                                                   
 203a270:	80 a7 00 18 	cmp  %i4, %i0                                  
 203a274:	0a bf ff e1 	bcs  203a1f8 <msdos_dir_is_empty+0x90>         <== ALWAYS TAKEN
 203a278:	ba 07 60 20 	add  %i5, 0x20, %i5                            
            /*                                                        
             * Short file name entries mean not empty.                
             */                                                       
            return RC_OK;                                             
        }                                                             
        j++;                                                          
 203a27c:	10 bf ff c6 	b  203a194 <msdos_dir_is_empty+0x2c>           <== NOT EXECUTED
 203a280:	a6 04 e0 01 	inc  %l3                                       <== NOT EXECUTED
 203a284:	ea 04 20 94 	ld  [ %l0 + 0x94 ], %l5                        <== NOT EXECUTED
 203a288:	10 bf ff c3 	b  203a194 <msdos_dir_is_empty+0x2c>           <== NOT EXECUTED
 203a28c:	a6 04 e0 01 	inc  %l3                                       <== NOT EXECUTED
    }                                                                 
    *ret_val = true;                                                  
    return RC_OK;                                                     
 203a290:	10 bf ff f3 	b  203a25c <msdos_dir_is_empty+0xf4>           <== NOT EXECUTED
 203a294:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
            return -1;                                                
                                                                      
        assert(ret == fs_info->fat.vol.bps);                          
 203a298:	11 00 81 b5 	sethi  %hi(0x206d400), %o0                     <== NOT EXECUTED
 203a29c:	15 00 81 b5 	sethi  %hi(0x206d400), %o2                     <== NOT EXECUTED
 203a2a0:	17 00 81 b5 	sethi  %hi(0x206d400), %o3                     <== NOT EXECUTED
 203a2a4:	90 12 22 a8 	or  %o0, 0x2a8, %o0                            <== NOT EXECUTED
 203a2a8:	92 10 23 60 	mov  0x360, %o1                                <== NOT EXECUTED
 203a2ac:	94 12 a3 60 	or  %o2, 0x360, %o2                            <== NOT EXECUTED
 203a2b0:	7f ff c4 6e 	call  202b468 <__assert_func>                  <== NOT EXECUTED
 203a2b4:	96 12 e2 f8 	or  %o3, 0x2f8, %o3                            <== NOT EXECUTED
                                                                      

02046ea4 <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) {
 2046ea4:	9d e3 be 60 	save  %sp, -416, %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;     
 2046ea8:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== 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);                      
 2046eac:	d0 1e 20 08 	ldd  [ %i0 + 8 ], %o0                          <== NOT EXECUTED
 2046eb0:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2046eb4:	96 10 21 18 	mov  0x118, %o3                                <== 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;     
 2046eb8:	ee 00 60 08 	ld  [ %g1 + 8 ], %l7                           <== NOT EXECUTED
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 2046ebc:	ea 06 20 1c 	ld  [ %i0 + 0x1c ], %l5                        <== NOT EXECUTED
    fat_file_fd_t     *tmp_fat_fd = NULL;                             
 2046ec0:	c0 27 be d0 	clr  [ %fp + -304 ]                            <== 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);                      
 2046ec4:	40 00 6d 33 	call  2062390 <__divdi3>                       <== NOT EXECUTED
 2046ec8:	c0 27 be d4 	clr  [ %fp + -300 ]                            <== NOT EXECUTED
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
 2046ecc:	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);                      
 2046ed0:	b6 10 00 09 	mov  %o1, %i3                                  <== NOT EXECUTED
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
 2046ed4:	40 00 6b 72 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2046ed8:	92 10 21 18 	mov  0x118, %o1                                <== 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                              :     
 2046edc:	c4 05 60 20 	ld  [ %l5 + 0x20 ], %g2                        <== 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);                      
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
 2046ee0:	a3 2a 20 03 	sll  %o0, 3, %l1                               <== 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)        
{                                                                     
 2046ee4:	a4 10 00 18 	mov  %i0, %l2                                  <== 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);                      
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
 2046ee8:	91 2a 20 05 	sll  %o0, 5, %o0                               <== 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                              :     
 2046eec:	80 a0 a0 01 	cmp  %g2, 1                                    <== 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);                      
    count = (count / sizeof(struct dirent)) * sizeof(struct dirent);  
 2046ef0:	90 04 40 08 	add  %l1, %o0, %o0                             <== NOT EXECUTED
 2046ef4:	a3 2a 20 03 	sll  %o0, 3, %l1                               <== 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                              :     
 2046ef8:	02 80 00 f0 	be  20472b8 <msdos_dir_read+0x414>             <== NOT EXECUTED
 2046efc:	a2 24 40 08 	sub  %l1, %o0, %l1                             <== NOT EXECUTED
 2046f00:	c2 15 e0 06 	lduh  [ %l7 + 6 ], %g1                         <== NOT EXECUTED
 2046f04:	c2 27 be c4 	st  %g1, [ %fp + -316 ]                        <== NOT EXECUTED
             fs_info->fat.vol.bpc;                                    
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2046f08:	d0 05 e0 90 	ld  [ %l7 + 0x90 ], %o0                        <== NOT EXECUTED
 2046f0c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2046f10:	7f ff 1c 2d 	call  200dfc4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2046f14:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2046f18:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2046f1c:	12 80 01 35 	bne  20473f0 <msdos_dir_read+0x54c>            <== NOT EXECUTED
 2046f20:	80 a4 60 00 	cmp  %l1, 0                                    <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    while (count > 0)                                                 
 2046f24:	02 80 00 3a 	be  204700c <msdos_dir_read+0x168>             <== NOT EXECUTED
 2046f28:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2046f2c:	a6 10 20 00 	clr  %l3                                       <== NOT EXECUTED
 2046f30:	a8 10 20 00 	clr  %l4                                       <== NOT EXECUTED
 2046f34:	c0 2f be cf 	clrb  [ %fp + -305 ]                           <== NOT EXECUTED
 2046f38:	b4 10 3f ff 	mov  -1, %i2                                   <== NOT EXECUTED
 2046f3c:	a0 10 20 00 	clr  %l0                                       <== 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(&fs_info->fat, fat_fd, (j * bts2rd),      
 2046f40:	d8 05 e0 94 	ld  [ %l7 + 0x94 ], %o4                        <== NOT EXECUTED
 2046f44:	d6 07 be c4 	ld  [ %fp + -316 ], %o3                        <== NOT EXECUTED
 2046f48:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
 2046f4c:	92 10 00 15 	mov  %l5, %o1                                  <== NOT EXECUTED
 2046f50:	7f ff 87 dc 	call  2028ec0 <fat_file_read>                  <== NOT EXECUTED
 2046f54:	94 10 00 13 	mov  %l3, %o2                                  <== NOT EXECUTED
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
 2046f58:	80 a2 20 1f 	cmp  %o0, 0x1f                                 <== NOT EXECUTED
 2046f5c:	04 80 01 1c 	ble  20473cc <msdos_dir_read+0x528>            <== NOT EXECUTED
 2046f60:	ac 10 00 08 	mov  %o0, %l6                                  <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
        }                                                             
                                                                      
        for (i = 0; i < ret; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)  
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
 2046f64:	f8 05 e0 94 	ld  [ %l7 + 0x94 ], %i4                        <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
 2046f68:	c6 0f 00 00 	ldub  [ %i4 ], %g3                             <== NOT EXECUTED
 2046f6c:	88 88 e0 ff 	andcc  %g3, 0xff, %g4                          <== NOT EXECUTED
 2046f70:	02 80 00 cd 	be  20472a4 <msdos_dir_read+0x400>             <== NOT EXECUTED
 2046f74:	ba 10 20 00 	clr  %i5                                       <== 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)
 2046f78:	10 80 00 0f 	b  2046fb4 <msdos_dir_read+0x110>              <== NOT EXECUTED
 2046f7c:	80 a1 20 e5 	cmp  %g4, 0xe5                                 <== NOT EXECUTED
                continue;                                             
                                                                      
            /* Is the directory entry empty a volume label */         
            if (((*MSDOS_DIR_ATTR(entry)) & MSDOS_ATTR_VOLUME_ID) &&  
 2046f80:	80 a1 20 0f 	cmp  %g4, 0xf                                  <== NOT EXECUTED
 2046f84:	02 80 00 27 	be  2047020 <msdos_dir_read+0x17c>             <== NOT EXECUTED
 2046f88:	80 a6 bf ff 	cmp  %i2, -1                                   <== 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)  
 2046f8c:	ba 07 60 20 	add  %i5, 0x20, %i5                            <== NOT EXECUTED
 2046f90:	80 a7 40 16 	cmp  %i5, %l6                                  <== NOT EXECUTED
 2046f94:	1a 80 00 1a 	bcc  2046ffc <msdos_dir_read+0x158>            <== NOT EXECUTED
 2046f98:	c2 07 be c4 	ld  [ %fp + -316 ], %g1                        <== NOT EXECUTED
        {                                                             
            char* entry = (char*) fs_info->cl_buf + i;                
 2046f9c:	f8 05 e0 94 	ld  [ %l7 + 0x94 ], %i4                        <== NOT EXECUTED
                                                                      
            /*                                                        
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
 2046fa0:	c6 0f 00 1d 	ldub  [ %i4 + %i5 ], %g3                       <== NOT EXECUTED
 2046fa4:	88 88 e0 ff 	andcc  %g3, 0xff, %g4                          <== NOT EXECUTED
 2046fa8:	02 80 00 bf 	be  20472a4 <msdos_dir_read+0x400>             <== NOT EXECUTED
 2046fac:	b8 07 00 1d 	add  %i4, %i5, %i4                             <== 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)
 2046fb0:	80 a1 20 e5 	cmp  %g4, 0xe5                                 <== NOT EXECUTED
 2046fb4:	22 bf ff f7 	be,a   2046f90 <msdos_dir_read+0xec>           <== NOT EXECUTED
 2046fb8:	ba 07 60 20 	add  %i5, 0x20, %i5                            <== NOT EXECUTED
                continue;                                             
                                                                      
            /* Is the directory entry empty a volume label */         
            if (((*MSDOS_DIR_ATTR(entry)) & MSDOS_ATTR_VOLUME_ID) &&  
 2046fbc:	c8 0f 20 0b 	ldub  [ %i4 + 0xb ], %g4                       <== NOT EXECUTED
 2046fc0:	9e 09 20 08 	and  %g4, 8, %o7                               <== NOT EXECUTED
 2046fc4:	80 8b e0 ff 	btst  0xff, %o7                                <== NOT EXECUTED
 2046fc8:	12 bf ff ee 	bne  2046f80 <msdos_dir_read+0xdc>             <== NOT EXECUTED
 2046fcc:	88 09 20 3f 	and  %g4, 0x3f, %g4                            <== 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) ==     
 2046fd0:	80 a1 20 0f 	cmp  %g4, 0xf                                  <== NOT EXECUTED
 2046fd4:	02 80 00 12 	be  204701c <msdos_dir_read+0x178>             <== NOT EXECUTED
 2046fd8:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
                fat_dir_pos_t dir_pos;                                
                                                                      
                /*                                                    
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
 2046fdc:	02 80 00 3b 	be  20470c8 <msdos_dir_read+0x224>             <== NOT EXECUTED
 2046fe0:	90 10 00 17 	mov  %l7, %o0                                  <== 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)  
 2046fe4:	ba 07 60 20 	add  %i5, 0x20, %i5                            <== NOT EXECUTED
                 * Skip active entries until get the entry to start from.
                 */                                                   
                if (start)                                            
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
                    start--;                                          
 2046fe8:	b6 06 ff ff 	add  %i3, -1, %i3                              <== 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)  
 2046fec:	80 a7 40 16 	cmp  %i5, %l6                                  <== NOT EXECUTED
 2046ff0:	0a bf ff eb 	bcs  2046f9c <msdos_dir_read+0xf8>             <== NOT EXECUTED
 2046ff4:	b4 10 3f ff 	mov  -1, %i2                                   <== NOT EXECUTED
 2046ff8:	c2 07 be c4 	ld  [ %fp + -316 ], %g1                        <== 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)                                                 
 2046ffc:	80 a4 60 00 	cmp  %l1, 0                                    <== NOT EXECUTED
 2047000:	12 bf ff d0 	bne  2046f40 <msdos_dir_read+0x9c>             <== NOT EXECUTED
 2047004:	a6 04 c0 01 	add  %l3, %g1, %l3                             <== NOT EXECUTED
 2047008:	b0 10 00 10 	mov  %l0, %i0                                  <== NOT EXECUTED
                break;                                                
        }                                                             
        j++;                                                          
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 204700c:	7f ff 1c 3e 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2047010:	d0 05 e0 90 	ld  [ %l7 + 0x90 ], %o0                        <== NOT EXECUTED
 2047014:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047018:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                int   q;                                              
                                                                      
                /*                                                    
                 * Is this is the first entry of a LFN ?              
                 */                                                   
                if (lfn_start == FAT_FILE_SHORT_NAME)                 
 204701c:	80 a6 bf ff 	cmp  %i2, -1                                   <== NOT EXECUTED
 2047020:	02 80 00 93 	be  204726c <msdos_dir_read+0x3c8>             <== NOT EXECUTED
 2047024:	88 08 e0 40 	and  %g3, 0x40, %g4                            <== 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) &   
 2047028:	c6 0f 00 00 	ldub  [ %i4 ], %g3                             <== NOT EXECUTED
 204702c:	86 08 e0 3f 	and  %g3, 0x3f, %g3                            <== NOT EXECUTED
 2047030:	80 a0 c0 14 	cmp  %g3, %l4                                  <== NOT EXECUTED
 2047034:	22 80 00 04 	be,a   2047044 <msdos_dir_read+0x1a0>          <== NOT EXECUTED
 2047038:	d8 0f 20 0d 	ldub  [ %i4 + 0xd ], %o4                       <== NOT EXECUTED
                                     MSDOS_LAST_LONG_ENTRY_MASK)) ||  
                    (lfn_checksum != *MSDOS_DIR_LFN_CHECKSUM(entry))) 
                {                                                     
                    lfn_start = FAT_FILE_SHORT_NAME;                  
 204703c:	10 bf ff d4 	b  2046f8c <msdos_dir_read+0xe8>               <== NOT EXECUTED
 2047040:	b4 10 3f ff 	mov  -1, %i2                                   <== NOT EXECUTED
                 * 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) &   
                                     MSDOS_LAST_LONG_ENTRY_MASK)) ||  
 2047044:	c6 0f be cf 	ldub  [ %fp + -305 ], %g3                      <== NOT EXECUTED
 2047048:	88 0b 20 ff 	and  %o4, 0xff, %g4                            <== NOT EXECUTED
 204704c:	80 a1 00 03 	cmp  %g4, %g3                                  <== NOT EXECUTED
 2047050:	32 bf ff cf 	bne,a   2046f8c <msdos_dir_read+0xe8>          <== NOT EXECUTED
 2047054:	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--;                                        
 2047058:	a8 05 3f ff 	add  %l4, -1, %l4                              <== NOT EXECUTED
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
 204705c:	87 2d 20 02 	sll  %l4, 2, %g3                               <== NOT EXECUTED
 2047060:	95 2d 20 04 	sll  %l4, 4, %o2                               <== 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;                                        
 2047064:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
 2047068:	94 22 80 03 	sub  %o2, %g3, %o2                             <== NOT EXECUTED
 204706c:	9e 10 20 01 	mov  1, %o7                                    <== NOT EXECUTED
 2047070:	94 02 80 14 	add  %o2, %l4, %o2                             <== NOT EXECUTED
 2047074:	86 10 00 0a 	mov  %o2, %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)        
 2047078:	82 07 be e8 	add  %fp, -280, %g1                            <== NOT EXECUTED
 204707c:	88 20 c0 0a 	sub  %g3, %o2, %g4                             <== NOT EXECUTED
                p = entry + 1;                                        
                o = lfn_entries * MSDOS_LFN_LEN_PER_ENTRY;            
                                                                      
                for (q = 0; q < MSDOS_LFN_LEN_PER_ENTRY; q++)         
                {                                                     
                    if (o >= (sizeof(tmp_dirent.d_name) - 1))         
 2047080:	80 a0 e0 fe 	cmp  %g3, 0xfe                                 <== NOT EXECUTED
 2047084:	18 80 00 98 	bgu  20472e4 <msdos_dir_read+0x440>            <== NOT EXECUTED
 2047088:	9a 00 40 03 	add  %g1, %g3, %o5                             <== NOT EXECUTED
                        break;                                        
                                                                      
                    tmp_dirent.d_name[o++] = *p;                      
 204708c:	d6 0f 00 00 	ldub  [ %i4 ], %o3                             <== NOT EXECUTED
 2047090:	d6 2b 60 14 	stb  %o3, [ %o5 + 0x14 ]                       <== NOT EXECUTED
                                                                      
                    if (*p == '\0')                                   
 2047094:	da 4f 00 00 	ldsb  [ %i4 ], %o5                             <== NOT EXECUTED
 2047098:	80 a3 60 00 	cmp  %o5, 0                                    <== NOT EXECUTED
 204709c:	02 80 00 92 	be  20472e4 <msdos_dir_read+0x440>             <== NOT EXECUTED
 20470a0:	86 00 e0 01 	inc  %g3                                       <== NOT EXECUTED
                        break;                                        
                                                                      
                    switch (q)                                        
 20470a4:	80 a1 20 04 	cmp  %g4, 4                                    <== NOT EXECUTED
 20470a8:	02 80 00 91 	be  20472ec <msdos_dir_read+0x448>             <== NOT EXECUTED
 20470ac:	80 a1 20 0a 	cmp  %g4, 0xa                                  <== NOT EXECUTED
 20470b0:	02 80 00 92 	be  20472f8 <msdos_dir_read+0x454>             <== NOT EXECUTED
 20470b4:	80 a3 e0 0d 	cmp  %o7, 0xd                                  <== 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++)         
 20470b8:	02 80 00 8b 	be  20472e4 <msdos_dir_read+0x440>             <== NOT EXECUTED
 20470bc:	b8 07 20 02 	add  %i4, 2, %i4                               <== NOT EXECUTED
 20470c0:	10 bf ff ef 	b  204707c <msdos_dir_read+0x1d8>              <== NOT EXECUTED
 20470c4:	9e 03 e0 01 	inc  %o7                                       <== 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(&fs_info->fat, fat_fd, F_CLU_NUM, 
 20470c8:	92 10 00 15 	mov  %l5, %o1                                  <== NOT EXECUTED
 20470cc:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 20470d0:	96 10 00 13 	mov  %l3, %o3                                  <== NOT EXECUTED
 20470d4:	7f ff 88 6f 	call  2029290 <fat_file_ioctl>                 <== NOT EXECUTED
 20470d8:	98 07 be d4 	add  %fp, -300, %o4                            <== NOT EXECUTED
                                    j * bts2rd, &cur_cln);            
                if (rc != RC_OK)                                      
 20470dc:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 20470e0:	12 bf ff cb 	bne  204700c <msdos_dir_read+0x168>            <== NOT EXECUTED
 20470e4:	c6 07 be d4 	ld  [ %fp + -300 ], %g3                        <== 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;                           
 20470e8:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
                                                                      
                fat_dir_pos_init(&dir_pos);                           
                dir_pos.sname.cln = cur_cln;                          
 20470ec:	c6 27 be d8 	st  %g3, [ %fp + -296 ]                        <== NOT EXECUTED
 20470f0:	c2 27 be e0 	st  %g1, [ %fp + -288 ]                        <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 20470f4:	c2 27 be e4 	st  %g1, [ %fp + -284 ]                        <== NOT EXECUTED
                dir_pos.sname.ofs = i;                                
 20470f8:	fa 27 be dc 	st  %i5, [ %fp + -292 ]                        <== NOT EXECUTED
                rc = fat_file_open(&fs_info->fat, &dir_pos, &tmp_fat_fd);
 20470fc:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
 2047100:	92 07 be d8 	add  %fp, -296, %o1                            <== NOT EXECUTED
 2047104:	7f ff 86 bb 	call  2028bf0 <fat_file_open>                  <== NOT EXECUTED
 2047108:	94 07 be d0 	add  %fp, -304, %o2                            <== NOT EXECUTED
                if (rc != RC_OK)                                      
 204710c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2047110:	12 bf ff bf 	bne  204700c <msdos_dir_read+0x168>            <== NOT EXECUTED
 2047114:	c6 07 be d0 	ld  [ %fp + -304 ], %g3                        <== 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);          
 2047118:	82 10 21 18 	mov  0x118, %g1                                <== NOT EXECUTED
                tmp_dirent.d_ino = tmp_fat_fd->ino;                   
 204711c:	c6 00 e0 0c 	ld  [ %g3 + 0xc ], %g3                         <== 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;                    
 2047120:	c0 27 be f0 	clr  [ %fp + -272 ]                            <== NOT EXECUTED
 2047124:	e0 27 be f4 	st  %l0, [ %fp + -268 ]                        <== NOT EXECUTED
                tmp_dirent.d_reclen = sizeof(struct dirent);          
 2047128:	c2 37 be f8 	sth  %g1, [ %fp + -264 ]                       <== 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)                 
 204712c:	80 a6 bf ff 	cmp  %i2, -1                                   <== NOT EXECUTED
 2047130:	02 80 00 35 	be  2047204 <msdos_dir_read+0x360>             <== NOT EXECUTED
 2047134:	c6 27 be e8 	st  %g3, [ %fp + -280 ]                        <== 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)        
 2047138:	9a 07 20 0b 	add  %i4, 0xb, %o5                             <== NOT EXECUTED
 204713c:	86 10 00 1c 	mov  %i4, %g3                                  <== NOT EXECUTED
 2047140:	9e 10 20 00 	clr  %o7                                       <== 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;  
 2047144:	10 80 00 06 	b  204715c <msdos_dir_read+0x2b8>              <== NOT EXECUTED
 2047148:	88 10 20 00 	clr  %g4                                       <== NOT EXECUTED
 204714c:	80 a0 00 0c 	cmp  %g0, %o4                                  <== NOT EXECUTED
 2047150:	88 40 3f ff 	addx  %g0, -1, %g4                             <== NOT EXECUTED
 2047154:	88 09 20 80 	and  %g4, 0x80, %g4                            <== NOT EXECUTED
 2047158:	88 01 3f 80 	add  %g4, -128, %g4                            <== NOT EXECUTED
 204715c:	d8 08 c0 00 	ldub  [ %g3 ], %o4                             <== NOT EXECUTED
 2047160:	9e 0b e0 ff 	and  %o7, 0xff, %o7                            <== NOT EXECUTED
 2047164:	9f 33 e0 01 	srl  %o7, 1, %o7                               <== NOT EXECUTED
 2047168:	9e 03 00 0f 	add  %o4, %o7, %o7                             <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
 204716c:	86 00 e0 01 	inc  %g3                                       <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
 2047170:	88 03 c0 04 	add  %o7, %g4, %g4                             <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
 2047174:	80 a0 c0 0d 	cmp  %g3, %o5                                  <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
 2047178:	98 09 20 01 	and  %g4, 1, %o4                               <== NOT EXECUTED
                {                                                     
                    uint8_t  cs = 0;                                  
                    uint8_t* p = (uint8_t*) entry;                    
                    int      i;                                       
                                                                      
                    for (i = 0; i < 11; i++, p++)                     
 204717c:	12 bf ff f4 	bne  204714c <msdos_dir_read+0x2a8>            <== NOT EXECUTED
 2047180:	9e 10 00 04 	mov  %g4, %o7                                  <== NOT EXECUTED
                        cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;  
                                                                      
                    if (lfn_entries || (lfn_checksum != cs))          
 2047184:	c2 0f be cf 	ldub  [ %fp + -305 ], %g1                      <== NOT EXECUTED
 2047188:	9e 18 40 0f 	xor  %g1, %o7, %o7                             <== NOT EXECUTED
 204718c:	80 8b e0 ff 	btst  0xff, %o7                                <== NOT EXECUTED
 2047190:	12 80 00 1e 	bne  2047208 <msdos_dir_read+0x364>            <== NOT EXECUTED
 2047194:	92 10 20 08 	mov  8, %o1                                    <== NOT EXECUTED
 2047198:	80 a5 20 00 	cmp  %l4, 0                                    <== NOT EXECUTED
 204719c:	12 80 00 1c 	bne  204720c <msdos_dir_read+0x368>            <== NOT EXECUTED
 20471a0:	9e 07 00 09 	add  %i4, %o1, %o7                             <== 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);  
 20471a4:	40 00 21 98 	call  204f804 <strlen>                         <== NOT EXECUTED
 20471a8:	90 07 be fc 	add  %fp, -260, %o0                            <== NOT EXECUTED
 20471ac:	d0 37 be fa 	sth  %o0, [ %fp + -262 ]                       <== NOT EXECUTED
                }                                                     
                                                                      
                memcpy(buffer + cmpltd, &tmp_dirent, sizeof(struct dirent));
 20471b0:	90 06 40 10 	add  %i1, %l0, %o0                             <== NOT EXECUTED
 20471b4:	92 07 be e8 	add  %fp, -280, %o1                            <== NOT EXECUTED
 20471b8:	40 00 13 13 	call  204be04 <memcpy>                         <== NOT EXECUTED
 20471bc:	94 10 21 18 	mov  0x118, %o2                                <== NOT EXECUTED
                                                                      
                iop->offset = iop->offset + sizeof(struct dirent);    
 20471c0:	d8 1c a0 08 	ldd  [ %l2 + 8 ], %o4                          <== NOT EXECUTED
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(&fs_info->fat, tmp_fat_fd);       
 20471c4:	d2 07 be d0 	ld  [ %fp + -304 ], %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);    
 20471c8:	9a 83 61 18 	addcc  %o5, 0x118, %o5                         <== NOT EXECUTED
 20471cc:	98 43 20 00 	addx  %o4, 0, %o4                              <== NOT EXECUTED
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(&fs_info->fat, tmp_fat_fd);       
 20471d0:	90 10 00 17 	mov  %l7, %o0                                  <== 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);    
 20471d4:	d8 3c a0 08 	std  %o4, [ %l2 + 8 ]                          <== NOT EXECUTED
                cmpltd += (sizeof(struct dirent));                    
                count -= (sizeof(struct dirent));                     
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(&fs_info->fat, tmp_fat_fd);       
 20471d8:	7f ff 88 00 	call  20291d8 <fat_file_close>                 <== NOT EXECUTED
 20471dc:	a0 04 21 18 	add  %l0, 0x118, %l0                           <== 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));                     
 20471e0:	a2 04 7e e8 	add  %l1, -280, %l1                            <== NOT EXECUTED
                                                                      
                /* inode number extracted, close fat-file */          
                rc = fat_file_close(&fs_info->fat, tmp_fat_fd);       
                if (rc != RC_OK)                                      
 20471e4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20471e8:	12 bf ff 89 	bne  204700c <msdos_dir_read+0x168>            <== NOT EXECUTED
 20471ec:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                    rtems_semaphore_release(fs_info->vol_sema);       
                    return rc;                                        
                }                                                     
            }                                                         
                                                                      
            if (count <= 0)                                           
 20471f0:	80 a4 60 00 	cmp  %l1, 0                                    <== NOT EXECUTED
 20471f4:	32 bf ff 67 	bne,a   2046f90 <msdos_dir_read+0xec>          <== NOT EXECUTED
 20471f8:	ba 07 60 20 	add  %i5, 0x20, %i5                            <== NOT EXECUTED
 20471fc:	10 bf ff 84 	b  204700c <msdos_dir_read+0x168>              <== NOT EXECUTED
 2047200:	b0 10 00 10 	mov  %l0, %i0                                  <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
 2047204:	92 10 20 08 	mov  8, %o1                                    <== 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)        
 2047208:	9e 07 00 09 	add  %i4, %o1, %o7                             <== 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) &&                                                    
 204720c:	c6 4b ff ff 	ldsb  [ %o7 + -1 ], %g3                        <== NOT EXECUTED
 2047210:	80 a0 e0 20 	cmp  %g3, 0x20                                 <== NOT EXECUTED
 2047214:	12 80 00 3c 	bne  2047304 <msdos_dir_read+0x460>            <== NOT EXECUTED
 2047218:	03 00 81 c8 	sethi  %hi(0x2072000), %g1                     <== NOT EXECUTED
  const char *src_tmp;                                                
                                                                      
  /*                                                                  
   * find last non-blank character of base name                       
   */                                                                 
  for ((i       =       MSDOS_SHORT_BASE_LEN  ,                       
 204721c:	92 82 7f ff 	addcc  %o1, -1, %o1                            <== NOT EXECUTED
 2047220:	32 bf ff fb 	bne,a   204720c <msdos_dir_read+0x368>         <== NOT EXECUTED
 2047224:	9e 07 00 09 	add  %i4, %o1, %o7                             <== 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(
 2047228:	88 07 be fc 	add  %fp, -260, %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) &&                                                    
 204722c:	c6 4f 20 0a 	ldsb  [ %i4 + 0xa ], %g3                       <== NOT EXECUTED
 2047230:	80 a0 e0 20 	cmp  %g3, 0x20                                 <== NOT EXECUTED
 2047234:	12 80 00 45 	bne  2047348 <msdos_dir_read+0x4a4>            <== NOT EXECUTED
 2047238:	98 10 20 03 	mov  3, %o4                                    <== NOT EXECUTED
 204723c:	c6 4f 20 09 	ldsb  [ %i4 + 9 ], %g3                         <== NOT EXECUTED
 2047240:	80 a0 e0 20 	cmp  %g3, 0x20                                 <== NOT EXECUTED
 2047244:	32 80 00 41 	bne,a   2047348 <msdos_dir_read+0x4a4>         <== NOT EXECUTED
 2047248:	98 10 20 02 	mov  2, %o4                                    <== NOT EXECUTED
 204724c:	c6 4f 20 08 	ldsb  [ %i4 + 8 ], %g3                         <== NOT EXECUTED
 2047250:	80 a0 e0 20 	cmp  %g3, 0x20                                 <== NOT EXECUTED
 2047254:	12 80 00 3d 	bne  2047348 <msdos_dir_read+0x4a4>            <== NOT EXECUTED
 2047258:	98 10 20 01 	mov  1, %o4                                    <== NOT EXECUTED
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
      len++;                                                          
    }                                                                 
  }                                                                   
  *dst = '\0'; /* terminate string */                                 
 204725c:	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(
 2047260:	d2 37 be fa 	sth  %o1, [ %fp + -262 ]                       <== NOT EXECUTED
 2047264:	10 bf ff d3 	b  20471b0 <msdos_dir_read+0x30c>              <== NOT EXECUTED
 2047268:	b4 10 3f ff 	mov  -1, %i2                                   <== NOT EXECUTED
                if (lfn_start == FAT_FILE_SHORT_NAME)                 
                {                                                     
                    /*                                                
                     * The first entry must have the last long entry flag set.
                     */                                               
                    if ((*MSDOS_DIR_ENTRY_TYPE(entry) &               
 204726c:	80 89 20 ff 	btst  0xff, %g4                                <== NOT EXECUTED
 2047270:	22 bf ff 48 	be,a   2046f90 <msdos_dir_read+0xec>           <== NOT EXECUTED
 2047274:	ba 07 60 20 	add  %i5, 0x20, %i5                            <== 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);    
 2047278:	c2 0f 20 0d 	ldub  [ %i4 + 0xd ], %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)        
 204727c:	b4 07 40 13 	add  %i5, %l3, %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) &     
 2047280:	a8 08 e0 3f 	and  %g3, 0x3f, %l4                            <== NOT EXECUTED
                        continue;                                     
                                                                      
                    /*                                                
                     * Remember the start location of the long file name.
                     */                                               
                    lfn_start =                                       
 2047284:	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);    
 2047288:	c2 2f be cf 	stb  %g1, [ %fp + -305 ]                       <== NOT EXECUTED
                    memset (tmp_dirent.d_name, 0, sizeof(tmp_dirent.d_name));
 204728c:	90 07 be fc 	add  %fp, -260, %o0                            <== NOT EXECUTED
 2047290:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2047294:	40 00 13 6b 	call  204c040 <memset>                         <== NOT EXECUTED
 2047298:	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) &   
 204729c:	10 bf ff 64 	b  204702c <msdos_dir_read+0x188>              <== NOT EXECUTED
 20472a0:	c6 0f 00 00 	ldub  [ %i4 ], %g3                             <== NOT EXECUTED
             * Is this directory from here on empty ?                 
             */                                                       
            if ((*MSDOS_DIR_ENTRY_TYPE(entry)) ==                     
                MSDOS_THIS_DIR_ENTRY_AND_REST_EMPTY)                  
            {                                                         
                rtems_semaphore_release(fs_info->vol_sema);           
 20472a4:	d0 05 e0 90 	ld  [ %l7 + 0x90 ], %o0                        <== NOT EXECUTED
 20472a8:	7f ff 1b 97 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 20472ac:	b0 10 00 10 	mov  %l0, %i0                                  <== NOT EXECUTED
 20472b0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20472b4:	81 e8 00 00 	restore                                        <== 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) &&                           
 20472b8:	c4 05 60 24 	ld  [ %l5 + 0x24 ], %g2                        <== NOT EXECUTED
 20472bc:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 20472c0:	32 bf ff 11 	bne,a   2046f04 <msdos_dir_read+0x60>          <== NOT EXECUTED
 20472c4:	c2 15 e0 06 	lduh  [ %l7 + 6 ], %g1                         <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
 20472c8:	c4 0d e0 0a 	ldub  [ %l7 + 0xa ], %g2                       <== 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) &&                           
 20472cc:	80 88 a0 03 	btst  3, %g2                                   <== NOT EXECUTED
 20472d0:	22 bf ff 0d 	be,a   2046f04 <msdos_dir_read+0x60>           <== NOT EXECUTED
 20472d4:	c2 15 e0 06 	lduh  [ %l7 + 6 ], %g1                         <== NOT EXECUTED
             (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16))) ?     
             fat_fd->fat_file_size                              :     
 20472d8:	c2 05 60 18 	ld  [ %l5 + 0x18 ], %g1                        <== NOT EXECUTED
 20472dc:	10 bf ff 0b 	b  2046f08 <msdos_dir_read+0x64>               <== NOT EXECUTED
 20472e0:	c2 27 be c4 	st  %g1, [ %fp + -316 ]                        <== NOT EXECUTED
                    if (o >= (sizeof(tmp_dirent.d_name) - 1))         
                        break;                                        
                                                                      
                    tmp_dirent.d_name[o++] = *p;                      
                                                                      
                    if (*p == '\0')                                   
 20472e4:	10 bf ff c3 	b  20471f0 <msdos_dir_read+0x34c>              <== NOT EXECUTED
 20472e8:	d8 2f be cf 	stb  %o4, [ %fp + -305 ]                       <== NOT EXECUTED
                        break;                                        
                                                                      
                    switch (q)                                        
                    {                                                 
                        case 4:                                       
                            p += 5;                                   
 20472ec:	b8 07 20 05 	add  %i4, 5, %i4                               <== NOT EXECUTED
 20472f0:	10 bf ff 62 	b  2047078 <msdos_dir_read+0x1d4>              <== NOT EXECUTED
 20472f4:	9e 03 e0 01 	inc  %o7                                       <== NOT EXECUTED
                            break;                                    
                        case 10:                                      
                            p += 4;                                   
 20472f8:	b8 07 20 04 	add  %i4, 4, %i4                               <== NOT EXECUTED
 20472fc:	10 bf ff 5f 	b  2047078 <msdos_dir_read+0x1d4>              <== NOT EXECUTED
 2047300:	9e 03 e0 01 	inc  %o7                                       <== 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)        
 2047304:	86 10 00 1c 	mov  %i4, %g3                                  <== NOT EXECUTED
 2047308:	d8 00 63 f0 	ld  [ %g1 + 0x3f0 ], %o4                       <== 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(
 204730c:	10 80 00 06 	b  2047324 <msdos_dir_read+0x480>              <== NOT EXECUTED
 2047310:	88 07 be fc 	add  %fp, -260, %g4                            <== NOT EXECUTED
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
 2047314:	f4 29 00 00 	stb  %i2, [ %g4 ]                              <== NOT EXECUTED
  /*                                                                  
   * copy base name to destination                                    
   */                                                                 
  src_tmp = src;                                                      
  len = i;                                                            
  while (i-- > 0) {                                                   
 2047318:	80 a0 c0 0f 	cmp  %g3, %o7                                  <== NOT EXECUTED
 204731c:	02 bf ff c4 	be  204722c <msdos_dir_read+0x388>             <== NOT EXECUTED
 2047320:	88 01 20 01 	inc  %g4                                       <== NOT EXECUTED
    *dst++ = tolower((unsigned char)(*src_tmp++));                    
 2047324:	f4 08 c0 00 	ldub  [ %g3 ], %i2                             <== NOT EXECUTED
 2047328:	9a 03 00 1a 	add  %o4, %i2, %o5                             <== NOT EXECUTED
 204732c:	da 0b 60 01 	ldub  [ %o5 + 1 ], %o5                         <== NOT EXECUTED
 2047330:	9a 0b 60 03 	and  %o5, 3, %o5                               <== NOT EXECUTED
 2047334:	80 a3 60 01 	cmp  %o5, 1                                    <== NOT EXECUTED
 2047338:	12 bf ff f7 	bne  2047314 <msdos_dir_read+0x470>            <== NOT EXECUTED
 204733c:	86 00 e0 01 	inc  %g3                                       <== NOT EXECUTED
 2047340:	10 bf ff f5 	b  2047314 <msdos_dir_read+0x470>              <== NOT EXECUTED
 2047344:	b4 06 a0 20 	add  %i2, 0x20, %i2                            <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
 2047348:	82 10 20 2e 	mov  0x2e, %g1                                 <== NOT EXECUTED
 204734c:	96 01 20 01 	add  %g4, 1, %o3                               <== NOT EXECUTED
 2047350:	c2 29 00 00 	stb  %g1, [ %g4 ]                              <== NOT EXECUTED
    len += i + 1; /* extension + dot */                               
 2047354:	94 03 20 01 	add  %o4, 1, %o2                               <== 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)        
 2047358:	b4 03 20 08 	add  %o4, 8, %i2                               <== NOT EXECUTED
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
 204735c:	94 02 40 0a 	add  %o1, %o2, %o2                             <== NOT EXECUTED
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
 2047360:	86 07 20 08 	add  %i4, 8, %g3                               <== NOT EXECUTED
 2047364:	03 00 81 c8 	sethi  %hi(0x2072000), %g1                     <== NOT EXECUTED
    while (i-- > 0) {                                                 
 2047368:	92 03 3f ff 	add  %o4, -1, %o1                              <== NOT EXECUTED
 204736c:	da 00 63 f0 	ld  [ %g1 + 0x3f0 ], %o5                       <== 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)        
 2047370:	b8 07 00 1a 	add  %i4, %i2, %i4                             <== NOT EXECUTED
    {};                                                               
  /*                                                                  
   * extension is not empty                                           
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
 2047374:	10 80 00 06 	b  204738c <msdos_dir_read+0x4e8>              <== NOT EXECUTED
 2047378:	88 10 00 0b 	mov  %o3, %g4                                  <== NOT EXECUTED
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
 204737c:	f4 29 00 00 	stb  %i2, [ %g4 ]                              <== NOT EXECUTED
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
 2047380:	80 a0 c0 1c 	cmp  %g3, %i4                                  <== NOT EXECUTED
 2047384:	02 80 00 0e 	be  20473bc <msdos_dir_read+0x518>             <== NOT EXECUTED
 2047388:	88 01 20 01 	inc  %g4                                       <== NOT EXECUTED
      *dst++ = tolower((unsigned char)(*src_tmp++));                  
 204738c:	f4 08 c0 00 	ldub  [ %g3 ], %i2                             <== NOT EXECUTED
 2047390:	9e 03 40 1a 	add  %o5, %i2, %o7                             <== NOT EXECUTED
 2047394:	de 0b e0 01 	ldub  [ %o7 + 1 ], %o7                         <== NOT EXECUTED
 2047398:	9e 0b e0 03 	and  %o7, 3, %o7                               <== NOT EXECUTED
 204739c:	80 a3 e0 01 	cmp  %o7, 1                                    <== NOT EXECUTED
 20473a0:	12 bf ff f7 	bne  204737c <msdos_dir_read+0x4d8>            <== NOT EXECUTED
 20473a4:	86 00 e0 01 	inc  %g3                                       <== NOT EXECUTED
 20473a8:	b4 06 a0 20 	add  %i2, 0x20, %i2                            <== NOT EXECUTED
 20473ac:	f4 29 00 00 	stb  %i2, [ %g4 ]                              <== NOT EXECUTED
   */                                                                 
  if (i > 0) {                                                        
    *dst++ = '.'; /* append dot */                                    
    len += i + 1; /* extension + dot */                               
    src_tmp = src + MSDOS_SHORT_BASE_LEN;                             
    while (i-- > 0) {                                                 
 20473b0:	80 a0 c0 1c 	cmp  %g3, %i4                                  <== NOT EXECUTED
 20473b4:	12 bf ff f6 	bne  204738c <msdos_dir_read+0x4e8>            <== NOT EXECUTED
 20473b8:	88 01 20 01 	inc  %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)        
 20473bc:	94 02 a0 01 	inc  %o2                                       <== NOT EXECUTED
 20473c0:	88 02 c0 0c 	add  %o3, %o4, %g4                             <== NOT EXECUTED
 20473c4:	10 bf ff a6 	b  204725c <msdos_dir_read+0x3b8>              <== NOT EXECUTED
 20473c8:	92 02 80 09 	add  %o2, %o1, %o1                             <== NOT EXECUTED
         */                                                           
        ret = fat_file_read(&fs_info->fat, fat_fd, (j * bts2rd),      
                            bts2rd, fs_info->cl_buf);                 
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
        {                                                             
            rtems_semaphore_release(fs_info->vol_sema);               
 20473cc:	d0 05 e0 90 	ld  [ %l7 + 0x90 ], %o0                        <== NOT EXECUTED
 20473d0:	7f ff 1b 4d 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 20473d4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
            rtems_set_errno_and_return_minus_one(EIO);                
 20473d8:	40 00 05 4c 	call  2048908 <__errno>                        <== NOT EXECUTED
 20473dc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20473e0:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 20473e4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20473e8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20473ec:	81 e8 00 00 	restore                                        <== NOT EXECUTED
             fs_info->fat.vol.bpc;                                    
                                                                      
    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);                    
 20473f0:	40 00 05 46 	call  2048908 <__errno>                        <== NOT EXECUTED
 20473f4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20473f8:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20473fc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2047400:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047404:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02047408 <msdos_dir_stat>: int msdos_dir_stat( const rtems_filesystem_location_info_t *loc, struct stat *buf ) {
 2047408:	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;              
 204740c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
    fat_file_fd_t     *fat_fd = loc->node_access;                     
 2047410:	f8 06 20 08 	ld  [ %i0 + 8 ], %i4                           
    const 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;              
 2047414:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
    fat_file_fd_t     *fat_fd = loc->node_access;                     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2047418:	92 10 20 00 	clr  %o1                                       
 204741c:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
 2047420:	7f ff 1a e9 	call  200dfc4 <rtems_semaphore_obtain>         
 2047424:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2047428:	80 a2 20 00 	cmp  %o0, 0                                    
 204742c:	12 80 00 1a 	bne  2047494 <msdos_dir_stat+0x8c>             <== NEVER TAKEN
 2047430:	01 00 00 00 	nop                                            
                                                                      
static inline dev_t rtems_disk_get_device_identifier(                 
  const rtems_disk_device *dd                                         
)                                                                     
{                                                                     
  return dd->dev;                                                     
 2047434:	c2 07 60 58 	ld  [ %i5 + 0x58 ], %g1                        
    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;                           
 2047438:	f6 17 40 00 	lduh  [ %i5 ], %i3                             
    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 = rtems_disk_get_device_identifier(fs_info->fat.vol.dd);
 204743c:	c4 18 40 00 	ldd  [ %g1 ], %g2                              
    buf->st_ino = fat_fd->ino;                                        
 2047440:	f4 07 20 0c 	ld  [ %i4 + 0xc ], %i2                         
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
 2047444:	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;                                    
 2047448:	c8 07 20 40 	ld  [ %i4 + 0x40 ], %g4                        
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 204744c:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
    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 = rtems_disk_get_device_identifier(fs_info->fat.vol.dd);
 2047450:	c4 3e 40 00 	std  %g2, [ %i1 ]                              
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
 2047454:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 2047458:	84 10 a1 ff 	or  %g2, 0x1ff, %g2	! 41ff <PROM_START+0x41ff> 
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
 204745c:	bb 30 60 09 	srl  %g1, 9, %i5                               
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = rtems_disk_get_device_identifier(fs_info->fat.vol.dd);
    buf->st_ino = fat_fd->ino;                                        
 2047460:	f4 26 60 08 	st  %i2, [ %i1 + 8 ]                           
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
 2047464:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
 2047468:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
    buf->st_size = fat_fd->fat_file_size;                             
 204746c:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = rtems_disk_get_device_identifier(fs_info->fat.vol.dd);
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFDIR | S_IRWXU | S_IRWXG | S_IRWXO;            
 2047470:	c4 26 60 0c 	st  %g2, [ %i1 + 0xc ]                         
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
 2047474:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
 2047478:	fa 26 60 44 	st  %i5, [ %i1 + 0x44 ]                        
    buf->st_blksize = fs_info->fat.vol.bps;                           
 204747c:	f6 26 60 40 	st  %i3, [ %i1 + 0x40 ]                        
    buf->st_mtime = fat_fd->mtime;                                    
 2047480:	c8 26 60 30 	st  %g4, [ %i1 + 0x30 ]                        
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2047484:	7f ff 1b 20 	call  200e104 <rtems_semaphore_release>        
 2047488:	b0 10 20 00 	clr  %i0                                       
    return RC_OK;                                                     
}                                                                     
 204748c:	81 c7 e0 08 	ret                                            
 2047490:	81 e8 00 00 	restore                                        
    fat_file_fd_t     *fat_fd = loc->node_access;                     
                                                                      
    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);                    
 2047494:	40 00 05 1d 	call  2048908 <__errno>                        <== NOT EXECUTED
 2047498:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 204749c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20474a0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20474a4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20474a8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020399bc <msdos_eval_token>: rtems_filesystem_eval_path_context_t *ctx, void *arg, const char *token, size_t tokenlen ) {
 20399bc:	9d e3 bf a0 	save  %sp, -96, %sp                            
 20399c0:	80 a6 e0 01 	cmp  %i3, 1                                    
 20399c4:	02 80 00 17 	be  2039a20 <msdos_eval_token+0x64>            
 20399c8:	ba 10 00 18 	mov  %i0, %i5                                  
    rtems_filesystem_eval_path_clear_token(ctx);                      
    status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;             
  } else {                                                            
    rtems_filesystem_location_info_t *currentloc =                    
      rtems_filesystem_eval_path_get_currentloc(ctx);                 
    int rc = msdos_find_name(currentloc, token, tokenlen);            
 20399cc:	90 07 60 18 	add  %i5, 0x18, %o0                            
 20399d0:	92 10 00 1a 	mov  %i2, %o1                                  
 20399d4:	40 00 06 1a 	call  203b23c <msdos_find_name>                
 20399d8:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
    if (rc == RC_OK) {                                                
 20399dc:	80 a2 20 00 	cmp  %o0, 0                                    
 20399e0:	12 80 00 17 	bne  2039a3c <msdos_eval_token+0x80>           
 20399e4:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        
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)                       
 20399e8:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
 *     None                                                           
 */                                                                   
static void                                                           
msdos_set_handlers(rtems_filesystem_location_info_t *loc)             
{                                                                     
    msdos_fs_info_t *fs_info = loc->mt_entry->fs_info;                
 20399ec:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
 20399f0:	c4 00 a0 10 	ld  [ %g2 + 0x10 ], %g2                        
                                                                      
static inline void rtems_filesystem_eval_path_clear_token(            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->tokenlen = 0;                                                  
 20399f4:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
 20399f8:	80 a0 a0 00 	cmp  %g2, 0                                    
 20399fc:	12 80 00 1a 	bne  2039a64 <msdos_eval_token+0xa8>           
 2039a00:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
        loc->handlers = fs_info->directory_handlers;                  
 2039a04:	c2 00 60 88 	ld  [ %g1 + 0x88 ], %g1                        
 2039a08:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        
    int rc = msdos_find_name(currentloc, token, tokenlen);            
                                                                      
    if (rc == RC_OK) {                                                
      rtems_filesystem_eval_path_clear_token(ctx);                    
      msdos_set_handlers(currentloc);                                 
      if (rtems_filesystem_eval_path_has_path(ctx)) {                 
 2039a0c:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
 2039a10:	80 a0 00 01 	cmp  %g0, %g1                                  
 2039a14:	b0 60 3f ff 	subx  %g0, -1, %i0                             
 2039a18:	81 c7 e0 08 	ret                                            
 2039a1c:	81 e8 00 00 	restore                                        
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
 2039a20:	c2 4e 80 00 	ldsb  [ %i2 ], %g1                             
 2039a24:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2039a28:	12 bf ff ea 	bne  20399d0 <msdos_eval_token+0x14>           
 2039a2c:	90 07 60 18 	add  %i5, 0x18, %o0                            
                                                                      
static inline void rtems_filesystem_eval_path_clear_token(            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->tokenlen = 0;                                                  
 2039a30:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
      rtems_filesystem_eval_path_error(ctx, 0);                       
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 2039a34:	81 c7 e0 08 	ret                                            
 2039a38:	91 e8 20 00 	restore  %g0, 0, %o0                           
      rtems_filesystem_eval_path_clear_token(ctx);                    
      msdos_set_handlers(currentloc);                                 
      if (rtems_filesystem_eval_path_has_path(ctx)) {                 
        status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;         
      }                                                               
    } else if (rc == MSDOS_NAME_NOT_FOUND_ERR) {                      
 2039a3c:	82 10 61 01 	or  %g1, 0x101, %g1                            
 2039a40:	80 a2 00 01 	cmp  %o0, %g1                                  
 2039a44:	02 bf ff f5 	be  2039a18 <msdos_eval_token+0x5c>            <== ALWAYS TAKEN
 2039a48:	b0 10 20 02 	mov  2, %i0                                    
      status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;           
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, 0);                       
 2039a4c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2039a50:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2039a54:	7f ff 43 fa 	call  200aa3c <rtems_filesystem_eval_path_error><== NOT EXECUTED
 2039a58:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 2039a5c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2039a60:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    fat_file_fd_t   *fat_fd = loc->node_access;                       
                                                                      
    if (fat_fd->fat_file_type == FAT_DIRECTORY)                       
        loc->handlers = fs_info->directory_handlers;                  
    else                                                              
        loc->handlers = fs_info->file_handlers;                       
 2039a64:	c2 00 60 8c 	ld  [ %g1 + 0x8c ], %g1                        
 2039a68:	10 bf ff e9 	b  2039a0c <msdos_eval_token+0x50>             
 2039a6c:	c2 27 60 28 	st  %g1, [ %i5 + 0x28 ]                        
                                                                      

02047508 <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) {
 2047508:	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;     
 204750c:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2047510:	92 10 20 00 	clr  %o1                                       
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;     
 2047514:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2047518:	94 10 20 00 	clr  %o2                                       
 204751c:	7f ff 1a aa 	call  200dfc4 <rtems_semaphore_obtain>         
 2047520:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2047524:	80 a2 20 00 	cmp  %o0, 0                                    
 2047528:	12 80 00 09 	bne  204754c <msdos_file_close+0x44>           <== NEVER TAKEN
 204752c:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = msdos_file_update(iop);                                      
 2047530:	7f ff ff df 	call  20474ac <msdos_file_update>              
 2047534:	90 10 00 18 	mov  %i0, %o0                                  
 2047538:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 204753c:	7f ff 1a f2 	call  200e104 <rtems_semaphore_release>        
 2047540:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
    return rc;                                                        
}                                                                     
 2047544:	81 c7 e0 08 	ret                                            
 2047548:	81 e8 00 00 	restore                                        
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    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);                    
 204754c:	40 00 04 ef 	call  2048908 <__errno>                        <== NOT EXECUTED
 2047550:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2047554:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2047558:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 204755c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047560:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02047770 <msdos_file_ftruncate>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately). */ int msdos_file_ftruncate(rtems_libio_t *iop, off_t length) {
 2047770:	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;     
 2047774:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 2047778:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        
int                                                                   
msdos_file_ftruncate(rtems_libio_t *iop, off_t length)                
{                                                                     
    int                rc = RC_OK;                                    
    rtems_status_code  sc = RTEMS_SUCCESSFUL;                         
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
 204777c:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
    uint32_t old_length;                                              
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2047780:	92 10 20 00 	clr  %o1                                       
 2047784:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
 2047788:	7f ff 1a 0f 	call  200dfc4 <rtems_semaphore_obtain>         
 204778c:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2047790:	80 a2 20 00 	cmp  %o0, 0                                    
 2047794:	12 80 00 31 	bne  2047858 <msdos_file_ftruncate+0xe8>       <== NEVER TAKEN
 2047798:	80 a2 00 19 	cmp  %o0, %i1                                  
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    old_length = fat_fd->fat_file_size;                               
    if (length < old_length) {                                        
 204779c:	14 80 00 1f 	bg  2047818 <msdos_file_ftruncate+0xa8>        <== NEVER TAKEN
 20477a0:	f6 07 20 18 	ld  [ %i4 + 0x18 ], %i3                        
 20477a4:	80 a2 00 19 	cmp  %o0, %i1                                  
 20477a8:	12 80 00 06 	bne  20477c0 <msdos_file_ftruncate+0x50>       <== NEVER TAKEN
 20477ac:	90 10 00 1d 	mov  %i5, %o0                                  
 20477b0:	80 a6 c0 1a 	cmp  %i3, %i2                                  
 20477b4:	18 80 00 1b 	bgu  2047820 <msdos_file_ftruncate+0xb0>       
 20477b8:	92 10 00 1c 	mov  %i4, %o1                                  
        rc = fat_file_truncate(&fs_info->fat, fat_fd, length);        
    } else {                                                          
        uint32_t new_length;                                          
                                                                      
        rc = fat_file_extend(&fs_info->fat,                           
 20477bc:	90 10 00 1d 	mov  %i5, %o0                                  
 20477c0:	92 10 00 1c 	mov  %i4, %o1                                  
 20477c4:	94 10 20 01 	mov  1, %o2                                    
 20477c8:	96 10 00 1a 	mov  %i2, %o3                                  
 20477cc:	7f ff 86 e6 	call  2029364 <fat_file_extend>                
 20477d0:	98 07 bf fc 	add  %fp, -4, %o4                              
                             fat_fd,                                  
                             true,                                    
                             length,                                  
                             &new_length);                            
        if (rc == RC_OK && length != new_length) {                    
 20477d4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20477d8:	12 80 00 17 	bne  2047834 <msdos_file_ftruncate+0xc4>       <== NEVER TAKEN
 20477dc:	80 a6 00 19 	cmp  %i0, %i1                                  
 20477e0:	02 80 00 19 	be  2047844 <msdos_file_ftruncate+0xd4>        <== ALWAYS TAKEN
 20477e4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
            fat_file_truncate(&fs_info->fat, fat_fd, old_length);     
 20477e8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 20477ec:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 20477f0:	7f ff 86 39 	call  20290d4 <fat_file_truncate>              <== NOT EXECUTED
 20477f4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            errno = ENOSPC;                                           
 20477f8:	40 00 04 44 	call  2048908 <__errno>                        <== NOT EXECUTED
 20477fc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2047800:	82 10 20 1c 	mov  0x1c, %g1                                 <== NOT EXECUTED
 2047804:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
                                                                      
    if (rc == RC_OK) {                                                
        fat_fd->fat_file_size = length;                               
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2047808:	7f ff 1a 3f 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 204780c:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        <== NOT EXECUTED
                                                                      
    return rc;                                                        
}                                                                     
 2047810:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047814:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    old_length = fat_fd->fat_file_size;                               
    if (length < old_length) {                                        
        rc = fat_file_truncate(&fs_info->fat, fat_fd, length);        
 2047818:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 204781c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2047820:	7f ff 86 2d 	call  20290d4 <fat_file_truncate>              
 2047824:	94 10 00 1a 	mov  %i2, %o2                                  
            errno = ENOSPC;                                           
            rc = -1;                                                  
        }                                                             
    }                                                                 
                                                                      
    if (rc == RC_OK) {                                                
 2047828:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 204782c:	22 80 00 02 	be,a   2047834 <msdos_file_ftruncate+0xc4>     <== ALWAYS TAKEN
 2047830:	f4 27 20 18 	st  %i2, [ %i4 + 0x18 ]                        
        fat_fd->fat_file_size = length;                               
    }                                                                 
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2047834:	7f ff 1a 34 	call  200e104 <rtems_semaphore_release>        
 2047838:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
                                                                      
    return rc;                                                        
}                                                                     
 204783c:	81 c7 e0 08 	ret                                            
 2047840:	81 e8 00 00 	restore                                        
        rc = fat_file_extend(&fs_info->fat,                           
                             fat_fd,                                  
                             true,                                    
                             length,                                  
                             &new_length);                            
        if (rc == RC_OK && length != new_length) {                    
 2047844:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2047848:	12 bf ff e9 	bne  20477ec <msdos_file_ftruncate+0x7c>       <== NEVER TAKEN
 204784c:	92 10 00 1c 	mov  %i4, %o1                                  
            rc = -1;                                                  
        }                                                             
    }                                                                 
                                                                      
    if (rc == RC_OK) {                                                
        fat_fd->fat_file_size = length;                               
 2047850:	10 bf ff f9 	b  2047834 <msdos_file_ftruncate+0xc4>         
 2047854:	f4 27 20 18 	st  %i2, [ %i4 + 0x18 ]                        
    uint32_t old_length;                                              
                                                                      
    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);                    
 2047858:	40 00 04 2c 	call  2048908 <__errno>                        <== NOT EXECUTED
 204785c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2047860:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2047864:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2047868:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204786c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02047564 <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) {
 2047564:	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;     
 2047568:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 204756c:	fa 06 20 1c 	ld  [ %i0 + 0x1c ], %i5                        
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;     
 2047570:	e0 00 60 08 	ld  [ %g1 + 8 ], %l0                           
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2047574:	92 10 20 00 	clr  %o1                                       
 2047578:	d0 04 20 90 	ld  [ %l0 + 0x90 ], %o0                        
 204757c:	94 10 20 00 	clr  %o2                                       
 2047580:	7f ff 1a 91 	call  200dfc4 <rtems_semaphore_obtain>         
 2047584:	b6 10 00 18 	mov  %i0, %i3                                  
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2047588:	80 a2 20 00 	cmp  %o0, 0                                    
 204758c:	12 80 00 12 	bne  20475d4 <msdos_file_read+0x70>            <== NEVER TAKEN
 2047590:	90 10 00 10 	mov  %l0, %o0                                  
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    ret = fat_file_read(&fs_info->fat, fat_fd, iop->offset, count,    
 2047594:	d4 06 20 0c 	ld  [ %i0 + 0xc ], %o2                         
 2047598:	92 10 00 1d 	mov  %i5, %o1                                  
 204759c:	96 10 00 1a 	mov  %i2, %o3                                  
 20475a0:	7f ff 86 48 	call  2028ec0 <fat_file_read>                  
 20475a4:	98 10 00 19 	mov  %i1, %o4                                  
                        buffer);                                      
    if (ret > 0)                                                      
 20475a8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20475ac:	04 80 00 06 	ble  20475c4 <msdos_file_read+0x60>            
 20475b0:	85 3e 20 1f 	sra  %i0, 0x1f, %g2                            
        iop->offset += ret;                                           
 20475b4:	f8 1e e0 08 	ldd  [ %i3 + 8 ], %i4                          
 20475b8:	86 87 40 18 	addcc  %i5, %i0, %g3                           
 20475bc:	84 47 00 02 	addx  %i4, %g2, %g2                            
 20475c0:	c4 3e e0 08 	std  %g2, [ %i3 + 8 ]                          
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 20475c4:	7f ff 1a d0 	call  200e104 <rtems_semaphore_release>        
 20475c8:	d0 04 20 90 	ld  [ %l0 + 0x90 ], %o0                        
    return ret;                                                       
}                                                                     
 20475cc:	81 c7 e0 08 	ret                                            
 20475d0:	81 e8 00 00 	restore                                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    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);                    
 20475d4:	40 00 04 cd 	call  2048908 <__errno>                        <== NOT EXECUTED
 20475d8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20475dc:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20475e0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20475e4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20475e8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020476cc <msdos_file_stat>: int msdos_file_stat( const rtems_filesystem_location_info_t *loc, struct stat *buf ) {
 20476cc:	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;              
 20476d0:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
    fat_file_fd_t     *fat_fd = loc->node_access;                     
 20476d4:	f8 06 20 08 	ld  [ %i0 + 8 ], %i4                           
    const 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;              
 20476d8:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
    fat_file_fd_t     *fat_fd = loc->node_access;                     
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 20476dc:	92 10 20 00 	clr  %o1                                       
 20476e0:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
 20476e4:	7f ff 1a 38 	call  200dfc4 <rtems_semaphore_obtain>         
 20476e8:	94 10 20 00 	clr  %o2                                       
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 20476ec:	80 a2 20 00 	cmp  %o0, 0                                    
 20476f0:	12 80 00 1a 	bne  2047758 <msdos_file_stat+0x8c>            <== NEVER TAKEN
 20476f4:	01 00 00 00 	nop                                            
 20476f8:	c2 07 60 58 	ld  [ %i5 + 0x58 ], %g1                        
    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;                           
 20476fc:	f6 17 40 00 	lduh  [ %i5 ], %i3                             
    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 = rtems_disk_get_device_identifier(fs_info->fat.vol.dd);
 2047700:	c4 18 40 00 	ldd  [ %g1 ], %g2                              
    buf->st_ino = fat_fd->ino;                                        
 2047704:	f4 07 20 0c 	ld  [ %i4 + 0xc ], %i2                         
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
 2047708:	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;                                    
 204770c:	c8 07 20 40 	ld  [ %i4 + 0x40 ], %g4                        
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2047710:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
    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 = rtems_disk_get_device_identifier(fs_info->fat.vol.dd);
 2047714:	c4 3e 40 00 	std  %g2, [ %i1 ]                              
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
 2047718:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
 204771c:	84 10 a1 ff 	or  %g2, 0x1ff, %g2	! 81ff <PROM_START+0x81ff> 
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
 2047720:	bb 30 60 09 	srl  %g1, 9, %i5                               
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = rtems_disk_get_device_identifier(fs_info->fat.vol.dd);
    buf->st_ino = fat_fd->ino;                                        
 2047724:	f4 26 60 08 	st  %i2, [ %i1 + 8 ]                           
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
    buf->st_rdev = 0ll;                                               
 2047728:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
 204772c:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
    buf->st_size = fat_fd->fat_file_size;                             
 2047730:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    buf->st_dev = rtems_disk_get_device_identifier(fs_info->fat.vol.dd);
    buf->st_ino = fat_fd->ino;                                        
    buf->st_mode  = S_IFREG | S_IRWXU | S_IRWXG | S_IRWXO;            
 2047734:	c4 26 60 0c 	st  %g2, [ %i1 + 0xc ]                         
    buf->st_rdev = 0ll;                                               
    buf->st_size = fat_fd->fat_file_size;                             
 2047738:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
    buf->st_blocks = fat_fd->fat_file_size >> FAT_SECTOR512_BITS;     
 204773c:	fa 26 60 44 	st  %i5, [ %i1 + 0x44 ]                        
    buf->st_blksize = fs_info->fat.vol.bps;                           
 2047740:	f6 26 60 40 	st  %i3, [ %i1 + 0x40 ]                        
    buf->st_mtime = fat_fd->mtime;                                    
 2047744:	c8 26 60 30 	st  %g4, [ %i1 + 0x30 ]                        
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2047748:	7f ff 1a 6f 	call  200e104 <rtems_semaphore_release>        
 204774c:	b0 10 20 00 	clr  %i0                                       
    return RC_OK;                                                     
}                                                                     
 2047750:	81 c7 e0 08 	ret                                            
 2047754:	81 e8 00 00 	restore                                        
    fat_file_fd_t     *fat_fd = loc->node_access;                     
                                                                      
    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);                    
 2047758:	40 00 04 6c 	call  2048908 <__errno>                        <== NOT EXECUTED
 204775c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2047760:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2047764:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2047768:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204776c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02047870 <msdos_file_sync>: * RETURNS: * RC_OK on success, or -1 if error occured (errno set appropriately) */ int msdos_file_sync(rtems_libio_t *iop) {
 2047870:	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;     
 2047874:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2047878:	92 10 20 00 	clr  %o1                                       
int                                                                   
msdos_file_sync(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;     
 204787c:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 2047880:	94 10 20 00 	clr  %o2                                       
 2047884:	7f ff 19 d0 	call  200dfc4 <rtems_semaphore_obtain>         
 2047888:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 204788c:	80 a2 20 00 	cmp  %o0, 0                                    
 2047890:	12 80 00 0d 	bne  20478c4 <msdos_file_sync+0x54>            <== NEVER TAKEN
 2047894:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = msdos_file_update(iop);                                      
 2047898:	7f ff ff 05 	call  20474ac <msdos_file_update>              
 204789c:	90 10 00 18 	mov  %i0, %o0                                  
    if (rc != RC_OK)                                                  
 20478a0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20478a4:	12 80 00 04 	bne  20478b4 <msdos_file_sync+0x44>            <== NEVER TAKEN
 20478a8:	01 00 00 00 	nop                                            
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
        return rc;                                                    
    }                                                                 
                                                                      
    rc = msdos_sync_unprotected(fs_info);                             
 20478ac:	7f ff ce f8 	call  203b48c <msdos_sync_unprotected>         
 20478b0:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 20478b4:	7f ff 1a 14 	call  200e104 <rtems_semaphore_release>        
 20478b8:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        
    return RC_OK;                                                     
}                                                                     
 20478bc:	81 c7 e0 08 	ret                                            
 20478c0:	81 e8 00 00 	restore                                        
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    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);                    
 20478c4:	40 00 04 11 	call  2048908 <__errno>                        <== NOT EXECUTED
 20478c8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20478cc:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20478d0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20478d4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20478d8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020474ac <msdos_file_update>: #include "msdos.h" static int msdos_file_update(rtems_libio_t *iop) {
 20474ac:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int              rc = RC_OK;                                      
    fat_file_fd_t   *fat_fd = iop->pathinfo.node_access;              
 20474b0:	f2 06 20 1c 	ld  [ %i0 + 0x1c ], %i1                        
                                                                      
    /*                                                                
     * 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))                                 
 20474b4:	c2 0e 60 30 	ldub  [ %i1 + 0x30 ], %g1                      
 20474b8:	80 88 60 01 	btst  1, %g1                                   
 20474bc:	02 80 00 04 	be  20474cc <msdos_file_update+0x20>           <== ALWAYS TAKEN
 20474c0:	90 10 20 00 	clr  %o0                                       
            return rc;                                                
        }                                                             
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 20474c4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20474c8:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== 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))                                 
    {                                                                 
        rc = msdos_set_first_cluster_num(iop->pathinfo.mt_entry, fat_fd);
 20474cc:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
 20474d0:	7f ff ca 56 	call  2039e28 <msdos_set_first_cluster_num>    
 20474d4:	92 10 00 19 	mov  %i1, %o1                                  
        if (rc != RC_OK)                                              
 20474d8:	80 a2 20 00 	cmp  %o0, 0                                    
 20474dc:	12 bf ff fa 	bne  20474c4 <msdos_file_update+0x18>          <== NEVER TAKEN
 20474e0:	01 00 00 00 	nop                                            
        {                                                             
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_file_size(iop->pathinfo.mt_entry, fat_fd);     
 20474e4:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
 20474e8:	7f ff ca 8b 	call  2039f14 <msdos_set_file_size>            
 20474ec:	92 10 00 19 	mov  %i1, %o1                                  
        if (rc != RC_OK)                                              
 20474f0:	80 a2 20 00 	cmp  %o0, 0                                    
 20474f4:	12 bf ff f4 	bne  20474c4 <msdos_file_update+0x18>          <== NEVER TAKEN
 20474f8:	01 00 00 00 	nop                                            
        {                                                             
            return rc;                                                
        }                                                             
                                                                      
        rc = msdos_set_dir_wrt_time_and_date(iop->pathinfo.mt_entry, fat_fd);
 20474fc:	f0 06 20 28 	ld  [ %i0 + 0x28 ], %i0                        
 2047500:	7f ff ca 05 	call  2039d14 <msdos_set_dir_wrt_time_and_date>
 2047504:	81 e8 00 00 	restore                                        
                                                                      

020475ec <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) {
 20475ec:	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;     
 20475f0:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
 20475f4:	e2 06 20 1c 	ld  [ %i0 + 0x1c ], %l1                        
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;     
 20475f8:	e0 00 60 08 	ld  [ %g1 + 8 ], %l0                           
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 20475fc:	92 10 20 00 	clr  %o1                                       
 2047600:	d0 04 20 90 	ld  [ %l0 + 0x90 ], %o0                        
 2047604:	94 10 20 00 	clr  %o2                                       
 2047608:	7f ff 1a 6f 	call  200dfc4 <rtems_semaphore_obtain>         
 204760c:	b6 10 00 18 	mov  %i0, %i3                                  
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2047610:	80 a2 20 00 	cmp  %o0, 0                                    
 2047614:	12 80 00 23 	bne  20476a0 <msdos_file_write+0xb4>           <== NEVER TAKEN
 2047618:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    if ((iop->flags & LIBIO_FLAGS_APPEND) != 0)                       
 204761c:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 2047620:	80 88 62 00 	btst  0x200, %g1                               
 2047624:	32 80 00 1c 	bne,a   2047694 <msdos_file_write+0xa8>        
 2047628:	d4 04 60 18 	ld  [ %l1 + 0x18 ], %o2                        
 204762c:	d4 06 20 0c 	ld  [ %i0 + 0xc ], %o2                         
        iop->offset = fat_fd->fat_file_size;                          
                                                                      
    ret = fat_file_write(&fs_info->fat, fat_fd, iop->offset, count,   
 2047630:	90 10 00 10 	mov  %l0, %o0                                  
 2047634:	92 10 00 11 	mov  %l1, %o1                                  
 2047638:	96 10 00 1a 	mov  %i2, %o3                                  
 204763c:	7f ff 87 ec 	call  20295ec <fat_file_write>                 
 2047640:	98 10 00 19 	mov  %i1, %o4                                  
                         buffer);                                     
    if (ret < 0)                                                      
 2047644:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2047648:	06 80 00 1c 	bl  20476b8 <msdos_file_write+0xcc>            <== NEVER TAKEN
 204764c:	85 3e 20 1f 	sra  %i0, 0x1f, %g2                            
                                                                      
    /*                                                                
     * update file size in both fat-file descriptor and file control block if
     * file was extended                                              
     */                                                               
    iop->offset += ret;                                               
 2047650:	f8 1e e0 08 	ldd  [ %i3 + 8 ], %i4                          
 2047654:	86 86 00 1d 	addcc  %i0, %i5, %g3                           
 2047658:	84 40 80 1c 	addx  %g2, %i4, %g2                            
 204765c:	c4 3e e0 08 	std  %g2, [ %i3 + 8 ]                          
    if (iop->offset > fat_fd->fat_file_size)                          
 2047660:	80 a0 a0 00 	cmp  %g2, 0                                    
 2047664:	14 80 00 07 	bg  2047680 <msdos_file_write+0x94>            <== NEVER TAKEN
 2047668:	c2 04 60 18 	ld  [ %l1 + 0x18 ], %g1                        
 204766c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2047670:	12 80 00 05 	bne  2047684 <msdos_file_write+0x98>           <== NEVER TAKEN
 2047674:	80 a0 c0 01 	cmp  %g3, %g1                                  
 2047678:	08 80 00 03 	bleu  2047684 <msdos_file_write+0x98>          
 204767c:	01 00 00 00 	nop                                            
        fat_fd->fat_file_size = iop->offset;                          
 2047680:	c6 24 60 18 	st  %g3, [ %l1 + 0x18 ]                        
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 2047684:	7f ff 1a a0 	call  200e104 <rtems_semaphore_release>        
 2047688:	d0 04 20 90 	ld  [ %l0 + 0x90 ], %o0                        
    return ret;                                                       
}                                                                     
 204768c:	81 c7 e0 08 	ret                                            
 2047690:	81 e8 00 00 	restore                                        
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    if ((iop->flags & LIBIO_FLAGS_APPEND) != 0)                       
        iop->offset = fat_fd->fat_file_size;                          
 2047694:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
 2047698:	10 bf ff e6 	b  2047630 <msdos_file_write+0x44>             
 204769c:	d4 26 20 0c 	st  %o2, [ %i0 + 0xc ]                         
    fat_file_fd_t     *fat_fd = iop->pathinfo.node_access;            
                                                                      
    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);                    
 20476a0:	40 00 04 9a 	call  2048908 <__errno>                        <== NOT EXECUTED
 20476a4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20476a8:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20476ac:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20476b0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20476b4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    ret = fat_file_write(&fs_info->fat, fat_fd, iop->offset, count,   
                         buffer);                                     
    if (ret < 0)                                                      
    {                                                                 
        rtems_semaphore_release(fs_info->vol_sema);                   
 20476b8:	d0 04 20 90 	ld  [ %l0 + 0x90 ], %o0                        <== NOT EXECUTED
 20476bc:	7f ff 1a 92 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 20476c0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
        return -1;                                                    
 20476c4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20476c8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02046ca0 <msdos_filename_unix2dos>: /* * Fill the dos filename string with blanks. These are DOS's pad * characters. */ for (i = 0; i <= 10; i++)
 2046ca0:	82 10 20 00 	clr  %g1                                       
		dn[i] = ' ';                                                        
 2046ca4:	84 10 20 20 	mov  0x20, %g2                                 
 2046ca8:	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++)                                            
 2046cac:	82 00 60 01 	inc  %g1                                       
 2046cb0:	80 a0 60 0b 	cmp  %g1, 0xb                                  
 2046cb4:	32 bf ff fe 	bne,a   2046cac <msdos_filename_unix2dos+0xc>  
 2046cb8:	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) {                                    
 2046cbc:	c2 4a 00 00 	ldsb  [ %o0 ], %g1                             
 2046cc0:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2046cc4:	02 80 00 5f 	be  2046e40 <msdos_filename_unix2dos+0x1a0>    <== NEVER TAKEN
 2046cc8:	c4 0a 00 00 	ldub  [ %o0 ], %g2                             
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
 2046ccc:	80 a2 60 00 	cmp  %o1, 0                                    
 2046cd0:	02 80 00 5a 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== NEVER TAKEN
 2046cd4:	01 00 00 00 	nop                                            
	 * 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++) {         
 2046cd8:	82 88 a0 ff 	andcc  %g2, 0xff, %g1                          
 2046cdc:	02 80 00 57 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== NEVER TAKEN
 2046ce0:	09 00 81 c0 	sethi  %hi(0x2070000), %g4                     
    if (msdos_map[c] == 0)                                            
 2046ce4:	88 11 22 10 	or  %g4, 0x210, %g4	! 2070210 <msdos_map>      
 2046ce8:	c4 09 00 01 	ldub  [ %g4 + %g1 ], %g2                       
 2046cec:	80 88 a0 ff 	btst  0xff, %g2                                
 2046cf0:	02 80 00 22 	be  2046d78 <msdos_filename_unix2dos+0xd8>     
 2046cf4:	86 10 00 08 	mov  %o0, %g3                                  
 2046cf8:	10 80 00 0f 	b  2046d34 <msdos_filename_unix2dos+0x94>      
 2046cfc:	82 10 20 00 	clr  %g1                                       
	 * 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++) {         
 2046d00:	02 80 00 18 	be  2046d60 <msdos_filename_unix2dos+0xc0>     
 2046d04:	01 00 00 00 	nop                                            
 2046d08:	c4 08 c0 00 	ldub  [ %g3 ], %g2                             
 2046d0c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2046d10:	02 80 00 16 	be  2046d68 <msdos_filename_unix2dos+0xc8>     <== NEVER TAKEN
 2046d14:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 2046d18:	22 80 00 15 	be,a   2046d6c <msdos_filename_unix2dos+0xcc>  
 2046d1c:	c2 0a 20 01 	ldub  [ %o0 + 1 ], %g1                         
    if (msdos_map[c] == 0)                                            
 2046d20:	c4 09 00 02 	ldub  [ %g4 + %g2 ], %g2                       
 2046d24:	80 88 a0 ff 	btst  0xff, %g2                                
 2046d28:	22 80 00 11 	be,a   2046d6c <msdos_filename_unix2dos+0xcc>  
 2046d2c:	c2 0a 20 01 	ldub  [ %o0 + 1 ], %g1                         
      break;                                                          
		dn[i] = msdos_map[c];                                               
		un++;                                                               
 2046d30:	90 10 00 03 	mov  %g3, %o0                                  
	 * upper case.                                                       
	 */                                                                  
	for (i = 0; i <= 7 && unlen && (c = *un) && c != '.'; i++) {         
    if (msdos_map[c] == 0)                                            
      break;                                                          
		dn[i] = msdos_map[c];                                               
 2046d34:	c4 2a 80 01 	stb  %g2, [ %o2 + %g1 ]                        
		un++;                                                               
 2046d38:	86 02 20 01 	add  %o0, 1, %g3                               
	 * 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++) {         
 2046d3c:	82 00 60 01 	inc  %g1                                       
 2046d40:	84 10 20 01 	mov  1, %g2                                    
 2046d44:	80 a0 60 07 	cmp  %g1, 7                                    
 2046d48:	04 80 00 03 	ble  2046d54 <msdos_filename_unix2dos+0xb4>    
 2046d4c:	92 02 7f ff 	add  %o1, -1, %o1                              
 2046d50:	84 10 20 00 	clr  %g2                                       
 2046d54:	80 88 a0 ff 	btst  0xff, %g2                                
 2046d58:	12 bf ff ea 	bne  2046d00 <msdos_filename_unix2dos+0x60>    
 2046d5c:	80 a2 60 00 	cmp  %o1, 0                                    
                                                                      
	/*                                                                   
	 * Strip any further characters up to a '.' or the end of the        
	 * string.                                                           
	 */                                                                  
	while (unlen && (c = *un)) {                                         
 2046d60:	02 80 00 36 	be  2046e38 <msdos_filename_unix2dos+0x198>    
 2046d64:	01 00 00 00 	nop                                            
 2046d68:	c2 0a 20 01 	ldub  [ %o0 + 1 ], %g1                         
 2046d6c:	80 a0 60 00 	cmp  %g1, 0                                    
 2046d70:	02 80 00 32 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== NEVER TAKEN
 2046d74:	01 00 00 00 	nop                                            
		un++;                                                               
 2046d78:	86 00 e0 01 	inc  %g3                                       
		unlen--;                                                            
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
 2046d7c:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2046d80:	02 80 00 0c 	be  2046db0 <msdos_filename_unix2dos+0x110>    
 2046d84:	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)) {                                         
 2046d88:	80 a2 60 00 	cmp  %o1, 0                                    
 2046d8c:	02 80 00 2b 	be  2046e38 <msdos_filename_unix2dos+0x198>    
 2046d90:	01 00 00 00 	nop                                            
 2046d94:	c2 08 c0 00 	ldub  [ %g3 ], %g1                             
 2046d98:	80 a0 60 00 	cmp  %g1, 0                                    
 2046d9c:	02 80 00 27 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== NEVER TAKEN
 2046da0:	92 02 7f ff 	add  %o1, -1, %o1                              
		un++;                                                               
		unlen--;                                                            
		/* Make sure we've skipped over the dot before stopping. */         
		if (c == '.')                                                       
 2046da4:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2046da8:	12 bf ff f8 	bne  2046d88 <msdos_filename_unix2dos+0xe8>    <== ALWAYS TAKEN
 2046dac:	86 00 e0 01 	inc  %g3                                       
	/*                                                                   
	 * 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++) {                    
 2046db0:	80 a2 60 00 	cmp  %o1, 0                                    
 2046db4:	02 80 00 21 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== NEVER TAKEN
 2046db8:	01 00 00 00 	nop                                            
 2046dbc:	c2 08 c0 00 	ldub  [ %g3 ], %g1                             
 2046dc0:	80 a0 60 00 	cmp  %g1, 0                                    
 2046dc4:	02 80 00 1d 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== NEVER TAKEN
 2046dc8:	01 00 00 00 	nop                                            
    if (msdos_map[c] == 0)                                            
 2046dcc:	c4 09 00 01 	ldub  [ %g4 + %g1 ], %g2                       
 2046dd0:	80 88 a0 ff 	btst  0xff, %g2                                
 2046dd4:	02 80 00 19 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== ALWAYS TAKEN
 2046dd8:	82 10 20 08 	mov  8, %g1                                    
      break;                                                          
    dn[i] = msdos_map[c];                                             
 2046ddc:	10 80 00 0d 	b  2046e10 <msdos_filename_unix2dos+0x170>     <== NOT EXECUTED
 2046de0:	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++) {                    
 2046de4:	02 80 00 15 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== NOT EXECUTED
 2046de8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2046dec:	c4 0b 7f f8 	ldub  [ %o5 + -8 ], %g2                        <== NOT EXECUTED
 2046df0:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2046df4:	02 80 00 11 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== NOT EXECUTED
 2046df8:	01 00 00 00 	nop                                            <== NOT EXECUTED
    if (msdos_map[c] == 0)                                            
 2046dfc:	c4 09 00 02 	ldub  [ %g4 + %g2 ], %g2                       <== NOT EXECUTED
 2046e00:	80 88 a0 ff 	btst  0xff, %g2                                <== NOT EXECUTED
 2046e04:	02 80 00 0d 	be  2046e38 <msdos_filename_unix2dos+0x198>    <== NOT EXECUTED
 2046e08:	01 00 00 00 	nop                                            <== NOT EXECUTED
      break;                                                          
    dn[i] = msdos_map[c];                                             
 2046e0c:	c4 2a 80 01 	stb  %g2, [ %o2 + %g1 ]                        <== NOT EXECUTED
		un++;                                                               
		unlen--;                                                            
 2046e10:	92 02 7f ff 	add  %o1, -1, %o1                              <== 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++) {                    
 2046e14:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2046e18:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 2046e1c:	80 a0 60 0a 	cmp  %g1, 0xa                                  <== NOT EXECUTED
 2046e20:	04 80 00 03 	ble  2046e2c <msdos_filename_unix2dos+0x18c>   <== NOT EXECUTED
 2046e24:	9a 00 c0 01 	add  %g3, %g1, %o5                             <== NOT EXECUTED
 2046e28:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 2046e2c:	80 88 a0 ff 	btst  0xff, %g2                                <== NOT EXECUTED
 2046e30:	12 bf ff ed 	bne  2046de4 <msdos_filename_unix2dos+0x144>   <== NOT EXECUTED
 2046e34:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
    dn[i] = msdos_map[c];                                             
		un++;                                                               
		unlen--;                                                            
	}                                                                    
	return 0;                                                            
}                                                                     
 2046e38:	81 c3 e0 08 	retl                                           
 2046e3c:	90 10 20 00 	clr  %o0                                       
                                                                      
	/*                                                                   
	 * The filenames "." and ".." are handled specially, since they      
	 * don't follow dos filename rules.                                  
	 */                                                                  
	if (un[0] == '.' && unlen == 1) {                                    
 2046e40:	80 a2 60 01 	cmp  %o1, 1                                    <== NOT EXECUTED
 2046e44:	22 bf ff fd 	be,a   2046e38 <msdos_filename_unix2dos+0x198> <== NOT EXECUTED
 2046e48:	c2 2a 80 00 	stb  %g1, [ %o2 ]                              <== NOT EXECUTED
		dn[0] = '.';                                                        
		return 0;                                                           
	}                                                                    
	if (un[0] == '.' && un[1] == '.' && unlen == 2) {                    
 2046e4c:	c2 4a 20 01 	ldsb  [ %o0 + 1 ], %g1                         <== NOT EXECUTED
 2046e50:	80 a0 60 2e 	cmp  %g1, 0x2e                                 <== NOT EXECUTED
 2046e54:	12 80 00 05 	bne  2046e68 <msdos_filename_unix2dos+0x1c8>   <== NOT EXECUTED
 2046e58:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
 2046e5c:	80 a2 60 02 	cmp  %o1, 2                                    <== NOT EXECUTED
 2046e60:	02 80 00 0e 	be  2046e98 <msdos_filename_unix2dos+0x1f8>    <== NOT EXECUTED
 2046e64:	80 a2 60 00 	cmp  %o1, 0                                    <== NOT EXECUTED
	}                                                                    
                                                                      
  /*                                                                  
   * Remove any dots from the start of a file name.                   
   */                                                                 
	while (unlen && (*un == '.')) {                                      
 2046e68:	32 80 00 08 	bne,a   2046e88 <msdos_filename_unix2dos+0x1e8><== NOT EXECUTED
 2046e6c:	92 82 7f ff 	addcc  %o1, -1, %o1                            <== NOT EXECUTED
 2046e70:	30 bf ff f2 	b,a   2046e38 <msdos_filename_unix2dos+0x198>  <== NOT EXECUTED
 2046e74:	c2 4a 00 00 	ldsb  [ %o0 ], %g1                             <== NOT EXECUTED
 2046e78:	80 a0 60 2e 	cmp  %g1, 0x2e                                 <== NOT EXECUTED
 2046e7c:	12 bf ff 97 	bne  2046cd8 <msdos_filename_unix2dos+0x38>    <== NOT EXECUTED
 2046e80:	c4 0a 00 00 	ldub  [ %o0 ], %g2                             <== NOT EXECUTED
 2046e84:	92 82 7f ff 	addcc  %o1, -1, %o1                            <== NOT EXECUTED
 2046e88:	12 bf ff fb 	bne  2046e74 <msdos_filename_unix2dos+0x1d4>   <== NOT EXECUTED
 2046e8c:	90 02 20 01 	inc  %o0                                       <== NOT EXECUTED
    dn[i] = msdos_map[c];                                             
		un++;                                                               
		unlen--;                                                            
	}                                                                    
	return 0;                                                            
}                                                                     
 2046e90:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2046e94:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
	if (un[0] == '.' && unlen == 1) {                                    
		dn[0] = '.';                                                        
		return 0;                                                           
	}                                                                    
	if (un[0] == '.' && un[1] == '.' && unlen == 2) {                    
		dn[0] = '.';                                                        
 2046e98:	c2 2a 80 00 	stb  %g1, [ %o2 ]                              <== NOT EXECUTED
		dn[1] = '.';                                                        
		return 0;                                                           
 2046e9c:	10 bf ff e7 	b  2046e38 <msdos_filename_unix2dos+0x198>     <== NOT EXECUTED
 2046ea0:	c2 2a a0 01 	stb  %g1, [ %o2 + 1 ]                          <== NOT EXECUTED
                                                                      

0203b23c <msdos_find_name>: msdos_find_name( rtems_filesystem_location_info_t *parent_loc, const char *name, int name_len ) {
 203b23c:	9d e3 bf 60 	save  %sp, -160, %sp                           
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
 203b240:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %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);         
 203b244:	ba 07 bf e0 	add  %fp, -32, %i5                             
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = parent_loc->mt_entry->fs_info;       
 203b248:	f6 00 60 08 	ld  [ %g1 + 8 ], %i3                           
    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,                            
 203b24c:	94 10 00 1d 	mov  %i5, %o2                                  
 203b250:	92 10 00 1a 	mov  %i2, %o1                                  
 203b254:	96 10 20 0b 	mov  0xb, %o3                                  
    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;                                 
 203b258:	c0 27 bf cc 	clr  [ %fp + -52 ]                             
    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);         
 203b25c:	c0 27 bf e0 	clr  [ %fp + -32 ]                             
 203b260:	c0 27 bf e4 	clr  [ %fp + -28 ]                             
 203b264:	c0 27 bf e8 	clr  [ %fp + -24 ]                             
 203b268:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
 203b26c:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
 203b270:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
 203b274:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 203b278:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
    name_type = msdos_long_to_short (name,                            
 203b27c:	7f ff fa 18 	call  2039adc <msdos_long_to_short>            
 203b280:	90 10 00 19 	mov  %i1, %o0                                  
msdos_find_name(                                                      
    rtems_filesystem_location_info_t *parent_loc,                     
    const char                       *name,                           
    int                               name_len                        
    )                                                                 
{                                                                     
 203b284:	b8 10 00 18 	mov  %i0, %i4                                  
    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,                            
 203b288:	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,
 203b28c:	fa 23 a0 5c 	st  %i5, [ %sp + 0x5c ]                        
 203b290:	90 10 00 18 	mov  %i0, %o0                                  
 203b294:	92 10 20 00 	clr  %o1                                       
 203b298:	94 10 00 19 	mov  %i1, %o2                                  
 203b29c:	96 10 00 1a 	mov  %i2, %o3                                  
 203b2a0:	7f ff ff a6 	call  203b138 <msdos_get_name_node>            
 203b2a4:	9a 07 bf d0 	add  %fp, -48, %o5                             
                             &dir_pos, node_entry);                   
    if (rc != RC_OK)                                                  
 203b2a8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203b2ac:	12 80 00 23 	bne  203b338 <msdos_find_name+0xfc>            
 203b2b0:	c2 0f bf eb 	ldub  [ %fp + -21 ], %g1                       
        return rc;                                                    
                                                                      
    if (((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_VOLUME_ID) ||     
        ((*MSDOS_DIR_ATTR(node_entry) & MSDOS_ATTR_LFN_MASK) == MSDOS_ATTR_LFN))
        return MSDOS_NAME_NOT_FOUND_ERR;                              
 203b2b4:	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) ||     
 203b2b8:	84 08 60 08 	and  %g1, 8, %g2                               
 203b2bc:	80 88 a0 ff 	btst  0xff, %g2                                
 203b2c0:	12 80 00 1e 	bne  203b338 <msdos_find_name+0xfc>            <== NEVER TAKEN
 203b2c4:	b0 16 21 01 	or  %i0, 0x101, %i0                            
 203b2c8:	82 08 60 3f 	and  %g1, 0x3f, %g1                            
 203b2cc:	80 a0 60 0f 	cmp  %g1, 0xf                                  
 203b2d0:	02 80 00 1a 	be  203b338 <msdos_find_name+0xfc>             <== NEVER TAKEN
 203b2d4:	90 10 00 1b 	mov  %i3, %o0                                  
        ((*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(&fs_info->fat, &dir_pos, &fat_fd);             
 203b2d8:	92 07 bf d0 	add  %fp, -48, %o1                             
 203b2dc:	7f ff b6 45 	call  2028bf0 <fat_file_open>                  
 203b2e0:	94 07 bf cc 	add  %fp, -52, %o2                             
    if (rc != RC_OK)                                                  
 203b2e4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203b2e8:	12 80 00 14 	bne  203b338 <msdos_find_name+0xfc>            <== NEVER TAKEN
 203b2ec:	fa 07 bf cc 	ld  [ %fp + -52 ], %i5                         
        return rc;                                                    
                                                                      
    fat_fd->dir_pos = dir_pos;                                        
 203b2f0:	c4 07 bf d0 	ld  [ %fp + -48 ], %g2                         
     * 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)                                       
 203b2f4:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
    /* open fat-file corresponded to the found node */                
    rc = fat_file_open(&fs_info->fat, &dir_pos, &fat_fd);             
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->dir_pos = dir_pos;                                        
 203b2f8:	c4 27 60 20 	st  %g2, [ %i5 + 0x20 ]                        
 203b2fc:	c4 07 bf d4 	ld  [ %fp + -44 ], %g2                         
     * 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)                                       
 203b300:	80 a0 60 01 	cmp  %g1, 1                                    
    /* open fat-file corresponded to the found node */                
    rc = fat_file_open(&fs_info->fat, &dir_pos, &fat_fd);             
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->dir_pos = dir_pos;                                        
 203b304:	c4 27 60 24 	st  %g2, [ %i5 + 0x24 ]                        
 203b308:	c4 07 bf d8 	ld  [ %fp + -40 ], %g2                         
 203b30c:	c4 27 60 28 	st  %g2, [ %i5 + 0x28 ]                        
 203b310:	c4 07 bf dc 	ld  [ %fp + -36 ], %g2                         
     * 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)                                       
 203b314:	02 80 00 0b 	be  203b340 <msdos_find_name+0x104>            
 203b318:	c4 27 60 2c 	st  %g2, [ %i5 + 0x2c ]                        
            fat_fd->map.last_cln = FAT_UNDEFINED_VALUE;               
        }                                                             
    }                                                                 
                                                                      
    /* close fat-file corresponded to the node we searched in */      
    rc = fat_file_close(&fs_info->fat, parent_loc->node_access);      
 203b31c:	d2 07 20 08 	ld  [ %i4 + 8 ], %o1                           
 203b320:	7f ff b7 ae 	call  20291d8 <fat_file_close>                 
 203b324:	90 10 00 1b 	mov  %i3, %o0                                  
    if (rc != RC_OK)                                                  
 203b328:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203b32c:	12 80 00 45 	bne  203b440 <msdos_find_name+0x204>           <== NEVER TAKEN
 203b330:	c2 07 bf cc 	ld  [ %fp + -52 ], %g1                         
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* update node_info_ptr field */                                  
    parent_loc->node_access = fat_fd;                                 
 203b334:	c2 27 20 08 	st  %g1, [ %i4 + 8 ]                           
                                                                      
    return rc;                                                        
}                                                                     
 203b338:	81 c7 e0 08 	ret                                            
 203b33c:	81 e8 00 00 	restore                                        
        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));
 203b340:	c2 17 bf f6 	lduh  [ %fp + -10 ], %g1                       
     * 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);          
 203b344:	c8 17 bf f4 	lduh  [ %fp + -12 ], %g4                       
 203b348:	c6 17 bf fa 	lduh  [ %fp + -6 ], %g3                        
                                                                      
        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));
 203b34c:	c4 17 bf f8 	lduh  [ %fp + -8 ], %g2                        
 203b350:	83 28 60 10 	sll  %g1, 0x10, %g1                            
     * 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);          
 203b354:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203b358:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
                                                                      
        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));
 203b35c:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
     * 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);          
 203b360:	b1 31 20 18 	srl  %g4, 0x18, %i0                            
 203b364:	b3 30 e0 18 	srl  %g3, 0x18, %i1                            
                                                                      
        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));
 203b368:	91 30 a0 18 	srl  %g2, 0x18, %o0                            
 203b36c:	93 30 60 18 	srl  %g1, 0x18, %o1                            
 203b370:	b5 30 60 08 	srl  %g1, 8, %i2                               
     * 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);          
 203b374:	89 31 20 08 	srl  %g4, 8, %g4                               
 203b378:	87 30 e0 08 	srl  %g3, 8, %g3                               
                                                                      
        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));
 203b37c:	85 30 a0 08 	srl  %g2, 8, %g2                               
     * 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);          
 203b380:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
 203b384:	82 10 63 ff 	or  %g1, 0x3ff, %g1	! ffff <PROM_START+0xffff> 
                                                                      
        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));
 203b388:	84 08 80 01 	and  %g2, %g1, %g2                             
     * 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);          
 203b38c:	88 09 00 01 	and  %g4, %g1, %g4                             
 203b390:	86 08 c0 01 	and  %g3, %g1, %g3                             
 203b394:	88 16 00 04 	or  %i0, %g4, %g4                              
                                                                      
        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));
 203b398:	82 0e 80 01 	and  %i2, %g1, %g1                             
     * 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);          
 203b39c:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203b3a0:	86 16 40 03 	or  %i1, %g3, %g3                              
 203b3a4:	86 11 00 03 	or  %g4, %g3, %g3                              
                                                                      
        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));
 203b3a8:	92 12 40 01 	or  %o1, %g1, %o1                              
     * 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);          
 203b3ac:	c6 27 60 1c 	st  %g3, [ %i5 + 0x1c ]                        
                                                                      
        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));
 203b3b0:	40 00 2d ee 	call  2046b68 <msdos_date_dos2unix>            
 203b3b4:	90 12 00 02 	or  %o0, %g2, %o0                              
                                                                      
        if ((*MSDOS_DIR_ATTR(node_entry)) & MSDOS_ATTR_DIRECTORY)     
 203b3b8:	c2 0f bf eb 	ldub  [ %fp + -21 ], %g1                       
 203b3bc:	82 08 60 10 	and  %g1, 0x10, %g1                            
 203b3c0:	80 88 60 ff 	btst  0xff, %g1                                
 203b3c4:	12 80 00 27 	bne  203b460 <msdos_find_name+0x224>           
 203b3c8:	d0 27 60 40 	st  %o0, [ %i5 + 0x40 ]                        
                return rc;                                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            fat_fd->fat_file_size = CF_LE_L(*MSDOS_DIR_FILE_SIZE(node_entry));
 203b3cc:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 203b3d0:	c2 07 bf cc 	ld  [ %fp + -52 ], %g1                         
 203b3d4:	bb 28 a0 18 	sll  %g2, 0x18, %i5                            
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
 203b3d8:	89 30 a0 18 	srl  %g2, 0x18, %g4                            
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 203b3dc:	87 30 a0 08 	srl  %g2, 8, %g3                               
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 203b3e0:	88 17 40 04 	or  %i5, %g4, %g4                              
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 203b3e4:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 203b3e8:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203b3ec:	86 11 00 03 	or  %g4, %g3, %g3                              
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 203b3f0:	85 30 a0 10 	srl  %g2, 0x10, %g2                            
 203b3f4:	84 08 a0 ff 	and  %g2, 0xff, %g2                            
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 203b3f8:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203b3fc:	84 10 c0 02 	or  %g3, %g2, %g2                              
            fat_fd->fat_file_type = FAT_FILE;                         
 203b400:	86 10 20 04 	mov  4, %g3                                    
                return rc;                                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            fat_fd->fat_file_size = CF_LE_L(*MSDOS_DIR_FILE_SIZE(node_entry));
 203b404:	c4 20 60 18 	st  %g2, [ %g1 + 0x18 ]                        
            fat_fd->fat_file_type = FAT_FILE;                         
 203b408:	c6 20 60 10 	st  %g3, [ %g1 + 0x10 ]                        
            fat_fd->size_limit = MSDOS_MAX_FILE_SIZE;                 
 203b40c:	86 10 3f ff 	mov  -1, %g3                                   
 203b410:	c6 20 60 14 	st  %g3, [ %g1 + 0x14 ]                        
        }                                                             
                                                                      
        /* these data is not actual for zero-length fat-file */       
        fat_fd->map.file_cln = 0;                                     
        fat_fd->map.disk_cln = fat_fd->cln;                           
 203b414:	c6 00 60 1c 	ld  [ %g1 + 0x1c ], %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;                                     
 203b418:	c0 20 60 34 	clr  [ %g1 + 0x34 ]                            
        fat_fd->map.disk_cln = fat_fd->cln;                           
                                                                      
        if ((fat_fd->fat_file_size != 0) &&                           
 203b41c:	80 a0 a0 00 	cmp  %g2, 0                                    
 203b420:	02 80 00 0d 	be  203b454 <msdos_find_name+0x218>            
 203b424:	c6 20 60 38 	st  %g3, [ %g1 + 0x38 ]                        
            (fat_fd->fat_file_size <= fs_info->fat.vol.bpc))          
 203b428:	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) &&                           
 203b42c:	80 a1 00 02 	cmp  %g4, %g2                                  
 203b430:	0a 80 00 0a 	bcs  203b458 <msdos_find_name+0x21c>           
 203b434:	84 10 3f ff 	mov  -1, %g2                                   
            (fat_fd->fat_file_size <= fs_info->fat.vol.bpc))          
        {                                                             
            fat_fd->map.last_cln = fat_fd->cln;                       
 203b438:	10 bf ff b9 	b  203b31c <msdos_find_name+0xe0>              
 203b43c:	c6 20 60 3c 	st  %g3, [ %g1 + 0x3c ]                        
                                                                      
    /* close fat-file corresponded to the node we searched in */      
    rc = fat_file_close(&fs_info->fat, parent_loc->node_access);      
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
 203b440:	d2 07 bf cc 	ld  [ %fp + -52 ], %o1                         <== NOT EXECUTED
 203b444:	7f ff b7 65 	call  20291d8 <fat_file_close>                 <== NOT EXECUTED
 203b448:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 203b44c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b450:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        {                                                             
            fat_fd->map.last_cln = fat_fd->cln;                       
        }                                                             
        else                                                          
        {                                                             
            fat_fd->map.last_cln = FAT_UNDEFINED_VALUE;               
 203b454:	84 10 3f ff 	mov  -1, %g2                                   
 203b458:	10 bf ff b1 	b  203b31c <msdos_find_name+0xe0>              
 203b45c:	c4 20 60 3c 	st  %g2, [ %g1 + 0x3c ]                        
                                                                      
        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;                    
 203b460:	d2 07 bf cc 	ld  [ %fp + -52 ], %o1                         
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
 203b464:	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;                    
 203b468:	c0 22 60 10 	clr  [ %o1 + 0x10 ]                            
            fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                
 203b46c:	c2 22 60 14 	st  %g1, [ %o1 + 0x14 ]                        
                                                                      
            rc = fat_file_size(&fs_info->fat, fat_fd);                
 203b470:	7f ff b9 27 	call  202990c <fat_file_size>                  
 203b474:	90 10 00 1b 	mov  %i3, %o0                                  
            if (rc != RC_OK)                                          
 203b478:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203b47c:	12 bf ff f1 	bne  203b440 <msdos_find_name+0x204>           <== NEVER TAKEN
 203b480:	c2 07 bf cc 	ld  [ %fp + -52 ], %g1                         
 203b484:	10 bf ff e4 	b  203b414 <msdos_find_name+0x1d8>             
 203b488:	c4 00 60 18 	ld  [ %g1 + 0x18 ], %g2                        
                                                                      

0203a2bc <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 ) {
 203a2bc:	9d e3 bf 80 	save  %sp, -128, %sp                           
 203a2c0:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 203a2c4:	f2 27 a0 48 	st  %i1, [ %fp + 0x48 ]                        
 203a2c8:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 203a2cc:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
    uint32_t         empty_space_count = 0;                           
    bool             empty_space_found = false;                       
    uint32_t         entries_per_block;                               
    bool             read_cluster = false;                            
                                                                      
    assert(name_len > 0);                                             
 203a2d0:	80 a7 20 00 	cmp  %i4, 0                                    
 203a2d4:	04 80 02 73 	ble  203aca0 <msdos_find_name_in_fat_file+0x9e4><== NEVER TAKEN
 203a2d8:	ea 06 20 08 	ld  [ %i0 + 8 ], %l5                           
     * 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))               
 203a2dc:	c4 07 a0 58 	ld  [ %fp + 0x58 ], %g2                        
 203a2e0:	82 18 a0 01 	xor  %g2, 1, %g1                               
static inline void                                                    
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
 203a2e4:	c4 07 a0 5c 	ld  [ %fp + 0x5c ], %g2                        
 203a2e8:	80 a0 00 01 	cmp  %g0, %g1                                  
 203a2ec:	c0 20 80 00 	clr  [ %g2 ]                                   
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 203a2f0:	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;                                             
 203a2f4:	c0 20 a0 04 	clr  [ %g2 + 4 ]                               
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 203a2f8:	c2 20 a0 08 	st  %g1, [ %g2 + 8 ]                           
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 203a2fc:	c2 20 a0 0c 	st  %g1, [ %g2 + 0xc ]                         
                                                                      
    assert(name_len > 0);                                             
                                                                      
    fat_dir_pos_init(dir_pos);                                        
                                                                      
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
 203a300:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
     * 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))               
 203a304:	b2 60 3f ff 	subx  %g0, -1, %i1                             
 203a308:	80 a6 60 00 	cmp  %i1, 0                                    
 203a30c:	02 80 00 80 	be  203a50c <msdos_find_name_in_fat_file+0x250>
 203a310:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
 203a314:	80 a6 a0 00 	cmp  %i2, 0                                    
 203a318:	02 80 00 7d 	be  203a50c <msdos_find_name_in_fat_file+0x250>
 203a31c:	c0 27 bf e4 	clr  [ %fp + -28 ]                             
      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) &&                                 
 203a320:	c4 07 a0 48 	ld  [ %fp + 0x48 ], %g2                        
 203a324:	c2 00 a0 20 	ld  [ %g2 + 0x20 ], %g1                        
 203a328:	80 a0 60 01 	cmp  %g1, 1                                    
 203a32c:	22 80 01 79 	be,a   203a910 <msdos_find_name_in_fat_file+0x654>
 203a330:	c2 00 a0 24 	ld  [ %g2 + 0x24 ], %g1                        
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
 203a334:	e4 15 60 06 	lduh  [ %l5 + 6 ], %l2                         
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
 203a338:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 203a33c:	d8 05 60 94 	ld  [ %l5 + 0x94 ], %o4                        
 203a340:	82 00 60 01 	inc  %g1                                       
    /*                                                                
     * 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(&fs_info->fat, fat_fd, (dir_offset * bts2rd),
 203a344:	c0 27 bf e8 	clr  [ %fp + -24 ]                             
    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;                       
 203a348:	a8 10 20 00 	clr  %l4                                       
    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;                           
 203a34c:	a2 10 20 00 	clr  %l1                                       
    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;                           
 203a350:	a6 10 20 00 	clr  %l3                                       
    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;                          
 203a354:	b6 10 20 00 	clr  %i3                                       
    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;                                   
 203a358:	ac 10 20 00 	clr  %l6                                       
    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;                                
 203a35c:	b8 10 20 00 	clr  %i4                                       
    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;                             
 203a360:	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;                                  
 203a364:	ae 10 20 00 	clr  %l7                                       
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
 203a368:	c2 27 bf ec 	st  %g1, [ %fp + -20 ]                         
    /*                                                                
     * 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(&fs_info->fat, fat_fd, (dir_offset * bts2rd),
 203a36c:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
 203a370:	d4 07 bf e8 	ld  [ %fp + -24 ], %o2                         
 203a374:	90 10 00 15 	mov  %l5, %o0                                  
 203a378:	7f ff ba d2 	call  2028ec0 <fat_file_read>                  
 203a37c:	96 10 00 12 	mov  %l2, %o3                                  
 203a380:	80 a2 20 00 	cmp  %o0, 0                                    
 203a384:	02 80 00 5c 	be  203a4f4 <msdos_find_name_in_fat_file+0x238><== NEVER TAKEN
 203a388:	80 a2 20 1f 	cmp  %o0, 0x1f                                 
        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)                  
 203a38c:	04 80 01 77 	ble  203a968 <msdos_find_name_in_fat_file+0x6ac><== NEVER TAKEN
 203a390:	80 a2 00 12 	cmp  %o0, %l2                                  
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        assert(ret == bts2rd);                                        
 203a394:	12 80 02 3b 	bne  203ac80 <msdos_find_name_in_fat_file+0x9c4><== NEVER TAKEN
 203a398:	a0 10 20 00 	clr  %l0                                       
 203a39c:	d8 05 60 94 	ld  [ %l5 + 0x94 ], %o4                        
 203a3a0:	ba 10 00 0c 	mov  %o4, %i5                                  
             * 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)                               
 203a3a4:	80 a4 60 00 	cmp  %l1, 0                                    
 203a3a8:	12 80 00 04 	bne  203a3b8 <msdos_find_name_in_fat_file+0xfc>
 203a3ac:	de 0f 40 00 	ldub  [ %i5 ], %o7                             
 203a3b0:	a6 10 00 10 	mov  %l0, %l3                                  
 203a3b4:	b6 10 00 17 	mov  %l7, %i3                                  
            {                                                         
                empty_space_entry = dir_entry;                        
                empty_space_offset = dir_offset;                      
            }                                                         
                                                                      
            if (remainder_empty)                                      
 203a3b8:	96 8b e0 ff 	andcc  %o7, 0xff, %o3                          
 203a3bc:	02 80 00 e0 	be  203a73c <msdos_find_name_in_fat_file+0x480>
 203a3c0:	80 a2 e0 e5 	cmp  %o3, 0xe5                                 
                  printf ("MSFS:[3.2] esf:%i esc%i\n", empty_space_found, empty_space_count);
#endif                                                                
                }                                                     
                break;                                                
            }                                                         
            else if (entry_empty)                                     
 203a3c4:	02 80 00 6c 	be  203a574 <msdos_find_name_in_fat_file+0x2b8>
 203a3c8:	96 1d 20 01 	xor  %l4, 1, %o3                               
                 * 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)                
 203a3cc:	80 8a e0 ff 	btst  0xff, %o3                                
 203a3d0:	02 80 00 07 	be  203a3ec <msdos_find_name_in_fat_file+0x130><== NEVER TAKEN
 203a3d4:	d6 0f 60 0b 	ldub  [ %i5 + 0xb ], %o3                       
 203a3d8:	80 a6 a0 00 	cmp  %i2, 0                                    
 203a3dc:	02 80 00 04 	be  203a3ec <msdos_find_name_in_fat_file+0x130>
 203a3e0:	01 00 00 00 	nop                                            
                {                                                     
                    empty_space_entry = 0;                            
                    empty_space_count = 0;                            
 203a3e4:	a2 10 20 00 	clr  %l1	! 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;                            
 203a3e8:	a6 10 20 00 	clr  %l3                                       
                                                                      
                /*                                                    
                 * Check the attribute to see if the entry is for a long
                 * file name.                                         
                 */                                                   
                if ((*MSDOS_DIR_ATTR(entry) & MSDOS_ATTR_LFN_MASK) == 
 203a3ec:	96 0a e0 3f 	and  %o3, 0x3f, %o3                            
 203a3f0:	80 a2 e0 0f 	cmp  %o3, 0xf                                  
 203a3f4:	02 80 00 6a 	be  203a59c <msdos_find_name_in_fat_file+0x2e0>
 203a3f8:	80 8e 20 ff 	btst  0xff, %i0                                
                     * 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)                                  
 203a3fc:	02 80 00 50 	be  203a53c <msdos_find_name_in_fat_file+0x280>
 203a400:	80 a6 60 00 	cmp  %i1, 0                                    
 *     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(                                      
 203a404:	92 07 60 0a 	add  %i5, 0xa, %o1                             
 203a408:	96 10 00 1d 	mov  %i5, %o3                                  
 203a40c:	94 10 20 00 	clr  %o2                                       
                        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;
 203a410:	10 80 00 09 	b  203a434 <msdos_find_name_in_fat_file+0x178> 
 203a414:	b0 10 20 00 	clr  %i0                                       
 203a418:	9e 0b e0 01 	and  %o7, 1, %o7                               
 203a41c:	80 a0 00 0f 	cmp  %g0, %o7                                  
 203a420:	de 0a e0 01 	ldub  [ %o3 + 1 ], %o7                         
 203a424:	b0 40 3f ff 	addx  %g0, -1, %i0                             
 203a428:	96 02 e0 01 	inc  %o3                                       
 203a42c:	b0 0e 20 80 	and  %i0, 0x80, %i0                            
 203a430:	b0 06 3f 80 	add  %i0, -128, %i0                            
 203a434:	94 0a a0 ff 	and  %o2, 0xff, %o2                            
 203a438:	95 32 a0 01 	srl  %o2, 1, %o2                               
 203a43c:	9e 06 00 0f 	add  %i0, %o7, %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++)
 203a440:	80 a2 c0 09 	cmp  %o3, %o1                                  
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
 203a444:	9e 03 c0 0a 	add  %o7, %o2, %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++)
 203a448:	12 bf ff f4 	bne  203a418 <msdos_find_name_in_fat_file+0x15c>
 203a44c:	94 10 00 0f 	mov  %o7, %o2                                  
                            cs = ((cs & 1) ? 0x80 : 0) + (cs >> 1) + *p;
                                                                      
                        if (lfn_entry || (lfn_checksum != cs))        
 203a450:	94 1f 00 0a 	xor  %i4, %o2, %o2                             
 203a454:	80 8a a0 ff 	btst  0xff, %o2                                
 203a458:	12 80 00 39 	bne  203a53c <msdos_find_name_in_fat_file+0x280><== NEVER TAKEN
 203a45c:	80 a6 60 00 	cmp  %i1, 0                                    
 203a460:	80 a5 a0 00 	cmp  %l6, 0                                    
 203a464:	12 80 00 36 	bne  203a53c <msdos_find_name_in_fat_file+0x280><== NEVER TAKEN
 203a468:	80 a6 60 00 	cmp  %i1, 0                                    
#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(&fs_info->fat, fat_fd, F_CLU_NUM,
 203a46c:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
 203a470:	d6 07 bf e8 	ld  [ %fp + -24 ], %o3                         
 203a474:	d8 07 a0 5c 	ld  [ %fp + 0x5c ], %o4                        
 203a478:	90 10 00 15 	mov  %l5, %o0                                  
 203a47c:	7f ff bb 85 	call  2029290 <fat_file_ioctl>                 
 203a480:	94 10 20 01 	mov  1, %o2                                    
                                                dir_offset * bts2rd,  
                                                &dir_pos->sname.cln); 
                        if (rc != RC_OK)                              
 203a484:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203a488:	12 80 00 19 	bne  203a4ec <msdos_find_name_in_fat_file+0x230><== NEVER TAKEN
 203a48c:	c2 07 a0 5c 	ld  [ %fp + 0x5c ], %g1                        
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
 203a490:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 203a494:	80 a2 7f ff 	cmp  %o1, -1                                   
 203a498:	02 80 01 29 	be  203a93c <msdos_find_name_in_fat_file+0x680>
 203a49c:	e0 20 60 04 	st  %l0, [ %g1 + 4 ]                           
                        {                                             
                          rc = fat_file_ioctl(&fs_info->fat, fat_fd, F_CLU_NUM,
 203a4a0:	7f ff 22 b1 	call  2002f64 <.umul>                          
 203a4a4:	90 10 00 12 	mov  %l2, %o0                                  
 203a4a8:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
 203a4ac:	96 10 00 08 	mov  %o0, %o3                                  
 203a4b0:	94 10 20 01 	mov  1, %o2                                    
 203a4b4:	90 10 00 15 	mov  %l5, %o0                                  
 203a4b8:	7f ff bb 76 	call  2029290 <fat_file_ioctl>                 
 203a4bc:	98 07 bf f8 	add  %fp, -8, %o4                              
                                              lfn_start.cln * bts2rd, 
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
 203a4c0:	80 a2 20 00 	cmp  %o0, 0                                    
 203a4c4:	12 80 01 1c 	bne  203a934 <msdos_find_name_in_fat_file+0x678><== NEVER TAKEN
 203a4c8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
 203a4cc:	c4 07 a0 5c 	ld  [ %fp + 0x5c ], %g2                        
                        dir_pos->lname.ofs = lfn_start.ofs;           
                                                                      
                        memcpy(name_dir_entry, entry,                 
 203a4d0:	d0 07 a0 60 	ld  [ %fp + 0x60 ], %o0                        
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
 203a4d4:	c2 20 a0 08 	st  %g1, [ %g2 + 8 ]                           
                        dir_pos->lname.ofs = lfn_start.ofs;           
 203a4d8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
                        memcpy(name_dir_entry, entry,                 
 203a4dc:	92 10 00 1d 	mov  %i5, %o1                                  
                          if (rc != RC_OK)                            
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
                        dir_pos->lname.ofs = lfn_start.ofs;           
 203a4e0:	c2 20 a0 0c 	st  %g1, [ %g2 + 0xc ]                         
                                                                      
                        memcpy(name_dir_entry, entry,                 
 203a4e4:	40 00 46 48 	call  204be04 <memcpy>                         
 203a4e8:	94 10 20 20 	mov  0x20, %o2                                 
 203a4ec:	81 c7 e0 08 	ret                                            
 203a4f0:	81 e8 00 00 	restore                                        
                                                                      
    /*                                                                
     * If we are not to create the entry return a not found error.    
     */                                                               
    if (!create_node)                                                 
      return MSDOS_NAME_NOT_FOUND_ERR;                                
 203a4f4:	31 00 00 1f 	sethi  %hi(0x7c00), %i0                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * If we are not to create the entry return a not found error.    
     */                                                               
    if (!create_node)                                                 
 203a4f8:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 203a4fc:	12 80 00 99 	bne  203a760 <msdos_find_name_in_fat_file+0x4a4><== NOT EXECUTED
 203a500:	b0 16 21 01 	or  %i0, 0x101, %i0                            <== NOT EXECUTED
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
}                                                                     
 203a504:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203a508:	81 e8 00 00 	restore                                        <== NOT EXECUTED
     * test this make this test always fail, ie add "0 &&".           
     */                                                               
    if (create_node && (name_type == MSDOS_NAME_SHORT))               
      lfn_entries = 0;                                                
    else                                                              
      lfn_entries =                                                   
 203a50c:	c4 07 a0 54 	ld  [ %fp + 0x54 ], %g2                        
 203a510:	92 10 20 0d 	mov  0xd, %o1                                  
 203a514:	40 00 9d e4 	call  2061ca4 <.div>                           
 203a518:	90 00 a0 0c 	add  %g2, 0xc, %o0                             
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
 203a51c:	c4 07 a0 48 	ld  [ %fp + 0x48 ], %g2                        
     * test this make this test always fail, ie add "0 &&".           
     */                                                               
    if (create_node && (name_type == MSDOS_NAME_SHORT))               
      lfn_entries = 0;                                                
    else                                                              
      lfn_entries =                                                   
 203a520:	d0 27 bf e4 	st  %o0, [ %fp + -28 ]                         
        ((name_len - 1) + MSDOS_LFN_LEN_PER_ENTRY) / MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
    if (FAT_FD_OF_ROOT_DIR(fat_fd) &&                                 
 203a524:	c2 00 a0 20 	ld  [ %g2 + 0x20 ], %g1                        
 203a528:	80 a0 60 01 	cmp  %g1, 1                                    
 203a52c:	32 bf ff 83 	bne,a   203a338 <msdos_find_name_in_fat_file+0x7c>
 203a530:	e4 15 60 06 	lduh  [ %l5 + 6 ], %l2                         
 203a534:	10 80 00 f7 	b  203a910 <msdos_find_name_in_fat_file+0x654> 
 203a538:	c2 00 a0 24 	ld  [ %g2 + 0x24 ], %g1                        
                     * 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 ||                                
 203a53c:	12 80 00 5d 	bne  203a6b0 <msdos_find_name_in_fat_file+0x3f4>
 203a540:	f0 07 bf f8 	ld  [ %fp + -8 ], %i0                          
                        memcpy(name_dir_entry, entry,                 
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
 203a544:	82 10 3f ff 	mov  -1, %g1                                   
                    lfn_matched = false;                              
 203a548:	b0 10 20 00 	clr  %i0                                       
                        memcpy(name_dir_entry, entry,                 
                               MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);    
                        return RC_OK;                                 
                    }                                                 
                                                                      
                    lfn_start.cln = FAT_FILE_SHORT_NAME;              
 203a54c:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
 203a550:	a0 04 20 20 	add  %l0, 0x20, %l0                            
            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;                                           
 203a554:	80 a4 80 10 	cmp  %l2, %l0                                  
 203a558:	18 bf ff 93 	bgu  203a3a4 <msdos_find_name_in_fat_file+0xe8><== ALWAYS TAKEN
 203a55c:	ba 07 60 20 	add  %i5, 0x20, %i5                            
 203a560:	c4 07 bf e8 	ld  [ %fp + -24 ], %g2                         <== NOT EXECUTED
        }                                                             
                                                                      
        if (remainder_empty)                                          
            break;                                                    
                                                                      
        dir_offset++;                                                 
 203a564:	ae 05 e0 01 	inc  %l7                                       <== NOT EXECUTED
 203a568:	84 00 80 12 	add  %g2, %l2, %g2                             <== NOT EXECUTED
 203a56c:	10 bf ff 80 	b  203a36c <msdos_find_name_in_fat_file+0xb0>  <== NOT EXECUTED
 203a570:	c4 27 bf e8 	st  %g2, [ %fp + -24 ]                         <== NOT EXECUTED
                }                                                     
                break;                                                
            }                                                         
            else if (entry_empty)                                     
            {                                                         
                if (create_node)                                      
 203a574:	80 a6 a0 00 	cmp  %i2, 0                                    
 203a578:	22 bf ff f7 	be,a   203a554 <msdos_find_name_in_fat_file+0x298>
 203a57c:	a0 04 20 20 	add  %l0, 0x20, %l0                            
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
 203a580:	c4 07 bf ec 	ld  [ %fp + -20 ], %g2                         
                if (create_node)                                      
                {                                                     
                  /*                                                  
                   * Remainder is not empty so is this entry empty ?  
                   */                                                 
                  empty_space_count++;                                
 203a584:	a2 04 60 01 	inc  %l1                                       
                                                                      
                  if (empty_space_count == (lfn_entries + 1))         
 203a588:	80 a0 80 11 	cmp  %g2, %l1                                  
 203a58c:	22 bf ff f1 	be,a   203a550 <msdos_find_name_in_fat_file+0x294>
 203a590:	a8 10 20 01 	mov  1, %l4                                    
 203a594:	10 bf ff f0 	b  203a554 <msdos_find_name_in_fat_file+0x298> 
 203a598:	a0 04 20 20 	add  %l0, 0x20, %l0                            
#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)         
 203a59c:	d6 07 bf f8 	ld  [ %fp + -8 ], %o3                          
 203a5a0:	80 a2 ff ff 	cmp  %o3, -1                                   
 203a5a4:	02 80 00 50 	be  203a6e4 <msdos_find_name_in_fat_file+0x428>
 203a5a8:	96 0b e0 40 	and  %o7, 0x40, %o3                            
                     * 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) & 
 203a5ac:	9e 0b e0 3f 	and  %o7, 0x3f, %o7                            
 203a5b0:	80 a3 c0 16 	cmp  %o7, %l6                                  
 203a5b4:	22 80 00 05 	be,a   203a5c8 <msdos_find_name_in_fat_file+0x30c><== ALWAYS TAKEN
 203a5b8:	c2 0f 60 0d 	ldub  [ %i5 + 0xd ], %g1                       
                        (lfn_checksum != *MSDOS_DIR_LFN_CHECKSUM(entry)))
                    {                                                 
#if MSDOS_FIND_PRINT                                                  
                        printf ("MSFS:[4.4] no match\n");             
#endif                                                                
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
 203a5bc:	84 10 3f ff 	mov  -1, %g2                                   <== NOT EXECUTED
                        continue;                                     
 203a5c0:	10 bf ff e4 	b  203a550 <msdos_find_name_in_fat_file+0x294> <== NOT EXECUTED
 203a5c4:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          <== NOT EXECUTED
                     * 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) & 
                                       MSDOS_LAST_LONG_ENTRY_MASK)) ||
 203a5c8:	96 0f 20 ff 	and  %i4, 0xff, %o3                            
 203a5cc:	94 08 60 ff 	and  %g1, 0xff, %o2                            
 203a5d0:	80 a2 80 0b 	cmp  %o2, %o3                                  
 203a5d4:	12 bf ff fb 	bne  203a5c0 <msdos_find_name_in_fat_file+0x304><== NEVER TAKEN
 203a5d8:	84 10 3f ff 	mov  -1, %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(                                      
 203a5dc:	96 07 60 01 	add  %i5, 1, %o3                               
                    {                                                 
#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')                               
 203a5e0:	da 4a c0 00 	ldsb  [ %o3 ], %o5                             
#endif                                                                
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
                        continue;                                     
                    }                                                 
                                                                      
                    lfn_entry--;                                      
 203a5e4:	ac 05 bf ff 	add  %l6, -1, %l6                              
                    o = lfn_entry * MSDOS_LFN_LEN_PER_ENTRY;          
 203a5e8:	b1 2d a0 02 	sll  %l6, 2, %i0                               
 203a5ec:	93 2d a0 04 	sll  %l6, 4, %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(                                      
 203a5f0:	94 10 20 01 	mov  1, %o2                                    
                        lfn_start.cln = FAT_FILE_SHORT_NAME;          
                        continue;                                     
                    }                                                 
                                                                      
                    lfn_entry--;                                      
                    o = lfn_entry * MSDOS_LFN_LEN_PER_ENTRY;          
 203a5f4:	92 22 40 18 	sub  %o1, %i0, %o1                             
                    {                                                 
#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')                               
 203a5f8:	80 a3 60 00 	cmp  %o5, 0                                    
 *     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(                                      
 203a5fc:	b0 10 20 00 	clr  %i0                                       
                    {                                                 
#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')                               
 203a600:	02 80 00 18 	be  203a660 <msdos_find_name_in_fat_file+0x3a4><== NEVER TAKEN
 203a604:	92 02 40 16 	add  %o1, %l6, %o1                             
                                ((o + i) != name_len))                
                                lfn_start.cln = FAT_FILE_SHORT_NAME;  
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
 203a608:	c4 07 a0 54 	ld  [ %fp + 0x54 ], %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(                                      
 203a60c:	90 06 00 09 	add  %i0, %o1, %o0                             
                                ((o + i) != name_len))                
                                lfn_start.cln = FAT_FILE_SHORT_NAME;  
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
 203a610:	80 a0 80 08 	cmp  %g2, %o0                                  
 203a614:	04 80 00 1c 	ble  203a684 <msdos_find_name_in_fat_file+0x3c8>
 203a618:	c4 07 a0 50 	ld  [ %fp + 0x50 ], %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(                                      
 203a61c:	90 00 80 09 	add  %g2, %o1, %o0                             
                                ((o + i) != name_len))                
                                lfn_start.cln = FAT_FILE_SHORT_NAME;  
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
 203a620:	d0 4a 00 18 	ldsb  [ %o0 + %i0 ], %o0                       
 203a624:	80 a3 40 08 	cmp  %o5, %o0                                  
 203a628:	12 80 00 17 	bne  203a684 <msdos_find_name_in_fat_file+0x3c8>
 203a62c:	80 a6 20 04 	cmp  %i0, 4                                    
                        {                                             
                            lfn_start.cln = FAT_FILE_SHORT_NAME;      
                            break;                                    
                        }                                             
                                                                      
                        switch (i)                                    
 203a630:	02 80 00 3f 	be  203a72c <msdos_find_name_in_fat_file+0x470>
 203a634:	80 a6 20 0a 	cmp  %i0, 0xa                                  
 203a638:	02 80 00 39 	be  203a71c <msdos_find_name_in_fat_file+0x460>
 203a63c:	80 a2 a0 0d 	cmp  %o2, 0xd                                  
                    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++)     
 203a640:	02 80 00 13 	be  203a68c <msdos_find_name_in_fat_file+0x3d0>
 203a644:	96 02 e0 02 	add  %o3, 2, %o3                               
 203a648:	b0 06 20 01 	inc  %i0                                       
 203a64c:	94 02 a0 01 	inc  %o2                                       
                    {                                                 
#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')                               
 203a650:	da 4a c0 00 	ldsb  [ %o3 ], %o5                             
 203a654:	80 a3 60 00 	cmp  %o5, 0                                    
 203a658:	12 bf ff ed 	bne  203a60c <msdos_find_name_in_fat_file+0x350>
 203a65c:	c4 07 a0 54 	ld  [ %fp + 0x54 ], %g2                        
                            /*                                        
                             * 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) &&   
 203a660:	c4 07 bf e4 	ld  [ %fp + -28 ], %g2                         
 203a664:	80 a0 80 0f 	cmp  %g2, %o7                                  
 203a668:	12 80 00 0a 	bne  203a690 <msdos_find_name_in_fat_file+0x3d4><== NEVER TAKEN
 203a66c:	80 a5 a0 00 	cmp  %l6, 0                                    
 203a670:	c4 07 a0 54 	ld  [ %fp + 0x54 ], %g2                        
                                ((o + i) != name_len))                
 203a674:	b0 02 40 18 	add  %o1, %i0, %i0                             
                            /*                                        
                             * 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) &&   
 203a678:	80 a6 00 02 	cmp  %i0, %g2                                  
 203a67c:	02 80 00 05 	be  203a690 <msdos_find_name_in_fat_file+0x3d4><== ALWAYS TAKEN
 203a680:	80 a5 a0 00 	cmp  %l6, 0                                    
                            break;                                    
                        }                                             
                                                                      
                        if (((o + i) >= name_len) || (*p != name[o + i]))
                        {                                             
                            lfn_start.cln = FAT_FILE_SHORT_NAME;      
 203a684:	84 10 3f ff 	mov  -1, %g2                                   
 203a688:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
                                p += 2;                               
                                break;                                
                        }                                             
                    }                                                 
                                                                      
                    lfn_matched = ((lfn_entry == 0) &&                
 203a68c:	80 a5 a0 00 	cmp  %l6, 0                                    
 203a690:	12 80 00 06 	bne  203a6a8 <msdos_find_name_in_fat_file+0x3ec>
 203a694:	b0 10 20 00 	clr  %i0                                       
 203a698:	f0 07 bf f8 	ld  [ %fp + -8 ], %i0                          
 203a69c:	b0 38 00 18 	xnor  %g0, %i0, %i0                            
 203a6a0:	80 a0 00 18 	cmp  %g0, %i0                                  
 203a6a4:	b0 40 20 00 	addx  %g0, 0, %i0                              
                     * 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)         
                    {                                                 
                        lfn_matched = false;                          
 203a6a8:	10 bf ff aa 	b  203a550 <msdos_find_name_in_fat_file+0x294> 
 203a6ac:	b8 10 00 01 	mov  %g1, %i4                                  
                     * 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 ||                                
                        ((name_type == MSDOS_NAME_SHORT) &&           
 203a6b0:	80 a6 3f ff 	cmp  %i0, -1                                   
 203a6b4:	12 bf ff a5 	bne  203a548 <msdos_find_name_in_fat_file+0x28c><== NEVER TAKEN
 203a6b8:	82 10 3f ff 	mov  -1, %g1                                   
                         (lfn_start.cln == FAT_FILE_SHORT_NAME) &&    
                         (memcmp(MSDOS_DIR_NAME(entry),               
 203a6bc:	d2 07 a0 60 	ld  [ %fp + 0x60 ], %o1                        
 203a6c0:	d8 27 bf e0 	st  %o4, [ %fp + -32 ]                         
 203a6c4:	90 10 00 1d 	mov  %i5, %o0                                  
 203a6c8:	40 00 45 a5 	call  204bd5c <memcmp>                         
 203a6cc:	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) &&    
 203a6d0:	80 a2 20 00 	cmp  %o0, 0                                    
 203a6d4:	12 bf ff 9c 	bne  203a544 <msdos_find_name_in_fat_file+0x288>
 203a6d8:	d8 07 bf e0 	ld  [ %fp + -32 ], %o4                         
#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(&fs_info->fat, fat_fd, F_CLU_NUM,
 203a6dc:	10 bf ff 65 	b  203a470 <msdos_find_name_in_fat_file+0x1b4> 
 203a6e0:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
                                                                      
                        /*                                            
                         * The first entry must have the last long entry
                         * flag set.                                  
                         */                                           
                        if ((*MSDOS_DIR_ENTRY_TYPE(entry) &           
 203a6e4:	80 8a e0 ff 	btst  0xff, %o3                                
 203a6e8:	02 bf ff 9a 	be  203a550 <msdos_find_name_in_fat_file+0x294>
 203a6ec:	b0 10 20 00 	clr  %i0                                       
                         * 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) &
 203a6f0:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 203a6f4:	9e 0b e0 3f 	and  %o7, 0x3f, %o7                            
 203a6f8:	80 a3 c0 01 	cmp  %o7, %g1                                  
 203a6fc:	32 bf ff 96 	bne,a   203a554 <msdos_find_name_in_fat_file+0x298>
 203a700:	a0 04 20 20 	add  %l0, 0x20, %l0                            
                            continue;                                 
                                                                      
                        /*                                            
                         * Get the checksum of the short entry.       
                         */                                           
                        lfn_start.cln = dir_offset;                   
 203a704:	ee 27 bf f8 	st  %l7, [ %fp + -8 ]                          
                        lfn_start.ofs = dir_entry;                    
 203a708:	e0 27 bf fc 	st  %l0, [ %fp + -4 ]                          
                        lfn_entry = lfn_entries;                      
                        lfn_checksum = *MSDOS_DIR_LFN_CHECKSUM(entry);
 203a70c:	ac 10 00 01 	mov  %g1, %l6                                  
 203a710:	f8 0f 60 0d 	ldub  [ %i5 + 0xd ], %i4                       
 203a714:	10 bf ff a6 	b  203a5ac <msdos_find_name_in_fat_file+0x2f0> 
 203a718:	de 0f 40 00 	ldub  [ %i5 ], %o7                             
                        {                                             
                            case 4:                                   
                                p += 5;                               
                                break;                                
                            case 10:                                  
                                p += 4;                               
 203a71c:	96 02 e0 04 	add  %o3, 4, %o3                               
 203a720:	b0 06 20 01 	inc  %i0                                       
 203a724:	10 bf ff cb 	b  203a650 <msdos_find_name_in_fat_file+0x394> 
 203a728:	94 02 a0 01 	inc  %o2                                       
                        }                                             
                                                                      
                        switch (i)                                    
                        {                                             
                            case 4:                                   
                                p += 5;                               
 203a72c:	96 02 e0 05 	add  %o3, 5, %o3                               
 203a730:	b0 06 20 01 	inc  %i0                                       
 203a734:	10 bf ff c7 	b  203a650 <msdos_find_name_in_fat_file+0x394> 
 203a738:	94 02 a0 01 	inc  %o2                                       
#endif                                                                
                /*                                                    
                 * If just looking and there is no more entries in the
                 * directory - return name-not-found                  
                 */                                                   
                if (!create_node)                                     
 203a73c:	80 a6 a0 00 	cmp  %i2, 0                                    
 203a740:	02 80 01 17 	be  203ab9c <msdos_find_name_in_fat_file+0x8e0>
 203a744:	80 8d 20 ff 	btst  0xff, %l4                                
                 * 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)                               
 203a748:	12 80 00 07 	bne  203a764 <msdos_find_name_in_fat_file+0x4a8>
 203a74c:	c2 07 a0 58 	ld  [ %fp + 0x58 ], %g1                        
        (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;   
 203a750:	87 34 a0 05 	srl  %l2, 5, %g3                               
                 * 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);
 203a754:	a1 34 20 05 	srl  %l0, 5, %l0                               
 203a758:	a2 04 40 03 	add  %l1, %g3, %l1                             
                 * 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 +=                                
 203a75c:	a2 24 40 10 	sub  %l1, %l0, %l1                             
     * 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)                                 
 203a760:	c2 07 a0 58 	ld  [ %fp + 0x58 ], %g1                        
 203a764:	80 a0 60 02 	cmp  %g1, 2                                    
 203a768:	02 80 01 17 	be  203abc4 <msdos_find_name_in_fat_file+0x908>
 203a76c:	90 10 00 1b 	mov  %i3, %o0                                  
        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)                                                  
 203a770:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 203a774:	80 a0 60 00 	cmp  %g1, 0                                    
 203a778:	02 80 00 15 	be  203a7cc <msdos_find_name_in_fat_file+0x510>
 203a77c:	b4 10 20 00 	clr  %i2                                       
 *     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(                                      
 203a780:	c4 07 a0 60 	ld  [ %fp + 0x60 ], %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 =                                            
 203a784:	86 10 20 00 	clr  %g3                                       
 *     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(                                      
 203a788:	ba 00 a0 0b 	add  %g2, 0xb, %i5                             
 203a78c:	10 80 00 07 	b  203a7a8 <msdos_find_name_in_fat_file+0x4ec> 
 203a790:	88 10 00 02 	mov  %g2, %g4                                  
    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 =                                            
 203a794:	86 08 e0 01 	and  %g3, 1, %g3                               
 203a798:	80 a0 00 03 	cmp  %g0, %g3                                  
 203a79c:	86 40 3f ff 	addx  %g0, -1, %g3                             
 203a7a0:	86 08 e0 80 	and  %g3, 0x80, %g3                            
 203a7a4:	86 00 ff 80 	add  %g3, -128, %g3                            
 203a7a8:	f0 09 00 00 	ldub  [ %g4 ], %i0                             
 203a7ac:	b8 0e a0 ff 	and  %i2, 0xff, %i4                            
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
 203a7b0:	88 01 20 01 	inc  %g4                                       
            lfn_checksum =                                            
 203a7b4:	b9 37 20 01 	srl  %i4, 1, %i4                               
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
 203a7b8:	80 a1 00 1d 	cmp  %g4, %i5                                  
            lfn_checksum =                                            
 203a7bc:	b8 06 00 1c 	add  %i0, %i4, %i4                             
 203a7c0:	86 07 00 03 	add  %i4, %g3, %g3                             
                                                                      
    if (lfn_entries)                                                  
    {                                                                 
        uint8_t* p = (uint8_t*) MSDOS_DIR_NAME(name_dir_entry);       
        int      i;                                                   
        for (i = 0; i < 11; i++, p++)                                 
 203a7c4:	12 bf ff f4 	bne  203a794 <msdos_find_name_in_fat_file+0x4d8>
 203a7c8:	b4 10 00 03 	mov  %g3, %i2                                  
     * 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)                                       
 203a7cc:	80 a4 60 00 	cmp  %l1, 0                                    
 203a7d0:	22 80 00 b2 	be,a   203aa98 <msdos_find_name_in_fat_file+0x7dc><== NEVER TAKEN
 203a7d4:	b6 10 00 17 	mov  %l7, %i3                                  <== 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;                            
 203a7d8:	82 1d c0 1b 	xor  %l7, %i3, %g1                             
 203a7dc:	80 a0 00 01 	cmp  %g0, %g1                                  
 203a7e0:	ba 40 20 00 	addx  %g0, 0, %i5                              
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
 203a7e4:	c4 07 bf e4 	ld  [ %fp + -28 ], %g2                         
        read_cluster = true;                                          
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
 203a7e8:	82 10 3f ff 	mov  -1, %g1                                   
 203a7ec:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
 203a7f0:	80 a0 a0 00 	cmp  %g2, 0                                    
 203a7f4:	06 80 00 a7 	bl  203aa90 <msdos_find_name_in_fat_file+0x7d4><== NEVER TAKEN
 203a7f8:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
 203a7fc:	b8 00 a0 01 	add  %g2, 1, %i4                               
 203a800:	90 10 00 1b 	mov  %i3, %o0                                  
 203a804:	92 10 00 12 	mov  %l2, %o1                                  
                                                                      
    /*                                                                
     * Handle the entry writes.                                       
     */                                                               
    lfn_start.cln = lfn_start.ofs = FAT_FILE_SHORT_NAME;              
    lfn_entry = 0;                                                    
 203a808:	7f ff 21 d7 	call  2002f64 <.umul>                          
 203a80c:	a2 10 20 00 	clr  %l1                                       
 203a810:	b0 10 00 1c 	mov  %i4, %i0                                  
 203a814:	a0 10 00 08 	mov  %o0, %l0                                  
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
    {                                                                 
        int length = 0;                                               
                                                                      
        if (read_cluster)                                             
 203a818:	80 8f 60 ff 	btst  0xff, %i5                                
 203a81c:	32 80 00 b2 	bne,a   203aae4 <msdos_find_name_in_fat_file+0x828><== NEVER TAKEN
 203a820:	d8 05 60 94 	ld  [ %l5 + 0x94 ], %o4                        <== NOT EXECUTED
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
 203a824:	80 a4 80 13 	cmp  %l2, %l3                                  
 203a828:	08 80 00 e4 	bleu  203abb8 <msdos_find_name_in_fat_file+0x8fc><== NEVER TAKEN
 203a82c:	ac 04 60 01 	add  %l1, 1, %l6                               
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
        {                                                             
            char*       entry = (char*) fs_info->cl_buf + dir_entry;  
 203a830:	e8 05 60 94 	ld  [ %l5 + 0x94 ], %l4                        
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
 203a834:	80 a7 00 16 	cmp  %i4, %l6                                  
 203a838:	02 80 00 dd 	be  203abac <msdos_find_name_in_fat_file+0x8f0>
 203a83c:	a8 05 00 13 	add  %l4, %l3, %l4                             
 *     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(                                      
 203a840:	c4 07 bf e4 	ld  [ %fp + -28 ], %g2                         
 203a844:	82 38 00 11 	xnor  %g0, %l1, %g1                            
 203a848:	82 00 40 02 	add  %g1, %g2, %g1                             
 203a84c:	c4 07 a0 50 	ld  [ %fp + 0x50 ], %g2                        
 203a850:	87 28 60 02 	sll  %g1, 2, %g3                               
 203a854:	89 28 60 04 	sll  %g1, 4, %g4                               
 203a858:	ae 10 00 13 	mov  %l3, %l7                                  
 203a85c:	86 21 00 03 	sub  %g4, %g3, %g3                             
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
 203a860:	ba 10 20 20 	mov  0x20, %i5                                 
 *     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(                                      
 203a864:	82 00 c0 01 	add  %g3, %g1, %g1                             
 203a868:	a2 00 80 01 	add  %g2, %g1, %l1                             
             * 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)                 
 203a86c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 203a870:	80 a0 7f ff 	cmp  %g1, -1                                   
 203a874:	22 80 00 8f 	be,a   203aab0 <msdos_find_name_in_fat_file+0x7f4>
 203a878:	f6 27 bf f8 	st  %i3, [ %fp + -8 ]                          
            }                                                         
                                                                      
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
 203a87c:	90 10 00 14 	mov  %l4, %o0                                  
 203a880:	92 10 20 00 	clr  %o1                                       
 203a884:	40 00 45 ef 	call  204c040 <memset>                         
 203a888:	94 10 20 20 	mov  0x20, %o2                                 
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
 203a88c:	88 10 00 11 	mov  %l1, %g4                                  
            /*                                                        
             * Clear the entry before loading the data.               
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
 203a890:	f4 2d 20 0d 	stb  %i2, [ %l4 + 0xd ]                        
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
            {                                                         
                if (*n != 0)                                          
 203a894:	da 49 00 00 	ldsb  [ %g4 ], %o5                             
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
 203a898:	86 10 20 01 	mov  1, %g3                                    
             */                                                       
            memset (entry, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);     
                                                                      
            *MSDOS_DIR_LFN_CHECKSUM(entry) = lfn_checksum;            
                                                                      
            p = entry + 1;                                            
 203a89c:	82 05 20 01 	add  %l4, 1, %g1                               
        {                                                             
            char*       entry = (char*) fs_info->cl_buf + dir_entry;  
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
 203a8a0:	98 10 20 00 	clr  %o4                                       
 *     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(                                      
 203a8a4:	9e 00 ff ff 	add  %g3, -1, %o7                              
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
            {                                                         
                if (*n != 0)                                          
 203a8a8:	80 a3 60 00 	cmp  %o5, 0                                    
 203a8ac:	02 80 00 11 	be  203a8f0 <msdos_find_name_in_fat_file+0x634><== NEVER TAKEN
 203a8b0:	d6 09 00 00 	ldub  [ %g4 ], %o3                             
                {                                                     
                    *p = *n;                                          
 203a8b4:	d6 28 40 00 	stb  %o3, [ %g1 ]                              
                    p [0] = fill;                                     
                    p [1] = fill;                                     
                    fill = 0xff;                                      
                }                                                     
                                                                      
                switch (i)                                            
 203a8b8:	80 a3 e0 04 	cmp  %o7, 4                                    
 203a8bc:	02 80 00 12 	be  203a904 <msdos_find_name_in_fat_file+0x648>
 203a8c0:	88 01 20 01 	inc  %g4                                       
 203a8c4:	80 a3 e0 0a 	cmp  %o7, 0xa                                  
 203a8c8:	02 80 00 77 	be  203aaa4 <msdos_find_name_in_fat_file+0x7e8>
 203a8cc:	80 a0 e0 0d 	cmp  %g3, 0xd                                  
            *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++)             
 203a8d0:	02 80 00 2c 	be  203a980 <msdos_find_name_in_fat_file+0x6c4>
 203a8d4:	82 00 60 02 	add  %g1, 2, %g1                               
 203a8d8:	86 00 e0 01 	inc  %g3                                       
            {                                                         
                if (*n != 0)                                          
 203a8dc:	da 49 00 00 	ldsb  [ %g4 ], %o5                             
 *     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(                                      
 203a8e0:	9e 00 ff ff 	add  %g3, -1, %o7                              
            p = entry + 1;                                            
            n = name + (lfn_entries - lfn_entry) * MSDOS_LFN_LEN_PER_ENTRY;
                                                                      
            for (i = 0; i < MSDOS_LFN_LEN_PER_ENTRY; i++)             
            {                                                         
                if (*n != 0)                                          
 203a8e4:	80 a3 60 00 	cmp  %o5, 0                                    
 203a8e8:	12 bf ff f3 	bne  203a8b4 <msdos_find_name_in_fat_file+0x5f8>
 203a8ec:	d6 09 00 00 	ldub  [ %g4 ], %o3                             
                    *p = *n;                                          
                    n++;                                              
                }                                                     
                else                                                  
                {                                                     
                    p [0] = fill;                                     
 203a8f0:	d8 28 40 00 	stb  %o4, [ %g1 ]                              
                    p [1] = fill;                                     
 203a8f4:	d8 28 60 01 	stb  %o4, [ %g1 + 1 ]                          
                    fill = 0xff;                                      
                }                                                     
                                                                      
                switch (i)                                            
 203a8f8:	80 a3 e0 04 	cmp  %o7, 4                                    
 203a8fc:	12 bf ff f2 	bne  203a8c4 <msdos_find_name_in_fat_file+0x608>
 203a900:	98 10 3f ff 	mov  -1, %o4                                   
                {                                                     
                    case 4:                                           
                        p += 5;                                       
 203a904:	82 00 60 05 	add  %g1, 5, %g1                               
 203a908:	10 bf ff f5 	b  203a8dc <msdos_find_name_in_fat_file+0x620> 
 203a90c:	86 00 e0 01 	inc  %g3                                       
      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) &&                                 
 203a910:	80 a0 60 00 	cmp  %g1, 0                                    
 203a914:	32 bf fe 89 	bne,a   203a338 <msdos_find_name_in_fat_file+0x7c><== NEVER TAKEN
 203a918:	e4 15 60 06 	lduh  [ %l5 + 6 ], %l2                         <== NOT EXECUTED
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
 203a91c:	c2 0d 60 0a 	ldub  [ %l5 + 0xa ], %g1                       
      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) &&                                 
 203a920:	80 88 60 03 	btst  3, %g1                                   
 203a924:	22 bf fe 85 	be,a   203a338 <msdos_find_name_in_fat_file+0x7c><== NEVER TAKEN
 203a928:	e4 15 60 06 	lduh  [ %l5 + 6 ], %l2                         <== NOT EXECUTED
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
        bts2rd = fat_fd->fat_file_size;                               
 203a92c:	10 bf fe 83 	b  203a338 <msdos_find_name_in_fat_file+0x7c>  
 203a930:	e4 00 a0 18 	ld  [ %g2 + 0x18 ], %l2                        
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
                {                                                     
                  rc = fat_file_ioctl(&fs_info->fat, fat_fd, F_CLU_NUM,
                                      lfn_start.cln * bts2rd,         
                                      &lfn_start.cln);                
                  if (rc != RC_OK)                                    
 203a934:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203a938:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
 203a93c:	c4 07 a0 5c 	ld  [ %fp + 0x5c ], %g2                        
                        if (rc != RC_OK)                              
                            return rc;                                
                                                                      
                        dir_pos->sname.ofs = dir_entry;               
                                                                      
                        if (lfn_start.cln != FAT_FILE_SHORT_NAME)     
 203a940:	82 10 3f ff 	mov  -1, %g1                                   
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
                        dir_pos->lname.ofs = lfn_start.ofs;           
                                                                      
                        memcpy(name_dir_entry, entry,                 
 203a944:	d0 07 a0 60 	ld  [ %fp + 0x60 ], %o0                        
                                              &lfn_start.cln);        
                          if (rc != RC_OK)                            
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
 203a948:	c2 20 a0 08 	st  %g1, [ %g2 + 8 ]                           
                        dir_pos->lname.ofs = lfn_start.ofs;           
 203a94c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
                        memcpy(name_dir_entry, entry,                 
 203a950:	92 10 00 1d 	mov  %i5, %o1                                  
                          if (rc != RC_OK)                            
                            return rc;                                
                        }                                             
                                                                      
                        dir_pos->lname.cln = lfn_start.cln;           
                        dir_pos->lname.ofs = lfn_start.ofs;           
 203a954:	c2 20 a0 0c 	st  %g1, [ %g2 + 0xc ]                         
                                                                      
                        memcpy(name_dir_entry, entry,                 
 203a958:	40 00 45 2b 	call  204be04 <memcpy>                         
 203a95c:	94 10 20 20 	mov  0x20, %o2                                 
 203a960:	81 c7 e0 08 	ret                                            
 203a964:	81 e8 00 00 	restore                                        
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
            return ret;                                               
        else if (ret != length)                                       
            rtems_set_errno_and_return_minus_one(EIO);                
 203a968:	40 00 37 e8 	call  2048908 <__errno>                        <== NOT EXECUTED
 203a96c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 203a970:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 203a974:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 203a978:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203a97c:	81 e8 00 00 	restore                                        <== 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(                                      
 203a980:	82 26 00 16 	sub  %i0, %l6, %g1                             
                        break;                                        
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
 203a984:	80 a5 a0 01 	cmp  %l6, 1                                    
 203a988:	02 80 00 4c 	be  203aab8 <msdos_find_name_in_fat_file+0x7fc>
 203a98c:	c2 2d 00 00 	stb  %g1, [ %l4 ]                              
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
 203a990:	c2 0d 20 0b 	ldub  [ %l4 + 0xb ], %g1                       
        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)          
 203a994:	ae 05 e0 20 	add  %l7, 0x20, %l7                            
            }                                                         
                                                                      
            *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;                 
 203a998:	82 10 60 0f 	or  %g1, 0xf, %g1                              
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
 203a99c:	80 a4 80 17 	cmp  %l2, %l7                                  
 203a9a0:	08 80 00 4e 	bleu  203aad8 <msdos_find_name_in_fat_file+0x81c><== NEVER TAKEN
 203a9a4:	c2 2d 20 0b 	stb  %g1, [ %l4 + 0xb ]                        
             dir_entry < bts2rd;                                      
             dir_entry += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)          
        {                                                             
            char*       entry = (char*) fs_info->cl_buf + dir_entry;  
 203a9a8:	e8 05 60 94 	ld  [ %l5 + 0x94 ], %l4                        
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
 203a9ac:	ac 05 a0 01 	inc  %l6                                       
                                                                      
        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;  
 203a9b0:	a8 05 00 17 	add  %l4, %l7, %l4                             
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
 203a9b4:	ba 07 60 20 	add  %i5, 0x20, %i5                            
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
 203a9b8:	80 a7 00 16 	cmp  %i4, %l6                                  
 203a9bc:	12 bf ff ac 	bne  203a86c <msdos_find_name_in_fat_file+0x5b0>
 203a9c0:	a2 04 7f f3 	add  %l1, -13, %l1                             
            {                                                         
                /* get current cluster number */                      
                int rc = fat_file_ioctl(&fs_info->fat, fat_fd, F_CLU_NUM,
 203a9c4:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
 203a9c8:	d8 07 a0 5c 	ld  [ %fp + 0x5c ], %o4                        
 203a9cc:	90 10 00 15 	mov  %l5, %o0                                  
 203a9d0:	94 10 20 01 	mov  1, %o2                                    
 203a9d4:	7f ff ba 2f 	call  2029290 <fat_file_ioctl>                 
 203a9d8:	96 10 00 10 	mov  %l0, %o3                                  
                                        empty_space_offset * bts2rd,  
                                        &dir_pos->sname.cln);         
                if (rc != RC_OK)                                      
 203a9dc:	80 a2 20 00 	cmp  %o0, 0                                    
 203a9e0:	12 bf ff d5 	bne  203a934 <msdos_find_name_in_fat_file+0x678><== NEVER TAKEN
 203a9e4:	c2 07 a0 5c 	ld  [ %fp + 0x5c ], %g1                        
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
 203a9e8:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 203a9ec:	80 a2 7f ff 	cmp  %o1, -1                                   
 203a9f0:	02 80 00 69 	be  203ab94 <msdos_find_name_in_fat_file+0x8d8>
 203a9f4:	ee 20 60 04 	st  %l7, [ %g1 + 4 ]                           
                {                                                     
                  rc = fat_file_ioctl(&fs_info->fat, fat_fd, F_CLU_NUM,
 203a9f8:	7f ff 21 5b 	call  2002f64 <.umul>                          
 203a9fc:	90 10 00 12 	mov  %l2, %o0                                  
 203aa00:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
 203aa04:	96 10 00 08 	mov  %o0, %o3                                  
 203aa08:	94 10 20 01 	mov  1, %o2                                    
 203aa0c:	90 10 00 15 	mov  %l5, %o0                                  
 203aa10:	7f ff ba 20 	call  2029290 <fat_file_ioctl>                 
 203aa14:	98 07 bf f8 	add  %fp, -8, %o4                              
                                      lfn_start.cln * bts2rd,         
                                      &lfn_start.cln);                
                  if (rc != RC_OK)                                    
 203aa18:	80 a2 20 00 	cmp  %o0, 0                                    
 203aa1c:	12 bf ff c6 	bne  203a934 <msdos_find_name_in_fat_file+0x678><== NEVER TAKEN
 203aa20:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
 203aa24:	c4 07 a0 5c 	ld  [ %fp + 0x5c ], %g2                        
                dir_pos->lname.ofs = lfn_start.ofs;                   
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
 203aa28:	d2 07 a0 60 	ld  [ %fp + 0x60 ], %o1                        
                                      &lfn_start.cln);                
                  if (rc != RC_OK)                                    
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
 203aa2c:	c2 20 a0 08 	st  %g1, [ %g2 + 8 ]                           
                dir_pos->lname.ofs = lfn_start.ofs;                   
 203aa30:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
 203aa34:	90 10 00 14 	mov  %l4, %o0                                  
                  if (rc != RC_OK)                                    
                    return rc;                                        
                }                                                     
                                                                      
                dir_pos->lname.cln = lfn_start.cln;                   
                dir_pos->lname.ofs = lfn_start.ofs;                   
 203aa38:	c2 20 a0 0c 	st  %g1, [ %g2 + 0xc ]                         
                                                                      
                /* write new node entry */                            
                memcpy (entry, (uint8_t *) name_dir_entry,            
 203aa3c:	40 00 44 f2 	call  204be04 <memcpy>                         
 203aa40:	94 10 20 20 	mov  0x20, %o2                                 
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
            lfn_entry++;                                              
 203aa44:	a2 10 00 16 	mov  %l6, %l1                                  
 203aa48:	96 10 00 1d 	mov  %i5, %o3                                  
            if (lfn_entry == 1)                                       
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
        }                                                             
                                                                      
        ret = fat_file_write(&fs_info->fat, fat_fd,                   
 203aa4c:	d8 05 60 94 	ld  [ %l5 + 0x94 ], %o4                        
 203aa50:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
 203aa54:	90 10 00 15 	mov  %l5, %o0                                  
 203aa58:	94 04 00 13 	add  %l0, %l3, %o2                             
 203aa5c:	7f ff ba e4 	call  20295ec <fat_file_write>                 
 203aa60:	98 03 00 13 	add  %o4, %l3, %o4                             
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
 203aa64:	80 a2 3f ff 	cmp  %o0, -1                                   
 203aa68:	02 80 00 96 	be  203acc0 <msdos_find_name_in_fat_file+0xa04><== NEVER TAKEN
 203aa6c:	80 a2 00 1d 	cmp  %o0, %i5                                  
            return ret;                                               
        else if (ret != length)                                       
 203aa70:	12 bf ff be 	bne  203a968 <msdos_find_name_in_fat_file+0x6ac><== NEVER TAKEN
 203aa74:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        empty_space_offset++;                                         
 203aa78:	b6 06 e0 01 	inc  %i3                                       
 203aa7c:	a0 04 00 12 	add  %l0, %l2, %l0                             
        empty_space_entry = 0;                                        
 203aa80:	a6 10 20 00 	clr  %l3                                       
#endif                                                                
                                                                      
    /*                                                                
     * The one more is the short entry.                               
     */                                                               
    while (lfn_entry < (lfn_entries + 1))                             
 203aa84:	80 a0 40 11 	cmp  %g1, %l1                                  
 203aa88:	16 bf ff 64 	bge  203a818 <msdos_find_name_in_fat_file+0x55c><== NEVER TAKEN
 203aa8c:	ba 10 20 01 	mov  1, %i5                                    
        empty_space_offset++;                                         
        empty_space_entry = 0;                                        
        read_cluster = true;                                          
    }                                                                 
                                                                      
    return 0;                                                         
 203aa90:	81 c7 e0 08 	ret                                            
 203aa94:	91 e8 20 00 	restore  %g0, 0, %o0                           
     * be at the next cluster so we can just make empty_space_offset  
     * that value.                                                    
     */                                                               
    if (empty_space_count == 0)                                       
    {                                                                 
        read_cluster = true;                                          
 203aa98:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
        empty_space_offset = dir_offset;                              
        empty_space_entry = 0;                                        
 203aa9c:	10 bf ff 52 	b  203a7e4 <msdos_find_name_in_fat_file+0x528> <== NOT EXECUTED
 203aaa0:	a6 10 20 00 	clr  %l3                                       <== NOT EXECUTED
                {                                                     
                    case 4:                                           
                        p += 5;                                       
                        break;                                        
                    case 10:                                          
                        p += 4;                                       
 203aaa4:	82 00 60 04 	add  %g1, 4, %g1                               
 203aaa8:	10 bf ff 8d 	b  203a8dc <msdos_find_name_in_fat_file+0x620> 
 203aaac:	86 00 e0 01 	inc  %g3                                       
             * the location of the long file name.                    
             */                                                       
            if (lfn_start.cln == FAT_FILE_SHORT_NAME)                 
            {                                                         
              lfn_start.cln = empty_space_offset;                     
              lfn_start.ofs = dir_entry;                              
 203aab0:	10 bf ff 73 	b  203a87c <msdos_find_name_in_fat_file+0x5c0> 
 203aab4:	ee 27 bf fc 	st  %l7, [ %fp + -4 ]                          
                }                                                     
            }                                                         
                                                                      
            *MSDOS_DIR_ENTRY_TYPE(entry) = (lfn_entries - lfn_entry) + 1;
            if (lfn_entry == 1)                                       
                *MSDOS_DIR_ENTRY_TYPE(entry) |= MSDOS_LAST_LONG_ENTRY;
 203aab8:	82 10 60 40 	or  %g1, 0x40, %g1                             
 203aabc:	c2 2d 00 00 	stb  %g1, [ %l4 ]                              
            *MSDOS_DIR_ATTR(entry) |= MSDOS_ATTR_LFN;                 
 203aac0:	c2 0d 20 0b 	ldub  [ %l4 + 0xb ], %g1                       
        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)          
 203aac4:	ae 05 e0 20 	add  %l7, 0x20, %l7                            
            }                                                         
                                                                      
            *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;                 
 203aac8:	82 10 60 0f 	or  %g1, 0xf, %g1                              
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
 203aacc:	80 a4 80 17 	cmp  %l2, %l7                                  
 203aad0:	18 bf ff b6 	bgu  203a9a8 <msdos_find_name_in_fat_file+0x6ec><== ALWAYS TAKEN
 203aad4:	c2 2d 20 0b 	stb  %g1, [ %l4 + 0xb ]                        
 203aad8:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
 203aadc:	10 bf ff dc 	b  203aa4c <msdos_find_name_in_fat_file+0x790> <== NOT EXECUTED
 203aae0:	a2 10 00 16 	mov  %l6, %l1                                  <== NOT EXECUTED
        {                                                             
          uint32_t new_length;                                        
#if MSDOS_FIND_PRINT                                                  
          printf ("MSFS:[9.1] eso:%li\n", empty_space_offset);        
#endif                                                                
          ret = fat_file_read(&fs_info->fat, fat_fd,                  
 203aae4:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        <== NOT EXECUTED
 203aae8:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
 203aaec:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 203aaf0:	7f ff b8 f4 	call  2028ec0 <fat_file_read>                  <== NOT EXECUTED
 203aaf4:	96 10 00 12 	mov  %l2, %o3                                  <== NOT EXECUTED
                              (empty_space_offset * bts2rd), bts2rd,  
                              fs_info->cl_buf);                       
                                                                      
          if (ret != bts2rd)                                          
 203aaf8:	80 a2 00 12 	cmp  %o0, %l2                                  <== NOT EXECUTED
 203aafc:	02 bf ff 4a 	be  203a824 <msdos_find_name_in_fat_file+0x568><== NOT EXECUTED
 203ab00:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
          {                                                           
            if (ret != FAT_EOF)                                       
 203ab04:	12 80 00 1d 	bne  203ab78 <msdos_find_name_in_fat_file+0x8bc><== NOT EXECUTED
 203ab08:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        <== 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 (&fs_info->fat, fat_fd, false,      
 203ab0c:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
 203ab10:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 203ab14:	96 10 00 10 	mov  %l0, %o3                                  <== NOT EXECUTED
 203ab18:	7f ff ba 13 	call  2029364 <fat_file_extend>                <== NOT EXECUTED
 203ab1c:	98 07 bf f4 	add  %fp, -12, %o4                             <== NOT EXECUTED
                                   empty_space_offset * bts2rd, &new_length);
                                                                      
            if (ret != RC_OK)                                         
 203ab20:	82 92 20 00 	orcc  %o0, 0, %g1                              <== NOT EXECUTED
 203ab24:	12 80 00 1a 	bne  203ab8c <msdos_find_name_in_fat_file+0x8d0><== NOT EXECUTED
 203ab28:	01 00 00 00 	nop                                            <== 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))          
 203ab2c:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
 203ab30:	80 a0 40 10 	cmp  %g1, %l0                                  <== NOT EXECUTED
 203ab34:	12 80 00 11 	bne  203ab78 <msdos_find_name_in_fat_file+0x8bc><== NOT EXECUTED
 203ab38:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
              rtems_set_errno_and_return_minus_one(EIO);              
                                                                      
            memset(fs_info->cl_buf, 0, bts2rd);                       
 203ab3c:	d0 05 60 94 	ld  [ %l5 + 0x94 ], %o0                        <== NOT EXECUTED
 203ab40:	40 00 45 40 	call  204c040 <memset>                         <== NOT EXECUTED
 203ab44:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
                                                                      
            ret = fat_file_write(&fs_info->fat, fat_fd,               
 203ab48:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        <== NOT EXECUTED
 203ab4c:	d8 05 60 94 	ld  [ %l5 + 0x94 ], %o4                        <== NOT EXECUTED
 203ab50:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
 203ab54:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 203ab58:	7f ff ba a5 	call  20295ec <fat_file_write>                 <== NOT EXECUTED
 203ab5c:	96 10 00 12 	mov  %l2, %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)                                            
 203ab60:	80 a2 3f ff 	cmp  %o0, -1                                   <== NOT EXECUTED
 203ab64:	02 80 00 0a 	be  203ab8c <msdos_find_name_in_fat_file+0x8d0><== NOT EXECUTED
 203ab68:	82 10 00 08 	mov  %o0, %g1                                  <== NOT EXECUTED
              return ret;                                             
            else if (ret != bts2rd)                                   
 203ab6c:	80 a2 00 12 	cmp  %o0, %l2                                  <== NOT EXECUTED
 203ab70:	02 bf ff 2e 	be  203a828 <msdos_find_name_in_fat_file+0x56c><== NOT EXECUTED
 203ab74:	80 a4 80 13 	cmp  %l2, %l3                                  <== NOT EXECUTED
              rtems_set_errno_and_return_minus_one(EIO);              
 203ab78:	40 00 37 64 	call  2048908 <__errno>                        <== NOT EXECUTED
 203ab7c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 203ab80:	84 10 20 05 	mov  5, %g2	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 203ab84:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
 203ab88:	c4 22 00 00 	st  %g2, [ %o0 ]                               <== NOT EXECUTED
 203ab8c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ab90:	91 e8 00 01 	restore  %g0, %g1, %o0                         <== NOT EXECUTED
                if (rc != RC_OK)                                      
                  return rc;                                          
                                                                      
                dir_pos->sname.ofs = dir_entry;                       
                                                                      
                if (lfn_start.cln != FAT_FILE_SHORT_NAME)             
 203ab94:	10 bf ff a4 	b  203aa24 <msdos_find_name_in_fat_file+0x768> 
 203ab98:	82 10 3f ff 	mov  -1, %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;                  
 203ab9c:	31 00 00 1f 	sethi  %hi(0x7c00), %i0                        
 203aba0:	b0 16 21 01 	or  %i0, 0x101, %i0	! 7d01 <PROM_START+0x7d01> 
 203aba4:	81 c7 e0 08 	ret                                            
 203aba8:	81 e8 00 00 	restore                                        
                    length, lfn_entry);                               
#endif                                                                
            /*                                                        
             * Time to write the short file name entry.               
             */                                                       
            if (lfn_entry == (lfn_entries + 1))                       
 203abac:	ae 10 00 13 	mov  %l3, %l7                                  
            char*       p;                                            
            const char* n;                                            
            int         i;                                            
            char        fill = 0;                                     
                                                                      
            length += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;              
 203abb0:	10 bf ff 85 	b  203a9c4 <msdos_find_name_in_fat_file+0x708> 
 203abb4:	ba 10 20 20 	mov  0x20, %i5                                 
                                                                      
#if MSDOS_FIND_PRINT                                                  
        printf ("MSFS:[10] eso:%li\n", empty_space_offset);           
#endif                                                                
                                                                      
        for (dir_entry = empty_space_entry;                           
 203abb8:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
 203abbc:	10 bf ff a4 	b  203aa4c <msdos_find_name_in_fat_file+0x790> <== NOT EXECUTED
 203abc0:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
 203abc4:	7f ff 20 e8 	call  2002f64 <.umul>                          
 203abc8:	92 10 00 12 	mov  %l2, %o1                                  
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
 203abcc:	c4 07 a0 60 	ld  [ %fp + 0x60 ], %g2                        
     */                                                               
    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;
 203abd0:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
 203abd4:	c6 48 80 00 	ldsb  [ %g2 ], %g3                             
     */                                                               
    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;
 203abd8:	88 00 60 01 	add  %g1, 1, %g4                               
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
 203abdc:	90 02 00 13 	add  %o0, %l3, %o0                             
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
 203abe0:	80 a0 e0 2e 	cmp  %g3, 0x2e                                 
     * in this directory.                                             
     */                                                               
    lfn_checksum = 0;                                                 
    if (name_type == MSDOS_NAME_LONG)                                 
    {                                                                 
        int      slot = (((empty_space_offset * bts2rd) + empty_space_entry) /
 203abe4:	b9 32 20 05 	srl  %o0, 5, %i4                               
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
 203abe8:	02 80 00 06 	be  203ac00 <msdos_find_name_in_fat_file+0x944><== NEVER TAKEN
 203abec:	b8 01 00 1c 	add  %g4, %i4, %i4                             
 203abf0:	80 a0 e0 20 	cmp  %g3, 0x20                                 
 203abf4:	12 80 00 06 	bne  203ac0c <msdos_find_name_in_fat_file+0x950>
 203abf8:	c2 07 a0 60 	ld  [ %fp + 0x60 ], %g1                        
        *c = '_';                                                     
 203abfc:	c4 07 a0 60 	ld  [ %fp + 0x60 ], %g2                        
 203ac00:	86 10 20 5f 	mov  0x5f, %g3                                 
 203ac04:	c6 28 80 00 	stb  %g3, [ %g2 ]                              
{                                                                     
    static const char* hex = "0123456789ABCDEF";                      
    char* c = MSDOS_DIR_NAME(sfn);                                    
    int   i;                                                          
    for (i = 0; i < 2; i++, c++)                                      
      if ((*c == ' ') || (*c == '.'))                                 
 203ac08:	c2 07 a0 60 	ld  [ %fp + 0x60 ], %g1                        
 203ac0c:	c6 48 60 01 	ldsb  [ %g1 + 1 ], %g3                         
 203ac10:	80 a0 e0 2e 	cmp  %g3, 0x2e                                 
 203ac14:	02 80 00 06 	be  203ac2c <msdos_find_name_in_fat_file+0x970><== NEVER TAKEN
 203ac18:	c4 07 a0 60 	ld  [ %fp + 0x60 ], %g2                        
 203ac1c:	80 a0 e0 20 	cmp  %g3, 0x20                                 
 203ac20:	12 80 00 06 	bne  203ac38 <msdos_find_name_in_fat_file+0x97c>
 203ac24:	c2 07 a0 60 	ld  [ %fp + 0x60 ], %g1                        
        *c = '_';                                                     
 203ac28:	c4 07 a0 60 	ld  [ %fp + 0x60 ], %g2                        
 203ac2c:	86 10 20 5f 	mov  0x5f, %g3                                 
 203ac30:	c6 28 a0 01 	stb  %g3, [ %g2 + 1 ]                          
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++)                                      
 203ac34:	c2 07 a0 60 	ld  [ %fp + 0x60 ], %g1                        
 203ac38:	3b 00 81 97 	sethi  %hi(0x2065c00), %i5                     
 203ac3c:	88 00 60 02 	add  %g1, 2, %g4                               
 203ac40:	86 10 20 0c 	mov  0xc, %g3                                  
 203ac44:	ba 17 62 88 	or  %i5, 0x288, %i5                            
      if ((*c == ' ') || (*c == '.'))                                 
        *c = '_';                                                     
    for (i = 0; i < 4; i++, c++)                                      
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
 203ac48:	b5 3f 00 03 	sra  %i4, %g3, %i2                             
 203ac4c:	b4 0e a0 0f 	and  %i2, 0xf, %i2                             
 203ac50:	f4 0f 40 1a 	ldub  [ %i5 + %i2 ], %i2                       
 203ac54:	86 00 ff fc 	add  %g3, -4, %g3                              
 203ac58:	f4 29 00 00 	stb  %i2, [ %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++)                                      
 203ac5c:	80 a0 ff fc 	cmp  %g3, -4                                   
 203ac60:	12 bf ff fa 	bne  203ac48 <msdos_find_name_in_fat_file+0x98c>
 203ac64:	88 01 20 01 	inc  %g4                                       
      *c = hex[(num >> ((3 - i) * 4)) & 0xf];                         
    *c++ = '~';                                                       
 203ac68:	c4 07 a0 60 	ld  [ %fp + 0x60 ], %g2                        
 203ac6c:	86 10 20 7e 	mov  0x7e, %g3                                 
 203ac70:	c6 28 a0 06 	stb  %g3, [ %g2 + 6 ]                          
    *c++ = '1';                                                       
 203ac74:	86 10 20 31 	mov  0x31, %g3                                 
 203ac78:	10 bf fe be 	b  203a770 <msdos_find_name_in_fat_file+0x4b4> 
 203ac7c:	c6 28 a0 07 	stb  %g3, [ %g2 + 7 ]                          
#endif                                                                
                                                                      
        if (ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)                  
            rtems_set_errno_and_return_minus_one(EIO);                
                                                                      
        assert(ret == bts2rd);                                        
 203ac80:	11 00 81 b5 	sethi  %hi(0x206d400), %o0                     <== NOT EXECUTED
 203ac84:	15 00 81 b5 	sethi  %hi(0x206d400), %o2                     <== NOT EXECUTED
 203ac88:	17 00 81 b5 	sethi  %hi(0x206d400), %o3                     <== NOT EXECUTED
 203ac8c:	90 12 22 a8 	or  %o0, 0x2a8, %o0                            <== NOT EXECUTED
 203ac90:	92 10 23 f4 	mov  0x3f4, %o1                                <== NOT EXECUTED
 203ac94:	94 12 a3 78 	or  %o2, 0x378, %o2                            <== NOT EXECUTED
 203ac98:	7f ff c1 f4 	call  202b468 <__assert_func>                  <== NOT EXECUTED
 203ac9c:	96 12 e3 48 	or  %o3, 0x348, %o3                            <== NOT EXECUTED
    uint32_t         empty_space_count = 0;                           
    bool             empty_space_found = false;                       
    uint32_t         entries_per_block;                               
    bool             read_cluster = false;                            
                                                                      
    assert(name_len > 0);                                             
 203aca0:	11 00 81 b5 	sethi  %hi(0x206d400), %o0                     <== NOT EXECUTED
 203aca4:	15 00 81 b5 	sethi  %hi(0x206d400), %o2                     <== NOT EXECUTED
 203aca8:	17 00 81 b5 	sethi  %hi(0x206d400), %o3                     <== NOT EXECUTED
 203acac:	90 12 22 a8 	or  %o0, 0x2a8, %o0                            <== NOT EXECUTED
 203acb0:	92 10 23 c4 	mov  0x3c4, %o1                                <== NOT EXECUTED
 203acb4:	94 12 a3 78 	or  %o2, 0x378, %o2                            <== NOT EXECUTED
 203acb8:	7f ff c1 ec 	call  202b468 <__assert_func>                  <== NOT EXECUTED
 203acbc:	96 12 e3 38 	or  %o3, 0x338, %o3                            <== NOT EXECUTED
        }                                                             
                                                                      
        ret = fat_file_write(&fs_info->fat, fat_fd,                   
                             (empty_space_offset * bts2rd) + empty_space_entry,
                             length, fs_info->cl_buf + empty_space_entry);
        if (ret == -1)                                                
 203acc0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203acc4:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      

0203acc8 <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 ) {
 203acc8:	9d e3 bf a0 	save  %sp, -96, %sp                            
    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) &&                                 
 203accc:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 203acd0:	80 a0 60 01 	cmp  %g1, 1                                    
 203acd4:	02 80 00 36 	be  203adac <msdos_find_node_by_cluster_num_in_fat_file+0xe4><== NEVER TAKEN
 203acd8:	e4 06 20 08 	ld  [ %i0 + 8 ], %l2                           
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
    else                                                              
        bts2rd = fs_info->fat.vol.bpc;                                
 203acdc:	e2 14 a0 06 	lduh  [ %l2 + 6 ], %l1                         
 203ace0:	d8 04 a0 94 	ld  [ %l2 + 0x94 ], %o4                        
            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)          
 203ace4:	31 00 00 3f 	sethi  %hi(0xfc00), %i0                        
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
            rtems_set_errno_and_return_minus_one( EIO );              
                                                                      
        assert(ret == bts2rd);                                        
 203ace8:	a6 10 20 00 	clr  %l3                                       
            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)          
 203acec:	b0 16 23 ff 	or  %i0, 0x3ff, %i0                            
       (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(&fs_info->fat, fat_fd, j * bts2rd, bts2rd,
 203acf0:	90 10 00 12 	mov  %l2, %o0                                  
 203acf4:	92 10 00 19 	mov  %i1, %o1                                  
 203acf8:	94 10 00 13 	mov  %l3, %o2                                  
 203acfc:	7f ff b8 71 	call  2028ec0 <fat_file_read>                  
 203ad00:	96 10 00 11 	mov  %l1, %o3                                  
 203ad04:	80 a2 20 00 	cmp  %o0, 0                                    
 203ad08:	02 80 00 25 	be  203ad9c <msdos_find_node_by_cluster_num_in_fat_file+0xd4><== NEVER TAKEN
 203ad0c:	80 a2 20 1f 	cmp  %o0, 0x1f                                 
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
 203ad10:	04 80 00 42 	ble  203ae18 <msdos_find_node_by_cluster_num_in_fat_file+0x150><== NEVER TAKEN
 203ad14:	80 a2 00 11 	cmp  %o0, %l1                                  
            rtems_set_errno_and_return_minus_one( EIO );              
                                                                      
        assert(ret == bts2rd);                                        
 203ad18:	12 80 00 46 	bne  203ae30 <msdos_find_node_by_cluster_num_in_fat_file+0x168><== NEVER TAKEN
 203ad1c:	a0 10 20 00 	clr  %l0                                       
 203ad20:	d8 04 a0 94 	ld  [ %l2 + 0x94 ], %o4                        
 203ad24:	ba 10 00 0c 	mov  %o4, %i5                                  
        for (i = 0; i < bts2rd; i += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE)
        {                                                             
            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)) ==                     
 203ad28:	c2 0f 40 00 	ldub  [ %i5 ], %g1                             
 203ad2c:	80 a0 60 00 	cmp  %g1, 0                                    
 203ad30:	02 80 00 1b 	be  203ad9c <msdos_find_node_by_cluster_num_in_fat_file+0xd4><== NEVER TAKEN
 203ad34:	80 a0 60 e5 	cmp  %g1, 0xe5                                 
                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)) ==                     
 203ad38:	22 80 00 14 	be,a   203ad88 <msdos_find_node_by_cluster_num_in_fat_file+0xc0><== NEVER TAKEN
 203ad3c:	a0 04 20 20 	add  %l0, 0x20, %l0                            <== NOT EXECUTED
                MSDOS_THIS_DIR_ENTRY_EMPTY)                           
                continue;                                             
                                                                      
            /* if get a non-empty entry - compare clusters num */     
            if (MSDOS_EXTRACT_CLUSTER_NUM(entry) == cl4find)          
 203ad40:	c2 17 60 1a 	lduh  [ %i5 + 0x1a ], %g1                      
 203ad44:	c4 17 60 14 	lduh  [ %i5 + 0x14 ], %g2                      
 203ad48:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 203ad4c:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 203ad50:	89 30 60 18 	srl  %g1, 0x18, %g4                            
 203ad54:	9f 30 a0 18 	srl  %g2, 0x18, %o7                            
 203ad58:	87 30 60 08 	srl  %g1, 8, %g3                               
 203ad5c:	85 30 a0 08 	srl  %g2, 8, %g2                               
 203ad60:	86 08 c0 18 	and  %g3, %i0, %g3                             
 203ad64:	84 08 80 18 	and  %g2, %i0, %g2                             
 203ad68:	86 11 00 03 	or  %g4, %g3, %g3                              
 203ad6c:	82 13 c0 02 	or  %o7, %g2, %g1                              
 203ad70:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 203ad74:	82 10 40 03 	or  %g1, %g3, %g1                              
 203ad78:	80 a0 40 1a 	cmp  %g1, %i2                                  
 203ad7c:	22 80 00 16 	be,a   203add4 <msdos_find_node_by_cluster_num_in_fat_file+0x10c>
 203ad80:	90 10 00 12 	mov  %l2, %o0                                  
        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)
 203ad84:	a0 04 20 20 	add  %l0, 0x20, %l0                            
 203ad88:	80 a4 00 11 	cmp  %l0, %l1                                  
 203ad8c:	0a bf ff e7 	bcs  203ad28 <msdos_find_node_by_cluster_num_in_fat_file+0x60><== ALWAYS TAKEN
 203ad90:	ba 07 60 20 	add  %i5, 0x20, %i5                            
 203ad94:	10 bf ff d7 	b  203acf0 <msdos_find_node_by_cluster_num_in_fat_file+0x28><== NOT EXECUTED
 203ad98:	a6 04 c0 11 	add  %l3, %l1, %l3                             <== 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;                      
 203ad9c:	31 00 00 1f 	sethi  %hi(0x7c00), %i0                        <== NOT EXECUTED
 203ada0:	b0 16 21 01 	or  %i0, 0x101, %i0	! 7d01 <PROM_START+0x7d01> <== NOT EXECUTED
            }                                                         
        }                                                             
        j++;                                                          
    }                                                                 
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
 203ada4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ada8:	81 e8 00 00 	restore                                        <== 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) &&                                 
 203adac:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        <== NOT EXECUTED
 203adb0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 203adb4:	32 bf ff cb 	bne,a   203ace0 <msdos_find_node_by_cluster_num_in_fat_file+0x18><== NOT EXECUTED
 203adb8:	e2 14 a0 06 	lduh  [ %l2 + 6 ], %l1                         <== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
 203adbc:	c2 0c a0 0a 	ldub  [ %l2 + 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) &&                                 
 203adc0:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 203adc4:	22 bf ff c7 	be,a   203ace0 <msdos_find_node_by_cluster_num_in_fat_file+0x18><== NOT EXECUTED
 203adc8:	e2 14 a0 06 	lduh  [ %l2 + 6 ], %l1                         <== NOT EXECUTED
       (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))             
        bts2rd = fat_fd->fat_file_size;                               
 203adcc:	10 bf ff c5 	b  203ace0 <msdos_find_node_by_cluster_num_in_fat_file+0x18><== NOT EXECUTED
 203add0:	e2 06 60 18 	ld  [ %i1 + 0x18 ], %l1                        <== NOT EXECUTED
                                                                      
            /* if get a non-empty entry - compare clusters num */     
            if (MSDOS_EXTRACT_CLUSTER_NUM(entry) == cl4find)          
            {                                                         
                /* on success fill aux structure and copy all 32 bytes */
                rc = fat_file_ioctl(&fs_info->fat, fat_fd, F_CLU_NUM, j * bts2rd,
 203add4:	92 10 00 19 	mov  %i1, %o1                                  
 203add8:	94 10 20 01 	mov  1, %o2                                    
 203addc:	96 10 00 13 	mov  %l3, %o3                                  
 203ade0:	7f ff b9 2c 	call  2029290 <fat_file_ioctl>                 
 203ade4:	98 10 00 1b 	mov  %i3, %o4                                  
                                    &dir_pos->sname.cln);             
                if (rc != RC_OK)                                      
 203ade8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203adec:	12 bf ff ee 	bne  203ada4 <msdos_find_node_by_cluster_num_in_fat_file+0xdc><== NEVER TAKEN
 203adf0:	82 10 3f ff 	mov  -1, %g1                                   
                    return rc;                                        
                                                                      
                dir_pos->sname.ofs = i;                               
 203adf4:	e0 26 e0 04 	st  %l0, [ %i3 + 4 ]                           
                dir_pos->lname.cln = FAT_FILE_SHORT_NAME;             
 203adf8:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           
                dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;             
 203adfc:	c2 26 e0 0c 	st  %g1, [ %i3 + 0xc ]                         
                                                                      
                memcpy(dir_entry, entry,                              
 203ae00:	90 10 00 1c 	mov  %i4, %o0                                  
 203ae04:	92 10 00 1d 	mov  %i5, %o1                                  
 203ae08:	40 00 43 ff 	call  204be04 <memcpy>                         
 203ae0c:	94 10 20 20 	mov  0x20, %o2                                 
                       MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);            
                return RC_OK;                                         
 203ae10:	81 c7 e0 08 	ret                                            
 203ae14:	81 e8 00 00 	restore                                        
                                                                      
    while ((ret = fat_file_read(&fs_info->fat, fat_fd, j * bts2rd, bts2rd,
                                  fs_info->cl_buf)) != FAT_EOF)       
    {                                                                 
        if ( ret < MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE )                
            rtems_set_errno_and_return_minus_one( EIO );              
 203ae18:	40 00 36 bc 	call  2048908 <__errno>                        <== NOT EXECUTED
 203ae1c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 203ae20:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 203ae24:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 203ae28:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ae2c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        assert(ret == bts2rd);                                        
 203ae30:	11 00 81 b5 	sethi  %hi(0x206d400), %o0                     <== NOT EXECUTED
 203ae34:	15 00 81 b5 	sethi  %hi(0x206d400), %o2                     <== NOT EXECUTED
 203ae38:	17 00 81 b5 	sethi  %hi(0x206d400), %o3                     <== NOT EXECUTED
 203ae3c:	90 12 22 a8 	or  %o0, 0x2a8, %o0                            <== NOT EXECUTED
 203ae40:	92 10 26 49 	mov  0x649, %o1                                <== NOT EXECUTED
 203ae44:	94 12 a3 98 	or  %o2, 0x398, %o2                            <== NOT EXECUTED
 203ae48:	7f ff c1 88 	call  202b468 <__assert_func>                  <== NOT EXECUTED
 203ae4c:	96 12 e3 48 	or  %o3, 0x348, %o3                            <== NOT EXECUTED
                                                                      

0202240c <msdos_format>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
 202240c:	9d e3 bc f0 	save  %sp, -784, %sp                           
  msdos_format_param_t fmt_params;                                    
                                                                      
  /*                                                                  
   * open device for writing                                          
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, "open device\n");
 2022410:	92 10 20 02 	mov  2, %o1                                    
 2022414:	90 10 00 19 	mov  %i1, %o0                                  
 2022418:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 202241c:	7f ff ff 62 	call  20221a4 <msdos_format_printf>            
 2022420:	94 12 a2 80 	or  %o2, 0x280, %o2	! 2068e80 <rtems_rtc_shell_usage+0xca0>
  fd = open(devname, O_RDWR);                                         
 2022424:	90 10 00 18 	mov  %i0, %o0                                  
 2022428:	7f ff 9f 88 	call  200a248 <open>                           
 202242c:	92 10 20 02 	mov  2, %o1                                    
  if (fd == -1) {                                                     
 2022430:	80 a2 3f ff 	cmp  %o0, -1                                   
 2022434:	02 80 01 a0 	be  2022ab4 <msdos_format+0x6a8>               <== NEVER TAKEN
 2022438:	b6 10 00 08 	mov  %o0, %i3                                  
  }                                                                   
                                                                      
  /*                                                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
 202243c:	96 10 00 18 	mov  %i0, %o3                                  
 2022440:	92 10 20 02 	mov  2, %o1                                    
 2022444:	90 10 00 19 	mov  %i1, %o0                                  
 2022448:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 202244c:	7f ff ff 56 	call  20221a4 <msdos_format_printf>            
 2022450:	94 12 a3 58 	or  %o2, 0x358, %o2	! 2068f58 <rtems_rtc_shell_usage+0xd78>
                       "stat check: %s\n", devname);                  
  if (ret_val == 0) {                                                 
    rc = fstat(fd, &stat_buf);                                        
 2022454:	92 07 bd 68 	add  %fp, -664, %o1                            
 2022458:	40 00 25 99 	call  202babc <fstat>                          
 202245c:	90 10 00 1b 	mov  %i3, %o0                                  
    ret_val = rc;                                                     
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
 2022460:	96 10 00 18 	mov  %i0, %o3                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "stat check: %s\n", devname);                  
  if (ret_val == 0) {                                                 
    rc = fstat(fd, &stat_buf);                                        
 2022464:	ba 10 00 08 	mov  %o0, %i5                                  
    ret_val = rc;                                                     
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
 2022468:	92 10 20 01 	mov  1, %o1                                    
 202246c:	90 10 00 19 	mov  %i1, %o0                                  
 2022470:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 2022474:	7f ff ff 4c 	call  20221a4 <msdos_format_printf>            
 2022478:	94 12 a3 68 	or  %o2, 0x368, %o2	! 2068f68 <rtems_rtc_shell_usage+0xd88>
                       "formating: %s\n", devname);                   
  /* rtems feature: no block devices, all are character devices */    
  if ((ret_val == 0) && (!S_ISBLK(stat_buf.st_mode))) {               
 202247c:	80 a7 60 00 	cmp  %i5, 0                                    
 2022480:	12 80 00 23 	bne  202250c <msdos_format+0x100>              <== NEVER TAKEN
 2022484:	b0 10 00 1d 	mov  %i5, %i0                                  
 2022488:	c4 07 bd 74 	ld  [ %fp + -652 ], %g2                        
 202248c:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2022490:	84 08 80 01 	and  %g2, %g1, %g2                             
 2022494:	03 00 00 18 	sethi  %hi(0x6000), %g1                        
 2022498:	80 a0 80 01 	cmp  %g2, %g1                                  
 202249c:	22 80 00 26 	be,a   2022534 <msdos_format+0x128>            <== ALWAYS TAKEN
 20224a0:	c0 27 bd b0 	clr  [ %fp + -592 ]                            
    errno = ENOTTY;                                                   
 20224a4:	40 00 99 19 	call  2048908 <__errno>                        <== NOT EXECUTED
 20224a8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20224ac:	82 10 20 19 	mov  0x19, %g1                                 <== NOT EXECUTED
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
 20224b0:	80 a6 ff ff 	cmp  %i3, -1                                   <== NOT EXECUTED
 20224b4:	12 80 00 1c 	bne  2022524 <msdos_format+0x118>              <== NOT EXECUTED
 20224b8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    close(fd);                                                        
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
 20224bc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20224c0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * Phuuu.... That's it.                                             
   */                                                                 
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
 20224c4:	40 00 99 11 	call  2048908 <__errno>                        <== NOT EXECUTED
 20224c8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20224cc:	e0 22 00 00 	st  %l0, [ %o0 ]                               <== NOT EXECUTED
 20224d0:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
    ret_val = msdos_format_determine_fmt_params(fd,rqdata,&fmt_params);
  }                                                                   
  /*                                                                  
   * if requested, write whole disk/partition with 0xe5               
   */                                                                 
  if ((ret_val == 0) &&                                               
 20224d4:	80 88 60 ff 	btst  0xff, %g1                                
 20224d8:	02 80 00 0e 	be  2022510 <msdos_format+0x104>               
 20224dc:	80 a6 20 00 	cmp  %i0, 0                                    
      (rqdata != NULL) &&                                             
 20224e0:	c2 0e 60 16 	ldub  [ %i1 + 0x16 ], %g1                      
 20224e4:	80 a0 60 00 	cmp  %g1, 0                                    
 20224e8:	12 80 00 8a 	bne  2022710 <msdos_format+0x304>              <== NEVER TAKEN
 20224ec:	90 10 00 19 	mov  %i1, %o0                                  
      !(rqdata->quick_format)) {                                      
    ret_val = msdos_format_fill_sectors                               
 20224f0:	d6 07 bd b4 	ld  [ %fp + -588 ], %o3                        
 20224f4:	d8 07 bd b0 	ld  [ %fp + -592 ], %o4                        
 20224f8:	92 10 00 1b 	mov  %i3, %o1                                  
 20224fc:	94 10 20 00 	clr  %o2                                       
 2022500:	7f ff ff 56 	call  2022258 <msdos_format_fill_sectors>      
 2022504:	9a 10 3f e5 	mov  -27, %o5                                  
 2022508:	b0 10 00 08 	mov  %o0, %i0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * create master boot record                                        
   */                                                                 
  if (ret_val == 0) {                                                 
 202250c:	80 a6 20 00 	cmp  %i0, 0                                    
 2022510:	02 80 00 80 	be  2022710 <msdos_format+0x304>               <== ALWAYS TAKEN
 2022514:	90 10 00 19 	mov  %i1, %o0                                  
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
 2022518:	80 a6 ff ff 	cmp  %i3, -1                                   <== NOT EXECUTED
 202251c:	02 80 01 73 	be  2022ae8 <msdos_format+0x6dc>               <== NEVER TAKEN
 2022520:	01 00 00 00 	nop                                            
    close(fd);                                                        
 2022524:	7f ff 9a bd 	call  2009018 <close>                          
 2022528:	90 10 00 1b 	mov  %i3, %o0                                  
 202252c:	81 c7 e0 08 	ret                                            
 2022530:	81 e8 00 00 	restore                                        
  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));                           
 2022534:	c0 27 bd b4 	clr  [ %fp + -588 ]                            
 2022538:	c0 27 bd b8 	clr  [ %fp + -584 ]                            
 202253c:	c0 27 bd bc 	clr  [ %fp + -580 ]                            
 2022540:	c0 27 bd c0 	clr  [ %fp + -576 ]                            
 2022544:	c0 27 bd c4 	clr  [ %fp + -572 ]                            
 2022548:	c0 27 bd c8 	clr  [ %fp + -568 ]                            
 202254c:	c0 27 bd cc 	clr  [ %fp + -564 ]                            
 2022550:	c0 27 bd d0 	clr  [ %fp + -560 ]                            
 2022554:	c0 27 bd d4 	clr  [ %fp + -556 ]                            
 2022558:	c0 27 bd d8 	clr  [ %fp + -552 ]                            
 202255c:	c0 27 bd dc 	clr  [ %fp + -548 ]                            
 2022560:	c0 27 bd e0 	clr  [ %fp + -544 ]                            
 2022564:	c0 27 bd e4 	clr  [ %fp + -540 ]                            
 2022568:	c0 27 bd e8 	clr  [ %fp + -536 ]                            
 202256c:	c0 27 bd ec 	clr  [ %fp + -532 ]                            
 2022570:	c0 27 bd f0 	clr  [ %fp + -528 ]                            
 2022574:	c0 27 bd f4 	clr  [ %fp + -524 ]                            
 2022578:	c0 27 bd f8 	clr  [ %fp + -520 ]                            
 202257c:	c0 27 bd fc 	clr  [ %fp + -516 ]                            
  return ioctl(fd, RTEMS_BLKIO_GETMEDIABLKSIZE, media_block_size);    
}                                                                     
                                                                      
static inline int rtems_disk_fd_get_block_size(int fd, uint32_t *block_size)
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETBLKSIZE, block_size);               
 2022580:	90 10 00 1b 	mov  %i3, %o0                                  
 2022584:	3b 10 01 10 	sethi  %hi(0x40044000), %i5                    
 2022588:	94 07 bd b0 	add  %fp, -592, %o2                            
 202258c:	7f ff 9b b8 	call  200946c <ioctl>                          
 2022590:	92 17 62 03 	or  %i5, 0x203, %o1                            
   * At least one thing we don't have to magically guess...           
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = rtems_disk_fd_get_block_size(fd, &fmt_params->bytes_per_sector);
  }                                                                   
  if (ret_val == 0) {                                                 
 2022594:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2022598:	02 80 01 5e 	be  2022b10 <msdos_format+0x704>               <== ALWAYS TAKEN
 202259c:	90 10 00 1b 	mov  %i3, %o0                                  
 20225a0:	c2 07 bd cc 	ld  [ %fp + -564 ], %g1                        <== NOT EXECUTED
 20225a4:	c4 07 bd b8 	ld  [ %fp + -584 ], %g2                        <== NOT EXECUTED
 20225a8:	f0 07 bd c0 	ld  [ %fp + -576 ], %i0                        <== NOT EXECUTED
 20225ac:	f4 0f bd e0 	ldub  [ %fp + -544 ], %i2                      <== NOT EXECUTED
 20225b0:	c2 27 bd 5c 	st  %g1, [ %fp + -676 ]                        <== NOT EXECUTED
 20225b4:	c4 27 bd 58 	st  %g2, [ %fp + -680 ]                        <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
 20225b8:	c2 07 bd 5c 	ld  [ %fp + -676 ], %g1                        
    fmt_params->root_dir_start_sec =                                  
      fmt_params->rsvd_sector_cnt                                     
      + (fmt_params-> fat_num*fmt_params->sectors_per_fat);           
 20225bc:	90 10 00 1a 	mov  %i2, %o0                                  
  }                                                                   
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
 20225c0:	80 a0 60 00 	cmp  %g1, 0                                    
 20225c4:	12 80 01 4b 	bne  2022af0 <msdos_format+0x6e4>              <== ALWAYS TAKEN
 20225c8:	92 10 00 18 	mov  %i0, %o1                                  
    /*                                                                
     * 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);           
 20225cc:	7f ff 82 66 	call  2002f64 <.umul>                          <== NOT EXECUTED
 20225d0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20225d4:	c4 07 bd 58 	ld  [ %fp + -680 ], %g2                        <== NOT EXECUTED
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
 20225d8:	c2 07 bd bc 	ld  [ %fp + -580 ], %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);           
 20225dc:	90 02 00 02 	add  %o0, %g2, %o0                             <== NOT EXECUTED
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
 20225e0:	c2 27 bd d4 	st  %g1, [ %fp + -556 ]                        <== NOT EXECUTED
  }                                                                   
  else {                                                              
    /*                                                                
     * for FAT32: root directory is in cluster 2                      
     */                                                               
    fmt_params->root_dir_start_sec =                                  
 20225e4:	d0 27 bd d0 	st  %o0, [ %fp + -560 ]                        <== NOT EXECUTED
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->sectors_per_cluster;
  }                                                                   
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
 20225e8:	80 a4 20 00 	cmp  %l0, 0                                    
 20225ec:	12 bf ff b6 	bne  20224c4 <msdos_format+0xb8>               <== NEVER TAKEN
 20225f0:	80 a6 60 00 	cmp  %i1, 0                                    
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
      int          cnt;                                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
 20225f4:	02 80 02 af 	be  20230b0 <msdos_format+0xca4>               
 20225f8:	09 00 81 9e 	sethi  %hi(0x2067800), %g4                     
	(rqdata->OEMName != NULL)) {                                         
 20225fc:	c8 06 40 00 	ld  [ %i1 ], %g4                               
  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) &&                                           
 2022600:	80 a1 20 00 	cmp  %g4, 0                                    
 2022604:	22 80 02 ab 	be,a   20230b0 <msdos_format+0xca4>            <== NEVER TAKEN
 2022608:	09 00 81 9e 	sethi  %hi(0x2067800), %g4                     <== NOT EXECUTED
 202260c:	03 00 81 c8 	sethi  %hi(0x2072000), %g1                     
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
 2022610:	84 10 20 08 	mov  8, %g2                                    
 2022614:	f8 00 63 f0 	ld  [ %g1 + 0x3f0 ], %i4                       
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
 2022618:	b4 10 20 20 	mov  0x20, %i2                                 
  /*                                                                  
   * determine usable OEMName                                         
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
 202261c:	10 80 00 07 	b  2022638 <msdos_format+0x22c>                
 2022620:	82 07 bd e3 	add  %fp, -541, %g1                            
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
	*to++ = *from++;                                                     
 2022624:	82 00 60 01 	inc  %g1                                       
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
 2022628:	c0 28 40 00 	clrb  [ %g1 ]                                  
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
	(rqdata->OEMName != NULL)) {                                         
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
 202262c:	84 80 bf ff 	addcc  %g2, -1, %g2                            
 2022630:	02 80 00 0e 	be  2022668 <msdos_format+0x25c>               <== NEVER TAKEN
 2022634:	88 01 20 01 	inc  %g4                                       
	 cnt < (sizeof(fmt_params->OEMName)-1);                              
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
 2022638:	c6 09 00 00 	ldub  [ %g4 ], %g3                             
 202263c:	ba 08 e0 ff 	and  %g3, 0xff, %i5                            
 2022640:	ba 07 00 1d 	add  %i4, %i5, %i5                             
 2022644:	fa 4f 60 01 	ldsb  [ %i5 + 1 ], %i5                         
 2022648:	80 8f 60 97 	btst  0x97, %i5                                
 202264c:	32 bf ff f6 	bne,a   2022624 <msdos_format+0x218>           
 2022650:	c6 28 40 00 	stb  %g3, [ %g1 ]                              
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
 2022654:	f4 28 40 00 	stb  %i2, [ %g1 ]                              
 2022658:	82 00 60 01 	inc  %g1                                       
      from = "RTEMS"; /* default: make "from" point to OS Name */     
    if ((rqdata != NULL) &&                                           
	(rqdata->OEMName != NULL)) {                                         
      from = rqdata->OEMName;                                         
    }                                                                 
    for (cnt = 0;                                                     
 202265c:	84 80 bf ff 	addcc  %g2, -1, %g2                            
 2022660:	12 bf ff f6 	bne  2022638 <msdos_format+0x22c>              
 2022664:	c0 28 40 00 	clrb  [ %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) &&                                           
 2022668:	80 a6 60 00 	cmp  %i1, 0                                    
 202266c:	02 80 02 93 	be  20230b8 <msdos_format+0xcac>               
 2022670:	09 00 81 9b 	sethi  %hi(0x2066c00), %g4                     
	(rqdata->VolLabel != NULL)) {                                        
 2022674:	c8 06 60 04 	ld  [ %i1 + 4 ], %g4                           
  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) &&                                           
 2022678:	80 a1 20 00 	cmp  %g4, 0                                    
 202267c:	22 80 02 8f 	be,a   20230b8 <msdos_format+0xcac>            <== NEVER TAKEN
 2022680:	09 00 81 9b 	sethi  %hi(0x2066c00), %g4                     <== NOT EXECUTED
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
 2022684:	82 10 20 01 	mov  1, %g1                                    
 2022688:	c2 2f bd f8 	stb  %g1, [ %fp + -520 ]                       
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
 202268c:	84 10 20 0b 	mov  0xb, %g2                                  
  /*                                                                  
   * determine usable Volume Label                                    
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
 2022690:	82 07 bd ec 	add  %fp, -532, %g1                            
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
 2022694:	10 80 00 07 	b  20226b0 <msdos_format+0x2a4>                
 2022698:	b4 10 20 20 	mov  0x20, %i2                                 
    }                                                                 
    for (cnt = 0;                                                     
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
	*to++ = *from++;                                                     
 202269c:	82 00 60 01 	inc  %g1                                       
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
      }                                                               
      *to = '\0';                                                     
 20226a0:	c0 28 40 00 	clrb  [ %g1 ]                                  
    if ((rqdata != NULL) &&                                           
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
 20226a4:	84 80 bf ff 	addcc  %g2, -1, %g2                            
 20226a8:	02 80 00 0e 	be  20226e0 <msdos_format+0x2d4>               <== NEVER TAKEN
 20226ac:	88 01 20 01 	inc  %g4                                       
	 cnt < (sizeof(fmt_params->VolLabel)-1);                             
	 cnt++) {                                                            
      if (isprint((unsigned char)*from)) {                            
 20226b0:	c6 09 00 00 	ldub  [ %g4 ], %g3                             
 20226b4:	ba 08 e0 ff 	and  %g3, 0xff, %i5                            
 20226b8:	ba 07 00 1d 	add  %i4, %i5, %i5                             
 20226bc:	fa 4f 60 01 	ldsb  [ %i5 + 1 ], %i5                         
 20226c0:	80 8f 60 97 	btst  0x97, %i5                                
 20226c4:	32 bf ff f6 	bne,a   202269c <msdos_format+0x290>           
 20226c8:	c6 28 40 00 	stb  %g3, [ %g1 ]                              
	/*                                                                   
	 * non-printable character in given name, so keep stuck              
	 * at that character and replace all following characters            
	 * with a ' '                                                        
	 */                                                                  
	*to++=' ';                                                           
 20226cc:	f4 28 40 00 	stb  %i2, [ %g1 ]                              
 20226d0:	82 00 60 01 	inc  %g1                                       
    if ((rqdata != NULL) &&                                           
	(rqdata->VolLabel != NULL)) {                                        
      from = rqdata->VolLabel;                                        
      fmt_params->VolLabel_present = true;                            
    }                                                                 
    for (cnt = 0;                                                     
 20226d4:	84 80 bf ff 	addcc  %g2, -1, %g2                            
 20226d8:	12 bf ff f6 	bne  20226b0 <msdos_format+0x2a4>              
 20226dc:	c0 28 40 00 	clrb  [ %g1 ]                                  
{                                                                     
  int ret_val = 0;                                                    
  int rc;                                                             
  struct timeval time_value;                                          
                                                                      
  rc = rtems_clock_get_tod_timeval(&time_value);                      
 20226e0:	40 00 2f 0d 	call  202e314 <rtems_clock_get_tod_timeval>    
 20226e4:	90 07 be 00 	add  %fp, -512, %o0                            
  if (rc == RTEMS_SUCCESSFUL) {                                       
 20226e8:	80 a2 20 00 	cmp  %o0, 0                                    
 20226ec:	12 80 02 88 	bne  202310c <msdos_format+0xd00>              <== ALWAYS TAKEN
 20226f0:	01 00 00 00 	nop                                            
    *volid_ptr = time_value.tv_sec + time_value.tv_sec;               
 20226f4:	c2 07 be 00 	ld  [ %fp + -512 ], %g1                        <== NOT EXECUTED
 20226f8:	83 28 60 01 	sll  %g1, 1, %g1                               <== NOT EXECUTED
 20226fc:	c2 27 bd fc 	st  %g1, [ %fp + -516 ]                        <== NOT EXECUTED
 2022700:	80 a0 00 19 	cmp  %g0, %i1                                  
   */                                                                 
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
  }                                                                   
  else {                                                              
    return 0;                                                         
 2022704:	b0 10 20 00 	clr  %i0                                       
 2022708:	10 bf ff 73 	b  20224d4 <msdos_format+0xc8>                 
 202270c:	82 40 20 00 	addx  %g0, 0, %g1                              
   */                                                                 
  if (ret_val == 0) {                                                 
    /*                                                                
     * Read the current MBR to obtain the partition table.            
     */                                                               
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 2022710:	92 10 20 02 	mov  2, %o1                                    
 2022714:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 2022718:	7f ff fe a3 	call  20221a4 <msdos_format_printf>            
 202271c:	94 12 a3 08 	or  %o2, 0x308, %o2	! 2068f08 <rtems_rtc_shell_usage+0xd28>
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
 2022720:	90 10 00 1b 	mov  %i3, %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,                               
 2022724:	fa 07 bd b0 	ld  [ %fp + -592 ], %i5                        
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
 2022728:	92 10 20 00 	clr  %o1                                       
 202272c:	94 10 20 00 	clr  %o2                                       
 2022730:	40 00 28 18 	call  202c790 <lseek>                          
 2022734:	96 10 20 00 	clr  %o3                                       
 2022738:	80 a2 20 00 	cmp  %o0, 0                                    
 202273c:	06 80 01 19 	bl  2022ba0 <msdos_format+0x794>               <== NEVER TAKEN
 2022740:	90 10 00 1b 	mov  %i3, %o0                                  
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > read(fd,buffer,sector_size)) {                            
 2022744:	92 07 be 00 	add  %fp, -512, %o1                            
 2022748:	7f ff 9f 69 	call  200a4ec <read>                           
 202274c:	94 10 00 1d 	mov  %i5, %o2                                  
 2022750:	80 a2 20 00 	cmp  %o0, 0                                    
 2022754:	06 80 01 13 	bl  2022ba0 <msdos_format+0x794>               <== NEVER TAKEN
 2022758:	90 10 00 19 	mov  %i1, %o0                                  
    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,       
 202275c:	92 10 20 02 	mov  2, %o1                                    
 2022760:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 2022764:	7f ff fe 90 	call  20221a4 <msdos_format_printf>            
 2022768:	94 12 a3 78 	or  %o2, 0x378, %o2	! 2068f78 <rtems_rtc_shell_usage+0xd98>
{                                                                     
  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) {                        
 202276c:	c2 07 bd b4 	ld  [ %fp + -588 ], %g1                        
 2022770:	05 00 00 3f 	sethi  %hi(0xfc00), %g2                        
 2022774:	84 10 a3 ff 	or  %g2, 0x3ff, %g2	! ffff <PROM_START+0xffff> 
 2022778:	80 a0 40 02 	cmp  %g1, %g2                                  
 202277c:	08 80 01 f0 	bleu  2022f3c <msdos_format+0xb30>             <== ALWAYS TAKEN
 2022780:	a0 10 00 01 	mov  %g1, %l0                                  
 2022784:	84 08 40 02 	and  %g1, %g2, %g2                             <== NOT EXECUTED
 2022788:	aa 10 00 01 	mov  %g1, %l5                                  <== NOT EXECUTED
 202278c:	a9 30 a0 08 	srl  %g2, 8, %l4                               <== NOT EXECUTED
 2022790:	a7 30 60 10 	srl  %g1, 0x10, %l3                            <== NOT EXECUTED
 2022794:	a5 30 60 18 	srl  %g1, 0x18, %l2                            <== NOT EXECUTED
 2022798:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
 202279c:	a0 10 20 00 	clr  %l0                                       <== 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);                     
 20227a0:	92 10 20 00 	clr  %o1                                       
 20227a4:	94 10 21 be 	mov  0x1be, %o2                                
 20227a8:	40 00 a6 26 	call  204c040 <memset>                         
 20227ac:	90 07 be 00 	add  %fp, -512, %o0                            
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
 20227b0:	90 07 be 03 	add  %fp, -509, %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,
 20227b4:	c0 37 bf fe 	clrh  [ %fp + -2 ]                             
   * with 0xEB,....                                                   
   */                                                                 
  /*                                                                  
   * fill OEMName                                                     
   */                                                                 
  memcpy(FAT_GET_ADDR_BR_OEMNAME(mbr),                                
 20227b8:	92 07 bd e3 	add  %fp, -541, %o1                            
 20227bc:	40 00 a5 92 	call  204be04 <memcpy>                         
 20227c0:	94 10 20 08 	mov  8, %o2                                    
  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);
 20227c4:	c6 07 bd c8 	ld  [ %fp + -568 ], %g3                        
   * 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); 
 20227c8:	fa 07 bd b0 	ld  [ %fp + -592 ], %i5                        
  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);
 20227cc:	83 30 e0 08 	srl  %g3, 8, %g1                               
 20227d0:	c2 2f be 12 	stb  %g1, [ %fp + -494 ]                       
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
  FAT_SET_BR_MEDIA(mbr               , fmt_params->media_code);       
 20227d4:	c2 0f bd e1 	ldub  [ %fp + -543 ], %g1                      
  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);  
 20227d8:	c8 07 bd b8 	ld  [ %fp + -584 ], %g4                        
   * 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); 
 20227dc:	9f 37 60 08 	srl  %i5, 8, %o7                               
 20227e0:	fa 2f be 0b 	stb  %i5, [ %fp + -501 ]                       
  FAT_SET_BR_SECTORS_PER_CLUSTER(mbr , fmt_params->sectors_per_cluster);
 20227e4:	fa 07 bd bc 	ld  [ %fp + -580 ], %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);          
  if (fmt_params->fattype != FAT_FAT32) {                             
 20227e8:	f8 0f bd e2 	ldub  [ %fp + -542 ], %i4                      
                                                                      
  /* 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);       
 20227ec:	c2 2f be 15 	stb  %g1, [ %fp + -491 ]                       
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
 20227f0:	82 10 3f ff 	mov  -1, %g1                                   
  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);  
 20227f4:	85 31 20 08 	srl  %g4, 8, %g2                               
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
 20227f8:	b0 10 20 02 	mov  2, %i0                                    
  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... */
 20227fc:	b4 10 20 01 	mov  1, %i2                                    
  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);       
                                                                      
  FAT_SET_BR_SECTORS_PER_TRACK(mbr   , 255); /* only needed for INT13... */
 2022800:	c2 2f be 18 	stb  %g1, [ %fp + -488 ]                       
   * 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); 
 2022804:	de 2f be 0c 	stb  %o7, [ %fp + -500 ]                       
  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... */
 2022808:	82 10 20 06 	mov  6, %g1                                    
   */                                                                 
  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);
 202280c:	fa 2f be 0d 	stb  %i5, [ %fp + -499 ]                       
  FAT_SET_BR_RESERVED_SECTORS_NUM(mbr, fmt_params->rsvd_sector_cnt);  
 2022810:	c8 2f be 0e 	stb  %g4, [ %fp + -498 ]                       
 2022814:	c4 2f be 0f 	stb  %g2, [ %fp + -497 ]                       
                                                                      
  /* number of FATs on medium */                                      
  FAT_SET_BR_FAT_NUM(mbr             , 2); /* standard/recommended value */
 2022818:	f0 2f be 10 	stb  %i0, [ %fp + -496 ]                       
  FAT_SET_BR_FILES_PER_ROOT_DIR(mbr  , fmt_params->files_per_root_dir);
 202281c:	c6 2f be 11 	stb  %g3, [ %fp + -495 ]                       
  FAT_SET_BR_TOTAL_SECTORS_NUM16(mbr , total_sectors_num16);          
 2022820:	e0 2f be 13 	stb  %l0, [ %fp + -493 ]                       
 2022824:	e2 2f be 14 	stb  %l1, [ %fp + -492 ]                       
  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... */
 2022828:	c2 2f be 1a 	stb  %g1, [ %fp + -486 ]                       
  FAT_SET_BR_HIDDEN_SECTORS(mbr      , 1);   /* only needed for INT13... */
 202282c:	f4 2f be 1c 	stb  %i2, [ %fp + -484 ]                       
                                                                      
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
 2022830:	ea 2f be 20 	stb  %l5, [ %fp + -480 ]                       
 2022834:	e8 2f be 21 	stb  %l4, [ %fp + -479 ]                       
 2022838:	e6 2f be 22 	stb  %l3, [ %fp + -478 ]                       
  if (fmt_params->fattype != FAT_FAT32) {                             
 202283c:	80 a7 20 04 	cmp  %i4, 4                                    
 2022840:	02 80 02 50 	be  2023180 <msdos_format+0xd74>               <== NEVER TAKEN
 2022844:	e4 2f be 23 	stb  %l2, [ %fp + -477 ]                       
    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 */
 2022848:	c2 07 bd fc 	ld  [ %fp + -516 ], %g1                        
  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);          
  if (fmt_params->fattype != FAT_FAT32) {                             
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
 202284c:	c4 07 bd c0 	ld  [ %fp + -576 ], %g2                        
    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 */
 2022850:	89 30 60 10 	srl  %g1, 0x10, %g4                            
 2022854:	87 30 60 18 	srl  %g1, 0x18, %g3                            
 2022858:	bb 30 60 08 	srl  %g1, 8, %i5                               
 202285c:	c2 2f be 27 	stb  %g1, [ %fp + -473 ]                       
  FAT_SET_BR_TOTAL_SECTORS_NUM32(mbr , total_sectors_num32);          
  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);           
 2022860:	82 10 20 29 	mov  0x29, %g1                                 
  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);          
  if (fmt_params->fattype != FAT_FAT32) {                             
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
 2022864:	b5 30 a0 08 	srl  %g2, 8, %i2                               
    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);           
 2022868:	c2 2f be 26 	stb  %g1, [ %fp + -474 ]                       
  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);          
  if (fmt_params->fattype != FAT_FAT32) {                             
    FAT_SET_BR_SECTORS_PER_FAT(mbr   ,fmt_params->sectors_per_fat);   
 202286c:	c4 2f be 16 	stb  %g2, [ %fp + -490 ]                       
 2022870:	f4 2f be 17 	stb  %i2, [ %fp + -489 ]                       
    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 */
 2022874:	fa 2f be 28 	stb  %i5, [ %fp + -472 ]                       
 2022878:	c8 2f be 29 	stb  %g4, [ %fp + -471 ]                       
 202287c:	c6 2f be 2a 	stb  %g3, [ %fp + -470 ]                       
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
 2022880:	90 07 be 2b 	add  %fp, -469, %o0                            
 2022884:	92 07 bd ec 	add  %fp, -532, %o1                            
 2022888:	40 00 a5 5f 	call  204be04 <memcpy>                         
 202288c:	94 10 20 0b 	mov  0xb, %o2                                  
	 fmt_params->VolLabel,                                               
	 FAT_BR_VOLLAB_SIZE);                                                
    memcpy(FAT_GET_ADDR_BR_FILSYSTYPE(mbr),                           
 2022890:	03 00 81 a3 	sethi  %hi(0x2068c00), %g1                     
 2022894:	80 a7 20 01 	cmp  %i4, 1                                    
 2022898:	02 80 01 b4 	be  2022f68 <msdos_format+0xb5c>               <== ALWAYS TAKEN
 202289c:	82 10 62 70 	or  %g1, 0x270, %g1                            
 20228a0:	c4 10 40 00 	lduh  [ %g1 ], %g2                             
 20228a4:	c4 37 be 36 	sth  %g2, [ %fp + -458 ]                       
 20228a8:	c4 10 60 02 	lduh  [ %g1 + 2 ], %g2                         
 20228ac:	c4 37 be 38 	sth  %g2, [ %fp + -456 ]                       
 20228b0:	c4 10 60 04 	lduh  [ %g1 + 4 ], %g2                         
 20228b4:	c4 37 be 3a 	sth  %g2, [ %fp + -454 ]                       
 20228b8:	c2 10 60 06 	lduh  [ %g1 + 6 ], %g1                         
 20228bc:	c2 37 be 3c 	sth  %g1, [ %fp + -452 ]                       
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  /*                                                                  
   * add boot record signature                                        
   */                                                                 
  FAT_SET_BR_SIGNATURE(mbr,      FAT_BR_SIGNATURE_VAL);               
 20228c0:	82 10 20 55 	mov  0x55, %g1                                 
 20228c4:	c2 2f bf fe 	stb  %g1, [ %fp + -2 ]                         
 20228c8:	82 10 3f aa 	mov  -86, %g1                                  
 20228cc:	c2 2f bf ff 	stb  %g1, [ %fp + -1 ]                         
                                                                      
  /*                                                                  
   * add jump to boot loader at start of sector                       
   */                                                                 
  FAT_SET_VAL8(mbr,0,0xeb);                                           
 20228d0:	82 10 3f eb 	mov  -21, %g1                                  
 20228d4:	c2 2f be 00 	stb  %g1, [ %fp + -512 ]                       
  FAT_SET_VAL8(mbr,1,0x3c);                                           
 20228d8:	82 10 20 3c 	mov  0x3c, %g1                                 
 20228dc:	c2 2f be 01 	stb  %g1, [ %fp + -511 ]                       
  FAT_SET_VAL8(mbr,2,0x90);                                           
 20228e0:	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,       
 20228e4:	92 10 20 02 	mov  2, %o1                                    
 20228e8:	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);                                           
 20228ec:	c2 2f be 02 	stb  %g1, [ %fp + -510 ]                       
    /*                                                                
     * 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,       
 20228f0:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 20228f4:	7f ff fe 2c 	call  20221a4 <msdos_format_printf>            
 20228f8:	94 12 a3 20 	or  %o2, 0x320, %o2	! 2068f20 <rtems_rtc_shell_usage+0xd40>
                           "write MRB sector\n");                     
      ret_val = msdos_format_write_sec(fd,                            
 20228fc:	d4 07 bd b0 	ld  [ %fp + -592 ], %o2                        
 2022900:	90 10 00 1b 	mov  %i3, %o0                                  
 2022904:	92 10 20 00 	clr  %o1                                       
 2022908:	7f ff fe 3c 	call  20221f8 <msdos_format_write_sec>         
 202290c:	96 07 be 00 	add  %fp, -512, %o3                            
                                       0,                             
                                       fmt_params.bytes_per_sector,   
                                       tmp_sec);                      
    }                                                                 
    if ((ret_val == 0) &&                                             
 2022910:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2022914:	12 bf ff 01 	bne  2022518 <msdos_format+0x10c>              <== NEVER TAKEN
 2022918:	c2 07 bd d8 	ld  [ %fp + -552 ], %g1                        
 202291c:	80 a0 60 00 	cmp  %g1, 0                                    
 2022920:	12 80 01 d6 	bne  2023078 <msdos_format+0xc6c>              <== NEVER TAKEN
 2022924:	92 10 20 02 	mov  2, %o1                                    
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
 2022928:	fa 07 bd dc 	ld  [ %fp + -548 ], %i5                        
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
 202292c:	80 a7 60 00 	cmp  %i5, 0                                    
 2022930:	12 80 00 9e 	bne  2022ba8 <msdos_format+0x79c>              <== NEVER TAKEN
 2022934:	d2 07 bd c0 	ld  [ %fp + -576 ], %o1                        
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
      (rqdata,                                                        
 2022938:	d0 0f bd e0 	ldub  [ %fp + -544 ], %o0                      
 202293c:	7f ff 81 8a 	call  2002f64 <.umul>                          
 2022940:	fa 07 bd b8 	ld  [ %fp + -584 ], %i5                        
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
    ret_val = msdos_format_fill_sectors                               
 2022944:	d8 07 bd b0 	ld  [ %fp + -592 ], %o4                        
      (rqdata,                                                        
 2022948:	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                               
 202294c:	92 10 00 1b 	mov  %i3, %o1                                  
 2022950:	90 10 00 19 	mov  %i1, %o0                                  
 2022954:	94 10 00 1d 	mov  %i5, %o2                                  
 2022958:	7f ff fe 40 	call  2022258 <msdos_format_fill_sectors>      
 202295c:	9a 10 20 00 	clr  %o5                                       
  }                                                                   
  /*                                                                  
   * clear/init root directory                                        
   * -> write all directory sectors as 0x00                           
   */                                                                 
  if (ret_val == 0) {                                                 
 2022960:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2022964:	12 bf fe ed 	bne  2022518 <msdos_format+0x10c>              <== NEVER TAKEN
 2022968:	d4 1f bd d0 	ldd  [ %fp + -560 ], %o2                       
    ret_val = msdos_format_fill_sectors                               
 202296c:	d8 07 bd b0 	ld  [ %fp + -592 ], %o4                        
 2022970:	90 10 00 19 	mov  %i1, %o0                                  
 2022974:	92 10 00 1b 	mov  %i3, %o1                                  
 2022978:	7f ff fe 38 	call  2022258 <msdos_format_fill_sectors>      
 202297c:	9a 10 20 00 	clr  %o5                                       
       0x00);                                                         
  }                                                                   
  /*                                                                  
   * write volume label to first entry of directory                   
   */                                                                 
  if ((ret_val == 0) && fmt_params.VolLabel_present) {                
 2022980:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2022984:	12 bf fe e5 	bne  2022518 <msdos_format+0x10c>              <== NEVER TAKEN
 2022988:	c2 0f bd f8 	ldub  [ %fp + -520 ], %g1                      
 202298c:	80 a0 60 00 	cmp  %g1, 0                                    
 2022990:	02 bf fe e3 	be  202251c <msdos_format+0x110>               
 2022994:	80 a6 ff ff 	cmp  %i3, -1                                   
    memset(tmp_sec,0,sizeof(tmp_sec));                                
 2022998:	92 10 20 00 	clr  %o1                                       
 202299c:	94 10 22 00 	mov  0x200, %o2                                
 20229a0:	40 00 a5 a8 	call  204c040 <memset>                         
 20229a4:	90 07 be 00 	add  %fp, -512, %o0                            
    memcpy(MSDOS_DIR_NAME(tmp_sec),fmt_params.VolLabel,MSDOS_SHORT_NAME_LEN);
 20229a8:	c2 0f bd f6 	ldub  [ %fp + -522 ], %g1                      
 20229ac:	c6 07 bd f0 	ld  [ %fp + -528 ], %g3                        
 20229b0:	c4 17 bd f4 	lduh  [ %fp + -524 ], %g2                      
 20229b4:	c8 07 bd ec 	ld  [ %fp + -532 ], %g4                        
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
    ret_val = msdos_format_write_sec                                  
 20229b8:	d2 07 bd d0 	ld  [ %fp + -560 ], %o1                        
 20229bc:	d4 07 bd b0 	ld  [ %fp + -592 ], %o2                        
  /*                                                                  
   * 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);
 20229c0:	c2 2f be 0a 	stb  %g1, [ %fp + -502 ]                       
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
 20229c4:	82 10 20 08 	mov  8, %g1                                    
  /*                                                                  
   * 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);
 20229c8:	c8 27 be 00 	st  %g4, [ %fp + -512 ]                        
 20229cc:	c6 27 be 04 	st  %g3, [ %fp + -508 ]                        
 20229d0:	c4 37 be 08 	sth  %g2, [ %fp + -504 ]                       
    *MSDOS_DIR_ATTR(tmp_sec) = MSDOS_ATTR_VOLUME_ID;                  
    ret_val = msdos_format_write_sec                                  
 20229d4:	90 10 00 1b 	mov  %i3, %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;                  
 20229d8:	c2 2f be 0b 	stb  %g1, [ %fp + -501 ]                       
    ret_val = msdos_format_write_sec                                  
 20229dc:	7f ff fe 07 	call  20221f8 <msdos_format_write_sec>         
 20229e0:	96 07 be 00 	add  %fp, -512, %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){                 
 20229e4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20229e8:	12 bf fe cc 	bne  2022518 <msdos_format+0x10c>              <== NEVER TAKEN
 20229ec:	c2 0f bd f8 	ldub  [ %fp + -520 ], %g1                      
 20229f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20229f4:	02 bf fe c9 	be  2022518 <msdos_format+0x10c>               <== NEVER TAKEN
 20229f8:	90 07 be 00 	add  %fp, -512, %o0                            
    /*                                                                
     * empty sector: all clusters are free/do not link further on     
     */                                                               
    memset(tmp_sec,0,sizeof(tmp_sec));                                
 20229fc:	92 10 20 00 	clr  %o1                                       
 2022a00:	40 00 a5 90 	call  204c040 <memset>                         
 2022a04:	94 10 22 00 	mov  0x200, %o2                                
                                                                      
    switch(fmt_params.fattype) {                                      
 2022a08:	c2 0f bd e2 	ldub  [ %fp + -542 ], %g1                      
 2022a0c:	80 a0 60 02 	cmp  %g1, 2                                    
 2022a10:	02 80 01 ac 	be  20230c0 <msdos_format+0xcb4>               <== NEVER TAKEN
 2022a14:	80 a0 60 04 	cmp  %g1, 4                                    
 2022a18:	02 80 01 57 	be  2022f74 <msdos_format+0xb68>               <== NEVER TAKEN
 2022a1c:	80 a0 60 01 	cmp  %g1, 1                                    
 2022a20:	02 80 01 b5 	be  20230f4 <msdos_format+0xce8>               <== ALWAYS TAKEN
 2022a24:	c2 0f bd e1 	ldub  [ %fp + -543 ], %g1                      
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
      errno = EINVAL;                                                 
 2022a28:	40 00 97 b8 	call  2048908 <__errno>                        <== NOT EXECUTED
 2022a2c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2022a30:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 2022a34:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    }                                                                 
    if (fmt_params.fattype == FAT_FAT32) {                            
 2022a38:	c2 0f bd e2 	ldub  [ %fp + -542 ], %g1                      <== NOT EXECUTED
 2022a3c:	80 a0 60 04 	cmp  %g1, 4                                    <== NOT EXECUTED
 2022a40:	02 80 01 5a 	be  2022fa8 <msdos_format+0xb9c>               <== NOT EXECUTED
 2022a44:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
       * 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;                                                       
 2022a48:	c2 0f bd e0 	ldub  [ %fp + -544 ], %g1                      <== NOT EXECUTED
 2022a4c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2022a50:	02 bf fe b2 	be  2022518 <msdos_format+0x10c>               <== NOT EXECUTED
 2022a54:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
 2022a58:	32 bf fe b0 	bne,a   2022518 <msdos_format+0x10c>           <== NOT EXECUTED
 2022a5c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2022a60:	d0 07 bd c0 	ld  [ %fp + -576 ], %o0                        <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
      break;                                                          
                                                                      
    default:                                                          
      ret_val = -1;                                                   
 2022a64:	10 80 00 05 	b  2022a78 <msdos_format+0x66c>                
 2022a68:	ba 10 20 00 	clr  %i5                                       
       * 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);                         
 2022a6c:	80 a2 20 00 	cmp  %o0, 0                                    
 2022a70:	12 bf fe aa 	bne  2022518 <msdos_format+0x10c>              <== NEVER TAKEN
 2022a74:	d0 07 bd c0 	ld  [ %fp + -576 ], %o0                        
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
	(fd,                                                                 
	 fmt_params.rsvd_sector_cnt                                          
	 + (i * fmt_params.sectors_per_fat),                                 
 2022a78:	7f ff 81 3b 	call  2002f64 <.umul>                          
 2022a7c:	92 10 00 1d 	mov  %i5, %o1                                  
    }                                                                 
    for (i = 0;                                                       
	 (i < fmt_params.fat_num) && (ret_val == 0);                         
	 i++) {                                                              
      ret_val = msdos_format_write_sec                                
	(fd,                                                                 
 2022a80:	d2 07 bd b8 	ld  [ %fp + -584 ], %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                                
 2022a84:	d4 07 bd b0 	ld  [ %fp + -592 ], %o2                        
	(fd,                                                                 
 2022a88:	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                                
 2022a8c:	96 07 be 00 	add  %fp, -512, %o3                            
 2022a90:	7f ff fd da 	call  20221f8 <msdos_format_write_sec>         
 2022a94:	90 10 00 1b 	mov  %i3, %o0                                  
       * 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);                         
 2022a98:	c2 0f bd e0 	ldub  [ %fp + -544 ], %g1                      
	 i++) {                                                              
 2022a9c:	ba 07 60 01 	inc  %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;                                                       
 2022aa0:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2022aa4:	14 bf ff f2 	bg  2022a6c <msdos_format+0x660>               
 2022aa8:	b0 10 00 08 	mov  %o0, %i0                                  
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
 2022aac:	10 bf fe 9c 	b  202251c <msdos_format+0x110>                
 2022ab0:	80 a6 ff ff 	cmp  %i3, -1                                   
  }                                                                   
                                                                      
  /*                                                                  
   * sanity check on device                                           
   */                                                                 
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
 2022ab4:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
 2022ab8:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 2022abc:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
 2022ac0:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     <== NOT EXECUTED
 2022ac4:	7f ff fd b8 	call  20221a4 <msdos_format_printf>            <== NOT EXECUTED
 2022ac8:	94 12 a3 58 	or  %o2, 0x358, %o2	! 2068f58 <rtems_rtc_shell_usage+0xd78><== NOT EXECUTED
  if (ret_val == 0) {                                                 
    rc = fstat(fd, &stat_buf);                                        
    ret_val = rc;                                                     
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,             
 2022acc:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
 2022ad0:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 2022ad4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2022ad8:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 2022adc:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     <== NOT EXECUTED
 2022ae0:	7f ff fd b1 	call  20221a4 <msdos_format_printf>            <== NOT EXECUTED
 2022ae4:	94 12 a3 68 	or  %o2, 0x368, %o2	! 2068f68 <rtems_rtc_shell_usage+0xd88><== NOT EXECUTED
 2022ae8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2022aec:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   * 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);           
 2022af0:	7f ff 81 1d 	call  2002f64 <.umul>                          
 2022af4:	01 00 00 00 	nop                                            
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->root_dir_sectors;  
 2022af8:	c4 07 bd 5c 	ld  [ %fp + -676 ], %g2                        
   * 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);           
 2022afc:	c2 07 bd 58 	ld  [ %fp + -680 ], %g1                        
    fmt_params->root_dir_fmt_sec_cnt = fmt_params->root_dir_sectors;  
 2022b00:	c4 27 bd d4 	st  %g2, [ %fp + -556 ]                        
   * 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);           
 2022b04:	90 02 00 01 	add  %o0, %g1, %o0                             
  /*                                                                  
   * determine location and size of root directory                    
   * for formatting                                                   
   */                                                                 
  if (fmt_params->root_dir_sectors > 0) {                             
    fmt_params->root_dir_start_sec =                                  
 2022b08:	10 bf fe b8 	b  20225e8 <msdos_format+0x1dc>                
 2022b0c:	d0 27 bd d0 	st  %o0, [ %fp + -560 ]                        
static inline int rtems_disk_fd_get_block_count(                      
  int fd,                                                             
  rtems_blkdev_bnum *block_count                                      
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETSIZE, block_count);                 
 2022b10:	92 17 62 05 	or  %i5, 0x205, %o1                            
 2022b14:	7f ff 9a 56 	call  200946c <ioctl>                          
 2022b18:	94 07 bd b4 	add  %fp, -588, %o2                            
    ret_val = rtems_disk_fd_get_block_size(fd, &fmt_params->bytes_per_sector);
  }                                                                   
  if (ret_val == 0) {                                                 
    ret_val = rtems_disk_fd_get_block_count(fd, &fmt_params->totl_sector_cnt);
  }                                                                   
  if (ret_val == 0) {                                                 
 2022b1c:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2022b20:	12 bf fe a0 	bne  20225a0 <msdos_format+0x194>              <== NEVER TAKEN
 2022b24:	f0 07 bd b0 	ld  [ %fp + -592 ], %i0                        
    total_size = fmt_params->bytes_per_sector * fmt_params->totl_sector_cnt;
 2022b28:	f4 07 bd b4 	ld  [ %fp + -588 ], %i2                        
 2022b2c:	92 10 00 18 	mov  %i0, %o1                                  
 2022b30:	7f ff 81 0d 	call  2002f64 <.umul>                          
 2022b34:	90 10 00 1a 	mov  %i2, %o0                                  
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 2022b38:	9a 10 20 00 	clr  %o5                                       
  }                                                                   
  if (ret_val == 0) {                                                 
    ret_val = rtems_disk_fd_get_block_count(fd, &fmt_params->totl_sector_cnt);
  }                                                                   
  if (ret_val == 0) {                                                 
    total_size = fmt_params->bytes_per_sector * fmt_params->totl_sector_cnt;
 2022b3c:	ba 10 00 08 	mov  %o0, %i5                                  
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 2022b40:	d0 23 a0 5c 	st  %o0, [ %sp + 0x5c ]                        
  }                                                                   
  if (ret_val == 0) {                                                 
    ret_val = rtems_disk_fd_get_block_count(fd, &fmt_params->totl_sector_cnt);
  }                                                                   
  if (ret_val == 0) {                                                 
    total_size = fmt_params->bytes_per_sector * fmt_params->totl_sector_cnt;
 2022b44:	b8 10 20 00 	clr  %i4                                       
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 2022b48:	92 10 20 02 	mov  2, %o1                                    
 2022b4c:	f8 3f bd 60 	std  %i4, [ %fp + -672 ]                       
 2022b50:	90 10 00 19 	mov  %i1, %o0                                  
 2022b54:	96 10 00 18 	mov  %i0, %o3                                  
 2022b58:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 2022b5c:	98 10 00 1a 	mov  %i2, %o4                                  
 2022b60:	7f ff fd 91 	call  20221a4 <msdos_format_printf>            
 2022b64:	94 12 a2 90 	or  %o2, 0x290, %o2                            
                                                                      
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
 2022b68:	80 a6 60 00 	cmp  %i1, 0                                    
 2022b6c:	02 80 01 b3 	be  2023238 <msdos_format+0xe2c>               
 2022b70:	82 10 20 02 	mov  2, %g1                                    
	(rqdata->fat_num == 0)) {                                            
 2022b74:	d6 06 60 0c 	ld  [ %i1 + 0xc ], %o3                         
                                                                      
  /*                                                                  
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
 2022b78:	80 a2 e0 00 	cmp  %o3, 0                                    
 2022b7c:	02 80 00 32 	be  2022c44 <msdos_format+0x838>               <== ALWAYS TAKEN
 2022b80:	90 10 00 19 	mov  %i1, %o0                                  
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
    }                                                                 
    else if (rqdata->fat_num <= 6) {                                  
 2022b84:	80 a2 e0 06 	cmp  %o3, 6                                    <== NOT EXECUTED
 2022b88:	38 bf fe 86 	bgu,a   20225a0 <msdos_format+0x194>           <== NOT EXECUTED
 2022b8c:	a0 10 20 16 	mov  0x16, %l0                                 <== NOT EXECUTED
      fmt_params->fat_num = rqdata->fat_num;                          
 2022b90:	d6 2f bd e0 	stb  %o3, [ %fp + -544 ]                       <== NOT EXECUTED
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 2022b94:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 2022b98:	10 80 00 2e 	b  2022c50 <msdos_format+0x844>                <== NOT EXECUTED
 2022b9c:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
       * 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);                         
 2022ba0:	10 bf fe 5e 	b  2022518 <msdos_format+0x10c>                <== NOT EXECUTED
 2022ba4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
\*=========================================================================*/
{                                                                     
  /*                                                                  
   * clear fsinfo sector data                                         
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
 2022ba8:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2022bac:	94 10 22 00 	mov  0x200, %o2                                <== NOT EXECUTED
 2022bb0:	40 00 a5 24 	call  204c040 <memset>                         <== NOT EXECUTED
 2022bb4:	90 07 be 00 	add  %fp, -512, %o0                            <== NOT EXECUTED
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
 2022bb8:	84 10 20 61 	mov  0x61, %g2                                 <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
 2022bbc:	d4 07 bd b0 	ld  [ %fp + -592 ], %o2                        <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
 2022bc0:	c4 2f be 02 	stb  %g2, [ %fp + -510 ]                       <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
 2022bc4:	c4 2f bf e7 	stb  %g2, [ %fp + -25 ]                        <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
 2022bc8:	84 10 20 55 	mov  0x55, %g2                                 <== NOT EXECUTED
  /*                                                                  
   * write "empty" values for free cluster count and next cluster number
   */                                                                 
  FAT_SET_FSINFO_FREE_CLUSTER_COUNT(fsinfo+FAT_FSI_INFO,              
 2022bcc:	82 10 3f ff 	mov  -1, %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 );
 2022bd0:	86 10 20 41 	mov  0x41, %g3                                 <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
 2022bd4:	88 10 20 72 	mov  0x72, %g4                                 <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
 2022bd8:	c4 2f bf fe 	stb  %g2, [ %fp + -2 ]                         <== NOT EXECUTED
 2022bdc:	84 10 3f aa 	mov  -86, %g2                                  <== NOT EXECUTED
   */                                                                 
  memset(fsinfo,0,FAT_TOTAL_FSINFO_SIZE);                             
  /*                                                                  
   * write LEADSIG, STRUCTSIG, TRAILSIG                               
   */                                                                 
  FAT_SET_FSINFO_LEAD_SIGNATURE (fsinfo,FAT_FSINFO_LEAD_SIGNATURE_VALUE );
 2022be0:	b8 10 20 52 	mov  0x52, %i4                                 <== NOT EXECUTED
 2022be4:	c6 2f be 03 	stb  %g3, [ %fp + -509 ]                       <== NOT EXECUTED
 2022be8:	f8 2f be 00 	stb  %i4, [ %fp + -512 ]                       <== NOT EXECUTED
 2022bec:	f8 2f be 01 	stb  %i4, [ %fp + -511 ]                       <== NOT EXECUTED
  FAT_SET_FSINFO_STRUC_SIGNATURE(fsinfo,FAT_FSINFO_STRUC_SIGNATURE_VALUE);
 2022bf0:	c8 2f bf e4 	stb  %g4, [ %fp + -28 ]                        <== NOT EXECUTED
 2022bf4:	c8 2f bf e5 	stb  %g4, [ %fp + -27 ]                        <== NOT EXECUTED
 2022bf8:	c6 2f bf e6 	stb  %g3, [ %fp + -26 ]                        <== NOT EXECUTED
  FAT_SET_FSINFO_TRAIL_SIGNATURE(fsinfo,FAT_FSINFO_TRAIL_SIGNATURE_VALUE);
 2022bfc:	c4 2f bf ff 	stb  %g2, [ %fp + -1 ]                         <== NOT EXECUTED
  /*                                                                  
   * write "empty" values for free cluster count and next cluster number
   */                                                                 
  FAT_SET_FSINFO_FREE_CLUSTER_COUNT(fsinfo+FAT_FSI_INFO,              
 2022c00:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        <== NOT EXECUTED
 2022c04:	c2 2f bf e9 	stb  %g1, [ %fp + -23 ]                        <== NOT EXECUTED
 2022c08:	c2 2f bf ea 	stb  %g1, [ %fp + -22 ]                        <== NOT EXECUTED
 2022c0c:	c2 2f bf eb 	stb  %g1, [ %fp + -21 ]                        <== NOT EXECUTED
				    0xffffffff);                                                  
  FAT_SET_FSINFO_NEXT_FREE_CLUSTER (fsinfo+FAT_FSI_INFO,              
 2022c10:	c2 2f bf ec 	stb  %g1, [ %fp + -20 ]                        <== NOT EXECUTED
 2022c14:	c2 2f bf ed 	stb  %g1, [ %fp + -19 ]                        <== NOT EXECUTED
 2022c18:	c2 2f bf ee 	stb  %g1, [ %fp + -18 ]                        <== NOT EXECUTED
 2022c1c:	c2 2f bf ef 	stb  %g1, [ %fp + -17 ]                        <== NOT EXECUTED
  /*                                                                  
   * write fsinfo sector                                              
   */                                                                 
  if ((ret_val == 0) &&                                               
      (fmt_params.fsinfo_sec != 0)) {                                 
    ret_val = msdos_format_write_sec(fd,                              
 2022c20:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2022c24:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2022c28:	7f ff fd 74 	call  20221f8 <msdos_format_write_sec>         <== NOT EXECUTED
 2022c2c:	96 07 be 00 	add  %fp, -512, %o3                            <== NOT EXECUTED
  }                                                                   
  /*                                                                  
   * write FAT as all empty                                           
   * -> write all FAT sectors as zero                                 
   */                                                                 
  if (ret_val == 0) {                                                 
 2022c30:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2022c34:	12 bf fe 3a 	bne  202251c <msdos_format+0x110>              <== NOT EXECUTED
 2022c38:	80 a6 ff ff 	cmp  %i3, -1                                   <== NOT EXECUTED
    ret_val = msdos_format_fill_sectors                               
      (rqdata,                                                        
 2022c3c:	10 bf ff 3f 	b  2022938 <msdos_format+0x52c>                <== NOT EXECUTED
 2022c40:	d2 07 bd c0 	ld  [ %fp + -576 ], %o1                        <== NOT EXECUTED
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
 2022c44:	c2 2f bd e0 	stb  %g1, [ %fp + -544 ]                       
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 2022c48:	92 10 20 02 	mov  2, %o1                                    
 2022c4c:	96 10 20 02 	mov  2, %o3                                    
 2022c50:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 2022c54:	7f ff fd 54 	call  20221a4 <msdos_format_printf>            
 2022c58:	94 12 a2 d0 	or  %o2, 0x2d0, %o2	! 2068ed0 <rtems_rtc_shell_usage+0xcf0>
  /*                                                                  
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
 2022c5c:	82 10 20 01 	mov  1, %g1                                    
 2022c60:	c2 27 bd bc 	st  %g1, [ %fp + -580 ]                        
    if ((rqdata != NULL) &&                                           
 2022c64:	c2 0e 60 14 	ldub  [ %i1 + 0x14 ], %g1                      
 2022c68:	80 a0 60 01 	cmp  %g1, 1                                    
 2022c6c:	02 80 00 ac 	be  2022f1c <msdos_format+0xb10>               <== NEVER TAKEN
 2022c70:	80 a0 60 02 	cmp  %g1, 2                                    
	(rqdata->fattype == MSDOS_FMT_FAT12)) {                              
      fmt_params->fattype = FAT_FAT12;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
 2022c74:	02 80 00 aa 	be  2022f1c <msdos_format+0xb10>               <== NEVER TAKEN
 2022c78:	80 a0 60 03 	cmp  %g1, 3                                    
	     (rqdata->fattype == MSDOS_FMT_FAT16)) {                         
      fmt_params->fattype = FAT_FAT16;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
 2022c7c:	02 80 00 a7 	be  2022f18 <msdos_format+0xb0c>               <== NEVER TAKEN
 2022c80:	80 a0 60 00 	cmp  %g1, 0                                    
	     (rqdata->fattype == MSDOS_FMT_FAT32)) {                         
      fmt_params->fattype = FAT_FAT32;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
 2022c84:	12 80 00 b4 	bne  2022f54 <msdos_format+0xb48>              <== NEVER TAKEN
 2022c88:	01 00 00 00 	nop                                            
       * are a compromise concerning capacity and efficency           
       */                                                             
      uint32_t fat12_sect_per_clust = 8;                              
      uint32_t fat16_sect_per_clust = 32;                             
                                                                      
      if (rqdata != NULL && rqdata->sectors_per_cluster != 0) {       
 2022c8c:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 2022c90:	80 a0 60 00 	cmp  %g1, 0                                    
 2022c94:	02 80 01 66 	be  202322c <msdos_format+0xe20>               <== ALWAYS TAKEN
 2022c98:	07 00 00 1f 	sethi  %hi(0x7c00), %g3                        
 2022c9c:	85 28 60 02 	sll  %g1, 2, %g2                               <== NOT EXECUTED
 2022ca0:	87 28 60 0a 	sll  %g1, 0xa, %g3                             <== NOT EXECUTED
 2022ca4:	86 20 c0 02 	sub  %g3, %g2, %g3                             <== NOT EXECUTED
 2022ca8:	86 00 c0 01 	add  %g3, %g1, %g3                             <== NOT EXECUTED
 2022cac:	87 28 e0 02 	sll  %g3, 2, %g3                               <== NOT EXECUTED
 2022cb0:	86 00 c0 01 	add  %g3, %g1, %g3                             <== NOT EXECUTED
        fat12_sect_per_clust = rqdata->sectors_per_cluster;           
        fat16_sect_per_clust = rqdata->sectors_per_cluster;           
      }                                                               
                                                                      
      if (fmt_params->totl_sector_cnt                                 
 2022cb4:	c4 07 bd b4 	ld  [ %fp + -588 ], %g2                        
 2022cb8:	80 a0 80 03 	cmp  %g2, %g3                                  
 2022cbc:	1a 80 01 18 	bcc  202311c <msdos_format+0xd10>              <== NEVER TAKEN
 2022cc0:	87 28 60 02 	sll  %g1, 2, %g3                               
          < FAT_FAT12_MAX_CLN * fat12_sect_per_clust) {               
        fmt_params->fattype = FAT_FAT12;                              
 2022cc4:	82 10 20 01 	mov  1, %g1                                    
 2022cc8:	c2 2f bd e2 	stb  %g1, [ %fp + -542 ]                       
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
 2022ccc:	82 10 20 02 	mov  2, %g1                                    
 2022cd0:	c2 27 bd bc 	st  %g1, [ %fp + -580 ]                        
      }                                                               
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
 2022cd4:	80 a6 60 00 	cmp  %i1, 0                                    
 2022cd8:	32 80 00 93 	bne,a   2022f24 <msdos_format+0xb18>           
 2022cdc:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 2022ce0:	c4 07 bd bc 	ld  [ %fp + -580 ], %g2                        
 2022ce4:	82 10 00 02 	mov  %g2, %g1                                  
     */                                                               
    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) {                        
 2022ce8:	ba 10 20 80 	mov  0x80, %i5                                 
 2022cec:	f4 07 bd b0 	ld  [ %fp + -592 ], %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) {                
 2022cf0:	80 a7 40 01 	cmp  %i5, %g1                                  
 2022cf4:	18 80 00 09 	bgu  2022d18 <msdos_format+0x90c>              <== ALWAYS TAKEN
 2022cf8:	b8 10 20 08 	mov  8, %i4                                    
	fmt_params->sectors_per_cluster = onebit;                            
	if (fmt_params->sectors_per_cluster                                  
	    <= 32768L/fmt_params->bytes_per_sector) {                        
 2022cfc:	11 00 00 20 	sethi  %hi(0x8000), %o0                        <== NOT EXECUTED
 2022d00:	40 00 fb e7 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2022d04:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
     * 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                                  
 2022d08:	80 a2 00 1d 	cmp  %o0, %i5                                  <== NOT EXECUTED
 2022d0c:	3a 80 00 11 	bcc,a   2022d50 <msdos_format+0x944>           <== NOT EXECUTED
 2022d10:	fa 27 bd bc 	st  %i5, [ %fp + -580 ]                        <== NOT EXECUTED
 2022d14:	84 10 00 1d 	mov  %i5, %g2                                  <== NOT EXECUTED
     * 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) {               
 2022d18:	b8 87 3f ff 	addcc  %i4, -1, %i4                            
 2022d1c:	02 80 01 72 	be  20232e4 <msdos_format+0xed8>               <== NEVER TAKEN
 2022d20:	bb 37 60 01 	srl  %i5, 1, %i5                               
 2022d24:	82 10 00 02 	mov  %g2, %g1                                  
      if (fmt_params->sectors_per_cluster >= onebit) {                
 2022d28:	80 a7 40 01 	cmp  %i5, %g1                                  
 2022d2c:	38 bf ff fc 	bgu,a   2022d1c <msdos_format+0x910>           
 2022d30:	b8 87 3f ff 	addcc  %i4, -1, %i4                            
	fmt_params->sectors_per_cluster = onebit;                            
	if (fmt_params->sectors_per_cluster                                  
	    <= 32768L/fmt_params->bytes_per_sector) {                        
 2022d34:	11 00 00 20 	sethi  %hi(0x8000), %o0                        
 2022d38:	40 00 fb d9 	call  2061c9c <.udiv>                          
 2022d3c:	92 10 00 1a 	mov  %i2, %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                                  
 2022d40:	80 a2 00 1d 	cmp  %o0, %i5                                  
 2022d44:	0a bf ff f5 	bcs  2022d18 <msdos_format+0x90c>              <== NEVER TAKEN
 2022d48:	84 10 00 1d 	mov  %i5, %g2                                  
 2022d4c:	fa 27 bd bc 	st  %i5, [ %fp + -580 ]                        
	}                                                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0) {                                                 
 2022d50:	80 a4 20 00 	cmp  %l0, 0                                    
 2022d54:	12 bf fe 13 	bne  20225a0 <msdos_format+0x194>              <== NEVER TAKEN
 2022d58:	d6 07 bd bc 	ld  [ %fp + -580 ], %o3                        
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 2022d5c:	90 10 00 19 	mov  %i1, %o0                                  
 2022d60:	92 10 20 02 	mov  2, %o1                                    
 2022d64:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 2022d68:	7f ff fd 0f 	call  20221a4 <msdos_format_printf>            
 2022d6c:	94 12 a2 e8 	or  %o2, 0x2e8, %o2	! 2068ee8 <rtems_rtc_shell_usage+0xd08>
                         "sectors per cluster: %d\n", fmt_params->sectors_per_cluster);
                                                                      
    if (fmt_params->fattype == FAT_FAT32) {                           
 2022d70:	fa 0f bd e2 	ldub  [ %fp + -542 ], %i5                      
 2022d74:	80 a7 60 04 	cmp  %i5, 4                                    
 2022d78:	02 80 00 f6 	be  2023150 <msdos_format+0xd44>               <== NEVER TAKEN
 2022d7c:	82 10 20 01 	mov  1, %g1                                    
      /* 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) &&                                         
 2022d80:	80 a6 60 00 	cmp  %i1, 0                                    
 2022d84:	02 80 00 06 	be  2022d9c <msdos_format+0x990>               
 2022d88:	c2 27 bd b8 	st  %g1, [ %fp + -584 ]                        
	  (rqdata->files_per_root_dir > 0)) {                                
 2022d8c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
      /* 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) &&                                         
 2022d90:	80 a0 60 00 	cmp  %g1, 0                                    
 2022d94:	12 80 00 07 	bne  2022db0 <msdos_format+0x9a4>              <== NEVER TAKEN
 2022d98:	82 00 7f ff 	add  %g1, -1, %g1                              
	  (rqdata->files_per_root_dir > 0)) {                                
	fmt_params->files_per_root_dir = rqdata->files_per_root_dir;         
      }                                                               
      else {                                                          
	if (fmt_params->fattype == FAT_FAT16) {                              
 2022d9c:	82 1f 60 02 	xor  %i5, 2, %g1                               
 2022da0:	80 a0 00 01 	cmp  %g0, %g1                                  
 2022da4:	82 40 3f ff 	addx  %g0, -1, %g1                             
 2022da8:	82 08 61 c0 	and  %g1, 0x1c0, %g1                           
 2022dac:	82 00 60 3f 	add  %g1, 0x3f, %g1                            
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
			    (2*fmt_params->bytes_per_sector/                               
 2022db0:	f8 07 bd b0 	ld  [ %fp + -592 ], %i4                        
			     FAT_DIRENTRY_SIZE-1));                                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
 2022db4:	84 10 20 01 	mov  1, %g2                                    
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
			    (2*fmt_params->bytes_per_sector/                               
 2022db8:	93 2f 20 01 	sll  %i4, 1, %o1                               
			     FAT_DIRENTRY_SIZE-1));                                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
 2022dbc:	c4 27 bd 58 	st  %g2, [ %fp + -680 ]                        
	else {                                                               
	  fmt_params->files_per_root_dir = 64;                               
	}                                                                    
      }                                                               
      fmt_params->files_per_root_dir = (fmt_params->files_per_root_dir +
			    (2*fmt_params->bytes_per_sector/                               
 2022dc0:	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 +
 2022dc4:	b4 00 40 09 	add  %g1, %o1, %i2                             
			    (2*fmt_params->bytes_per_sector/                               
			     FAT_DIRENTRY_SIZE-1));                                        
      fmt_params->files_per_root_dir -= (fmt_params->files_per_root_dir %
 2022dc8:	40 00 fc 61 	call  2061f4c <.urem>                          
 2022dcc:	90 10 00 1a 	mov  %i2, %o0                                  
 2022dd0:	90 26 80 08 	sub  %i2, %o0, %o0                             
 2022dd4:	d0 27 bd c8 	st  %o0, [ %fp + -568 ]                        
 2022dd8:	91 2a 20 05 	sll  %o0, 5, %o0                               
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
 2022ddc:	92 10 00 1c 	mov  %i4, %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)                                  
 2022de0:	a6 07 3f ff 	add  %i4, -1, %l3                              
       / fmt_params->bytes_per_sector);                               
 2022de4:	40 00 fb ae 	call  2061c9c <.udiv>                          
 2022de8:	90 04 c0 08 	add  %l3, %o0, %o0                             
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
 2022dec:	c2 07 bd 58 	ld  [ %fp + -680 ], %g1                        
    /*                                                                
     * check values to get legal arrangement of FAT type and cluster count
     */                                                               
                                                                      
    ret_val = msdos_format_eval_sectors_per_cluster                   
      (fmt_params->fattype,                                           
 2022df0:	ee 07 bd bc 	ld  [ %fp + -580 ], %l7                        
      (((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 -                 
 2022df4:	e8 07 bd b4 	ld  [ %fp + -588 ], %l4                        
			      /FAT_DIRENTRY_SIZE));                                        
    }                                                                 
    fmt_params->root_dir_sectors =                                    
      (((fmt_params->files_per_root_dir * FAT_DIRENTRY_SIZE)          
	+ fmt_params->bytes_per_sector - 1)                                  
       / fmt_params->bytes_per_sector);                               
 2022df8:	d0 27 bd 5c 	st  %o0, [ %fp + -676 ]                        
  }                                                                   
  if (ret_val == 0) {                                                 
    fatdata_sect_cnt = (fmt_params->totl_sector_cnt -                 
 2022dfc:	a8 25 00 01 	sub  %l4, %g1, %l4                             
			     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 =                                    
 2022e00:	d0 27 bd cc 	st  %o0, [ %fp + -564 ]                        
      (((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 -                 
 2022e04:	a8 25 00 08 	sub  %l4, %o0, %l4                             
  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) {
 2022e08:	92 10 00 1c 	mov  %i4, %o1                                  
 2022e0c:	40 00 fb a4 	call  2061c9c <.udiv>                          
 2022e10:	11 00 00 20 	sethi  %hi(0x8000), %o0                        
 2022e14:	80 a5 c0 08 	cmp  %l7, %o0                                  
 2022e18:	08 80 00 06 	bleu  2022e30 <msdos_format+0xa24>             <== ALWAYS TAKEN
 2022e1c:	f4 0f bd e0 	ldub  [ %fp + -544 ], %i2                      
    sectors_per_cluster /= 2;                                         
 2022e20:	af 35 e0 01 	srl  %l7, 1, %l7                               <== NOT EXECUTED
  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) {
 2022e24:	80 a5 c0 08 	cmp  %l7, %o0                                  <== NOT EXECUTED
 2022e28:	38 bf ff ff 	bgu,a   2022e24 <msdos_format+0xa18>           <== NOT EXECUTED
 2022e2c:	af 35 e0 01 	srl  %l7, 1, %l7                               <== 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))) {
 2022e30:	84 1f 60 02 	xor  %i5, 2, %g2                               
 2022e34:	25 00 00 3f 	sethi  %hi(0xfc00), %l2                        
			  + (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)) ||
 2022e38:	80 a0 00 02 	cmp  %g0, %g2                                  
 2022e3c:	b4 0e a0 ff 	and  %i2, 0xff, %i2                            
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
 2022e40:	a4 14 a3 f5 	or  %l2, 0x3f5, %l2                            
      finished = true;                                                
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if ((sectors_per_cluster * bytes_per_sector)                      
 2022e44:	23 00 00 20 	sethi  %hi(0x8000), %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)) ||
 2022e48:	aa 60 3f ff 	subx  %g0, -1, %l5                             
     * 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;        
 2022e4c:	92 10 00 17 	mov  %l7, %o1                                  
 2022e50:	40 00 fb 93 	call  2061c9c <.udiv>                          
 2022e54:	90 10 00 14 	mov  %l4, %o0                                  
    if (fattype == FAT_FAT12) {                                       
 2022e58:	80 a7 60 01 	cmp  %i5, 1                                    
 2022e5c:	02 80 00 6f 	be  2023018 <msdos_format+0xc0c>               <== ALWAYS TAKEN
 2022e60:	ac 10 00 08 	mov  %o0, %l6                                  
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
 2022e64:	80 a7 60 02 	cmp  %i5, 2                                    <== NOT EXECUTED
 2022e68:	02 80 00 7f 	be  2023064 <msdos_format+0xc58>               <== NOT EXECUTED
 2022e6c:	91 2a 20 02 	sll  %o0, 2, %o0                               <== NOT EXECUTED
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
 2022e70:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2022e74:	40 00 fb 8a 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2022e78:	90 02 00 13 	add  %o0, %l3, %o0                             <== NOT EXECUTED
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
			(((sectors_per_fat * fat_num)                                      
 2022e7c:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2022e80:	7f ff 80 39 	call  2002f64 <.umul>                          <== NOT EXECUTED
 2022e84:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
			  + (sectors_per_cluster - 1))                                     
 2022e88:	86 05 ff ff 	add  %l7, -1, %g3                              <== NOT EXECUTED
			 / sectors_per_cluster));                                          
 2022e8c:	92 10 00 17 	mov  %l7, %o1                                  <== NOT EXECUTED
 2022e90:	40 00 fb 83 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2022e94:	90 00 c0 08 	add  %g3, %o0, %o0                             <== NOT EXECUTED
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
 2022e98:	90 25 80 08 	sub  %l6, %o0, %o0                             <== NOT EXECUTED
			  + (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)) ||
 2022e9c:	80 a4 80 08 	cmp  %l2, %o0                                  <== NOT EXECUTED
 2022ea0:	0a 80 00 49 	bcs  2022fc4 <msdos_format+0xbb8>              <== NOT EXECUTED
 2022ea4:	80 a5 60 00 	cmp  %l5, 0                                    <== NOT EXECUTED
      finished = true;                                                
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if ((sectors_per_cluster * bytes_per_sector)                      
 2022ea8:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
 2022eac:	7f ff 80 2e 	call  2002f64 <.umul>                          
 2022eb0:	92 10 00 1c 	mov  %i4, %o1                                  
 2022eb4:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
 2022eb8:	80 a2 00 02 	cmp  %o0, %g2                                  
 2022ebc:	18 80 00 4b 	bgu  2022fe8 <msdos_format+0xbdc>              <== NEVER TAKEN
 2022ec0:	80 a6 60 00 	cmp  %i1, 0                                    
  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;                       
 2022ec4:	f0 27 bd c0 	st  %i0, [ %fp + -576 ]                        
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
 2022ec8:	02 80 00 69 	be  202306c <msdos_format+0xc60>               
 2022ecc:	ee 27 bd bc 	st  %l7, [ %fp + -580 ]                        
	(rqdata->media != 0)) {                                              
 2022ed0:	fa 0e 60 15 	ldub  [ %i1 + 0x15 ], %i5                      
                                                                      
  /*                                                                  
   * determine media code                                             
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata != NULL) &&                                           
 2022ed4:	b8 8f 60 ff 	andcc  %i5, 0xff, %i4                          
 2022ed8:	02 80 00 66 	be  2023070 <msdos_format+0xc64>               <== ALWAYS TAKEN
 2022edc:	82 10 3f f8 	mov  -8, %g1                                   
	(rqdata->media != 0)) {                                              
      const char valid_media_codes[] =                                
 2022ee0:	94 10 20 09 	mov  9, %o2                                    <== NOT EXECUTED
 2022ee4:	90 07 be 00 	add  %fp, -512, %o0                            <== NOT EXECUTED
 2022ee8:	13 00 81 a3 	sethi  %hi(0x2068c00), %o1                     <== NOT EXECUTED
 2022eec:	40 00 a3 c6 	call  204be04 <memcpy>                         <== NOT EXECUTED
 2022ef0:	92 12 63 90 	or  %o1, 0x390, %o1	! 2068f90 <rtems_rtc_shell_usage+0xdb0><== NOT EXECUTED
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
 2022ef4:	90 07 be 00 	add  %fp, -512, %o0                            <== NOT EXECUTED
 2022ef8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2022efc:	40 00 a3 54 	call  204bc4c <memchr>                         <== NOT EXECUTED
 2022f00:	94 10 20 09 	mov  9, %o2                                    <== NOT EXECUTED
 2022f04:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2022f08:	02 80 00 ec 	be  20232b8 <msdos_format+0xeac>               <== NOT EXECUTED
 2022f0c:	01 00 00 00 	nop                                            <== NOT EXECUTED
		       sizeof(valid_media_codes))) {                                
	ret_val = -1;                                                        
	errno = EINVAL;                                                      
      }                                                               
      else {                                                          
	fmt_params->media_code = rqdata->media;                              
 2022f10:	10 bf fd aa 	b  20225b8 <msdos_format+0x1ac>                <== NOT EXECUTED
 2022f14:	fa 2f bd e1 	stb  %i5, [ %fp + -543 ]                       <== NOT EXECUTED
	     (rqdata->fattype == MSDOS_FMT_FAT16)) {                         
      fmt_params->fattype = FAT_FAT16;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
	     (rqdata->fattype == MSDOS_FMT_FAT32)) {                         
      fmt_params->fattype = FAT_FAT32;                                
 2022f18:	82 10 20 04 	mov  4, %g1                                    <== NOT EXECUTED
 2022f1c:	c2 2f bd e2 	stb  %g1, [ %fp + -542 ]                       <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
	(rqdata->sectors_per_cluster > 0)) {                                 
 2022f20:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
      }                                                               
    }                                                                 
    /*                                                                
     * try to use user requested cluster size                         
     */                                                               
    if ((rqdata != NULL) &&                                           
 2022f24:	84 90 60 00 	orcc  %g1, 0, %g2                              
 2022f28:	12 bf ff 71 	bne  2022cec <msdos_format+0x8e0>              <== NEVER TAKEN
 2022f2c:	ba 10 20 80 	mov  0x80, %i5                                 
 2022f30:	c4 07 bd bc 	ld  [ %fp + -580 ], %g2                        
 2022f34:	10 bf ff 6e 	b  2022cec <msdos_format+0x8e0>                
 2022f38:	82 10 00 02 	mov  %g2, %g1                                  
 2022f3c:	a3 30 60 08 	srl  %g1, 8, %l1                               
{                                                                     
  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) {                        
 2022f40:	a4 10 20 00 	clr  %l2                                       
 2022f44:	a6 10 20 00 	clr  %l3                                       
 2022f48:	a8 10 20 00 	clr  %l4                                       
 2022f4c:	10 bf fe 15 	b  20227a0 <msdos_format+0x394>                
 2022f50:	aa 10 20 00 	clr  %l5                                       
      fmt_params->fattype = FAT_FAT32;                                
    }                                                                 
    else if ((rqdata != NULL) &&                                      
	     (rqdata->fattype != MSDOS_FMT_FATANY)) {                        
      ret_val = -1;                                                   
      errno = EINVAL;                                                 
 2022f54:	40 00 96 6d 	call  2048908 <__errno>                        <== NOT EXECUTED
 2022f58:	a0 10 3f ff 	mov  -1, %l0                                   <== NOT EXECUTED
 2022f5c:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 2022f60:	10 bf ff f0 	b  2022f20 <msdos_format+0xb14>                <== NOT EXECUTED
 2022f64:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    FAT_SET_BR_BOOTSIG(mbr           , FAT_BR_BOOTSIG_VAL);           
    FAT_SET_BR_VOLID(mbr             , fmt_params->vol_id); /* volume id */
  memcpy(FAT_GET_ADDR_BR_VOLLAB(mbr),                                 
	 fmt_params->VolLabel,                                               
	 FAT_BR_VOLLAB_SIZE);                                                
    memcpy(FAT_GET_ADDR_BR_FILSYSTYPE(mbr),                           
 2022f68:	03 00 81 a3 	sethi  %hi(0x2068c00), %g1                     
 2022f6c:	10 bf fe 4d 	b  20228a0 <msdos_format+0x494>                
 2022f70:	82 10 62 60 	or  %g1, 0x260, %g1	! 2068e60 <rtems_rtc_shell_usage+0xc80>
      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);      
 2022f74:	c4 0f bd e1 	ldub  [ %fp + -543 ], %g2                      <== NOT EXECUTED
 2022f78:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
 2022f7c:	c4 2f be 00 	stb  %g2, [ %fp + -512 ]                       <== NOT EXECUTED
 2022f80:	c2 2f be 01 	stb  %g1, [ %fp + -511 ]                       <== NOT EXECUTED
 2022f84:	c2 2f be 02 	stb  %g1, [ %fp + -510 ]                       <== NOT EXECUTED
 2022f88:	c2 2f be 03 	stb  %g1, [ %fp + -509 ]                       <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL32(tmp_sec,4,FAT_FAT32_EOC);                         
 2022f8c:	84 10 3f f8 	mov  -8, %g2                                   <== NOT EXECUTED
 2022f90:	c2 2f be 05 	stb  %g1, [ %fp + -507 ]                       <== NOT EXECUTED
 2022f94:	c2 2f be 06 	stb  %g1, [ %fp + -506 ]                       <== NOT EXECUTED
 2022f98:	c4 2f be 04 	stb  %g2, [ %fp + -508 ]                       <== NOT EXECUTED
 2022f9c:	82 10 20 0f 	mov  0xf, %g1                                  <== NOT EXECUTED
 2022fa0:	c2 2f be 07 	stb  %g1, [ %fp + -505 ]                       <== 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);                         
 2022fa4:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
 2022fa8:	84 10 3f f8 	mov  -8, %g2                                   <== NOT EXECUTED
 2022fac:	c2 2f be 09 	stb  %g1, [ %fp + -503 ]                       <== NOT EXECUTED
 2022fb0:	c2 2f be 0a 	stb  %g1, [ %fp + -502 ]                       <== NOT EXECUTED
 2022fb4:	c4 2f be 08 	stb  %g2, [ %fp + -504 ]                       <== NOT EXECUTED
 2022fb8:	82 10 20 0f 	mov  0xf, %g1                                  <== NOT EXECUTED
 2022fbc:	10 bf fe a3 	b  2022a48 <msdos_format+0x63c>                <== NOT EXECUTED
 2022fc0:	c2 2f be 0b 	stb  %g1, [ %fp + -501 ]                       <== NOT EXECUTED
			  + (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)) ||
 2022fc4:	02 bf ff ba 	be  2022eac <msdos_format+0xaa0>               <== NOT EXECUTED
 2022fc8:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
        ((fattype == FAT_FAT16) && (data_cluster_cnt > FAT_FAT16_MAX_CLN))) {
      sectors_per_cluster *= 2;                                       
 2022fcc:	af 2d e0 01 	sll  %l7, 1, %l7                               <== NOT EXECUTED
      finished = true;                                                
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if ((sectors_per_cluster * bytes_per_sector)                      
 2022fd0:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2022fd4:	7f ff 7f e4 	call  2002f64 <.umul>                          <== NOT EXECUTED
 2022fd8:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
 2022fdc:	80 a2 00 11 	cmp  %o0, %l1                                  <== NOT EXECUTED
 2022fe0:	28 bf ff 9c 	bleu,a   2022e50 <msdos_format+0xa44>          <== NOT EXECUTED
 2022fe4:	92 10 00 17 	mov  %l7, %o1                                  <== NOT EXECUTED
      finished = true;                                                
    }                                                                 
  } while (!finished);                                                
                                                                      
  if (ret_val != 0) {                                                 
    rtems_set_errno_and_return_minus_one(ret_val);                    
 2022fe8:	40 00 96 48 	call  2048908 <__errno>                        <== NOT EXECUTED
 2022fec:	a0 10 3f ff 	mov  -1, %l0                                   <== NOT EXECUTED
 2022ff0:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 2022ff4:	c4 07 bd b8 	ld  [ %fp + -584 ], %g2                        <== NOT EXECUTED
 2022ff8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2022ffc:	c2 07 bd cc 	ld  [ %fp + -564 ], %g1                        <== NOT EXECUTED
       fatdata_sect_cnt,                                              
       fmt_params->fat_num,                                           
       fmt_params->sectors_per_cluster,                               
       §ors_per_cluster_adj,                                      
       &(fmt_params->sectors_per_fat));                               
    fmt_params->sectors_per_cluster = sectors_per_cluster_adj;        
 2023000:	c0 27 bd bc 	clr  [ %fp + -580 ]                            <== NOT EXECUTED
 2023004:	c2 27 bd 5c 	st  %g1, [ %fp + -676 ]                        <== NOT EXECUTED
 2023008:	c4 27 bd 58 	st  %g2, [ %fp + -680 ]                        <== NOT EXECUTED
 202300c:	f0 07 bd c0 	ld  [ %fp + -576 ], %i0                        <== NOT EXECUTED
 2023010:	10 bf fd 6a 	b  20225b8 <msdos_format+0x1ac>                <== NOT EXECUTED
 2023014:	f4 0f bd e0 	ldub  [ %fp + -544 ], %i2                      <== NOT EXECUTED
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
 2023018:	92 10 00 1c 	mov  %i4, %o1                                  
     * - compute storage size for FAT                                 
     * - subtract from total cluster count                            
     */                                                               
    fatdata_cluster_cnt = fatdata_sec_cnt/sectors_per_cluster;        
    if (fattype == FAT_FAT12) {                                       
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
 202301c:	91 2a 20 01 	sll  %o0, 1, %o0                               
 2023020:	90 02 00 16 	add  %o0, %l6, %o0                             
 2023024:	91 32 20 01 	srl  %o0, 1, %o0                               
    }                                                                 
    else { /* FAT32 */                                                
      fat_capacity = fatdata_cluster_cnt * 4;                         
    }                                                                 
                                                                      
    sectors_per_fat = ((fat_capacity                                  
 2023028:	40 00 fb 1d 	call  2061c9c <.udiv>                          
 202302c:	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)                                      
 2023030:	92 10 00 1a 	mov  %i2, %o1                                  
 2023034:	7f ff 7f cc 	call  2002f64 <.umul>                          
 2023038:	b0 10 00 08 	mov  %o0, %i0                                  
			  + (sectors_per_cluster - 1))                                     
 202303c:	86 05 ff ff 	add  %l7, -1, %g3                              
			 / sectors_per_cluster));                                          
 2023040:	92 10 00 17 	mov  %l7, %o1                                  
 2023044:	40 00 fb 16 	call  2061c9c <.udiv>                          
 2023048:	90 00 c0 08 	add  %g3, %o0, %o0                             
                                                                      
    sectors_per_fat = ((fat_capacity                                  
			+ (bytes_per_sector - 1))                                          
		       / bytes_per_sector);                                         
                                                                      
    data_cluster_cnt = (fatdata_cluster_cnt -                         
 202304c:	90 25 80 08 	sub  %l6, %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)) ||
 2023050:	80 a2 2f f5 	cmp  %o0, 0xff5                                
 2023054:	38 bf ff df 	bgu,a   2022fd0 <msdos_format+0xbc4>           <== NEVER TAKEN
 2023058:	af 2d e0 01 	sll  %l7, 1, %l7                               <== NOT EXECUTED
      finished = true;                                                
    }                                                                 
    /*                                                                
     * when maximum cluster size is exceeded, we have invalid data, abort...
     */                                                               
    if ((sectors_per_cluster * bytes_per_sector)                      
 202305c:	10 bf ff 94 	b  2022eac <msdos_format+0xaa0>                
 2023060:	90 10 00 17 	mov  %l7, %o0                                  
    fatdata_cluster_cnt = fatdata_sec_cnt/sectors_per_cluster;        
    if (fattype == FAT_FAT12) {                                       
      fat_capacity = fatdata_cluster_cnt * 3 / 2;                     
    }                                                                 
    else if (fattype == FAT_FAT16) {                                  
      fat_capacity = fatdata_cluster_cnt * 2;                         
 2023064:	10 bf ff 83 	b  2022e70 <msdos_format+0xa64>                <== NOT EXECUTED
 2023068:	91 2d a0 01 	sll  %l6, 1, %o0                               <== NOT EXECUTED
      else {                                                          
	fmt_params->media_code = rqdata->media;                              
      }                                                               
    }                                                                 
    else {                                                            
      fmt_params->media_code = FAT_BR_MEDIA_FIXED;                    
 202306c:	82 10 3f f8 	mov  -8, %g1                                   
 2023070:	10 bf fd 52 	b  20225b8 <msdos_format+0x1ac>                
 2023074:	c2 2f bd e1 	stb  %g1, [ %fp + -543 ]                       
    if ((ret_val == 0) &&                                             
        (fmt_params.mbr_copy_sec != 0)) {                             
      /*                                                              
       * write copy of MBR                                            
       */                                                             
      msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,       
 2023078:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 202307c:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     <== NOT EXECUTED
 2023080:	7f ff fc 49 	call  20221a4 <msdos_format_printf>            <== NOT EXECUTED
 2023084:	94 12 a3 38 	or  %o2, 0x338, %o2	! 2068f38 <rtems_rtc_shell_usage+0xd58><== NOT EXECUTED
                           "write back up MRB sector\n");             
      ret_val = msdos_format_write_sec(fd,                            
 2023088:	d2 07 bd d8 	ld  [ %fp + -552 ], %o1                        <== NOT EXECUTED
 202308c:	d4 07 bd b0 	ld  [ %fp + -592 ], %o2                        <== NOT EXECUTED
 2023090:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2023094:	7f ff fc 59 	call  20221f8 <msdos_format_write_sec>         <== NOT EXECUTED
 2023098:	96 07 be 00 	add  %fp, -512, %o3                            <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /*                                                                  
   * for FAT32: initialize info sector on disk                        
   */                                                                 
  if ((ret_val == 0) &&                                               
 202309c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 20230a0:	02 bf fe 23 	be  202292c <msdos_format+0x520>               <== NOT EXECUTED
 20230a4:	fa 07 bd dc 	ld  [ %fp + -548 ], %i5                        <== NOT EXECUTED
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
 20230a8:	10 bf fd 1d 	b  202251c <msdos_format+0x110>                <== NOT EXECUTED
 20230ac:	80 a6 ff ff 	cmp  %i3, -1                                   <== NOT EXECUTED
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->OEMName;                          
      int          cnt;                                               
      from = "RTEMS"; /* default: make "from" point to OS Name */     
 20230b0:	10 bf fd 57 	b  202260c <msdos_format+0x200>                
 20230b4:	88 11 22 b0 	or  %g4, 0x2b0, %g4                            
   */                                                                 
  if (ret_val == 0) {                                                 
      const char *from;                                               
      char        *to = fmt_params->VolLabel;                         
      int          cnt;                                               
      from = ""; /* default: make "from" point to empty string */     
 20230b8:	10 bf fd 75 	b  202268c <msdos_format+0x280>                
 20230bc:	88 11 22 e0 	or  %g4, 0x2e0, %g4                            
      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);                  
 20230c0:	c4 0f bd e1 	ldub  [ %fp + -543 ], %g2                      <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
 20230c4:	82 10 3f ff 	mov  -1, %g1                                   <== 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);                  
 20230c8:	c4 2f be 00 	stb  %g2, [ %fp + -512 ]                       <== NOT EXECUTED
      FAT_SET_VAL8(tmp_sec,1,0xff);                                   
 20230cc:	c2 2f be 01 	stb  %g1, [ %fp + -511 ]                       <== NOT EXECUTED
      /* FAT entry 1: EOC */                                          
      FAT_SET_VAL16(tmp_sec,2,FAT_FAT16_EOC);                         
 20230d0:	84 10 3f f8 	mov  -8, %g2                                   <== NOT EXECUTED
 20230d4:	c2 2f be 03 	stb  %g1, [ %fp + -509 ]                       <== NOT EXECUTED
 20230d8:	c4 2f be 02 	stb  %g2, [ %fp + -510 ]                       <== NOT EXECUTED
       * 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;                                                       
 20230dc:	c2 0f bd e0 	ldub  [ %fp + -544 ], %g1                      
 20230e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20230e4:	12 bf fe 60 	bne  2022a64 <msdos_format+0x658>              <== ALWAYS TAKEN
 20230e8:	d0 07 bd c0 	ld  [ %fp + -576 ], %o0                        
  /*                                                                  
   * cleanup:                                                         
   * sync and unlock disk                                             
   * free any data structures (not needed now)                        
   */                                                                 
  if (fd != -1) {                                                     
 20230ec:	10 bf fd 0c 	b  202251c <msdos_format+0x110>                <== NOT EXECUTED
 20230f0:	80 a6 ff ff 	cmp  %i3, -1                                   <== NOT EXECUTED
    memset(tmp_sec,0,sizeof(tmp_sec));                                
                                                                      
    switch(fmt_params.fattype) {                                      
    case FAT_FAT12:                                                   
      /* LSBits of FAT entry 0: media_type */                         
      FAT_SET_VAL8(tmp_sec,0,(fmt_params.media_code));                
 20230f4:	c2 2f be 00 	stb  %g1, [ %fp + -512 ]                       
      /* 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)));          
 20230f8:	82 10 3f 8f 	mov  -113, %g1                                 
 20230fc:	c2 2f be 01 	stb  %g1, [ %fp + -511 ]                       
      /* MSBits of FAT entry 1: MSBits of EOC */                      
      FAT_SET_VAL8(tmp_sec,2,(FAT_FAT12_EOC >> 4));                   
 2023100:	82 10 3f ff 	mov  -1, %g1                                   
      break;                                                          
 2023104:	10 bf ff f6 	b  20230dc <msdos_format+0xcd0>                
 2023108:	c2 2f be 02 	stb  %g1, [ %fp + -510 ]                       
  rc = rtems_clock_get_tod_timeval(&time_value);                      
  if (rc == RTEMS_SUCCESSFUL) {                                       
    *volid_ptr = time_value.tv_sec + time_value.tv_sec;               
  }                                                                   
  else {                                                              
    *volid_ptr = rand();                                              
 202310c:	40 00 ab 21 	call  204dd90 <rand>                           
 2023110:	01 00 00 00 	nop                                            
 2023114:	10 bf fd 7b 	b  2022700 <msdos_format+0x2f4>                
 2023118:	d0 27 bd fc 	st  %o0, [ %fp + -516 ]                        
        fmt_params->fattype = FAT_FAT12;                              
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else if (fmt_params->totl_sector_cnt                            
               < FAT_FAT16_MAX_CLN * fat16_sect_per_clust) {          
 202311c:	89 28 60 0e 	sll  %g1, 0xe, %g4                             <== NOT EXECUTED
 2023120:	86 21 00 03 	sub  %g4, %g3, %g3                             <== NOT EXECUTED
 2023124:	86 00 c0 01 	add  %g3, %g1, %g3                             <== NOT EXECUTED
 2023128:	87 28 e0 02 	sll  %g3, 2, %g3                               <== NOT EXECUTED
 202312c:	82 00 c0 01 	add  %g3, %g1, %g1                             <== NOT EXECUTED
          < FAT_FAT12_MAX_CLN * fat12_sect_per_clust) {               
        fmt_params->fattype = FAT_FAT12;                              
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else if (fmt_params->totl_sector_cnt                            
 2023130:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2023134:	1a 80 00 4c 	bcc  2023264 <msdos_format+0xe58>              <== NOT EXECUTED
 2023138:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
               < FAT_FAT16_MAX_CLN * fat16_sect_per_clust) {          
        fmt_params->fattype = FAT_FAT16;                              
 202313c:	82 10 20 02 	mov  2, %g1                                    <== NOT EXECUTED
 2023140:	c2 2f bd e2 	stb  %g1, [ %fp + -542 ]                       <== NOT EXECUTED
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
 2023144:	82 10 20 02 	mov  2, %g1                                    <== NOT EXECUTED
 2023148:	10 bf fe e3 	b  2022cd4 <msdos_format+0x8c8>                <== NOT EXECUTED
 202314c:	c2 27 bd bc 	st  %g1, [ %fp + -580 ]                        <== NOT EXECUTED
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
                         "sectors per cluster: %d\n", fmt_params->sectors_per_cluster);
                                                                      
    if (fmt_params->fattype == FAT_FAT32) {                           
      /* recommended: for FAT32, always set reserved sector count to 32 */
      fmt_params->rsvd_sector_cnt = 32;                               
 2023150:	82 10 20 20 	mov  0x20, %g1                                 <== NOT EXECUTED
 2023154:	c2 27 bd b8 	st  %g1, [ %fp + -584 ]                        <== 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;                                   
 2023158:	82 10 20 06 	mov  6, %g1                                    <== NOT EXECUTED
 202315c:	c2 27 bd d8 	st  %g1, [ %fp + -552 ]                        <== NOT EXECUTED
      /* location of fsinfo sector */                                 
      fmt_params->fsinfo_sec = 1;                                     
 2023160:	82 10 20 01 	mov  1, %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;                             
 2023164:	c0 27 bd c8 	clr  [ %fp + -568 ]                            <== NOT EXECUTED
      /* location of copy of MBR */                                   
      fmt_params->mbr_copy_sec = 6;                                   
      /* location of fsinfo sector */                                 
      fmt_params->fsinfo_sec = 1;                                     
 2023168:	c2 27 bd dc 	st  %g1, [ %fp + -548 ]                        <== NOT EXECUTED
 202316c:	f8 07 bd b0 	ld  [ %fp + -592 ], %i4                        <== NOT EXECUTED
 2023170:	82 10 20 20 	mov  0x20, %g1                                 <== NOT EXECUTED
 2023174:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2023178:	10 bf ff 19 	b  2022ddc <msdos_format+0x9d0>                <== NOT EXECUTED
 202317c:	c2 27 bd 58 	st  %g1, [ %fp + -680 ]                        <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
 2023180:	c2 07 bd c0 	ld  [ %fp + -576 ], %g1                        <== 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 */
 2023184:	c4 07 bd d8 	ld  [ %fp + -552 ], %g2                        <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
 2023188:	b9 30 60 08 	srl  %g1, 8, %i4                               <== NOT EXECUTED
 202318c:	bb 30 60 10 	srl  %g1, 0x10, %i5                            <== NOT EXECUTED
 2023190:	89 30 60 18 	srl  %g1, 0x18, %g4                            <== NOT EXECUTED
 2023194:	c2 2f be 24 	stb  %g1, [ %fp + -476 ]                       <== 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);      
 2023198:	82 10 20 29 	mov  0x29, %g1                                 <== NOT EXECUTED
 202319c:	c2 2f be 42 	stb  %g1, [ %fp + -446 ]                       <== NOT EXECUTED
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
 20231a0:	03 00 00 11 	sethi  %hi(0x4400), %g1                        <== NOT EXECUTED
 20231a4:	82 10 62 41 	or  %g1, 0x241, %g1	! 4641 <PROM_START+0x4641> <== NOT EXECUTED
 20231a8:	c2 37 be 52 	sth  %g1, [ %fp + -430 ]                       <== NOT EXECUTED
 20231ac:	03 00 00 15 	sethi  %hi(0x5400), %g1                        <== NOT EXECUTED
 20231b0:	82 10 60 33 	or  %g1, 0x33, %g1	! 5433 <PROM_START+0x5433>  <== NOT EXECUTED
 20231b4:	c2 37 be 54 	sth  %g1, [ %fp + -428 ]                       <== NOT EXECUTED
 20231b8:	03 00 00 0c 	sethi  %hi(0x3000), %g1                        <== NOT EXECUTED
 20231bc:	82 10 62 20 	or  %g1, 0x220, %g1	! 3220 <PROM_START+0x3220> <== NOT EXECUTED
    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 */
    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 */
 20231c0:	87 30 a0 08 	srl  %g2, 8, %g3                               <== 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);      
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
 20231c4:	c2 37 be 56 	sth  %g1, [ %fp + -426 ]                       <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
 20231c8:	f8 2f be 25 	stb  %i4, [ %fp + -475 ]                       <== 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);      
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
 20231cc:	03 00 00 08 	sethi  %hi(0x2000), %g1                        <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
 20231d0:	fa 2f be 26 	stb  %i5, [ %fp + -474 ]                       <== 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);      
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
 20231d4:	82 10 60 20 	or  %g1, 0x20, %g1                             <== NOT EXECUTED
	   ? "FAT12   "                                                      
	   : "FAT16   ",                                                     
	   FAT_BR_FILSYSTYPE_SIZE);                                          
  }                                                                   
  else {                                                              
    FAT_SET_BR_SECTORS_PER_FAT32(mbr   ,fmt_params->sectors_per_fat); 
 20231d8:	c8 2f be 27 	stb  %g4, [ %fp + -473 ]                       <== 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 */
 20231dc:	f0 2f be 2c 	stb  %i0, [ %fp + -468 ]                       <== NOT EXECUTED
    FAT_SET_BR_FAT32_FS_INFO_SECTOR(mbr, 1); /* Put fsinfo  to rsrvd sec 1*/
 20231e0:	f4 2f be 30 	stb  %i2, [ %fp + -464 ]                       <== NOT EXECUTED
    FAT_SET_BR_FAT32_BK_BOOT_SECTOR(mbr, fmt_params->mbr_copy_sec ); /* Put MBR copy to rsrvd sec */
 20231e4:	c4 2f be 32 	stb  %g2, [ %fp + -462 ]                       <== NOT EXECUTED
 20231e8:	c6 2f be 33 	stb  %g3, [ %fp + -461 ]                       <== NOT EXECUTED
    memset(FAT_GET_ADDR_BR_FAT32_RESERVED(mbr),0,FAT_BR_FAT32_RESERVED_SIZE);
 20231ec:	c0 27 be 34 	clr  [ %fp + -460 ]                            <== NOT EXECUTED
 20231f0:	c0 27 be 38 	clr  [ %fp + -456 ]                            <== NOT EXECUTED
 20231f4:	c0 27 be 3c 	clr  [ %fp + -452 ]                            <== 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);      
    FAT_SET_BR_FAT32_VOLID(mbr       , 0); /* not set */              
    memset(FAT_GET_ADDR_BR_FAT32_VOLLAB(mbr)   ,0,FAT_BR_VOLLAB_SIZE);
 20231f8:	c0 2f be 47 	clrb  [ %fp + -441 ]                           <== NOT EXECUTED
 20231fc:	c0 2f be 48 	clrb  [ %fp + -440 ]                           <== NOT EXECUTED
 2023200:	c0 2f be 49 	clrb  [ %fp + -439 ]                           <== NOT EXECUTED
 2023204:	c0 2f be 4a 	clrb  [ %fp + -438 ]                           <== NOT EXECUTED
 2023208:	c0 2f be 4b 	clrb  [ %fp + -437 ]                           <== NOT EXECUTED
 202320c:	c0 2f be 4c 	clrb  [ %fp + -436 ]                           <== NOT EXECUTED
 2023210:	c0 2f be 4d 	clrb  [ %fp + -435 ]                           <== NOT EXECUTED
 2023214:	c0 2f be 4e 	clrb  [ %fp + -434 ]                           <== NOT EXECUTED
 2023218:	c0 2f be 4f 	clrb  [ %fp + -433 ]                           <== NOT EXECUTED
 202321c:	c0 2f be 50 	clrb  [ %fp + -432 ]                           <== NOT EXECUTED
 2023220:	c0 2f be 51 	clrb  [ %fp + -431 ]                           <== NOT EXECUTED
    memcpy(FAT_GET_ADDR_BR_FAT32_FILSYSTYPE(mbr),                     
 2023224:	10 bf fd a7 	b  20228c0 <msdos_format+0x4b4>                <== NOT EXECUTED
 2023228:	c2 37 be 58 	sth  %g1, [ %fp + -424 ]                       <== 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           
       */                                                             
      uint32_t fat12_sect_per_clust = 8;                              
      uint32_t fat16_sect_per_clust = 32;                             
 202322c:	82 10 20 20 	mov  0x20, %g1                                 
                                                                      
      if (rqdata != NULL && rqdata->sectors_per_cluster != 0) {       
 2023230:	10 bf fe a1 	b  2022cb4 <msdos_format+0x8a8>                
 2023234:	86 10 e3 a8 	or  %g3, 0x3a8, %g3                            
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 2023238:	90 10 20 00 	clr  %o0                                       
   * determine number of FATs                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    if ((rqdata == NULL) ||                                           
	(rqdata->fat_num == 0)) {                                            
      fmt_params->fat_num = 2;                                        
 202323c:	c2 2f bd e0 	stb  %g1, [ %fp + -544 ]                       
      ret_val = EINVAL;                                               
    }                                                                 
  }                                                                   
                                                                      
  if (ret_val == 0)                                                   
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,         
 2023240:	92 10 20 02 	mov  2, %o1                                    
 2023244:	96 10 20 02 	mov  2, %o3                                    
 2023248:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 202324c:	7f ff fb d6 	call  20221a4 <msdos_format_printf>            
 2023250:	94 12 a2 d0 	or  %o2, 0x2d0, %o2	! 2068ed0 <rtems_rtc_shell_usage+0xcf0>
  /*                                                                  
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
 2023254:	07 00 00 1f 	sethi  %hi(0x7c00), %g3                        
       * 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           
       */                                                             
      uint32_t fat12_sect_per_clust = 8;                              
      uint32_t fat16_sect_per_clust = 32;                             
 2023258:	82 10 20 20 	mov  0x20, %g1                                 
  /*                                                                  
   * determine FAT type and sectors per cluster                       
   * depends on                                                       
   */                                                                 
  if (ret_val == 0) {                                                 
    fmt_params->sectors_per_cluster = 1;                              
 202325c:	10 bf fe 96 	b  2022cb4 <msdos_format+0x8a8>                
 2023260:	86 10 e3 a8 	or  %g3, 0x3a8, %g3                            
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
 2023264:	07 10 00 00 	sethi  %hi(0x40000000), %g3                    <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
 2023268:	82 10 20 04 	mov  4, %g1                                    <== NOT EXECUTED
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
 202326c:	ba 87 40 03 	addcc  %i5, %g3, %i5                           <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
 2023270:	c2 2f bd e2 	stb  %g1, [ %fp + -542 ]                       <== NOT EXECUTED
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
 2023274:	b8 47 00 02 	addx  %i4, %g2, %i4                            <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
 2023278:	82 10 20 1f 	mov  0x1f, %g1                                 <== NOT EXECUTED
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
 202327c:	89 2f 20 02 	sll  %i4, 2, %g4                               <== NOT EXECUTED
 2023280:	85 37 60 1e 	srl  %i5, 0x1e, %g2                            <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
          if ((gigs & (1 << b)) != 0)                                 
 2023284:	86 10 20 01 	mov  1, %g3                                    <== NOT EXECUTED
        /* start trying with small clusters */                        
        fmt_params->sectors_per_cluster = 2;                          
      }                                                               
      else {                                                          
        #define ONE_GB (1024L * 1024L * 1024L)                        
        uint32_t gigs = (total_size + ONE_GB) / ONE_GB;               
 2023288:	10 80 00 04 	b  2023298 <msdos_format+0xe8c>                <== NOT EXECUTED
 202328c:	88 11 00 02 	or  %g4, %g2, %g4                              <== NOT EXECUTED
        int b;                                                        
        fmt_params->fattype = FAT_FAT32;                              
        /* scale with the size of disk... */                          
        for (b = 31; b > 0; b--)                                      
 2023290:	02 80 00 08 	be  20232b0 <msdos_format+0xea4>               <== NOT EXECUTED
 2023294:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
          if ((gigs & (1 << b)) != 0)                                 
 2023298:	85 28 c0 01 	sll  %g3, %g1, %g2                             <== NOT EXECUTED
 202329c:	80 88 80 04 	btst  %g2, %g4                                 <== NOT EXECUTED
 20232a0:	22 bf ff fc 	be,a   2023290 <msdos_format+0xe84>            <== NOT EXECUTED
 20232a4:	82 80 7f ff 	addcc  %g1, -1, %g1                            <== NOT EXECUTED
            break;                                                    
        fmt_params->sectors_per_cluster = 1 << b;                     
 20232a8:	10 bf fe 8b 	b  2022cd4 <msdos_format+0x8c8>                <== NOT EXECUTED
 20232ac:	c4 27 bd bc 	st  %g2, [ %fp + -580 ]                        <== NOT EXECUTED
 20232b0:	10 bf fe 89 	b  2022cd4 <msdos_format+0x8c8>                <== NOT EXECUTED
 20232b4:	c4 27 bd bc 	st  %g2, [ %fp + -580 ]                        <== NOT EXECUTED
	{0xF0,0xF8,0xF9,0xFA,0xFB,0xFC,0xFD,0xFE,0xFF};                      
      if (NULL==memchr(valid_media_codes,                             
		       rqdata->media,                                               
		       sizeof(valid_media_codes))) {                                
	ret_val = -1;                                                        
	errno = EINVAL;                                                      
 20232b8:	40 00 95 94 	call  2048908 <__errno>                        <== NOT EXECUTED
 20232bc:	a0 10 3f ff 	mov  -1, %l0                                   <== NOT EXECUTED
 20232c0:	c2 07 bd cc 	ld  [ %fp + -564 ], %g1                        <== NOT EXECUTED
 20232c4:	c4 07 bd b8 	ld  [ %fp + -584 ], %g2                        <== NOT EXECUTED
 20232c8:	c2 27 bd 5c 	st  %g1, [ %fp + -676 ]                        <== NOT EXECUTED
 20232cc:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 20232d0:	c4 27 bd 58 	st  %g2, [ %fp + -680 ]                        <== NOT EXECUTED
 20232d4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20232d8:	f0 07 bd c0 	ld  [ %fp + -576 ], %i0                        <== NOT EXECUTED
 20232dc:	10 bf fc b7 	b  20225b8 <msdos_format+0x1ac>                <== NOT EXECUTED
 20232e0:	f4 0f bd e0 	ldub  [ %fp + -544 ], %i2                      <== NOT EXECUTED
 20232e4:	10 bf fe 9b 	b  2022d50 <msdos_format+0x944>                <== NOT EXECUTED
 20232e8:	c4 27 bd bc 	st  %g2, [ %fp + -580 ]                        <== NOT EXECUTED
                                                                      

02022258 <msdos_format_fill_sectors>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
 2022258:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
 202225c:	90 10 00 1c 	mov  %i4, %o0                                  
 2022260:	7f ff 9d 95 	call  20098b4 <malloc>                         
 2022264:	a6 10 00 18 	mov  %i0, %l3                                  
    if (fill_buffer == NULL) {                                        
 2022268:	80 a2 20 00 	cmp  %o0, 0                                    
 202226c:	02 80 00 47 	be  2022388 <msdos_format_fill_sectors+0x130>  <== NEVER TAKEN
 2022270:	a4 10 00 08 	mov  %o0, %l2                                  
      errno = ENOMEM;                                                 
      ret_val = -1;                                                   
    }                                                                 
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
 2022274:	92 10 00 1d 	mov  %i5, %o1                                  
 2022278:	40 00 a7 72 	call  204c040 <memset>                         
 202227c:	94 10 00 1c 	mov  %i4, %o2                                  
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
 2022280:	90 10 00 18 	mov  %i0, %o0                                  
 2022284:	92 10 20 02 	mov  2, %o1                                    
 2022288:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     
 202228c:	7f ff ff c6 	call  20221a4 <msdos_format_printf>            
 2022290:	94 12 a2 30 	or  %o2, 0x230, %o2	! 2068e30 <rtems_rtc_shell_usage+0xc50>
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
 2022294:	80 a6 e0 00 	cmp  %i3, 0                                    
 2022298:	02 80 00 56 	be  20223f0 <msdos_format_fill_sectors+0x198>  <== NEVER TAKEN
 202229c:	83 2e e0 04 	sll  %i3, 4, %g1                               
 20222a0:	bb 2e e0 02 	sll  %i3, 2, %i5                               
	 (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, ".");
 20222a4:	29 00 81 9b 	sethi  %hi(0x2066c00), %l4                     
 20222a8:	ba 07 40 01 	add  %i5, %g1, %i5                             
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
 20222ac:	a0 10 00 1b 	mov  %i3, %l0                                  
 20222b0:	83 2f 60 02 	sll  %i5, 2, %g1                               
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
  char *fill_buffer = NULL;                                           
  uint32_t total_sectors = sector_cnt;                                
  int last_percent = -1;                                              
 20222b4:	a2 10 3f ff 	mov  -1, %l1                                   
 20222b8:	ba 07 40 01 	add  %i5, %g1, %i5                             
  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, ".");
 20222bc:	10 80 00 10 	b  20222fc <msdos_format_fill_sectors+0xa4>    
 20222c0:	a8 15 23 e0 	or  %l4, 0x3e0, %l4                            
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
 20222c4:	92 10 00 1a 	mov  %i2, %o1                                  
 20222c8:	90 10 00 19 	mov  %i1, %o0                                  
 20222cc:	94 10 00 1c 	mov  %i4, %o2                                  
 20222d0:	96 10 00 12 	mov  %l2, %o3                                  
 20222d4:	7f ff ff c9 	call  20221f8 <msdos_format_write_sec>         
 20222d8:	a0 04 3f ff 	add  %l0, -1, %l0                              
    start_sector++;                                                   
 20222dc:	b4 06 a0 01 	inc  %i2                                       
    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);
 20222e0:	b0 10 00 08 	mov  %o0, %i0                                  
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
 20222e4:	80 a2 20 00 	cmp  %o0, 0                                    
 20222e8:	12 80 00 1c 	bne  2022358 <msdos_format_fill_sectors+0x100> <== NEVER TAKEN
 20222ec:	ba 07 7f 9c 	add  %i5, -100, %i5                            
 20222f0:	80 a4 20 00 	cmp  %l0, 0                                    
 20222f4:	02 80 00 1a 	be  202235c <msdos_format_fill_sectors+0x104>  
 20222f8:	90 10 00 13 	mov  %l3, %o0                                  
	 (sector_cnt > 0)) {                                                 
    int percent = (sector_cnt * 100) / total_sectors;                 
 20222fc:	92 10 00 1b 	mov  %i3, %o1                                  
 2022300:	40 00 fe 67 	call  2061c9c <.udiv>                          
 2022304:	90 10 00 1d 	mov  %i5, %o0                                  
    if (percent != last_percent) {                                    
 2022308:	80 a2 00 11 	cmp  %o0, %l1                                  
 202230c:	02 bf ff ee 	be  20222c4 <msdos_format_fill_sectors+0x6c>   
 2022310:	80 8a 20 01 	btst  1, %o0                                   
      if ((percent & 1) == 0)                                         
 2022314:	12 bf ff ec 	bne  20222c4 <msdos_format_fill_sectors+0x6c>  
 2022318:	a2 10 00 08 	mov  %o0, %l1                                  
        msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL, ".");
 202231c:	90 10 00 13 	mov  %l3, %o0                                  
 2022320:	92 10 20 02 	mov  2, %o1                                    
 2022324:	7f ff ff a0 	call  20221a4 <msdos_format_printf>            
 2022328:	94 10 00 14 	mov  %l4, %o2                                  
      last_percent = percent;                                         
    }                                                                 
    ret_val = msdos_format_write_sec(fd,start_sector,sector_size,fill_buffer);
 202232c:	92 10 00 1a 	mov  %i2, %o1                                  
 2022330:	90 10 00 19 	mov  %i1, %o0                                  
 2022334:	94 10 00 1c 	mov  %i4, %o2                                  
 2022338:	96 10 00 12 	mov  %l2, %o3                                  
 202233c:	7f ff ff af 	call  20221f8 <msdos_format_write_sec>         
 2022340:	a0 04 3f ff 	add  %l0, -1, %l0                              
    start_sector++;                                                   
 2022344:	b4 06 a0 01 	inc  %i2                                       
    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);
 2022348:	b0 10 00 08 	mov  %o0, %i0                                  
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
                       "Filling : ");                                 
  /*                                                                  
   * write to consecutive sectors                                     
   */                                                                 
  while ((ret_val == 0) &&                                            
 202234c:	80 a2 20 00 	cmp  %o0, 0                                    
 2022350:	02 bf ff e8 	be  20222f0 <msdos_format_fill_sectors+0x98>   <== ALWAYS TAKEN
 2022354:	ba 07 7f 9c 	add  %i5, -100, %i5                            
    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");    
 2022358:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
 202235c:	92 10 20 02 	mov  2, %o1                                    
 2022360:	15 00 81 b0 	sethi  %hi(0x206c000), %o2                     
 2022364:	7f ff ff 90 	call  20221a4 <msdos_format_printf>            
 2022368:	94 12 a2 e8 	or  %o2, 0x2e8, %o2	! 206c2e8 <e2a_32V+0x810>  
                                                                      
  if (ret_val)                                                        
 202236c:	80 a6 20 00 	cmp  %i0, 0                                    
 2022370:	12 80 00 16 	bne  20223c8 <msdos_format_fill_sectors+0x170> <== NEVER TAKEN
 2022374:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
  /*                                                                  
   * cleanup                                                          
   */                                                                 
  if (fill_buffer != NULL) {                                          
    free(fill_buffer);                                                
 2022378:	7f ff 9b e5 	call  200930c <free>                           
 202237c:	90 10 00 12 	mov  %l2, %o0                                  
 2022380:	81 c7 e0 08 	ret                                            
 2022384:	81 e8 00 00 	restore                                        
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
    if (fill_buffer == NULL) {                                        
      errno = ENOMEM;                                                 
 2022388:	40 00 99 60 	call  2048908 <__errno>                        <== NOT EXECUTED
 202238c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2022390:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             <== NOT EXECUTED
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
 2022394:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
   * allocate and fill buffer                                         
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
    if (fill_buffer == NULL) {                                        
      errno = ENOMEM;                                                 
 2022398:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    else {                                                            
      memset(fill_buffer,fill_byte,sector_size);                      
    }                                                                 
  }                                                                   
                                                                      
  msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_DETAIL,           
 202239c:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     <== NOT EXECUTED
 20223a0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20223a4:	7f ff ff 80 	call  20221a4 <msdos_format_printf>            <== NOT EXECUTED
 20223a8:	94 12 a2 30 	or  %o2, 0x230, %o2                            <== NOT EXECUTED
    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");    
 20223ac:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20223b0:	15 00 81 b0 	sethi  %hi(0x206c000), %o2                     <== NOT EXECUTED
 20223b4:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
   */                                                                 
  if (ret_val == 0) {                                                 
    fill_buffer = malloc(sector_size);                                
    if (fill_buffer == NULL) {                                        
      errno = ENOMEM;                                                 
      ret_val = -1;                                                   
 20223b8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    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");    
 20223bc:	7f ff ff 7a 	call  20221a4 <msdos_format_printf>            <== NOT EXECUTED
 20223c0:	94 12 a2 e8 	or  %o2, 0x2e8, %o2                            <== NOT EXECUTED
                                                                      
  if (ret_val)                                                        
    msdos_format_printf (rqdata, MSDOS_FMT_INFO_LEVEL_INFO,           
 20223c4:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
 20223c8:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 20223cc:	96 10 00 1a 	mov  %i2, %o3                                  <== NOT EXECUTED
 20223d0:	15 00 81 a3 	sethi  %hi(0x2068c00), %o2                     <== NOT EXECUTED
 20223d4:	7f ff ff 74 	call  20221a4 <msdos_format_printf>            <== NOT EXECUTED
 20223d8:	94 12 a2 40 	or  %o2, 0x240, %o2	! 2068e40 <rtems_rtc_shell_usage+0xc60><== NOT EXECUTED
                         "filling error on sector: %d\n", start_sector);
                                                                      
  /*                                                                  
   * cleanup                                                          
   */                                                                 
  if (fill_buffer != NULL) {                                          
 20223dc:	80 a4 a0 00 	cmp  %l2, 0                                    <== NOT EXECUTED
 20223e0:	12 bf ff e6 	bne  2022378 <msdos_format_fill_sectors+0x120> <== NOT EXECUTED
 20223e4:	01 00 00 00 	nop                                            <== NOT EXECUTED
    free(fill_buffer);                                                
    fill_buffer = NULL;                                               
  }                                                                   
  return ret_val;                                                     
}                                                                     
 20223e8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20223ec:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    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");    
 20223f0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20223f4:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
/*-------------------------------------------------------------------------*\
| Return Value:                                                             |
|    0, if success, -1 and errno if failed                                  |
\*=========================================================================*/
{                                                                     
  int ret_val = 0;                                                    
 20223f8:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    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");    
 20223fc:	15 00 81 b0 	sethi  %hi(0x206c000), %o2                     <== NOT EXECUTED
 2022400:	7f ff ff 69 	call  20221a4 <msdos_format_printf>            <== NOT EXECUTED
 2022404:	94 12 a2 e8 	or  %o2, 0x2e8, %o2	! 206c2e8 <e2a_32V+0x810>  <== NOT EXECUTED
 2022408:	30 bf ff dc 	b,a   2022378 <msdos_format_fill_sectors+0x120><== NOT EXECUTED
                                                                      

020221a4 <msdos_format_printf>: */ static void msdos_format_printf (const msdos_format_request_param_t *rqdata, int info_level, const char *format, ...) {
 20221a4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  va_list args;                                                       
  va_start (args, format);                                            
 20221a8:	94 07 a0 50 	add  %fp, 0x50, %o2                            
 20221ac:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 20221b0:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 20221b4:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
  if (rqdata != NULL && rqdata->info_level >= info_level)             
 20221b8:	80 a6 20 00 	cmp  %i0, 0                                    
 20221bc:	02 80 00 0d 	be  20221f0 <msdos_format_printf+0x4c>         
 20221c0:	d4 27 bf fc 	st  %o2, [ %fp + -4 ]                          
 20221c4:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 20221c8:	80 a0 40 19 	cmp  %g1, %i1                                  
 20221cc:	06 80 00 09 	bl  20221f0 <msdos_format_printf+0x4c>         <== ALWAYS TAKEN
 20221d0:	3b 00 81 c9 	sethi  %hi(0x2072400), %i5                     
  {                                                                   
    vfprintf (stdout, format, args);                                  
 20221d4:	c2 07 60 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
 20221d8:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 20221dc:	40 00 dd a7 	call  2059878 <vfprintf>                       <== NOT EXECUTED
 20221e0:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
    fflush (stdout);                                                  
 20221e4:	c2 07 60 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
 20221e8:	40 00 9a cb 	call  2048d14 <fflush>                         <== NOT EXECUTED
 20221ec:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
 20221f0:	81 c7 e0 08 	ret                                            
 20221f4:	81 e8 00 00 	restore                                        
                                                                      

020221f8 <msdos_format_write_sec>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
 20221f8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int ret_val = 0;                                                    
                                                                      
  if (0 > lseek(fd,((off_t)start_sector)*sector_size,SEEK_SET)) {     
 20221fc:	94 10 20 00 	clr  %o2                                       
 2022200:	96 10 00 1a 	mov  %i2, %o3                                  
 2022204:	90 10 20 00 	clr  %o0                                       
 2022208:	40 00 ff fd 	call  20621fc <__muldi3>                       
 202220c:	92 10 00 19 	mov  %i1, %o1                                  
 2022210:	84 10 00 08 	mov  %o0, %g2                                  
 2022214:	86 10 00 09 	mov  %o1, %g3                                  
 2022218:	90 10 00 18 	mov  %i0, %o0                                  
 202221c:	92 10 00 02 	mov  %g2, %o1                                  
 2022220:	94 10 00 03 	mov  %g3, %o2                                  
 2022224:	40 00 29 5b 	call  202c790 <lseek>                          
 2022228:	96 10 20 00 	clr  %o3                                       
 202222c:	80 a2 20 00 	cmp  %o0, 0                                    
 2022230:	16 80 00 04 	bge  2022240 <msdos_format_write_sec+0x48>     <== ALWAYS TAKEN
 2022234:	90 10 00 18 	mov  %i0, %o0                                  
 2022238:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202223c:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
    ret_val = -1;                                                     
  }                                                                   
  if (ret_val == 0) {                                                 
    if (0 > write(fd,buffer,sector_size)) {                           
 2022240:	92 10 00 1b 	mov  %i3, %o1                                  
 2022244:	7f ff ad 47 	call  200d760 <write>                          
 2022248:	94 10 00 1a 	mov  %i2, %o2                                  
 202224c:	b1 3a 20 1f 	sra  %o0, 0x1f, %i0                            
      ret_val = -1;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return ret_val;                                                     
}                                                                     
 2022250:	81 c7 e0 08 	ret                                            
 2022254:	81 e8 00 00 	restore                                        
                                                                      

0203ae54 <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 ) {
 203ae54:	9d e3 bf 50 	save  %sp, -176, %sp                           
    int              rc = RC_OK;                                      
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
 203ae58:	f8 06 20 08 	ld  [ %i0 + 8 ], %i4                           
    fat_file_fd_t   *fat_fd = NULL;                                   
 203ae5c:	c0 27 bf bc 	clr  [ %fp + -68 ]                             
    uint32_t         cl4find = 0;                                     
                                                                      
    /*                                                                
     * open fat-file corresponded to ".."                             
     */                                                               
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
 203ae60:	90 10 00 1c 	mov  %i4, %o0                                  
 203ae64:	92 10 00 1a 	mov  %i2, %o1                                  
 203ae68:	7f ff b7 62 	call  2028bf0 <fat_file_open>                  
 203ae6c:	94 07 bf bc 	add  %fp, -68, %o2                             
    if (rc != RC_OK)                                                  
 203ae70:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203ae74:	02 80 00 04 	be  203ae84 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x30><== ALWAYS TAKEN
 203ae78:	d2 07 bf bc 	ld  [ %fp + -68 ], %o1                         
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(&fs_info->fat, fat_fd);                       
    return rc;                                                        
}                                                                     
 203ae7c:	81 c7 e0 08 	ret                                            
 203ae80:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 203ae84:	05 00 08 00 	sethi  %hi(0x200000), %g2                      
     */                                                               
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
    if (rc != RC_OK)                                                  
        return rc;                                                    
                                                                      
    fat_fd->cln = cln;                                                
 203ae88:	f2 22 60 1c 	st  %i1, [ %o1 + 0x1c ]                        
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
 203ae8c:	c0 22 60 10 	clr  [ %o1 + 0x10 ]                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 203ae90:	c4 22 60 14 	st  %g2, [ %o1 + 0x14 ]                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
 203ae94:	c0 22 60 34 	clr  [ %o1 + 0x34 ]                            
    fat_fd->map.disk_cln = fat_fd->cln;                               
 203ae98:	f2 22 60 38 	st  %i1, [ %o1 + 0x38 ]                        
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
 203ae9c:	7f ff ba 9c 	call  202990c <fat_file_size>                  
 203aea0:	90 10 00 1c 	mov  %i4, %o0                                  
    if (rc != RC_OK)                                                  
 203aea4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203aea8:	12 80 00 95 	bne  203b0fc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2a8><== NEVER TAKEN
 203aeac:	33 00 81 9b 	sethi  %hi(0x2066c00), %i1                     
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
 203aeb0:	ba 07 bf c0 	add  %fp, -64, %i5                             
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
 203aeb4:	94 10 00 1d 	mov  %i5, %o2                                  
 203aeb8:	92 10 20 01 	mov  1, %o1                                    
 203aebc:	96 10 20 0b 	mov  0xb, %o3                                  
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find "." node in opened directory */                           
    memset(dot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);           
 203aec0:	c0 27 bf c0 	clr  [ %fp + -64 ]                             
 203aec4:	c0 27 bf c4 	clr  [ %fp + -60 ]                             
 203aec8:	c0 27 bf c8 	clr  [ %fp + -56 ]                             
 203aecc:	c0 27 bf cc 	clr  [ %fp + -52 ]                             
 203aed0:	c0 27 bf d0 	clr  [ %fp + -48 ]                             
 203aed4:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
 203aed8:	c0 27 bf d8 	clr  [ %fp + -40 ]                             
 203aedc:	c0 27 bf dc 	clr  [ %fp + -36 ]                             
    msdos_long_to_short(".", 1, dot_node, MSDOS_SHORT_NAME_LEN);      
 203aee0:	7f ff fa ff 	call  2039adc <msdos_long_to_short>            
 203aee4:	90 16 63 e0 	or  %i1, 0x3e0, %o0                            
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, ".", 1, 
 203aee8:	d2 07 bf bc 	ld  [ %fp + -68 ], %o1                         
 203aeec:	fa 23 a0 60 	st  %i5, [ %sp + 0x60 ]                        
 203aef0:	f4 23 a0 5c 	st  %i2, [ %sp + 0x5c ]                        
 203aef4:	90 10 00 18 	mov  %i0, %o0                                  
 203aef8:	94 10 20 00 	clr  %o2                                       
 203aefc:	96 16 63 e0 	or  %i1, 0x3e0, %o3                            
 203af00:	98 10 20 01 	mov  1, %o4                                    
 203af04:	7f ff fc ee 	call  203a2bc <msdos_find_name_in_fat_file>    
 203af08:	9a 10 20 01 	mov  1, %o5                                    
                                     MSDOS_NAME_SHORT, dir_pos, dot_node);
                                                                      
    if (rc != RC_OK)                                                  
 203af0c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203af10:	12 80 00 7b 	bne  203b0fc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2a8><== NEVER TAKEN
 203af14:	33 00 81 9a 	sethi  %hi(0x2066800), %i1                     
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
 203af18:	ba 07 bf e0 	add  %fp, -32, %i5                             
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
 203af1c:	94 10 00 1d 	mov  %i5, %o2                                  
 203af20:	92 10 20 02 	mov  2, %o1                                    
 203af24:	96 10 20 0b 	mov  0xb, %o3                                  
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* find ".." node in opened directory */                          
    memset(dotdot_node, 0, MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE);        
 203af28:	c0 27 bf e0 	clr  [ %fp + -32 ]                             
 203af2c:	c0 27 bf e4 	clr  [ %fp + -28 ]                             
 203af30:	c0 27 bf e8 	clr  [ %fp + -24 ]                             
 203af34:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
 203af38:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
 203af3c:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
 203af40:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 203af44:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
 203af48:	7f ff fa e5 	call  2039adc <msdos_long_to_short>            
 203af4c:	90 16 61 08 	or  %i1, 0x108, %o0                            
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, "..", 2,
 203af50:	d2 07 bf bc 	ld  [ %fp + -68 ], %o1                         
 203af54:	fa 23 a0 60 	st  %i5, [ %sp + 0x60 ]                        
 203af58:	f4 23 a0 5c 	st  %i2, [ %sp + 0x5c ]                        
 203af5c:	90 10 00 18 	mov  %i0, %o0                                  
 203af60:	94 10 20 00 	clr  %o2                                       
 203af64:	96 16 61 08 	or  %i1, 0x108, %o3                            
 203af68:	98 10 20 02 	mov  2, %o4                                    
 203af6c:	7f ff fc d4 	call  203a2bc <msdos_find_name_in_fat_file>    
 203af70:	9a 10 20 01 	mov  1, %o5                                    
                                     MSDOS_NAME_SHORT, dir_pos,       
                                     dotdot_node);                    
                                                                      
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
 203af74:	d2 07 bf bc 	ld  [ %fp + -68 ], %o1                         
    msdos_long_to_short("..", 2, dotdot_node, MSDOS_SHORT_NAME_LEN);  
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, "..", 2,
                                     MSDOS_NAME_SHORT, dir_pos,       
                                     dotdot_node);                    
                                                                      
    if (rc != RC_OK)                                                  
 203af78:	80 a2 20 00 	cmp  %o0, 0                                    
 203af7c:	12 80 00 66 	bne  203b114 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2c0><== NEVER TAKEN
 203af80:	ba 10 00 08 	mov  %o0, %i5                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
 203af84:	f2 17 bf da 	lduh  [ %fp + -38 ], %i1                       
 203af88:	e0 17 bf d4 	lduh  [ %fp + -44 ], %l0                       
                                                                      
    /* close fat-file corresponded to ".." directory */               
    rc = fat_file_close(&fs_info->fat, fat_fd);                       
 203af8c:	7f ff b8 93 	call  20291d8 <fat_file_close>                 
 203af90:	90 10 00 1c 	mov  %i4, %o0                                  
    if ( rc != RC_OK )                                                
 203af94:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203af98:	12 bf ff b9 	bne  203ae7c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x28><== NEVER TAKEN
 203af9c:	c4 17 bf fa 	lduh  [ %fp + -6 ], %g2                        
        return rc;                                                    
                                                                      
    if ( (MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)               
 203afa0:	c6 17 bf f4 	lduh  [ %fp + -12 ], %g3                       
 203afa4:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 203afa8:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203afac:	89 30 a0 18 	srl  %g2, 0x18, %g4                            
 203afb0:	bb 30 e0 18 	srl  %g3, 0x18, %i5                            
 203afb4:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
 203afb8:	87 30 e0 08 	srl  %g3, 8, %g3                               
 203afbc:	82 10 63 ff 	or  %g1, 0x3ff, %g1                            
 203afc0:	85 30 a0 08 	srl  %g2, 8, %g2                               
 203afc4:	86 08 c0 01 	and  %g3, %g1, %g3                             
 203afc8:	82 08 80 01 	and  %g2, %g1, %g1                             
 203afcc:	86 17 40 03 	or  %i5, %g3, %g3                              
 203afd0:	82 11 00 01 	or  %g4, %g1, %g1                              
 203afd4:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203afd8:	80 90 c0 01 	orcc  %g3, %g1, %g0                            
 203afdc:	12 80 00 08 	bne  203affc <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x1a8><== ALWAYS TAKEN
 203afe0:	90 10 00 1c 	mov  %i4, %o0                                  
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 203afe4:	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;                                             
 203afe8:	c0 26 a0 04 	clr  [ %i2 + 4 ]                               <== NOT EXECUTED
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 203afec:	c2 26 a0 08 	st  %g1, [ %i2 + 8 ]                           <== NOT EXECUTED
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 203aff0:	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;                 
 203aff4:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 203aff8:	c2 26 80 00 	st  %g1, [ %i2 ]                               <== NOT EXECUTED
    }                                                                 
                                                                      
    /* open fat-file corresponded to second ".." */                   
    rc = fat_file_open(&fs_info->fat, dir_pos, &fat_fd);              
 203affc:	92 10 00 1a 	mov  %i2, %o1                                  
 203b000:	7f ff b6 fc 	call  2028bf0 <fat_file_open>                  
 203b004:	94 07 bf bc 	add  %fp, -68, %o2                             
    if (rc != RC_OK)                                                  
 203b008:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203b00c:	12 bf ff 9c 	bne  203ae7c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x28><== NEVER TAKEN
 203b010:	c2 17 bf f4 	lduh  [ %fp + -12 ], %g1                       
        return rc;                                                    
                                                                      
    if ((MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)                
 203b014:	c8 17 bf fa 	lduh  [ %fp + -6 ], %g4                        
 203b018:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 203b01c:	07 00 00 3f 	sethi  %hi(0xfc00), %g3                        
 203b020:	85 30 60 18 	srl  %g1, 0x18, %g2                            
 203b024:	86 10 e3 ff 	or  %g3, 0x3ff, %g3                            
 203b028:	83 30 60 08 	srl  %g1, 8, %g1                               
 203b02c:	82 08 40 03 	and  %g1, %g3, %g1                             
 203b030:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203b034:	84 10 80 01 	or  %g2, %g1, %g2                              
 203b038:	bb 31 20 18 	srl  %g4, 0x18, %i5                            
 203b03c:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 203b040:	89 31 20 08 	srl  %g4, 8, %g4                               
 203b044:	86 09 00 03 	and  %g4, %g3, %g3                             
 203b048:	82 17 40 03 	or  %i5, %g3, %g1                              
 203b04c:	82 90 80 01 	orcc  %g2, %g1, %g1                            
 203b050:	12 80 00 35 	bne  203b124 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2d0><== ALWAYS TAKEN
 203b054:	d2 07 bf bc 	ld  [ %fp + -68 ], %o1                         
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
 203b058:	c2 07 20 38 	ld  [ %i4 + 0x38 ], %g1                        <== NOT EXECUTED
 203b05c:	c2 22 60 1c 	st  %g1, [ %o1 + 0x1c ]                        <== NOT EXECUTED
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
 203b060:	c2 02 60 1c 	ld  [ %o1 + 0x1c ], %g1                        
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
    else                                                              
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 203b064:	05 00 08 00 	sethi  %hi(0x200000), %g2                      
    if ((MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)                
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
    else                                                              
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
 203b068:	c0 22 60 10 	clr  [ %o1 + 0x10 ]                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
 203b06c:	c0 22 60 34 	clr  [ %o1 + 0x34 ]                            
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
    else                                                              
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
                                                                      
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 203b070:	c4 22 60 14 	st  %g2, [ %o1 + 0x14 ]                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
 203b074:	c2 22 60 38 	st  %g1, [ %o1 + 0x38 ]                        
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
 203b078:	7f ff ba 25 	call  202990c <fat_file_size>                  
 203b07c:	90 10 00 1c 	mov  %i4, %o0                                  
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
 203b080:	d2 07 bf bc 	ld  [ %fp + -68 ], %o1                         
                                                                      
    fat_fd->map.file_cln = 0;                                         
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
    if (rc != RC_OK)                                                  
 203b084:	80 a2 20 00 	cmp  %o0, 0                                    
 203b088:	12 80 00 23 	bne  203b114 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2c0><== NEVER TAKEN
 203b08c:	ba 10 00 08 	mov  %o0, %i5                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
 203b090:	a1 2c 20 10 	sll  %l0, 0x10, %l0                            
 203b094:	b3 2e 60 10 	sll  %i1, 0x10, %i1                            
 203b098:	95 34 20 18 	srl  %l0, 0x18, %o2                            
 203b09c:	85 36 60 18 	srl  %i1, 0x18, %g2                            
 203b0a0:	a1 34 20 08 	srl  %l0, 8, %l0                               
 203b0a4:	b3 36 60 08 	srl  %i1, 8, %i1                               
 203b0a8:	03 00 00 3f 	sethi  %hi(0xfc00), %g1                        
 203b0ac:	82 10 63 ff 	or  %g1, 0x3ff, %g1	! ffff <PROM_START+0xffff> 
 203b0b0:	a0 0c 00 01 	and  %l0, %g1, %l0                             
 203b0b4:	82 0e 40 01 	and  %i1, %g1, %g1                             
 203b0b8:	82 10 80 01 	or  %g2, %g1, %g1                              
        fat_file_close(&fs_info->fat, 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,
 203b0bc:	90 10 00 18 	mov  %i0, %o0                                  
 203b0c0:	96 10 00 1a 	mov  %i2, %o3                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
 203b0c4:	94 12 80 10 	or  %o2, %l0, %o2                              
        fat_file_close(&fs_info->fat, 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,
 203b0c8:	98 10 00 1b 	mov  %i3, %o4                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
                                                                      
    cl4find = MSDOS_EXTRACT_CLUSTER_NUM(dot_node);                    
 203b0cc:	95 2a a0 10 	sll  %o2, 0x10, %o2                            
        fat_file_close(&fs_info->fat, 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,
 203b0d0:	7f ff fe fe 	call  203acc8 <msdos_find_node_by_cluster_num_in_fat_file>
 203b0d4:	94 12 80 01 	or  %o2, %g1, %o2                              
                                                    dir_pos, dir_entry);
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
 203b0d8:	d2 07 bf bc 	ld  [ %fp + -68 ], %o1                         
        fat_file_close(&fs_info->fat, 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,
 203b0dc:	ba 10 00 08 	mov  %o0, %i5                                  
                                                    dir_pos, dir_entry);
    if (rc != RC_OK)                                                  
 203b0e0:	80 a7 60 00 	cmp  %i5, 0                                    
 203b0e4:	12 80 00 12 	bne  203b12c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2d8><== NEVER TAKEN
 203b0e8:	90 10 00 1c 	mov  %i4, %o0                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(&fs_info->fat, fat_fd);                       
 203b0ec:	7f ff b8 3b 	call  20291d8 <fat_file_close>                 
 203b0f0:	01 00 00 00 	nop                                            
 203b0f4:	10 bf ff 62 	b  203ae7c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x28>
 203b0f8:	ba 10 00 08 	mov  %o0, %i5                                  
    rc = msdos_find_name_in_fat_file(mt_entry, fat_fd, false, ".", 1, 
                                     MSDOS_NAME_SHORT, dir_pos, dot_node);
                                                                      
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
 203b0fc:	d2 07 bf bc 	ld  [ %fp + -68 ], %o1                         <== NOT EXECUTED
 203b100:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 203b104:	7f ff b8 35 	call  20291d8 <fat_file_close>                 <== NOT EXECUTED
 203b108:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(&fs_info->fat, fat_fd);                       
    return rc;                                                        
}                                                                     
 203b10c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b110:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    fat_fd->map.disk_cln = fat_fd->cln;                               
                                                                      
    rc = fat_file_size(&fs_info->fat, fat_fd);                        
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
 203b114:	7f ff b8 31 	call  20291d8 <fat_file_close>                 <== NOT EXECUTED
 203b118:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
        fat_file_close(&fs_info->fat, fat_fd);                        
        return rc;                                                    
    }                                                                 
    rc = fat_file_close(&fs_info->fat, fat_fd);                       
    return rc;                                                        
}                                                                     
 203b11c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b120:	91 e8 00 1d 	restore  %g0, %i5, %o0                         <== NOT EXECUTED
        return rc;                                                    
                                                                      
    if ((MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node)) == 0)                
        fat_fd->cln = fs_info->fat.vol.rdir_cl;                       
    else                                                              
        fat_fd->cln = MSDOS_EXTRACT_CLUSTER_NUM(dotdot_node);         
 203b124:	10 bf ff cf 	b  203b060 <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x20c>
 203b128:	c2 22 60 1c 	st  %g1, [ %o1 + 0x1c ]                        
    /* in this directory find slot with specified cluster num */      
    rc = msdos_find_node_by_cluster_num_in_fat_file(mt_entry, fat_fd, cl4find,
                                                    dir_pos, dir_entry);
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
 203b12c:	7f ff b8 2b 	call  20291d8 <fat_file_close>                 <== NOT EXECUTED
 203b130:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
 203b134:	30 bf ff f6 	b,a   203b10c <msdos_get_dotdot_dir_info_cluster_num_and_offset+0x2b8><== NOT EXECUTED
                                                                      

0203b138 <msdos_get_name_node>: int name_len, msdos_name_type_t name_type, fat_dir_pos_t *dir_pos, char *name_dir_entry ) {
 203b138:	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,    
 203b13c:	d0 06 20 14 	ld  [ %i0 + 0x14 ], %o0                        
 203b140:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
    int                                     name_len,                 
    msdos_name_type_t                       name_type,                
    fat_dir_pos_t                          *dir_pos,                  
    char                                   *name_dir_entry            
    )                                                                 
{                                                                     
 203b144:	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,    
 203b148:	9a 10 00 1c 	mov  %i4, %o5                                  
 203b14c:	e0 23 a0 60 	st  %l0, [ %sp + 0x60 ]                        
 203b150:	fa 23 a0 5c 	st  %i5, [ %sp + 0x5c ]                        
 203b154:	94 10 00 19 	mov  %i1, %o2                                  
 203b158:	96 10 00 1a 	mov  %i2, %o3                                  
 203b15c:	7f ff fc 58 	call  203a2bc <msdos_find_name_in_fat_file>    
 203b160:	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))            
 203b164:	03 00 00 1f 	sethi  %hi(0x7c00), %g1                        
 203b168:	82 10 61 01 	or  %g1, 0x101, %g1	! 7d01 <PROM_START+0x7d01> 
 203b16c:	80 a2 00 01 	cmp  %o0, %g1                                  
 203b170:	12 80 00 2a 	bne  203b218 <msdos_get_name_node+0xe0>        
 203b174:	b8 10 00 08 	mov  %o0, %i4                                  
        return rc;                                                    
                                                                      
    if (!create_node)                                                 
 203b178:	80 a6 60 00 	cmp  %i1, 0                                    
 203b17c:	12 80 00 25 	bne  203b210 <msdos_get_name_node+0xd8>        
 203b180:	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)                           
 203b184:	82 10 61 01 	or  %g1, 0x101, %g1	! 7d01 <PROM_START+0x7d01> 
 203b188:	80 a7 00 01 	cmp  %i4, %g1                                  
 203b18c:	02 80 00 21 	be  203b210 <msdos_get_name_node+0xd8>         
 203b190:	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)                                              
 203b194:	12 80 00 1f 	bne  203b210 <msdos_get_name_node+0xd8>        <== NEVER TAKEN
 203b198:	90 10 00 1a 	mov  %i2, %o0                                  
        {                                                             
            if (strncmp(name, "..", 2) == 0)                          
 203b19c:	94 10 20 02 	mov  2, %o2                                    
 203b1a0:	13 00 81 9a 	sethi  %hi(0x2066800), %o1                     
 203b1a4:	40 00 51 fe 	call  204f99c <strncmp>                        
 203b1a8:	92 12 61 08 	or  %o1, 0x108, %o1	! 2066908 <rtems_bdpart_shell_usage+0x668>
 203b1ac:	80 a2 20 00 	cmp  %o0, 0                                    
 203b1b0:	12 80 00 18 	bne  203b210 <msdos_get_name_node+0xd8>        
 203b1b4:	05 00 00 3f 	sethi  %hi(0xfc00), %g2                        
            {                                                         
                dotdot_cln = MSDOS_EXTRACT_CLUSTER_NUM((name_dir_entry));
 203b1b8:	c2 14 20 14 	lduh  [ %l0 + 0x14 ], %g1                      
 203b1bc:	c6 14 20 1a 	lduh  [ %l0 + 0x1a ], %g3                      
 203b1c0:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 203b1c4:	b3 30 60 18 	srl  %g1, 0x18, %i1                            
 203b1c8:	84 10 a3 ff 	or  %g2, 0x3ff, %g2                            
 203b1cc:	83 30 60 08 	srl  %g1, 8, %g1                               
 203b1d0:	82 08 40 02 	and  %g1, %g2, %g1                             
 203b1d4:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203b1d8:	b2 16 40 01 	or  %i1, %g1, %i1                              
 203b1dc:	89 30 e0 18 	srl  %g3, 0x18, %g4                            
 203b1e0:	b3 2e 60 10 	sll  %i1, 0x10, %i1                            
 203b1e4:	87 30 e0 08 	srl  %g3, 8, %g3                               
 203b1e8:	84 08 c0 02 	and  %g3, %g2, %g2                             
 203b1ec:	82 11 00 02 	or  %g4, %g2, %g1                              
                                                                      
                /* are we right under root dir ? */                   
                if (dotdot_cln == 0)                                  
 203b1f0:	b2 96 40 01 	orcc  %i1, %g1, %i1                            
 203b1f4:	12 80 00 0e 	bne  203b22c <msdos_get_name_node+0xf4>        
 203b1f8:	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;                                             
 203b1fc:	c0 27 60 04 	clr  [ %i5 + 4 ]                               
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 203b200:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 203b204:	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;     
 203b208:	82 10 20 01 	mov  1, %g1                                    
 203b20c:	c2 27 40 00 	st  %g1, [ %i5 ]                               
                }                                                     
            }                                                         
        }                                                             
    }                                                                 
    return rc;                                                        
}                                                                     
 203b210:	81 c7 e0 08 	ret                                            
 203b214:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
                                                                      
    /* find name in fat-file which corresponds to the directory */    
    rc = msdos_find_name_in_fat_file(parent_loc->mt_entry, fat_fd,    
                                     create_node, name, name_len, name_type,
                                     dir_pos, name_dir_entry);        
    if ((rc != RC_OK) && (rc != MSDOS_NAME_NOT_FOUND_ERR))            
 203b218:	80 a2 20 00 	cmp  %o0, 0                                    
 203b21c:	02 bf ff d8 	be  203b17c <msdos_get_name_node+0x44>         <== ALWAYS TAKEN
 203b220:	80 a6 60 00 	cmp  %i1, 0                                    
                }                                                     
            }                                                         
        }                                                             
    }                                                                 
    return rc;                                                        
}                                                                     
 203b224:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b228:	91 e8 00 1c 	restore  %g0, %i4, %o0                         <== NOT EXECUTED
                    fat_dir_pos_init(dir_pos);                        
                    dir_pos->sname.cln = FAT_ROOTDIR_CLUSTER_NUM;     
                }                                                     
                else                                                  
                {                                                     
                    rc =                                              
 203b22c:	f0 06 20 14 	ld  [ %i0 + 0x14 ], %i0                        
 203b230:	b4 10 00 1d 	mov  %i5, %i2                                  
 203b234:	7f ff ff 08 	call  203ae54 <msdos_get_dotdot_dir_info_cluster_num_and_offset>
 203b238:	97 e8 00 10 	restore  %g0, %l0, %o3                         
                                                                      

02023388 <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 ) {
 2023388:	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));  
 202338c:	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;                                 
 2023390:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
    fat_dir_pos_t      root_pos;                                      
    uint32_t           cl_buf_size;                                   
                                                                      
    fs_info = (msdos_fs_info_t *)calloc(1, sizeof(msdos_fs_info_t));  
 2023394:	7f ff 96 fd 	call  2008f88 <calloc>                         
 2023398:	92 10 20 98 	mov  0x98, %o1                                 
    if (!fs_info)                                                     
 202339c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20233a0:	02 80 00 58 	be  2023500 <msdos_initialize_support+0x178>   <== NEVER TAKEN
 20233a4:	01 00 00 00 	nop                                            
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
                                                                      
    temp_mt_entry->fs_info = fs_info;                                 
                                                                      
    rc = fat_init_volume_info(&fs_info->fat, temp_mt_entry->dev);     
 20233a8:	d2 06 20 38 	ld  [ %i0 + 0x38 ], %o1                        
 20233ac:	40 00 1c 1b 	call  202a418 <fat_init_volume_info>           
 20233b0:	fa 26 20 08 	st  %i5, [ %i0 + 8 ]                           
    if (rc != RC_OK)                                                  
 20233b4:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20233b8:	12 80 00 34 	bne  2023488 <msdos_initialize_support+0x100>  <== NEVER TAKEN
 20233bc:	82 10 3f ff 	mov  -1, %g1                                   
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
  dir_pos->lname.cln = FAT_FILE_SHORT_NAME;                           
 20233c0:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
  dir_pos->lname.ofs = FAT_FILE_SHORT_NAME;                           
 20233c4:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
    /*                                                                
     * 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;                     
 20233c8:	82 10 20 01 	mov  1, %g1                                    
    {                                                                 
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    fs_info->file_handlers      = file_handlers;                      
 20233cc:	f4 27 60 8c 	st  %i2, [ %i5 + 0x8c ]                        
    fs_info->directory_handlers = directory_handlers;                 
 20233d0:	f6 27 60 88 	st  %i3, [ %i5 + 0x88 ]                        
fat_dir_pos_init(                                                     
    fat_dir_pos_t *dir_pos                                            
    )                                                                 
{                                                                     
  dir_pos->sname.cln = 0;                                             
  dir_pos->sname.ofs = 0;                                             
 20233d4:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
     * 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;                     
    rc = fat_file_open(&fs_info->fat, &root_pos, &fat_fd);            
 20233d8:	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;                     
 20233dc:	c2 27 bf f0 	st  %g1, [ %fp + -16 ]                         
    rc = fat_file_open(&fs_info->fat, &root_pos, &fat_fd);            
 20233e0:	92 07 bf f0 	add  %fp, -16, %o1                             
 20233e4:	40 00 16 03 	call  2028bf0 <fat_file_open>                  
 20233e8:	94 07 bf ec 	add  %fp, -20, %o2                             
    if (rc != RC_OK)                                                  
 20233ec:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20233f0:	12 80 00 24 	bne  2023480 <msdos_initialize_support+0xf8>   <== NEVER TAKEN
 20233f4:	d2 07 bf ec 	ld  [ %fp + -20 ], %o1                         
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
    fat_fd->cln = fs_info->fat.vol.rdir_cl;                           
 20233f8:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
        return rc;                                                    
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 20233fc:	05 00 08 00 	sethi  %hi(0x200000), %g2                      
        free(fs_info);                                                
        return rc;                                                    
    }                                                                 
                                                                      
    /* again: unfortunately "fat-file" is just almost fat file :( */  
    fat_fd->fat_file_type = FAT_DIRECTORY;                            
 2023400:	c0 22 60 10 	clr  [ %o1 + 0x10 ]                            
    fat_fd->size_limit = MSDOS_MAX_DIR_LENGHT;                        
 2023404:	c4 22 60 14 	st  %g2, [ %o1 + 0x14 ]                        
    fat_fd->cln = fs_info->fat.vol.rdir_cl;                           
 2023408:	c2 22 60 1c 	st  %g1, [ %o1 + 0x1c ]                        
                                                                      
    fat_fd->map.file_cln = 0;                                         
 202340c:	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 )                                           
 2023410:	80 a0 60 00 	cmp  %g1, 0                                    
 2023414:	12 80 00 24 	bne  20234a4 <msdos_initialize_support+0x11c>  <== NEVER TAKEN
 2023418:	c2 22 60 38 	st  %g1, [ %o1 + 0x38 ]                        
    {                                                                 
        fat_fd->fat_file_size = fs_info->fat.vol.rdir_size;           
 202341c:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
        cl_buf_size = (fs_info->fat.vol.bpc > fs_info->fat.vol.rdir_size) ?
                      fs_info->fat.vol.bpc                                :
 2023420:	d0 17 60 06 	lduh  [ %i5 + 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) ?
 2023424:	80 a2 00 01 	cmp  %o0, %g1                                  
 2023428:	0a 80 00 1d 	bcs  202349c <msdos_initialize_support+0x114>  <== ALWAYS TAKEN
 202342c:	c2 22 60 18 	st  %g1, [ %o1 + 0x18 ]                        
            return rc;                                                
        }                                                             
        cl_buf_size = fs_info->fat.vol.bpc;                           
    }                                                                 
                                                                      
    fs_info->cl_buf = (uint8_t *)calloc(cl_buf_size, sizeof(char));   
 2023430:	7f ff 96 d6 	call  2008f88 <calloc>                         
 2023434:	92 10 20 01 	mov  1, %o1                                    
    if (fs_info->cl_buf == NULL)                                      
 2023438:	80 a2 20 00 	cmp  %o0, 0                                    
 202343c:	02 80 00 2a 	be  20234e4 <msdos_initialize_support+0x15c>   <== NEVER TAKEN
 2023440:	d0 27 60 94 	st  %o0, [ %i5 + 0x94 ]                        
        fat_shutdown_drive(&fs_info->fat);                            
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
    }                                                                 
                                                                      
    sc = rtems_semaphore_create(3,                                    
 2023444:	90 10 20 03 	mov  3, %o0                                    
 2023448:	92 10 20 01 	mov  1, %o1                                    
 202344c:	94 10 20 10 	mov  0x10, %o2                                 
 2023450:	96 10 20 00 	clr  %o3                                       
 2023454:	7f ff aa 16 	call  200dcac <rtems_semaphore_create>         
 2023458:	98 07 60 90 	add  %i5, 0x90, %o4                            
                                1,                                    
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
 202345c:	80 a2 20 00 	cmp  %o0, 0                                    
 2023460:	12 80 00 2d 	bne  2023514 <msdos_initialize_support+0x18c>  <== NEVER TAKEN
 2023464:	c4 07 bf ec 	ld  [ %fp + -20 ], %g2                         
        free(fs_info->cl_buf);                                        
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    temp_mt_entry->mt_fs_root->location.node_access = fat_fd;         
 2023468:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
    temp_mt_entry->mt_fs_root->location.handlers = directory_handlers;
 202346c:	f6 20 60 10 	st  %i3, [ %g1 + 0x10 ]                        
        free(fs_info->cl_buf);                                        
        free(fs_info);                                                
        rtems_set_errno_and_return_minus_one( EIO );                  
    }                                                                 
                                                                      
    temp_mt_entry->mt_fs_root->location.node_access = fat_fd;         
 2023470:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
    temp_mt_entry->mt_fs_root->location.handlers = directory_handlers;
    temp_mt_entry->ops = op_table;                                    
 2023474:	f2 26 20 0c 	st  %i1, [ %i0 + 0xc ]                         
                                                                      
    return rc;                                                        
}                                                                     
 2023478:	81 c7 e0 08 	ret                                            
 202347c:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
    fat_dir_pos_init(&root_pos);                                      
    root_pos.sname.cln = FAT_ROOTDIR_CLUSTER_NUM;                     
    rc = fat_file_open(&fs_info->fat, &root_pos, &fat_fd);            
    if (rc != RC_OK)                                                  
    {                                                                 
        fat_shutdown_drive(&fs_info->fat);                            
 2023480:	40 00 1b 9b 	call  202a2ec <fat_shutdown_drive>             <== NOT EXECUTED
 2023484:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        free(fs_info);                                                
 2023488:	7f ff 97 a1 	call  200930c <free>                           <== NOT EXECUTED
 202348c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    temp_mt_entry->mt_fs_root->location.node_access = fat_fd;         
    temp_mt_entry->mt_fs_root->location.handlers = directory_handlers;
    temp_mt_entry->ops = op_table;                                    
                                                                      
    return rc;                                                        
}                                                                     
 2023490:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
 2023494:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2023498:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    /* 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) ?
 202349c:	10 bf ff e5 	b  2023430 <msdos_initialize_support+0xa8>     
 20234a0:	90 10 00 01 	mov  %g1, %o0                                  
                      fs_info->fat.vol.bpc                                :
                      fs_info->fat.vol.rdir_size;                     
    }                                                                 
    else                                                              
    {                                                                 
        rc = fat_file_size(&fs_info->fat, fat_fd);                    
 20234a4:	40 00 19 1a 	call  202990c <fat_file_size>                  <== NOT EXECUTED
 20234a8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        if ( rc != RC_OK )                                            
 20234ac:	82 92 20 00 	orcc  %o0, 0, %g1                              <== NOT EXECUTED
 20234b0:	12 80 00 04 	bne  20234c0 <msdos_initialize_support+0x138>  <== NOT EXECUTED
 20234b4:	d2 07 bf ec 	ld  [ %fp + -20 ], %o1                         <== NOT EXECUTED
            fat_file_close(&fs_info->fat, fat_fd);                    
            fat_shutdown_drive(&fs_info->fat);                        
            free(fs_info);                                            
            return rc;                                                
        }                                                             
        cl_buf_size = fs_info->fat.vol.bpc;                           
 20234b8:	10 bf ff de 	b  2023430 <msdos_initialize_support+0xa8>     <== NOT EXECUTED
 20234bc:	d0 17 60 06 	lduh  [ %i5 + 6 ], %o0                         <== NOT EXECUTED
        rc = fat_file_size(&fs_info->fat, fat_fd);                    
        if ( rc != RC_OK )                                            
        {                                                             
            fat_file_close(&fs_info->fat, fat_fd);                    
            fat_shutdown_drive(&fs_info->fat);                        
            free(fs_info);                                            
 20234c0:	b8 10 00 01 	mov  %g1, %i4                                  <== NOT EXECUTED
    else                                                              
    {                                                                 
        rc = fat_file_size(&fs_info->fat, fat_fd);                    
        if ( rc != RC_OK )                                            
        {                                                             
            fat_file_close(&fs_info->fat, fat_fd);                    
 20234c4:	40 00 17 45 	call  20291d8 <fat_file_close>                 <== NOT EXECUTED
 20234c8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            fat_shutdown_drive(&fs_info->fat);                        
 20234cc:	40 00 1b 88 	call  202a2ec <fat_shutdown_drive>             <== NOT EXECUTED
 20234d0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            free(fs_info);                                            
 20234d4:	7f ff 97 8e 	call  200930c <free>                           <== NOT EXECUTED
 20234d8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    temp_mt_entry->mt_fs_root->location.node_access = fat_fd;         
    temp_mt_entry->mt_fs_root->location.handlers = directory_handlers;
    temp_mt_entry->ops = op_table;                                    
                                                                      
    return rc;                                                        
}                                                                     
 20234dc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20234e0:	91 e8 00 1c 	restore  %g0, %i4, %o0                         <== NOT EXECUTED
    }                                                                 
                                                                      
    fs_info->cl_buf = (uint8_t *)calloc(cl_buf_size, sizeof(char));   
    if (fs_info->cl_buf == NULL)                                      
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
 20234e4:	d2 07 bf ec 	ld  [ %fp + -20 ], %o1                         <== NOT EXECUTED
 20234e8:	40 00 17 3c 	call  20291d8 <fat_file_close>                 <== NOT EXECUTED
 20234ec:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        fat_shutdown_drive(&fs_info->fat);                            
 20234f0:	40 00 1b 7f 	call  202a2ec <fat_shutdown_drive>             <== NOT EXECUTED
 20234f4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        free(fs_info);                                                
 20234f8:	7f ff 97 85 	call  200930c <free>                           <== NOT EXECUTED
 20234fc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(ENOMEM);                 
 2023500:	40 00 95 02 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023504:	b8 10 3f ff 	mov  -1, %i4                                   <== NOT EXECUTED
 2023508:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 202350c:	10 bf ff e1 	b  2023490 <msdos_initialize_support+0x108>    <== NOT EXECUTED
 2023510:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
                                RTEMS_BINARY_SEMAPHORE | RTEMS_FIFO,  
                                0,                                    
                                &fs_info->vol_sema);                  
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        fat_file_close(&fs_info->fat, fat_fd);                        
 2023514:	d2 07 bf ec 	ld  [ %fp + -20 ], %o1                         <== NOT EXECUTED
 2023518:	40 00 17 30 	call  20291d8 <fat_file_close>                 <== NOT EXECUTED
 202351c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        fat_shutdown_drive(&fs_info->fat);                            
 2023520:	40 00 1b 73 	call  202a2ec <fat_shutdown_drive>             <== NOT EXECUTED
 2023524:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        free(fs_info->cl_buf);                                        
 2023528:	d0 07 60 94 	ld  [ %i5 + 0x94 ], %o0                        <== NOT EXECUTED
 202352c:	7f ff 97 78 	call  200930c <free>                           <== NOT EXECUTED
 2023530:	b8 10 3f ff 	mov  -1, %i4                                   <== NOT EXECUTED
        free(fs_info);                                                
 2023534:	7f ff 97 76 	call  200930c <free>                           <== NOT EXECUTED
 2023538:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one( EIO );                  
 202353c:	40 00 94 f3 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023540:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
 2023544:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2023548:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 202354c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2023550:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02023350 <msdos_lock>: .rename_h = msdos_rename, .statvfs_h = rtems_filesystem_default_statvfs }; void msdos_lock(const rtems_filesystem_mount_table_entry_t *mt_entry) {
 2023350:	9d e3 bf a0 	save  %sp, -96, %sp                            
  msdos_fs_info_t *fs_info = mt_entry->fs_info;                       
  rtems_status_code sc = rtems_semaphore_obtain(                      
    fs_info->vol_sema,                                                
 2023354:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
};                                                                    
                                                                      
void msdos_lock(const rtems_filesystem_mount_table_entry_t *mt_entry) 
{                                                                     
  msdos_fs_info_t *fs_info = mt_entry->fs_info;                       
  rtems_status_code sc = rtems_semaphore_obtain(                      
 2023358:	92 10 20 00 	clr  %o1                                       
 202335c:	d0 00 60 90 	ld  [ %g1 + 0x90 ], %o0                        
 2023360:	7f ff ab 19 	call  200dfc4 <rtems_semaphore_obtain>         
 2023364:	94 10 20 00 	clr  %o2                                       
    fs_info->vol_sema,                                                
    RTEMS_WAIT,                                                       
    RTEMS_NO_TIMEOUT                                                  
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2023368:	80 a2 20 00 	cmp  %o0, 0                                    
 202336c:	12 80 00 04 	bne  202337c <msdos_lock+0x2c>                 <== NEVER TAKEN
 2023370:	11 37 ab 6f 	sethi  %hi(0xdeadbc00), %o0                    
 2023374:	81 c7 e0 08 	ret                                            
 2023378:	81 e8 00 00 	restore                                        
    rtems_fatal_error_occurred(0xdeadbeef);                           
 202337c:	7f ff ad 36 	call  200e854 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2023380:	90 12 22 ef 	or  %o0, 0x2ef, %o0                            <== NOT EXECUTED
                                                                      

02039adc <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) {
 2039adc:	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);                                       
 2039ae0:	92 10 20 20 	mov  0x20, %o1                                 
 2039ae4:	90 10 00 1a 	mov  %i2, %o0                                  
 2039ae8:	40 00 49 56 	call  204c040 <memset>                         
 2039aec:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
 2039af0:	f8 0e 00 00 	ldub  [ %i0 ], %i4                             
 2039af4:	85 2f 20 18 	sll  %i4, 0x18, %g2                            
 2039af8:	83 38 a0 18 	sra  %g2, 0x18, %g1                            
 2039afc:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2039b00:	02 80 00 17 	be  2039b5c <msdos_long_to_short+0x80>         
 2039b04:	a0 10 00 18 	mov  %i0, %l0                                  
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
 2039b08:	80 a6 60 00 	cmp  %i1, 0                                    
 2039b0c:	04 80 00 70 	ble  2039ccc <msdos_long_to_short+0x1f0>       <== NEVER TAKEN
 2039b10:	83 38 a0 18 	sra  %g2, 0x18, %g1                            
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
 2039b14:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2039b18:	12 80 00 1f 	bne  2039b94 <msdos_long_to_short+0xb8>        <== ALWAYS TAKEN
 2039b1c:	80 a0 60 20 	cmp  %g1, 0x20                                 
 2039b20:	10 80 00 05 	b  2039b34 <msdos_long_to_short+0x58>          <== NOT EXECUTED
 2039b24:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
 2039b28:	80 a0 e0 2e 	cmp  %g3, 0x2e                                 
 2039b2c:	12 80 00 08 	bne  2039b4c <msdos_long_to_short+0x70>        <== ALWAYS TAKEN
 2039b30:	80 a0 e0 20 	cmp  %g3, 0x20                                 
    }                                                                 
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
 2039b34:	82 00 60 01 	inc  %g1                                       
 2039b38:	80 a0 40 19 	cmp  %g1, %i1                                  
 2039b3c:	32 bf ff fb 	bne,a   2039b28 <msdos_long_to_short+0x4c>     <== ALWAYS TAKEN
 2039b40:	c6 4c 00 01 	ldsb  [ %l0 + %g1 ], %g3                       
    if (type == MSDOS_NAME_INVALID)                                   
    {                                                                 
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: INVALID[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_INVALID;                                    
 2039b44:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2039b48:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
 2039b4c:	02 bf ff fb 	be  2039b38 <msdos_long_to_short+0x5c>         <== NEVER TAKEN
 2039b50:	82 00 60 01 	inc  %g1                                       
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
 2039b54:	10 80 00 13 	b  2039ba0 <msdos_long_to_short+0xc4>          
 2039b58:	80 a0 a0 00 	cmp  %g2, 0                                    
    memset (sfn, ' ', sfn_len);                                       
                                                                      
    /*                                                                
     * Handle '.' and '..' specially.                                 
     */                                                               
    if ((lfn[0] == '.') && (lfn_len == 1))                            
 2039b5c:	80 a6 60 01 	cmp  %i1, 1                                    
 2039b60:	22 80 00 0b 	be,a   2039b8c <msdos_long_to_short+0xb0>      
 2039b64:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              
        printf ("MSDOS_L2S: SHORT[1]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
    }                                                                 
                                                                      
    if ((lfn[0] == '.') && (lfn[1] == '.') && (lfn_len == 2))         
 2039b68:	c2 4e 20 01 	ldsb  [ %i0 + 1 ], %g1                         
 2039b6c:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 2039b70:	12 bf ff e7 	bne  2039b0c <msdos_long_to_short+0x30>        <== NEVER TAKEN
 2039b74:	80 a6 60 00 	cmp  %i1, 0                                    
 2039b78:	80 a6 60 02 	cmp  %i1, 2                                    
 2039b7c:	12 bf ff e4 	bne  2039b0c <msdos_long_to_short+0x30>        <== NEVER TAKEN
 2039b80:	80 a6 60 00 	cmp  %i1, 0                                    
    {                                                                 
        sfn[0] = sfn[1] = '.';                                        
 2039b84:	c2 2e a0 01 	stb  %g1, [ %i2 + 1 ]                          
 2039b88:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              
#if MSDOS_L2S_PRINT                                                   
        printf ("MSDOS_L2S: SHORT[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_SHORT;                                      
 2039b8c:	81 c7 e0 08 	ret                                            
 2039b90:	91 e8 20 01 	restore  %g0, 1, %o0                           
                                                                      
    /*                                                                
     * Filenames with only blanks and dots are not allowed!           
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
 2039b94:	02 bf ff e8 	be  2039b34 <msdos_long_to_short+0x58>         
 2039b98:	82 10 20 00 	clr  %g1                                       
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
 2039b9c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2039ba0:	02 80 00 44 	be  2039cb0 <msdos_long_to_short+0x1d4>        <== NEVER TAKEN
 2039ba4:	03 00 81 c8 	sethi  %hi(0x2072000), %g1                     
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
 2039ba8:	e8 00 63 f0 	ld  [ %g1 + 0x3f0 ], %l4	! 20723f0 <__ctype_ptr__>
 *                                                                    
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
 2039bac:	31 00 81 b5 	sethi  %hi(0x206d400), %i0                     
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
 2039bb0:	2b 00 81 b5 	sethi  %hi(0x206d400), %l5                     
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
 2039bb4:	a4 10 20 00 	clr  %l2                                       
 2039bb8:	a6 10 20 00 	clr  %l3                                       
 2039bbc:	ba 10 20 00 	clr  %i5                                       
 2039bc0:	a2 10 3f ff 	mov  -1, %l1                                   
 *                                                                    
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
 2039bc4:	b0 16 22 88 	or  %i0, 0x288, %i0                            
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
 2039bc8:	aa 15 62 90 	or  %l5, 0x290, %l5                            
 *                                                                    
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
 2039bcc:	b7 38 a0 18 	sra  %g2, 0x18, %i3                            
 2039bd0:	90 10 00 18 	mov  %i0, %o0                                  
 2039bd4:	40 00 54 a2 	call  204ee5c <strchr>                         
 2039bd8:	92 10 00 1b 	mov  %i3, %o1                                  
 2039bdc:	80 a2 20 00 	cmp  %o0, 0                                    
 2039be0:	02 80 00 09 	be  2039c04 <msdos_long_to_short+0x128>        
 2039be4:	82 1e e0 2e 	xor  %i3, 0x2e, %g1                            
        return MSDOS_NAME_LONG;                                       
 2039be8:	b0 10 20 02 	mov  2, %i0                                    
        printf ("MSDOS_L2S: INVALID[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_INVALID;                                    
    }                                                                 
                                                                      
    msdos_filename_unix2dos (lfn, lfn_len, sfn);                      
 2039bec:	90 10 00 10 	mov  %l0, %o0                                  
 2039bf0:	92 10 00 19 	mov  %i1, %o1                                  
 2039bf4:	40 00 34 2b 	call  2046ca0 <msdos_filename_unix2dos>        
 2039bf8:	94 10 00 1a 	mov  %i2, %o2                                  
                                                                      
#if MSDOS_L2S_PRINT                                                   
    printf ("MSDOS_L2S: TYPE:%d lfn:'%s' SFN:'%s'\n", type, lfn, sfn);
#endif                                                                
    return type;                                                      
 2039bfc:	81 c7 e0 08 	ret                                            
 2039c00:	81 e8 00 00 	restore                                        
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
    {                                                                 
        bool is_dot = *name == '.';                                   
 2039c04:	80 a0 00 01 	cmp  %g0, %g1                                  
 2039c08:	ac 60 3f ff 	subx  %g0, -1, %l6                             
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
 2039c0c:	80 a5 a0 00 	cmp  %l6, 0                                    
 2039c10:	12 80 00 3c 	bne  2039d00 <msdos_long_to_short+0x224>       
 2039c14:	82 0f 20 ff 	and  %i4, 0xff, %g1                            
 2039c18:	82 05 00 01 	add  %l4, %g1, %g1                             
 2039c1c:	c2 08 60 01 	ldub  [ %g1 + 1 ], %g1                         
 2039c20:	80 88 60 07 	btst  7, %g1                                   
 2039c24:	12 80 00 07 	bne  2039c40 <msdos_long_to_short+0x164>       
 2039c28:	90 10 00 15 	mov  %l5, %o0                                  
        (strchr("$%'-_@~`!(){}^#&", ch) != NULL))                     
 2039c2c:	40 00 54 8c 	call  204ee5c <strchr>                         
 2039c30:	92 10 00 1b 	mov  %i3, %o1                                  
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
                                                                      
    if ((ch == '.') || isalnum((unsigned char)ch) ||                  
 2039c34:	80 a2 20 00 	cmp  %o0, 0                                    
 2039c38:	02 bf ff c3 	be  2039b44 <msdos_long_to_short+0x68>         <== NEVER TAKEN
 2039c3c:	01 00 00 00 	nop                                            
#endif                                                                
                                                                      
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
 2039c40:	80 a4 7f ff 	cmp  %l1, -1                                   
 2039c44:	02 80 00 27 	be  2039ce0 <msdos_long_to_short+0x204>        <== ALWAYS TAKEN
 2039c48:	82 27 40 11 	sub  %i5, %l1, %g1                             
        {                                                             
            if (is_dot || ((count - dot_at) > 3))                     
 2039c4c:	80 a0 60 03 	cmp  %g1, 3                                    <== NOT EXECUTED
 2039c50:	34 bf ff e7 	bg,a   2039bec <msdos_long_to_short+0x110>     <== NOT EXECUTED
 2039c54:	b0 10 20 02 	mov  2, %i0                                    <== NOT EXECUTED
            }                                                         
        }                                                             
                                                                      
        if (is_dot)                                                   
            dot_at = count;                                           
        else if ((*name >= 'A') && (*name <= 'Z'))                    
 2039c58:	82 07 3f bf 	add  %i4, -65, %g1                             <== NOT EXECUTED
 2039c5c:	82 08 60 ff 	and  %g1, 0xff, %g1                            <== NOT EXECUTED
 2039c60:	80 a0 60 19 	cmp  %g1, 0x19                                 
 2039c64:	28 80 00 07 	bleu,a   2039c80 <msdos_long_to_short+0x1a4>   
 2039c68:	a4 10 20 01 	mov  1, %l2                                    
            uppercase = true;                                         
        else if ((*name >= 'a') && (*name <= 'z'))                    
 2039c6c:	b8 07 3f 9f 	add  %i4, -97, %i4                             
 2039c70:	b8 0f 20 ff 	and  %i4, 0xff, %i4                            
 2039c74:	80 a7 20 19 	cmp  %i4, 0x19                                 
 2039c78:	28 80 00 02 	bleu,a   2039c80 <msdos_long_to_short+0x1a4>   
 2039c7c:	a6 10 20 01 	mov  1, %l3                                    
            lowercase = true;                                         
                                                                      
        count++;                                                      
 2039c80:	ba 07 60 01 	inc  %i5                                       
    bool lowercase = false;                                           
    bool uppercase = false;                                           
    int  dot_at = -1;                                                 
    int  count = 0;                                                   
                                                                      
    while (*name && (count < name_len))                               
 2039c84:	f8 0c 00 1d 	ldub  [ %l0 + %i5 ], %i4                       
 2039c88:	85 2f 20 18 	sll  %i4, 0x18, %g2                            
 2039c8c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2039c90:	02 80 00 04 	be  2039ca0 <msdos_long_to_short+0x1c4>        
 2039c94:	80 a6 40 1d 	cmp  %i1, %i5                                  
 2039c98:	34 bf ff ce 	bg,a   2039bd0 <msdos_long_to_short+0xf4>      
 2039c9c:	b7 38 a0 18 	sra  %g2, 0x18, %i3                            
 2039ca0:	a4 0c c0 12 	and  %l3, %l2, %l2                             
                                                                      
        count++;                                                      
        name++;                                                       
    }                                                                 
                                                                      
    if (lowercase && uppercase)                                       
 2039ca4:	80 8c a0 ff 	btst  0xff, %l2                                
 2039ca8:	12 bf ff d1 	bne  2039bec <msdos_long_to_short+0x110>       <== NEVER TAKEN
 2039cac:	b0 10 20 02 	mov  2, %i0                                    
    }                                                                 
                                                                      
#if MSDOS_NAME_TYPE_PRINT                                             
    printf ("MSDOS_NAME_TYPE: SHORT[1]\n");                           
#endif                                                                
    return MSDOS_NAME_SHORT;                                          
 2039cb0:	b0 10 20 01 	mov  1, %i0                                    
        printf ("MSDOS_L2S: INVALID[2]: lfn:'%s' SFN:'%s'\n", lfn, sfn);
#endif                                                                
        return MSDOS_NAME_INVALID;                                    
    }                                                                 
                                                                      
    msdos_filename_unix2dos (lfn, lfn_len, sfn);                      
 2039cb4:	90 10 00 10 	mov  %l0, %o0                                  
 2039cb8:	92 10 00 19 	mov  %i1, %o1                                  
 2039cbc:	40 00 33 f9 	call  2046ca0 <msdos_filename_unix2dos>        
 2039cc0:	94 10 00 1a 	mov  %i2, %o2                                  
                                                                      
#if MSDOS_L2S_PRINT                                                   
    printf ("MSDOS_L2S: TYPE:%d lfn:'%s' SFN:'%s'\n", type, lfn, sfn);
#endif                                                                
    return type;                                                      
 2039cc4:	81 c7 e0 08 	ret                                            
 2039cc8:	81 e8 00 00 	restore                                        
     */                                                               
    for (i = 0; i < lfn_len; i++)                                     
        if ((lfn[i] != ' ') && (lfn[i] != '.'))                       
            break;                                                    
                                                                      
    if (i == lfn_len)                                                 
 2039ccc:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 2039cd0:	12 bf ff f8 	bne  2039cb0 <msdos_long_to_short+0x1d4>       <== NOT EXECUTED
 2039cd4:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
#if MSDOS_L2S_PRINT                                                   
    printf ("MSDOS_L2S: TYPE:%d lfn:'%s' SFN:'%s'\n", type, lfn, sfn);
#endif                                                                
    return type;                                                      
}                                                                     
 2039cd8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2039cdc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                return MSDOS_NAME_LONG;                               
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            if (count == 8 && !is_dot)                                
 2039ce0:	80 a5 a0 00 	cmp  %l6, 0                                    
 2039ce4:	12 bf ff de 	bne  2039c5c <msdos_long_to_short+0x180>       <== NEVER TAKEN
 2039ce8:	82 07 3f bf 	add  %i4, -65, %g1                             
 2039cec:	80 a7 60 08 	cmp  %i5, 8                                    
 2039cf0:	12 bf ff dc 	bne  2039c60 <msdos_long_to_short+0x184>       
 2039cf4:	82 08 60 ff 	and  %g1, 0xff, %g1                            
 */                                                                   
static msdos_name_type_t                                              
msdos_is_valid_name_char(const char ch)                               
{                                                                     
    if (strchr(" +,;=[]", ch) != NULL)                                
        return MSDOS_NAME_LONG;                                       
 2039cf8:	10 bf ff bd 	b  2039bec <msdos_long_to_short+0x110>         
 2039cfc:	b0 10 20 02 	mov  2, %i0                                    
#endif                                                                
                                                                      
        if ((type == MSDOS_NAME_INVALID) || (type == MSDOS_NAME_LONG))
            return type;                                              
                                                                      
        if (dot_at >= 0)                                              
 2039d00:	80 a4 7f ff 	cmp  %l1, -1                                   
 2039d04:	32 bf ff ba 	bne,a   2039bec <msdos_long_to_short+0x110>    
 2039d08:	b0 10 20 02 	mov  2, %i0                                    
 2039d0c:	10 bf ff dd 	b  2039c80 <msdos_long_to_short+0x1a4>         
 2039d10:	a2 10 00 1d 	mov  %i5, %l1                                  
                                                                      

02023554 <msdos_mknod>: const char *name, size_t namelen, mode_t mode, dev_t dev ) {
 2023554:	9d e3 bf a0 	save  %sp, -96, %sp                            
    msdos_node_type_t    type = 0;                                    
                                                                      
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
 2023558:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
    const char *name,                                                 
    size_t namelen,                                                   
    mode_t mode,                                                      
    dev_t dev                                                         
)                                                                     
{                                                                     
 202355c:	b8 10 00 1b 	mov  %i3, %i4                                  
    msdos_node_type_t    type = 0;                                    
                                                                      
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
 2023560:	82 0e c0 01 	and  %i3, %g1, %g1                             
 2023564:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
    const char *name,                                                 
    size_t namelen,                                                   
    mode_t mode,                                                      
    dev_t dev                                                         
)                                                                     
{                                                                     
 2023568:	86 10 00 19 	mov  %i1, %g3                                  
    msdos_node_type_t    type = 0;                                    
                                                                      
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
 202356c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2023570:	02 80 00 09 	be  2023594 <msdos_mknod+0x40>                 
 2023574:	b6 10 00 1a 	mov  %i2, %i3                                  
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
    }                                                                 
    else if (S_ISREG(mode))                                           
 2023578:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
 202357c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2023580:	12 80 00 09 	bne  20235a4 <msdos_mknod+0x50>                <== NEVER TAKEN
 2023584:	b2 10 20 04 	mov  4, %i1                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(parentloc, type, name, namelen, mode, NULL);
 2023588:	b4 10 00 03 	mov  %g3, %i2                                  
 202358c:	40 00 57 f3 	call  2039558 <msdos_creat_node>               
 2023590:	9b e8 20 00 	restore  %g0, 0, %o5                           
    /*                                                                
     *  Figure out what type of msdos node this is.                   
     */                                                               
    if (S_ISDIR(mode))                                                
    {                                                                 
       type = MSDOS_DIRECTORY;                                        
 2023594:	b2 10 20 00 	clr  %i1                                       
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(parentloc, type, name, namelen, mode, NULL);
 2023598:	b4 10 00 03 	mov  %g3, %i2                                  
 202359c:	40 00 57 ef 	call  2039558 <msdos_creat_node>               
 20235a0:	9b e8 20 00 	restore  %g0, 0, %o5                           
    else if (S_ISREG(mode))                                           
    {                                                                 
        type = MSDOS_REGULAR_FILE;                                    
    }                                                                 
    else                                                              
        rtems_set_errno_and_return_minus_one(EINVAL);                 
 20235a4:	40 00 94 d9 	call  2048908 <__errno>                        <== NOT EXECUTED
 20235a8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20235ac:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 20235b0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
                                                                      
    /* Create an MSDOS node */                                        
    rc = msdos_creat_node(parentloc, type, name, namelen, mode, NULL);
                                                                      
    return rc;                                                        
}                                                                     
 20235b4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20235b8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020235c8 <msdos_rename>: const rtems_filesystem_location_info_t *old_loc, const rtems_filesystem_location_info_t *new_parent_loc, const char *new_name, size_t new_namelen ) {
 20235c8:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    int                rc = RC_OK;                                    
    fat_file_fd_t     *old_fat_fd  = old_loc->node_access;            
 20235cc:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           <== NOT EXECUTED
                                                                      
    /*                                                                
     * create new directory entry as "hard link", copying relevant info from
     * existing file                                                  
     */                                                               
    rc = msdos_creat_node(new_parent_loc,                             
 20235d0:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 20235d4:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
 20235d8:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 20235dc:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
 20235e0:	19 00 00 20 	sethi  %hi(0x8000), %o4                        <== NOT EXECUTED
 20235e4:	40 00 57 dd 	call  2039558 <msdos_creat_node>               <== NOT EXECUTED
 20235e8:	9a 10 00 1d 	mov  %i5, %o5                                  <== NOT EXECUTED
                          MSDOS_HARD_LINK,new_name,new_namelen,S_IFREG,
                          old_fat_fd);                                
    if (rc != RC_OK)                                                  
 20235ec:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20235f0:	02 80 00 04 	be  2023600 <msdos_rename+0x38>                <== NOT EXECUTED
 20235f4:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    rc = msdos_set_first_char4file_name(old_loc->mt_entry,            
                                        &old_fat_fd->dir_pos,         
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
                                                                      
    return rc;                                                        
}                                                                     
 20235f8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20235fc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * mark file removed                                              
     */                                                               
    rc = msdos_set_first_char4file_name(old_loc->mt_entry,            
 2023600:	f0 06 60 14 	ld  [ %i1 + 0x14 ], %i0                        <== NOT EXECUTED
 2023604:	b4 10 20 e5 	mov  0xe5, %i2                                 <== NOT EXECUTED
 2023608:	40 00 5a 6c 	call  2039fb8 <msdos_set_first_char4file_name> <== NOT EXECUTED
 202360c:	93 ef 60 20 	restore  %i5, 0x20, %o1                        <== NOT EXECUTED
                                                                      

02023610 <msdos_rmnod>: #include "msdos.h" int msdos_rmnod(const rtems_filesystem_location_info_t *parent_pathloc, const rtems_filesystem_location_info_t *pathloc) {
 2023610:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
 2023614:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           
int                                                                   
msdos_rmnod(const rtems_filesystem_location_info_t *parent_pathloc,   
            const rtems_filesystem_location_info_t *pathloc)          
{                                                                     
    int                rc = RC_OK;                                    
    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;          
 2023618:	d0 06 60 14 	ld  [ %i1 + 0x14 ], %o0                        
    fat_file_fd_t     *fat_fd = pathloc->node_access;                 
                                                                      
    if (fat_fd->fat_file_type == MSDOS_DIRECTORY)                     
 202361c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 2023620:	80 a0 60 00 	cmp  %g1, 0                                    
 2023624:	12 80 00 1f 	bne  20236a0 <msdos_rmnod+0x90>                
 2023628:	f8 02 20 08 	ld  [ %o0 + 8 ], %i4                           
    {                                                                 
        bool is_empty = false;                                        
 202362c:	c0 2f bf ff 	clrb  [ %fp + -1 ]                             
                                                                      
        /*                                                            
         * You cannot remove a node that still has children           
         */                                                           
        rc = msdos_dir_is_empty(pathloc->mt_entry, fat_fd, &is_empty);
 2023630:	92 10 00 1d 	mov  %i5, %o1                                  
 2023634:	40 00 5a cd 	call  203a168 <msdos_dir_is_empty>             
 2023638:	94 07 bf ff 	add  %fp, -1, %o2                              
        if (rc != RC_OK)                                              
 202363c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2023640:	12 80 00 0d 	bne  2023674 <msdos_rmnod+0x64>                <== NEVER TAKEN
 2023644:	c2 0f bf ff 	ldub  [ %fp + -1 ], %g1                        
        {                                                             
            return rc;                                                
        }                                                             
                                                                      
        if (!is_empty)                                                
 2023648:	80 a0 60 00 	cmp  %g1, 0                                    
 202364c:	02 80 00 1f 	be  20236c8 <msdos_rmnod+0xb8>                 
 2023650:	01 00 00 00 	nop                                            
                                                                      
        /*                                                            
         * We deny attempts to delete open directory (if directory is current
         * directory we assume it is open one)                        
         */                                                           
        if (fat_fd->links_num > 1)                                    
 2023654:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 2023658:	80 a0 60 01 	cmp  %g1, 1                                    
 202365c:	28 80 00 08 	bleu,a   202367c <msdos_rmnod+0x6c>            <== ALWAYS TAKEN
 2023660:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
        /*                                                            
         * You cannot remove the file system root node.               
         */                                                           
        if (rtems_filesystem_location_is_root(pathloc))               
        {                                                             
            rtems_set_errno_and_return_minus_one(EBUSY);              
 2023664:	40 00 94 a9 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023668:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202366c:	82 10 20 10 	mov  0x10, %g1                                 <== NOT EXECUTED
 2023670:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2023674:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2023678:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
                                                                      
  return (*mt_entry->ops->are_nodes_equal_h)(                         
 202367c:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 2023680:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        
 2023684:	c2 00 a0 10 	ld  [ %g2 + 0x10 ], %g1                        
 2023688:	9f c0 40 00 	call  %g1                                      
 202368c:	90 10 00 19 	mov  %i1, %o0                                  
        }                                                             
                                                                      
        /*                                                            
         * You cannot remove the file system root node.               
         */                                                           
        if (rtems_filesystem_location_is_root(pathloc))               
 2023690:	80 8a 20 ff 	btst  0xff, %o0                                
 2023694:	12 bf ff f4 	bne  2023664 <msdos_rmnod+0x54>                <== NEVER TAKEN
 2023698:	01 00 00 00 	nop                                            
 202369c:	d0 06 60 14 	ld  [ %i1 + 0x14 ], %o0                        
         * not used - mount() not implemenetd yet.                    
         */                                                           
    }                                                                 
                                                                      
    /* mark file removed */                                           
    rc = msdos_set_first_char4file_name(pathloc->mt_entry, &fat_fd->dir_pos,
 20236a0:	92 07 60 20 	add  %i5, 0x20, %o1                            
 20236a4:	40 00 5a 45 	call  2039fb8 <msdos_set_first_char4file_name> 
 20236a8:	94 10 20 e5 	mov  0xe5, %o2                                 
                                        MSDOS_THIS_DIR_ENTRY_EMPTY);  
    if (rc != RC_OK)                                                  
 20236ac:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20236b0:	12 bf ff f1 	bne  2023674 <msdos_rmnod+0x64>                <== NEVER TAKEN
 20236b4:	90 10 00 1c 	mov  %i4, %o0                                  
    {                                                                 
        return rc;                                                    
    }                                                                 
                                                                      
    fat_file_mark_removed(&fs_info->fat, fat_fd);                     
 20236b8:	40 00 18 6a 	call  2029860 <fat_file_mark_removed>          
 20236bc:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
    return rc;                                                        
}                                                                     
 20236c0:	81 c7 e0 08 	ret                                            
 20236c4:	81 e8 00 00 	restore                                        
            return rc;                                                
        }                                                             
                                                                      
        if (!is_empty)                                                
        {                                                             
            rtems_set_errno_and_return_minus_one(ENOTEMPTY);          
 20236c8:	40 00 94 90 	call  2048908 <__errno>                        
 20236cc:	b0 10 3f ff 	mov  -1, %i0                                   
 20236d0:	82 10 20 5a 	mov  0x5a, %g1                                 
 20236d4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20236d8:	81 c7 e0 08 	ret                                            
 20236dc:	81 e8 00 00 	restore                                        
                                                                      

02039d14 <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 ) {
 2039d14:	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);             
 2039d18:	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;                     
 2039d1c:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
    uint16_t         time_val;                                        
    uint16_t         date;                                            
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    msdos_date_unix2dos(fat_fd->mtime, &date, &time_val);             
 2039d20:	92 07 bf fe 	add  %fp, -2, %o1                              
 2039d24:	40 00 33 33 	call  20469f0 <msdos_date_unix2dos>            
 2039d28:	94 07 bf fc 	add  %fp, -4, %o2                              
                                                                      
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
 2039d2c:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2039d30:	80 a0 60 00 	cmp  %g1, 0                                    
 2039d34:	32 80 00 07 	bne,a   2039d50 <msdos_set_dir_wrt_time_and_date+0x3c>
 2039d38:	c6 0f 60 05 	ldub  [ %i5 + 5 ], %g3                         
 2039d3c:	c4 0f 60 0a 	ldub  [ %i5 + 0xa ], %g2                       
 2039d40:	80 88 a0 03 	btst  3, %g2                                   
 2039d44:	32 80 00 07 	bne,a   2039d60 <msdos_set_dir_wrt_time_and_date+0x4c><== ALWAYS TAKEN
 2039d48:	f6 07 60 1c 	ld  [ %i5 + 0x1c ], %i3                        
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2039d4c:	c6 0f 60 05 	ldub  [ %i5 + 5 ], %g3                         <== NOT EXECUTED
 2039d50:	c4 07 60 30 	ld  [ %i5 + 0x30 ], %g2                        
 2039d54:	b6 00 7f fe 	add  %g1, -2, %i3                              
 2039d58:	b7 2e c0 03 	sll  %i3, %g3, %i3                             
 2039d5c:	b6 06 c0 02 	add  %i3, %g2, %i3                             
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2039d60:	c4 06 60 24 	ld  [ %i1 + 0x24 ], %g2                        
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 2039d64:	f8 17 40 00 	lduh  [ %i5 ], %i4                             
                                                                      
    time_val = CT_LE_W(time_val);                                     
 2039d68:	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(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2039d6c:	c6 0f 60 02 	ldub  [ %i5 + 2 ], %g3                         
    /* 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);                                     
 2039d70:	83 28 60 10 	sll  %g1, 0x10, %g1                            
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2039d74:	87 30 80 03 	srl  %g2, %g3, %g3                             
    /* byte points to start of 32bytes structure */                   
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 2039d78:	b8 07 3f ff 	add  %i4, -1, %i4                              
 2039d7c:	b8 0f 00 02 	and  %i4, %g2, %i4                             
                                                                      
    time_val = CT_LE_W(time_val);                                     
 2039d80:	85 30 60 08 	srl  %g1, 8, %g2                               
 2039d84:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 2039d88:	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(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2039d8c:	b6 06 c0 03 	add  %i3, %g3, %i3                             
    /* 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(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
 2039d90:	94 07 20 16 	add  %i4, 0x16, %o2                            
 2039d94:	92 10 00 1b 	mov  %i3, %o1                                  
 2039d98:	96 10 20 02 	mov  2, %o3                                    
 2039d9c:	98 07 bf fc 	add  %fp, -4, %o4                              
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, 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);                                     
 2039da0:	c2 37 bf fc 	sth  %g1, [ %fp + -4 ]                         
    ret1 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
 2039da4:	7f ff c0 14 	call  2029df4 <_fat_block_write>               
 2039da8:	90 10 00 1d 	mov  %i5, %o0                                  
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
 2039dac:	c2 17 bf fe 	lduh  [ %fp + -2 ], %g1                        
    ret2 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 2039db0:	94 07 20 18 	add  %i4, 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(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
 2039db4:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2039db8:	85 30 60 08 	srl  %g1, 8, %g2                               
 2039dbc:	83 30 60 18 	srl  %g1, 0x18, %g1                            
 2039dc0:	82 10 80 01 	or  %g2, %g1, %g1                              
    ret2 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 2039dc4:	96 10 20 02 	mov  2, %o3                                    
 2039dc8:	98 07 bf fe 	add  %fp, -2, %o4                              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
 2039dcc:	c2 37 bf fe 	sth  %g1, [ %fp + -2 ]                         
    ret2 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 2039dd0:	92 10 00 1b 	mov  %i3, %o1                                  
    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(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
 2039dd4:	b2 10 00 08 	mov  %o0, %i1                                  
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
    ret2 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 2039dd8:	7f ff c0 07 	call  2029df4 <_fat_block_write>               
 2039ddc:	90 10 00 1d 	mov  %i5, %o0                                  
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_ADATE_OFFSET,
 2039de0:	92 10 00 1b 	mov  %i3, %o1                                  
                                                                      
    time_val = CT_LE_W(time_val);                                     
    ret1 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_WTIME_OFFSET,
                            2, (char *)(&time_val));                  
    date = CT_LE_W(date);                                             
    ret2 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_WDATE_OFFSET,
 2039de4:	b4 10 00 08 	mov  %o0, %i2                                  
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_ADATE_OFFSET,
 2039de8:	94 07 20 12 	add  %i4, 0x12, %o2                            
 2039dec:	90 10 00 1d 	mov  %i5, %o0                                  
 2039df0:	96 10 20 02 	mov  2, %o3                                    
 2039df4:	7f ff c0 00 	call  2029df4 <_fat_block_write>               
 2039df8:	98 07 bf fe 	add  %fp, -2, %o4                              
                            2, (char *)(&date));                      
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) || (ret3 < 0) )                     
 2039dfc:	80 a6 a0 00 	cmp  %i2, 0                                    
 2039e00:	06 80 00 08 	bl  2039e20 <msdos_set_dir_wrt_time_and_date+0x10c><== NEVER TAKEN
 2039e04:	80 a6 60 00 	cmp  %i1, 0                                    
 2039e08:	06 80 00 06 	bl  2039e20 <msdos_set_dir_wrt_time_and_date+0x10c><== NEVER TAKEN
 2039e0c:	80 a2 20 00 	cmp  %o0, 0                                    
 2039e10:	06 80 00 04 	bl  2039e20 <msdos_set_dir_wrt_time_and_date+0x10c><== NEVER TAKEN
 2039e14:	01 00 00 00 	nop                                            
        return -1;                                                    
                                                                      
    return RC_OK;                                                     
}                                                                     
 2039e18:	81 c7 e0 08 	ret                                            
 2039e1c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                            2, (char *)(&date));                      
    ret3 = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_ADATE_OFFSET,
                            2, (char *)(&date));                      
                                                                      
    if ( (ret1 < 0) || (ret2 < 0) || (ret3 < 0) )                     
        return -1;                                                    
 2039e20:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2039e24:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      

02039f14 <msdos_set_file_size>: int msdos_set_file_size( rtems_filesystem_mount_table_entry_t *mt_entry, fat_file_fd_t *fat_fd ) {
 2039f14:	9d e3 bf 98 	save  %sp, -104, %sp                           
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
    uint32_t         le_new_length = 0;                               
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
 2039f18:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2039f1c:	80 a0 60 00 	cmp  %g1, 0                                    
 2039f20:	12 80 00 06 	bne  2039f38 <msdos_set_file_size+0x24>        
 2039f24:	d0 06 20 08 	ld  [ %i0 + 8 ], %o0                           
 2039f28:	c4 0a 20 0a 	ldub  [ %o0 + 0xa ], %g2                       
 2039f2c:	80 88 a0 03 	btst  3, %g2                                   
 2039f30:	32 80 00 07 	bne,a   2039f4c <msdos_set_file_size+0x38>     <== ALWAYS TAKEN
 2039f34:	d2 02 20 1c 	ld  [ %o0 + 0x1c ], %o1                        
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2039f38:	c6 0a 20 05 	ldub  [ %o0 + 5 ], %g3                         
 2039f3c:	c4 02 20 30 	ld  [ %o0 + 0x30 ], %g2                        
 2039f40:	92 00 7f fe 	add  %g1, -2, %o1                              
 2039f44:	93 2a 40 03 	sll  %o1, %g3, %o1                             
 2039f48:	92 02 40 02 	add  %o1, %g2, %o1                             
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
 2039f4c:	c6 12 00 00 	lduh  [ %o0 ], %g3                             
                                                                      
    le_new_length = CT_LE_L((fat_fd->fat_file_size));                 
 2039f50:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
    uint32_t         le_new_length = 0;                               
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2039f54:	c4 06 60 24 	ld  [ %i1 + 0x24 ], %g2                        
 2039f58:	c8 0a 20 02 	ldub  [ %o0 + 2 ], %g4                         
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
 2039f5c:	86 00 ff ff 	add  %g3, -1, %g3                              
    uint32_t         le_new_length = 0;                               
    uint32_t         sec = 0;                                         
    uint32_t         byte = 0;                                        
                                                                      
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2039f60:	89 30 80 04 	srl  %g2, %g4, %g4                             
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
 2039f64:	94 08 c0 02 	and  %g3, %g2, %o2                             
 2039f68:	b9 28 60 18 	sll  %g1, 0x18, %i4                            
  uint32_t value                                                      
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
 2039f6c:	87 30 60 18 	srl  %g1, 0x18, %g3                            
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 2039f70:	bb 30 60 08 	srl  %g1, 8, %i5                               
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2039f74:	86 17 00 03 	or  %i4, %g3, %g3                              
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
  byte2 = (value >> 8)  & 0xff;                                       
 2039f78:	ba 0f 60 ff 	and  %i5, 0xff, %i5                            
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 2039f7c:	83 30 60 10 	srl  %g1, 0x10, %g1                            
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2039f80:	bb 2f 60 10 	sll  %i5, 0x10, %i5                            
)                                                                     
{                                                                     
  uint32_t   byte1, byte2, byte3, byte4, swapped;                     
                                                                      
  byte4 = (value >> 24) & 0xff;                                       
  byte3 = (value >> 16) & 0xff;                                       
 2039f84:	82 08 60 ff 	and  %g1, 0xff, %g1                            
  byte2 = (value >> 8)  & 0xff;                                       
  byte1 =  value        & 0xff;                                       
                                                                      
  swapped = (byte1 << 24) | (byte2 << 16) | (byte3 << 8) | byte4;     
 2039f88:	86 10 c0 1d 	or  %g3, %i5, %g3                              
 2039f8c:	83 28 60 08 	sll  %g1, 8, %g1                               
 2039f90:	86 10 c0 01 	or  %g3, %g1, %g3                              
                                                                      
    le_new_length = CT_LE_L((fat_fd->fat_file_size));                 
    ret = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_SIZE_OFFSET, 4,
 2039f94:	92 02 40 04 	add  %o1, %g4, %o1                             
                                                                      
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
    byte = (fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1));  
                                                                      
    le_new_length = CT_LE_L((fat_fd->fat_file_size));                 
 2039f98:	c6 27 bf fc 	st  %g3, [ %fp + -4 ]                          
    ret = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_SIZE_OFFSET, 4,
 2039f9c:	94 02 a0 1c 	add  %o2, 0x1c, %o2                            
 2039fa0:	96 10 20 04 	mov  4, %o3                                    
 2039fa4:	7f ff bf 94 	call  2029df4 <_fat_block_write>               
 2039fa8:	98 07 bf fc 	add  %fp, -4, %o4                              
                           (char *)(&le_new_length));                 
    if ( ret < 0 )                                                    
        return -1;                                                    
                                                                      
    return RC_OK;                                                     
}                                                                     
 2039fac:	b1 3a 20 1f 	sra  %o0, 0x1f, %i0                            
 2039fb0:	81 c7 e0 08 	ret                                            
 2039fb4:	81 e8 00 00 	restore                                        
                                                                      

02039fb8 <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 ) {
 2039fb8:	9d e3 bf 90 	save  %sp, -112, %sp                           
    ssize_t          ret;                                             
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
 2039fbc:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
    uint32_t         dir_block_size;                                  
    fat_pos_t        start = dir_pos->lname;                          
    fat_pos_t        end = dir_pos->sname;                            
 2039fc0:	f8 06 40 00 	ld  [ %i1 ], %i4                               
    )                                                                 
{                                                                     
    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;                          
 2039fc4:	c8 06 60 08 	ld  [ %i1 + 8 ], %g4                           
 2039fc8:	c6 06 60 0c 	ld  [ %i1 + 0xc ], %g3                         
    fat_pos_t        end = dir_pos->sname;                            
 2039fcc:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
 2039fd0:	c4 07 60 38 	ld  [ %i5 + 0x38 ], %g2                        
msdos_set_first_char4file_name(                                       
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_dir_pos_t                        *dir_pos,                    
    unsigned char                         fchar                       
    )                                                                 
{                                                                     
 2039fd4:	f4 2f a0 4c 	stb  %i2, [ %fp + 0x4c ]                       
    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;                          
 2039fd8:	c8 27 bf f0 	st  %g4, [ %fp + -16 ]                         
 2039fdc:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         
    fat_pos_t        end = dir_pos->sname;                            
 2039fe0:	f8 27 bf f8 	st  %i4, [ %fp + -8 ]                          
                                                                      
    if ((end.cln == fs_info->fat.vol.rdir_cl) &&                      
 2039fe4:	80 a7 00 02 	cmp  %i4, %g2                                  
 2039fe8:	02 80 00 56 	be  203a140 <msdos_set_first_char4file_name+0x188><== ALWAYS TAKEN
 2039fec:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
      dir_block_size = fs_info->fat.vol.rdir_size;                    
    else                                                              
      dir_block_size = fs_info->fat.vol.bpc;                          
                                                                      
    if (dir_pos->lname.cln == FAT_FILE_SHORT_NAME)                    
 2039ff0:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           <== NOT EXECUTED
 2039ff4:	80 a0 bf ff 	cmp  %g2, -1                                   <== NOT EXECUTED
 2039ff8:	02 80 00 59 	be  203a15c <msdos_set_first_char4file_name+0x1a4><== NOT EXECUTED
 2039ffc:	f6 17 60 06 	lduh  [ %i5 + 6 ], %i3                         <== NOT EXECUTED
 203a000:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 203a004:	c4 0f 60 02 	ldub  [ %i5 + 2 ], %g2                         
 203a008:	d4 17 40 00 	lduh  [ %i5 ], %o2                             
 203a00c:	10 80 00 1d 	b  203a080 <msdos_set_first_char4file_name+0xc8>
 203a010:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 203a014:	80 88 e0 03 	btst  3, %g3                                   
 203a018:	22 80 00 1e 	be,a   203a090 <msdos_set_first_char4file_name+0xd8><== NEVER TAKEN
 203a01c:	c8 0f 60 05 	ldub  [ %i5 + 5 ], %g4                         <== NOT EXECUTED
        return fs_info->vol.rdir_loc;                                 
 203a020:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
     * interface.                                                     
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(&fs_info->fat, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
 203a024:	85 30 40 02 	srl  %g1, %g2, %g2                             
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));       
 203a028:	95 2a a0 10 	sll  %o2, 0x10, %o2                            
                                                                      
      ret = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_NAME_OFFSET,
 203a02c:	90 10 00 1d 	mov  %i5, %o0                                  
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(&fs_info->fat, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));       
 203a030:	95 32 a0 10 	srl  %o2, 0x10, %o2                            
                                                                      
      ret = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_NAME_OFFSET,
 203a034:	92 02 40 02 	add  %o1, %g2, %o1                             
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(&fs_info->fat, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));       
 203a038:	94 02 bf ff 	add  %o2, -1, %o2                              
                                                                      
      ret = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_NAME_OFFSET,
 203a03c:	96 10 20 01 	mov  1, %o3                                    
 203a040:	94 08 40 0a 	and  %g1, %o2, %o2                             
 203a044:	7f ff bf 6c 	call  2029df4 <_fat_block_write>               
 203a048:	98 07 a0 4c 	add  %fp, 0x4c, %o4                            
                             1, &fchar);                              
      if (ret < 0)                                                    
 203a04c:	80 a2 20 00 	cmp  %o0, 0                                    
 203a050:	06 80 00 22 	bl  203a0d8 <msdos_set_first_char4file_name+0x120><== NEVER TAKEN
 203a054:	90 10 3f ff 	mov  -1, %o0                                   
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
 203a058:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         
 203a05c:	80 a7 00 09 	cmp  %i4, %o1                                  
 203a060:	02 80 00 20 	be  203a0e0 <msdos_set_first_char4file_name+0x128><== ALWAYS TAKEN
 203a064:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
        break;                                                        
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
 203a068:	82 00 60 20 	add  %g1, 0x20, %g1                            <== NOT EXECUTED
      if (start.ofs >= dir_block_size)                                
 203a06c:	80 a6 c0 01 	cmp  %i3, %g1                                  
 203a070:	08 80 00 23 	bleu  203a0fc <msdos_set_first_char4file_name+0x144><== NEVER TAKEN
 203a074:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
 203a078:	c4 0f 60 02 	ldub  [ %i5 + 2 ], %g2                         
 203a07c:	d4 17 40 00 	lduh  [ %i5 ], %o2                             
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 203a080:	80 a2 60 00 	cmp  %o1, 0                                    
 203a084:	22 bf ff e4 	be,a   203a014 <msdos_set_first_char4file_name+0x5c><== ALWAYS TAKEN
 203a088:	c6 0f 60 0a 	ldub  [ %i5 + 0xa ], %g3                       
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 203a08c:	c8 0f 60 05 	ldub  [ %i5 + 5 ], %g4                         <== NOT EXECUTED
 203a090:	c6 07 60 30 	ld  [ %i5 + 0x30 ], %g3                        <== NOT EXECUTED
     * interface.                                                     
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(&fs_info->fat, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
 203a094:	85 30 40 02 	srl  %g1, %g2, %g2                             <== NOT EXECUTED
 203a098:	92 02 7f fe 	add  %o1, -2, %o1                              <== NOT EXECUTED
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));       
 203a09c:	95 2a a0 10 	sll  %o2, 0x10, %o2                            <== NOT EXECUTED
 203a0a0:	93 2a 40 04 	sll  %o1, %g4, %o1                             <== NOT EXECUTED
                                                                      
      ret = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_NAME_OFFSET,
 203a0a4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203a0a8:	92 02 40 03 	add  %o1, %g3, %o1                             <== NOT EXECUTED
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(&fs_info->fat, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));       
 203a0ac:	95 32 a0 10 	srl  %o2, 0x10, %o2                            <== NOT EXECUTED
                                                                      
      ret = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_NAME_OFFSET,
 203a0b0:	92 02 40 02 	add  %o1, %g2, %o1                             <== NOT EXECUTED
     */                                                               
    while (true)                                                      
    {                                                                 
      uint32_t sec = (fat_cluster_num_to_sector_num(&fs_info->fat, start.cln) +
                      (start.ofs >> fs_info->fat.vol.sec_log2));      
      uint32_t byte = (start.ofs & (fs_info->fat.vol.bps - 1));       
 203a0b4:	94 02 bf ff 	add  %o2, -1, %o2                              <== NOT EXECUTED
                                                                      
      ret = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_NAME_OFFSET,
 203a0b8:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
 203a0bc:	94 08 40 0a 	and  %g1, %o2, %o2                             <== NOT EXECUTED
 203a0c0:	7f ff bf 4d 	call  2029df4 <_fat_block_write>               <== NOT EXECUTED
 203a0c4:	98 07 a0 4c 	add  %fp, 0x4c, %o4                            <== NOT EXECUTED
                             1, &fchar);                              
      if (ret < 0)                                                    
 203a0c8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203a0cc:	16 bf ff e4 	bge  203a05c <msdos_set_first_char4file_name+0xa4><== NOT EXECUTED
 203a0d0:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         <== NOT EXECUTED
        return -1;                                                    
 203a0d4:	90 10 3f ff 	mov  -1, %o0                                   <== NOT EXECUTED
        start.ofs = 0;                                                
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
}                                                                     
 203a0d8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203a0dc:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
      ret = _fat_block_write(&fs_info->fat, sec, byte + MSDOS_FILE_NAME_OFFSET,
                             1, &fchar);                              
      if (ret < 0)                                                    
        return -1;                                                    
                                                                      
      if ((start.cln == end.cln) && (start.ofs == end.ofs))           
 203a0e0:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 203a0e4:	80 a0 40 02 	cmp  %g1, %g2                                  
 203a0e8:	32 bf ff e1 	bne,a   203a06c <msdos_set_first_char4file_name+0xb4>
 203a0ec:	82 00 60 20 	add  %g1, 0x20, %g1                            
          return rc;                                                  
        start.ofs = 0;                                                
      }                                                               
    }                                                                 
                                                                      
    return  RC_OK;                                                    
 203a0f0:	90 10 20 00 	clr  %o0                                       
}                                                                     
 203a0f4:	81 c7 e0 08 	ret                                            
 203a0f8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      
      start.ofs += MSDOS_DIRECTORY_ENTRY_STRUCT_SIZE;                 
      if (start.ofs >= dir_block_size)                                
      {                                                               
        int rc;                                                       
        if ((end.cln == fs_info->fat.vol.rdir_cl) &&                  
 203a0fc:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        <== NOT EXECUTED
 203a100:	80 a7 00 01 	cmp  %i4, %g1                                  <== NOT EXECUTED
 203a104:	12 80 00 06 	bne  203a11c <msdos_set_first_char4file_name+0x164><== NOT EXECUTED
 203a108:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
 203a10c:	c2 0f 60 0a 	ldub  [ %i5 + 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) &&                  
 203a110:	80 88 60 03 	btst  3, %g1                                   <== NOT EXECUTED
 203a114:	32 bf ff f8 	bne,a   203a0f4 <msdos_set_first_char4file_name+0x13c><== NOT EXECUTED
 203a118:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
            (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))        
          break;                                                      
        rc = fat_get_fat_cluster(&fs_info->fat, start.cln, &start.cln);
 203a11c:	40 00 27 31 	call  2043de0 <fat_get_fat_cluster>            <== NOT EXECUTED
 203a120:	94 07 bf f0 	add  %fp, -16, %o2                             <== NOT EXECUTED
        if ( rc != RC_OK )                                            
 203a124:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203a128:	12 bf ff ec 	bne  203a0d8 <msdos_set_first_char4file_name+0x120><== NOT EXECUTED
 203a12c:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
          return rc;                                                  
        start.ofs = 0;                                                
 203a130:	c0 27 bf f4 	clr  [ %fp + -12 ]                             <== NOT EXECUTED
 203a134:	d4 17 40 00 	lduh  [ %i5 ], %o2                             <== NOT EXECUTED
 203a138:	10 bf ff b5 	b  203a00c <msdos_set_first_char4file_name+0x54><== NOT EXECUTED
 203a13c:	c4 0f 60 02 	ldub  [ %i5 + 2 ], %g2                         <== NOT EXECUTED
    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) &&                      
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
 203a140:	c4 0f 60 0a 	ldub  [ %i5 + 0xa ], %g2                       
    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) &&                      
 203a144:	80 88 a0 03 	btst  3, %g2                                   
 203a148:	02 bf ff ab 	be  2039ff4 <msdos_set_first_char4file_name+0x3c><== NEVER TAKEN
 203a14c:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
        (fs_info->fat.vol.type & (FAT_FAT12 | FAT_FAT16)))            
      dir_block_size = fs_info->fat.vol.rdir_size;                    
    else                                                              
      dir_block_size = fs_info->fat.vol.bpc;                          
                                                                      
    if (dir_pos->lname.cln == FAT_FILE_SHORT_NAME)                    
 203a150:	80 a0 bf ff 	cmp  %g2, -1                                   
 203a154:	12 bf ff ab 	bne  203a000 <msdos_set_first_char4file_name+0x48>
 203a158:	f6 07 60 28 	ld  [ %i5 + 0x28 ], %i3                        
      start = dir_pos->sname;                                         
 203a15c:	f8 27 bf f0 	st  %i4, [ %fp + -16 ]                         
 203a160:	10 bf ff a8 	b  203a000 <msdos_set_first_char4file_name+0x48>
 203a164:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
                                                                      

02039e28 <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 ) {
 2039e28:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
 2039e2c:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
{                                                                     
    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;                                   
    uint16_t         le_cl_hi = 0;                                    
 2039e30:	c0 37 bf fe 	clrh  [ %fp + -2 ]                             
    rtems_filesystem_mount_table_entry_t *mt_entry,                   
    fat_file_fd_t                        *fat_fd                      
    )                                                                 
{                                                                     
    ssize_t          ret1 = 0, ret2 = 0;                              
    msdos_fs_info_t *fs_info = mt_entry->fs_info;                     
 2039e34:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
fat_cluster_num_to_sector_num(                                        
    const fat_fs_info_t *fs_info,                                     
    uint32_t             cln                                          
    )                                                                 
{                                                                     
    if ( (cln == 0) && (fs_info->vol.type & (FAT_FAT12 | FAT_FAT16)) )
 2039e38:	80 a0 60 00 	cmp  %g1, 0                                    
 2039e3c:	12 80 00 06 	bne  2039e54 <msdos_set_first_cluster_num+0x2c>
 2039e40:	f8 06 60 1c 	ld  [ %i1 + 0x1c ], %i4                        
 2039e44:	c4 0f 60 0a 	ldub  [ %i5 + 0xa ], %g2                       
 2039e48:	80 88 a0 03 	btst  3, %g2                                   
 2039e4c:	32 80 00 07 	bne,a   2039e68 <msdos_set_first_cluster_num+0x40><== ALWAYS TAKEN
 2039e50:	f4 07 60 1c 	ld  [ %i5 + 0x1c ], %i2                        
        return fs_info->vol.rdir_loc;                                 
                                                                      
    return (((cln - FAT_RSRVD_CLN) << fs_info->vol.spc_log2) +        
 2039e54:	c6 0f 60 05 	ldub  [ %i5 + 5 ], %g3                         
 2039e58:	c4 07 60 30 	ld  [ %i5 + 0x30 ], %g2                        
 2039e5c:	b4 00 7f fe 	add  %g1, -2, %i2                              
 2039e60:	b5 2e 80 03 	sll  %i2, %g3, %i2                             
 2039e64:	b4 06 80 02 	add  %i2, %g2, %i2                             
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2039e68:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
 2039e6c:	c4 0f 60 02 	ldub  [ %i5 + 2 ], %g2                         
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 2039e70:	f6 17 40 00 	lduh  [ %i5 ], %i3                             
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2039e74:	85 30 40 02 	srl  %g1, %g2, %g2                             
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 2039e78:	b6 06 ff ff 	add  %i3, -1, %i3                              
    /*                                                                
     * calculate input for _fat_block_write: convert (cluster num, offset) to
     * (sector num, new offset)                                       
     */                                                               
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    sec += (fat_fd->dir_pos.sname.ofs >> fs_info->fat.vol.sec_log2);  
 2039e7c:	b4 06 80 02 	add  %i2, %g2, %i2                             
    /* byte from points to start of 32bytes structure */              
    byte = fat_fd->dir_pos.sname.ofs & (fs_info->fat.vol.bps - 1);    
 2039e80:	b6 0e c0 01 	and  %i3, %g1, %i3                             
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
 2039e84:	85 2f 20 10 	sll  %i4, 0x10, %g2                            
                                                                      
    rc = msdos_sync_unprotected(fs_info);                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return rc;                                                        
}                                                                     
 2039e88:	33 00 00 3f 	sethi  %hi(0xfc00), %i1                        
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    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));          
 2039e8c:	85 30 a0 18 	srl  %g2, 0x18, %g2                            
                                                                      
    rc = msdos_sync_unprotected(fs_info);                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return rc;                                                        
}                                                                     
 2039e90:	b2 16 63 ff 	or  %i1, 0x3ff, %i1                            
 2039e94:	82 0f 00 19 	and  %i4, %i1, %g1                             
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    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));          
 2039e98:	83 28 60 08 	sll  %g1, 8, %g1                               
 2039e9c:	82 10 40 02 	or  %g1, %g2, %g1                              
    ret1 = _fat_block_write(&fs_info->fat, sec,                       
 2039ea0:	94 06 e0 1a 	add  %i3, 0x1a, %o2                            
 2039ea4:	92 10 00 1a 	mov  %i2, %o1                                  
 2039ea8:	96 10 20 02 	mov  2, %o3                                    
 2039eac:	98 07 bf fc 	add  %fp, -4, %o4                              
    sec = fat_cluster_num_to_sector_num(&fs_info->fat, fat_fd->dir_pos.sname.cln);
    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));          
 2039eb0:	c2 37 bf fc 	sth  %g1, [ %fp + -4 ]                         
    ret1 = _fat_block_write(&fs_info->fat, sec,                       
 2039eb4:	7f ff bf d0 	call  2029df4 <_fat_block_write>               
 2039eb8:	90 10 00 1d 	mov  %i5, %o0                                  
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
 2039ebc:	b9 37 20 10 	srl  %i4, 0x10, %i4                            
    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(&fs_info->fat, sec,                       
 2039ec0:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    rc = msdos_sync_unprotected(fs_info);                             
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
    return rc;                                                        
}                                                                     
 2039ec4:	b2 0f 00 19 	and  %i4, %i1, %i1                             
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
    ret1 = _fat_block_write(&fs_info->fat, sec,                       
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
    ret2 = _fat_block_write(&fs_info->fat, sec,                       
 2039ec8:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
    ret1 = _fat_block_write(&fs_info->fat, sec,                       
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
 2039ecc:	b9 37 20 08 	srl  %i4, 8, %i4                               
 2039ed0:	b3 2e 60 08 	sll  %i1, 8, %i1                               
    ret2 = _fat_block_write(&fs_info->fat, sec,                       
 2039ed4:	92 10 00 1a 	mov  %i2, %o1                                  
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
    ret1 = _fat_block_write(&fs_info->fat, sec,                       
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
 2039ed8:	b8 16 40 1c 	or  %i1, %i4, %i4                              
    ret2 = _fat_block_write(&fs_info->fat, sec,                       
 2039edc:	94 06 e0 14 	add  %i3, 0x14, %o2                            
                                                                      
    le_cl_low = CT_LE_W((uint16_t  )(new_cln & 0x0000FFFF));          
    ret1 = _fat_block_write(&fs_info->fat, sec,                       
                            byte + MSDOS_FIRST_CLUSTER_LOW_OFFSET, 2, 
                            (char *)(&le_cl_low));                    
    le_cl_hi = CT_LE_W((uint16_t  )((new_cln & 0xFFFF0000) >> 16));   
 2039ee0:	f8 37 bf fe 	sth  %i4, [ %fp + -2 ]                         
    ret2 = _fat_block_write(&fs_info->fat, sec,                       
 2039ee4:	96 10 20 02 	mov  2, %o3                                    
 2039ee8:	7f ff bf c3 	call  2029df4 <_fat_block_write>               
 2039eec:	98 07 bf fe 	add  %fp, -2, %o4                              
                            byte + MSDOS_FIRST_CLUSTER_HI_OFFSET, 2,  
                            (char *)(&le_cl_hi));                     
    if ( (ret1 < 0) || (ret2 < 0) )                                   
 2039ef0:	80 a2 20 00 	cmp  %o0, 0                                    
 2039ef4:	06 80 00 06 	bl  2039f0c <msdos_set_first_cluster_num+0xe4> <== NEVER TAKEN
 2039ef8:	80 a4 20 00 	cmp  %l0, 0                                    
 2039efc:	06 80 00 04 	bl  2039f0c <msdos_set_first_cluster_num+0xe4> <== NEVER TAKEN
 2039f00:	b0 10 20 00 	clr  %i0                                       
        return -1;                                                    
                                                                      
    return RC_OK;                                                     
}                                                                     
 2039f04:	81 c7 e0 08 	ret                                            
 2039f08:	81 e8 00 00 	restore                                        
 2039f0c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2039f10:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      

0203b4d4 <msdos_sync>: int msdos_sync(rtems_libio_t *iop) {
 203b4d4:	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 = iop->pathinfo.mt_entry->fs_info;     
 203b4d8:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 203b4dc:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
int                                                                   
msdos_sync(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;     
 203b4e0:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           <== NOT EXECUTED
                                                                      
    sc = rtems_semaphore_obtain(fs_info->vol_sema, RTEMS_WAIT,        
 203b4e4:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 203b4e8:	7f ff 4a b7 	call  200dfc4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 203b4ec:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        <== NOT EXECUTED
                                MSDOS_VOLUME_SEMAPHORE_TIMEOUT);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 203b4f0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203b4f4:	12 80 00 09 	bne  203b518 <msdos_sync+0x44>                 <== NOT EXECUTED
 203b4f8:	01 00 00 00 	nop                                            <== NOT EXECUTED
        rtems_set_errno_and_return_minus_one(EIO);                    
                                                                      
    rc = msdos_sync_unprotected(fs_info);                             
 203b4fc:	7f ff ff e4 	call  203b48c <msdos_sync_unprotected>         <== NOT EXECUTED
 203b500:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203b504:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                                      
    rtems_semaphore_release(fs_info->vol_sema);                       
 203b508:	7f ff 4a ff 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 203b50c:	d0 07 60 90 	ld  [ %i5 + 0x90 ], %o0                        <== NOT EXECUTED
    return rc;                                                        
}                                                                     
 203b510:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b514:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    msdos_fs_info_t   *fs_info = iop->pathinfo.mt_entry->fs_info;     
                                                                      
    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);                    
 203b518:	40 00 34 fc 	call  2048908 <__errno>                        <== NOT EXECUTED
 203b51c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 203b520:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 203b524:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 203b528:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b52c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0203b48c <msdos_sync_unprotected>: return MSDOS_NAME_NOT_FOUND_ERR; } int msdos_sync_unprotected(msdos_fs_info_t *fs_info) {
 203b48c:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int rc = fat_buf_release(&fs_info->fat);                          
 203b490:	7f ff b9 d9 	call  2029bf4 <fat_buf_release>                
 203b494:	90 10 00 18 	mov  %i0, %o0                                  
    return MSDOS_NAME_NOT_FOUND_ERR;                                  
}                                                                     
                                                                      
int                                                                   
msdos_sync_unprotected(msdos_fs_info_t *fs_info)                      
{                                                                     
 203b498:	ba 10 00 18 	mov  %i0, %i5                                  
    int rc = fat_buf_release(&fs_info->fat);                          
 203b49c:	b0 10 00 08 	mov  %o0, %i0                                  
    rtems_status_code sc = rtems_bdbuf_syncdev(fs_info->fat.vol.dd);  
 203b4a0:	7f ff 2e c5 	call  2006fb4 <rtems_bdbuf_syncdev>            
 203b4a4:	d0 07 60 58 	ld  [ %i5 + 0x58 ], %o0                        
    if (sc != RTEMS_SUCCESSFUL) {                                     
 203b4a8:	80 a2 20 00 	cmp  %o0, 0                                    
 203b4ac:	12 80 00 04 	bne  203b4bc <msdos_sync_unprotected+0x30>     <== NEVER TAKEN
 203b4b0:	01 00 00 00 	nop                                            
	errno = EIO;                                                         
	rc = -1;                                                             
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 203b4b4:	81 c7 e0 08 	ret                                            
 203b4b8:	81 e8 00 00 	restore                                        
msdos_sync_unprotected(msdos_fs_info_t *fs_info)                      
{                                                                     
    int rc = fat_buf_release(&fs_info->fat);                          
    rtems_status_code sc = rtems_bdbuf_syncdev(fs_info->fat.vol.dd);  
    if (sc != RTEMS_SUCCESSFUL) {                                     
	errno = EIO;                                                         
 203b4bc:	40 00 35 13 	call  2048908 <__errno>                        <== NOT EXECUTED
 203b4c0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 203b4c4:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 203b4c8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
	rc = -1;                                                             
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 203b4cc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b4d0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02023320 <msdos_unlock>: rtems_fatal_error_occurred(0xdeadbeef); } } void msdos_unlock(const rtems_filesystem_mount_table_entry_t *mt_entry) {
 2023320:	9d e3 bf a0 	save  %sp, -96, %sp                            
  msdos_fs_info_t *fs_info = mt_entry->fs_info;                       
  rtems_status_code sc = rtems_semaphore_release(fs_info->vol_sema);  
 2023324:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2023328:	7f ff ab 77 	call  200e104 <rtems_semaphore_release>        
 202332c:	d0 00 60 90 	ld  [ %g1 + 0x90 ], %o0                        
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2023330:	80 a2 20 00 	cmp  %o0, 0                                    
 2023334:	12 80 00 04 	bne  2023344 <msdos_unlock+0x24>               <== NEVER TAKEN
 2023338:	11 37 ab 6f 	sethi  %hi(0xdeadbc00), %o0                    
 202333c:	81 c7 e0 08 	ret                                            
 2023340:	81 e8 00 00 	restore                                        
    rtems_fatal_error_occurred(0xdeadbeef);                           
 2023344:	7f ff ad 44 	call  200e854 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2023348:	90 12 22 ef 	or  %o0, 0x2ef, %o0                            <== NOT EXECUTED
                                                                      

02004490 <newlib_delete_hook>: void newlib_delete_hook( rtems_tcb *current_task, rtems_tcb *deleted_task ) {
 2004490:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
    ptr = _REENT;                                                     
 2004494:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
                                                                      
  /*                                                                  
   * The reentrancy structure was allocated by newlib using malloc()  
   */                                                                 
                                                                      
  if (current_task == deleted_task) {                                 
 2004498:	80 a6 00 19 	cmp  %i0, %i1                                  
 200449c:	02 80 00 03 	be  20044a8 <newlib_delete_hook+0x18>          
 20044a0:	fa 00 62 48 	ld  [ %g1 + 0x248 ], %i5                       
    ptr = _REENT;                                                     
  } else {                                                            
    ptr = deleted_task->libc_reent;                                   
 20044a4:	fa 06 61 54 	ld  [ %i1 + 0x154 ], %i5                       
  }                                                                   
                                                                      
  if (ptr && ptr != _global_impure_ptr) {                             
 20044a8:	80 a7 60 00 	cmp  %i5, 0                                    
 20044ac:	02 80 00 0b 	be  20044d8 <newlib_delete_hook+0x48>          <== NEVER TAKEN
 20044b0:	03 00 80 74 	sethi  %hi(0x201d000), %g1                     
 20044b4:	c2 00 60 40 	ld  [ %g1 + 0x40 ], %g1	! 201d040 <_global_impure_ptr>
 20044b8:	80 a7 40 01 	cmp  %i5, %g1                                  
 20044bc:	02 80 00 07 	be  20044d8 <newlib_delete_hook+0x48>          
 20044c0:	13 00 80 10 	sethi  %hi(0x2004000), %o1                     
    _reclaim_reent(ptr);                                              
*/                                                                    
    /*                                                                
     *  Just in case there are some buffers lying around.             
     */                                                               
    _fwalk(ptr, newlib_free_buffers);                                 
 20044c4:	90 10 00 1d 	mov  %i5, %o0                                  
 20044c8:	40 00 32 ce 	call  2011000 <_fwalk>                         
 20044cc:	92 12 62 80 	or  %o1, 0x280, %o1                            
#if REENT_MALLOCED                                                    
    free(ptr);                                                        
#else                                                                 
    _Workspace_Free(ptr);                                             
 20044d0:	40 00 1d 6f 	call  200ba8c <_Workspace_Free>                
 20044d4:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  /*                                                                  
   * Require the switch back to another task to install its own       
   */                                                                 
                                                                      
  if ( current_task == deleted_task ) {                               
 20044d8:	80 a6 00 19 	cmp  %i0, %i1                                  
 20044dc:	12 80 00 04 	bne  20044ec <newlib_delete_hook+0x5c>         
 20044e0:	c0 26 61 54 	clr  [ %i1 + 0x154 ]                           
    _REENT = 0;                                                       
 20044e4:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 20044e8:	c0 20 62 48 	clr  [ %g1 + 0x248 ]	! 201de48 <_impure_ptr>   
 20044ec:	81 c7 e0 08 	ret                                            
 20044f0:	81 e8 00 00 	restore                                        
                                                                      

02004280 <newlib_free_buffers>: */ int newlib_free_buffers( FILE *fp ) {
 2004280:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( fileno(fp) ) {                                             
 2004284:	40 00 32 6e 	call  2010c3c <fileno>                         
 2004288:	90 10 00 18 	mov  %i0, %o0                                  
 200428c:	80 a2 20 02 	cmp  %o0, 2                                    
 2004290:	28 80 00 06 	bleu,a   20042a8 <newlib_free_buffers+0x28>    <== ALWAYS TAKEN
 2004294:	c2 16 20 0c 	lduh  [ %i0 + 0xc ], %g1                       
        fp->_flags &= ~__SMBF;                                        
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
      }                                                               
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
 2004298:	40 00 31 a9 	call  201093c <fclose>                         <== NOT EXECUTED
 200429c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  }                                                                   
  return 0;                                                           
}                                                                     
 20042a0:	81 c7 e0 08 	ret                                            
 20042a4:	91 e8 20 00 	restore  %g0, 0, %o0                           
{                                                                     
  switch ( fileno(fp) ) {                                             
    case 0:                                                           
    case 1:                                                           
    case 2:                                                           
      if (fp->_flags & __SMBF) {                                      
 20042a8:	80 88 60 80 	btst  0x80, %g1                                
 20042ac:	02 bf ff fd 	be  20042a0 <newlib_free_buffers+0x20>         <== ALWAYS TAKEN
 20042b0:	01 00 00 00 	nop                                            
        free( fp->_bf._base );                                        
 20042b4:	7f ff fd 8c 	call  20038e4 <free>                           <== NOT EXECUTED
 20042b8:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        <== NOT EXECUTED
        fp->_flags &= ~__SMBF;                                        
 20042bc:	c2 16 20 0c 	lduh  [ %i0 + 0xc ], %g1                       <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
 20042c0:	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;                                        
 20042c4:	82 08 7f 7f 	and  %g1, -129, %g1                            <== NOT EXECUTED
        fp->_bf._base = fp->_p = (unsigned char *) NULL;              
 20042c8:	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;                                        
 20042cc:	c2 36 20 0c 	sth  %g1, [ %i0 + 0xc ]                        <== NOT EXECUTED
      break;                                                          
    default:                                                          
     fclose(fp);                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
 20042d0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20042d4:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

02001cc0 <notify>: } void notify (s) char *s; {
 2001cc0:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
    printf ("%s test appears to be inconsistent...\n", s);            
 2001cc4:	11 00 80 90 	sethi  %hi(0x2024000), %o0                     <== NOT EXECUTED
 2001cc8:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 2001ccc:	90 12 22 10 	or  %o0, 0x210, %o0                            <== NOT EXECUTED
 2001cd0:	40 00 5e 4c 	call  2019600 <printf>                         <== NOT EXECUTED
 2001cd4:	31 00 80 90 	sethi  %hi(0x2024000), %i0                     <== NOT EXECUTED
    printf ("   PLEASE NOTIFY KARPINKSI!\n");                         
 2001cd8:	40 00 5e 8b 	call  2019704 <puts>                           <== NOT EXECUTED
 2001cdc:	91 ee 22 38 	restore  %i0, 0x238, %o0                       <== NOT EXECUTED
                                                                      

02007218 <null_op_fsmount_me>: rtems_filesystem_mount_table_entry_t *mt_entry, const void *data ) { return -1; }
 2007218:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 200721c:	90 10 3f ff 	mov  -1, %o0                                   <== NOT EXECUTED
                                                                      

02007228 <null_op_fsunmount_me>: static void null_op_fsunmount_me( rtems_filesystem_mount_table_entry_t *mt_entry ) {
 2007228:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

020071f0 <null_op_link>: const char *name, size_t namelen ) { return -1; }
 20071f0:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 20071f4:	90 10 3f ff 	mov  -1, %o0                                   <== NOT EXECUTED
                                                                      

02007210 <null_op_mount>: static int null_op_mount( rtems_filesystem_mount_table_entry_t *mt_entry ) { return -1; }
 2007210:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2007214:	90 10 3f ff 	mov  -1, %o0                                   <== NOT EXECUTED
                                                                      

02007240 <null_op_readlink>: char *buf, size_t bufsize ) { return -1; }
 2007240:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2007244:	90 10 3f ff 	mov  -1, %o0                                   <== NOT EXECUTED
                                                                      

02007248 <null_op_rename>: const char *name, size_t namelen ) { return -1; }
 2007248:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 200724c:	90 10 3f ff 	mov  -1, %o0                                   <== NOT EXECUTED
                                                                      

0200621c <oproc>: /* * Handle output processing */ static void oproc (unsigned char c, struct rtems_termios_tty *tty) {
 200621c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
 2006220:	c2 06 60 34 	ld  [ %i1 + 0x34 ], %g1                        
 2006224:	80 88 60 01 	btst  1, %g1                                   
 2006228:	02 80 00 21 	be  20062ac <oproc+0x90>                       <== NEVER TAKEN
 200622c:	f0 2f a0 44 	stb  %i0, [ %fp + 0x44 ]                       
    switch (c) {                                                      
 2006230:	80 a6 20 09 	cmp  %i0, 9                                    
 2006234:	22 80 00 3d 	be,a   2006328 <oproc+0x10c>                   
 2006238:	c6 06 60 28 	ld  [ %i1 + 0x28 ], %g3                        
 200623c:	08 80 00 22 	bleu  20062c4 <oproc+0xa8>                     <== NEVER TAKEN
 2006240:	80 a6 20 08 	cmp  %i0, 8                                    
 2006244:	80 a6 20 0a 	cmp  %i0, 0xa                                  
 2006248:	02 80 00 2b 	be  20062f4 <oproc+0xd8>                       
 200624c:	80 a6 20 0d 	cmp  %i0, 0xd                                  
 2006250:	02 80 00 45 	be  2006364 <oproc+0x148>                      <== NEVER TAKEN
 2006254:	80 88 60 10 	btst  0x10, %g1                                
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
 2006258:	80 88 60 02 	btst  2, %g1                                   
        c = toupper(c);                                               
 200625c:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
      if (tty->column > 0)                                            
        tty->column--;                                                
      break;                                                          
                                                                      
    default:                                                          
      if (tty->termios.c_oflag & OLCUC)                               
 2006260:	02 80 00 0b 	be  200628c <oproc+0x70>                       <== ALWAYS TAKEN
 2006264:	c2 00 62 40 	ld  [ %g1 + 0x240 ], %g1	! 201de40 <__ctype_ptr__>
        c = toupper(c);                                               
 2006268:	84 10 00 18 	mov  %i0, %g2                                  <== NOT EXECUTED
 200626c:	b0 00 40 18 	add  %g1, %i0, %i0                             <== NOT EXECUTED
 2006270:	c6 0e 20 01 	ldub  [ %i0 + 1 ], %g3                         <== NOT EXECUTED
 2006274:	86 08 e0 03 	and  %g3, 3, %g3                               <== NOT EXECUTED
 2006278:	80 a0 e0 02 	cmp  %g3, 2                                    <== NOT EXECUTED
 200627c:	22 80 00 02 	be,a   2006284 <oproc+0x68>                    <== NOT EXECUTED
 2006280:	84 00 bf e0 	add  %g2, -32, %g2                             <== NOT EXECUTED
 2006284:	c4 2f a0 44 	stb  %g2, [ %fp + 0x44 ]                       <== NOT EXECUTED
 2006288:	b0 08 a0 ff 	and  %g2, 0xff, %i0                            <== NOT EXECUTED
      if (!iscntrl(c))                                                
 200628c:	b0 00 40 18 	add  %g1, %i0, %i0                             
 2006290:	c2 0e 20 01 	ldub  [ %i0 + 1 ], %g1                         
 2006294:	80 88 60 20 	btst  0x20, %g1                                
 2006298:	12 80 00 06 	bne  20062b0 <oproc+0x94>                      <== NEVER TAKEN
 200629c:	90 07 a0 44 	add  %fp, 0x44, %o0                            
        tty->column++;                                                
 20062a0:	c2 06 60 28 	ld  [ %i1 + 0x28 ], %g1                        
 20062a4:	82 00 60 01 	inc  %g1                                       
 20062a8:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
 20062ac:	90 07 a0 44 	add  %fp, 0x44, %o0                            
 20062b0:	92 10 20 01 	mov  1, %o1                                    
 20062b4:	7f ff ff 8a 	call  20060dc <rtems_termios_puts>             
 20062b8:	94 10 00 19 	mov  %i1, %o2                                  
 20062bc:	81 c7 e0 08 	ret                                            
 20062c0:	81 e8 00 00 	restore                                        
oproc (unsigned char c, struct rtems_termios_tty *tty)                
{                                                                     
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
 20062c4:	12 bf ff e6 	bne  200625c <oproc+0x40>                      <== NOT EXECUTED
 20062c8:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
      }                                                               
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
 20062cc:	c2 06 60 28 	ld  [ %i1 + 0x28 ], %g1                        <== NOT EXECUTED
 20062d0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20062d4:	04 bf ff f6 	ble  20062ac <oproc+0x90>                      <== NOT EXECUTED
 20062d8:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
      if (!iscntrl(c))                                                
        tty->column++;                                                
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
 20062dc:	90 07 a0 44 	add  %fp, 0x44, %o0                            <== NOT EXECUTED
      tty->column += i;                                               
      break;                                                          
                                                                      
    case '\b':                                                        
      if (tty->column > 0)                                            
        tty->column--;                                                
 20062e0:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        <== NOT EXECUTED
      if (!iscntrl(c))                                                
        tty->column++;                                                
      break;                                                          
    }                                                                 
  }                                                                   
  rtems_termios_puts (&c, 1, tty);                                    
 20062e4:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 20062e8:	7f ff ff 7d 	call  20060dc <rtems_termios_puts>             <== NOT EXECUTED
 20062ec:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 20062f0:	30 80 00 1b 	b,a   200635c <oproc+0x140>                    <== NOT EXECUTED
  int  i;                                                             
                                                                      
  if (tty->termios.c_oflag & OPOST) {                                 
    switch (c) {                                                      
    case '\n':                                                        
      if (tty->termios.c_oflag & ONLRET)                              
 20062f4:	80 88 60 20 	btst  0x20, %g1                                
 20062f8:	32 80 00 02 	bne,a   2006300 <oproc+0xe4>                   <== NEVER TAKEN
 20062fc:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            <== NOT EXECUTED
        tty->column = 0;                                              
      if (tty->termios.c_oflag & ONLCR) {                             
 2006300:	80 88 60 04 	btst  4, %g1                                   
 2006304:	22 bf ff eb 	be,a   20062b0 <oproc+0x94>                    <== NEVER TAKEN
 2006308:	90 07 a0 44 	add  %fp, 0x44, %o0                            <== NOT EXECUTED
        rtems_termios_puts ("\r", 1, tty);                            
 200630c:	92 10 20 01 	mov  1, %o1                                    
 2006310:	11 00 80 71 	sethi  %hi(0x201c400), %o0                     
 2006314:	94 10 00 19 	mov  %i1, %o2                                  
 2006318:	7f ff ff 71 	call  20060dc <rtems_termios_puts>             
 200631c:	90 12 21 30 	or  %o0, 0x130, %o0                            
        tty->column = 0;                                              
 2006320:	10 bf ff e3 	b  20062ac <oproc+0x90>                        
 2006324:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            
      }                                                               
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
 2006328:	92 10 20 08 	mov  8, %o1                                    
 200632c:	88 08 e0 07 	and  %g3, 7, %g4                               
 2006330:	92 22 40 04 	sub  %o1, %g4, %o1                             
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
        tty->column += i;                                             
 2006334:	86 00 c0 09 	add  %g3, %o1, %g3                             
      tty->column = 0;                                                
      break;                                                          
                                                                      
    case '\t':                                                        
      i = 8 - (tty->column & 7);                                      
      if ((tty->termios.c_oflag & TABDLY) == XTABS) {                 
 2006338:	05 00 00 06 	sethi  %hi(0x1800), %g2                        
 200633c:	82 08 40 02 	and  %g1, %g2, %g1                             
 2006340:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006344:	12 bf ff da 	bne  20062ac <oproc+0x90>                      <== NEVER TAKEN
 2006348:	c6 26 60 28 	st  %g3, [ %i1 + 0x28 ]                        
        tty->column += i;                                             
        rtems_termios_puts ( "        ",  i, tty);                    
 200634c:	11 00 80 71 	sethi  %hi(0x201c400), %o0                     
 2006350:	94 10 00 19 	mov  %i1, %o2                                  
 2006354:	7f ff ff 62 	call  20060dc <rtems_termios_puts>             
 2006358:	90 12 21 38 	or  %o0, 0x138, %o0                            
        return;                                                       
 200635c:	81 c7 e0 08 	ret                                            
 2006360:	81 e8 00 00 	restore                                        
        tty->column = 0;                                              
      }                                                               
      break;                                                          
                                                                      
    case '\r':                                                        
      if ((tty->termios.c_oflag & ONOCR) && (tty->column == 0))       
 2006364:	02 80 00 06 	be  200637c <oproc+0x160>                      <== NOT EXECUTED
 2006368:	80 88 60 08 	btst  8, %g1                                   <== NOT EXECUTED
 200636c:	c4 06 60 28 	ld  [ %i1 + 0x28 ], %g2                        <== NOT EXECUTED
 2006370:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2006374:	02 bf ff d2 	be  20062bc <oproc+0xa0>                       <== NOT EXECUTED
 2006378:	80 88 60 08 	btst  8, %g1                                   <== NOT EXECUTED
        return;                                                       
      if (tty->termios.c_oflag & OCRNL) {                             
 200637c:	22 bf ff cc 	be,a   20062ac <oproc+0x90>                    <== NOT EXECUTED
 2006380:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            <== NOT EXECUTED
        c = '\n';                                                     
 2006384:	84 10 20 0a 	mov  0xa, %g2                                  <== NOT EXECUTED
        if (tty->termios.c_oflag & ONLRET)                            
 2006388:	80 88 60 20 	btst  0x20, %g1                                <== NOT EXECUTED
 200638c:	02 bf ff c8 	be  20062ac <oproc+0x90>                       <== NOT EXECUTED
 2006390:	c4 2f a0 44 	stb  %g2, [ %fp + 0x44 ]                       <== NOT EXECUTED
          tty->column = 0;                                            
        break;                                                        
      }                                                               
      tty->column = 0;                                                
      break;                                                          
 2006394:	10 bf ff c6 	b  20062ac <oproc+0x90>                        <== NOT EXECUTED
 2006398:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            <== NOT EXECUTED
                                                                      

02004d60 <partition_free>: * RETURNS: * N/A */ static void partition_free(rtems_part_desc_t *part_desc) {
 2004d60:	9d e3 bf a0 	save  %sp, -96, %sp                            
    int part_num;                                                     
                                                                      
    if (part_desc == NULL)                                            
 2004d64:	80 a6 20 00 	cmp  %i0, 0                                    
 2004d68:	02 80 00 11 	be  2004dac <partition_free+0x4c>              
 2004d6c:	01 00 00 00 	nop                                            
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
 2004d70:	c2 0e 20 01 	ldub  [ %i0 + 1 ], %g1                         
    int part_num;                                                     
                                                                      
    if (part_desc == NULL)                                            
        return;                                                       
                                                                      
    if (is_extended(part_desc->sys_type))                             
 2004d74:	82 08 60 7f 	and  %g1, 0x7f, %g1                            
 2004d78:	80 a0 60 05 	cmp  %g1, 5                                    
 2004d7c:	12 80 00 0a 	bne  2004da4 <partition_free+0x44>             <== ALWAYS TAKEN
 2004d80:	01 00 00 00 	nop                                            
 2004d84:	ba 10 20 00 	clr  %i5	! 0 <PROM_START>                      <== NOT EXECUTED
 *                                                                    
 * RETURNS:                                                           
 *      N/A                                                           
 */                                                                   
static void                                                           
partition_free(rtems_part_desc_t *part_desc)                          
 2004d88:	82 06 00 1d 	add  %i0, %i5, %g1                             <== NOT EXECUTED
    {                                                                 
        for (part_num = 0;                                            
             part_num < RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER; 
             part_num++)                                              
        {                                                             
            partition_free(part_desc->sub_part[part_num]);            
 2004d8c:	d0 00 60 18 	ld  [ %g1 + 0x18 ], %o0                        <== NOT EXECUTED
 2004d90:	7f ff ff f4 	call  2004d60 <partition_free>                 <== NOT EXECUTED
 2004d94:	ba 07 60 04 	add  %i5, 4, %i5                               <== NOT EXECUTED
    if (part_desc == NULL)                                            
        return;                                                       
                                                                      
    if (is_extended(part_desc->sys_type))                             
    {                                                                 
        for (part_num = 0;                                            
 2004d98:	80 a7 60 10 	cmp  %i5, 0x10                                 <== NOT EXECUTED
 2004d9c:	12 bf ff fc 	bne  2004d8c <partition_free+0x2c>             <== NOT EXECUTED
 2004da0:	82 06 00 1d 	add  %i0, %i5, %g1                             <== NOT EXECUTED
        {                                                             
            partition_free(part_desc->sub_part[part_num]);            
        }                                                             
    }                                                                 
                                                                      
    free(part_desc);                                                  
 2004da4:	40 00 04 3e 	call  2005e9c <free>                           
 2004da8:	81 e8 00 00 	restore                                        
 2004dac:	81 c7 e0 08 	ret                                            
 2004db0:	81 e8 00 00 	restore                                        
                                                                      

020050f8 <partition_table_get>: * RTEMS_SUCCESSFUL if success, * RTEMS_INTERNAL_ERROR otherwise */ static rtems_status_code partition_table_get(const char *dev_name, rtems_disk_desc_t *disk_desc) {
 20050f8:	9d e3 bf 50 	save  %sp, -176, %sp                           
    struct stat         dev_stat;                                     
    rtems_status_code   rc;                                           
    int                 fd;                                           
                                                                      
    fd = open(dev_name, O_RDONLY);                                    
 20050fc:	92 10 20 00 	clr  %o1                                       
 2005100:	90 10 00 18 	mov  %i0, %o0                                  
 2005104:	40 00 07 4a 	call  2006e2c <open>                           
 2005108:	b8 10 00 18 	mov  %i0, %i4                                  
    if (fd < 0)                                                       
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
 200510c:	b0 10 20 19 	mov  0x19, %i0                                 
    struct stat         dev_stat;                                     
    rtems_status_code   rc;                                           
    int                 fd;                                           
                                                                      
    fd = open(dev_name, O_RDONLY);                                    
    if (fd < 0)                                                       
 2005110:	80 a2 20 00 	cmp  %o0, 0                                    
 2005114:	06 80 00 09 	bl  2005138 <partition_table_get+0x40>         <== NEVER TAKEN
 2005118:	ba 10 00 08 	mov  %o0, %i5                                  
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    rc = fstat(fd, &dev_stat);                                        
 200511c:	40 00 03 8a 	call  2005f44 <fstat>                          
 2005120:	92 07 bf b8 	add  %fp, -72, %o1                             
    if (rc != RTEMS_SUCCESSFUL)                                       
 2005124:	80 a2 20 00 	cmp  %o0, 0                                    
 2005128:	02 80 00 06 	be  2005140 <partition_table_get+0x48>         <== ALWAYS TAKEN
 200512c:	90 06 60 08 	add  %i1, 8, %o0                               
    disk_desc->sector_size = (dev_stat.st_blksize) ? dev_stat.st_blksize :
                                              RTEMS_IDE_SECTOR_SIZE;  
                                                                      
    rc = read_mbr(fd, disk_desc);                                     
                                                                      
    close(fd);                                                        
 2005130:	40 00 02 9e 	call  2005ba8 <close>                          
 2005134:	90 10 00 1d 	mov  %i5, %o0                                  
 2005138:	81 c7 e0 08 	ret                                            
 200513c:	81 e8 00 00 	restore                                        
    {                                                                 
        close(fd);                                                    
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    strncpy (disk_desc->dev_name, dev_name, 15);                      
 2005140:	92 10 00 1c 	mov  %i4, %o1                                  
 2005144:	40 00 4b 51 	call  2017e88 <strncpy>                        
 2005148:	94 10 20 0f 	mov  0xf, %o2                                  
    disk_desc->dev = dev_stat.st_rdev;                                
 200514c:	c4 1f bf d0 	ldd  [ %fp + -48 ], %g2                        
    disk_desc->sector_size = (dev_stat.st_blksize) ? dev_stat.st_blksize :
 2005150:	c8 07 bf f8 	ld  [ %fp + -8 ], %g4                          
        close(fd);                                                    
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    strncpy (disk_desc->dev_name, dev_name, 15);                      
    disk_desc->dev = dev_stat.st_rdev;                                
 2005154:	c4 3e 40 00 	std  %g2, [ %i1 ]                              
    disk_desc->sector_size = (dev_stat.st_blksize) ? dev_stat.st_blksize :
 2005158:	80 a1 20 00 	cmp  %g4, 0                                    
 200515c:	02 80 00 03 	be  2005168 <partition_table_get+0x70>         <== ALWAYS TAKEN
 2005160:	82 10 22 00 	mov  0x200, %g1                                
 2005164:	82 10 00 04 	mov  %g4, %g1                                  <== NOT EXECUTED
 2005168:	c2 26 60 18 	st  %g1, [ %i1 + 0x18 ]                        
 */                                                                   
static rtems_status_code                                              
read_mbr(int fd, rtems_disk_desc_t *disk_desc)                        
{                                                                     
    int                  part_num;                                    
    rtems_sector_data_t *sector = NULL;                               
 200516c:	c0 27 bf b0 	clr  [ %fp + -80 ]                             
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
    new_off = lseek(fd, off, SEEK_SET);                               
 2005170:	90 10 00 1d 	mov  %i5, %o0                                  
 2005174:	92 10 20 00 	clr  %o1                                       
 2005178:	94 10 20 00 	clr  %o2                                       
 200517c:	96 10 20 00 	clr  %o3                                       
 2005180:	40 00 04 6f 	call  200633c <lseek>                          
 2005184:	b0 10 20 1b 	mov  0x1b, %i0                                 
    if (new_off != off) {                                             
 2005188:	80 92 00 09 	orcc  %o0, %o1, %g0                            
 200518c:	02 80 00 09 	be  20051b0 <partition_table_get+0xb8>         <== ALWAYS TAKEN
 2005190:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
    /* get MBR sector */                                              
    rc = get_sector(fd, 0, §or);                                  
    if (rc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        if (sector)                                                   
 2005194:	d0 07 bf b0 	ld  [ %fp + -80 ], %o0                         <== NOT EXECUTED
 2005198:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200519c:	02 bf ff e5 	be  2005130 <partition_table_get+0x38>         <== NOT EXECUTED
 20051a0:	01 00 00 00 	nop                                            <== NOT EXECUTED
         part_num++)                                                  
    {                                                                 
        rc = data_to_part_desc(data, &part_desc);                     
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            free(sector);                                             
 20051a4:	40 00 03 3e 	call  2005e9c <free>                           <== NOT EXECUTED
 20051a8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20051ac:	30 bf ff e1 	b,a   2005130 <partition_table_get+0x38>       <== NOT EXECUTED
 20051b0:	92 10 20 00 	clr  %o1	! 0 <PROM_START>                      
 20051b4:	7f ff ff 0b 	call  2004de0 <get_sector.part.0>              
 20051b8:	94 07 bf b0 	add  %fp, -80, %o2                             
    uint8_t             *data;                                        
    rtems_status_code    rc;                                          
                                                                      
    /* get MBR sector */                                              
    rc = get_sector(fd, 0, §or);                                  
    if (rc != RTEMS_SUCCESSFUL)                                       
 20051bc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20051c0:	12 bf ff f5 	bne  2005194 <partition_table_get+0x9c>        <== NEVER TAKEN
 20051c4:	d0 07 bf b0 	ld  [ %fp + -80 ], %o0                         
static bool                                                           
msdos_signature_check (rtems_sector_data_t *sector)                   
{                                                                     
    uint8_t *p = sector->data + RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_OFFSET;
                                                                      
    return ((p[0] == RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_DATA1) &&    
 20051c8:	c2 0a 22 02 	ldub  [ %o0 + 0x202 ], %g1                     
 20051cc:	80 a0 60 55 	cmp  %g1, 0x55                                 
 20051d0:	22 80 00 05 	be,a   20051e4 <partition_table_get+0xec>      <== ALWAYS TAKEN
 20051d4:	c2 0a 22 03 	ldub  [ %o0 + 0x203 ], %g1                     
    }                                                                 
                                                                      
    /* check if the partition table structure is MS-DOS style */      
    if (!msdos_signature_check(sector))                               
    {                                                                 
        free(sector);                                                 
 20051d8:	40 00 03 31 	call  2005e9c <free>                           <== NOT EXECUTED
 20051dc:	b0 10 20 19 	mov  0x19, %i0                                 <== NOT EXECUTED
 20051e0:	30 bf ff d4 	b,a   2005130 <partition_table_get+0x38>       <== NOT EXECUTED
static bool                                                           
msdos_signature_check (rtems_sector_data_t *sector)                   
{                                                                     
    uint8_t *p = sector->data + RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_OFFSET;
                                                                      
    return ((p[0] == RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_DATA1) &&    
 20051e4:	80 a0 60 aa 	cmp  %g1, 0xaa                                 
 20051e8:	12 bf ff fc 	bne  20051d8 <partition_table_get+0xe0>        <== NEVER TAKEN
 20051ec:	b4 02 21 c2 	add  %o0, 0x1c2, %i2                           
 20051f0:	b6 10 00 19 	mov  %i1, %i3                                  
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    /* read and process 4 primary partition descriptors */            
                                                                      
    data = sector->data + RTEMS_IDE_PARTITION_TABLE_OFFSET;           
 20051f4:	a0 10 00 19 	mov  %i1, %l0                                  
 20051f8:	b8 10 20 01 	mov  1, %i4                                    
 20051fc:	90 10 00 1a 	mov  %i2, %o0                                  
 2005200:	7f ff ff 0f 	call  2004e3c <data_to_part_desc.part.1>       
 2005204:	92 07 bf b4 	add  %fp, -76, %o1                             
    for (part_num = 0;                                                
         part_num < RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER;     
         part_num++)                                                  
    {                                                                 
        rc = data_to_part_desc(data, &part_desc);                     
        if (rc != RTEMS_SUCCESSFUL)                                   
 2005208:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200520c:	12 80 00 2b 	bne  20052b8 <partition_table_get+0x1c0>       <== NEVER TAKEN
 2005210:	c2 07 bf b4 	ld  [ %fp + -76 ], %g1                         
        {                                                             
            free(sector);                                             
            return rc;                                                
        }                                                             
                                                                      
        if (part_desc != NULL)                                        
 2005214:	80 a0 60 00 	cmp  %g1, 0                                    
 2005218:	22 80 00 0a 	be,a   2005240 <partition_table_get+0x148>     <== NEVER TAKEN
 200521c:	c0 24 20 28 	clr  [ %l0 + 0x28 ]                            <== NOT EXECUTED
        {                                                             
            part_desc->log_id = part_num + 1;                         
            part_desc->disk_desc = disk_desc;                         
            part_desc->end = part_desc->start + part_desc->size - 1;  
 2005220:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
 2005224:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
            return rc;                                                
        }                                                             
                                                                      
        if (part_desc != NULL)                                        
        {                                                             
            part_desc->log_id = part_num + 1;                         
 2005228:	f8 28 60 02 	stb  %i4, [ %g1 + 2 ]                          
            part_desc->disk_desc = disk_desc;                         
 200522c:	f2 20 60 10 	st  %i1, [ %g1 + 0x10 ]                        
            part_desc->end = part_desc->start + part_desc->size - 1;  
 2005230:	84 00 c0 02 	add  %g3, %g2, %g2                             
 2005234:	84 00 bf ff 	add  %g2, -1, %g2                              
 2005238:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
            disk_desc->partitions[part_num] = part_desc;              
 200523c:	c2 24 20 28 	st  %g1, [ %l0 + 0x28 ]                        
 2005240:	b8 07 20 01 	inc  %i4                                       
        else                                                          
        {                                                             
            disk_desc->partitions[part_num] = NULL;                   
        }                                                             
                                                                      
        data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;                  
 2005244:	b4 06 a0 10 	add  %i2, 0x10, %i2                            
                                                                      
    /* read and process 4 primary partition descriptors */            
                                                                      
    data = sector->data + RTEMS_IDE_PARTITION_TABLE_OFFSET;           
                                                                      
    for (part_num = 0;                                                
 2005248:	82 0f 20 ff 	and  %i4, 0xff, %g1                            
 200524c:	80 a0 60 05 	cmp  %g1, 5                                    
 2005250:	12 bf ff eb 	bne  20051fc <partition_table_get+0x104>       
 2005254:	a0 04 20 04 	add  %l0, 4, %l0                               
        }                                                             
                                                                      
        data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;                  
    }                                                                 
                                                                      
    free(sector);                                                     
 2005258:	d0 07 bf b0 	ld  [ %fp + -80 ], %o0                         
 200525c:	40 00 03 10 	call  2005e9c <free>                           
 2005260:	b8 10 20 04 	mov  4, %i4                                    
                                                                      
    disk_desc->last_log_id = RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER;
 2005264:	82 10 20 04 	mov  4, %g1                                    
 2005268:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
       but we are to process each primary partition */                
    for (part_num = 0;                                                
         part_num < RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER;     
         part_num++)                                                  
    {                                                                 
        part_desc = disk_desc->partitions[part_num];                  
 200526c:	d4 06 e0 28 	ld  [ %i3 + 0x28 ], %o2                        
        if (part_desc != NULL && is_extended(part_desc->sys_type))    
 2005270:	80 a2 a0 00 	cmp  %o2, 0                                    
 2005274:	02 80 00 07 	be  2005290 <partition_table_get+0x198>        <== NEVER TAKEN
 2005278:	d4 27 bf b4 	st  %o2, [ %fp + -76 ]                         
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
 200527c:	c2 0a a0 01 	ldub  [ %o2 + 1 ], %g1                         
    for (part_num = 0;                                                
         part_num < RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER;     
         part_num++)                                                  
    {                                                                 
        part_desc = disk_desc->partitions[part_num];                  
        if (part_desc != NULL && is_extended(part_desc->sys_type))    
 2005280:	82 08 60 7f 	and  %g1, 0x7f, %g1                            
 2005284:	80 a0 60 05 	cmp  %g1, 5                                    
 2005288:	22 80 00 06 	be,a   20052a0 <partition_table_get+0x1a8>     
 200528c:	d2 02 a0 04 	ld  [ %o2 + 4 ], %o1                           
                                                                      
    disk_desc->last_log_id = RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER;
                                                                      
    /* There cannot be more than one extended partition,              
       but we are to process each primary partition */                
    for (part_num = 0;                                                
 2005290:	b8 87 3f ff 	addcc  %i4, -1, %i4                            
 2005294:	12 bf ff f6 	bne  200526c <partition_table_get+0x174>       
 2005298:	b6 06 e0 04 	add  %i3, 4, %i3                               
 200529c:	30 bf ff a5 	b,a   2005130 <partition_table_get+0x38>       
         part_num++)                                                  
    {                                                                 
        part_desc = disk_desc->partitions[part_num];                  
        if (part_desc != NULL && is_extended(part_desc->sys_type))    
        {                                                             
            read_extended_partition(fd, part_desc->start, part_desc); 
 20052a0:	7f ff ff 34 	call  2004f70 <read_extended_partition>        
 20052a4:	90 10 00 1d 	mov  %i5, %o0                                  
            free(part_desc);                                          
 20052a8:	40 00 02 fd 	call  2005e9c <free>                           
 20052ac:	d0 07 bf b4 	ld  [ %fp + -76 ], %o0                         
            disk_desc->partitions[part_num] = NULL;                   
 20052b0:	10 bf ff f8 	b  2005290 <partition_table_get+0x198>         
 20052b4:	c0 26 e0 28 	clr  [ %i3 + 0x28 ]                            
         part_num++)                                                  
    {                                                                 
        rc = data_to_part_desc(data, &part_desc);                     
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            free(sector);                                             
 20052b8:	40 00 02 f9 	call  2005e9c <free>                           <== NOT EXECUTED
 20052bc:	d0 07 bf b0 	ld  [ %fp + -80 ], %o0                         <== NOT EXECUTED
 20052c0:	30 bf ff 9c 	b,a   2005130 <partition_table_get+0x38>       <== NOT EXECUTED
                                                                      

020048f0 <pathconf>: long pathconf( const char *path, int name ) {
 20048f0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int status;                                                         
  int fd;                                                             
                                                                      
  fd = open( path, O_RDONLY );                                        
 20048f4:	92 10 20 00 	clr  %o1                                       
 20048f8:	7f ff ff 6d 	call  20046ac <open>                           
 20048fc:	90 10 00 18 	mov  %i0, %o0                                  
  if ( fd == -1 )                                                     
 2004900:	80 a2 3f ff 	cmp  %o0, -1                                   
 2004904:	02 80 00 09 	be  2004928 <pathconf+0x38>                    <== ALWAYS TAKEN
 2004908:	ba 10 00 08 	mov  %o0, %i5                                  
    return -1;                                                        
                                                                      
  status = fpathconf( fd, name );                                     
 200490c:	40 00 15 ed 	call  200a0c0 <fpathconf>                      <== NOT EXECUTED
 2004910:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2004914:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                                      
  (void) close( fd );                                                 
 2004918:	40 00 15 bc 	call  200a008 <close>                          <== NOT EXECUTED
 200491c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
  return status;                                                      
 2004920:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2004924:	81 e8 00 00 	restore                                        <== NOT EXECUTED
}                                                                     
 2004928:	81 c7 e0 08 	ret                                            
 200492c:	91 e8 3f ff 	restore  %g0, -1, %o0                          
                                                                      

0200dc18 <pipe_create>: * Called by pipe() to create an anonymous pipe. */ int pipe_create( int filsdes[2] ) {
 200dc18:	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)          
 200dc1c:	92 10 21 ff 	mov  0x1ff, %o1                                
 200dc20:	11 00 80 86 	sethi  %hi(0x2021800), %o0                     
 200dc24:	40 00 05 c3 	call  200f330 <rtems_mkdir>                    
 200dc28:	90 12 22 58 	or  %o0, 0x258, %o0	! 2021a58 <_CPU_Trap_slot_template+0x10>
 200dc2c:	80 a2 20 00 	cmp  %o0, 0                                    
 200dc30:	12 80 00 49 	bne  200dd54 <pipe_create+0x13c>               
 200dc34:	03 00 80 8d 	sethi  %hi(0x2023400), %g1                     
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 200dc38:	d4 10 62 08 	lduh  [ %g1 + 0x208 ], %o2	! 2023608 <rtems_pipe_no>
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
 200dc3c:	05 0b dd 1b 	sethi  %hi(0x2f746c00), %g2                    
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 200dc40:	88 02 a0 01 	add  %o2, 1, %g4                               
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
 200dc44:	84 10 a1 70 	or  %g2, 0x170, %g2                            
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 200dc48:	c8 30 62 08 	sth  %g4, [ %g1 + 0x208 ]                      
  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)          
    return -1;                                                        
                                                                      
  /* /tmp/.fifoXXXX */                                                
  char fifopath[15];                                                  
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
 200dc4c:	07 0b cb 99 	sethi  %hi(0x2f2e6400), %g3                    
 200dc50:	03 00 00 19 	sethi  %hi(0x6400), %g1                        
 200dc54:	86 10 e2 69 	or  %g3, 0x269, %g3                            
 200dc58:	82 10 62 6f 	or  %g1, 0x26f, %g1                            
 200dc5c:	c4 3f bf f0 	std  %g2, [ %fp + -16 ]                        
 200dc60:	c2 37 bf f8 	sth  %g1, [ %fp + -8 ]                         
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
 200dc64:	95 2a a0 10 	sll  %o2, 0x10, %o2                            
 200dc68:	90 07 bf fa 	add  %fp, -6, %o0                              
 200dc6c:	95 32 a0 10 	srl  %o2, 0x10, %o2                            
 200dc70:	13 00 80 86 	sethi  %hi(0x2021800), %o1                     
 200dc74:	40 00 14 fb 	call  2013060 <sprintf>                        
 200dc78:	92 12 62 60 	or  %o1, 0x260, %o1	! 2021a60 <_CPU_Trap_slot_template+0x18>
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
 200dc7c:	90 07 bf f0 	add  %fp, -16, %o0                             
 200dc80:	40 00 04 f8 	call  200f060 <mkfifo>                         
 200dc84:	92 10 21 80 	mov  0x180, %o1                                
 200dc88:	80 a2 20 00 	cmp  %o0, 0                                    
 200dc8c:	12 80 00 39 	bne  200dd70 <pipe_create+0x158>               <== NEVER TAKEN
 200dc90:	90 07 bf f0 	add  %fp, -16, %o0                             
    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);                 
 200dc94:	7f ff dd 20 	call  2005114 <open>                           
 200dc98:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
  if (filsdes[0] < 0) {                                               
 200dc9c:	80 a2 20 00 	cmp  %o0, 0                                    
 200dca0:	06 80 00 20 	bl  200dd20 <pipe_create+0x108>                
 200dca4:	d0 26 00 00 	st  %o0, [ %i0 ]                               
     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]);                                
 200dca8:	03 00 80 8b 	sethi  %hi(0x2022c00), %g1                     
 200dcac:	c4 00 61 40 	ld  [ %g1 + 0x140 ], %g2	! 2022d40 <rtems_libio_number_iops>
 200dcb0:	80 a2 00 02 	cmp  %o0, %g2                                  
 200dcb4:	0a 80 00 14 	bcs  200dd04 <pipe_create+0xec>                <== ALWAYS TAKEN
 200dcb8:	82 10 20 00 	clr  %g1                                       
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
 200dcbc:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
 200dcc0:	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;                              
 200dcc4:	84 08 bf fe 	and  %g2, -2, %g2                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
 200dcc8:	92 10 20 01 	mov  1, %o1                                    
 200dccc:	7f ff dd 12 	call  2005114 <open>                           
 200dcd0:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
 200dcd4:	d0 26 20 04 	st  %o0, [ %i0 + 4 ]                           
                                                                      
    if (filsdes[1] < 0) {                                             
 200dcd8:	80 a2 20 00 	cmp  %o0, 0                                    
 200dcdc:	06 80 00 18 	bl  200dd3c <pipe_create+0x124>                
 200dce0:	ba 10 20 00 	clr  %i5                                       
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
 200dce4:	7f ff e9 51 	call  2008228 <unlink>                         
 200dce8:	90 07 bf f0 	add  %fp, -16, %o0                             
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
 200dcec:	b0 10 20 00 	clr  %i0                                       
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
 200dcf0:	80 a7 60 00 	cmp  %i5, 0                                    
 200dcf4:	12 80 00 1a 	bne  200dd5c <pipe_create+0x144>               
 200dcf8:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
}                                                                     
 200dcfc:	81 c7 e0 08 	ret                                            
 200dd00:	81 e8 00 00 	restore                                        
     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]);                                
 200dd04:	03 00 80 8e 	sethi  %hi(0x2023800), %g1                     
 200dd08:	c2 00 60 70 	ld  [ %g1 + 0x70 ], %g1	! 2023870 <rtems_libio_iops>
 200dd0c:	85 2a 20 03 	sll  %o0, 3, %g2                               
 200dd10:	91 2a 20 06 	sll  %o0, 6, %o0                               
 200dd14:	90 22 00 02 	sub  %o0, %g2, %o0                             
 200dd18:	10 bf ff e9 	b  200dcbc <pipe_create+0xa4>                  
 200dd1c:	82 00 40 08 	add  %g1, %o0, %g1                             
  }                                                                   
                                                                      
  /* Non-blocking open to avoid waiting for writers */                
  filsdes[0] = open(fifopath, O_RDONLY | O_NONBLOCK);                 
  if (filsdes[0] < 0) {                                               
    err = errno;                                                      
 200dd20:	40 00 11 6f 	call  20122dc <__errno>                        
 200dd24:	b0 10 20 00 	clr  %i0                                       
 200dd28:	fa 02 00 00 	ld  [ %o0 ], %i5                               
    /* Delete file at errors, or else if pipe is successfully created 
     the file node will be deleted after it is closed by all. */      
    unlink(fifopath);                                                 
 200dd2c:	7f ff e9 3f 	call  2008228 <unlink>                         
 200dd30:	90 07 bf f0 	add  %fp, -16, %o0                             
    err = errno;                                                      
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
 200dd34:	10 bf ff f0 	b  200dcf4 <pipe_create+0xdc>                  
 200dd38:	80 a7 60 00 	cmp  %i5, 0                                    
    iop->flags &= ~LIBIO_FLAGS_NO_DELAY;                              
                                                                      
    filsdes[1] = open(fifopath, O_WRONLY);                            
                                                                      
    if (filsdes[1] < 0) {                                             
    err = errno;                                                      
 200dd3c:	40 00 11 68 	call  20122dc <__errno>                        
 200dd40:	01 00 00 00 	nop                                            
 200dd44:	fa 02 00 00 	ld  [ %o0 ], %i5                               
    close(filsdes[0]);                                                
 200dd48:	7f ff d8 c4 	call  2004058 <close>                          
 200dd4c:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 200dd50:	30 bf ff e5 	b,a   200dce4 <pipe_create+0xcc>               
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
  return 0;                                                           
}                                                                     
 200dd54:	81 c7 e0 08 	ret                                            
 200dd58:	91 e8 3f ff 	restore  %g0, -1, %o0                          
    close(filsdes[0]);                                                
    }                                                                 
  unlink(fifopath);                                                   
  }                                                                   
  if(err != 0)                                                        
    rtems_set_errno_and_return_minus_one(err);                        
 200dd5c:	40 00 11 60 	call  20122dc <__errno>                        
 200dd60:	b0 10 3f ff 	mov  -1, %i0                                   
 200dd64:	fa 22 00 00 	st  %i5, [ %o0 ]                               
 200dd68:	81 c7 e0 08 	ret                                            
 200dd6c:	81 e8 00 00 	restore                                        
  memcpy(fifopath, "/tmp/.fifo", 10);                                 
  sprintf(fifopath + 10, "%04x", rtems_pipe_no ++);                   
                                                                      
  /* Try creating FIFO file until find an available file name */      
  while (mkfifo(fifopath, S_IRUSR|S_IWUSR) != 0) {                    
    if (errno != EEXIST){                                             
 200dd70:	40 00 11 5b 	call  20122dc <__errno>                        <== NOT EXECUTED
 200dd74:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 200dd78:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200dd7c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200f268 <pipe_ioctl>: pipe_control_t *pipe, ioctl_command_t cmd, void *buffer, rtems_libio_t *iop ) {
 200f268:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (cmd == FIONREAD) {                                              
 200f26c:	03 10 01 19 	sethi  %hi(0x40046400), %g1                    
 200f270:	82 10 62 7f 	or  %g1, 0x27f, %g1	! 4004667f <RAM_END+0x3dc4667f>
 200f274:	80 a6 40 01 	cmp  %i1, %g1                                  
 200f278:	12 80 00 11 	bne  200f2bc <pipe_ioctl+0x54>                 
 200f27c:	80 a6 a0 00 	cmp  %i2, 0                                    
    if (buffer == NULL)                                               
 200f280:	02 80 00 13 	be  200f2cc <pipe_ioctl+0x64>                  
 200f284:	92 10 20 00 	clr  %o1                                       
      return -EFAULT;                                                 
                                                                      
    if (! PIPE_LOCK(pipe))                                            
 200f288:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
 200f28c:	7f ff e9 42 	call  2009794 <rtems_semaphore_obtain>         
 200f290:	94 10 20 00 	clr  %o2                                       
 200f294:	80 a2 20 00 	cmp  %o0, 0                                    
 200f298:	12 80 00 0b 	bne  200f2c4 <pipe_ioctl+0x5c>                 <== NEVER TAKEN
 200f29c:	01 00 00 00 	nop                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
 200f2a0:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
    PIPE_UNLOCK(pipe);                                                
 200f2a4:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
                                                                      
    if (! PIPE_LOCK(pipe))                                            
      return -EINTR;                                                  
                                                                      
    /* Return length of pipe */                                       
    *(unsigned int *)buffer = pipe->Length;                           
 200f2a8:	c2 26 80 00 	st  %g1, [ %i2 ]                               
    PIPE_UNLOCK(pipe);                                                
 200f2ac:	7f ff e9 8a 	call  20098d4 <rtems_semaphore_release>        
 200f2b0:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
 200f2b4:	81 c7 e0 08 	ret                                            
 200f2b8:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  return -EINVAL;                                                     
 200f2bc:	81 c7 e0 08 	ret                                            
 200f2c0:	91 e8 3f ea 	restore  %g0, -22, %o0                         
}                                                                     
 200f2c4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f2c8:	91 e8 3f fc 	restore  %g0, -4, %o0                          <== NOT EXECUTED
  rtems_libio_t   *iop                                                
)                                                                     
{                                                                     
  if (cmd == FIONREAD) {                                              
    if (buffer == NULL)                                               
      return -EFAULT;                                                 
 200f2cc:	81 c7 e0 08 	ret                                            
 200f2d0:	91 e8 3f f2 	restore  %g0, -14, %o0                         
                                                                      

0200eea4 <pipe_read>: pipe_control_t *pipe, void *buffer, size_t count, rtems_libio_t *iop ) {
 200eea4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 200eea8:	d0 06 20 28 	ld  [ %i0 + 0x28 ], %o0                        
 200eeac:	92 10 20 00 	clr  %o1                                       
 200eeb0:	94 10 20 00 	clr  %o2                                       
 200eeb4:	7f ff ea 38 	call  2009794 <rtems_semaphore_obtain>         
 200eeb8:	ba 10 00 18 	mov  %i0, %i5                                  
 200eebc:	80 a2 20 00 	cmp  %o0, 0                                    
 200eec0:	12 80 00 60 	bne  200f040 <pipe_read+0x19c>                 <== NEVER TAKEN
 200eec4:	a0 10 20 00 	clr  %l0                                       
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
 200eec8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200eecc:	02 80 00 53 	be  200f018 <pipe_read+0x174>                  <== NEVER TAKEN
 200eed0:	b0 10 20 00 	clr  %i0                                       
    while (PIPE_EMPTY(pipe)) {                                        
 200eed4:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200eed8:	80 a0 60 00 	cmp  %g1, 0                                    
 200eedc:	12 80 00 29 	bne  200ef80 <pipe_read+0xdc>                  
 200eee0:	84 26 80 10 	sub  %i2, %l0, %g2                             
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
 200eee4:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 200eee8:	80 a0 60 00 	cmp  %g1, 0                                    
 200eeec:	02 80 00 1c 	be  200ef5c <pipe_read+0xb8>                   
 200eef0:	b8 10 20 00 	clr  %i4                                       
        goto out_locked;                                              
                                                                      
      if (LIBIO_NODELAY(iop)) {                                       
 200eef4:	c2 06 e0 10 	ld  [ %i3 + 0x10 ], %g1                        
 200eef8:	80 88 60 01 	btst  1, %g1                                   
 200eefc:	32 80 00 18 	bne,a   200ef5c <pipe_read+0xb8>               
 200ef00:	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 ++;                                        
 200ef04:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
      PIPE_UNLOCK(pipe);                                              
 200ef08:	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 ++;                                        
 200ef0c:	82 00 60 01 	inc  %g1                                       
      PIPE_UNLOCK(pipe);                                              
 200ef10:	7f ff ea 71 	call  20098d4 <rtems_semaphore_release>        
 200ef14:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        
      if (! PIPE_READWAIT(pipe))                                      
 200ef18:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 200ef1c:	40 00 05 cf 	call  2010658 <rtems_barrier_wait>             
 200ef20:	92 10 20 00 	clr  %o1                                       
 200ef24:	80 a0 00 08 	cmp  %g0, %o0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 200ef28:	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))                                      
 200ef2c:	b8 60 20 00 	subx  %g0, 0, %i4                              
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 200ef30:	92 10 20 00 	clr  %o1                                       
 200ef34:	94 10 20 00 	clr  %o2                                       
 200ef38:	7f ff ea 17 	call  2009794 <rtems_semaphore_obtain>         
 200ef3c:	b8 0f 3f fc 	and  %i4, -4, %i4                              
 200ef40:	80 a2 20 00 	cmp  %o0, 0                                    
 200ef44:	12 80 00 37 	bne  200f020 <pipe_read+0x17c>                 <== NEVER TAKEN
 200ef48:	80 a7 20 00 	cmp  %i4, 0                                    
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingReaders --;                                        
 200ef4c:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 200ef50:	82 00 7f ff 	add  %g1, -1, %g1                              
      if (ret != 0)                                                   
 200ef54:	02 bf ff e0 	be  200eed4 <pipe_read+0x30>                   <== ALWAYS TAKEN
 200ef58:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
 200ef5c:	7f ff ea 5e 	call  20098d4 <rtems_semaphore_release>        
 200ef60:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
out_nolock:                                                           
  if (read > 0)                                                       
 200ef64:	80 a6 20 00 	cmp  %i0, 0                                    
 200ef68:	04 80 00 04 	ble  200ef78 <pipe_read+0xd4>                  
 200ef6c:	01 00 00 00 	nop                                            
    return read;                                                      
  return ret;                                                         
}                                                                     
 200ef70:	81 c7 e0 08 	ret                                            
 200ef74:	81 e8 00 00 	restore                                        
 200ef78:	81 c7 e0 08 	ret                                            
 200ef7c:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
      if (ret != 0)                                                   
        goto out_locked;                                              
    }                                                                 
                                                                      
    /* Read chunk bytes */                                            
    chunk = MIN(count - read,  pipe->Length);                         
 200ef80:	80 a0 40 02 	cmp  %g1, %g2                                  
 200ef84:	08 80 00 03 	bleu  200ef90 <pipe_read+0xec>                 
 200ef88:	b8 10 00 01 	mov  %g1, %i4                                  
 200ef8c:	b8 10 00 02 	mov  %g2, %i4                                  
    chunk1 = pipe->Size - pipe->Start;                                
 200ef90:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200ef94:	e2 07 60 04 	ld  [ %i5 + 4 ], %l1                           
 200ef98:	a2 24 40 01 	sub  %l1, %g1, %l1                             
    if (chunk > chunk1) {                                             
 200ef9c:	80 a7 00 11 	cmp  %i4, %l1                                  
 200efa0:	04 80 00 22 	ble  200f028 <pipe_read+0x184>                 
 200efa4:	d2 07 40 00 	ld  [ %i5 ], %o1                               
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk1);      
 200efa8:	94 10 00 11 	mov  %l1, %o2                                  
 200efac:	92 02 40 01 	add  %o1, %g1, %o1                             
 200efb0:	40 00 12 ba 	call  2013a98 <memcpy>                         
 200efb4:	90 06 40 10 	add  %i1, %l0, %o0                             
      memcpy(buffer + read + chunk1, pipe->Buffer, chunk - chunk1);   
 200efb8:	d2 07 40 00 	ld  [ %i5 ], %o1                               
 200efbc:	90 04 00 11 	add  %l0, %l1, %o0                             
 200efc0:	94 27 00 11 	sub  %i4, %l1, %o2                             
 200efc4:	40 00 12 b5 	call  2013a98 <memcpy>                         
 200efc8:	90 06 40 08 	add  %i1, %o0, %o0                             
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
 200efcc:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
    pipe->Start %= pipe->Size;                                        
 200efd0:	d2 07 60 04 	ld  [ %i5 + 4 ], %o1                           
 200efd4:	40 00 42 a8 	call  201fa74 <.urem>                          
 200efd8:	90 07 00 08 	add  %i4, %o0, %o0                             
    pipe->Length -= chunk;                                            
 200efdc:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    }                                                                 
    else                                                              
      memcpy(buffer + read, pipe->Buffer + pipe->Start, chunk);       
                                                                      
    pipe->Start += chunk;                                             
    pipe->Start %= pipe->Size;                                        
 200efe0:	d0 27 60 08 	st  %o0, [ %i5 + 8 ]                           
    pipe->Length -= chunk;                                            
 200efe4:	82 20 40 1c 	sub  %g1, %i4, %g1                             
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
 200efe8:	80 a0 60 00 	cmp  %g1, 0                                    
 200efec:	12 80 00 03 	bne  200eff8 <pipe_read+0x154>                 
 200eff0:	c2 27 60 0c 	st  %g1, [ %i5 + 0xc ]                         
      pipe->Start = 0;                                                
 200eff4:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
                                                                      
    if (pipe->waitingWriters > 0)                                     
 200eff8:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200effc:	80 a0 60 00 	cmp  %g1, 0                                    
 200f000:	32 80 00 12 	bne,a   200f048 <pipe_read+0x1a4>              
 200f004:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
      PIPE_WAKEUPWRITERS(pipe);                                       
    read += chunk;                                                    
 200f008:	b0 06 00 1c 	add  %i0, %i4, %i0                             
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
                                                                      
  while (read < count) {                                              
 200f00c:	80 a6 00 1a 	cmp  %i0, %i2                                  
 200f010:	0a bf ff b1 	bcs  200eed4 <pipe_read+0x30>                  <== NEVER TAKEN
 200f014:	a0 10 00 18 	mov  %i0, %l0                                  
    while (PIPE_EMPTY(pipe)) {                                        
      /* Not an error */                                              
      if (pipe->Writers == 0)                                         
 200f018:	10 bf ff d1 	b  200ef5c <pipe_read+0xb8>                    
 200f01c:	b8 10 20 00 	clr  %i4                                       
      PIPE_UNLOCK(pipe);                                              
      if (! PIPE_READWAIT(pipe))                                      
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
        /* WARN waitingReaders not restored! */                       
        ret = -EINTR;                                                 
 200f020:	10 bf ff d1 	b  200ef64 <pipe_read+0xc0>                    <== NOT EXECUTED
 200f024:	b8 10 3f fc 	mov  -4, %i4                                   <== NOT EXECUTED
    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);       
 200f028:	90 06 40 10 	add  %i1, %l0, %o0                             
 200f02c:	92 02 40 01 	add  %o1, %g1, %o1                             
 200f030:	40 00 12 9a 	call  2013a98 <memcpy>                         
 200f034:	94 10 00 1c 	mov  %i4, %o2                                  
                                                                      
    pipe->Start += chunk;                                             
 200f038:	10 bf ff e6 	b  200efd0 <pipe_read+0x12c>                   
 200f03c:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
)                                                                     
{                                                                     
  int chunk, chunk1, read = 0, ret = 0;                               
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
 200f040:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f044:	91 e8 3f fc 	restore  %g0, -4, %o0                          <== NOT EXECUTED
    /* For buffering optimization */                                  
    if (PIPE_EMPTY(pipe))                                             
      pipe->Start = 0;                                                
                                                                      
    if (pipe->waitingWriters > 0)                                     
      PIPE_WAKEUPWRITERS(pipe);                                       
 200f048:	40 00 05 6c 	call  20105f8 <rtems_barrier_release>          
 200f04c:	92 07 bf fc 	add  %fp, -4, %o1                              
    read += chunk;                                                    
 200f050:	10 bf ff ef 	b  200f00c <pipe_read+0x168>                   
 200f054:	b0 06 00 1c 	add  %i0, %i4, %i0                             
                                                                      

0200e8f4 <pipe_release>: */ void pipe_release( pipe_control_t **pipep, rtems_libio_t *iop ) {
 200e8f4:	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);                                          
 200e8f8:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
void pipe_release(                                                    
  pipe_control_t **pipep,                                             
  rtems_libio_t *iop                                                  
)                                                                     
{                                                                     
  pipe_control_t *pipe = *pipep;                                      
 200e8fc:	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)                                        
 200e900:	80 88 60 02 	btst  2, %g1                                   
 200e904:	02 80 00 05 	be  200e918 <pipe_release+0x24>                
 200e908:	b8 08 60 06 	and  %g1, 6, %i4                               
     pipe->Readers --;                                                
 200e90c:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
 200e910:	84 00 bf ff 	add  %g2, -1, %g2                              
 200e914:	c4 27 60 10 	st  %g2, [ %i5 + 0x10 ]                        
  if (mode & LIBIO_FLAGS_WRITE)                                       
 200e918:	80 88 60 04 	btst  4, %g1                                   
 200e91c:	02 80 00 05 	be  200e930 <pipe_release+0x3c>                
 200e920:	01 00 00 00 	nop                                            
     pipe->Writers --;                                                
 200e924:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 200e928:	82 00 7f ff 	add  %g1, -1, %g1                              
 200e92c:	c2 27 60 14 	st  %g1, [ %i5 + 0x14 ]                        
                                                                      
  PIPE_UNLOCK(pipe);                                                  
 200e930:	7f ff eb e9 	call  20098d4 <rtems_semaphore_release>        
 200e934:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
 200e938:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200e93c:	80 a0 60 00 	cmp  %g1, 0                                    
 200e940:	02 80 00 0f 	be  200e97c <pipe_release+0x88>                
 200e944:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
  else if (pipe->Writers == 0 && mode != LIBIO_FLAGS_READ)            
 200e948:	80 a0 60 00 	cmp  %g1, 0                                    
 200e94c:	12 80 00 07 	bne  200e968 <pipe_release+0x74>               <== NEVER TAKEN
 200e950:	80 a7 20 02 	cmp  %i4, 2                                    
 200e954:	02 80 00 06 	be  200e96c <pipe_release+0x78>                <== NEVER TAKEN
 200e958:	03 00 80 91 	sethi  %hi(0x2024400), %g1                     
    PIPE_WAKEUPREADERS(pipe);                                         
 200e95c:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 200e960:	40 00 07 26 	call  20105f8 <rtems_barrier_release>          
 200e964:	92 07 bf fc 	add  %fp, -4, %o1                              
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
 200e968:	03 00 80 91 	sethi  %hi(0x2024400), %g1                     
 200e96c:	7f ff eb da 	call  20098d4 <rtems_semaphore_release>        
 200e970:	d0 00 61 d8 	ld  [ %g1 + 0x1d8 ], %o0	! 20245d8 <pipe_semaphore>
 200e974:	81 c7 e0 08 	ret                                            
 200e978:	81 e8 00 00 	restore                                        
  if (mode & LIBIO_FLAGS_WRITE)                                       
     pipe->Writers --;                                                
                                                                      
  PIPE_UNLOCK(pipe);                                                  
                                                                      
  if (pipe->Readers == 0 && pipe->Writers == 0) {                     
 200e97c:	80 a0 60 00 	cmp  %g1, 0                                    
 200e980:	02 80 00 0c 	be  200e9b0 <pipe_release+0xbc>                
 200e984:	80 a7 20 04 	cmp  %i4, 4                                    
      delfile = TRUE;                                                 
#endif                                                                
    pipe_free(pipe);                                                  
    *pipep = NULL;                                                    
  }                                                                   
  else if (pipe->Readers == 0 && mode != LIBIO_FLAGS_WRITE)           
 200e988:	02 bf ff f9 	be  200e96c <pipe_release+0x78>                <== NEVER TAKEN
 200e98c:	03 00 80 91 	sethi  %hi(0x2024400), %g1                     
    /* Notify waiting Writers that all their partners left */         
    PIPE_WAKEUPWRITERS(pipe);                                         
 200e990:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
 200e994:	40 00 07 19 	call  20105f8 <rtems_barrier_release>          
 200e998:	92 07 bf fc 	add  %fp, -4, %o1                              
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
 200e99c:	03 00 80 91 	sethi  %hi(0x2024400), %g1                     
 200e9a0:	7f ff eb cd 	call  20098d4 <rtems_semaphore_release>        
 200e9a4:	d0 00 61 d8 	ld  [ %g1 + 0x1d8 ], %o0	! 20245d8 <pipe_semaphore>
 200e9a8:	81 c7 e0 08 	ret                                            
 200e9ac:	81 e8 00 00 	restore                                        
/* Called with pipe_semaphore held. */                                
static inline void pipe_free(                                         
  pipe_control_t *pipe                                                
)                                                                     
{                                                                     
  rtems_barrier_delete(pipe->readBarrier);                            
 200e9b0:	40 00 06 e9 	call  2010554 <rtems_barrier_delete>           
 200e9b4:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
  rtems_barrier_delete(pipe->writeBarrier);                           
 200e9b8:	40 00 06 e7 	call  2010554 <rtems_barrier_delete>           
 200e9bc:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
  rtems_semaphore_delete(pipe->Semaphore);                            
 200e9c0:	7f ff eb 3e 	call  20096b8 <rtems_semaphore_delete>         
 200e9c4:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
  free(pipe->Buffer);                                                 
 200e9c8:	7f ff d8 9a 	call  2004c30 <free>                           
 200e9cc:	d0 07 40 00 	ld  [ %i5 ], %o0                               
  free(pipe);                                                         
 200e9d0:	7f ff d8 98 	call  2004c30 <free>                           
 200e9d4:	90 10 00 1d 	mov  %i5, %o0                                  
#ifdef RTEMS_DEBUG                                                    
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  sc =                                                                
#endif                                                                
   rtems_semaphore_release(pipe_semaphore);                           
 200e9d8:	03 00 80 91 	sethi  %hi(0x2024400), %g1                     
 200e9dc:	d0 00 61 d8 	ld  [ %g1 + 0x1d8 ], %o0	! 20245d8 <pipe_semaphore>
 200e9e0:	7f ff eb bd 	call  20098d4 <rtems_semaphore_release>        
 200e9e4:	c0 26 00 00 	clr  [ %i0 ]                                   
 200e9e8:	81 c7 e0 08 	ret                                            
 200e9ec:	81 e8 00 00 	restore                                        
                                                                      

0200f058 <pipe_write>: pipe_control_t *pipe, const void *buffer, size_t count, rtems_libio_t *iop ) {
 200f058:	9d e3 bf 98 	save  %sp, -104, %sp                           
 200f05c:	ba 10 00 18 	mov  %i0, %i5                                  
  int chunk, chunk1, written = 0, ret = 0;                            
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
 200f060:	80 a6 a0 00 	cmp  %i2, 0                                    
 200f064:	12 80 00 04 	bne  200f074 <pipe_write+0x1c>                 <== ALWAYS TAKEN
 200f068:	b0 10 20 00 	clr  %i0                                       
#endif                                                                
                                                                      
  if (written > 0)                                                    
    return written;                                                   
  return ret;                                                         
}                                                                     
 200f06c:	81 c7 e0 08 	ret                                            
 200f070:	81 e8 00 00 	restore                                        
                                                                      
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
 200f074:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
 200f078:	92 10 20 00 	clr  %o1                                       
 200f07c:	7f ff e9 c6 	call  2009794 <rtems_semaphore_obtain>         
 200f080:	94 10 20 00 	clr  %o2                                       
 200f084:	80 a2 20 00 	cmp  %o0, 0                                    
 200f088:	12 80 00 6c 	bne  200f238 <pipe_write+0x1e0>                <== NEVER TAKEN
 200f08c:	01 00 00 00 	nop                                            
    return -EINTR;                                                    
                                                                      
  if (pipe->Readers == 0) {                                           
 200f090:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200f094:	80 a0 60 00 	cmp  %g1, 0                                    
 200f098:	22 80 00 54 	be,a   200f1e8 <pipe_write+0x190>              
 200f09c:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
 200f0a0:	f8 07 60 04 	ld  [ %i5 + 4 ], %i4                           
 200f0a4:	80 a6 80 1c 	cmp  %i2, %i4                                  
 200f0a8:	08 80 00 5b 	bleu  200f214 <pipe_write+0x1bc>               <== ALWAYS TAKEN
 200f0ac:	a0 10 20 01 	mov  1, %l0                                    
 200f0b0:	a2 10 20 00 	clr  %l1                                       
 200f0b4:	b0 10 20 00 	clr  %i0                                       
                                                                      
  while (written < count) {                                           
    while (PIPE_SPACE(pipe) < chunk) {                                
 200f0b8:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f0bc:	84 27 00 01 	sub  %i4, %g1, %g2                             
 200f0c0:	80 a0 80 10 	cmp  %g2, %l0                                  
 200f0c4:	1a 80 00 27 	bcc  200f160 <pipe_write+0x108>                
 200f0c8:	86 26 80 11 	sub  %i2, %l1, %g3                             
      if (LIBIO_NODELAY(iop)) {                                       
 200f0cc:	c2 06 e0 10 	ld  [ %i3 + 0x10 ], %g1                        
 200f0d0:	80 88 60 01 	btst  1, %g1                                   
 200f0d4:	32 80 00 53 	bne,a   200f220 <pipe_write+0x1c8>             
 200f0d8:	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 ++;                                        
 200f0dc:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      PIPE_UNLOCK(pipe);                                              
 200f0e0:	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 ++;                                        
 200f0e4:	82 00 60 01 	inc  %g1                                       
      PIPE_UNLOCK(pipe);                                              
 200f0e8:	7f ff e9 fb 	call  20098d4 <rtems_semaphore_release>        
 200f0ec:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
      if (! PIPE_WRITEWAIT(pipe))                                     
 200f0f0:	d0 07 60 30 	ld  [ %i5 + 0x30 ], %o0                        
 200f0f4:	40 00 05 59 	call  2010658 <rtems_barrier_wait>             
 200f0f8:	92 10 20 00 	clr  %o1                                       
 200f0fc:	80 a0 00 08 	cmp  %g0, %o0                                  
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 200f100:	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))                                     
 200f104:	b8 60 20 00 	subx  %g0, 0, %i4                              
        ret = -EINTR;                                                 
      if (! PIPE_LOCK(pipe)) {                                        
 200f108:	92 10 20 00 	clr  %o1                                       
 200f10c:	94 10 20 00 	clr  %o2                                       
 200f110:	7f ff e9 a1 	call  2009794 <rtems_semaphore_obtain>         
 200f114:	b8 0f 3f fc 	and  %i4, -4, %i4                              
 200f118:	80 a2 20 00 	cmp  %o0, 0                                    
 200f11c:	12 80 00 45 	bne  200f230 <pipe_write+0x1d8>                <== NEVER TAKEN
 200f120:	80 a7 20 00 	cmp  %i4, 0                                    
        /* WARN waitingWriters not restored! */                       
        ret = -EINTR;                                                 
        goto out_nolock;                                              
      }                                                               
      pipe->waitingWriters --;                                        
 200f124:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 200f128:	82 00 7f ff 	add  %g1, -1, %g1                              
      if (ret != 0)                                                   
 200f12c:	12 80 00 3d 	bne  200f220 <pipe_write+0x1c8>                <== NEVER TAKEN
 200f130:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
        goto out_locked;                                              
                                                                      
      if (pipe->Readers == 0) {                                       
 200f134:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 200f138:	80 a0 60 00 	cmp  %g1, 0                                    
 200f13c:	22 80 00 2b 	be,a   200f1e8 <pipe_write+0x190>              <== NEVER TAKEN
 200f140:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        <== NOT EXECUTED
 200f144:	f8 07 60 04 	ld  [ %i5 + 4 ], %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) {                                
 200f148:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200f14c:	84 27 00 01 	sub  %i4, %g1, %g2                             
 200f150:	80 a0 80 10 	cmp  %g2, %l0                                  
 200f154:	2a bf ff df 	bcs,a   200f0d0 <pipe_write+0x78>              <== NEVER TAKEN
 200f158:	c2 06 e0 10 	ld  [ %i3 + 0x10 ], %g1                        <== NOT EXECUTED
        ret = -EPIPE;                                                 
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
 200f15c:	86 26 80 11 	sub  %i2, %l1, %g3                             
 200f160:	80 a0 80 03 	cmp  %g2, %g3                                  
 200f164:	08 80 00 03 	bleu  200f170 <pipe_write+0x118>               
 200f168:	a0 10 00 02 	mov  %g2, %l0                                  
 200f16c:	a0 10 00 03 	mov  %g3, %l0                                  
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
 200f170:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
 200f174:	92 10 00 1c 	mov  %i4, %o1                                  
 200f178:	40 00 42 3f 	call  201fa74 <.urem>                          
 200f17c:	90 00 40 08 	add  %g1, %o0, %o0                             
    if (chunk > chunk1) {                                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
 200f180:	c2 07 40 00 	ld  [ %i5 ], %g1                               
        goto out_locked;                                              
      }                                                               
    }                                                                 
                                                                      
    chunk = MIN(count - written, PIPE_SPACE(pipe));                   
    chunk1 = pipe->Size - PIPE_WSTART(pipe);                          
 200f184:	b8 27 00 08 	sub  %i4, %o0, %i4                             
    if (chunk > chunk1) {                                             
 200f188:	80 a4 00 1c 	cmp  %l0, %i4                                  
 200f18c:	04 80 00 2d 	ble  200f240 <pipe_write+0x1e8>                
 200f190:	92 06 40 11 	add  %i1, %l1, %o1                             
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk1);
 200f194:	94 10 00 1c 	mov  %i4, %o2                                  
 200f198:	40 00 12 40 	call  2013a98 <memcpy>                         
 200f19c:	90 00 40 08 	add  %g1, %o0, %o0                             
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
 200f1a0:	d0 07 40 00 	ld  [ %i5 ], %o0                               
 200f1a4:	92 07 00 11 	add  %i4, %l1, %o1                             
 200f1a8:	94 24 00 1c 	sub  %l0, %i4, %o2                             
 200f1ac:	40 00 12 3b 	call  2013a98 <memcpy>                         
 200f1b0:	92 06 40 09 	add  %i1, %o1, %o1                             
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
 200f1b4:	c4 07 60 0c 	ld  [ %i5 + 0xc ], %g2                         
    if (pipe->waitingReaders > 0)                                     
 200f1b8:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
      memcpy(pipe->Buffer, buffer + written + chunk1, chunk - chunk1);
    }                                                                 
    else                                                              
      memcpy(pipe->Buffer + PIPE_WSTART(pipe), buffer + written, chunk);
                                                                      
    pipe->Length += chunk;                                            
 200f1bc:	84 00 80 10 	add  %g2, %l0, %g2                             
    if (pipe->waitingReaders > 0)                                     
 200f1c0:	80 a0 60 00 	cmp  %g1, 0                                    
 200f1c4:	12 80 00 24 	bne  200f254 <pipe_write+0x1fc>                
 200f1c8:	c4 27 60 0c 	st  %g2, [ %i5 + 0xc ]                         
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
 200f1cc:	b0 06 00 10 	add  %i0, %l0, %i0                             
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
                                                                      
  while (written < count) {                                           
 200f1d0:	80 a6 80 18 	cmp  %i2, %i0                                  
 200f1d4:	08 80 00 12 	bleu  200f21c <pipe_write+0x1c4>               <== ALWAYS TAKEN
 200f1d8:	a2 10 00 18 	mov  %i0, %l1                                  
 200f1dc:	f8 07 60 04 	ld  [ %i5 + 4 ], %i4                           <== NOT EXECUTED
    pipe->Length += chunk;                                            
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
    written += chunk;                                                 
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
 200f1e0:	10 bf ff b6 	b  200f0b8 <pipe_write+0x60>                   <== NOT EXECUTED
 200f1e4:	a0 10 20 01 	mov  1, %l0                                    <== NOT EXECUTED
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
 200f1e8:	7f ff e9 bb 	call  20098d4 <rtems_semaphore_release>        
 200f1ec:	b8 10 3f e0 	mov  -32, %i4                                  
                                                                      
out_nolock:                                                           
#ifdef RTEMS_POSIX_API                                                
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
 200f1f0:	40 00 01 49 	call  200f714 <getpid>                         
 200f1f4:	01 00 00 00 	nop                                            
 200f1f8:	40 00 02 ce 	call  200fd30 <kill>                           
 200f1fc:	92 10 20 0d 	mov  0xd, %o1	! d <PROM_START+0xd>             
#endif                                                                
                                                                      
  if (written > 0)                                                    
 200f200:	80 a6 20 00 	cmp  %i0, 0                                    
 200f204:	14 bf ff 9a 	bg  200f06c <pipe_write+0x14>                  
 200f208:	01 00 00 00 	nop                                            
 200f20c:	81 c7 e0 08 	ret                                            
 200f210:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
    ret = -EPIPE;                                                     
    goto out_locked;                                                  
  }                                                                   
                                                                      
  /* Write of PIPE_BUF bytes or less shall not be interleaved */      
  chunk = count <= pipe->Size ? count : 1;                            
 200f214:	10 bf ff a7 	b  200f0b0 <pipe_write+0x58>                   
 200f218:	a0 10 00 1a 	mov  %i2, %l0                                  
                                                                      
  while (written < count) {                                           
 200f21c:	b8 10 20 00 	clr  %i4                                       
    /* Write of more than PIPE_BUF bytes can be interleaved */        
    chunk = 1;                                                        
  }                                                                   
                                                                      
out_locked:                                                           
  PIPE_UNLOCK(pipe);                                                  
 200f220:	7f ff e9 ad 	call  20098d4 <rtems_semaphore_release>        
 200f224:	d0 07 60 28 	ld  [ %i5 + 0x28 ], %o0                        
  /* Signal SIGPIPE */                                                
  if (ret == -EPIPE)                                                  
    kill(getpid(), SIGPIPE);                                          
#endif                                                                
                                                                      
  if (written > 0)                                                    
 200f228:	10 bf ff f7 	b  200f204 <pipe_write+0x1ac>                  
 200f22c:	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;                                                 
 200f230:	10 bf ff f4 	b  200f200 <pipe_write+0x1a8>                  <== NOT EXECUTED
 200f234:	b8 10 3f fc 	mov  -4, %i4                                   <== NOT EXECUTED
  /* Write nothing */                                                 
  if (count == 0)                                                     
    return 0;                                                         
                                                                      
  if (! PIPE_LOCK(pipe))                                              
    return -EINTR;                                                    
 200f238:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f23c:	91 e8 3f fc 	restore  %g0, -4, %o0                          <== NOT EXECUTED
    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);
 200f240:	90 00 40 08 	add  %g1, %o0, %o0                             
 200f244:	40 00 12 15 	call  2013a98 <memcpy>                         
 200f248:	94 10 00 10 	mov  %l0, %o2                                  
                                                                      
    pipe->Length += chunk;                                            
 200f24c:	10 bf ff db 	b  200f1b8 <pipe_write+0x160>                  
 200f250:	c4 07 60 0c 	ld  [ %i5 + 0xc ], %g2                         
    if (pipe->waitingReaders > 0)                                     
      PIPE_WAKEUPREADERS(pipe);                                       
 200f254:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        
 200f258:	40 00 04 e8 	call  20105f8 <rtems_barrier_release>          
 200f25c:	92 07 bf fc 	add  %fp, -4, %o1                              
    written += chunk;                                                 
 200f260:	10 bf ff dc 	b  200f1d0 <pipe_write+0x178>                  
 200f264:	b0 06 00 10 	add  %i0, %l0, %i0                             
                                                                      

02007eb8 <posix_memalign>: ) { /* * Update call statistics */ MSBUMP(memalign_calls, 1);
 2007eb8:	05 00 80 95 	sethi  %hi(0x2025400), %g2                     
 2007ebc:	84 10 a1 68 	or  %g2, 0x168, %g2	! 2025568 <rtems_malloc_statistics>
 2007ec0:	c6 00 a0 08 	ld  [ %g2 + 8 ], %g3                           
 2007ec4:	86 00 e0 01 	inc  %g3                                       
 2007ec8:	c6 20 a0 08 	st  %g3, [ %g2 + 8 ]                           
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
 2007ecc:	84 02 7f ff 	add  %o1, -1, %g2                              
 2007ed0:	80 88 80 09 	btst  %g2, %o1                                 
 2007ed4:	02 80 00 04 	be  2007ee4 <posix_memalign+0x2c>              <== ALWAYS TAKEN
 2007ed8:	80 a2 60 03 	cmp  %o1, 3                                    
  /*                                                                  
   *  rtems_memalign does all of the error checking work EXCEPT       
   *  for adding restrictionso on the alignment.                      
   */                                                                 
  return rtems_memalign( pointer, alignment, size );                  
}                                                                     
 2007edc:	81 c3 e0 08 	retl                                           
 2007ee0:	90 10 20 16 	mov  0x16, %o0                                 
  /*                                                                  
   *  Update call statistics                                          
   */                                                                 
  MSBUMP(memalign_calls, 1);                                          
                                                                      
  if (((alignment - 1) & alignment) != 0 || (alignment < sizeof(void *)))
 2007ee4:	08 bf ff fe 	bleu  2007edc <posix_memalign+0x24>            
 2007ee8:	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 );                  
 2007eec:	82 13 c0 00 	mov  %o7, %g1                                  
 2007ef0:	40 00 00 87 	call  200810c <rtems_memalign>                 
 2007ef4:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

0200c834 <pthread_attr_setschedpolicy>: int pthread_attr_setschedpolicy( pthread_attr_t *attr, int policy ) {
 200c834:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr || !attr->is_initialized )                               
 200c838:	80 a0 60 00 	cmp  %g1, 0                                    
 200c83c:	02 80 00 06 	be  200c854 <pthread_attr_setschedpolicy+0x20> 
 200c840:	90 10 20 16 	mov  0x16, %o0                                 
 200c844:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200c848:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c84c:	12 80 00 04 	bne  200c85c <pthread_attr_setschedpolicy+0x28>
 200c850:	80 a2 60 04 	cmp  %o1, 4                                    
      return 0;                                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
 200c854:	81 c3 e0 08 	retl                                           
 200c858:	01 00 00 00 	nop                                            
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( policy ) {                                                 
 200c85c:	18 80 00 09 	bgu  200c880 <pthread_attr_setschedpolicy+0x4c>
 200c860:	84 10 20 01 	mov  1, %g2	! 1 <PROM_START+0x1>               
 200c864:	85 28 80 09 	sll  %g2, %o1, %g2                             
 200c868:	80 88 a0 17 	btst  0x17, %g2                                
 200c86c:	02 80 00 05 	be  200c880 <pthread_attr_setschedpolicy+0x4c> <== NEVER TAKEN
 200c870:	01 00 00 00 	nop                                            
    case SCHED_OTHER:                                                 
    case SCHED_FIFO:                                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      attr->schedpolicy = policy;                                     
 200c874:	d2 20 60 14 	st  %o1, [ %g1 + 0x14 ]                        
      return 0;                                                       
 200c878:	81 c3 e0 08 	retl                                           
 200c87c:	90 10 20 00 	clr  %o0                                       
                                                                      
    default:                                                          
      return ENOTSUP;                                                 
  }                                                                   
}                                                                     
 200c880:	81 c3 e0 08 	retl                                           
 200c884:	90 10 20 86 	mov  0x86, %o0                                 
                                                                      

02007fb4 <pthread_barrier_init>: int pthread_barrier_init( pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count ) {
 2007fb4:	9d e3 bf 90 	save  %sp, -112, %sp                           
  const pthread_barrierattr_t   *the_attr;                            
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !barrier )                                                     
 2007fb8:	80 a6 20 00 	cmp  %i0, 0                                    
 2007fbc:	02 80 00 04 	be  2007fcc <pthread_barrier_init+0x18>        
 2007fc0:	80 a6 a0 00 	cmp  %i2, 0                                    
    return EINVAL;                                                    
                                                                      
  if ( count == 0 )                                                   
 2007fc4:	12 80 00 04 	bne  2007fd4 <pthread_barrier_init+0x20>       
 2007fc8:	80 a6 60 00 	cmp  %i1, 0                                    
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
 2007fcc:	81 c7 e0 08 	ret                                            
 2007fd0:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 2007fd4:	02 80 00 24 	be  2008064 <pthread_barrier_init+0xb0>        
 2007fd8:	90 07 bf f8 	add  %fp, -8, %o0                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 2007fdc:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2007fe0:	80 a0 60 00 	cmp  %g1, 0                                    
 2007fe4:	02 bf ff fa 	be  2007fcc <pthread_barrier_init+0x18>        
 2007fe8:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 2007fec:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2007ff0:	80 a0 60 00 	cmp  %g1, 0                                    
 2007ff4:	12 bf ff f6 	bne  2007fcc <pthread_barrier_init+0x18>       <== NEVER TAKEN
 2007ff8:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2007ffc:	c4 00 63 00 	ld  [ %g1 + 0x300 ], %g2	! 201ff00 <_Thread_Dispatch_disable_level>
  }                                                                   
                                                                      
  /*                                                                  
   * Convert from POSIX attributes to Core Barrier attributes         
   */                                                                 
  the_attributes.discipline    = CORE_BARRIER_AUTOMATIC_RELEASE;      
 2008000:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
 2008004:	84 00 a0 01 	inc  %g2                                       
  the_attributes.maximum_count = count;                               
 2008008:	f4 27 bf f4 	st  %i2, [ %fp + -12 ]                         
 200800c:	c4 20 63 00 	st  %g2, [ %g1 + 0x300 ]                       
    return _Thread_Dispatch_disable_level;                            
 2008010:	c2 00 63 00 	ld  [ %g1 + 0x300 ], %g1                       
 *  This function allocates a barrier control block from              
 *  the inactive chain of free barrier control blocks.                
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Allocate( void )
{                                                                     
  return (POSIX_Barrier_Control *)                                    
 2008014:	39 00 80 80 	sethi  %hi(0x2020000), %i4                     
 2008018:	40 00 08 ee 	call  200a3d0 <_Objects_Allocate>              
 200801c:	90 17 22 b0 	or  %i4, 0x2b0, %o0	! 20202b0 <_POSIX_Barrier_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
 2008020:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2008024:	02 80 00 14 	be  2008074 <pthread_barrier_init+0xc0>        
 2008028:	90 07 60 10 	add  %i5, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_barrier_Initialize( &the_barrier->Barrier, &the_attributes ); 
 200802c:	40 00 06 36 	call  2009904 <_CORE_barrier_Initialize>       
 2008030:	92 07 bf f0 	add  %fp, -16, %o1                             
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008034:	c4 17 60 0a 	lduh  [ %i5 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008038:	b8 17 22 b0 	or  %i4, 0x2b0, %i4                            
 200803c:	c6 07 20 1c 	ld  [ %i4 + 0x1c ], %g3                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008040:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008044:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2008048:	fa 20 c0 02 	st  %i5, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 200804c:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
  );                                                                  
                                                                      
  /*                                                                  
   * Exit the critical section and return the user an operational barrier
   */                                                                 
  *barrier = the_barrier->Object.id;                                  
 2008050:	c2 26 00 00 	st  %g1, [ %i0 ]                               
  _Thread_Enable_dispatch();                                          
 2008054:	40 00 0e 10 	call  200b894 <_Thread_Enable_dispatch>        
 2008058:	b0 10 20 00 	clr  %i0                                       
 200805c:	81 c7 e0 08 	ret                                            
 2008060:	81 e8 00 00 	restore                                        
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_barrierattr_init( &my_attr );                      
 2008064:	7f ff ff 9b 	call  2007ed0 <pthread_barrierattr_init>       
 2008068:	b2 07 bf f8 	add  %fp, -8, %i1                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 200806c:	10 bf ff dd 	b  2007fe0 <pthread_barrier_init+0x2c>         
 2008070:	c2 06 40 00 	ld  [ %i1 ], %g1                               
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_barrier = _POSIX_Barrier_Allocate();                            
                                                                      
  if ( !the_barrier ) {                                               
    _Thread_Enable_dispatch();                                        
 2008074:	40 00 0e 08 	call  200b894 <_Thread_Enable_dispatch>        
 2008078:	b0 10 20 0b 	mov  0xb, %i0                                  
 200807c:	81 c7 e0 08 	ret                                            
 2008080:	81 e8 00 00 	restore                                        
                                                                      

02007848 <pthread_cleanup_push>: void pthread_cleanup_push( void (*routine)( void * ), void *arg ) {
 2007848:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   *  The POSIX standard does not address what to do when the routine 
   *  is NULL.  It also does not address what happens when we cannot  
   *  allocate memory or anything else bad happens.                   
   */                                                                 
  if ( !routine )                                                     
 200784c:	80 a6 20 00 	cmp  %i0, 0                                    
 2007850:	02 80 00 14 	be  20078a0 <pthread_cleanup_push+0x58>        
 2007854:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2007858:	c4 00 63 00 	ld  [ %g1 + 0x300 ], %g2	! 201f700 <_Thread_Dispatch_disable_level>
 200785c:	84 00 a0 01 	inc  %g2                                       
 2007860:	c4 20 63 00 	st  %g2, [ %g1 + 0x300 ]                       
    return _Thread_Dispatch_disable_level;                            
 2007864:	c2 00 63 00 	ld  [ %g1 + 0x300 ], %g1                       
    return;                                                           
                                                                      
  _Thread_Disable_dispatch();                                         
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
 2007868:	40 00 12 ef 	call  200c424 <_Workspace_Allocate>            
 200786c:	90 10 20 10 	mov  0x10, %o0                                 
                                                                      
  if ( handler ) {                                                    
 2007870:	80 a2 20 00 	cmp  %o0, 0                                    
 2007874:	02 80 00 09 	be  2007898 <pthread_cleanup_push+0x50>        <== NEVER TAKEN
 2007878:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
 200787c:	c2 00 60 3c 	ld  [ %g1 + 0x3c ], %g1	! 201fc3c <_Per_CPU_Information+0xc>
    handler_stack = &thread_support->Cancellation_Handlers;           
                                                                      
    handler->routine = routine;                                       
    handler->arg = arg;                                               
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
 2007880:	92 10 00 08 	mov  %o0, %o1                                  
  handler = _Workspace_Allocate( sizeof( POSIX_Cancel_Handler_control ) );
                                                                      
  if ( handler ) {                                                    
    thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
                                                                      
    handler_stack = &thread_support->Cancellation_Handlers;           
 2007884:	c2 00 61 5c 	ld  [ %g1 + 0x15c ], %g1                       
                                                                      
    handler->routine = routine;                                       
 2007888:	f0 22 20 08 	st  %i0, [ %o0 + 8 ]                           
    handler->arg = arg;                                               
 200788c:	f2 22 20 0c 	st  %i1, [ %o0 + 0xc ]                         
                                                                      
    _Chain_Append( handler_stack, &handler->Node );                   
 2007890:	40 00 06 6b 	call  200923c <_Chain_Append>                  
 2007894:	90 00 60 e4 	add  %g1, 0xe4, %o0                            
  }                                                                   
  _Thread_Enable_dispatch();                                          
 2007898:	40 00 0e 54 	call  200b1e8 <_Thread_Enable_dispatch>        
 200789c:	81 e8 00 00 	restore                                        
 20078a0:	81 c7 e0 08 	ret                                            
 20078a4:	81 e8 00 00 	restore                                        
                                                                      

020087e0 <pthread_cond_init>: int pthread_cond_init( pthread_cond_t *cond, const pthread_condattr_t *attr ) {
 20087e0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
 20087e4:	80 a6 60 00 	cmp  %i1, 0                                    
 20087e8:	22 80 00 28 	be,a   2008888 <pthread_cond_init+0xa8>        
 20087ec:	33 00 80 7b 	sethi  %hi(0x201ec00), %i1                     
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
                                                                      
  /*                                                                  
   *  Be careful about attributes when global!!!                      
   */                                                                 
  if ( the_attr->process_shared == PTHREAD_PROCESS_SHARED )           
 20087f0:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2	! 201ec04 <rtems_status_assoc+0x94>
 20087f4:	80 a0 a0 01 	cmp  %g2, 1                                    
 20087f8:	02 80 00 06 	be  2008810 <pthread_cond_init+0x30>           <== NEVER TAKEN
 20087fc:	82 10 20 16 	mov  0x16, %g1                                 
    return EINVAL;                                                    
                                                                      
  if ( !the_attr->is_initialized )                                    
 2008800:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 2008804:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008808:	32 80 00 04 	bne,a   2008818 <pthread_cond_init+0x38>       
 200880c:	03 00 80 84 	sethi  %hi(0x2021000), %g1                     
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return 0;                                                           
}                                                                     
 2008810:	81 c7 e0 08 	ret                                            
 2008814:	91 e8 00 01 	restore  %g0, %g1, %o0                         
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2008818:	c4 00 60 f0 	ld  [ %g1 + 0xf0 ], %g2                        
 200881c:	84 00 a0 01 	inc  %g2                                       
 2008820:	c4 20 60 f0 	st  %g2, [ %g1 + 0xf0 ]                        
    return _Thread_Dispatch_disable_level;                            
 2008824:	c2 00 60 f0 	ld  [ %g1 + 0xf0 ], %g1                        
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Condition_variables_Control                
  *_POSIX_Condition_variables_Allocate( void )                        
{                                                                     
  return (POSIX_Condition_variables_Control *)                        
 2008828:	39 00 80 85 	sethi  %hi(0x2021400), %i4                     
 200882c:	40 00 0a 9e 	call  200b2a4 <_Objects_Allocate>              
 2008830:	90 17 21 38 	or  %i4, 0x138, %o0	! 2021538 <_POSIX_Condition_variables_Information>
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
 2008834:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2008838:	02 80 00 16 	be  2008890 <pthread_cond_init+0xb0>           
 200883c:	90 07 60 18 	add  %i5, 0x18, %o0                            
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
 2008840:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
  _Thread_queue_Initialize(                                           
 2008844:	92 10 20 00 	clr  %o1                                       
 2008848:	15 04 00 02 	sethi  %hi(0x10000800), %o2                    
 200884c:	96 10 20 74 	mov  0x74, %o3                                 
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
    return ENOMEM;                                                    
  }                                                                   
                                                                      
  the_cond->process_shared  = the_attr->process_shared;               
 2008850:	c2 27 60 10 	st  %g1, [ %i5 + 0x10 ]                        
                                                                      
  the_cond->Mutex = POSIX_CONDITION_VARIABLES_NO_MUTEX;               
                                                                      
  _Thread_queue_Initialize(                                           
 2008854:	40 00 11 f3 	call  200d020 <_Thread_queue_Initialize>       
 2008858:	c0 27 60 14 	clr  [ %i5 + 0x14 ]                            
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 200885c:	c4 17 60 0a 	lduh  [ %i5 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008860:	b8 17 21 38 	or  %i4, 0x138, %i4                            
 2008864:	c6 07 20 1c 	ld  [ %i4 + 0x1c ], %g3                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008868:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 200886c:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2008870:	fa 20 c0 02 	st  %i5, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 2008874:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
    0                                                                 
  );                                                                  
                                                                      
  *cond = the_cond->Object.id;                                        
                                                                      
  _Thread_Enable_dispatch();                                          
 2008878:	40 00 0f bc 	call  200c768 <_Thread_Enable_dispatch>        
 200887c:	c2 26 00 00 	st  %g1, [ %i0 ]                               
                                                                      
  return 0;                                                           
 2008880:	10 bf ff e4 	b  2008810 <pthread_cond_init+0x30>            
 2008884:	82 10 20 00 	clr  %g1                                       
{                                                                     
  POSIX_Condition_variables_Control   *the_cond;                      
  const pthread_condattr_t            *the_attr;                      
                                                                      
  if ( attr ) the_attr = attr;                                        
  else        the_attr = &_POSIX_Condition_variables_Default_attributes;
 2008888:	10 bf ff da 	b  20087f0 <pthread_cond_init+0x10>            
 200888c:	b2 16 62 24 	or  %i1, 0x224, %i1                            
  _Thread_Disable_dispatch();                                         
                                                                      
  the_cond = _POSIX_Condition_variables_Allocate();                   
                                                                      
  if ( !the_cond ) {                                                  
    _Thread_Enable_dispatch();                                        
 2008890:	40 00 0f b6 	call  200c768 <_Thread_Enable_dispatch>        
 2008894:	01 00 00 00 	nop                                            
    return ENOMEM;                                                    
 2008898:	10 bf ff de 	b  2008810 <pthread_cond_init+0x30>            
 200889c:	82 10 20 0c 	mov  0xc, %g1	! c <PROM_START+0xc>             
                                                                      

02008644 <pthread_condattr_destroy>: */ int pthread_condattr_destroy( pthread_condattr_t *attr ) {
 2008644:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr || attr->is_initialized == false )                       
 2008648:	80 a0 60 00 	cmp  %g1, 0                                    
 200864c:	02 80 00 06 	be  2008664 <pthread_condattr_destroy+0x20>    
 2008650:	90 10 20 16 	mov  0x16, %o0                                 
 2008654:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2008658:	80 a0 a0 00 	cmp  %g2, 0                                    
 200865c:	32 80 00 04 	bne,a   200866c <pthread_condattr_destroy+0x28><== ALWAYS TAKEN
 2008660:	c0 20 40 00 	clr  [ %g1 ]                                   
    return EINVAL;                                                    
                                                                      
  attr->is_initialized = false;                                       
  return 0;                                                           
}                                                                     
 2008664:	81 c3 e0 08 	retl                                           
 2008668:	01 00 00 00 	nop                                            
 200866c:	81 c3 e0 08 	retl                                           
 2008670:	90 10 20 00 	clr  %o0	! 0 <PROM_START>                      
                                                                      

02007cf4 <pthread_create>: pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)( void * ), void *arg ) {
 2007cf4:	9d e3 bf 58 	save  %sp, -168, %sp                           
  int                                 schedpolicy = SCHED_RR;         
  struct sched_param                  schedparam;                     
  Objects_Name                        name;                           
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
 2007cf8:	80 a6 a0 00 	cmp  %i2, 0                                    
 2007cfc:	02 80 00 0a 	be  2007d24 <pthread_create+0x30>              
 2007d00:	ba 10 20 0e 	mov  0xe, %i5                                  
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
 2007d04:	80 a6 60 00 	cmp  %i1, 0                                    
 2007d08:	22 80 00 63 	be,a   2007e94 <pthread_create+0x1a0>          
 2007d0c:	33 00 80 84 	sethi  %hi(0x2021000), %i1                     
                                                                      
  if ( !the_attr->is_initialized )                                    
 2007d10:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2007d14:	80 a0 60 00 	cmp  %g1, 0                                    
 2007d18:	32 80 00 05 	bne,a   2007d2c <pthread_create+0x38>          
 2007d1c:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
      break;                                                          
                                                                      
    default:                                                          
      return EINVAL;                                                  
 2007d20:	ba 10 20 16 	mov  0x16, %i5                                 
   */                                                                 
  *thread = the_thread->Object.id;                                    
                                                                      
  _RTEMS_Unlock_allocator();                                          
  return 0;                                                           
}                                                                     
 2007d24:	81 c7 e0 08 	ret                                            
 2007d28:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
   *  stack space if it is allowed to allocate it itself.             
   *                                                                  
   *  NOTE: If the user provides the stack we will let it drop below  
   *        twice the minimum.                                        
   */                                                                 
  if ( the_attr->stackaddr && !_Stack_Is_enough(the_attr->stacksize) )
 2007d2c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007d30:	02 80 00 07 	be  2007d4c <pthread_create+0x58>              
 2007d34:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 2007d38:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 2007d3c:	c2 00 60 ec 	ld  [ %g1 + 0xec ], %g1                        
 2007d40:	80 a0 80 01 	cmp  %g2, %g1                                  
 2007d44:	0a bf ff f8 	bcs  2007d24 <pthread_create+0x30>             
 2007d48:	ba 10 20 16 	mov  0x16, %i5                                 
   *  If inheritsched is set to PTHREAD_INHERIT_SCHED, then this thread
   *  inherits scheduling attributes from the creating thread.   If it is
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
 2007d4c:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 2007d50:	80 a0 60 01 	cmp  %g1, 1                                    
 2007d54:	02 80 00 52 	be  2007e9c <pthread_create+0x1a8>             
 2007d58:	80 a0 60 02 	cmp  %g1, 2                                    
 2007d5c:	32 bf ff f2 	bne,a   2007d24 <pthread_create+0x30>          
 2007d60:	ba 10 20 16 	mov  0x16, %i5                                 
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
      schedparam  = the_attr->schedparam;                             
 2007d64:	da 06 60 18 	ld  [ %i1 + 0x18 ], %o5                        
 2007d68:	de 06 60 1c 	ld  [ %i1 + 0x1c ], %o7                        
 2007d6c:	fa 06 60 20 	ld  [ %i1 + 0x20 ], %i5                        
 2007d70:	c8 06 60 24 	ld  [ %i1 + 0x24 ], %g4                        
 2007d74:	c6 06 60 28 	ld  [ %i1 + 0x28 ], %g3                        
 2007d78:	c4 06 60 2c 	ld  [ %i1 + 0x2c ], %g2                        
 2007d7c:	c2 06 60 30 	ld  [ %i1 + 0x30 ], %g1                        
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
      break;                                                          
                                                                      
    case PTHREAD_EXPLICIT_SCHED:                                      
      schedpolicy = the_attr->schedpolicy;                            
 2007d80:	f8 06 60 14 	ld  [ %i1 + 0x14 ], %i4                        
      schedparam  = the_attr->schedparam;                             
 2007d84:	da 27 bf e4 	st  %o5, [ %fp + -28 ]                         
 2007d88:	de 27 bf e8 	st  %o7, [ %fp + -24 ]                         
 2007d8c:	fa 27 bf ec 	st  %i5, [ %fp + -20 ]                         
 2007d90:	c8 27 bf f0 	st  %g4, [ %fp + -16 ]                         
 2007d94:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         
 2007d98:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
 2007d9c:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
                                                                      
  /*                                                                  
   *  Check the contentionscope since rtems only supports PROCESS wide
   *  contention (i.e. no system wide contention).                    
   */                                                                 
  if ( the_attr->contentionscope != PTHREAD_SCOPE_PROCESS )           
 2007da0:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 2007da4:	80 a0 60 00 	cmp  %g1, 0                                    
 2007da8:	12 bf ff df 	bne  2007d24 <pthread_create+0x30>             
 2007dac:	ba 10 20 86 	mov  0x86, %i5                                 
    return ENOTSUP;                                                   
                                                                      
  /*                                                                  
   *  Interpret the scheduling parameters.                            
   */                                                                 
  if ( !_POSIX_Priority_Is_valid( schedparam.sched_priority ) )       
 2007db0:	40 00 1a 94 	call  200e800 <_POSIX_Priority_Is_valid>       
 2007db4:	d0 07 bf e4 	ld  [ %fp + -28 ], %o0                         
 2007db8:	80 8a 20 ff 	btst  0xff, %o0                                
 2007dbc:	02 bf ff da 	be  2007d24 <pthread_create+0x30>              <== NEVER TAKEN
 2007dc0:	ba 10 20 16 	mov  0x16, %i5                                 
                                                                      
RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(        
  int priority                                                        
)                                                                     
{                                                                     
  return (Priority_Control) (POSIX_SCHEDULER_MAXIMUM_PRIORITY - priority + 1);
 2007dc4:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
    return EINVAL;                                                    
                                                                      
  core_priority = _POSIX_Priority_To_core( schedparam.sched_priority );
 2007dc8:	e0 07 bf e4 	ld  [ %fp + -28 ], %l0                         
 2007dcc:	e8 08 60 e8 	ldub  [ %g1 + 0xe8 ], %l4                      
                                                                      
  /*                                                                  
   *  Set the core scheduling policy information.                     
   */                                                                 
  rc = _POSIX_Thread_Translate_sched_param(                           
 2007dd0:	90 10 00 1c 	mov  %i4, %o0                                  
 2007dd4:	92 07 bf e4 	add  %fp, -28, %o1                             
 2007dd8:	94 07 bf dc 	add  %fp, -36, %o2                             
 2007ddc:	40 00 1a 96 	call  200e834 <_POSIX_Thread_Translate_sched_param>
 2007de0:	96 07 bf e0 	add  %fp, -32, %o3                             
    schedpolicy,                                                      
    &schedparam,                                                      
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 2007de4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2007de8:	12 bf ff cf 	bne  2007d24 <pthread_create+0x30>             
 2007dec:	25 00 80 8d 	sethi  %hi(0x2023400), %l2                     
  #endif                                                              
                                                                      
  /*                                                                  
   *  Lock the allocator mutex for protection                         
   */                                                                 
  _RTEMS_Lock_allocator();                                            
 2007df0:	d0 04 a3 00 	ld  [ %l2 + 0x300 ], %o0	! 2023700 <_RTEMS_Allocator_Mutex>
 2007df4:	40 00 06 9a 	call  200985c <_API_Mutex_Lock>                
 2007df8:	27 00 80 8e 	sethi  %hi(0x2023800), %l3                     
 *  _POSIX_Threads_Allocate                                           
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Allocate( void )  
{                                                                     
  return (Thread_Control *) _Objects_Allocate( &_POSIX_Threads_Information );
 2007dfc:	40 00 09 73 	call  200a3c8 <_Objects_Allocate>              
 2007e00:	90 14 e0 a0 	or  %l3, 0xa0, %o0	! 20238a0 <_POSIX_Threads_Information>
   *  Allocate the thread control block.                              
   *                                                                  
   *  NOTE:  Global threads are not currently supported.              
   */                                                                 
  the_thread = _POSIX_Threads_Allocate();                             
  if ( !the_thread ) {                                                
 2007e04:	a2 92 20 00 	orcc  %o0, 0, %l1                              
 2007e08:	02 80 00 1f 	be  2007e84 <pthread_create+0x190>             
 2007e0c:	05 00 80 8a 	sethi  %hi(0x2022800), %g2                     
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
 2007e10:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
                                                                      
static inline size_t _POSIX_Threads_Ensure_minimum_stack (            
  size_t size                                                         
)                                                                     
{                                                                     
  if ( size >= PTHREAD_MINIMUM_STACK_SIZE )                           
 2007e14:	d6 00 a0 ec 	ld  [ %g2 + 0xec ], %o3                        
                                                                      
  /*                                                                  
   *  Initialize the core thread for this task.                       
   */                                                                 
  name.name_p = NULL;   /* posix threads don't have a name by default */
  status = _Thread_Initialize(                                        
 2007e18:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
 2007e1c:	97 2a e0 01 	sll  %o3, 1, %o3                               
 2007e20:	80 a2 c0 01 	cmp  %o3, %g1                                  
 2007e24:	1a 80 00 03 	bcc  2007e30 <pthread_create+0x13c>            
 2007e28:	d4 06 60 04 	ld  [ %i1 + 4 ], %o2                           
 2007e2c:	96 10 00 01 	mov  %g1, %o3                                  
 2007e30:	c2 07 bf dc 	ld  [ %fp + -36 ], %g1                         
 2007e34:	9a 0d 20 ff 	and  %l4, 0xff, %o5                            
 2007e38:	c2 23 a0 60 	st  %g1, [ %sp + 0x60 ]                        
 2007e3c:	82 10 20 01 	mov  1, %g1                                    
 2007e40:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 2007e44:	c2 07 bf e0 	ld  [ %fp + -32 ], %g1                         
 2007e48:	c0 23 a0 68 	clr  [ %sp + 0x68 ]                            
 2007e4c:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 2007e50:	82 07 bf d4 	add  %fp, -44, %g1                             
 2007e54:	90 14 e0 a0 	or  %l3, 0xa0, %o0                             
 2007e58:	c2 23 a0 6c 	st  %g1, [ %sp + 0x6c ]                        
 2007e5c:	92 10 00 11 	mov  %l1, %o1                                  
 2007e60:	98 10 20 01 	mov  1, %o4                                    
 2007e64:	40 00 0e c3 	call  200b970 <_Thread_Initialize>             
 2007e68:	9a 23 40 10 	sub  %o5, %l0, %o5                             
    budget_callout,                                                   
    0,                    /* isr level */                             
    name                  /* posix threads don't have a name */       
  );                                                                  
                                                                      
  if ( !status ) {                                                    
 2007e6c:	80 8a 20 ff 	btst  0xff, %o0                                
 2007e70:	12 80 00 1e 	bne  2007ee8 <pthread_create+0x1f4>            
 2007e74:	11 00 80 8e 	sethi  %hi(0x2023800), %o0                     
                                                                      
RTEMS_INLINE_ROUTINE void _POSIX_Threads_Free (                       
  Thread_Control *the_pthread                                         
)                                                                     
{                                                                     
  _Objects_Free( &_POSIX_Threads_Information, &the_pthread->Object ); 
 2007e78:	92 10 00 11 	mov  %l1, %o1                                  
 2007e7c:	40 00 0a 40 	call  200a77c <_Objects_Free>                  
 2007e80:	90 12 20 a0 	or  %o0, 0xa0, %o0                             
    _POSIX_Threads_Free( the_thread );                                
    _RTEMS_Unlock_allocator();                                        
 2007e84:	d0 04 a3 00 	ld  [ %l2 + 0x300 ], %o0                       
 2007e88:	40 00 06 8a 	call  20098b0 <_API_Mutex_Unlock>              
 2007e8c:	ba 10 20 0b 	mov  0xb, %i5                                  
 2007e90:	30 bf ff a5 	b,a   2007d24 <pthread_create+0x30>            
  int                                 rc;                             
                                                                      
  if ( !start_routine )                                               
    return EFAULT;                                                    
                                                                      
  the_attr = (attr) ? attr : &_POSIX_Threads_Default_attributes;      
 2007e94:	10 bf ff 9f 	b  2007d10 <pthread_create+0x1c>               
 2007e98:	b2 16 63 9c 	or  %i1, 0x39c, %i1                            
   *  PTHREAD_EXPLICIT_SCHED, then scheduling parameters come from the
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
 2007e9c:	03 00 80 8e 	sethi  %hi(0x2023800), %g1                     
 2007ea0:	c2 00 63 ac 	ld  [ %g1 + 0x3ac ], %g1	! 2023bac <_Per_CPU_Information+0xc>
 2007ea4:	c2 00 61 5c 	ld  [ %g1 + 0x15c ], %g1                       
      schedpolicy = api->schedpolicy;                                 
      schedparam  = api->schedparam;                                  
 2007ea8:	d8 00 60 88 	ld  [ %g1 + 0x88 ], %o4                        
 2007eac:	da 00 60 8c 	ld  [ %g1 + 0x8c ], %o5                        
 2007eb0:	de 00 60 90 	ld  [ %g1 + 0x90 ], %o7                        
 2007eb4:	fa 00 60 94 	ld  [ %g1 + 0x94 ], %i5                        
 2007eb8:	c8 00 60 98 	ld  [ %g1 + 0x98 ], %g4                        
 2007ebc:	c6 00 60 9c 	ld  [ %g1 + 0x9c ], %g3                        
 2007ec0:	c4 00 60 a0 	ld  [ %g1 + 0xa0 ], %g2                        
   *  attributes structure.                                           
   */                                                                 
  switch ( the_attr->inheritsched ) {                                 
    case PTHREAD_INHERIT_SCHED:                                       
      api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];    
      schedpolicy = api->schedpolicy;                                 
 2007ec4:	f8 00 60 84 	ld  [ %g1 + 0x84 ], %i4                        
      schedparam  = api->schedparam;                                  
 2007ec8:	d8 27 bf e4 	st  %o4, [ %fp + -28 ]                         
 2007ecc:	da 27 bf e8 	st  %o5, [ %fp + -24 ]                         
 2007ed0:	de 27 bf ec 	st  %o7, [ %fp + -20 ]                         
 2007ed4:	fa 27 bf f0 	st  %i5, [ %fp + -16 ]                         
 2007ed8:	c8 27 bf f4 	st  %g4, [ %fp + -12 ]                         
 2007edc:	c6 27 bf f8 	st  %g3, [ %fp + -8 ]                          
      break;                                                          
 2007ee0:	10 bf ff b0 	b  2007da0 <pthread_create+0xac>               
 2007ee4:	c4 27 bf fc 	st  %g2, [ %fp + -4 ]                          
  }                                                                   
                                                                      
  /*                                                                  
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
 2007ee8:	e0 04 61 5c 	ld  [ %l1 + 0x15c ], %l0                       
                                                                      
  api->Attributes  = *the_attr;                                       
 2007eec:	92 10 00 19 	mov  %i1, %o1                                  
 2007ef0:	94 10 20 40 	mov  0x40, %o2                                 
 2007ef4:	40 00 27 8e 	call  2011d2c <memcpy>                         
 2007ef8:	90 10 00 10 	mov  %l0, %o0                                  
  api->detachstate = the_attr->detachstate;                           
 2007efc:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
  api->schedpolicy = schedpolicy;                                     
  api->schedparam  = schedparam;                                      
 2007f00:	92 07 bf e4 	add  %fp, -28, %o1                             
 2007f04:	94 10 20 1c 	mov  0x1c, %o2                                 
   *  finish initializing the per API structure                       
   */                                                                 
  api = the_thread->API_Extensions[ THREAD_API_POSIX ];               
                                                                      
  api->Attributes  = *the_attr;                                       
  api->detachstate = the_attr->detachstate;                           
 2007f08:	c2 24 20 40 	st  %g1, [ %l0 + 0x40 ]                        
  api->schedpolicy = schedpolicy;                                     
 2007f0c:	f8 24 20 84 	st  %i4, [ %l0 + 0x84 ]                        
  api->schedparam  = schedparam;                                      
 2007f10:	40 00 27 87 	call  2011d2c <memcpy>                         
 2007f14:	90 04 20 88 	add  %l0, 0x88, %o0                            
                                                                      
  /*                                                                  
   *  POSIX threads are allocated and started in one operation.       
   */                                                                 
  status = _Thread_Start(                                             
 2007f18:	90 10 00 11 	mov  %l1, %o0                                  
 2007f1c:	92 10 20 01 	mov  1, %o1                                    
 2007f20:	94 10 00 1a 	mov  %i2, %o2                                  
 2007f24:	96 10 00 1b 	mov  %i3, %o3                                  
 2007f28:	40 00 11 07 	call  200c344 <_Thread_Start>                  
 2007f2c:	98 10 20 00 	clr  %o4                                       
      _RTEMS_Unlock_allocator();                                      
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
 2007f30:	80 a7 20 04 	cmp  %i4, 4                                    
 2007f34:	02 80 00 07 	be  2007f50 <pthread_create+0x25c>             
 2007f38:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
 2007f3c:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
                                                                      
  _RTEMS_Unlock_allocator();                                          
 2007f40:	d0 04 a3 00 	ld  [ %l2 + 0x300 ], %o0                       
 2007f44:	40 00 06 5b 	call  20098b0 <_API_Mutex_Unlock>              
 2007f48:	c2 26 00 00 	st  %g1, [ %i0 ]                               
 2007f4c:	30 bf ff 76 	b,a   2007d24 <pthread_create+0x30>            
      return EINVAL;                                                  
    }                                                                 
  #endif                                                              
                                                                      
  if ( schedpolicy == SCHED_SPORADIC ) {                              
    _Watchdog_Insert_ticks(                                           
 2007f50:	40 00 11 25 	call  200c3e4 <_Timespec_To_ticks>             
 2007f54:	90 04 20 90 	add  %l0, 0x90, %o0                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007f58:	92 04 20 a8 	add  %l0, 0xa8, %o1                            
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2007f5c:	d0 24 20 b4 	st  %o0, [ %l0 + 0xb4 ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007f60:	11 00 80 8d 	sethi  %hi(0x2023400), %o0                     
 2007f64:	40 00 12 0d 	call  200c798 <_Watchdog_Insert>               
 2007f68:	90 12 23 18 	or  %o0, 0x318, %o0	! 2023718 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  /*                                                                  
   *  Return the id and indicate we successfully created the thread   
   */                                                                 
  *thread = the_thread->Object.id;                                    
 2007f6c:	10 bf ff f5 	b  2007f40 <pthread_create+0x24c>              
 2007f70:	c2 04 60 08 	ld  [ %l1 + 8 ], %g1                           
                                                                      

0201b550 <pthread_kill>: int pthread_kill( pthread_t thread, int sig ) {
 201b550:	9d e3 bf 98 	save  %sp, -104, %sp                           
  POSIX_API_Control  *api;                                            
  Thread_Control     *the_thread;                                     
  Objects_Locations  location;                                        
                                                                      
  if ( !sig )                                                         
 201b554:	80 a6 60 00 	cmp  %i1, 0                                    
 201b558:	02 80 00 2d 	be  201b60c <pthread_kill+0xbc>                
 201b55c:	ba 06 7f ff 	add  %i1, -1, %i5                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 201b560:	80 a7 60 1f 	cmp  %i5, 0x1f                                 
 201b564:	18 80 00 2a 	bgu  201b60c <pthread_kill+0xbc>               
 201b568:	90 10 00 18 	mov  %i0, %o0                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  the_thread = _Thread_Get( thread, &location );                      
 201b56c:	7f ff bc ea 	call  200a914 <_Thread_Get>                    
 201b570:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 201b574:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 201b578:	80 a0 60 00 	cmp  %g1, 0                                    
 201b57c:	12 80 00 2a 	bne  201b624 <pthread_kill+0xd4>               <== NEVER TAKEN
 201b580:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
 201b584:	83 2e 60 02 	sll  %i1, 2, %g1                               
 201b588:	85 2e 60 04 	sll  %i1, 4, %g2                               
 201b58c:	84 20 80 01 	sub  %g2, %g1, %g2                             
 201b590:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 201b594:	82 10 62 40 	or  %g1, 0x240, %g1	! 201ee40 <_POSIX_signals_Vectors>
 201b598:	82 00 40 02 	add  %g1, %g2, %g1                             
 201b59c:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 201b5a0:	80 a0 a0 01 	cmp  %g2, 1                                    
 201b5a4:	02 80 00 14 	be  201b5f4 <pthread_kill+0xa4>                
 201b5a8:	c2 02 21 5c 	ld  [ %o0 + 0x15c ], %g1                       
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
 201b5ac:	c4 00 60 d4 	ld  [ %g1 + 0xd4 ], %g2                        
 201b5b0:	b6 10 20 01 	mov  1, %i3                                    
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
 201b5b4:	92 10 00 19 	mov  %i1, %o1                                  
 201b5b8:	bb 2e c0 1d 	sll  %i3, %i5, %i5                             
 201b5bc:	94 10 20 00 	clr  %o2                                       
          return 0;                                                   
        }                                                             
                                                                      
        /* XXX critical section */                                    
                                                                      
        api->signals_pending |= signo_to_mask( sig );                 
 201b5c0:	ba 10 80 1d 	or  %g2, %i5, %i5                              
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
 201b5c4:	7f ff ff 8a 	call  201b3ec <_POSIX_signals_Unblock_thread>  
 201b5c8:	fa 20 60 d4 	st  %i5, [ %g1 + 0xd4 ]                        
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 201b5cc:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
 201b5d0:	82 10 61 e0 	or  %g1, 0x1e0, %g1	! 201ede0 <_Per_CPU_Information>
 201b5d4:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 201b5d8:	80 a0 a0 00 	cmp  %g2, 0                                    
 201b5dc:	02 80 00 06 	be  201b5f4 <pthread_kill+0xa4>                
 201b5e0:	01 00 00 00 	nop                                            
 201b5e4:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 201b5e8:	80 a7 00 02 	cmp  %i4, %g2                                  
 201b5ec:	02 80 00 06 	be  201b604 <pthread_kill+0xb4>                
 201b5f0:	01 00 00 00 	nop                                            
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( sig ) {                                                    
                                                                      
        if ( _POSIX_signals_Vectors[ sig ].sa_handler == SIG_IGN ) {  
          _Thread_Enable_dispatch();                                  
 201b5f4:	7f ff bc bb 	call  200a8e0 <_Thread_Enable_dispatch>        
 201b5f8:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      
 201b5fc:	81 c7 e0 08 	ret                                            
 201b600:	81 e8 00 00 	restore                                        
        api->signals_pending |= signo_to_mask( sig );                 
                                                                      
        (void) _POSIX_signals_Unblock_thread( the_thread, sig, NULL );
                                                                      
        if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
	  _Thread_Dispatch_necessary = true;                                 
 201b604:	f6 28 60 18 	stb  %i3, [ %g1 + 0x18 ]                       
 201b608:	30 bf ff fb 	b,a   201b5f4 <pthread_kill+0xa4>              
                                                                      
  if ( !sig )                                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 201b60c:	7f ff d4 7a 	call  20107f4 <__errno>                        
 201b610:	b0 10 3f ff 	mov  -1, %i0                                   
 201b614:	82 10 20 16 	mov  0x16, %g1                                 
 201b618:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201b61c:	81 c7 e0 08 	ret                                            
 201b620:	81 e8 00 00 	restore                                        
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( ESRCH );                      
 201b624:	7f ff d4 74 	call  20107f4 <__errno>                        <== NOT EXECUTED
 201b628:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201b62c:	82 10 20 03 	mov  3, %g1                                    <== NOT EXECUTED
 201b630:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
}                                                                     
 201b634:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b638:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02009d3c <pthread_mutex_timedlock>: int pthread_mutex_timedlock( pthread_mutex_t *mutex, const struct timespec *abstime ) {
 2009d3c:	9d e3 bf 98 	save  %sp, -104, %sp                           
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
 2009d40:	90 10 00 19 	mov  %i1, %o0                                  
 2009d44:	40 00 00 38 	call  2009e24 <_POSIX_Absolute_timeout_to_ticks>
 2009d48:	92 07 bf fc 	add  %fp, -4, %o1                              
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
 2009d4c:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
 2009d50:	ba 10 00 08 	mov  %o0, %i5                                  
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
 2009d54:	80 a7 60 03 	cmp  %i5, 3                                    
 2009d58:	02 80 00 0c 	be  2009d88 <pthread_mutex_timedlock+0x4c>     
 2009d5c:	90 10 00 18 	mov  %i0, %o0                                  
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
 2009d60:	7f ff ff bd 	call  2009c54 <_POSIX_Mutex_Lock_support>      
 2009d64:	92 10 20 00 	clr  %o1                                       
   *  This service only gives us the option to block.  We used a polling
   *  attempt to lock if the abstime was not in the future.  If we did
   *  not obtain the mutex, then not look at the status immediately,  
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
 2009d68:	80 a2 20 10 	cmp  %o0, 0x10                                 
 2009d6c:	12 80 00 0a 	bne  2009d94 <pthread_mutex_timedlock+0x58>    
 2009d70:	b0 10 00 08 	mov  %o0, %i0                                  
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
 2009d74:	80 a7 60 00 	cmp  %i5, 0                                    
 2009d78:	12 80 00 09 	bne  2009d9c <pthread_mutex_timedlock+0x60>    <== ALWAYS TAKEN
 2009d7c:	ba 07 7f ff 	add  %i5, -1, %i5                              
      return EINVAL;                                                  
 2009d80:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2009d84:	91 e8 20 16 	restore  %g0, 0x16, %o0                        <== NOT EXECUTED
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );   
 2009d88:	7f ff ff b3 	call  2009c54 <_POSIX_Mutex_Lock_support>      
 2009d8c:	92 10 20 01 	mov  1, %o1                                    
 2009d90:	b0 10 00 08 	mov  %o0, %i0                                  
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
 2009d94:	81 c7 e0 08 	ret                                            
 2009d98:	81 e8 00 00 	restore                                        
   *  make sure the right reason is returned.                         
   */                                                                 
  if ( !do_wait && (lock_status == EBUSY) ) {                         
    if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                   
      return EINVAL;                                                  
    if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||               
 2009d9c:	80 a7 60 01 	cmp  %i5, 1                                    
 2009da0:	18 bf ff fd 	bgu  2009d94 <pthread_mutex_timedlock+0x58>    <== NEVER TAKEN
 2009da4:	01 00 00 00 	nop                                            
         status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                    
      return ETIMEDOUT;                                               
 2009da8:	81 c7 e0 08 	ret                                            
 2009dac:	91 e8 20 74 	restore  %g0, 0x74, %o0                        
                                                                      

02007574 <pthread_mutexattr_gettype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_gettype( const pthread_mutexattr_t *attr, int *type ) {
 2007574:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr )                                                        
 2007578:	80 a0 60 00 	cmp  %g1, 0                                    
 200757c:	02 80 00 06 	be  2007594 <pthread_mutexattr_gettype+0x20>   
 2007580:	90 10 20 16 	mov  0x16, %o0                                 
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 2007584:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2007588:	80 a0 a0 00 	cmp  %g2, 0                                    
 200758c:	12 80 00 04 	bne  200759c <pthread_mutexattr_gettype+0x28>  
 2007590:	80 a2 60 00 	cmp  %o1, 0                                    
  if ( !type )                                                        
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
  return 0;                                                           
}                                                                     
 2007594:	81 c3 e0 08 	retl                                           
 2007598:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
    return EINVAL;                                                    
                                                                      
  if ( !type )                                                        
 200759c:	02 bf ff fe 	be  2007594 <pthread_mutexattr_gettype+0x20>   <== NEVER TAKEN
 20075a0:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  *type = attr->type;                                                 
 20075a4:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
  return 0;                                                           
 20075a8:	90 10 20 00 	clr  %o0                                       
}                                                                     
 20075ac:	81 c3 e0 08 	retl                                           
 20075b0:	c2 22 40 00 	st  %g1, [ %o1 ]                               
                                                                      

02009904 <pthread_mutexattr_setpshared>: int pthread_mutexattr_setpshared( pthread_mutexattr_t *attr, int pshared ) {
 2009904:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr || !attr->is_initialized )                               
 2009908:	80 a0 60 00 	cmp  %g1, 0                                    
 200990c:	02 80 00 06 	be  2009924 <pthread_mutexattr_setpshared+0x20>
 2009910:	90 10 20 16 	mov  0x16, %o0                                 
 2009914:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2009918:	80 a0 a0 00 	cmp  %g2, 0                                    
 200991c:	12 80 00 04 	bne  200992c <pthread_mutexattr_setpshared+0x28>
 2009920:	80 a2 60 01 	cmp  %o1, 1                                    
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2009924:	81 c3 e0 08 	retl                                           
 2009928:	01 00 00 00 	nop                                            
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 200992c:	18 bf ff fe 	bgu  2009924 <pthread_mutexattr_setpshared+0x20><== NEVER TAKEN
 2009930:	01 00 00 00 	nop                                            
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
 2009934:	d2 20 60 04 	st  %o1, [ %g1 + 4 ]                           
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2009938:	81 c3 e0 08 	retl                                           
 200993c:	90 10 20 00 	clr  %o0                                       
                                                                      

02007608 <pthread_mutexattr_settype>: #if defined(_UNIX98_THREAD_MUTEX_ATTRIBUTES) int pthread_mutexattr_settype( pthread_mutexattr_t *attr, int type ) {
 2007608:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr || !attr->is_initialized )                               
 200760c:	80 a0 60 00 	cmp  %g1, 0                                    
 2007610:	02 80 00 06 	be  2007628 <pthread_mutexattr_settype+0x20>   
 2007614:	90 10 20 16 	mov  0x16, %o0                                 
 2007618:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 200761c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2007620:	12 80 00 04 	bne  2007630 <pthread_mutexattr_settype+0x28>  <== ALWAYS TAKEN
 2007624:	80 a2 60 03 	cmp  %o1, 3                                    
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2007628:	81 c3 e0 08 	retl                                           
 200762c:	01 00 00 00 	nop                                            
)                                                                     
{                                                                     
  if ( !attr || !attr->is_initialized )                               
    return EINVAL;                                                    
                                                                      
  switch ( type ) {                                                   
 2007630:	18 bf ff fe 	bgu  2007628 <pthread_mutexattr_settype+0x20>  
 2007634:	01 00 00 00 	nop                                            
    case PTHREAD_MUTEX_NORMAL:                                        
    case PTHREAD_MUTEX_RECURSIVE:                                     
    case PTHREAD_MUTEX_ERRORCHECK:                                    
    case PTHREAD_MUTEX_DEFAULT:                                       
      attr->type = type;                                              
 2007638:	d2 20 60 10 	st  %o1, [ %g1 + 0x10 ]                        
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 200763c:	81 c3 e0 08 	retl                                           
 2007640:	90 10 20 00 	clr  %o0                                       
                                                                      

02008430 <pthread_once>: int pthread_once( pthread_once_t *once_control, void (*init_routine)(void) ) {
 2008430:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if ( !once_control || !init_routine )                               
 2008434:	80 a6 60 00 	cmp  %i1, 0                                    
 2008438:	12 80 00 05 	bne  200844c <pthread_once+0x1c>               
 200843c:	80 a6 20 00 	cmp  %i0, 0                                    
    return EINVAL;                                                    
 2008440:	82 10 20 16 	mov  0x16, %g1                                 
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
  }                                                                   
  return 0;                                                           
}                                                                     
 2008444:	81 c7 e0 08 	ret                                            
 2008448:	91 e8 00 01 	restore  %g0, %g1, %o0                         
int pthread_once(                                                     
  pthread_once_t  *once_control,                                      
  void           (*init_routine)(void)                                
)                                                                     
{                                                                     
  if ( !once_control || !init_routine )                               
 200844c:	22 bf ff fe 	be,a   2008444 <pthread_once+0x14>             
 2008450:	82 10 20 16 	mov  0x16, %g1                                 
    return EINVAL;                                                    
                                                                      
  if ( !once_control->init_executed ) {                               
 2008454:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
 2008458:	80 a0 a0 00 	cmp  %g2, 0                                    
 200845c:	12 bf ff fa 	bne  2008444 <pthread_once+0x14>               
 2008460:	82 10 20 00 	clr  %g1                                       
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
 2008464:	90 10 21 00 	mov  0x100, %o0                                
 2008468:	92 10 21 00 	mov  0x100, %o1                                
 200846c:	40 00 03 17 	call  20090c8 <rtems_task_mode>                
 2008470:	94 07 bf fc 	add  %fp, -4, %o2                              
    if ( !once_control->init_executed ) {                             
 2008474:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 2008478:	80 a0 60 00 	cmp  %g1, 0                                    
 200847c:	02 80 00 09 	be  20084a0 <pthread_once+0x70>                <== ALWAYS TAKEN
 2008480:	82 10 20 01 	mov  1, %g1                                    
      once_control->is_initialized = true;                            
      once_control->init_executed = true;                             
      (*init_routine)();                                              
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 2008484:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          <== NOT EXECUTED
 2008488:	92 10 21 00 	mov  0x100, %o1                                
 200848c:	40 00 03 0f 	call  20090c8 <rtems_task_mode>                
 2008490:	94 07 bf fc 	add  %fp, -4, %o2                              
  }                                                                   
  return 0;                                                           
 2008494:	82 10 20 00 	clr  %g1                                       
}                                                                     
 2008498:	81 c7 e0 08 	ret                                            
 200849c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      
  if ( !once_control->init_executed ) {                               
    rtems_mode saveMode;                                              
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( !once_control->init_executed ) {                             
      once_control->is_initialized = true;                            
 20084a0:	c2 26 00 00 	st  %g1, [ %i0 ]                               
      once_control->init_executed = true;                             
      (*init_routine)();                                              
 20084a4:	9f c6 40 00 	call  %i1                                      
 20084a8:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 20084ac:	10 bf ff f7 	b  2008488 <pthread_once+0x58>                 
 20084b0:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
                                                                      

02008394 <pthread_rwlock_init>: int pthread_rwlock_init( pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr ) {
 2008394:	9d e3 bf 90 	save  %sp, -112, %sp                           
  const pthread_rwlockattr_t  *the_attr;                              
                                                                      
  /*                                                                  
   *  Error check parameters                                          
   */                                                                 
  if ( !rwlock )                                                      
 2008398:	80 a6 20 00 	cmp  %i0, 0                                    
 200839c:	02 80 00 08 	be  20083bc <pthread_rwlock_init+0x28>         
 20083a0:	80 a6 60 00 	cmp  %i1, 0                                    
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
 20083a4:	02 80 00 24 	be  2008434 <pthread_rwlock_init+0xa0>         
 20083a8:	90 07 bf f8 	add  %fp, -8, %o0                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 20083ac:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 20083b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20083b4:	32 80 00 04 	bne,a   20083c4 <pthread_rwlock_init+0x30>     <== ALWAYS TAKEN
 20083b8:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
                                                                      
  _Thread_Enable_dispatch();                                          
  return 0;                                                           
}                                                                     
 20083bc:	81 c7 e0 08 	ret                                            
 20083c0:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
    return EINVAL;                                                    
                                                                      
  switch ( the_attr->process_shared ) {                               
 20083c4:	80 a0 60 00 	cmp  %g1, 0                                    
 20083c8:	12 bf ff fd 	bne  20083bc <pthread_rwlock_init+0x28>        <== NEVER TAKEN
 20083cc:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 20083d0:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 20233a0 <_Thread_Dispatch_disable_level>
 */                                                                   
RTEMS_INLINE_ROUTINE void _CORE_RWLock_Initialize_attributes(         
  CORE_RWLock_Attributes *the_attributes                              
)                                                                     
{                                                                     
  the_attributes->XXX = 0;                                            
 20083d4:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
 20083d8:	84 00 a0 01 	inc  %g2                                       
 20083dc:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
    return _Thread_Dispatch_disable_level;                            
 20083e0:	c2 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g1                       
 *  This function allocates a RWLock control block from               
 *  the inactive chain of free RWLock control blocks.                 
 */                                                                   
RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Allocate( void )
{                                                                     
  return (POSIX_RWLock_Control *)                                     
 20083e4:	39 00 80 8d 	sethi  %hi(0x2023400), %i4                     
 20083e8:	40 00 0b 09 	call  200b00c <_Objects_Allocate>              
 20083ec:	90 17 21 d0 	or  %i4, 0x1d0, %o0	! 20235d0 <_POSIX_RWLock_Information>
   */                                                                 
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
 20083f0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20083f4:	02 80 00 14 	be  2008444 <pthread_rwlock_init+0xb0>         
 20083f8:	90 07 60 10 	add  %i5, 0x10, %o0                            
    _Thread_Enable_dispatch();                                        
    return EAGAIN;                                                    
  }                                                                   
                                                                      
  _CORE_RWLock_Initialize( &the_rwlock->RWLock, &the_attributes );    
 20083fc:	40 00 09 54 	call  200a94c <_CORE_RWLock_Initialize>        
 2008400:	92 07 bf f4 	add  %fp, -12, %o1                             
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008404:	c4 17 60 0a 	lduh  [ %i5 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008408:	b8 17 21 d0 	or  %i4, 0x1d0, %i4                            
 200840c:	c6 07 20 1c 	ld  [ %i4 + 0x1c ], %g3                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008410:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008414:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2008418:	fa 20 c0 02 	st  %i5, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 200841c:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
    &_POSIX_RWLock_Information,                                       
    &the_rwlock->Object,                                              
    0                                                                 
  );                                                                  
                                                                      
  *rwlock = the_rwlock->Object.id;                                    
 2008420:	c2 26 00 00 	st  %g1, [ %i0 ]                               
                                                                      
  _Thread_Enable_dispatch();                                          
 2008424:	40 00 10 62 	call  200c5ac <_Thread_Enable_dispatch>        
 2008428:	b0 10 20 00 	clr  %i0                                       
 200842c:	81 c7 e0 08 	ret                                            
 2008430:	81 e8 00 00 	restore                                        
   * If the user passed in NULL, use the default attributes           
   */                                                                 
  if ( attr ) {                                                       
    the_attr = attr;                                                  
  } else {                                                            
    (void) pthread_rwlockattr_init( &default_attr );                  
 2008434:	40 00 01 b7 	call  2008b10 <pthread_rwlockattr_init>        
 2008438:	b2 07 bf f8 	add  %fp, -8, %i1                              
  }                                                                   
                                                                      
  /*                                                                  
   * Now start error checking the attributes that we are going to use 
   */                                                                 
  if ( !the_attr->is_initialized )                                    
 200843c:	10 bf ff dd 	b  20083b0 <pthread_rwlock_init+0x1c>          
 2008440:	c2 06 40 00 	ld  [ %i1 ], %g1                               
  _Thread_Disable_dispatch();             /* prevents deletion */     
                                                                      
  the_rwlock = _POSIX_RWLock_Allocate();                              
                                                                      
  if ( !the_rwlock ) {                                                
    _Thread_Enable_dispatch();                                        
 2008444:	40 00 10 5a 	call  200c5ac <_Thread_Enable_dispatch>        
 2008448:	b0 10 20 0b 	mov  0xb, %i0                                  
 200844c:	81 c7 e0 08 	ret                                            
 2008450:	81 e8 00 00 	restore                                        
                                                                      

02008c7c <pthread_rwlock_timedrdlock>: int pthread_rwlock_timedrdlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 2008c7c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
 2008c80:	80 a6 20 00 	cmp  %i0, 0                                    
 2008c84:	02 80 00 25 	be  2008d18 <pthread_rwlock_timedrdlock+0x9c>  
 2008c88:	92 07 bf fc 	add  %fp, -4, %o1                              
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
 2008c8c:	40 00 1b 29 	call  200f930 <_POSIX_Absolute_timeout_to_ticks>
 2008c90:	90 10 00 19 	mov  %i1, %o0                                  
 2008c94:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2008c98:	ba 10 00 08 	mov  %o0, %i5                                  
 2008c9c:	94 07 bf f8 	add  %fp, -8, %o2                              
 2008ca0:	11 00 80 86 	sethi  %hi(0x2021800), %o0                     
 2008ca4:	40 00 0b ac 	call  200bb54 <_Objects_Get>                   
 2008ca8:	90 12 22 b0 	or  %o0, 0x2b0, %o0	! 2021ab0 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 2008cac:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2008cb0:	80 a0 60 00 	cmp  %g1, 0                                    
 2008cb4:	32 80 00 1a 	bne,a   2008d1c <pthread_rwlock_timedrdlock+0xa0>
 2008cb8:	b0 10 20 16 	mov  0x16, %i0                                 
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
 2008cbc:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2008cc0:	d6 07 bf fc 	ld  [ %fp + -4 ], %o3                          
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
 2008cc4:	82 1f 60 03 	xor  %i5, 3, %g1                               
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_reading(                                
 2008cc8:	90 02 20 10 	add  %o0, 0x10, %o0                            
 2008ccc:	80 a0 00 01 	cmp  %g0, %g1                                  
 2008cd0:	98 10 20 00 	clr  %o4                                       
 2008cd4:	b8 60 3f ff 	subx  %g0, -1, %i4                             
 2008cd8:	40 00 07 f6 	call  200acb0 <_CORE_RWLock_Obtain_for_reading>
 2008cdc:	94 10 00 1c 	mov  %i4, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 2008ce0:	40 00 0f 7b 	call  200cacc <_Thread_Enable_dispatch>        
 2008ce4:	01 00 00 00 	nop                                            
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
 2008ce8:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 2008cec:	c2 00 61 fc 	ld  [ %g1 + 0x1fc ], %g1	! 2021dfc <_Per_CPU_Information+0xc>
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
 2008cf0:	80 a7 20 00 	cmp  %i4, 0                                    
 2008cf4:	12 80 00 05 	bne  2008d08 <pthread_rwlock_timedrdlock+0x8c> 
 2008cf8:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
 2008cfc:	80 a2 20 02 	cmp  %o0, 2                                    
 2008d00:	02 80 00 09 	be  2008d24 <pthread_rwlock_timedrdlock+0xa8>  
 2008d04:	80 a7 60 00 	cmp  %i5, 0                                    
	       status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                     
	    return ETIMEDOUT;                                                
        }                                                             
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 2008d08:	40 00 00 3f 	call  2008e04 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 2008d0c:	01 00 00 00 	nop                                            
 2008d10:	81 c7 e0 08 	ret                                            
 2008d14:	91 e8 00 08 	restore  %g0, %o0, %o0                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
 2008d18:	b0 10 20 16 	mov  0x16, %i0                                 
}                                                                     
 2008d1c:	81 c7 e0 08 	ret                                            
 2008d20:	81 e8 00 00 	restore                                        
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait ) {                                               
        if ( _Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE ) {
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                    
 2008d24:	22 bf ff fe 	be,a   2008d1c <pthread_rwlock_timedrdlock+0xa0><== NEVER TAKEN
 2008d28:	b0 10 20 16 	mov  0x16, %i0                                 <== NOT EXECUTED
	    return EINVAL;                                                   
	  if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                
 2008d2c:	ba 07 7f ff 	add  %i5, -1, %i5                              
 2008d30:	80 a7 60 01 	cmp  %i5, 1                                    
 2008d34:	18 bf ff f5 	bgu  2008d08 <pthread_rwlock_timedrdlock+0x8c> <== NEVER TAKEN
 2008d38:	b0 10 20 74 	mov  0x74, %i0                                 
 2008d3c:	30 bf ff f8 	b,a   2008d1c <pthread_rwlock_timedrdlock+0xa0>
                                                                      

02008d40 <pthread_rwlock_timedwrlock>: int pthread_rwlock_timedwrlock( pthread_rwlock_t *rwlock, const struct timespec *abstime ) {
 2008d40:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Objects_Locations                            location;              
  Watchdog_Interval                            ticks;                 
  bool                                         do_wait = true;        
  POSIX_Absolute_timeout_conversion_results_t  status;                
                                                                      
  if ( !rwlock )                                                      
 2008d44:	80 a6 20 00 	cmp  %i0, 0                                    
 2008d48:	02 80 00 25 	be  2008ddc <pthread_rwlock_timedwrlock+0x9c>  
 2008d4c:	92 07 bf fc 	add  %fp, -4, %o1                              
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
 2008d50:	40 00 1a f8 	call  200f930 <_POSIX_Absolute_timeout_to_ticks>
 2008d54:	90 10 00 19 	mov  %i1, %o0                                  
 2008d58:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2008d5c:	ba 10 00 08 	mov  %o0, %i5                                  
 2008d60:	94 07 bf f8 	add  %fp, -8, %o2                              
 2008d64:	11 00 80 86 	sethi  %hi(0x2021800), %o0                     
 2008d68:	40 00 0b 7b 	call  200bb54 <_Objects_Get>                   
 2008d6c:	90 12 22 b0 	or  %o0, 0x2b0, %o0	! 2021ab0 <_POSIX_RWLock_Information>
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
 2008d70:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2008d74:	80 a0 60 00 	cmp  %g1, 0                                    
 2008d78:	32 80 00 1a 	bne,a   2008de0 <pthread_rwlock_timedwrlock+0xa0>
 2008d7c:	b0 10 20 16 	mov  0x16, %i0                                 
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
 2008d80:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2008d84:	d6 07 bf fc 	ld  [ %fp + -4 ], %o3                          
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
 2008d88:	82 1f 60 03 	xor  %i5, 3, %g1                               
  the_rwlock = _POSIX_RWLock_Get( rwlock, &location );                
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
                                                                      
      _CORE_RWLock_Obtain_for_writing(                                
 2008d8c:	90 02 20 10 	add  %o0, 0x10, %o0                            
 2008d90:	80 a0 00 01 	cmp  %g0, %g1                                  
 2008d94:	98 10 20 00 	clr  %o4                                       
 2008d98:	b8 60 3f ff 	subx  %g0, -1, %i4                             
 2008d9c:	40 00 07 fa 	call  200ad84 <_CORE_RWLock_Obtain_for_writing>
 2008da0:	94 10 00 1c 	mov  %i4, %o2                                  
	do_wait,                                                             
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
 2008da4:	40 00 0f 4a 	call  200cacc <_Thread_Enable_dispatch>        
 2008da8:	01 00 00 00 	nop                                            
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
 2008dac:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 2008db0:	c2 00 61 fc 	ld  [ %g1 + 0x1fc ], %g1	! 2021dfc <_Per_CPU_Information+0xc>
	ticks,                                                               
	NULL                                                                 
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
 2008db4:	80 a7 20 00 	cmp  %i4, 0                                    
 2008db8:	12 80 00 05 	bne  2008dcc <pthread_rwlock_timedwrlock+0x8c> 
 2008dbc:	d0 00 60 34 	ld  [ %g1 + 0x34 ], %o0                        
 2008dc0:	80 a2 20 02 	cmp  %o0, 2                                    
 2008dc4:	02 80 00 09 	be  2008de8 <pthread_rwlock_timedwrlock+0xa8>  
 2008dc8:	80 a7 60 00 	cmp  %i5, 0                                    
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
	     status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )                       
	  return ETIMEDOUT;                                                  
      }                                                               
                                                                      
      return _POSIX_RWLock_Translate_core_RWLock_return_code(         
 2008dcc:	40 00 00 0e 	call  2008e04 <_POSIX_RWLock_Translate_core_RWLock_return_code>
 2008dd0:	01 00 00 00 	nop                                            
 2008dd4:	81 c7 e0 08 	ret                                            
 2008dd8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return EINVAL;                                                      
 2008ddc:	b0 10 20 16 	mov  0x16, %i0                                 
}                                                                     
 2008de0:	81 c7 e0 08 	ret                                            
 2008de4:	81 e8 00 00 	restore                                        
      );                                                              
                                                                      
      _Thread_Enable_dispatch();                                      
      if ( !do_wait &&                                                
           (_Thread_Executing->Wait.return_code == CORE_RWLOCK_UNAVAILABLE) ) {
	if ( status == POSIX_ABSOLUTE_TIMEOUT_INVALID )                      
 2008de8:	22 bf ff fe 	be,a   2008de0 <pthread_rwlock_timedwrlock+0xa0><== NEVER TAKEN
 2008dec:	b0 10 20 16 	mov  0x16, %i0                                 <== NOT EXECUTED
	  return EINVAL;                                                     
	if ( status == POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST ||                  
 2008df0:	ba 07 7f ff 	add  %i5, -1, %i5                              
 2008df4:	80 a7 60 01 	cmp  %i5, 1                                    
 2008df8:	18 bf ff f5 	bgu  2008dcc <pthread_rwlock_timedwrlock+0x8c> <== NEVER TAKEN
 2008dfc:	b0 10 20 74 	mov  0x74, %i0                                 
 2008e00:	30 bf ff f8 	b,a   2008de0 <pthread_rwlock_timedwrlock+0xa0>
                                                                      

0200961c <pthread_rwlockattr_setpshared>: int pthread_rwlockattr_setpshared( pthread_rwlockattr_t *attr, int pshared ) {
 200961c:	82 10 00 08 	mov  %o0, %g1                                  
  if ( !attr )                                                        
 2009620:	80 a0 60 00 	cmp  %g1, 0                                    
 2009624:	02 80 00 06 	be  200963c <pthread_rwlockattr_setpshared+0x20>
 2009628:	90 10 20 16 	mov  0x16, %o0                                 
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
 200962c:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2009630:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009634:	12 80 00 04 	bne  2009644 <pthread_rwlockattr_setpshared+0x28>
 2009638:	80 a2 60 01 	cmp  %o1, 1                                    
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 200963c:	81 c3 e0 08 	retl                                           
 2009640:	01 00 00 00 	nop                                            
    return EINVAL;                                                    
                                                                      
  if ( !attr->is_initialized )                                        
    return EINVAL;                                                    
                                                                      
  switch ( pshared ) {                                                
 2009644:	18 bf ff fe 	bgu  200963c <pthread_rwlockattr_setpshared+0x20><== NEVER TAKEN
 2009648:	01 00 00 00 	nop                                            
    case PTHREAD_PROCESS_SHARED:                                      
    case PTHREAD_PROCESS_PRIVATE:                                     
      attr->process_shared = pshared;                                 
 200964c:	d2 20 60 04 	st  %o1, [ %g1 + 4 ]                           
      return 0;                                                       
                                                                      
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
}                                                                     
 2009650:	81 c3 e0 08 	retl                                           
 2009654:	90 10 20 00 	clr  %o0                                       
                                                                      

0200a6ec <pthread_setschedparam>: int pthread_setschedparam( pthread_t thread, int policy, struct sched_param *param ) {
 200a6ec:	9d e3 bf 90 	save  %sp, -112, %sp                           
  int                                  rc;                            
                                                                      
  /*                                                                  
   *  Check all the parameters                                        
   */                                                                 
  if ( !param )                                                       
 200a6f0:	80 a6 a0 00 	cmp  %i2, 0                                    
 200a6f4:	02 80 00 0a 	be  200a71c <pthread_setschedparam+0x30>       
 200a6f8:	ba 10 20 16 	mov  0x16, %i5                                 
    return EINVAL;                                                    
                                                                      
  rc = _POSIX_Thread_Translate_sched_param(                           
 200a6fc:	90 10 00 19 	mov  %i1, %o0                                  
 200a700:	92 10 00 1a 	mov  %i2, %o1                                  
 200a704:	94 07 bf f4 	add  %fp, -12, %o2                             
 200a708:	40 00 18 fd 	call  2010afc <_POSIX_Thread_Translate_sched_param>
 200a70c:	96 07 bf f8 	add  %fp, -8, %o3                              
    policy,                                                           
    param,                                                            
    &budget_algorithm,                                                
    &budget_callout                                                   
  );                                                                  
  if ( rc )                                                           
 200a710:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200a714:	02 80 00 05 	be  200a728 <pthread_setschedparam+0x3c>       
 200a718:	90 10 00 18 	mov  %i0, %o0                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
}                                                                     
 200a71c:	b0 10 00 1d 	mov  %i5, %i0                                  
 200a720:	81 c7 e0 08 	ret                                            
 200a724:	81 e8 00 00 	restore                                        
    return rc;                                                        
                                                                      
  /*                                                                  
   *  Actually change the scheduling policy and parameters            
   */                                                                 
  the_thread = _Thread_Get( thread, &location );                      
 200a728:	40 00 0c d1 	call  200da6c <_Thread_Get>                    
 200a72c:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200a730:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200a734:	80 a0 60 00 	cmp  %g1, 0                                    
 200a738:	12 80 00 2b 	bne  200a7e4 <pthread_setschedparam+0xf8>      
 200a73c:	b6 10 00 08 	mov  %o0, %i3                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
 200a740:	f8 02 21 5c 	ld  [ %o0 + 0x15c ], %i4                       
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
 200a744:	c2 07 20 84 	ld  [ %i4 + 0x84 ], %g1                        
 200a748:	80 a0 60 04 	cmp  %g1, 4                                    
 200a74c:	02 80 00 35 	be  200a820 <pthread_setschedparam+0x134>      
 200a750:	01 00 00 00 	nop                                            
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
 200a754:	c2 06 80 00 	ld  [ %i2 ], %g1                               
      the_thread->budget_algorithm = budget_algorithm;                
      the_thread->budget_callout   = budget_callout;                  
                                                                      
      switch ( api->schedpolicy ) {                                   
 200a758:	80 a6 60 00 	cmp  %i1, 0                                    
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
 200a75c:	c2 27 20 88 	st  %g1, [ %i4 + 0x88 ]                        
 200a760:	c4 06 a0 04 	ld  [ %i2 + 4 ], %g2                           
 200a764:	c4 27 20 8c 	st  %g2, [ %i4 + 0x8c ]                        
 200a768:	c4 06 a0 08 	ld  [ %i2 + 8 ], %g2                           
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
                                                                      
      api->schedpolicy = policy;                                      
 200a76c:	f2 27 20 84 	st  %i1, [ %i4 + 0x84 ]                        
      api->schedparam  = *param;                                      
 200a770:	c4 27 20 90 	st  %g2, [ %i4 + 0x90 ]                        
 200a774:	c4 06 a0 0c 	ld  [ %i2 + 0xc ], %g2                         
 200a778:	c4 27 20 94 	st  %g2, [ %i4 + 0x94 ]                        
 200a77c:	c4 06 a0 10 	ld  [ %i2 + 0x10 ], %g2                        
 200a780:	c4 27 20 98 	st  %g2, [ %i4 + 0x98 ]                        
 200a784:	c4 06 a0 14 	ld  [ %i2 + 0x14 ], %g2                        
 200a788:	c4 27 20 9c 	st  %g2, [ %i4 + 0x9c ]                        
 200a78c:	c4 06 a0 18 	ld  [ %i2 + 0x18 ], %g2                        
 200a790:	c4 27 20 a0 	st  %g2, [ %i4 + 0xa0 ]                        
      the_thread->budget_algorithm = budget_algorithm;                
 200a794:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         
 200a798:	c4 26 e0 78 	st  %g2, [ %i3 + 0x78 ]                        
      the_thread->budget_callout   = budget_callout;                  
 200a79c:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
                                                                      
      switch ( api->schedpolicy ) {                                   
 200a7a0:	06 80 00 0e 	bl  200a7d8 <pthread_setschedparam+0xec>       <== NEVER TAKEN
 200a7a4:	c4 26 e0 7c 	st  %g2, [ %i3 + 0x7c ]                        
 200a7a8:	80 a6 60 02 	cmp  %i1, 2                                    
 200a7ac:	04 80 00 11 	ble  200a7f0 <pthread_setschedparam+0x104>     
 200a7b0:	07 00 80 8c 	sethi  %hi(0x2023000), %g3                     
 200a7b4:	80 a6 60 04 	cmp  %i1, 4                                    
 200a7b8:	12 80 00 08 	bne  200a7d8 <pthread_setschedparam+0xec>      <== NEVER TAKEN
 200a7bc:	01 00 00 00 	nop                                            
             true                                                     
          );                                                          
          break;                                                      
                                                                      
        case SCHED_SPORADIC:                                          
          api->ss_high_priority = api->schedparam.sched_priority;     
 200a7c0:	c2 27 20 a4 	st  %g1, [ %i4 + 0xa4 ]                        
          _Watchdog_Remove( &api->Sporadic_timer );                   
 200a7c4:	40 00 11 13 	call  200ec10 <_Watchdog_Remove>               
 200a7c8:	90 07 20 a8 	add  %i4, 0xa8, %o0                            
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
 200a7cc:	90 10 20 00 	clr  %o0                                       
 200a7d0:	7f ff ff 7b 	call  200a5bc <_POSIX_Threads_Sporadic_budget_TSR>
 200a7d4:	92 10 00 1b 	mov  %i3, %o1                                  
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
 200a7d8:	40 00 0c 98 	call  200da38 <_Thread_Enable_dispatch>        
 200a7dc:	b0 10 00 1d 	mov  %i5, %i0                                  
 200a7e0:	30 bf ff d0 	b,a   200a720 <pthread_setschedparam+0x34>     
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return ESRCH;                                                       
 200a7e4:	ba 10 20 03 	mov  3, %i5                                    
}                                                                     
 200a7e8:	81 c7 e0 08 	ret                                            
 200a7ec:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
 200a7f0:	d2 08 e0 68 	ldub  [ %g3 + 0x68 ], %o1                      
                                                                      
      switch ( api->schedpolicy ) {                                   
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
 200a7f4:	05 00 80 8f 	sethi  %hi(0x2023c00), %g2                     
 200a7f8:	c4 00 a1 c0 	ld  [ %g2 + 0x1c0 ], %g2	! 2023dc0 <_Thread_Ticks_per_timeslice>
 200a7fc:	92 22 40 01 	sub  %o1, %g1, %o1                             
                                                                      
          the_thread->real_priority =                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 200a800:	90 10 00 1b 	mov  %i3, %o0                                  
 200a804:	94 10 20 01 	mov  1, %o2                                    
                                                                      
      switch ( api->schedpolicy ) {                                   
        case SCHED_OTHER:                                             
        case SCHED_FIFO:                                              
        case SCHED_RR:                                                
          the_thread->cpu_time_budget = _Thread_Ticks_per_timeslice;  
 200a808:	c4 26 e0 74 	st  %g2, [ %i3 + 0x74 ]                        
                                                                      
          the_thread->real_priority =                                 
            _POSIX_Priority_To_core( api->schedparam.sched_priority );
                                                                      
          _Thread_Change_priority(                                    
 200a80c:	40 00 0b 4a 	call  200d534 <_Thread_Change_priority>        
 200a810:	d2 26 e0 18 	st  %o1, [ %i3 + 0x18 ]                        
          _Watchdog_Remove( &api->Sporadic_timer );                   
          _POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );        
          break;                                                      
      }                                                               
                                                                      
      _Thread_Enable_dispatch();                                      
 200a814:	40 00 0c 89 	call  200da38 <_Thread_Enable_dispatch>        
 200a818:	b0 10 00 1d 	mov  %i5, %i0                                  
 200a81c:	30 bf ff c1 	b,a   200a720 <pthread_setschedparam+0x34>     
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_POSIX ];           
                                                                      
      if ( api->schedpolicy == SCHED_SPORADIC )                       
        (void) _Watchdog_Remove( &api->Sporadic_timer );              
 200a820:	40 00 10 fc 	call  200ec10 <_Watchdog_Remove>               
 200a824:	90 07 20 a8 	add  %i4, 0xa8, %o0                            
                                                                      
      api->schedpolicy = policy;                                      
      api->schedparam  = *param;                                      
 200a828:	10 bf ff cc 	b  200a758 <pthread_setschedparam+0x6c>        
 200a82c:	c2 06 80 00 	ld  [ %i2 ], %g1                               
                                                                      

0200808c <pthread_testcancel>: /* * 18.2.2 Setting Cancelability State, P1003.1c/Draft 10, p. 183 */ void pthread_testcancel( void ) {
 200808c:	9d e3 bf a0 	save  %sp, -96, %sp                            
   *  Don't even think about deleting a resource from an ISR.         
   *  Besides this request is supposed to be for _Thread_Executing    
   *  and the ISR context is not a thread.                            
   */                                                                 
                                                                      
  if ( _ISR_Is_in_progress() )                                        
 2008090:	3b 00 80 7f 	sethi  %hi(0x201fc00), %i5                     
 2008094:	ba 17 60 30 	or  %i5, 0x30, %i5	! 201fc30 <_Per_CPU_Information>
 2008098:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200809c:	80 a0 60 00 	cmp  %g1, 0                                    
 20080a0:	12 80 00 17 	bne  20080fc <pthread_testcancel+0x70>         <== NEVER TAKEN
 20080a4:	03 00 80 7d 	sethi  %hi(0x201f400), %g1                     
    return;                                                           
                                                                      
  thread_support = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ];
 20080a8:	c4 07 60 0c 	ld  [ %i5 + 0xc ], %g2                         
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 20080ac:	c6 00 63 00 	ld  [ %g1 + 0x300 ], %g3                       
 20080b0:	c4 00 a1 5c 	ld  [ %g2 + 0x15c ], %g2                       
 20080b4:	86 00 e0 01 	inc  %g3                                       
 20080b8:	c6 20 63 00 	st  %g3, [ %g1 + 0x300 ]                       
    return _Thread_Dispatch_disable_level;                            
 20080bc:	c2 00 63 00 	ld  [ %g1 + 0x300 ], %g1                       
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
 20080c0:	c2 00 a0 d8 	ld  [ %g2 + 0xd8 ], %g1                        
 20080c4:	80 a0 60 00 	cmp  %g1, 0                                    
 20080c8:	12 80 00 0b 	bne  20080f4 <pthread_testcancel+0x68>         <== NEVER TAKEN
 20080cc:	01 00 00 00 	nop                                            
 20080d0:	c2 00 a0 e0 	ld  [ %g2 + 0xe0 ], %g1                        
 20080d4:	80 a0 60 00 	cmp  %g1, 0                                    
 20080d8:	02 80 00 07 	be  20080f4 <pthread_testcancel+0x68>          
 20080dc:	01 00 00 00 	nop                                            
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
 20080e0:	40 00 0c 42 	call  200b1e8 <_Thread_Enable_dispatch>        
 20080e4:	b2 10 3f ff 	mov  -1, %i1	! ffffffff <RAM_END+0xfdbfffff>   
                                                                      
  if ( cancel )                                                       
    _POSIX_Thread_Exit( _Thread_Executing, PTHREAD_CANCELED );        
 20080e8:	f0 07 60 0c 	ld  [ %i5 + 0xc ], %i0                         
 20080ec:	40 00 18 9a 	call  200e354 <_POSIX_Thread_Exit>             
 20080f0:	81 e8 00 00 	restore                                        
                                                                      
  _Thread_Disable_dispatch();                                         
    if ( thread_support->cancelability_state == PTHREAD_CANCEL_ENABLE &&
         thread_support->cancelation_requested )                      
      cancel = true;                                                  
  _Thread_Enable_dispatch();                                          
 20080f4:	40 00 0c 3d 	call  200b1e8 <_Thread_Enable_dispatch>        
 20080f8:	81 e8 00 00 	restore                                        
 20080fc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2008100:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200d1b0 <ramdisk_allocate>: void *area_begin, uint32_t block_size, rtems_blkdev_bnum block_count, bool trace ) {
 200d1b0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  struct ramdisk *rd = malloc(sizeof(struct ramdisk));                
 200d1b4:	7f ff df b1 	call  2005078 <malloc>                         
 200d1b8:	90 10 20 10 	mov  0x10, %o0                                 
                                                                      
  if (rd == NULL) {                                                   
 200d1bc:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200d1c0:	02 80 00 0b 	be  200d1ec <ramdisk_allocate+0x3c>            <== NEVER TAKEN
 200d1c4:	80 a6 20 00 	cmp  %i0, 0                                    
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
 200d1c8:	02 80 00 0b 	be  200d1f4 <ramdisk_allocate+0x44>            
 200d1cc:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
      return NULL;                                                    
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
 200d1d0:	c0 2f 60 0d 	clrb  [ %i5 + 0xd ]                            
  }                                                                   
  rd->block_size = block_size;                                        
  rd->block_num = block_count;                                        
  rd->area = area_begin;                                              
  rd->trace = trace;                                                  
  rd->initialized = true;                                             
 200d1d4:	82 10 20 01 	mov  1, %g1                                    
    }                                                                 
    rd->malloced = true;                                              
  } else {                                                            
    rd->malloced = false;                                             
  }                                                                   
  rd->block_size = block_size;                                        
 200d1d8:	f2 27 40 00 	st  %i1, [ %i5 ]                               
  rd->block_num = block_count;                                        
 200d1dc:	f4 27 60 04 	st  %i2, [ %i5 + 4 ]                           
  rd->area = area_begin;                                              
 200d1e0:	f0 27 60 08 	st  %i0, [ %i5 + 8 ]                           
  rd->trace = trace;                                                  
 200d1e4:	f6 2f 60 0e 	stb  %i3, [ %i5 + 0xe ]                        
  rd->initialized = true;                                             
 200d1e8:	c2 2f 60 0c 	stb  %g1, [ %i5 + 0xc ]                        
                                                                      
  return rd;                                                          
}                                                                     
 200d1ec:	81 c7 e0 08 	ret                                            
 200d1f0:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
  if (rd == NULL) {                                                   
    return NULL;                                                      
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
    area_begin = calloc(block_count, block_size);                     
 200d1f4:	7f ff dd 6d 	call  20047a8 <calloc>                         
 200d1f8:	92 10 00 19 	mov  %i1, %o1                                  
    if (area_begin == NULL) {                                         
 200d1fc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200d200:	02 80 00 04 	be  200d210 <ramdisk_allocate+0x60>            <== NEVER TAKEN
 200d204:	82 10 20 01 	mov  1, %g1                                    
      free(rd);                                                       
                                                                      
      return NULL;                                                    
    }                                                                 
    rd->malloced = true;                                              
 200d208:	10 bf ff f4 	b  200d1d8 <ramdisk_allocate+0x28>             
 200d20c:	c2 2f 60 0d 	stb  %g1, [ %i5 + 0xd ]                        
  }                                                                   
                                                                      
  if (area_begin == NULL) {                                           
    area_begin = calloc(block_count, block_size);                     
    if (area_begin == NULL) {                                         
      free(rd);                                                       
 200d210:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200d214:	7f ff de 37 	call  2004af0 <free>                           <== NOT EXECUTED
 200d218:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
                                                                      
      return NULL;                                                    
 200d21c:	30 bf ff f4 	b,a   200d1ec <ramdisk_allocate+0x3c>          <== NOT EXECUTED
                                                                      

0200d220 <ramdisk_free>: return rd; } void ramdisk_free(ramdisk *rd) {
 200d220:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (rd != NULL) {                                                   
 200d224:	80 a6 20 00 	cmp  %i0, 0                                    
 200d228:	02 80 00 0c 	be  200d258 <ramdisk_free+0x38>                <== NEVER TAKEN
 200d22c:	01 00 00 00 	nop                                            
    if (rd->malloced) {                                               
 200d230:	c2 0e 20 0d 	ldub  [ %i0 + 0xd ], %g1                       
 200d234:	80 a0 60 00 	cmp  %g1, 0                                    
 200d238:	12 80 00 04 	bne  200d248 <ramdisk_free+0x28>               
 200d23c:	01 00 00 00 	nop                                            
      free(rd->area);                                                 
    }                                                                 
    free(rd);                                                         
 200d240:	7f ff de 2c 	call  2004af0 <free>                           
 200d244:	81 e8 00 00 	restore                                        
                                                                      
void ramdisk_free(ramdisk *rd)                                        
{                                                                     
  if (rd != NULL) {                                                   
    if (rd->malloced) {                                               
      free(rd->area);                                                 
 200d248:	7f ff de 2a 	call  2004af0 <free>                           
 200d24c:	d0 06 20 08 	ld  [ %i0 + 8 ], %o0                           
    }                                                                 
    free(rd);                                                         
 200d250:	7f ff de 28 	call  2004af0 <free>                           
 200d254:	81 e8 00 00 	restore                                        
 200d258:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200d25c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02024130 <ramdisk_initialize>: rtems_device_driver ramdisk_initialize( rtems_device_major_number major, rtems_device_minor_number minor __attribute__((unused)), void *arg __attribute__((unused))) {
 2024130:	9d e3 bf 80 	save  %sp, -128, %sp                           
    rtems_device_minor_number i;                                      
    rtems_ramdisk_config *c = rtems_ramdisk_configuration;            
    struct ramdisk *r;                                                
    rtems_status_code rc;                                             
                                                                      
    rc = rtems_disk_io_initialize();                                  
 2024134:	7f ff 90 f9 	call  2008518 <rtems_disk_io_initialize>       
 2024138:	a0 10 00 18 	mov  %i0, %l0                                  
    if (rc != RTEMS_SUCCESSFUL)                                       
 202413c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2024140:	02 80 00 04 	be  2024150 <ramdisk_initialize+0x20>          <== ALWAYS TAKEN
 2024144:	23 00 81 c6 	sethi  %hi(0x2071800), %l1                     
            }                                                         
            r->initialized = false;                                   
        }                                                             
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
 2024148:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202414c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
     * This is allocating memory for a RAM disk which will persist for
     * the life of the system. RTEMS has no "de-initialize" driver call
     * so there is no corresponding free(r).  Coverity is correct that
     * it is never freed but this is not a problem.                   
     */                                                               
    r = calloc(rtems_ramdisk_configuration_size, sizeof(struct ramdisk));
 2024150:	fa 04 60 fc 	ld  [ %l1 + 0xfc ], %i5                        
 2024154:	92 10 20 10 	mov  0x10, %o1                                 
 2024158:	7f ff 93 8c 	call  2008f88 <calloc>                         
 202415c:	90 10 00 1d 	mov  %i5, %o0                                  
    r->trace = false;                                                 
 2024160:	c0 2a 20 0e 	clrb  [ %o0 + 0xe ]                            
    for (i = 0; i < rtems_ramdisk_configuration_size; i++, c++, r++)  
 2024164:	80 a7 60 00 	cmp  %i5, 0                                    
 2024168:	02 80 00 2e 	be  2024220 <ramdisk_initialize+0xf0>          <== NEVER TAKEN
 202416c:	b6 10 00 08 	mov  %o0, %i3                                  
 2024170:	35 00 81 c6 	sethi  %hi(0x2071800), %i2                     
    {                                                                 
        dev_t dev = rtems_filesystem_make_dev_t(major, i);            
        char name [] = RAMDISK_DEVICE_BASE_NAME "a";                  
 2024174:	39 0b d9 19 	sethi  %hi(0x2f646400), %i4                    
 2024178:	3b 0b dc 99 	sethi  %hi(0x2f726400), %i5                    
        {                                                             
            r->malloced = false;                                      
            r->initialized = true;                                    
            r->area = c->location;                                    
        }                                                             
        rc = rtems_disk_create_phys(dev, c->block_size, c->block_num, 
 202417c:	25 00 80 90 	sethi  %hi(0x2024000), %l2                     
     * so there is no corresponding free(r).  Coverity is correct that
     * it is never freed but this is not a problem.                   
     */                                                               
    r = calloc(rtems_ramdisk_configuration_size, sizeof(struct ramdisk));
    r->trace = false;                                                 
    for (i = 0; i < rtems_ramdisk_configuration_size; i++, c++, r++)  
 2024180:	b4 16 a1 00 	or  %i2, 0x100, %i2                            
 2024184:	b2 10 20 00 	clr  %i1                                       
 2024188:	a2 14 60 fc 	or  %l1, 0xfc, %l1                             
    {                                                                 
        dev_t dev = rtems_filesystem_make_dev_t(major, i);            
        char name [] = RAMDISK_DEVICE_BASE_NAME "a";                  
 202418c:	b8 17 21 76 	or  %i4, 0x176, %i4                            
 2024190:	ba 17 60 61 	or  %i5, 0x61, %i5                             
            r->malloced = false;                                      
            r->initialized = true;                                    
            r->area = c->location;                                    
        }                                                             
        rc = rtems_disk_create_phys(dev, c->block_size, c->block_num, 
                                    ramdisk_ioctl, r, name);          
 2024194:	a6 07 bf f0 	add  %fp, -16, %l3                             
        {                                                             
            r->malloced = false;                                      
            r->initialized = true;                                    
            r->area = c->location;                                    
        }                                                             
        rc = rtems_disk_create_phys(dev, c->block_size, c->block_num, 
 2024198:	a4 14 a2 6c 	or  %l2, 0x26c, %l2                            
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            r->malloced = false;                                      
            r->initialized = true;                                    
 202419c:	b0 10 20 01 	mov  1, %i0                                    
    for (i = 0; i < rtems_ramdisk_configuration_size; i++, c++, r++)  
    {                                                                 
        dev_t dev = rtems_filesystem_make_dev_t(major, i);            
        char name [] = RAMDISK_DEVICE_BASE_NAME "a";                  
        name [sizeof(RAMDISK_DEVICE_BASE_NAME)] += i;                 
        r->block_size = c->block_size;                                
 20241a0:	d4 06 80 00 	ld  [ %i2 ], %o2                               
        r->block_num = c->block_num;                                  
 20241a4:	d6 06 a0 04 	ld  [ %i2 + 4 ], %o3                           
        if (c->location == NULL)                                      
 20241a8:	c2 06 a0 08 	ld  [ %i2 + 8 ], %g1                           
    r->trace = false;                                                 
    for (i = 0; i < rtems_ramdisk_configuration_size; i++, c++, r++)  
    {                                                                 
        dev_t dev = rtems_filesystem_make_dev_t(major, i);            
        char name [] = RAMDISK_DEVICE_BASE_NAME "a";                  
        name [sizeof(RAMDISK_DEVICE_BASE_NAME)] += i;                 
 20241ac:	f2 2f bf f8 	stb  %i1, [ %fp + -8 ]                         
        r->block_size = c->block_size;                                
 20241b0:	d4 26 c0 00 	st  %o2, [ %i3 ]                               
        r->block_num = c->block_num;                                  
 20241b4:	d6 26 e0 04 	st  %o3, [ %i3 + 4 ]                           
        if (c->location == NULL)                                      
 20241b8:	80 a0 60 00 	cmp  %g1, 0                                    
 20241bc:	02 80 00 1f 	be  2024238 <ramdisk_initialize+0x108>         <== ALWAYS TAKEN
 20241c0:	f8 3f bf f0 	std  %i4, [ %fp + -16 ]                        
                r->initialized = true;                                
            }                                                         
        }                                                             
        else                                                          
        {                                                             
            r->malloced = false;                                      
 20241c4:	c0 2e e0 0d 	clrb  [ %i3 + 0xd ]                            <== NOT EXECUTED
            r->initialized = true;                                    
 20241c8:	f0 2e e0 0c 	stb  %i0, [ %i3 + 0xc ]                        <== NOT EXECUTED
            r->area = c->location;                                    
 20241cc:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           <== NOT EXECUTED
        }                                                             
        rc = rtems_disk_create_phys(dev, c->block_size, c->block_num, 
 20241d0:	92 10 00 19 	mov  %i1, %o1                                  
 20241d4:	9a 10 00 1b 	mov  %i3, %o5                                  
 20241d8:	98 10 00 12 	mov  %l2, %o4                                  
 20241dc:	e6 23 a0 5c 	st  %l3, [ %sp + 0x5c ]                        
 20241e0:	7f ff 90 2e 	call  2008298 <rtems_disk_create_phys>         
 20241e4:	90 10 00 10 	mov  %l0, %o0                                  
                                    ramdisk_ioctl, r, name);          
        if (rc != RTEMS_SUCCESSFUL)                                   
 20241e8:	80 a2 20 00 	cmp  %o0, 0                                    
 20241ec:	22 80 00 08 	be,a   202420c <ramdisk_initialize+0xdc>       <== ALWAYS TAKEN
 20241f0:	c2 04 40 00 	ld  [ %l1 ], %g1                               
        {                                                             
            if (r->malloced)                                          
 20241f4:	c2 0e e0 0d 	ldub  [ %i3 + 0xd ], %g1                       <== NOT EXECUTED
 20241f8:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20241fc:	12 80 00 0b 	bne  2024228 <ramdisk_initialize+0xf8>         <== NOT EXECUTED
 2024200:	01 00 00 00 	nop                                            <== NOT EXECUTED
            {                                                         
                free(r->area);                                        
            }                                                         
            r->initialized = false;                                   
 2024204:	c0 2e e0 0c 	clrb  [ %i3 + 0xc ]                            <== NOT EXECUTED
     * so there is no corresponding free(r).  Coverity is correct that
     * it is never freed but this is not a problem.                   
     */                                                               
    r = calloc(rtems_ramdisk_configuration_size, sizeof(struct ramdisk));
    r->trace = false;                                                 
    for (i = 0; i < rtems_ramdisk_configuration_size; i++, c++, r++)  
 2024208:	c2 04 40 00 	ld  [ %l1 ], %g1                               <== NOT EXECUTED
 202420c:	b2 06 60 01 	inc  %i1                                       
 2024210:	b4 06 a0 0c 	add  %i2, 0xc, %i2                             
 2024214:	80 a0 40 19 	cmp  %g1, %i1                                  
 2024218:	18 bf ff e2 	bgu  20241a0 <ramdisk_initialize+0x70>         <== NEVER TAKEN
 202421c:	b6 06 e0 10 	add  %i3, 0x10, %i3                            
                free(r->area);                                        
            }                                                         
            r->initialized = false;                                   
        }                                                             
    }                                                                 
    return RTEMS_SUCCESSFUL;                                          
 2024220:	81 c7 e0 08 	ret                                            
 2024224:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                    ramdisk_ioctl, r, name);          
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            if (r->malloced)                                          
            {                                                         
                free(r->area);                                        
 2024228:	7f ff 94 39 	call  200930c <free>                           <== NOT EXECUTED
 202422c:	d0 06 e0 08 	ld  [ %i3 + 8 ], %o0                           <== NOT EXECUTED
            }                                                         
            r->initialized = false;                                   
 2024230:	10 bf ff f6 	b  2024208 <ramdisk_initialize+0xd8>           <== NOT EXECUTED
 2024234:	c0 2e e0 0c 	clrb  [ %i3 + 0xc ]                            <== NOT EXECUTED
        r->block_size = c->block_size;                                
        r->block_num = c->block_num;                                  
        if (c->location == NULL)                                      
        {                                                             
            r->malloced = true;                                       
            r->area = malloc(r->block_size * r->block_num);           
 2024238:	92 10 00 0a 	mov  %o2, %o1                                  
 202423c:	90 10 00 0b 	mov  %o3, %o0                                  
 2024240:	d4 3f bf e8 	std  %o2, [ %fp + -24 ]                        
 2024244:	7f ff 7b 48 	call  2002f64 <.umul>                          
 2024248:	f0 2e e0 0d 	stb  %i0, [ %i3 + 0xd ]                        
 202424c:	7f ff 95 9a 	call  20098b4 <malloc>                         
 2024250:	01 00 00 00 	nop                                            
 2024254:	d0 26 e0 08 	st  %o0, [ %i3 + 8 ]                           
            if (r->area == NULL) /* No enough memory for this disk */ 
 2024258:	80 a2 20 00 	cmp  %o0, 0                                    
 202425c:	02 bf ff ea 	be  2024204 <ramdisk_initialize+0xd4>          <== NEVER TAKEN
 2024260:	d4 1f bf e8 	ldd  [ %fp + -24 ], %o2                        
                r->initialized = false;                               
                continue;                                             
            }                                                         
            else                                                      
            {                                                         
                r->initialized = true;                                
 2024264:	10 bf ff db 	b  20241d0 <ramdisk_initialize+0xa0>           
 2024268:	f0 2e e0 0c 	stb  %i0, [ %i3 + 0xc ]                        
                                                                      

0200d060 <ramdisk_ioctl>: return 0; } int ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) {
 200d060:	9d e3 bf a0 	save  %sp, -96, %sp                            
    struct ramdisk *rd = rtems_disk_get_driver_data(dd);              
                                                                      
    switch (req)                                                      
 200d064:	05 08 00 10 	sethi  %hi(0x20004000), %g2                    
    return 0;                                                         
}                                                                     
                                                                      
int                                                                   
ramdisk_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)        
{                                                                     
 200d068:	b8 10 00 1a 	mov  %i2, %i4                                  
    struct ramdisk *rd = rtems_disk_get_driver_data(dd);              
                                                                      
    switch (req)                                                      
 200d06c:	84 10 a2 07 	or  %g2, 0x207, %g2                            
 200d070:	80 a6 40 02 	cmp  %i1, %g2                                  
 200d074:	02 80 00 09 	be  200d098 <ramdisk_ioctl+0x38>               
 200d078:	f6 06 20 3c 	ld  [ %i0 + 0x3c ], %i3                        
 200d07c:	05 30 06 10 	sethi  %hi(0xc0184000), %g2                    
 200d080:	84 10 a2 01 	or  %g2, 0x201, %g2	! c0184201 <RAM_END+0xbdd84201>
 200d084:	80 a6 40 02 	cmp  %i1, %g2                                  
 200d088:	22 80 00 0e 	be,a   200d0c0 <ramdisk_ioctl+0x60>            
 200d08c:	c2 06 80 00 	ld  [ %i2 ], %g1                               
              ramdisk_free(rd);                                       
            }                                                         
            break;                                                    
                                                                      
        default:                                                      
            return rtems_blkdev_ioctl (dd, req, argp);                
 200d090:	40 00 0b 25 	call  200fd24 <rtems_blkdev_ioctl>             
 200d094:	81 e8 00 00 	restore                                        
            }                                                         
            break;                                                    
        }                                                             
                                                                      
        case RTEMS_BLKIO_DELETED:                                     
            if (rd->free_at_delete_request) {                         
 200d098:	c2 0e e0 0f 	ldub  [ %i3 + 0xf ], %g1                       
 200d09c:	80 a0 60 00 	cmp  %g1, 0                                    
 200d0a0:	12 80 00 41 	bne  200d1a4 <ramdisk_ioctl+0x144>             
 200d0a4:	01 00 00 00 	nop                                            
        default:                                                      
            return rtems_blkdev_ioctl (dd, req, argp);                
            break;                                                    
    }                                                                 
                                                                      
    errno = EINVAL;                                                   
 200d0a8:	40 00 1f 12 	call  2014cf0 <__errno>                        
 200d0ac:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   
 200d0b0:	82 10 20 16 	mov  0x16, %g1                                 
 200d0b4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
    return -1;                                                        
}                                                                     
 200d0b8:	81 c7 e0 08 	ret                                            
 200d0bc:	81 e8 00 00 	restore                                        
    {                                                                 
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
                                                                      
            switch (r->req)                                           
 200d0c0:	80 a0 60 00 	cmp  %g1, 0                                    
 200d0c4:	12 80 00 1d 	bne  200d138 <ramdisk_ioctl+0xd8>              
 200d0c8:	80 a0 60 01 	cmp  %g1, 1                                    
#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++)           
 200d0cc:	c2 06 a0 10 	ld  [ %i2 + 0x10 ], %g1                        
 200d0d0:	ba 06 a0 18 	add  %i2, 0x18, %i5                            
#endif                                                                
                                                                      
static int                                                            
ramdisk_read(struct ramdisk *rd, rtems_blkdev_request *req)           
{                                                                     
    uint8_t *from = rd->area;                                         
 200d0d4:	f0 06 e0 08 	ld  [ %i3 + 8 ], %i0                           
#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++)           
 200d0d8:	80 a0 60 00 	cmp  %g1, 0                                    
 200d0dc:	02 80 00 0f 	be  200d118 <ramdisk_ioctl+0xb8>               <== NEVER TAKEN
 200d0e0:	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);
 200d0e4:	d0 07 40 00 	ld  [ %i5 ], %o0                               
 200d0e8:	d2 06 c0 00 	ld  [ %i3 ], %o1                               
 200d0ec:	40 00 42 0b 	call  201d918 <.umul>                          
 200d0f0:	f2 07 60 08 	ld  [ %i5 + 8 ], %i1                           
 200d0f4:	d4 07 60 04 	ld  [ %i5 + 4 ], %o2                           
 200d0f8:	92 06 00 08 	add  %i0, %o0, %o1                             
 200d0fc:	40 00 21 44 	call  201560c <memcpy>                         
 200d100:	90 10 00 19 	mov  %i1, %o0                                  
#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++)           
 200d104:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 200d108:	b4 06 a0 01 	inc  %i2                                       
 200d10c:	80 a6 80 01 	cmp  %i2, %g1                                  
 200d110:	0a bf ff f5 	bcs  200d0e4 <ramdisk_ioctl+0x84>              <== NEVER TAKEN
 200d114:	ba 07 60 10 	add  %i5, 0x10, %i5                            
                              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);                   
 200d118:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
 200d11c:	d0 07 20 08 	ld  [ %i4 + 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;                                   
 200d120:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
 200d124:	92 10 20 00 	clr  %o1                                       
 200d128:	9f c0 40 00 	call  %g1                                      
 200d12c:	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);                      
 200d130:	81 c7 e0 08 	ret                                            
 200d134:	81 e8 00 00 	restore                                        
    {                                                                 
        case RTEMS_BLKIO_REQUEST:                                     
        {                                                             
            rtems_blkdev_request *r = argp;                           
                                                                      
            switch (r->req)                                           
 200d138:	12 bf ff dc 	bne  200d0a8 <ramdisk_ioctl+0x48>              <== NEVER TAKEN
 200d13c:	ba 06 a0 18 	add  %i2, 0x18, %i5                            
                                                                      
#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++)           
 200d140:	c2 06 a0 10 	ld  [ %i2 + 0x10 ], %g1                        
}                                                                     
                                                                      
static int                                                            
ramdisk_write(struct ramdisk *rd, rtems_blkdev_request *req)          
{                                                                     
    uint8_t *to = rd->area;                                           
 200d144:	f2 06 e0 08 	ld  [ %i3 + 8 ], %i1                           
                                                                      
#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++)           
 200d148:	80 a0 60 00 	cmp  %g1, 0                                    
 200d14c:	02 bf ff f3 	be  200d118 <ramdisk_ioctl+0xb8>               <== NEVER TAKEN
 200d150:	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);
 200d154:	d0 07 40 00 	ld  [ %i5 ], %o0                               
 200d158:	d2 06 c0 00 	ld  [ %i3 ], %o1                               
 200d15c:	40 00 41 ef 	call  201d918 <.umul>                          
 200d160:	b4 06 a0 01 	inc  %i2                                       
 200d164:	d2 07 60 08 	ld  [ %i5 + 8 ], %o1                           
 200d168:	d4 07 60 04 	ld  [ %i5 + 4 ], %o2                           
 200d16c:	40 00 21 28 	call  201560c <memcpy>                         
 200d170:	90 06 40 08 	add  %i1, %o0, %o0                             
                                                                      
#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++)           
 200d174:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 200d178:	80 a6 80 01 	cmp  %i2, %g1                                  
 200d17c:	0a bf ff f6 	bcs  200d154 <ramdisk_ioctl+0xf4>              
 200d180:	ba 07 60 10 	add  %i5, 0x10, %i5                            
                              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);                   
 200d184:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
 200d188:	d0 07 20 08 	ld  [ %i4 + 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;                                   
 200d18c:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
    req->req_done(req->done_arg, RTEMS_SUCCESSFUL);                   
 200d190:	92 10 20 00 	clr  %o1                                       
 200d194:	9f c0 40 00 	call  %g1                                      
 200d198:	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);                      
 200d19c:	81 c7 e0 08 	ret                                            
 200d1a0:	81 e8 00 00 	restore                                        
            break;                                                    
        }                                                             
                                                                      
        case RTEMS_BLKIO_DELETED:                                     
            if (rd->free_at_delete_request) {                         
              ramdisk_free(rd);                                       
 200d1a4:	40 00 00 1f 	call  200d220 <ramdisk_free>                   
 200d1a8:	90 10 00 1b 	mov  %i3, %o0                                  
 200d1ac:	30 bf ff bf 	b,a   200d0a8 <ramdisk_ioctl+0x48>             
                                                                      

0200d260 <ramdisk_register>: rtems_blkdev_bnum block_count, bool trace, const char *disk, dev_t *dev_ptr ) {
 200d260:	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);             
 200d264:	90 10 20 00 	clr  %o0                                       
  const char *disk,                                                   
  dev_t *dev_ptr                                                      
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
 200d268:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  ramdisk *rd = NULL;                                                 
  dev_t dev = 0;                                                      
                                                                      
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
 200d26c:	94 07 bf fc 	add  %fp, -4, %o2                              
 200d270:	13 00 80 83 	sethi  %hi(0x2020c00), %o1                     
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return RTEMS_UNSATISFIED;                                         
 200d274:	ba 10 20 0d 	mov  0xd, %i5                                  
  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);             
 200d278:	7f ff f1 b6 	call  2009950 <rtems_io_register_driver>       
 200d27c:	92 12 61 20 	or  %o1, 0x120, %o1                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
 200d280:	80 a2 20 00 	cmp  %o0, 0                                    
 200d284:	02 80 00 04 	be  200d294 <ramdisk_register+0x34>            <== ALWAYS TAKEN
 200d288:	96 10 00 1a 	mov  %i2, %o3                                  
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200d28c:	81 c7 e0 08 	ret                                            
 200d290:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
  sc = rtems_io_register_driver(0, &ramdisk_ops, &major);             
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  rd = ramdisk_allocate(NULL, block_size, block_count, trace);        
 200d294:	92 10 00 18 	mov  %i0, %o1                                  
 200d298:	7f ff ff c6 	call  200d1b0 <ramdisk_allocate>               
 200d29c:	94 10 00 19 	mov  %i1, %o2                                  
  if (rd == NULL) {                                                   
 200d2a0:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 200d2a4:	02 80 00 14 	be  200d2f4 <ramdisk_register+0x94>            <== NEVER TAKEN
 200d2a8:	e0 07 bf fc 	ld  [ %fp + -4 ], %l0                          
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  dev = rtems_filesystem_make_dev_t(major, 0);                        
                                                                      
  sc = rtems_disk_create_phys(                                        
 200d2ac:	f6 23 a0 5c 	st  %i3, [ %sp + 0x5c ]                        
 200d2b0:	90 10 00 10 	mov  %l0, %o0                                  
 200d2b4:	92 10 20 00 	clr  %o1                                       
 200d2b8:	94 10 00 18 	mov  %i0, %o2                                  
 200d2bc:	96 10 00 19 	mov  %i1, %o3                                  
 200d2c0:	9a 10 00 1a 	mov  %i2, %o5                                  
 200d2c4:	19 00 80 34 	sethi  %hi(0x200d000), %o4                     
 200d2c8:	7f ff da 67 	call  2003c64 <rtems_disk_create_phys>         
 200d2cc:	98 13 20 60 	or  %o4, 0x60, %o4	! 200d060 <ramdisk_ioctl>   
    block_count,                                                      
    ramdisk_ioctl,                                                    
    rd,                                                               
    disk                                                              
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
 200d2d0:	80 a2 20 00 	cmp  %o0, 0                                    
 200d2d4:	12 80 00 06 	bne  200d2ec <ramdisk_register+0x8c>           <== NEVER TAKEN
 200d2d8:	01 00 00 00 	nop                                            
    rtems_io_unregister_driver(major);                                
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
 200d2dc:	e0 27 00 00 	st  %l0, [ %i4 ]                               
 200d2e0:	c0 27 20 04 	clr  [ %i4 + 4 ]                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200d2e4:	10 bf ff ea 	b  200d28c <ramdisk_register+0x2c>             
 200d2e8:	ba 10 20 00 	clr  %i5                                       
    ramdisk_ioctl,                                                    
    rd,                                                               
    disk                                                              
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
    ramdisk_free(rd);                                                 
 200d2ec:	7f ff ff cd 	call  200d220 <ramdisk_free>                   <== NOT EXECUTED
 200d2f0:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    rtems_io_unregister_driver(major);                                
 200d2f4:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          <== NOT EXECUTED
 200d2f8:	7f ff f1 fc 	call  2009ae8 <rtems_io_unregister_driver>     <== NOT EXECUTED
 200d2fc:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  *dev_ptr = dev;                                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200d300:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200d304:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0201af18 <read>: ssize_t read( int fd, void *buffer, size_t count ) {
 201af18:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
 201af1c:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 201af20:	c2 00 60 00 	ld  [ %g1 ], %g1                               
 201af24:	80 a6 00 01 	cmp  %i0, %g1                                  
 201af28:	1a 80 00 18 	bcc  201af88 <read+0x70>                       
 201af2c:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
  iop = rtems_libio_iop( fd );                                        
 201af30:	d0 00 63 18 	ld  [ %g1 + 0x318 ], %o0	! 201e718 <rtems_libio_iops>
 201af34:	83 2e 20 03 	sll  %i0, 3, %g1                               
 201af38:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 201af3c:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 201af40:	90 02 00 18 	add  %o0, %i0, %o0                             
  rtems_libio_check_is_open( iop );                                   
 201af44:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
 201af48:	80 88 61 00 	btst  0x100, %g1                               
 201af4c:	02 80 00 0f 	be  201af88 <read+0x70>                        
 201af50:	80 a6 60 00 	cmp  %i1, 0                                    
  rtems_libio_check_buffer( buffer );                                 
 201af54:	02 80 00 13 	be  201afa0 <read+0x88>                        <== NEVER TAKEN
 201af58:	80 a6 a0 00 	cmp  %i2, 0                                    
  rtems_libio_check_count( count );                                   
 201af5c:	02 80 00 0f 	be  201af98 <read+0x80>                        
 201af60:	b0 10 20 00 	clr  %i0                                       
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
 201af64:	80 88 60 02 	btst  2, %g1                                   
 201af68:	02 80 00 08 	be  201af88 <read+0x70>                        
 201af6c:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
  /*                                                                  
   *  Now process the read().                                         
   */                                                                 
  return (*iop->pathinfo.handlers->read_h)( iop, buffer, count );     
 201af70:	c2 02 20 24 	ld  [ %o0 + 0x24 ], %g1                        
 201af74:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 201af78:	9f c0 40 00 	call  %g1                                      
 201af7c:	94 10 00 1a 	mov  %i2, %o2                                  
}                                                                     
 201af80:	81 c7 e0 08 	ret                                            
 201af84:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
 201af88:	7f ff d6 1b 	call  20107f4 <__errno>                        
 201af8c:	b0 10 3f ff 	mov  -1, %i0                                   
 201af90:	82 10 20 09 	mov  9, %g1                                    
 201af94:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201af98:	81 c7 e0 08 	ret                                            
 201af9c:	81 e8 00 00 	restore                                        
  rtems_libio_t *iop;                                                 
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
 201afa0:	7f ff d6 15 	call  20107f4 <__errno>                        <== NOT EXECUTED
 201afa4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201afa8:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 201afac:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201afb0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201afb4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02004f70 <read_extended_partition>: * RTEMS_NO_MEMOTY if cannot allocate memory for part_desc_t strucure, * RTEMS_INTERNAL_ERROR if other error occurs. */ static rtems_status_code read_extended_partition(int fd, uint32_t start, rtems_part_desc_t *ext_part) {
 2004f70:	9d e3 bf 98 	save  %sp, -104, %sp                           
    int                  i;                                           
    rtems_sector_data_t *sector = NULL;                               
 2004f74:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 *      RTEMS_NO_MEMOTY if cannot allocate memory for part_desc_t strucure,
 *      RTEMS_INTERNAL_ERROR if other error occurs.                   
 */                                                                   
static rtems_status_code                                              
read_extended_partition(int fd, uint32_t start, rtems_part_desc_t *ext_part)
{                                                                     
 2004f78:	ba 10 00 18 	mov  %i0, %i5                                  
    uint32_t             here;                                        
    uint8_t             *data;                                        
    rtems_part_desc_t   *new_part_desc;                               
    rtems_status_code    rc;                                          
                                                                      
    if ((ext_part == NULL) || (ext_part->disk_desc == NULL))          
 2004f7c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2004f80:	02 80 00 16 	be  2004fd8 <read_extended_partition+0x68>     <== NEVER TAKEN
 2004f84:	b0 10 20 19 	mov  0x19, %i0                                 
 2004f88:	c2 06 a0 10 	ld  [ %i2 + 0x10 ], %g1                        
 2004f8c:	80 a0 60 00 	cmp  %g1, 0                                    
 2004f90:	02 80 00 12 	be  2004fd8 <read_extended_partition+0x68>     <== NEVER TAKEN
 2004f94:	90 10 00 1d 	mov  %i5, %o0                                  
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    /* get start sector of current extended partition */              
    here = ext_part->start;                                           
 2004f98:	e0 06 a0 04 	ld  [ %i2 + 4 ], %l0                           
    if (sector == NULL)                                               
    {                                                                 
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
 2004f9c:	b9 2c 20 09 	sll  %l0, 9, %i4                               
    new_off = lseek(fd, off, SEEK_SET);                               
 2004fa0:	92 10 20 00 	clr  %o1                                       
 2004fa4:	94 10 00 1c 	mov  %i4, %o2                                  
 2004fa8:	40 00 04 e5 	call  200633c <lseek>                          
 2004fac:	96 10 20 00 	clr  %o3                                       
    if (new_off != off) {                                             
 2004fb0:	80 a2 20 00 	cmp  %o0, 0                                    
 2004fb4:	02 80 00 0b 	be  2004fe0 <read_extended_partition+0x70>     <== ALWAYS TAKEN
 2004fb8:	80 a7 00 09 	cmp  %i4, %o1                                  
        return RTEMS_IO_ERROR;                                        
 2004fbc:	b0 10 20 1b 	mov  0x1b, %i0                                 <== NOT EXECUTED
    /* get first extended partition sector */                         
                                                                      
    rc = get_sector(fd, here, §or);                               
    if (rc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        if (sector)                                                   
 2004fc0:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          <== NOT EXECUTED
 2004fc4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2004fc8:	02 80 00 41 	be  20050cc <read_extended_partition+0x15c>    <== NOT EXECUTED
 2004fcc:	01 00 00 00 	nop                                            <== NOT EXECUTED
            new_part_desc->end = new_part_desc->start + new_part_desc->size - 1;
        }                                                             
        data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;                  
    }                                                                 
                                                                      
    free(sector);                                                     
 2004fd0:	40 00 03 b3 	call  2005e9c <free>                           <== NOT EXECUTED
 2004fd4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2004fd8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2004fdc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        return RTEMS_INTERNAL_ERROR;                                  
    }                                                                 
                                                                      
    off = sector_num * RTEMS_IDE_SECTOR_SIZE;                         
    new_off = lseek(fd, off, SEEK_SET);                               
    if (new_off != off) {                                             
 2004fe0:	12 bf ff f8 	bne  2004fc0 <read_extended_partition+0x50>    <== NEVER TAKEN
 2004fe4:	b0 10 20 1b 	mov  0x1b, %i0                                 
 2004fe8:	90 10 00 1d 	mov  %i5, %o0                                  
 2004fec:	92 10 00 10 	mov  %l0, %o1                                  
 2004ff0:	7f ff ff 7c 	call  2004de0 <get_sector.part.0>              
 2004ff4:	94 07 bf f8 	add  %fp, -8, %o2                              
    here = ext_part->start;                                           
                                                                      
    /* get first extended partition sector */                         
                                                                      
    rc = get_sector(fd, here, §or);                               
    if (rc != RTEMS_SUCCESSFUL)                                       
 2004ff8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2004ffc:	12 bf ff f1 	bne  2004fc0 <read_extended_partition+0x50>    <== NEVER TAKEN
 2005000:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
static bool                                                           
msdos_signature_check (rtems_sector_data_t *sector)                   
{                                                                     
    uint8_t *p = sector->data + RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_OFFSET;
                                                                      
    return ((p[0] == RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_DATA1) &&    
 2005004:	c2 0a 22 02 	ldub  [ %o0 + 0x202 ], %g1                     
 2005008:	80 a0 60 55 	cmp  %g1, 0x55                                 
 200500c:	22 80 00 06 	be,a   2005024 <read_extended_partition+0xb4>  <== ALWAYS TAKEN
 2005010:	c2 0a 22 03 	ldub  [ %o0 + 0x203 ], %g1                     
        return rc;                                                    
    }                                                                 
                                                                      
    if (!msdos_signature_check(sector))                               
    {                                                                 
        free(sector);                                                 
 2005014:	40 00 03 a2 	call  2005e9c <free>                           <== NOT EXECUTED
 2005018:	b0 10 20 19 	mov  0x19, %i0                                 <== NOT EXECUTED
 200501c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005020:	81 e8 00 00 	restore                                        <== NOT EXECUTED
static bool                                                           
msdos_signature_check (rtems_sector_data_t *sector)                   
{                                                                     
    uint8_t *p = sector->data + RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_OFFSET;
                                                                      
    return ((p[0] == RTEMS_IDE_PARTITION_MSDOS_SIGNATURE_DATA1) &&    
 2005024:	80 a0 60 aa 	cmp  %g1, 0xaa                                 
 2005028:	12 bf ff fb 	bne  2005014 <read_extended_partition+0xa4>    <== NEVER TAKEN
 200502c:	b6 02 21 d2 	add  %o0, 0x1d2, %i3                           
 2005030:	b8 10 00 1a 	mov  %i2, %i4                                  
 *      RTEMS_SUCCESSFUL if success,                                  
 *      RTEMS_NO_MEMOTY if cannot allocate memory for part_desc_t strucure,
 *      RTEMS_INTERNAL_ERROR if other error occurs.                   
 */                                                                   
static rtems_status_code                                              
read_extended_partition(int fd, uint32_t start, rtems_part_desc_t *ext_part)
 2005034:	a2 06 a0 10 	add  %i2, 0x10, %l1                            
 2005038:	90 06 ff f0 	add  %i3, -16, %o0                             
 200503c:	7f ff ff 80 	call  2004e3c <data_to_part_desc.part.1>       
 2005040:	92 07 bf fc 	add  %fp, -4, %o1                              
    {                                                                 
        /* if data_to_part_desc fails skip this partition             
         * and parse the next one                                     
         */                                                           
        rc = data_to_part_desc(data, &new_part_desc);                 
        if (rc != RTEMS_SUCCESSFUL)                                   
 2005044:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2005048:	12 80 00 1f 	bne  20050c4 <read_extended_partition+0x154>   <== NEVER TAKEN
 200504c:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
        {                                                             
            free(sector);                                             
            return rc;                                                
        }                                                             
                                                                      
        if (new_part_desc == NULL)                                    
 2005050:	80 a2 a0 00 	cmp  %o2, 0                                    
 2005054:	22 80 00 19 	be,a   20050b8 <read_extended_partition+0x148> 
 2005058:	b8 07 20 04 	add  %i4, 4, %i4                               
        {                                                             
            data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;              
            continue;                                                 
        }                                                             
                                                                      
        ext_part->sub_part[i] = new_part_desc;                        
 200505c:	d4 27 20 18 	st  %o2, [ %i4 + 0x18 ]                        
        new_part_desc->ext_part = ext_part;                           
        new_part_desc->disk_desc = ext_part->disk_desc;               
 2005060:	c2 06 a0 10 	ld  [ %i2 + 0x10 ], %g1                        
 *      true if partition type is extended, false otherwise           
 */                                                                   
static bool                                                           
is_extended(uint8_t type)                                             
{                                                                     
    return ((type == EXTENDED_PARTITION) || (type == LINUX_EXTENDED));
 2005064:	c4 0a a0 01 	ldub  [ %o2 + 1 ], %g2                         
            data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;              
            continue;                                                 
        }                                                             
                                                                      
        ext_part->sub_part[i] = new_part_desc;                        
        new_part_desc->ext_part = ext_part;                           
 2005068:	f4 22 a0 14 	st  %i2, [ %o2 + 0x14 ]                        
        new_part_desc->disk_desc = ext_part->disk_desc;               
                                                                      
        if (is_extended(new_part_desc->sys_type))                     
 200506c:	84 08 a0 7f 	and  %g2, 0x7f, %g2                            
 2005070:	80 a0 a0 05 	cmp  %g2, 5                                    
 2005074:	02 80 00 18 	be  20050d4 <read_extended_partition+0x164>    
 2005078:	c2 22 a0 10 	st  %g1, [ %o2 + 0x10 ]                        
            read_extended_partition(fd, start, new_part_desc);        
        }                                                             
        else                                                          
        {                                                             
            rtems_disk_desc_t *disk_desc = new_part_desc->disk_desc;  
            disk_desc->partitions[disk_desc->last_log_id] = new_part_desc;
 200507c:	c6 00 60 24 	ld  [ %g1 + 0x24 ], %g3                        
            new_part_desc->log_id = ++disk_desc->last_log_id;         
            new_part_desc->start += here;                             
 2005080:	de 02 a0 04 	ld  [ %o2 + 4 ], %o7                           
            new_part_desc->end = new_part_desc->start + new_part_desc->size - 1;
 2005084:	c8 02 a0 08 	ld  [ %o2 + 8 ], %g4                           
        }                                                             
        else                                                          
        {                                                             
            rtems_disk_desc_t *disk_desc = new_part_desc->disk_desc;  
            disk_desc->partitions[disk_desc->last_log_id] = new_part_desc;
            new_part_desc->log_id = ++disk_desc->last_log_id;         
 2005088:	84 00 e0 01 	add  %g3, 1, %g2                               
            read_extended_partition(fd, start, new_part_desc);        
        }                                                             
        else                                                          
        {                                                             
            rtems_disk_desc_t *disk_desc = new_part_desc->disk_desc;  
            disk_desc->partitions[disk_desc->last_log_id] = new_part_desc;
 200508c:	86 00 e0 0a 	add  %g3, 0xa, %g3                             
            new_part_desc->log_id = ++disk_desc->last_log_id;         
 2005090:	c4 20 60 24 	st  %g2, [ %g1 + 0x24 ]                        
            read_extended_partition(fd, start, new_part_desc);        
        }                                                             
        else                                                          
        {                                                             
            rtems_disk_desc_t *disk_desc = new_part_desc->disk_desc;  
            disk_desc->partitions[disk_desc->last_log_id] = new_part_desc;
 2005094:	87 28 e0 02 	sll  %g3, 2, %g3                               
 2005098:	d4 20 40 03 	st  %o2, [ %g1 + %g3 ]                         
            new_part_desc->log_id = ++disk_desc->last_log_id;         
 200509c:	c4 2a a0 02 	stb  %g2, [ %o2 + 2 ]                          
            new_part_desc->start += here;                             
 20050a0:	82 04 00 0f 	add  %l0, %o7, %g1                             
            new_part_desc->end = new_part_desc->start + new_part_desc->size - 1;
 20050a4:	84 01 3f ff 	add  %g4, -1, %g2                              
        else                                                          
        {                                                             
            rtems_disk_desc_t *disk_desc = new_part_desc->disk_desc;  
            disk_desc->partitions[disk_desc->last_log_id] = new_part_desc;
            new_part_desc->log_id = ++disk_desc->last_log_id;         
            new_part_desc->start += here;                             
 20050a8:	c2 22 a0 04 	st  %g1, [ %o2 + 4 ]                           
            new_part_desc->end = new_part_desc->start + new_part_desc->size - 1;
 20050ac:	82 00 80 01 	add  %g2, %g1, %g1                             
 20050b0:	c2 22 a0 0c 	st  %g1, [ %o2 + 0xc ]                         
 20050b4:	b8 07 20 04 	add  %i4, 4, %i4                               
                                                                      
    /* read and process up to 4 logical partition descriptors */      
                                                                      
    data = sector->data + RTEMS_IDE_PARTITION_TABLE_OFFSET;           
                                                                      
    for (i = 0; i < RTEMS_IDE_PARTITION_MAX_SUB_PARTITION_NUMBER; i++)
 20050b8:	80 a7 00 11 	cmp  %i4, %l1                                  
 20050bc:	12 bf ff df 	bne  2005038 <read_extended_partition+0xc8>    
 20050c0:	b6 06 e0 10 	add  %i3, 0x10, %i3                            
            new_part_desc->end = new_part_desc->start + new_part_desc->size - 1;
        }                                                             
        data += RTEMS_IDE_PARTITION_DESCRIPTOR_SIZE;                  
    }                                                                 
                                                                      
    free(sector);                                                     
 20050c4:	40 00 03 76 	call  2005e9c <free>                           
 20050c8:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
 20050cc:	81 c7 e0 08 	ret                                            
 20050d0:	81 e8 00 00 	restore                                        
        new_part_desc->disk_desc = ext_part->disk_desc;               
                                                                      
        if (is_extended(new_part_desc->sys_type))                     
        {                                                             
            new_part_desc->log_id = EMPTY_PARTITION;                  
            new_part_desc->start += start;                            
 20050d4:	c2 02 a0 04 	ld  [ %o2 + 4 ], %g1                           
        new_part_desc->ext_part = ext_part;                           
        new_part_desc->disk_desc = ext_part->disk_desc;               
                                                                      
        if (is_extended(new_part_desc->sys_type))                     
        {                                                             
            new_part_desc->log_id = EMPTY_PARTITION;                  
 20050d8:	c0 2a a0 02 	clrb  [ %o2 + 2 ]                              
            new_part_desc->start += start;                            
 20050dc:	82 00 40 19 	add  %g1, %i1, %g1                             
            read_extended_partition(fd, start, new_part_desc);        
 20050e0:	90 10 00 1d 	mov  %i5, %o0                                  
        new_part_desc->disk_desc = ext_part->disk_desc;               
                                                                      
        if (is_extended(new_part_desc->sys_type))                     
        {                                                             
            new_part_desc->log_id = EMPTY_PARTITION;                  
            new_part_desc->start += start;                            
 20050e4:	c2 22 a0 04 	st  %g1, [ %o2 + 4 ]                           
            read_extended_partition(fd, start, new_part_desc);        
 20050e8:	7f ff ff a2 	call  2004f70 <read_extended_partition>        
 20050ec:	92 10 00 19 	mov  %i1, %o1                                  
 20050f0:	10 bf ff f2 	b  20050b8 <read_extended_partition+0x148>     
 20050f4:	b8 07 20 04 	add  %i4, 4, %i4                               
                                                                      

020054d8 <readv>: ssize_t readv( int fd, const struct iovec *iov, int iovcnt ) {
 20054d8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int            v;                                                   
  int            bytes;                                               
  rtems_libio_t *iop;                                                 
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
 20054dc:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 20054e0:	c2 00 63 00 	ld  [ %g1 + 0x300 ], %g1	! 201e700 <rtems_libio_number_iops>
 20054e4:	80 a6 00 01 	cmp  %i0, %g1                                  
 20054e8:	1a 80 00 45 	bcc  20055fc <readv+0x124>                     
 20054ec:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
  iop = rtems_libio_iop( fd );                                        
 20054f0:	f6 00 62 18 	ld  [ %g1 + 0x218 ], %i3	! 201f218 <rtems_libio_iops>
 20054f4:	83 2e 20 03 	sll  %i0, 3, %g1                               
 20054f8:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 20054fc:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 2005500:	b6 06 c0 18 	add  %i3, %i0, %i3                             
  rtems_libio_check_is_open( iop );                                   
 2005504:	c2 06 e0 10 	ld  [ %i3 + 0x10 ], %g1                        
 2005508:	80 88 61 00 	btst  0x100, %g1                               
 200550c:	02 80 00 3c 	be  20055fc <readv+0x124>                      
 2005510:	80 88 60 02 	btst  2, %g1                                   
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
 2005514:	02 80 00 3a 	be  20055fc <readv+0x124>                      <== NEVER TAKEN
 2005518:	80 a6 60 00 	cmp  %i1, 0                                    
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
 200551c:	02 80 00 32 	be  20055e4 <readv+0x10c>                      
 2005520:	80 a6 a0 00 	cmp  %i2, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
 2005524:	04 80 00 30 	ble  20055e4 <readv+0x10c>                     
 2005528:	80 a6 a4 00 	cmp  %i2, 0x400                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
 200552c:	14 80 00 2e 	bg  20055e4 <readv+0x10c>                      <== NEVER TAKEN
 2005530:	b5 2e a0 03 	sll  %i2, 3, %i2                               
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
 2005534:	82 10 20 00 	clr  %g1                                       
 2005538:	ba 10 20 01 	mov  1, %i5                                    
 200553c:	10 80 00 03 	b  2005548 <readv+0x70>                        
 2005540:	84 10 20 00 	clr  %g2                                       
    if ( iov[v].iov_base == 0 )                                       
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
 2005544:	84 10 00 04 	mov  %g4, %g2                                  
                                                                      
    /*                                                                
     *  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 )                                       
 2005548:	c6 06 40 01 	ld  [ %i1 + %g1 ], %g3                         
 200554c:	80 a0 e0 00 	cmp  %g3, 0                                    
 2005550:	02 80 00 25 	be  20055e4 <readv+0x10c>                      
 2005554:	88 06 40 01 	add  %i1, %g1, %g4                             
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
 2005558:	c6 01 20 04 	ld  [ %g4 + 4 ], %g3                           
 200555c:	88 00 c0 02 	add  %g3, %g2, %g4                             
    if ( total < old )                                                
 2005560:	80 a1 00 02 	cmp  %g4, %g2                                  
 2005564:	06 80 00 20 	bl  20055e4 <readv+0x10c>                      
 2005568:	82 00 60 08 	add  %g1, 8, %g1                               
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
      all_zeros = false;                                              
 200556c:	80 a0 00 03 	cmp  %g0, %g3                                  
 2005570:	84 40 3f ff 	addx  %g0, -1, %g2                             
   *  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++ ) {                           
 2005574:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2005578:	12 bf ff f3 	bne  2005544 <readv+0x6c>                      
 200557c:	ba 0f 40 02 	and  %i5, %g2, %i5                             
  /*                                                                  
   *  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 ) {                                          
 2005580:	80 8f 60 ff 	btst  0xff, %i5                                
 2005584:	12 80 00 16 	bne  20055dc <readv+0x104>                     
 2005588:	b0 10 20 00 	clr  %i0                                       
 200558c:	ba 10 20 00 	clr  %i5                                       
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
 2005590:	c2 06 e0 24 	ld  [ %i3 + 0x24 ], %g1                        
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t readv(                                                        
 2005594:	b8 06 40 1d 	add  %i1, %i5, %i4                             
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    bytes = (*iop->pathinfo.handlers->read_h)(                        
 2005598:	d2 06 40 1d 	ld  [ %i1 + %i5 ], %o1                         
 200559c:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 20055a0:	d4 07 20 04 	ld  [ %i4 + 4 ], %o2                           
 20055a4:	9f c0 40 00 	call  %g1                                      
 20055a8:	90 10 00 1b 	mov  %i3, %o0                                  
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
 20055ac:	80 a2 20 00 	cmp  %o0, 0                                    
 20055b0:	26 80 00 0b 	bl,a   20055dc <readv+0x104>                   <== NEVER TAKEN
 20055b4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
 20055b8:	32 80 00 02 	bne,a   20055c0 <readv+0xe8>                   <== ALWAYS TAKEN
 20055bc:	b0 06 00 08 	add  %i0, %o0, %i0                             
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
 20055c0:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
 20055c4:	80 a2 00 01 	cmp  %o0, %g1                                  
 20055c8:	12 80 00 05 	bne  20055dc <readv+0x104>                     <== NEVER TAKEN
 20055cc:	ba 07 60 08 	add  %i5, 8, %i5                               
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the readv().                                        
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 20055d0:	80 a6 80 1d 	cmp  %i2, %i5                                  
 20055d4:	32 bf ff f0 	bne,a   2005594 <readv+0xbc>                   
 20055d8:	c2 06 e0 24 	ld  [ %i3 + 0x24 ], %g1                        
 20055dc:	81 c7 e0 08 	ret                                            
 20055e0:	81 e8 00 00 	restore                                        
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old )                                                
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 20055e4:	40 00 2f dc 	call  2011554 <__errno>                        
 20055e8:	b0 10 3f ff 	mov  -1, %i0                                   
 20055ec:	82 10 20 16 	mov  0x16, %g1                                 
 20055f0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20055f4:	81 c7 e0 08 	ret                                            
 20055f8:	81 e8 00 00 	restore                                        
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_READ, EBADF );
 20055fc:	40 00 2f d6 	call  2011554 <__errno>                        
 2005600:	b0 10 3f ff 	mov  -1, %i0                                   
 2005604:	82 10 20 09 	mov  9, %g1                                    
 2005608:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200560c:	81 c7 e0 08 	ret                                            
 2005610:	81 e8 00 00 	restore                                        
                                                                      

020047dc <realloc>: void *realloc( void *ptr, size_t size ) {
 20047dc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
 20047e0:	3b 00 80 79 	sethi  %hi(0x201e400), %i5                     
 20047e4:	ba 17 63 30 	or  %i5, 0x330, %i5	! 201e730 <rtems_malloc_statistics>
 20047e8:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
 20047ec:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 20047f0:	c2 00 61 f0 	ld  [ %g1 + 0x1f0 ], %g1	! 201e9f0 <_System_state_Current>
)                                                                     
{                                                                     
  uintptr_t old_size;                                                 
  char    *new_area;                                                  
                                                                      
  MSBUMP(realloc_calls, 1);                                           
 20047f4:	84 00 a0 01 	inc  %g2                                       
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
 20047f8:	80 a0 60 03 	cmp  %g1, 3                                    
 20047fc:	02 80 00 2a 	be  20048a4 <realloc+0xc8>                     
 2004800:	c4 27 60 10 	st  %g2, [ %i5 + 0x10 ]                        
  }                                                                   
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
 2004804:	80 a6 20 00 	cmp  %i0, 0                                    
 2004808:	02 80 00 46 	be  2004920 <realloc+0x144>                    
 200480c:	80 a6 60 00 	cmp  %i1, 0                                    
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
 2004810:	02 80 00 39 	be  20048f4 <realloc+0x118>                    <== NEVER TAKEN
 2004814:	39 00 80 76 	sethi  %hi(0x201d800), %i4                     
    free( ptr );                                                      
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
 2004818:	d0 07 23 bc 	ld  [ %i4 + 0x3bc ], %o0	! 201dbbc <RTEMS_Malloc_Heap>
 200481c:	92 10 00 18 	mov  %i0, %o1                                  
 2004820:	40 00 15 0c 	call  2009c50 <_Protected_heap_Get_block_size> 
 2004824:	94 07 bf fc 	add  %fp, -4, %o2                              
 2004828:	80 8a 20 ff 	btst  0xff, %o0                                
 200482c:	02 80 00 37 	be  2004908 <realloc+0x12c>                    
 2004830:	d0 07 23 bc 	ld  [ %i4 + 0x3bc ], %o0                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Now resize it.                                                  
   */                                                                 
  if ( _Protected_heap_Resize_block( RTEMS_Malloc_Heap, ptr, size ) ) {
 2004834:	92 10 00 18 	mov  %i0, %o1                                  
 2004838:	40 00 15 16 	call  2009c90 <_Protected_heap_Resize_block>   
 200483c:	94 10 00 19 	mov  %i1, %o2                                  
 2004840:	80 8a 20 ff 	btst  0xff, %o0                                
 2004844:	02 80 00 04 	be  2004854 <realloc+0x78>                     
 2004848:	01 00 00 00 	nop                                            
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
  free( ptr );                                                        
                                                                      
  return new_area;                                                    
                                                                      
}                                                                     
 200484c:	81 c7 e0 08 	ret                                            
 2004850:	81 e8 00 00 	restore                                        
   *  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 );                                          
 2004854:	7f ff fd 18 	call  2003cb4 <malloc>                         
 2004858:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
 200485c:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
   *  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 );                                          
 2004860:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
  MSBUMP(malloc_calls, (uint32_t) -1);   /* subtract off the malloc */
 2004864:	82 00 7f ff 	add  %g1, -1, %g1                              
                                                                      
  if ( !new_area ) {                                                  
 2004868:	80 a2 20 00 	cmp  %o0, 0                                    
 200486c:	02 80 00 17 	be  20048c8 <realloc+0xec>                     
 2004870:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
 2004874:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2004878:	80 a6 40 01 	cmp  %i1, %g1                                  
 200487c:	18 80 00 15 	bgu  20048d0 <realloc+0xf4>                    <== ALWAYS TAKEN
 2004880:	94 10 00 19 	mov  %i1, %o2                                  
 2004884:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 2004888:	40 00 32 22 	call  2011110 <memcpy>                         <== NOT EXECUTED
 200488c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
  free( ptr );                                                        
 2004890:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2004894:	7f ff fc 14 	call  20038e4 <free>                           <== NOT EXECUTED
 2004898:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
 200489c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20048a0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   * 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 )                      
 20048a4:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 20048a8:	c2 00 60 b0 	ld  [ %g1 + 0xb0 ], %g1	! 201e8b0 <_Thread_Dispatch_disable_level>
 20048ac:	80 a0 60 00 	cmp  %g1, 0                                    
 20048b0:	12 80 00 06 	bne  20048c8 <realloc+0xec>                    <== NEVER TAKEN
 20048b4:	03 00 80 7b 	sethi  %hi(0x201ec00), %g1                     
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_in_critical_section())                       
      return (void *) 0;                                              
                                                                      
    if (_ISR_Nest_level > 0)                                          
 20048b8:	c2 00 61 e8 	ld  [ %g1 + 0x1e8 ], %g1	! 201ede8 <_Per_CPU_Information+0x8>
 20048bc:	80 a0 60 00 	cmp  %g1, 0                                    
 20048c0:	02 bf ff d2 	be  2004808 <realloc+0x2c>                     <== ALWAYS TAKEN
 20048c4:	80 a6 20 00 	cmp  %i0, 0                                    
   *  Do not attempt to allocate memory if in a critical section or ISR.
   */                                                                 
                                                                      
  if (_System_state_Is_up(_System_state_Get())) {                     
    if (_Thread_Dispatch_in_critical_section())                       
      return (void *) 0;                                              
 20048c8:	81 c7 e0 08 	ret                                            
 20048cc:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  if ( !new_area ) {                                                  
    return (void *) 0;                                                
  }                                                                   
                                                                      
  memcpy( new_area, ptr, (size < old_size) ? size : old_size );       
 20048d0:	92 10 00 18 	mov  %i0, %o1                                  
 20048d4:	94 10 00 01 	mov  %g1, %o2                                  
 20048d8:	40 00 32 0e 	call  2011110 <memcpy>                         
 20048dc:	90 10 00 1c 	mov  %i4, %o0                                  
  free( ptr );                                                        
 20048e0:	90 10 00 18 	mov  %i0, %o0                                  
 20048e4:	7f ff fc 00 	call  20038e4 <free>                           
 20048e8:	b0 10 00 1c 	mov  %i4, %i0                                  
 20048ec:	81 c7 e0 08 	ret                                            
 20048f0:	81 e8 00 00 	restore                                        
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
                                                                      
  if ( !size ) {                                                      
    free( ptr );                                                      
 20048f4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20048f8:	7f ff fb fb 	call  20038e4 <free>                           <== NOT EXECUTED
 20048fc:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2004900:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2004904:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    return (void *) 0;                                                
  }                                                                   
                                                                      
  if ( !_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, ptr, &old_size) ) {
    errno = EINVAL;                                                   
 2004908:	40 00 2f bb 	call  20107f4 <__errno>                        
 200490c:	b0 10 20 00 	clr  %i0                                       
 2004910:	82 10 20 16 	mov  0x16, %g1                                 
 2004914:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2004918:	81 c7 e0 08 	ret                                            
 200491c:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   * Continue with realloc().                                         
   */                                                                 
  if ( !ptr )                                                         
    return malloc( size );                                            
 2004920:	7f ff fc e5 	call  2003cb4 <malloc>                         
 2004924:	91 e8 00 19 	restore  %g0, %i1, %o0                         
                                                                      

020085d4 <rtems_aio_enqueue>: * errno - otherwise */ int rtems_aio_enqueue (rtems_aio_request *req) {
 20085d4:	9d e3 bf 78 	save  %sp, -136, %sp                           
  struct sched_param param;                                           
                                                                      
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
 20085d8:	39 00 80 83 	sethi  %hi(0x2020c00), %i4                     
 20085dc:	40 00 02 7b 	call  2008fc8 <pthread_mutex_lock>             
 20085e0:	90 17 21 a4 	or  %i4, 0x1a4, %o0	! 2020da4 <aio_request_queue>
  if (result != 0) {                                                  
 20085e4:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 20085e8:	12 80 00 31 	bne  20086ac <rtems_aio_enqueue+0xd8>          <== NEVER TAKEN
 20085ec:	90 10 00 18 	mov  %i0, %o0                                  
    return result;                                                    
  }                                                                   
                                                                      
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
 20085f0:	40 00 04 b5 	call  20098c4 <pthread_self>                   
 20085f4:	b2 17 21 a4 	or  %i4, 0x1a4, %i1                            
 20085f8:	92 07 bf e0 	add  %fp, -32, %o1                             
 20085fc:	40 00 03 a7 	call  2009498 <pthread_getschedparam>          
 2008600:	94 07 bf e4 	add  %fp, -28, %o2                             
                                                                      
  req->caller_thread = pthread_self ();                               
 2008604:	40 00 04 b0 	call  20098c4 <pthread_self>                   
 2008608:	01 00 00 00 	nop                                            
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
 200860c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
  req->policy = policy;                                               
 2008610:	c6 07 bf e0 	ld  [ %fp + -32 ], %g3                         
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
 2008614:	c4 00 60 18 	ld  [ %g1 + 0x18 ], %g2                        
  req->policy = policy;                                               
 2008618:	c6 26 20 08 	st  %g3, [ %i0 + 8 ]                           
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
 200861c:	c6 07 bf e4 	ld  [ %fp + -28 ], %g3                         
                                                                      
  /* _POSIX_PRIORITIZED_IO and _POSIX_PRIORITY_SCHEDULING are defined,
     we can use aio_reqprio to lower the priority of the request */   
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
 2008620:	d0 26 20 10 	st  %o0, [ %i0 + 0x10 ]                        
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
 2008624:	84 20 c0 02 	sub  %g3, %g2, %g2                             
 2008628:	c4 26 20 0c 	st  %g2, [ %i0 + 0xc ]                         
  req->policy = policy;                                               
  req->aiocbp->error_code = EINPROGRESS;                              
  req->aiocbp->return_value = 0;                                      
                                                                      
  if ((aio_request_queue.idle_threads == 0) &&                        
 200862c:	c4 06 60 68 	ld  [ %i1 + 0x68 ], %g2                        
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
  req->policy = policy;                                               
  req->aiocbp->error_code = EINPROGRESS;                              
 2008630:	86 10 20 77 	mov  0x77, %g3                                 
  req->aiocbp->return_value = 0;                                      
 2008634:	c0 20 60 38 	clr  [ %g1 + 0x38 ]                            
  pthread_getschedparam (pthread_self(), &policy, ¶m);            
                                                                      
  req->caller_thread = pthread_self ();                               
  req->priority = param.sched_priority - req->aiocbp->aio_reqprio;    
  req->policy = policy;                                               
  req->aiocbp->error_code = EINPROGRESS;                              
 2008638:	c6 20 60 34 	st  %g3, [ %g1 + 0x34 ]                        
  req->aiocbp->return_value = 0;                                      
                                                                      
  if ((aio_request_queue.idle_threads == 0) &&                        
 200863c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2008640:	12 80 00 06 	bne  2008658 <rtems_aio_enqueue+0x84>          <== NEVER TAKEN
 2008644:	d2 00 40 00 	ld  [ %g1 ], %o1                               
 2008648:	c4 06 60 64 	ld  [ %i1 + 0x64 ], %g2                        
 200864c:	80 a0 a0 04 	cmp  %g2, 4                                    
 2008650:	24 80 00 1b 	ble,a   20086bc <rtems_aio_enqueue+0xe8>       
 2008654:	90 06 60 48 	add  %i1, 0x48, %o0                            
  else                                                                
    {                                                                 
      /* the maximum number of threads has been already created       
	 even though some of them might be idle.                             
	 The request belongs to one of the active fd chain */                
      r_chain = rtems_aio_search_fd (&aio_request_queue.work_req,     
 2008658:	94 10 20 00 	clr  %o2                                       
 200865c:	11 00 80 83 	sethi  %hi(0x2020c00), %o0                     
 2008660:	7f ff ff 78 	call  2008440 <rtems_aio_search_fd>            
 2008664:	90 12 21 ec 	or  %o0, 0x1ec, %o0	! 2020dec <aio_request_queue+0x48>
				     req->aiocbp->aio_fildes, 0);                                 
      if (r_chain != NULL)                                            
 2008668:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 200866c:	22 80 00 31 	be,a   2008730 <rtems_aio_enqueue+0x15c>       
 2008670:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
	{                                                                    
	  pthread_mutex_lock (&r_chain->mutex);                              
 2008674:	b2 06 a0 1c 	add  %i2, 0x1c, %i1                            
 2008678:	40 00 02 54 	call  2008fc8 <pthread_mutex_lock>             
 200867c:	90 10 00 19 	mov  %i1, %o0                                  
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
 2008680:	90 06 a0 08 	add  %i2, 8, %o0                               
 2008684:	7f ff ff 12 	call  20082cc <rtems_aio_insert_prio>          
 2008688:	92 10 00 18 	mov  %i0, %o1                                  
	  pthread_cond_signal (&r_chain->cond);                              
 200868c:	40 00 01 2b 	call  2008b38 <pthread_cond_signal>            
 2008690:	90 06 a0 20 	add  %i2, 0x20, %o0                            
	  pthread_mutex_unlock (&r_chain->mutex);                            
 2008694:	40 00 02 6d 	call  2009048 <pthread_mutex_unlock>           
 2008698:	90 10 00 19 	mov  %i1, %o0                                  
	if (aio_request_queue.idle_threads > 0)                              
	  pthread_cond_signal (&aio_request_queue.new_req);                  
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
 200869c:	40 00 02 6b 	call  2009048 <pthread_mutex_unlock>           
 20086a0:	90 17 21 a4 	or  %i4, 0x1a4, %o0                            
  return 0;                                                           
}                                                                     
 20086a4:	81 c7 e0 08 	ret                                            
 20086a8:	91 e8 00 1b 	restore  %g0, %i3, %o0                         
  /* The queue should be initialized */                               
  AIO_assert (aio_request_queue.initialized == AIO_QUEUE_INITIALIZED);
                                                                      
  result = pthread_mutex_lock (&aio_request_queue.mutex);             
  if (result != 0) {                                                  
    free (req);                                                       
 20086ac:	7f ff ed dd 	call  2003e20 <free>                           <== NOT EXECUTED
 20086b0:	b0 10 00 1b 	mov  %i3, %i0                                  <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
  pthread_mutex_unlock (&aio_request_queue.mutex);                    
  return 0;                                                           
}                                                                     
 20086b4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20086b8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  if ((aio_request_queue.idle_threads == 0) &&                        
      aio_request_queue.active_threads < AIO_MAX_THREADS)             
    /* we still have empty places on the active_threads chain */      
    {                                                                 
      chain = &aio_request_queue.work_req;                            
      r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);
 20086bc:	7f ff ff 61 	call  2008440 <rtems_aio_search_fd>            
 20086c0:	94 10 20 01 	mov  1, %o2                                    
                                                                      
      if (r_chain->new_fd == 1) {                                     
 20086c4:	c2 02 20 18 	ld  [ %o0 + 0x18 ], %g1                        
 20086c8:	80 a0 60 01 	cmp  %g1, 1                                    
 20086cc:	12 bf ff ea 	bne  2008674 <rtems_aio_enqueue+0xa0>          
 20086d0:	b4 10 00 08 	mov  %o0, %i2                                  
RTEMS_INLINE_ROUTINE void _Chain_Prepend(                             
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  _Chain_Insert(_Chain_Head(the_chain), the_node);                    
 20086d4:	90 02 20 08 	add  %o0, 8, %o0                               
 20086d8:	40 00 09 42 	call  200abe0 <_Chain_Insert>                  
 20086dc:	92 10 00 18 	mov  %i0, %o1                                  
	rtems_chain_prepend (&r_chain->perfd, &req->next_prio);              
	r_chain->new_fd = 0;                                                 
	pthread_mutex_init (&r_chain->mutex, NULL);                          
 20086e0:	92 10 20 00 	clr  %o1                                       
      chain = &aio_request_queue.work_req;                            
      r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);
                                                                      
      if (r_chain->new_fd == 1) {                                     
	rtems_chain_prepend (&r_chain->perfd, &req->next_prio);              
	r_chain->new_fd = 0;                                                 
 20086e4:	c0 26 a0 18 	clr  [ %i2 + 0x18 ]                            
	pthread_mutex_init (&r_chain->mutex, NULL);                          
 20086e8:	40 00 01 de 	call  2008e60 <pthread_mutex_init>             
 20086ec:	90 06 a0 1c 	add  %i2, 0x1c, %o0                            
	pthread_cond_init (&r_chain->cond, NULL);                            
 20086f0:	92 10 20 00 	clr  %o1                                       
 20086f4:	40 00 00 e1 	call  2008a78 <pthread_cond_init>              
 20086f8:	90 06 a0 20 	add  %i2, 0x20, %o0                            
	                                                                     
	AIO_printf ("New thread \n");                                        
	result = pthread_create (&thid, &aio_request_queue.attr,             
 20086fc:	90 07 bf dc 	add  %fp, -36, %o0                             
 2008700:	92 06 60 08 	add  %i1, 8, %o1                               
 2008704:	96 10 00 1a 	mov  %i2, %o3                                  
 2008708:	15 00 80 20 	sethi  %hi(0x2008000), %o2                     
 200870c:	40 00 02 c3 	call  2009218 <pthread_create>                 
 2008710:	94 12 a0 20 	or  %o2, 0x20, %o2	! 2008020 <rtems_aio_handle>
				 rtems_aio_handle, (void *) r_chain);                             
	if (result != 0) {                                                   
 2008714:	82 92 20 00 	orcc  %o0, 0, %g1                              
 2008718:	12 80 00 25 	bne  20087ac <rtems_aio_enqueue+0x1d8>         <== NEVER TAKEN
 200871c:	90 10 00 19 	mov  %i1, %o0                                  
	  pthread_mutex_unlock (&aio_request_queue.mutex);                   
	  return result;                                                     
	}                                                                    
	++aio_request_queue.active_threads;                                  
 2008720:	c2 06 60 64 	ld  [ %i1 + 0x64 ], %g1                        
 2008724:	82 00 60 01 	inc  %g1                                       
 2008728:	10 bf ff dd 	b  200869c <rtems_aio_enqueue+0xc8>            
 200872c:	c2 26 60 64 	st  %g1, [ %i1 + 0x64 ]                        
	                                                                     
	} else {                                                             
                                                                      
	/* or to the idle chain */                                           
	chain = &aio_request_queue.idle_req;                                 
	r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);   
 2008730:	11 00 80 83 	sethi  %hi(0x2020c00), %o0                     
 2008734:	d2 00 40 00 	ld  [ %g1 ], %o1                               
 2008738:	90 12 21 f8 	or  %o0, 0x1f8, %o0                            
 200873c:	7f ff ff 41 	call  2008440 <rtems_aio_search_fd>            
 2008740:	94 10 20 01 	mov  1, %o2                                    
                                                                      
	if (r_chain->new_fd == 1) {                                          
 2008744:	c2 02 20 18 	ld  [ %o0 + 0x18 ], %g1                        
	                                                                     
	} else {                                                             
                                                                      
	/* or to the idle chain */                                           
	chain = &aio_request_queue.idle_req;                                 
	r_chain = rtems_aio_search_fd (chain, req->aiocbp->aio_fildes, 1);   
 2008748:	b4 10 00 08 	mov  %o0, %i2                                  
 200874c:	92 10 00 18 	mov  %i0, %o1                                  
                                                                      
	if (r_chain->new_fd == 1) {                                          
 2008750:	80 a0 60 01 	cmp  %g1, 1                                    
 2008754:	02 80 00 0b 	be  2008780 <rtems_aio_enqueue+0x1ac>          
 2008758:	90 02 20 08 	add  %o0, 8, %o0                               
	  r_chain->new_fd = 0;                                               
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
	  pthread_cond_init (&r_chain->cond, NULL);                          
	} else                                                               
	  /* just insert the request in the existing fd chain */             
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
 200875c:	7f ff fe dc 	call  20082cc <rtems_aio_insert_prio>          
 2008760:	01 00 00 00 	nop                                            
	if (aio_request_queue.idle_threads > 0)                              
 2008764:	c2 06 60 68 	ld  [ %i1 + 0x68 ], %g1                        
 2008768:	80 a0 60 00 	cmp  %g1, 0                                    
 200876c:	04 bf ff cc 	ble  200869c <rtems_aio_enqueue+0xc8>          <== ALWAYS TAKEN
 2008770:	01 00 00 00 	nop                                            
	  pthread_cond_signal (&aio_request_queue.new_req);                  
 2008774:	40 00 00 f1 	call  2008b38 <pthread_cond_signal>            <== NOT EXECUTED
 2008778:	90 06 60 04 	add  %i1, 4, %o0                               <== NOT EXECUTED
 200877c:	30 bf ff c8 	b,a   200869c <rtems_aio_enqueue+0xc8>         <== NOT EXECUTED
 2008780:	40 00 09 18 	call  200abe0 <_Chain_Insert>                  
 2008784:	01 00 00 00 	nop                                            
	  /* If this is a new fd chain we signal the idle threads that       
	     might be waiting for requests */                                
	  AIO_printf (" New chain on waiting queue \n ");                    
	  rtems_chain_prepend (&r_chain->perfd, &req->next_prio);            
	  r_chain->new_fd = 0;                                               
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
 2008788:	90 06 a0 1c 	add  %i2, 0x1c, %o0                            
	if (r_chain->new_fd == 1) {                                          
	  /* If this is a new fd chain we signal the idle threads that       
	     might be waiting for requests */                                
	  AIO_printf (" New chain on waiting queue \n ");                    
	  rtems_chain_prepend (&r_chain->perfd, &req->next_prio);            
	  r_chain->new_fd = 0;                                               
 200878c:	c0 26 a0 18 	clr  [ %i2 + 0x18 ]                            
	  pthread_mutex_init (&r_chain->mutex, NULL);                        
 2008790:	40 00 01 b4 	call  2008e60 <pthread_mutex_init>             
 2008794:	92 10 20 00 	clr  %o1                                       
	  pthread_cond_init (&r_chain->cond, NULL);                          
 2008798:	90 06 a0 20 	add  %i2, 0x20, %o0                            
 200879c:	40 00 00 b7 	call  2008a78 <pthread_cond_init>              
 20087a0:	92 10 20 00 	clr  %o1                                       
	} else                                                               
	  /* just insert the request in the existing fd chain */             
	  rtems_aio_insert_prio (&r_chain->perfd, req);                      
	if (aio_request_queue.idle_threads > 0)                              
 20087a4:	10 bf ff f1 	b  2008768 <rtems_aio_enqueue+0x194>           
 20087a8:	c2 06 60 68 	ld  [ %i1 + 0x68 ], %g1                        
	                                                                     
	AIO_printf ("New thread \n");                                        
	result = pthread_create (&thid, &aio_request_queue.attr,             
				 rtems_aio_handle, (void *) r_chain);                             
	if (result != 0) {                                                   
	  pthread_mutex_unlock (&aio_request_queue.mutex);                   
 20087ac:	40 00 02 27 	call  2009048 <pthread_mutex_unlock>           <== NOT EXECUTED
 20087b0:	b6 10 00 01 	mov  %g1, %i3                                  <== NOT EXECUTED
 20087b4:	30 bf ff bc 	b,a   20086a4 <rtems_aio_enqueue+0xd0>         <== NOT EXECUTED
                                                                      

02008020 <rtems_aio_handle>: * NULL - if error */ static void * rtems_aio_handle (void *arg) {
 2008020:	9d e3 bf 78 	save  %sp, -136, %sp                           
      struct timespec timeout;                                        
                                                                      
      AIO_printf ("Chain is empty [WQ], wait for work\n");            
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
 2008024:	35 00 80 83 	sethi  %hi(0x2020c00), %i2                     
 2008028:	b6 06 20 1c 	add  %i0, 0x1c, %i3                            
 200802c:	b4 16 a1 a4 	or  %i2, 0x1a4, %i2                            
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
 2008030:	a0 10 00 1a 	mov  %i2, %l0                                  
 2008034:	a2 10 00 1a 	mov  %i2, %l1                                  
	    pthread_cond_destroy (&r_chain->cond);                           
	    free (r_chain);                                                  
	                                                                     
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
 2008038:	a4 06 a0 58 	add  %i2, 0x58, %l2                            
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
 200803c:	b2 06 a0 4c 	add  %i2, 0x4c, %i1                            
    /* acquire the mutex of the current fd chain.                     
       we don't need to lock the queue mutex since we can             
       add requests to idle fd chains or even active ones             
       if the working request has been extracted from the             
       chain */                                                       
    result = pthread_mutex_lock (&r_chain->mutex);                    
 2008040:	40 00 03 e2 	call  2008fc8 <pthread_mutex_lock>             
 2008044:	90 10 00 1b 	mov  %i3, %o0                                  
    if (result != 0)                                                  
 2008048:	80 a2 20 00 	cmp  %o0, 0                                    
 200804c:	12 80 00 2b 	bne  20080f8 <rtems_aio_handle+0xd8>           <== NEVER TAKEN
 2008050:	01 00 00 00 	nop                                            
 2008054:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 2008058:	82 06 20 0c 	add  %i0, 0xc, %g1                             
                                                                      
    /* If the locked chain is not empty, take the first               
       request extract it, unlock the chain and process               
       the request, in this way the user can supply more              
       requests to this fd chain */                                   
    if (!rtems_chain_is_empty (chain)) {                              
 200805c:	80 a7 40 01 	cmp  %i5, %g1                                  
 2008060:	02 80 00 41 	be  2008164 <rtems_aio_handle+0x144>           
 2008064:	01 00 00 00 	nop                                            
      node = rtems_chain_first (chain);                               
      req = (rtems_aio_request *) node;                               
                                                                      
      /* See _POSIX_PRIORITIZE_IO and _POSIX_PRIORITY_SCHEDULING      
	 discussion in rtems_aio_enqueue () */                               
      pthread_getschedparam (pthread_self(), &policy, ¶m);        
 2008068:	40 00 06 17 	call  20098c4 <pthread_self>                   
 200806c:	01 00 00 00 	nop                                            
 2008070:	92 07 bf d8 	add  %fp, -40, %o1                             
 2008074:	40 00 05 09 	call  2009498 <pthread_getschedparam>          
 2008078:	94 07 bf e4 	add  %fp, -28, %o2                             
      param.sched_priority = req->priority;                           
 200807c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
      pthread_setschedparam (pthread_self(), req->policy, ¶m);    
 2008080:	40 00 06 11 	call  20098c4 <pthread_self>                   
 2008084:	c2 27 bf e4 	st  %g1, [ %fp + -28 ]                         
 2008088:	d2 07 60 08 	ld  [ %i5 + 8 ], %o1                           
 200808c:	40 00 06 12 	call  20098d4 <pthread_setschedparam>          
 2008090:	94 07 bf e4 	add  %fp, -28, %o2                             
 2008094:	40 00 0a ba 	call  200ab7c <_Chain_Extract>                 
 2008098:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
      rtems_chain_extract (node);                                     
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
 200809c:	40 00 03 eb 	call  2009048 <pthread_mutex_unlock>           
 20080a0:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      
      switch (req->aiocbp->aio_lio_opcode) {                          
 20080a4:	f8 07 60 14 	ld  [ %i5 + 0x14 ], %i4                        
 20080a8:	c2 07 20 30 	ld  [ %i4 + 0x30 ], %g1                        
 20080ac:	80 a0 60 02 	cmp  %g1, 2                                    
 20080b0:	22 80 00 25 	be,a   2008144 <rtems_aio_handle+0x124>        
 20080b4:	c4 1f 20 08 	ldd  [ %i4 + 8 ], %g2                          
 20080b8:	80 a0 60 03 	cmp  %g1, 3                                    
 20080bc:	02 80 00 1e 	be  2008134 <rtems_aio_handle+0x114>           <== NEVER TAKEN
 20080c0:	01 00 00 00 	nop                                            
 20080c4:	80 a0 60 01 	cmp  %g1, 1                                    
 20080c8:	22 80 00 0e 	be,a   2008100 <rtems_aio_handle+0xe0>         <== ALWAYS TAKEN
 20080cc:	c4 1f 20 08 	ldd  [ %i4 + 8 ], %g2                          
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
        req->aiocbp->return_value = -1;                               
 20080d0:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
	req->aiocbp->error_code = errno;                                     
 20080d4:	40 00 2a dd 	call  2012c48 <__errno>                        <== NOT EXECUTED
 20080d8:	c2 27 20 38 	st  %g1, [ %i4 + 0x38 ]                        <== NOT EXECUTED
 20080dc:	c2 02 00 00 	ld  [ %o0 ], %g1                               <== NOT EXECUTED
    /* acquire the mutex of the current fd chain.                     
       we don't need to lock the queue mutex since we can             
       add requests to idle fd chains or even active ones             
       if the working request has been extracted from the             
       chain */                                                       
    result = pthread_mutex_lock (&r_chain->mutex);                    
 20080e0:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 20080e4:	40 00 03 b9 	call  2008fc8 <pthread_mutex_lock>             <== NOT EXECUTED
 20080e8:	c2 27 20 34 	st  %g1, [ %i4 + 0x34 ]                        <== NOT EXECUTED
    if (result != 0)                                                  
 20080ec:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20080f0:	22 bf ff da 	be,a   2008058 <rtems_aio_handle+0x38>         <== NOT EXECUTED
 20080f4:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  AIO_printf ("Thread finished\n");                                   
  return NULL;                                                        
}                                                                     
 20080f8:	81 c7 e0 08 	ret                                            
 20080fc:	91 e8 20 00 	restore  %g0, 0, %o0                           
      pthread_mutex_unlock (&r_chain->mutex);                         
                                                                      
      switch (req->aiocbp->aio_lio_opcode) {                          
      case LIO_READ:                                                  
	AIO_printf ("read\n");                                               
        result = pread (req->aiocbp->aio_fildes,                      
 2008100:	d0 07 00 00 	ld  [ %i4 ], %o0                               
 2008104:	d2 07 20 10 	ld  [ %i4 + 0x10 ], %o1                        
 2008108:	d4 07 20 14 	ld  [ %i4 + 0x14 ], %o2                        
 200810c:	96 10 00 02 	mov  %g2, %o3                                  
 2008110:	40 00 2d ca 	call  2013838 <pread>                          
 2008114:	98 10 00 03 	mov  %g3, %o4                                  
      	break;                                                         
                                                                      
      default:                                                        
        result = -1;                                                  
      }                                                               
      if (result == -1) {                                             
 2008118:	80 a2 3f ff 	cmp  %o0, -1                                   
 200811c:	22 bf ff ed 	be,a   20080d0 <rtems_aio_handle+0xb0>         <== NEVER TAKEN
 2008120:	f8 07 60 14 	ld  [ %i5 + 0x14 ], %i4                        <== NOT EXECUTED
        req->aiocbp->return_value = -1;                               
	req->aiocbp->error_code = errno;                                     
      } else {                                                        
        req->aiocbp->return_value = result;                           
 2008124:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 2008128:	d0 20 60 38 	st  %o0, [ %g1 + 0x38 ]                        
        req->aiocbp->error_code = 0;                                  
 200812c:	10 bf ff c5 	b  2008040 <rtems_aio_handle+0x20>             
 2008130:	c0 20 60 34 	clr  [ %g1 + 0x34 ]                            
                         req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
                                                                      
      case LIO_SYNC:                                                  
	AIO_printf ("sync\n");                                               
      	result = fsync (req->aiocbp->aio_fildes);                      
 2008134:	40 00 1c 0c 	call  200f164 <fsync>                          <== NOT EXECUTED
 2008138:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
      	break;                                                         
 200813c:	10 bf ff f8 	b  200811c <rtems_aio_handle+0xfc>             <== NOT EXECUTED
 2008140:	80 a2 3f ff 	cmp  %o0, -1                                   <== NOT EXECUTED
                        req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
                                                                      
      case LIO_WRITE:                                                 
	AIO_printf ("write\n");                                              
        result = pwrite (req->aiocbp->aio_fildes,                     
 2008144:	d0 07 00 00 	ld  [ %i4 ], %o0                               
 2008148:	d2 07 20 10 	ld  [ %i4 + 0x10 ], %o1                        
 200814c:	d4 07 20 14 	ld  [ %i4 + 0x14 ], %o2                        
 2008150:	96 10 00 02 	mov  %g2, %o3                                  
 2008154:	40 00 2d f7 	call  2013930 <pwrite>                         
 2008158:	98 10 00 03 	mov  %g3, %o4                                  
                         (void *) req->aiocbp->aio_buf,               
                         req->aiocbp->aio_nbytes, req->aiocbp->aio_offset);
        break;                                                        
 200815c:	10 bf ff f0 	b  200811c <rtems_aio_handle+0xfc>             
 2008160:	80 a2 3f ff 	cmp  %o0, -1                                   
                                                                      
      struct timespec timeout;                                        
                                                                      
      AIO_printf ("Chain is empty [WQ], wait for work\n");            
                                                                      
      pthread_mutex_unlock (&r_chain->mutex);                         
 2008164:	40 00 03 b9 	call  2009048 <pthread_mutex_unlock>           
 2008168:	90 10 00 1b 	mov  %i3, %o0                                  
      pthread_mutex_lock (&aio_request_queue.mutex);                  
 200816c:	40 00 03 97 	call  2008fc8 <pthread_mutex_lock>             
 2008170:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
 2008174:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2008178:	80 a7 40 01 	cmp  %i5, %g1                                  
 200817c:	02 80 00 05 	be  2008190 <rtems_aio_handle+0x170>           <== ALWAYS TAKEN
 2008180:	92 07 bf dc 	add  %fp, -36, %o1                             
	                                                                     
	  }                                                                  
	}                                                                    
      /* If there was a request added in the initial fd chain then release
	 the mutex and process it */                                         
      pthread_mutex_unlock (&aio_request_queue.mutex);                
 2008184:	40 00 03 b1 	call  2009048 <pthread_mutex_unlock>           
 2008188:	90 10 00 1a 	mov  %i2, %o0                                  
 200818c:	30 bf ff ad 	b,a   2008040 <rtems_aio_handle+0x20>          
      pthread_mutex_unlock (&r_chain->mutex);                         
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
 2008190:	40 00 01 d3 	call  20088dc <clock_gettime>                  
 2008194:	90 10 20 01 	mov  1, %o0                                    
	  timeout.tv_sec += 3;                                               
 2008198:	c2 07 bf dc 	ld  [ %fp + -36 ], %g1                         
	  timeout.tv_nsec = 0;                                               
 200819c:	c0 27 bf e0 	clr  [ %fp + -32 ]                             
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
 20081a0:	82 00 60 03 	add  %g1, 3, %g1                               
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
 20081a4:	ba 06 20 20 	add  %i0, 0x20, %i5                            
      pthread_mutex_lock (&aio_request_queue.mutex);                  
                                                                      
      if (rtems_chain_is_empty (chain))                               
	{                                                                    
	  clock_gettime (CLOCK_REALTIME, &timeout);                          
	  timeout.tv_sec += 3;                                               
 20081a8:	c2 27 bf dc 	st  %g1, [ %fp + -36 ]                         
	  timeout.tv_nsec = 0;                                               
	  result = pthread_cond_timedwait (&r_chain->cond,                   
 20081ac:	90 10 00 1d 	mov  %i5, %o0                                  
 20081b0:	92 10 00 10 	mov  %l0, %o1                                  
 20081b4:	40 00 02 7d 	call  2008ba8 <pthread_cond_timedwait>         
 20081b8:	94 07 bf dc 	add  %fp, -36, %o2                             
					   &aio_request_queue.mutex,                                     
					   &timeout);                                                    
                                                                      
	  /* If no requests were added to the chain we delete the fd chain from
	     the queue and start working with idle fd chains */              
	  if (result == ETIMEDOUT) {                                         
 20081bc:	80 a2 20 74 	cmp  %o0, 0x74                                 
 20081c0:	12 bf ff f1 	bne  2008184 <rtems_aio_handle+0x164>          <== NEVER TAKEN
 20081c4:	01 00 00 00 	nop                                            
 20081c8:	40 00 0a 6d 	call  200ab7c <_Chain_Extract>                 
 20081cc:	90 10 00 18 	mov  %i0, %o0                                  
	    rtems_chain_extract (&r_chain->next_fd);                         
	    pthread_mutex_destroy (&r_chain->mutex);                         
 20081d0:	40 00 02 d1 	call  2008d14 <pthread_mutex_destroy>          
 20081d4:	90 10 00 1b 	mov  %i3, %o0                                  
	    pthread_cond_destroy (&r_chain->cond);                           
 20081d8:	40 00 01 f2 	call  20089a0 <pthread_cond_destroy>           
 20081dc:	90 10 00 1d 	mov  %i5, %o0                                  
	    free (r_chain);                                                  
 20081e0:	7f ff ef 10 	call  2003e20 <free>                           
 20081e4:	90 10 00 18 	mov  %i0, %o0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 20081e8:	f0 06 a0 54 	ld  [ %i2 + 0x54 ], %i0                        
	                                                                     
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
 20081ec:	80 a6 00 12 	cmp  %i0, %l2                                  
 20081f0:	22 80 00 1d 	be,a   2008264 <rtems_aio_handle+0x244>        
 20081f4:	c4 06 a0 68 	ld  [ %i2 + 0x68 ], %g2                        
	      }                                                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
 20081f8:	c4 04 60 68 	ld  [ %l1 + 0x68 ], %g2                        
	    ++aio_request_queue.active_threads;                              
 20081fc:	c2 04 60 64 	ld  [ %l1 + 0x64 ], %g1                        
	      }                                                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
 2008200:	84 00 bf ff 	add  %g2, -1, %g2                              
	    ++aio_request_queue.active_threads;                              
 2008204:	82 00 60 01 	inc  %g1                                       
	      }                                                              
	    }                                                                
	    /* Otherwise move this chain to the working chain and            
	       start the loop all over again */                              
	    AIO_printf ("Work on idle\n");                                   
	    --aio_request_queue.idle_threads;                                
 2008208:	c4 24 60 68 	st  %g2, [ %l1 + 0x68 ]                        
	    ++aio_request_queue.active_threads;                              
 200820c:	c2 24 60 64 	st  %g1, [ %l1 + 0x64 ]                        
 2008210:	40 00 0a 5b 	call  200ab7c <_Chain_Extract>                 
 2008214:	90 10 00 18 	mov  %i0, %o0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2008218:	c2 04 60 48 	ld  [ %l1 + 0x48 ], %g1                        
  rtems_chain_node *node;                                             
                                                                      
  node = rtems_chain_first (&aio_request_queue.work_req);             
  temp = (rtems_aio_request_chain *) node;                            
                                                                      
  while (temp->fildes < r_chain->fildes &&                            
 200821c:	c6 06 20 14 	ld  [ %i0 + 0x14 ], %g3                        
 2008220:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
 2008224:	80 a0 c0 02 	cmp  %g3, %g2                                  
 2008228:	14 80 00 08 	bg  2008248 <rtems_aio_handle+0x228>           <== ALWAYS TAKEN
 200822c:	80 a0 40 19 	cmp  %g1, %i1                                  
RTEMS_INLINE_ROUTINE void rtems_chain_insert(                         
  rtems_chain_node *after_node,                                       
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Insert( after_node, the_node );                              
 2008230:	10 80 00 09 	b  2008254 <rtems_aio_handle+0x234>            <== NOT EXECUTED
 2008234:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           <== NOT EXECUTED
 2008238:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
 200823c:	80 a0 80 03 	cmp  %g2, %g3                                  
 2008240:	16 80 00 04 	bge  2008250 <rtems_aio_handle+0x230>          
 2008244:	80 a0 40 19 	cmp  %g1, %i1                                  
 2008248:	32 bf ff fc 	bne,a   2008238 <rtems_aio_handle+0x218>       <== ALWAYS TAKEN
 200824c:	c2 00 40 00 	ld  [ %g1 ], %g1                               
 2008250:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           
 2008254:	92 10 00 18 	mov  %i0, %o1                                  
 2008258:	40 00 0a 62 	call  200abe0 <_Chain_Insert>                  
 200825c:	b6 06 20 1c 	add  %i0, 0x1c, %i3                            
 2008260:	30 bf ff c9 	b,a   2008184 <rtems_aio_handle+0x164>         
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
 2008264:	c2 06 a0 64 	ld  [ %i2 + 0x64 ], %g1                        
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
 2008268:	84 00 a0 01 	inc  %g2                                       
	      --aio_request_queue.active_threads;                            
 200826c:	82 00 7f ff 	add  %g1, -1, %g1                              
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
 2008270:	92 07 bf dc 	add  %fp, -36, %o1                             
	    /* If the idle chain is empty sleep for 3 seconds and wait for a 
	       signal. The thread now becomes idle. */                       
	    if (rtems_chain_is_empty (&aio_request_queue.idle_req)) {        
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
 2008274:	c4 26 a0 68 	st  %g2, [ %i2 + 0x68 ]                        
	      --aio_request_queue.active_threads;                            
 2008278:	c2 26 a0 64 	st  %g1, [ %i2 + 0x64 ]                        
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
 200827c:	40 00 01 98 	call  20088dc <clock_gettime>                  
 2008280:	90 10 20 01 	mov  1, %o0                                    
	      timeout.tv_sec += 3;                                           
 2008284:	c2 07 bf dc 	ld  [ %fp + -36 ], %g1                         
	      timeout.tv_nsec = 0;                                           
 2008288:	c0 27 bf e0 	clr  [ %fp + -32 ]                             
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
 200828c:	82 00 60 03 	add  %g1, 3, %g1                               
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
 2008290:	90 06 a0 04 	add  %i2, 4, %o0                               
	      AIO_printf ("Chain is empty [IQ], wait for work\n");	          
                                                                      
	      ++aio_request_queue.idle_threads;                              
	      --aio_request_queue.active_threads;                            
	      clock_gettime (CLOCK_REALTIME, &timeout);                      
	      timeout.tv_sec += 3;                                           
 2008294:	c2 27 bf dc 	st  %g1, [ %fp + -36 ]                         
	      timeout.tv_nsec = 0;                                           
                                                                      
	      result = pthread_cond_timedwait (&aio_request_queue.new_req,   
 2008298:	92 10 00 1a 	mov  %i2, %o1                                  
 200829c:	40 00 02 43 	call  2008ba8 <pthread_cond_timedwait>         
 20082a0:	94 07 bf dc 	add  %fp, -36, %o2                             
					       &aio_request_queue.mutex,                                 
					       &timeout);                                                
	                                                                     
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
 20082a4:	80 a2 20 74 	cmp  %o0, 0x74                                 
 20082a8:	22 80 00 04 	be,a   20082b8 <rtems_aio_handle+0x298>        <== ALWAYS TAKEN
 20082ac:	c2 06 a0 68 	ld  [ %i2 + 0x68 ], %g1                        
 20082b0:	10 bf ff d2 	b  20081f8 <rtems_aio_handle+0x1d8>            <== NOT EXECUTED
 20082b4:	f0 06 a0 54 	ld  [ %i2 + 0x54 ], %i0                        <== NOT EXECUTED
		AIO_printf ("Etimeout\n");                                          
		--aio_request_queue.idle_threads;                                   
		pthread_mutex_unlock (&aio_request_queue.mutex);                    
 20082b8:	90 10 00 1a 	mov  %i2, %o0                                  
	                                                                     
	      /* If no new fd chain was added in the idle requests           
		 then this thread is finished */                                    
	      if (result == ETIMEDOUT) {                                     
		AIO_printf ("Etimeout\n");                                          
		--aio_request_queue.idle_threads;                                   
 20082bc:	82 00 7f ff 	add  %g1, -1, %g1                              
		pthread_mutex_unlock (&aio_request_queue.mutex);                    
 20082c0:	40 00 03 62 	call  2009048 <pthread_mutex_unlock>           
 20082c4:	c2 26 a0 68 	st  %g1, [ %i2 + 0x68 ]                        
 20082c8:	30 bf ff 8c 	b,a   20080f8 <rtems_aio_handle+0xd8>          
                                                                      

02008338 <rtems_aio_init>: * 0 - if initialization succeeded */ int rtems_aio_init (void) {
 2008338:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int result = 0;                                                     
                                                                      
  result = pthread_attr_init (&aio_request_queue.attr);               
 200833c:	3b 00 80 83 	sethi  %hi(0x2020c00), %i5                     
 2008340:	40 00 03 9b 	call  20091ac <pthread_attr_init>              
 2008344:	90 17 61 ac 	or  %i5, 0x1ac, %o0	! 2020dac <aio_request_queue+0x8>
  if (result != 0)                                                    
 2008348:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200834c:	12 80 00 23 	bne  20083d8 <rtems_aio_init+0xa0>             <== NEVER TAKEN
 2008350:	90 17 61 ac 	or  %i5, 0x1ac, %o0                            
    return result;                                                    
                                                                      
  result =                                                            
 2008354:	40 00 03 a2 	call  20091dc <pthread_attr_setdetachstate>    
 2008358:	92 10 20 00 	clr  %o1                                       
    pthread_attr_setdetachstate (&aio_request_queue.attr,             
                                 PTHREAD_CREATE_DETACHED);            
  if (result != 0)                                                    
 200835c:	80 a2 20 00 	cmp  %o0, 0                                    
 2008360:	12 80 00 20 	bne  20083e0 <rtems_aio_init+0xa8>             <== NEVER TAKEN
 2008364:	39 00 80 83 	sethi  %hi(0x2020c00), %i4                     
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
 2008368:	92 10 20 00 	clr  %o1                                       
 200836c:	40 00 02 bd 	call  2008e60 <pthread_mutex_init>             
 2008370:	90 17 21 a4 	or  %i4, 0x1a4, %o0                            
  if (result != 0)                                                    
 2008374:	80 a2 20 00 	cmp  %o0, 0                                    
 2008378:	12 80 00 23 	bne  2008404 <rtems_aio_init+0xcc>             <== NEVER TAKEN
 200837c:	92 10 20 00 	clr  %o1                                       
    pthread_attr_destroy (&aio_request_queue.attr);                   
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
 2008380:	11 00 80 83 	sethi  %hi(0x2020c00), %o0                     
 2008384:	40 00 01 bd 	call  2008a78 <pthread_cond_init>              
 2008388:	90 12 21 a8 	or  %o0, 0x1a8, %o0	! 2020da8 <aio_request_queue+0x4>
  if (result != 0) {                                                  
 200838c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2008390:	12 80 00 26 	bne  2008428 <rtems_aio_init+0xf0>             <== NEVER TAKEN
 2008394:	01 00 00 00 	nop                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2008398:	82 17 21 a4 	or  %i4, 0x1a4, %g1                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200839c:	84 00 60 54 	add  %g1, 0x54, %g2                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 20083a0:	ba 00 60 4c 	add  %g1, 0x4c, %i5                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
 20083a4:	88 00 60 48 	add  %g1, 0x48, %g4                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 20083a8:	86 00 60 58 	add  %g1, 0x58, %g3                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
 20083ac:	c4 20 60 5c 	st  %g2, [ %g1 + 0x5c ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 20083b0:	fa 20 60 48 	st  %i5, [ %g1 + 0x48 ]                        
  head->previous = NULL;                                              
 20083b4:	c0 20 60 4c 	clr  [ %g1 + 0x4c ]                            
  tail->previous = head;                                              
 20083b8:	c8 20 60 50 	st  %g4, [ %g1 + 0x50 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 20083bc:	c6 20 60 54 	st  %g3, [ %g1 + 0x54 ]                        
  head->previous = NULL;                                              
 20083c0:	c0 20 60 58 	clr  [ %g1 + 0x58 ]                            
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&aio_request_queue.work_req);         
  rtems_chain_initialize_empty (&aio_request_queue.idle_req);         
                                                                      
  aio_request_queue.active_threads = 0;                               
 20083c4:	c0 20 60 64 	clr  [ %g1 + 0x64 ]                            
  aio_request_queue.idle_threads = 0;                                 
 20083c8:	c0 20 60 68 	clr  [ %g1 + 0x68 ]                            
  aio_request_queue.initialized = AIO_QUEUE_INITIALIZED;              
 20083cc:	05 00 00 2c 	sethi  %hi(0xb000), %g2                        
 20083d0:	84 10 a0 0b 	or  %g2, 0xb, %g2	! b00b <PROM_START+0xb00b>   
 20083d4:	c4 20 60 60 	st  %g2, [ %g1 + 0x60 ]                        
                                                                      
  return result;                                                      
}                                                                     
 20083d8:	81 c7 e0 08 	ret                                            
 20083dc:	81 e8 00 00 	restore                                        
                                                                      
  result =                                                            
    pthread_attr_setdetachstate (&aio_request_queue.attr,             
                                 PTHREAD_CREATE_DETACHED);            
  if (result != 0)                                                    
    pthread_attr_destroy (&aio_request_queue.attr);                   
 20083e0:	40 00 03 67 	call  200917c <pthread_attr_destroy>           <== NOT EXECUTED
 20083e4:	90 17 61 ac 	or  %i5, 0x1ac, %o0                            <== NOT EXECUTED
                                                                      
                                                                      
  result = pthread_mutex_init (&aio_request_queue.mutex, NULL);       
 20083e8:	39 00 80 83 	sethi  %hi(0x2020c00), %i4                     <== NOT EXECUTED
 20083ec:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 20083f0:	40 00 02 9c 	call  2008e60 <pthread_mutex_init>             <== NOT EXECUTED
 20083f4:	90 17 21 a4 	or  %i4, 0x1a4, %o0                            <== NOT EXECUTED
  if (result != 0)                                                    
 20083f8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20083fc:	02 bf ff e1 	be  2008380 <rtems_aio_init+0x48>              <== NOT EXECUTED
 2008400:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
    pthread_attr_destroy (&aio_request_queue.attr);                   
 2008404:	40 00 03 5e 	call  200917c <pthread_attr_destroy>           <== NOT EXECUTED
 2008408:	90 17 61 ac 	or  %i5, 0x1ac, %o0                            <== NOT EXECUTED
                                                                      
                                                                      
  result = pthread_cond_init (&aio_request_queue.new_req, NULL);      
 200840c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2008410:	11 00 80 83 	sethi  %hi(0x2020c00), %o0                     <== NOT EXECUTED
 2008414:	40 00 01 99 	call  2008a78 <pthread_cond_init>              <== NOT EXECUTED
 2008418:	90 12 21 a8 	or  %o0, 0x1a8, %o0	! 2020da8 <aio_request_queue+0x4><== NOT EXECUTED
  if (result != 0) {                                                  
 200841c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2008420:	22 bf ff df 	be,a   200839c <rtems_aio_init+0x64>           <== NOT EXECUTED
 2008424:	82 17 21 a4 	or  %i4, 0x1a4, %g1                            <== NOT EXECUTED
    pthread_mutex_destroy (&aio_request_queue.mutex);                 
 2008428:	40 00 02 3b 	call  2008d14 <pthread_mutex_destroy>          <== NOT EXECUTED
 200842c:	90 17 21 a4 	or  %i4, 0x1a4, %o0                            <== NOT EXECUTED
    pthread_attr_destroy (&aio_request_queue.attr);                   
 2008430:	40 00 03 53 	call  200917c <pthread_attr_destroy>           <== NOT EXECUTED
 2008434:	90 17 61 ac 	or  %i5, 0x1ac, %o0                            <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2008438:	10 bf ff d9 	b  200839c <rtems_aio_init+0x64>               <== NOT EXECUTED
 200843c:	82 17 21 a4 	or  %i4, 0x1a4, %g1                            <== NOT EXECUTED
                                                                      

020082cc <rtems_aio_insert_prio>:
 20082cc:	c2 02 00 00 	ld  [ %o0 ], %g1                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 20082d0:	88 02 20 04 	add  %o0, 4, %g4                               
  rtems_chain_node *node;                                             
                                                                      
  AIO_printf ("FD exists \n");                                        
  node = rtems_chain_first (chain);                                   
                                                                      
  if (rtems_chain_is_empty (chain)) {                                 
 20082d4:	80 a0 40 04 	cmp  %g1, %g4                                  
 20082d8:	02 80 00 15 	be  200832c <rtems_aio_insert_prio+0x60>       <== NEVER TAKEN
 20082dc:	9a 10 00 09 	mov  %o1, %o5                                  
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
 20082e0:	c6 02 60 14 	ld  [ %o1 + 0x14 ], %g3                        
  if (rtems_chain_is_empty (chain)) {                                 
    AIO_printf ("First in chain \n");                                 
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
 20082e4:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
 20082e8:	c6 00 e0 18 	ld  [ %g3 + 0x18 ], %g3                        
 20082ec:	c4 00 a0 18 	ld  [ %g2 + 0x18 ], %g2                        
 20082f0:	80 a0 80 03 	cmp  %g2, %g3                                  
 20082f4:	26 80 00 07 	bl,a   2008310 <rtems_aio_insert_prio+0x44>    <== NEVER TAKEN
 20082f8:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
 20082fc:	10 80 00 0b 	b  2008328 <rtems_aio_insert_prio+0x5c>        
 2008300:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           
 2008304:	22 80 00 09 	be,a   2008328 <rtems_aio_insert_prio+0x5c>    <== NOT EXECUTED
 2008308:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
 200830c:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
           !rtems_chain_is_tail (chain, node)) {                      
      node = rtems_chain_next (node);                                 
      prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;       
 2008310:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        <== NOT EXECUTED
    rtems_chain_prepend (chain, &req->next_prio);                     
  } else {                                                            
    AIO_printf ("Add by priority \n");                                
    int prio = ((rtems_aio_request *) node)->aiocbp->aio_reqprio;     
                                                                      
    while (req->aiocbp->aio_reqprio > prio &&                         
 2008314:	c4 00 a0 18 	ld  [ %g2 + 0x18 ], %g2                        <== NOT EXECUTED
 2008318:	80 a0 80 03 	cmp  %g2, %g3                                  <== NOT EXECUTED
 200831c:	06 bf ff fa 	bl  2008304 <rtems_aio_insert_prio+0x38>       <== NOT EXECUTED
 2008320:	80 a1 00 01 	cmp  %g4, %g1                                  <== NOT EXECUTED
 2008324:	d0 00 60 04 	ld  [ %g1 + 4 ], %o0                           <== NOT EXECUTED
 2008328:	92 10 00 0d 	mov  %o5, %o1                                  
 200832c:	82 13 c0 00 	mov  %o7, %g1                                  
 2008330:	40 00 0a 2c 	call  200abe0 <_Chain_Insert>                  
 2008334:	9e 10 40 00 	mov  %g1, %o7                                  
                                                                      

02008514 <rtems_aio_remove_fd>: * Output parameters: * NONE */ void rtems_aio_remove_fd (rtems_aio_request_chain *r_chain) {
 2008514:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2008518:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  const Chain_Control *the_chain,                                     
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Immutable_tail( the_chain ));            
 200851c:	b0 06 20 0c 	add  %i0, 0xc, %i0                             
  rtems_chain_control *chain;                                         
  rtems_chain_node *node;                                             
  chain = &r_chain->perfd;                                            
  node = rtems_chain_first (chain);                                   
                                                                      
  while (!rtems_chain_is_tail (chain, node))                          
 2008520:	80 a7 40 18 	cmp  %i5, %i0                                  
 2008524:	02 80 00 0e 	be  200855c <rtems_aio_remove_fd+0x48>         <== NEVER TAKEN
 2008528:	b6 10 20 8c 	mov  0x8c, %i3                                 
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 200852c:	40 00 09 94 	call  200ab7c <_Chain_Extract>                 
 2008530:	90 10 00 1d 	mov  %i5, %o0                                  
    {                                                                 
      rtems_chain_extract (node);                                     
      rtems_aio_request *req = (rtems_aio_request *) node;            
      node = rtems_chain_next (node);                                 
      req->aiocbp->error_code = ECANCELED;                            
 2008534:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
 2008538:	f8 07 40 00 	ld  [ %i5 ], %i4                               
      req->aiocbp->return_value = -1;                                 
 200853c:	84 10 3f ff 	mov  -1, %g2                                   
      free (req);                                                     
 2008540:	90 10 00 1d 	mov  %i5, %o0                                  
  while (!rtems_chain_is_tail (chain, node))                          
    {                                                                 
      rtems_chain_extract (node);                                     
      rtems_aio_request *req = (rtems_aio_request *) node;            
      node = rtems_chain_next (node);                                 
      req->aiocbp->error_code = ECANCELED;                            
 2008544:	f6 20 60 34 	st  %i3, [ %g1 + 0x34 ]                        
      req->aiocbp->return_value = -1;                                 
      free (req);                                                     
 2008548:	7f ff ee 36 	call  2003e20 <free>                           
 200854c:	c4 20 60 38 	st  %g2, [ %g1 + 0x38 ]                        
  rtems_chain_control *chain;                                         
  rtems_chain_node *node;                                             
  chain = &r_chain->perfd;                                            
  node = rtems_chain_first (chain);                                   
                                                                      
  while (!rtems_chain_is_tail (chain, node))                          
 2008550:	80 a7 00 18 	cmp  %i4, %i0                                  
 2008554:	12 bf ff f6 	bne  200852c <rtems_aio_remove_fd+0x18>        
 2008558:	ba 10 00 1c 	mov  %i4, %i5                                  
 200855c:	81 c7 e0 08 	ret                                            
 2008560:	81 e8 00 00 	restore                                        
                                                                      

02008564 <rtems_aio_remove_req>: * AIO_NOTCANCELED - if request was not canceled * AIO_CANCELED - if request was canceled */ int rtems_aio_remove_req (rtems_chain_control *chain, struct aiocb *aiocbp) {
 2008564:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 2008568:	fa 06 00 00 	ld  [ %i0 ], %i5                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200856c:	84 06 20 04 	add  %i0, 4, %g2                               
  if (rtems_chain_is_empty (chain))                                   
 2008570:	80 a7 40 02 	cmp  %i5, %g2                                  
 2008574:	12 80 00 06 	bne  200858c <rtems_aio_remove_req+0x28>       
 2008578:	b0 10 20 02 	mov  2, %i0                                    
 200857c:	30 80 00 12 	b,a   20085c4 <rtems_aio_remove_req+0x60>      
  rtems_chain_node *node = rtems_chain_first (chain);                 
  rtems_aio_request *current;                                         
                                                                      
  current = (rtems_aio_request *) node;                               
                                                                      
  while (!rtems_chain_is_tail (chain, node) && current->aiocbp != aiocbp) {
 2008580:	80 a0 80 1d 	cmp  %g2, %i5                                  <== NOT EXECUTED
 2008584:	02 80 00 12 	be  20085cc <rtems_aio_remove_req+0x68>        <== NOT EXECUTED
 2008588:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200858c:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 2008590:	80 a0 40 19 	cmp  %g1, %i1                                  
 2008594:	32 bf ff fb 	bne,a   2008580 <rtems_aio_remove_req+0x1c>    <== NEVER TAKEN
 2008598:	fa 07 40 00 	ld  [ %i5 ], %i5                               <== NOT EXECUTED
 200859c:	40 00 09 78 	call  200ab7c <_Chain_Extract>                 
 20085a0:	90 10 00 1d 	mov  %i5, %o0                                  
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
  else                                                                
    {                                                                 
      rtems_chain_extract (node);                                     
      current->aiocbp->error_code = ECANCELED;                        
 20085a4:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
      current->aiocbp->return_value = -1;                             
 20085a8:	84 10 3f ff 	mov  -1, %g2                                   
 20085ac:	c4 20 60 38 	st  %g2, [ %g1 + 0x38 ]                        
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
  else                                                                
    {                                                                 
      rtems_chain_extract (node);                                     
      current->aiocbp->error_code = ECANCELED;                        
 20085b0:	84 10 20 8c 	mov  0x8c, %g2                                 
      current->aiocbp->return_value = -1;                             
      free (current);                                                 
 20085b4:	90 10 00 1d 	mov  %i5, %o0                                  
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
  else                                                                
    {                                                                 
      rtems_chain_extract (node);                                     
      current->aiocbp->error_code = ECANCELED;                        
 20085b8:	c4 20 60 34 	st  %g2, [ %g1 + 0x34 ]                        
      current->aiocbp->return_value = -1;                             
      free (current);                                                 
 20085bc:	7f ff ee 19 	call  2003e20 <free>                           
 20085c0:	b0 10 20 00 	clr  %i0                                       
    }                                                                 
                                                                      
  return AIO_CANCELED;                                                
}                                                                     
 20085c4:	81 c7 e0 08 	ret                                            
 20085c8:	81 e8 00 00 	restore                                        
    node = rtems_chain_next (node);                                   
    current = (rtems_aio_request *) node;                             
  }                                                                   
                                                                      
  if (rtems_chain_is_tail (chain, node))                              
    return AIO_NOTCANCELED;                                           
 20085cc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20085d0:	91 e8 20 01 	restore  %g0, 1, %o0                           <== NOT EXECUTED
                                                                      

0200fab4 <rtems_assoc_local_by_remote_bitfield>: uint32_t rtems_assoc_local_by_remote_bitfield( const rtems_assoc_t *ap, uint32_t remote_value ) {
 200fab4:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200fab8:	b8 10 20 20 	mov  0x20, %i4                                 
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
 200fabc:	b6 10 20 00 	clr  %i3                                       
                                                                      
  for (b = 1; b; b <<= 1) {                                           
 200fac0:	10 80 00 04 	b  200fad0 <rtems_assoc_local_by_remote_bitfield+0x1c>
 200fac4:	ba 10 20 01 	mov  1, %i5                                    
 200fac8:	02 80 00 0c 	be  200faf8 <rtems_assoc_local_by_remote_bitfield+0x44>
 200facc:	bb 2f 60 01 	sll  %i5, 1, %i5                               
    if (b & remote_value)                                             
 200fad0:	80 8f 40 19 	btst  %i5, %i1                                 
 200fad4:	22 bf ff fd 	be,a   200fac8 <rtems_assoc_local_by_remote_bitfield+0x14>
 200fad8:	b8 87 3f ff 	addcc  %i4, -1, %i4                            
      local_value |= rtems_assoc_local_by_remote(ap, b);              
 200fadc:	92 10 00 1d 	mov  %i5, %o1                                  
 200fae0:	40 00 00 08 	call  200fb00 <rtems_assoc_local_by_remote>    
 200fae4:	90 10 00 18 	mov  %i0, %o0                                  
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   local_value = 0;                                         
                                                                      
  for (b = 1; b; b <<= 1) {                                           
 200fae8:	bb 2f 60 01 	sll  %i5, 1, %i5                               
 200faec:	b8 87 3f ff 	addcc  %i4, -1, %i4                            
 200faf0:	12 bf ff f8 	bne  200fad0 <rtems_assoc_local_by_remote_bitfield+0x1c><== ALWAYS TAKEN
 200faf4:	b6 16 c0 08 	or  %i3, %o0, %i3                              
    if (b & remote_value)                                             
      local_value |= rtems_assoc_local_by_remote(ap, b);              
  }                                                                   
                                                                      
  return local_value;                                                 
}                                                                     
 200faf8:	81 c7 e0 08 	ret                                            
 200fafc:	91 e8 00 1b 	restore  %g0, %i3, %o0                         
                                                                      

0200c7f0 <rtems_assoc_ptr_by_local>: const rtems_assoc_t *rtems_assoc_ptr_by_local( const rtems_assoc_t *ap, uint32_t local_value ) {
 200c7f0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
 200c7f4:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 200c7f8:	80 a2 20 00 	cmp  %o0, 0                                    
 200c7fc:	02 80 00 1d 	be  200c870 <rtems_assoc_ptr_by_local+0x80>    
 200c800:	13 00 80 72 	sethi  %hi(0x201c800), %o1                     
 200c804:	40 00 13 8c 	call  2011634 <strcmp>                         
 200c808:	92 12 61 10 	or  %o1, 0x110, %o1	! 201c910 <IMFS_memfile_handlers+0x30>
 200c80c:	80 a2 20 00 	cmp  %o0, 0                                    
 200c810:	22 80 00 12 	be,a   200c858 <rtems_assoc_ptr_by_local+0x68> 
 200c814:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         
const rtems_assoc_t *rtems_assoc_ptr_by_local(                        
  const rtems_assoc_t *ap,                                            
  uint32_t             local_value                                    
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
 200c818:	84 10 20 00 	clr  %g2                                       
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
 200c81c:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200c820:	80 a0 40 19 	cmp  %g1, %i1                                  
 200c824:	32 80 00 07 	bne,a   200c840 <rtems_assoc_ptr_by_local+0x50>
 200c828:	b0 06 20 0c 	add  %i0, 0xc, %i0                             
 200c82c:	30 80 00 13 	b,a   200c878 <rtems_assoc_ptr_by_local+0x88>  
 200c830:	80 a0 40 19 	cmp  %g1, %i1                                  
 200c834:	02 80 00 11 	be  200c878 <rtems_assoc_ptr_by_local+0x88>    
 200c838:	01 00 00 00 	nop                                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 200c83c:	b0 06 20 0c 	add  %i0, 0xc, %i0                             
 200c840:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200c844:	80 a0 60 00 	cmp  %g1, 0                                    
 200c848:	32 bf ff fa 	bne,a   200c830 <rtems_assoc_ptr_by_local+0x40>
 200c84c:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200c850:	81 c7 e0 08 	ret                                            
 200c854:	91 e8 00 02 	restore  %g0, %g2, %o0                         
 200c858:	80 a0 a0 00 	cmp  %g2, 0                                    
 200c85c:	02 80 00 07 	be  200c878 <rtems_assoc_ptr_by_local+0x88>    <== NEVER TAKEN
 200c860:	82 06 20 0c 	add  %i0, 0xc, %g1                             
 200c864:	84 10 00 18 	mov  %i0, %g2                                  
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
 200c868:	10 bf ff ed 	b  200c81c <rtems_assoc_ptr_by_local+0x2c>     
 200c86c:	b0 10 00 01 	mov  %g1, %i0                                  
  for ( ; ap->name; ap++)                                             
    if (ap->local_value == local_value)                               
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
 200c870:	81 c7 e0 08 	ret                                            
 200c874:	91 e8 20 00 	restore  %g0, 0, %o0                           
 200c878:	81 c7 e0 08 	ret                                            
 200c87c:	81 e8 00 00 	restore                                        
                                                                      

02004140 <rtems_assoc_ptr_by_name>: const rtems_assoc_t *rtems_assoc_ptr_by_name( const rtems_assoc_t *ap, const char *name ) {
 2004140:	9d e3 bf a0 	save  %sp, -96, %sp                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
 2004144:	fa 06 00 00 	ld  [ %i0 ], %i5                               
 2004148:	80 a7 60 00 	cmp  %i5, 0                                    
 200414c:	02 80 00 1e 	be  20041c4 <rtems_assoc_ptr_by_name+0x84>     
 2004150:	90 10 00 1d 	mov  %i5, %o0                                  
 2004154:	13 00 80 72 	sethi  %hi(0x201c800), %o1                     
 2004158:	40 00 37 ec 	call  2012108 <strcmp>                         
 200415c:	92 12 62 70 	or  %o1, 0x270, %o1	! 201ca70 <_rodata_start+0x780>
 2004160:	80 a2 20 00 	cmp  %o0, 0                                    
 2004164:	22 80 00 10 	be,a   20041a4 <rtems_assoc_ptr_by_name+0x64>  
 2004168:	fa 06 20 0c 	ld  [ %i0 + 0xc ], %i5                         
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
 200416c:	10 80 00 06 	b  2004184 <rtems_assoc_ptr_by_name+0x44>      
 2004170:	b8 10 20 00 	clr  %i4                                       
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 2004174:	fa 06 00 00 	ld  [ %i0 ], %i5                               
 2004178:	80 a7 60 00 	cmp  %i5, 0                                    
 200417c:	02 80 00 10 	be  20041bc <rtems_assoc_ptr_by_name+0x7c>     
 2004180:	01 00 00 00 	nop                                            
    if (strcmp(ap->name, name) == 0)                                  
 2004184:	90 10 00 1d 	mov  %i5, %o0                                  
 2004188:	40 00 37 e0 	call  2012108 <strcmp>                         
 200418c:	92 10 00 19 	mov  %i1, %o1                                  
 2004190:	80 a2 20 00 	cmp  %o0, 0                                    
 2004194:	32 bf ff f8 	bne,a   2004174 <rtems_assoc_ptr_by_name+0x34> 
 2004198:	b0 06 20 0c 	add  %i0, 0xc, %i0                             
	return ap;                                                           
                                                                      
  return default_ap;                                                  
}                                                                     
 200419c:	81 c7 e0 08 	ret                                            
 20041a0:	81 e8 00 00 	restore                                        
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 20041a4:	80 a7 60 00 	cmp  %i5, 0                                    
 20041a8:	02 bf ff fd 	be  200419c <rtems_assoc_ptr_by_name+0x5c>     <== NEVER TAKEN
 20041ac:	82 06 20 0c 	add  %i0, 0xc, %g1                             
 20041b0:	b8 10 00 18 	mov  %i0, %i4                                  
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
 20041b4:	10 bf ff f4 	b  2004184 <rtems_assoc_ptr_by_name+0x44>      
 20041b8:	b0 10 00 01 	mov  %g1, %i0                                  
                                                                      
  for ( ; ap->name; ap++)                                             
 20041bc:	81 c7 e0 08 	ret                                            
 20041c0:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
const rtems_assoc_t *rtems_assoc_ptr_by_name(                         
  const rtems_assoc_t *ap,                                            
  const char          *name                                           
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
 20041c4:	81 c7 e0 08 	ret                                            
 20041c8:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0200fb3c <rtems_assoc_ptr_by_remote>: const rtems_assoc_t *rtems_assoc_ptr_by_remote( const rtems_assoc_t *ap, uint32_t remote_value ) {
 200fb3c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
 200fb40:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 200fb44:	80 a2 20 00 	cmp  %o0, 0                                    
 200fb48:	02 80 00 1d 	be  200fbbc <rtems_assoc_ptr_by_remote+0x80>   
 200fb4c:	13 00 80 72 	sethi  %hi(0x201c800), %o1                     
 200fb50:	40 00 06 b9 	call  2011634 <strcmp>                         
 200fb54:	92 12 61 10 	or  %o1, 0x110, %o1	! 201c910 <IMFS_memfile_handlers+0x30>
 200fb58:	80 a2 20 00 	cmp  %o0, 0                                    
 200fb5c:	22 80 00 12 	be,a   200fba4 <rtems_assoc_ptr_by_remote+0x68>
 200fb60:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         
const rtems_assoc_t *rtems_assoc_ptr_by_remote(                       
  const rtems_assoc_t *ap,                                            
  uint32_t       remote_value                                         
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
 200fb64:	84 10 20 00 	clr  %g2                                       
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
 200fb68:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 200fb6c:	80 a0 40 19 	cmp  %g1, %i1                                  
 200fb70:	32 80 00 07 	bne,a   200fb8c <rtems_assoc_ptr_by_remote+0x50>
 200fb74:	b0 06 20 0c 	add  %i0, 0xc, %i0                             
 200fb78:	30 80 00 13 	b,a   200fbc4 <rtems_assoc_ptr_by_remote+0x88> 
 200fb7c:	80 a0 40 19 	cmp  %g1, %i1                                  
 200fb80:	02 80 00 11 	be  200fbc4 <rtems_assoc_ptr_by_remote+0x88>   
 200fb84:	01 00 00 00 	nop                                            
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
                                                                      
  for ( ; ap->name; ap++)                                             
 200fb88:	b0 06 20 0c 	add  %i0, 0xc, %i0                             
 200fb8c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200fb90:	80 a0 60 00 	cmp  %g1, 0                                    
 200fb94:	32 bf ff fa 	bne,a   200fb7c <rtems_assoc_ptr_by_remote+0x40>
 200fb98:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 200fb9c:	81 c7 e0 08 	ret                                            
 200fba0:	91 e8 00 02 	restore  %g0, %g2, %o0                         
 200fba4:	80 a0 a0 00 	cmp  %g2, 0                                    
 200fba8:	02 80 00 07 	be  200fbc4 <rtems_assoc_ptr_by_remote+0x88>   <== NEVER TAKEN
 200fbac:	82 06 20 0c 	add  %i0, 0xc, %g1                             
 200fbb0:	84 10 00 18 	mov  %i0, %g2                                  
)                                                                     
{                                                                     
  const rtems_assoc_t *default_ap = 0;                                
                                                                      
  if (rtems_assoc_is_default(ap))                                     
    default_ap = ap++;                                                
 200fbb4:	10 bf ff ed 	b  200fb68 <rtems_assoc_ptr_by_remote+0x2c>    
 200fbb8:	b0 10 00 01 	mov  %g1, %i0                                  
  for ( ; ap->name; ap++)                                             
    if (ap->remote_value == remote_value)                             
      return ap;                                                      
                                                                      
  return default_ap;                                                  
}                                                                     
 200fbbc:	81 c7 e0 08 	ret                                            
 200fbc0:	91 e8 20 00 	restore  %g0, 0, %o0                           
 200fbc4:	81 c7 e0 08 	ret                                            
 200fbc8:	81 e8 00 00 	restore                                        
                                                                      

0200425c <rtems_assoc_remote_by_local_bitfield>: uint32_t rtems_assoc_remote_by_local_bitfield( const rtems_assoc_t *ap, uint32_t local_value ) {
 200425c:	9d e3 bf a0 	save  %sp, -96, %sp                            
 2004260:	b8 10 20 20 	mov  0x20, %i4                                 
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
 2004264:	b6 10 20 00 	clr  %i3                                       
                                                                      
  for (b = 1; b; b <<= 1)                                             
 2004268:	10 80 00 04 	b  2004278 <rtems_assoc_remote_by_local_bitfield+0x1c>
 200426c:	ba 10 20 01 	mov  1, %i5                                    
 2004270:	02 80 00 0c 	be  20042a0 <rtems_assoc_remote_by_local_bitfield+0x44>
 2004274:	bb 2f 60 01 	sll  %i5, 1, %i5                               
    if (b & local_value)                                              
 2004278:	80 8f 40 19 	btst  %i5, %i1                                 
 200427c:	22 bf ff fd 	be,a   2004270 <rtems_assoc_remote_by_local_bitfield+0x14>
 2004280:	b8 87 3f ff 	addcc  %i4, -1, %i4                            
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
 2004284:	92 10 00 1d 	mov  %i5, %o1                                  
 2004288:	40 00 00 08 	call  20042a8 <rtems_assoc_remote_by_local>    
 200428c:	90 10 00 18 	mov  %i0, %o0                                  
)                                                                     
{                                                                     
  uint32_t   b;                                                       
  uint32_t   remote_value = 0;                                        
                                                                      
  for (b = 1; b; b <<= 1)                                             
 2004290:	bb 2f 60 01 	sll  %i5, 1, %i5                               
 2004294:	b8 87 3f ff 	addcc  %i4, -1, %i4                            
 2004298:	12 bf ff f8 	bne  2004278 <rtems_assoc_remote_by_local_bitfield+0x1c><== ALWAYS TAKEN
 200429c:	b6 16 c0 08 	or  %i3, %o0, %i3                              
    if (b & local_value)                                              
      remote_value |= rtems_assoc_remote_by_local(ap, b);             
                                                                      
  return remote_value;                                                
}                                                                     
 20042a0:	81 c7 e0 08 	ret                                            
 20042a4:	91 e8 00 1b 	restore  %g0, %i3, %o0                         
                                                                      

0200d894 <rtems_bdbuf_add_to_modified_list_after_access>: } } static void rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd) {
 200d894:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dd)   
 200d898:	3b 00 80 8a 	sethi  %hi(0x2022800), %i5                     
 200d89c:	ba 17 61 b4 	or  %i5, 0x1b4, %i5	! 20229b4 <bdbuf_cache>    
 200d8a0:	c2 0f 60 30 	ldub  [ %i5 + 0x30 ], %g1                      
 200d8a4:	80 a0 60 00 	cmp  %g1, 0                                    
 200d8a8:	22 80 00 08 	be,a   200d8c8 <rtems_bdbuf_add_to_modified_list_after_access+0x34><== ALWAYS TAKEN
 200d8ac:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 200d8b0:	c4 07 60 38 	ld  [ %i5 + 0x38 ], %g2                        <== NOT EXECUTED
 200d8b4:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        <== NOT EXECUTED
 200d8b8:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 200d8bc:	02 80 00 2b 	be  200d968 <rtems_bdbuf_add_to_modified_list_after_access+0xd4><== NOT EXECUTED
 200d8c0:	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                    
 200d8c4:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        <== NOT EXECUTED
 200d8c8:	80 a0 60 05 	cmp  %g1, 5                                    
 200d8cc:	22 80 00 16 	be,a   200d924 <rtems_bdbuf_add_to_modified_list_after_access+0x90>
 200d8d0:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 200d8d4:	80 a0 60 03 	cmp  %g1, 3                                    
 200d8d8:	02 80 00 13 	be  200d924 <rtems_bdbuf_add_to_modified_list_after_access+0x90>
 200d8dc:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d8e0:	84 10 20 07 	mov  7, %g2                                    
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200d8e4:	c2 07 60 54 	ld  [ %i5 + 0x54 ], %g1                        
 200d8e8:	c4 26 20 20 	st  %g2, [ %i0 + 0x20 ]                        
                                                                      
  the_node->next = tail;                                              
 200d8ec:	84 07 60 50 	add  %i5, 0x50, %g2                            
  tail->previous = the_node;                                          
 200d8f0:	f0 27 60 54 	st  %i0, [ %i5 + 0x54 ]                        
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
 200d8f4:	c4 26 00 00 	st  %g2, [ %i0 ]                               
    bd->hold_timer = bdbuf_config.swap_block_hold;                    
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append_unprotected (&bdbuf_cache.modified, &bd->link);  
                                                                      
  if (bd->waiters)                                                    
 200d8f8:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
 200d8fc:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
 200d900:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d904:	12 80 00 15 	bne  200d958 <rtems_bdbuf_add_to_modified_list_after_access+0xc4>
 200d908:	f0 20 40 00 	st  %i0, [ %g1 ]                               
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else if (rtems_bdbuf_has_buffer_waiters ())                         
 200d90c:	c2 07 60 74 	ld  [ %i5 + 0x74 ], %g1                        
 200d910:	80 a0 60 00 	cmp  %g1, 0                                    
 200d914:	12 80 00 13 	bne  200d960 <rtems_bdbuf_add_to_modified_list_after_access+0xcc>
 200d918:	01 00 00 00 	nop                                            
 200d91c:	81 c7 e0 08 	ret                                            
 200d920:	81 e8 00 00 	restore                                        
   * 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                    
        || bd->state == RTEMS_BDBUF_STATE_ACCESS_EMPTY)               
    bd->hold_timer = bdbuf_config.swap_block_hold;                    
 200d924:	c2 00 62 90 	ld  [ %g1 + 0x290 ], %g1                       
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d928:	84 10 20 07 	mov  7, %g2                                    
   * 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                    
        || bd->state == RTEMS_BDBUF_STATE_ACCESS_EMPTY)               
    bd->hold_timer = bdbuf_config.swap_block_hold;                    
 200d92c:	c2 26 20 2c 	st  %g1, [ %i0 + 0x2c ]                        
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200d930:	c2 07 60 54 	ld  [ %i5 + 0x54 ], %g1                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d934:	c4 26 20 20 	st  %g2, [ %i0 + 0x20 ]                        
                                                                      
  the_node->next = tail;                                              
 200d938:	84 07 60 50 	add  %i5, 0x50, %g2                            
  tail->previous = the_node;                                          
 200d93c:	f0 27 60 54 	st  %i0, [ %i5 + 0x54 ]                        
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
 200d940:	c4 26 00 00 	st  %g2, [ %i0 ]                               
    bd->hold_timer = bdbuf_config.swap_block_hold;                    
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_MODIFIED);             
  rtems_chain_append_unprotected (&bdbuf_cache.modified, &bd->link);  
                                                                      
  if (bd->waiters)                                                    
 200d944:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
 200d948:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
 200d94c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d950:	02 bf ff ef 	be  200d90c <rtems_bdbuf_add_to_modified_list_after_access+0x78>
 200d954:	f0 20 40 00 	st  %i0, [ %g1 ]                               
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
 200d958:	7f ff ff c0 	call  200d858 <rtems_bdbuf_wake>               
 200d95c:	91 ef 60 64 	restore  %i5, 0x64, %o0                        
  else if (rtems_bdbuf_has_buffer_waiters ())                         
    rtems_bdbuf_wake_swapper ();                                      
 200d960:	7f ff ff 17 	call  200d5bc <rtems_bdbuf_wake_swapper>       
 200d964:	81 e8 00 00 	restore                                        
static void                                                           
rtems_bdbuf_add_to_modified_list_after_access (rtems_bdbuf_buffer *bd)
{                                                                     
  if (bdbuf_cache.sync_active && bdbuf_cache.sync_device == bd->dd)   
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
 200d968:	7f ff ff 0e 	call  200d5a0 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200d96c:	39 10 80 00 	sethi  %hi(0x42000000), %i4                    <== NOT EXECUTED
 * Lock the cache's sync. A single task can nest calls.               
 */                                                                   
static void                                                           
rtems_bdbuf_lock_sync (void)                                          
{                                                                     
  rtems_bdbuf_lock (bdbuf_cache.sync_lock, RTEMS_BLKDEV_FATAL_BDBUF_SYNC_LOCK);
 200d970:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        <== NOT EXECUTED
 200d974:	7f ff fe e7 	call  200d510 <rtems_bdbuf_lock>               <== NOT EXECUTED
 200d978:	92 17 20 0b 	or  %i4, 0xb, %o1                              <== NOT EXECUTED
 * Unlock the cache's sync lock. Any blocked writers are woken.       
 */                                                                   
static void                                                           
rtems_bdbuf_unlock_sync (void)                                        
{                                                                     
  rtems_bdbuf_unlock (bdbuf_cache.sync_lock,                          
 200d97c:	d0 07 60 2c 	ld  [ %i5 + 0x2c ], %o0                        <== NOT EXECUTED
 200d980:	7f ff fe fd 	call  200d574 <rtems_bdbuf_unlock>             <== NOT EXECUTED
 200d984:	92 17 20 0c 	or  %i4, 0xc, %o1                              <== NOT EXECUTED
     * Wait for the sync lock.                                        
     */                                                               
    rtems_bdbuf_lock_sync ();                                         
                                                                      
    rtems_bdbuf_unlock_sync ();                                       
    rtems_bdbuf_lock_cache ();                                        
 200d988:	7f ff fe ef 	call  200d544 <rtems_bdbuf_lock_cache>         <== NOT EXECUTED
 200d98c:	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                    
 200d990:	10 bf ff ce 	b  200d8c8 <rtems_bdbuf_add_to_modified_list_after_access+0x34><== NOT EXECUTED
 200d994:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        <== NOT EXECUTED
                                                                      

0200d6d0 <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) {
 200d6d0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_mode        prev_mode;                                        
                                                                      
  /*                                                                  
   * Indicate we are waiting.                                         
   */                                                                 
  ++waiters->count;                                                   
 200d6d4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200d6d8:	82 00 60 01 	inc  %g1                                       
   * 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 ();                      
 200d6dc:	7f ff ff df 	call  200d658 <rtems_bdbuf_disable_preemption> 
 200d6e0:	c2 26 00 00 	st  %g1, [ %i0 ]                               
                                                                      
  /*                                                                  
   * Unlock the cache, wait, and lock the cache when we return.       
   */                                                                 
  rtems_bdbuf_unlock_cache ();                                        
 200d6e4:	7f ff ff af 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200d6e8:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
  sc = rtems_semaphore_obtain (waiters->sema, RTEMS_WAIT, RTEMS_BDBUF_WAIT_TIMEOUT);
 200d6ec:	d0 06 20 04 	ld  [ %i0 + 4 ], %o0                           
 200d6f0:	92 10 20 00 	clr  %o1                                       
 200d6f4:	7f ff ee 94 	call  2009144 <rtems_semaphore_obtain>         
 200d6f8:	94 10 20 00 	clr  %o2                                       
                                                                      
  if (sc == RTEMS_TIMEOUT)                                            
 200d6fc:	80 a2 20 06 	cmp  %o0, 6                                    
 200d700:	02 80 00 0d 	be  200d734 <rtems_bdbuf_anonymous_wait+0x64>  <== NEVER TAKEN
 200d704:	80 a2 20 0d 	cmp  %o0, 0xd                                  
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_TO);
                                                                      
  if (sc != RTEMS_UNSATISFIED)                                        
 200d708:	12 80 00 0e 	bne  200d740 <rtems_bdbuf_anonymous_wait+0x70> <== NEVER TAKEN
 200d70c:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_2);
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200d710:	7f ff ff 8d 	call  200d544 <rtems_bdbuf_lock_cache>         
 200d714:	01 00 00 00 	nop                                            
                                                                      
  rtems_bdbuf_restore_preemption (prev_mode);                         
 200d718:	7f ff ff df 	call  200d694 <rtems_bdbuf_restore_preemption> 
 200d71c:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  --waiters->count;                                                   
 200d720:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200d724:	82 00 7f ff 	add  %g1, -1, %g1                              
 200d728:	c2 26 00 00 	st  %g1, [ %i0 ]                               
 200d72c:	81 c7 e0 08 	ret                                            
 200d730:	81 e8 00 00 	restore                                        
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  sc = rtems_semaphore_obtain (waiters->sema, RTEMS_WAIT, RTEMS_BDBUF_WAIT_TIMEOUT);
                                                                      
  if (sc == RTEMS_TIMEOUT)                                            
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_TO);
 200d734:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200d738:	7f ff f0 37 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d73c:	90 12 20 12 	or  %o0, 0x12, %o0	! 42000012 <RAM_END+0x3fc00012><== NOT EXECUTED
                                                                      
  if (sc != RTEMS_UNSATISFIED)                                        
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAIT_2);
 200d740:	7f ff f0 35 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d744:	90 12 20 10 	or  %o0, 0x10, %o0                             <== NOT EXECUTED
                                                                      

0200d998 <rtems_bdbuf_create_task.constprop.9>: return NULL; } static rtems_status_code rtems_bdbuf_create_task(
 200d998:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_task_argument arg,                                            
  rtems_id *id                                                        
)                                                                     
{                                                                     
  rtems_status_code sc;                                               
  size_t stack_size = bdbuf_config.task_stack_size ?                  
 200d99c:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 200d9a0:	d4 00 62 9c 	ld  [ %g1 + 0x29c ], %o2	! 201fe9c <rtems_bdbuf_configuration+0x1c>
    bdbuf_config.task_stack_size : RTEMS_BDBUF_TASK_STACK_SIZE_DEFAULT;
 200d9a4:	80 a2 a0 00 	cmp  %o2, 0                                    
 200d9a8:	12 80 00 03 	bne  200d9b4 <rtems_bdbuf_create_task.constprop.9+0x1c><== ALWAYS TAKEN
 200d9ac:	92 10 00 19 	mov  %i1, %o1                                  
 200d9b0:	15 00 00 04 	sethi  %hi(0x1000), %o2                        <== NOT EXECUTED
                                                                      
  priority = priority != 0 ? priority : default_priority;             
 200d9b4:	80 a2 60 00 	cmp  %o1, 0                                    
 200d9b8:	22 80 00 02 	be,a   200d9c0 <rtems_bdbuf_create_task.constprop.9+0x28><== NEVER TAKEN
 200d9bc:	92 10 20 0f 	mov  0xf, %o1                                  <== NOT EXECUTED
                                                                      
  sc = rtems_task_create (name,                                       
 200d9c0:	90 10 00 18 	mov  %i0, %o0                                  
 200d9c4:	96 10 24 00 	mov  0x400, %o3                                
 200d9c8:	98 10 20 00 	clr  %o4                                       
 200d9cc:	7f ff ee 59 	call  2009330 <rtems_task_create>              
 200d9d0:	9a 10 00 1c 	mov  %i4, %o5                                  
                          stack_size,                                 
                          RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR,
                          RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,      
                          id);                                        
                                                                      
  if (sc == RTEMS_SUCCESSFUL)                                         
 200d9d4:	80 a2 20 00 	cmp  %o0, 0                                    
 200d9d8:	02 80 00 04 	be  200d9e8 <rtems_bdbuf_create_task.constprop.9+0x50><== ALWAYS TAKEN
 200d9dc:	b0 10 00 08 	mov  %o0, %i0                                  
    sc = rtems_task_start (*id, entry, arg);                          
                                                                      
  return sc;                                                          
}                                                                     
 200d9e0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200d9e4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                          RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR,
                          RTEMS_LOCAL | RTEMS_NO_FLOATING_POINT,      
                          id);                                        
                                                                      
  if (sc == RTEMS_SUCCESSFUL)                                         
    sc = rtems_task_start (*id, entry, arg);                          
 200d9e8:	f0 07 00 00 	ld  [ %i4 ], %i0                               
 200d9ec:	b2 10 00 1a 	mov  %i2, %i1                                  
 200d9f0:	7f ff ee db 	call  200955c <rtems_task_start>               
 200d9f4:	95 e8 00 1b 	restore  %g0, %i3, %o2                         
                                                                      

0200d658 <rtems_bdbuf_disable_preemption>: --bd->group->users; } static rtems_mode rtems_bdbuf_disable_preemption (void) {
 200d658:	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);
 200d65c:	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;                                           
 200d660:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
  sc = rtems_task_mode (RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &prev_mode);
 200d664:	92 10 21 00 	mov  0x100, %o1                                
 200d668:	40 00 12 65 	call  2011ffc <rtems_task_mode>                
 200d66c:	94 07 bf fc 	add  %fp, -4, %o2                              
  if (sc != RTEMS_SUCCESSFUL)                                         
 200d670:	80 a2 20 00 	cmp  %o0, 0                                    
 200d674:	12 80 00 04 	bne  200d684 <rtems_bdbuf_disable_preemption+0x2c><== NEVER TAKEN
 200d678:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_DIS);
                                                                      
  return prev_mode;                                                   
}                                                                     
 200d67c:	81 c7 e0 08 	ret                                            
 200d680:	81 e8 00 00 	restore                                        
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_mode prev_mode = 0;                                           
                                                                      
  sc = rtems_task_mode (RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &prev_mode);
  if (sc != RTEMS_SUCCESSFUL)                                         
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_DIS);
 200d684:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200d688:	7f ff f0 63 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d68c:	90 12 20 0f 	or  %o0, 0xf, %o0	! 4200000f <RAM_END+0x3fc0000f><== NOT EXECUTED
                                                                      

0200de1c <rtems_bdbuf_discard_buffer_after_access>: return bdbuf_cache.max_bds_per_group / bds_per_size; } static void rtems_bdbuf_discard_buffer_after_access (rtems_bdbuf_buffer *bd) {
 200de1c:	9d e3 bf a0 	save  %sp, -96, %sp                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200de20:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
 200de24:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200de28:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
 200de2c:	80 a0 a0 00 	cmp  %g2, 0                                    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200de30:	86 00 ff ff 	add  %g3, -1, %g3                              
 200de34:	c6 20 60 0c 	st  %g3, [ %g1 + 0xc ]                         
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200de38:	82 10 20 01 	mov  1, %g1                                    
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
 200de3c:	02 80 00 05 	be  200de50 <rtems_bdbuf_discard_buffer_after_access+0x34>
 200de40:	c2 26 20 20 	st  %g1, [ %i0 + 0x20 ]                        
{                                                                     
  rtems_bdbuf_group_release (bd);                                     
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
 200de44:	31 00 80 8a 	sethi  %hi(0x2022800), %i0                     
 200de48:	7f ff fe 84 	call  200d858 <rtems_bdbuf_wake>               
 200de4c:	91 ee 22 18 	restore  %i0, 0x218, %o0                       
 200de50:	7f ff ff e6 	call  200dde8 <rtems_bdbuf_discard_buffer.part.4>
 200de54:	90 10 00 18 	mov  %i0, %o0                                  
rtems_bdbuf_discard_buffer_after_access (rtems_bdbuf_buffer *bd)      
{                                                                     
  rtems_bdbuf_group_release (bd);                                     
  rtems_bdbuf_discard_buffer (bd);                                    
                                                                      
  if (bd->waiters)                                                    
 200de58:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200de5c:	80 a0 60 00 	cmp  %g1, 0                                    
 200de60:	32 bf ff fa 	bne,a   200de48 <rtems_bdbuf_discard_buffer_after_access+0x2c><== NEVER TAKEN
 200de64:	31 00 80 8a 	sethi  %hi(0x2022800), %i0                     <== NOT EXECUTED
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200de68:	31 00 80 8a 	sethi  %hi(0x2022800), %i0                     
 200de6c:	7f ff fe 7b 	call  200d858 <rtems_bdbuf_wake>               
 200de70:	91 ee 22 28 	restore  %i0, 0x228, %o0                       
                                                                      

0200ed04 <rtems_bdbuf_execute_read_request>: static rtems_status_code rtems_bdbuf_execute_read_request (rtems_disk_device *dd, rtems_bdbuf_buffer *bd, uint32_t transfer_count) {
 200ed04:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   * 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) +                  
 200ed08:	83 2e a0 04 	sll  %i2, 4, %g1                               
 200ed0c:	82 00 60 20 	add  %g1, 0x20, %g1                            
 200ed10:	9c 23 80 01 	sub  %sp, %g1, %sp                             
                     sizeof (rtems_blkdev_sg_buffer) * transfer_count);
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
 200ed14:	03 00 80 35 	sethi  %hi(0x200d400), %g1                     
 200ed18:	82 10 61 f0 	or  %g1, 0x1f0, %g1	! 200d5f0 <rtems_bdbuf_transfer_done>
  /*                                                                  
   * 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) +                  
 200ed1c:	a0 03 a0 60 	add  %sp, 0x60, %l0                            
rtems_bdbuf_execute_read_request (rtems_disk_device  *dd,             
                                  rtems_bdbuf_buffer *bd,             
                                  uint32_t            transfer_count) 
{                                                                     
  rtems_blkdev_request *req = NULL;                                   
  rtems_blkdev_bnum media_block = bd->block;                          
 200ed20:	f8 06 60 18 	ld  [ %i1 + 0x18 ], %i4                        
  uint32_t media_blocks_per_block = dd->media_blocks_per_block;       
  uint32_t block_size = dd->block_size;                               
 200ed24:	e2 06 20 24 	ld  [ %i0 + 0x24 ], %l1                        
                                  rtems_bdbuf_buffer *bd,             
                                  uint32_t            transfer_count) 
{                                                                     
  rtems_blkdev_request *req = NULL;                                   
  rtems_blkdev_bnum media_block = bd->block;                          
  uint32_t media_blocks_per_block = dd->media_blocks_per_block;       
 200ed28:	e4 06 20 2c 	ld  [ %i0 + 0x2c ], %l2                        
                                                                      
  req = bdbuf_alloc (sizeof (rtems_blkdev_request) +                  
                     sizeof (rtems_blkdev_sg_buffer) * transfer_count);
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
 200ed2c:	c2 24 20 04 	st  %g1, [ %l0 + 4 ]                           
#define bdbuf_alloc(size) __builtin_alloca (size)                     
                                                                      
  req = bdbuf_alloc (sizeof (rtems_blkdev_request) +                  
                     sizeof (rtems_blkdev_sg_buffer) * transfer_count);
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
 200ed30:	c0 24 00 00 	clr  [ %l0 ]                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
 200ed34:	40 00 0d 1e 	call  20121ac <rtems_task_self>                
 200ed38:	e0 24 20 08 	st  %l0, [ %l0 + 8 ]                           
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);             
                                                                      
  req->bufs [0].user   = bd;                                          
  req->bufs [0].block  = media_block;                                 
  req->bufs [0].length = block_size;                                  
  req->bufs [0].buffer = bd->buffer;                                  
 200ed3c:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
  req->status = RTEMS_RESOURCE_IN_USE;                                
 200ed40:	84 10 20 0c 	mov  0xc, %g2                                  
                     sizeof (rtems_blkdev_sg_buffer) * transfer_count);
                                                                      
  req->req = RTEMS_BLKDEV_REQ_READ;                                   
  req->req_done = rtems_bdbuf_transfer_done;                          
  req->done_arg = req;                                                
  req->io_task = rtems_task_self ();                                  
 200ed44:	d0 24 20 14 	st  %o0, [ %l0 + 0x14 ]                        
  req->status = RTEMS_RESOURCE_IN_USE;                                
 200ed48:	c4 24 20 0c 	st  %g2, [ %l0 + 0xc ]                         
  req->bufnum = 0;                                                    
 200ed4c:	c0 24 20 10 	clr  [ %l0 + 0x10 ]                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200ed50:	84 10 20 09 	mov  9, %g2                                    
 200ed54:	c4 26 60 20 	st  %g2, [ %i1 + 0x20 ]                        
  req->status = RTEMS_RESOURCE_IN_USE;                                
  req->bufnum = 0;                                                    
                                                                      
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);             
                                                                      
  req->bufs [0].user   = bd;                                          
 200ed58:	f2 24 20 24 	st  %i1, [ %l0 + 0x24 ]                        
  req->bufs [0].block  = media_block;                                 
 200ed5c:	f8 24 20 18 	st  %i4, [ %l0 + 0x18 ]                        
  req->bufs [0].length = block_size;                                  
 200ed60:	e2 24 20 1c 	st  %l1, [ %l0 + 0x1c ]                        
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  while (transfer_index < transfer_count)                             
 200ed64:	80 a6 a0 01 	cmp  %i2, 1                                    
 200ed68:	08 80 00 1d 	bleu  200eddc <rtems_bdbuf_execute_read_request+0xd8>
 200ed6c:	c2 24 20 20 	st  %g1, [ %l0 + 0x20 ]                        
 200ed70:	ba 10 00 10 	mov  %l0, %i5                                  
{                                                                     
  rtems_blkdev_request *req = NULL;                                   
  rtems_blkdev_bnum media_block = bd->block;                          
  uint32_t media_blocks_per_block = dd->media_blocks_per_block;       
  uint32_t block_size = dd->block_size;                               
  uint32_t transfer_index = 1;                                        
 200ed74:	b6 10 20 01 	mov  1, %i3                                    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200ed78:	10 80 00 0b 	b  200eda4 <rtems_bdbuf_execute_read_request+0xa0>
 200ed7c:	b2 10 20 09 	mov  9, %i1                                    
    if (bd == NULL)                                                   
      break;                                                          
                                                                      
    rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);           
                                                                      
    req->bufs [transfer_index].user   = bd;                           
 200ed80:	d0 27 60 34 	st  %o0, [ %i5 + 0x34 ]                        
    req->bufs [transfer_index].block  = media_block;                  
 200ed84:	f8 27 60 28 	st  %i4, [ %i5 + 0x28 ]                        
    req->bufs [transfer_index].length = block_size;                   
 200ed88:	e2 27 60 2c 	st  %l1, [ %i5 + 0x2c ]                        
    req->bufs [transfer_index].buffer = bd->buffer;                   
 200ed8c:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
                                                                      
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("read", bd);                            
                                                                      
    ++transfer_index;                                                 
 200ed90:	b6 06 e0 01 	inc  %i3                                       
    rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);           
                                                                      
    req->bufs [transfer_index].user   = bd;                           
    req->bufs [transfer_index].block  = media_block;                  
    req->bufs [transfer_index].length = block_size;                   
    req->bufs [transfer_index].buffer = bd->buffer;                   
 200ed94:	c2 27 60 30 	st  %g1, [ %i5 + 0x30 ]                        
  req->bufs [0].buffer = bd->buffer;                                  
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_users ("read", bd);                              
                                                                      
  while (transfer_index < transfer_count)                             
 200ed98:	80 a6 c0 1a 	cmp  %i3, %i2                                  
 200ed9c:	02 80 00 09 	be  200edc0 <rtems_bdbuf_execute_read_request+0xbc>
 200eda0:	ba 07 60 10 	add  %i5, 0x10, %i5                            
  {                                                                   
    media_block += media_blocks_per_block;                            
 200eda4:	b8 07 00 12 	add  %i4, %l2, %i4                             
                                                                      
    bd = rtems_bdbuf_get_buffer_for_read_ahead (dd, media_block);     
 200eda8:	90 10 00 18 	mov  %i0, %o0                                  
 200edac:	7f ff fd 4b 	call  200e2d8 <rtems_bdbuf_get_buffer_for_read_ahead>
 200edb0:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
    if (bd == NULL)                                                   
 200edb4:	80 a2 20 00 	cmp  %o0, 0                                    
 200edb8:	32 bf ff f2 	bne,a   200ed80 <rtems_bdbuf_execute_read_request+0x7c><== ALWAYS TAKEN
 200edbc:	f2 22 20 20 	st  %i1, [ %o0 + 0x20 ]                        
      rtems_bdbuf_show_users ("read", bd);                            
                                                                      
    ++transfer_index;                                                 
  }                                                                   
                                                                      
  req->bufnum = transfer_index;                                       
 200edc0:	f6 24 20 10 	st  %i3, [ %l0 + 0x10 ]                        
                                                                      
  return rtems_bdbuf_execute_transfer_request (dd, req, true);        
 200edc4:	90 10 00 18 	mov  %i0, %o0                                  
 200edc8:	92 10 00 10 	mov  %l0, %o1                                  
 200edcc:	7f ff fd e4 	call  200e55c <rtems_bdbuf_execute_transfer_request>
 200edd0:	94 10 20 01 	mov  1, %o2                                    
}                                                                     
 200edd4:	81 c7 e0 08 	ret                                            
 200edd8:	91 e8 00 08 	restore  %g0, %o0, %o0                         
{                                                                     
  rtems_blkdev_request *req = NULL;                                   
  rtems_blkdev_bnum media_block = bd->block;                          
  uint32_t media_blocks_per_block = dd->media_blocks_per_block;       
  uint32_t block_size = dd->block_size;                               
  uint32_t transfer_index = 1;                                        
 200eddc:	10 bf ff f9 	b  200edc0 <rtems_bdbuf_execute_read_request+0xbc>
 200ede0:	b6 10 20 01 	mov  1, %i3                                    
                                                                      

0200e55c <rtems_bdbuf_execute_transfer_request>: static rtems_status_code rtems_bdbuf_execute_transfer_request (rtems_disk_device *dd, rtems_blkdev_request *req, bool cache_locked) {
 200e55c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int result = 0;                                                     
  uint32_t transfer_index = 0;                                        
  bool wake_transfer_waiters = false;                                 
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
 200e560:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e564:	12 80 00 79 	bne  200e748 <rtems_bdbuf_execute_transfer_request+0x1ec>
 200e568:	ba 10 00 18 	mov  %i0, %i5                                  
    rtems_bdbuf_unlock_cache ();                                      
                                                                      
  result = dd->ioctl (dd->phys_dev, RTEMS_BLKIO_REQUEST, req);        
 200e56c:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
 200e570:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
 200e574:	94 10 00 19 	mov  %i1, %o2                                  
 200e578:	13 30 06 10 	sethi  %hi(0xc0184000), %o1                    
                                                                      
  if (result == 0)                                                    
 200e57c:	a6 10 20 00 	clr  %l3                                       
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
    rtems_bdbuf_unlock_cache ();                                      
                                                                      
  result = dd->ioctl (dd->phys_dev, RTEMS_BLKIO_REQUEST, req);        
 200e580:	92 12 62 01 	or  %o1, 0x201, %o1                            
 200e584:	9f c0 40 00 	call  %g1                                      
 200e588:	b0 10 20 1b 	mov  0x1b, %i0                                 
                                                                      
  if (result == 0)                                                    
 200e58c:	80 a2 20 00 	cmp  %o0, 0                                    
 200e590:	02 80 00 64 	be  200e720 <rtems_bdbuf_execute_transfer_request+0x1c4>
 200e594:	01 00 00 00 	nop                                            
    sc = req->status;                                                 
  }                                                                   
  else                                                                
    sc = RTEMS_IO_ERROR;                                              
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200e598:	7f ff fb eb 	call  200d544 <rtems_bdbuf_lock_cache>         
 200e59c:	01 00 00 00 	nop                                            
                                                                      
  /* Statistics */                                                    
  if (req->req == RTEMS_BLKDEV_REQ_READ)                              
 200e5a0:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 200e5a4:	80 a0 60 00 	cmp  %g1, 0                                    
 200e5a8:	12 80 00 45 	bne  200e6bc <rtems_bdbuf_execute_transfer_request+0x160>
 200e5ac:	c8 06 60 10 	ld  [ %i1 + 0x10 ], %g4                        
  {                                                                   
    dd->stats.read_blocks += req->bufnum;                             
 200e5b0:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        
    if (sc != RTEMS_SUCCESSFUL)                                       
 200e5b4:	80 a6 20 00 	cmp  %i0, 0                                    
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  /* Statistics */                                                    
  if (req->req == RTEMS_BLKDEV_REQ_READ)                              
  {                                                                   
    dd->stats.read_blocks += req->bufnum;                             
 200e5b8:	82 00 40 04 	add  %g1, %g4, %g1                             
    if (sc != RTEMS_SUCCESSFUL)                                       
 200e5bc:	12 80 00 55 	bne  200e710 <rtems_bdbuf_execute_transfer_request+0x1b4>
 200e5c0:	c2 27 60 50 	st  %g1, [ %i5 + 0x50 ]                        
    ++dd->stats.write_transfers;                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.write_errors;                                       
  }                                                                   
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
 200e5c4:	80 a1 20 00 	cmp  %g4, 0                                    
 200e5c8:	02 80 00 35 	be  200e69c <rtems_bdbuf_execute_transfer_request+0x140><== NEVER TAKEN
 200e5cc:	b6 10 20 00 	clr  %i3                                       
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200e5d0:	21 00 80 8a 	sethi  %hi(0x2022800), %l0                     
 200e5d4:	b8 10 00 19 	mov  %i1, %i4                                  
 200e5d8:	a0 14 21 b4 	or  %l0, 0x1b4, %l0                            
 200e5dc:	aa 10 20 00 	clr  %l5                                       
 200e5e0:	ba 10 20 00 	clr  %i5                                       
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200e5e4:	a8 10 20 01 	mov  1, %l4                                    
 200e5e8:	a4 10 20 02 	mov  2, %l2                                    
                                                                      
  the_node->next = tail;                                              
 200e5ec:	10 80 00 16 	b  200e644 <rtems_bdbuf_execute_transfer_request+0xe8>
 200e5f0:	a2 04 20 44 	add  %l0, 0x44, %l1                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200e5f4:	c2 02 20 28 	ld  [ %o0 + 0x28 ], %g1                        
    else                                                              
      wake_buffer_waiters = true;                                     
                                                                      
    rtems_bdbuf_group_release (bd);                                   
                                                                      
    if (sc == RTEMS_SUCCESSFUL && bd->state == RTEMS_BDBUF_STATE_TRANSFER)
 200e5f8:	80 a6 20 00 	cmp  %i0, 0                                    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200e5fc:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         
 200e600:	86 00 ff ff 	add  %g3, -1, %g3                              
    else                                                              
      wake_buffer_waiters = true;                                     
                                                                      
    rtems_bdbuf_group_release (bd);                                   
                                                                      
    if (sc == RTEMS_SUCCESSFUL && bd->state == RTEMS_BDBUF_STATE_TRANSFER)
 200e604:	12 80 00 06 	bne  200e61c <rtems_bdbuf_execute_transfer_request+0xc0>
 200e608:	c6 20 60 0c 	st  %g3, [ %g1 + 0xc ]                         
 200e60c:	c2 02 20 20 	ld  [ %o0 + 0x20 ], %g1                        
 200e610:	80 a0 60 09 	cmp  %g1, 9                                    
 200e614:	22 80 00 13 	be,a   200e660 <rtems_bdbuf_execute_transfer_request+0x104>
 200e618:	c2 04 20 48 	ld  [ %l0 + 0x48 ], %g1                        
static void                                                           
rtems_bdbuf_discard_buffer (rtems_bdbuf_buffer *bd)                   
{                                                                     
  rtems_bdbuf_make_empty (bd);                                        
                                                                      
  if (bd->waiters == 0)                                               
 200e61c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200e620:	12 80 00 05 	bne  200e634 <rtems_bdbuf_execute_transfer_request+0xd8>
 200e624:	e8 22 20 20 	st  %l4, [ %o0 + 0x20 ]                        
 200e628:	7f ff fd f0 	call  200dde8 <rtems_bdbuf_discard_buffer.part.4>
 200e62c:	01 00 00 00 	nop                                            
 200e630:	c8 06 60 10 	ld  [ %i1 + 0x10 ], %g4                        
    ++dd->stats.write_transfers;                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.write_errors;                                       
  }                                                                   
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
 200e634:	ba 07 60 01 	inc  %i5                                       
 200e638:	80 a1 00 1d 	cmp  %g4, %i5                                  
 200e63c:	08 80 00 12 	bleu  200e684 <rtems_bdbuf_execute_transfer_request+0x128><== ALWAYS TAKEN
 200e640:	b8 07 20 10 	add  %i4, 0x10, %i4                            
  {                                                                   
    rtems_bdbuf_buffer *bd = req->bufs [transfer_index].user;         
 200e644:	d0 07 20 24 	ld  [ %i4 + 0x24 ], %o0                        
    bool waiters = bd->waiters;                                       
 200e648:	c4 02 20 24 	ld  [ %o0 + 0x24 ], %g2                        
                                                                      
    if (waiters)                                                      
 200e64c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200e650:	32 bf ff e9 	bne,a   200e5f4 <rtems_bdbuf_execute_transfer_request+0x98>
 200e654:	aa 10 20 01 	mov  1, %l5                                    
      wake_transfer_waiters = true;                                   
    else                                                              
      wake_buffer_waiters = true;                                     
 200e658:	10 bf ff e7 	b  200e5f4 <rtems_bdbuf_execute_transfer_request+0x98>
 200e65c:	b6 10 20 01 	mov  1, %i3                                    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200e660:	e4 22 20 20 	st  %l2, [ %o0 + 0x20 ]                        
 200e664:	e2 22 00 00 	st  %l1, [ %o0 ]                               
  tail->previous = the_node;                                          
 200e668:	d0 24 20 48 	st  %o0, [ %l0 + 0x48 ]                        
  old_last->next = the_node;                                          
 200e66c:	d0 20 40 00 	st  %o0, [ %g1 ]                               
  the_node->previous = old_last;                                      
 200e670:	c2 22 20 04 	st  %g1, [ %o0 + 4 ]                           
    ++dd->stats.write_transfers;                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.write_errors;                                       
  }                                                                   
                                                                      
  for (transfer_index = 0; transfer_index < req->bufnum; ++transfer_index)
 200e674:	ba 07 60 01 	inc  %i5                                       
 200e678:	80 a1 00 1d 	cmp  %g4, %i5                                  
 200e67c:	18 bf ff f2 	bgu  200e644 <rtems_bdbuf_execute_transfer_request+0xe8>
 200e680:	b8 07 20 10 	add  %i4, 0x10, %i4                            
                                                                      
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("transfer", bd);                        
  }                                                                   
                                                                      
  if (wake_transfer_waiters)                                          
 200e684:	80 8d 60 ff 	btst  0xff, %l5                                
 200e688:	12 80 00 34 	bne  200e758 <rtems_bdbuf_execute_transfer_request+0x1fc>
 200e68c:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
    rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);                 
                                                                      
  if (wake_buffer_waiters)                                            
 200e690:	80 8e e0 ff 	btst  0xff, %i3                                
 200e694:	12 80 00 16 	bne  200e6ec <rtems_bdbuf_execute_transfer_request+0x190>
 200e698:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
                                                                      
  if (!cache_locked)                                                  
 200e69c:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e6a0:	02 80 00 18 	be  200e700 <rtems_bdbuf_execute_transfer_request+0x1a4>
 200e6a4:	01 00 00 00 	nop                                            
    rtems_bdbuf_unlock_cache ();                                      
                                                                      
  if (sc == RTEMS_SUCCESSFUL || sc == RTEMS_UNSATISFIED)              
 200e6a8:	80 8c e0 ff 	btst  0xff, %l3                                
 200e6ac:	22 80 00 02 	be,a   200e6b4 <rtems_bdbuf_execute_transfer_request+0x158>
 200e6b0:	b0 10 20 1b 	mov  0x1b, %i0                                 
    return sc;                                                        
  else                                                                
    return RTEMS_IO_ERROR;                                            
}                                                                     
 200e6b4:	81 c7 e0 08 	ret                                            
 200e6b8:	81 e8 00 00 	restore                                        
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.read_errors;                                        
  }                                                                   
  else                                                                
  {                                                                   
    dd->stats.write_blocks += req->bufnum;                            
 200e6bc:	c4 07 60 5c 	ld  [ %i5 + 0x5c ], %g2                        
    ++dd->stats.write_transfers;                                      
 200e6c0:	c2 07 60 58 	ld  [ %i5 + 0x58 ], %g1                        
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.read_errors;                                        
  }                                                                   
  else                                                                
  {                                                                   
    dd->stats.write_blocks += req->bufnum;                            
 200e6c4:	84 00 80 04 	add  %g2, %g4, %g2                             
    ++dd->stats.write_transfers;                                      
 200e6c8:	82 00 60 01 	inc  %g1                                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.read_errors;                                        
  }                                                                   
  else                                                                
  {                                                                   
    dd->stats.write_blocks += req->bufnum;                            
 200e6cc:	c4 27 60 5c 	st  %g2, [ %i5 + 0x5c ]                        
    ++dd->stats.write_transfers;                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
 200e6d0:	80 a6 20 00 	cmp  %i0, 0                                    
 200e6d4:	02 bf ff bc 	be  200e5c4 <rtems_bdbuf_execute_transfer_request+0x68>
 200e6d8:	c2 27 60 58 	st  %g1, [ %i5 + 0x58 ]                        
      ++dd->stats.write_errors;                                       
 200e6dc:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        
 200e6e0:	82 00 60 01 	inc  %g1                                       
 200e6e4:	10 bf ff b8 	b  200e5c4 <rtems_bdbuf_execute_transfer_request+0x68>
 200e6e8:	c2 27 60 60 	st  %g1, [ %i5 + 0x60 ]                        
                                                                      
  if (wake_transfer_waiters)                                          
    rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);                 
                                                                      
  if (wake_buffer_waiters)                                            
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200e6ec:	7f ff fc 5b 	call  200d858 <rtems_bdbuf_wake>               
 200e6f0:	90 12 22 28 	or  %o0, 0x228, %o0                            
                                                                      
  if (!cache_locked)                                                  
 200e6f4:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e6f8:	32 bf ff ed 	bne,a   200e6ac <rtems_bdbuf_execute_transfer_request+0x150>
 200e6fc:	80 8c e0 ff 	btst  0xff, %l3                                
    rtems_bdbuf_unlock_cache ();                                      
 200e700:	7f ff fb a8 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200e704:	01 00 00 00 	nop                                            
                                                                      
  if (sc == RTEMS_SUCCESSFUL || sc == RTEMS_UNSATISFIED)              
 200e708:	10 bf ff e9 	b  200e6ac <rtems_bdbuf_execute_transfer_request+0x150>
 200e70c:	80 8c e0 ff 	btst  0xff, %l3                                
  /* Statistics */                                                    
  if (req->req == RTEMS_BLKDEV_REQ_READ)                              
  {                                                                   
    dd->stats.read_blocks += req->bufnum;                             
    if (sc != RTEMS_SUCCESSFUL)                                       
      ++dd->stats.read_errors;                                        
 200e710:	c2 07 60 54 	ld  [ %i5 + 0x54 ], %g1                        
 200e714:	82 00 60 01 	inc  %g1                                       
 200e718:	10 bf ff ab 	b  200e5c4 <rtems_bdbuf_execute_transfer_request+0x68>
 200e71c:	c2 27 60 54 	st  %g1, [ %i5 + 0x54 ]                        
                                                                      
  result = dd->ioctl (dd->phys_dev, RTEMS_BLKIO_REQUEST, req);        
                                                                      
  if (result == 0)                                                    
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_TRANSFER_SYNC);           
 200e720:	7f ff fb bb 	call  200d60c <rtems_bdbuf_wait_for_event>     
 200e724:	90 10 20 02 	mov  2, %o0                                    
    sc = req->status;                                                 
 200e728:	f0 06 60 0c 	ld  [ %i1 + 0xc ], %i0                         
 200e72c:	82 1e 20 0d 	xor  %i0, 0xd, %g1                             
 200e730:	80 a0 00 01 	cmp  %g0, %g1                                  
 200e734:	a6 60 3f ff 	subx  %g0, -1, %l3                             
 200e738:	80 a0 00 18 	cmp  %g0, %i0                                  
 200e73c:	82 60 3f ff 	subx  %g0, -1, %g1                             
 200e740:	10 bf ff 96 	b  200e598 <rtems_bdbuf_execute_transfer_request+0x3c>
 200e744:	a6 14 c0 01 	or  %l3, %g1, %l3                              
  uint32_t transfer_index = 0;                                        
  bool wake_transfer_waiters = false;                                 
  bool wake_buffer_waiters = false;                                   
                                                                      
  if (cache_locked)                                                   
    rtems_bdbuf_unlock_cache ();                                      
 200e748:	7f ff fb 96 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200e74c:	01 00 00 00 	nop                                            
                                                                      
  result = dd->ioctl (dd->phys_dev, RTEMS_BLKIO_REQUEST, req);        
 200e750:	10 bf ff 88 	b  200e570 <rtems_bdbuf_execute_transfer_request+0x14>
 200e754:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
    if (rtems_bdbuf_tracer)                                           
      rtems_bdbuf_show_users ("transfer", bd);                        
  }                                                                   
                                                                      
  if (wake_transfer_waiters)                                          
    rtems_bdbuf_wake (&bdbuf_cache.transfer_waiters);                 
 200e758:	7f ff fc 40 	call  200d858 <rtems_bdbuf_wake>               
 200e75c:	90 12 22 20 	or  %o0, 0x220, %o0                            
                                                                      
  if (wake_buffer_waiters)                                            
 200e760:	10 bf ff cd 	b  200e694 <rtems_bdbuf_execute_transfer_request+0x138>
 200e764:	80 8e e0 ff 	btst  0xff, %i3                                
                                                                      

0200d560 <rtems_bdbuf_fatal>: #define RTEMS_BDBUF_AVL_MAX_HEIGHT (32) #endif static void rtems_bdbuf_fatal (rtems_bdbuf_buf_state state, uint32_t error) {
 200d560:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_fatal_error_occurred ((((uint32_t) state) << 16) | error);    
 200d564:	b1 2e 20 10 	sll  %i0, 0x10, %i0                            <== NOT EXECUTED
 200d568:	7f ff f0 ab 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d56c:	90 16 40 18 	or  %i1, %i0, %o0                              <== NOT EXECUTED
                                                                      

0200f364 <rtems_bdbuf_get>: rtems_status_code rtems_bdbuf_get (rtems_disk_device *dd, rtems_blkdev_bnum block, rtems_bdbuf_buffer **bd_ptr) {
 200f364:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code   sc = RTEMS_SUCCESSFUL;                          
  rtems_bdbuf_buffer *bd = NULL;                                      
  rtems_blkdev_bnum   media_block;                                    
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200f368:	7f ff f8 77 	call  200d544 <rtems_bdbuf_lock_cache>         
 200f36c:	b8 10 20 04 	mov  4, %i4                                    
                             rtems_blkdev_bnum        block,          
                             rtems_blkdev_bnum       *media_block_ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (block < dd->block_count)                                        
 200f370:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 200f374:	80 a6 40 01 	cmp  %i1, %g1                                  
 200f378:	0a 80 00 07 	bcs  200f394 <rtems_bdbuf_get+0x30>            <== ALWAYS TAKEN
 200f37c:	ba 10 20 00 	clr  %i5                                       
      rtems_bdbuf_show_users ("get", bd);                             
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f380:	7f ff f8 88 	call  200d5a0 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200f384:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
                                                                      
  *bd_ptr = bd;                                                       
 200f388:	fa 26 80 00 	st  %i5, [ %i2 ]                               <== NOT EXECUTED
                                                                      
  return sc;                                                          
}                                                                     
 200f38c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f390:	81 e8 00 00 	restore                                        <== NOT EXECUTED
}                                                                     
                                                                      
static rtems_blkdev_bnum                                              
rtems_bdbuf_media_block (const rtems_disk_device *dd, rtems_blkdev_bnum block)
{                                                                     
  if (dd->block_to_media_block_shift >= 0)                            
 200f394:	d2 06 20 30 	ld  [ %i0 + 0x30 ], %o1                        
 200f398:	80 a2 60 00 	cmp  %o1, 0                                    
 200f39c:	26 80 00 2a 	bl,a   200f444 <rtems_bdbuf_get+0xe0>          <== NEVER TAKEN
 200f3a0:	d6 06 20 24 	ld  [ %i0 + 0x24 ], %o3                        <== NOT EXECUTED
    return block << dd->block_to_media_block_shift;                   
 200f3a4:	93 2e 40 09 	sll  %i1, %o1, %o1                             
    /*                                                                
     * Compute the media block number. Drivers work with media block number not
     * the block number a BD may have as this depends on the block size set by
     * the user.                                                      
     */                                                               
    *media_block_ptr = rtems_bdbuf_media_block (dd, block) + dd->start;
 200f3a8:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
     */                                                               
    if (rtems_bdbuf_tracer)                                           
      printf ("bdbuf:get: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n",  
              media_block, block, (unsigned) dd->dev);                
                                                                      
    bd = rtems_bdbuf_get_buffer_for_access (dd, media_block);         
 200f3ac:	90 10 00 18 	mov  %i0, %o0                                  
 200f3b0:	7f ff fb e1 	call  200e334 <rtems_bdbuf_get_buffer_for_access>
 200f3b4:	92 02 40 01 	add  %o1, %g1, %o1                             
 200f3b8:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
    switch (bd->state)                                                
 200f3bc:	d0 02 20 20 	ld  [ %o0 + 0x20 ], %o0                        
 200f3c0:	80 a2 20 02 	cmp  %o0, 2                                    
 200f3c4:	02 80 00 18 	be  200f424 <rtems_bdbuf_get+0xc0>             
 200f3c8:	80 a2 20 07 	cmp  %o0, 7                                    
 200f3cc:	02 80 00 06 	be  200f3e4 <rtems_bdbuf_get+0x80>             
 200f3d0:	80 a2 20 01 	cmp  %o0, 1                                    
 200f3d4:	02 80 00 0c 	be  200f404 <rtems_bdbuf_get+0xa0>             <== ALWAYS TAKEN
 200f3d8:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
         * record of this 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);
 200f3dc:	7f ff f8 61 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200f3e0:	92 12 60 1e 	or  %o1, 0x1e, %o1	! 4200001e <RAM_END+0x3fc0001e><== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f3e4:	82 10 20 04 	mov  4, %g1                                    
 200f3e8:	b8 10 20 00 	clr  %i4                                       
 200f3ec:	c2 27 60 20 	st  %g1, [ %i5 + 0x20 ]                        
      rtems_bdbuf_show_users ("get", bd);                             
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f3f0:	7f ff f8 6c 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f3f4:	b0 10 00 1c 	mov  %i4, %i0                                  
                                                                      
  *bd_ptr = bd;                                                       
 200f3f8:	fa 26 80 00 	st  %i5, [ %i2 ]                               
                                                                      
  return sc;                                                          
}                                                                     
 200f3fc:	81 c7 e0 08 	ret                                            
 200f400:	81 e8 00 00 	restore                                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f404:	82 10 20 05 	mov  5, %g1                                    
 200f408:	b8 10 20 00 	clr  %i4                                       
 200f40c:	c2 27 60 20 	st  %g1, [ %i5 + 0x20 ]                        
      rtems_bdbuf_show_users ("get", bd);                             
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f410:	7f ff f8 64 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f414:	b0 10 00 1c 	mov  %i4, %i0                                  
                                                                      
  *bd_ptr = bd;                                                       
 200f418:	fa 26 80 00 	st  %i5, [ %i2 ]                               
                                                                      
  return sc;                                                          
}                                                                     
 200f41c:	81 c7 e0 08 	ret                                            
 200f420:	81 e8 00 00 	restore                                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f424:	82 10 20 03 	mov  3, %g1                                    
 200f428:	b8 10 20 00 	clr  %i4                                       
 200f42c:	c2 27 60 20 	st  %g1, [ %i5 + 0x20 ]                        
      rtems_bdbuf_show_users ("get", bd);                             
      rtems_bdbuf_show_usage ();                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f430:	7f ff f8 5c 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f434:	b0 10 00 1c 	mov  %i4, %i0                                  
                                                                      
  *bd_ptr = bd;                                                       
 200f438:	fa 26 80 00 	st  %i5, [ %i2 ]                               
                                                                      
  return sc;                                                          
}                                                                     
 200f43c:	81 c7 e0 08 	ret                                            
 200f440:	81 e8 00 00 	restore                                        
    /*                                                                
     * Change the block number for the block size to the block number for the media
     * block size. We have to use 64bit maths. There is no short cut here.
     */                                                               
    return (rtems_blkdev_bnum)                                        
      ((((uint64_t) block) * dd->block_size) / dd->media_block_size); 
 200f444:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 200f448:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 200f44c:	40 00 3a c5 	call  201df60 <__muldi3>                       <== NOT EXECUTED
 200f450:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 200f454:	d6 06 20 20 	ld  [ %i0 + 0x20 ], %o3                        <== NOT EXECUTED
 200f458:	40 00 3c d3 	call  201e7a4 <__udivdi3>                      <== NOT EXECUTED
 200f45c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
    /*                                                                
     * Compute the media block number. Drivers work with media block number not
     * the block number a BD may have as this depends on the block size set by
     * the user.                                                      
     */                                                               
    *media_block_ptr = rtems_bdbuf_media_block (dd, block) + dd->start;
 200f460:	10 bf ff d3 	b  200f3ac <rtems_bdbuf_get+0x48>              <== NOT EXECUTED
 200f464:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        <== NOT EXECUTED
                                                                      

0200e334 <rtems_bdbuf_get_buffer_for_access>: static rtems_bdbuf_buffer * rtems_bdbuf_get_buffer_for_access (rtems_disk_device *dd, rtems_blkdev_bnum block) {
 200e334:	9d e3 bf a0 	save  %sp, -96, %sp                            
 200e338:	3b 00 80 8a 	sethi  %hi(0x2022800), %i5                     
 200e33c:	b8 10 00 18 	mov  %i0, %i4                                  
 200e340:	ba 17 61 b4 	or  %i5, 0x1b4, %i5                            
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);       
 200e344:	a6 10 00 1d 	mov  %i5, %l3                                  
        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);         
 200e348:	a0 07 60 6c 	add  %i5, 0x6c, %l0                            
        }                                                             
      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);           
 200e34c:	b4 07 60 64 	add  %i5, 0x64, %i2                            
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 200e350:	b6 07 60 40 	add  %i5, 0x40, %i3                            
           * It is essential that we wait here without a special wait count and
           * without the group in use.  Otherwise we could trigger a wait ping
           * pong with another recycle waiter.  The state of the buffer is
           * arbitrary afterwards.                                    
           */                                                         
          rtems_bdbuf_anonymous_wait (&bdbuf_cache.buffer_waiters);   
 200e354:	a2 07 60 74 	add  %i5, 0x74, %l1                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_buffer (void)                                    
{                                                                     
  if (!rtems_chain_is_empty (&bdbuf_cache.modified))                  
 200e358:	a4 07 60 50 	add  %i5, 0x50, %l2                            
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);       
 200e35c:	d0 07 60 3c 	ld  [ %i5 + 0x3c ], %o0                        
 200e360:	92 10 00 1c 	mov  %i4, %o1                                  
 200e364:	7f ff fd 24 	call  200d7f4 <rtems_bdbuf_avl_search.isra.0>  
 200e368:	94 10 00 19 	mov  %i1, %o2                                  
                                                                      
    if (bd != NULL)                                                   
 200e36c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200e370:	02 80 00 36 	be  200e448 <rtems_bdbuf_get_buffer_for_access+0x114>
 200e374:	90 10 00 1c 	mov  %i4, %o0                                  
    {                                                                 
      if (bd->group->bds_per_group != dd->bds_per_group)              
 200e378:	c4 06 20 28 	ld  [ %i0 + 0x28 ], %g2                        
 200e37c:	c2 07 20 34 	ld  [ %i4 + 0x34 ], %g1                        
 200e380:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 200e384:	80 a0 80 01 	cmp  %g2, %g1                                  
 200e388:	12 80 00 0d 	bne  200e3bc <rtems_bdbuf_get_buffer_for_access+0x88>
 200e38c:	2d 00 80 34 	sethi  %hi(0x200d000), %l6                     
        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);         
 200e390:	3b 00 80 8a 	sethi  %hi(0x2022800), %i5                     
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e394:	39 00 80 34 	sethi  %hi(0x200d000), %i4                     
        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);         
 200e398:	ba 17 62 20 	or  %i5, 0x220, %i5                            
        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);           
 200e39c:	b6 07 7f f8 	add  %i5, -8, %i3                              
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e3a0:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 200e3a4:	80 a2 20 0a 	cmp  %o0, 0xa                                  
 200e3a8:	08 80 00 4e 	bleu  200e4e0 <rtems_bdbuf_get_buffer_for_access+0x1ac><== ALWAYS TAKEN
 200e3ac:	84 17 23 08 	or  %i4, 0x308, %g2                            
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_7);
 200e3b0:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200e3b4:	7f ff fc 6b 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200e3b8:	92 12 60 05 	or  %o1, 5, %o1	! 42000005 <RAM_END+0x3fc00005><== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200e3bc:	aa 10 20 08 	mov  8, %l5                                    
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
 200e3c0:	a8 07 60 5c 	add  %i5, 0x5c, %l4                            
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e3c4:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 200e3c8:	80 a2 20 0a 	cmp  %o0, 0xa                                  
 200e3cc:	08 80 00 05 	bleu  200e3e0 <rtems_bdbuf_get_buffer_for_access+0xac><== ALWAYS TAKEN
 200e3d0:	82 15 a3 34 	or  %l6, 0x334, %g1                            
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_8);
 200e3d4:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200e3d8:	7f ff fc 62 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200e3dc:	92 12 60 06 	or  %o1, 6, %o1	! 42000006 <RAM_END+0x3fc00006><== NOT EXECUTED
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e3e0:	91 2a 20 02 	sll  %o0, 2, %o0                               
 200e3e4:	c2 00 40 08 	ld  [ %g1 + %o0 ], %g1                         
 200e3e8:	81 c0 40 00 	jmp  %g1                                       
 200e3ec:	01 00 00 00 	nop                                            
      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)                                         
 200e3f0:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200e3f4:	80 a0 60 00 	cmp  %g1, 0                                    
 200e3f8:	12 80 00 1f 	bne  200e474 <rtems_bdbuf_get_buffer_for_access+0x140><== ALWAYS TAKEN
 200e3fc:	01 00 00 00 	nop                                            
    {                                                                 
      if (bd->group->bds_per_group != dd->bds_per_group)              
      {                                                               
        if (rtems_bdbuf_wait_for_recycle (bd))                        
        {                                                             
          rtems_bdbuf_remove_from_tree_and_lru_list (bd);             
 200e400:	7f ff fe 9d 	call  200de74 <rtems_bdbuf_remove_from_tree_and_lru_list><== NOT EXECUTED
 200e404:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 200e408:	c2 07 60 40 	ld  [ %i5 + 0x40 ], %g1                        <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200e40c:	c0 26 20 20 	clr  [ %i0 + 0x20 ]                            <== NOT EXECUTED
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 200e410:	f6 26 20 04 	st  %i3, [ %i0 + 4 ]                           <== NOT EXECUTED
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 200e414:	f0 27 60 40 	st  %i0, [ %i5 + 0x40 ]                        <== NOT EXECUTED
  the_node->next        = before_node;                                
 200e418:	c2 26 00 00 	st  %g1, [ %i0 ]                               <== NOT EXECUTED
  before_node->previous = the_node;                                   
 200e41c:	f0 20 60 04 	st  %i0, [ %g1 + 4 ]                           <== 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);             
 200e420:	7f ff fd 0e 	call  200d858 <rtems_bdbuf_wake>               <== NOT EXECUTED
 200e424:	90 07 60 74 	add  %i5, 0x74, %o0                            <== NOT EXECUTED
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);       
 200e428:	d0 07 60 3c 	ld  [ %i5 + 0x3c ], %o0                        <== NOT EXECUTED
 200e42c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 200e430:	7f ff fc f1 	call  200d7f4 <rtems_bdbuf_avl_search.isra.0>  <== NOT EXECUTED
 200e434:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
                                                                      
    if (bd != NULL)                                                   
 200e438:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 200e43c:	32 bf ff d0 	bne,a   200e37c <rtems_bdbuf_get_buffer_for_access+0x48><== NOT EXECUTED
 200e440:	c4 06 20 28 	ld  [ %i0 + 0x28 ], %g2                        <== NOT EXECUTED
        bd = NULL;                                                    
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      bd = rtems_bdbuf_get_buffer_from_lru_list (dd, block);          
 200e444:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 200e448:	7f ff fe 9d 	call  200debc <rtems_bdbuf_get_buffer_from_lru_list>
 200e44c:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
      if (bd == NULL)                                                 
 200e450:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200e454:	32 bf ff d0 	bne,a   200e394 <rtems_bdbuf_get_buffer_for_access+0x60>
 200e458:	3b 00 80 8a 	sethi  %hi(0x2022800), %i5                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_wait_for_buffer (void)                                    
{                                                                     
  if (!rtems_chain_is_empty (&bdbuf_cache.modified))                  
 200e45c:	c2 04 e0 4c 	ld  [ %l3 + 0x4c ], %g1                        
 200e460:	80 a0 40 12 	cmp  %g1, %l2                                  
 200e464:	02 80 00 04 	be  200e474 <rtems_bdbuf_get_buffer_for_access+0x140>
 200e468:	01 00 00 00 	nop                                            
    rtems_bdbuf_wake_swapper ();                                      
 200e46c:	7f ff fc 54 	call  200d5bc <rtems_bdbuf_wake_swapper>       
 200e470:	01 00 00 00 	nop                                            
           * It is essential that we wait here without a special wait count and
           * without the group in use.  Otherwise we could trigger a wait ping
           * pong with another recycle waiter.  The state of the buffer is
           * arbitrary afterwards.                                    
           */                                                         
          rtems_bdbuf_anonymous_wait (&bdbuf_cache.buffer_waiters);   
 200e474:	7f ff fc 97 	call  200d6d0 <rtems_bdbuf_anonymous_wait>     
 200e478:	90 10 00 11 	mov  %l1, %o0                                  
{                                                                     
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  do                                                                  
  {                                                                   
    bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);       
 200e47c:	10 bf ff b9 	b  200e360 <rtems_bdbuf_get_buffer_for_access+0x2c>
 200e480:	d0 07 60 3c 	ld  [ %i5 + 0x3c ], %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);         
 200e484:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200e488:	7f ff fc b1 	call  200d74c <rtems_bdbuf_wait>               <== NOT EXECUTED
 200e48c:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e490:	10 bf ff ce 	b  200e3c8 <rtems_bdbuf_get_buffer_for_access+0x94><== NOT EXECUTED
 200e494:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        <== NOT EXECUTED
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 200e498:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 200e49c:	c4 06 00 00 	ld  [ %i0 ], %g2                               <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200e4a0:	ea 26 20 20 	st  %l5, [ %i0 + 0x20 ]                        <== NOT EXECUTED
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 200e4a4:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           <== NOT EXECUTED
  previous->next = next;                                              
 200e4a8:	c4 20 40 00 	st  %g2, [ %g1 ]                               <== NOT EXECUTED
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200e4ac:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        <== NOT EXECUTED
                                                                      
  the_node->next = tail;                                              
 200e4b0:	e8 26 00 00 	st  %l4, [ %i0 ]                               <== NOT EXECUTED
  tail->previous = the_node;                                          
 200e4b4:	f0 27 60 60 	st  %i0, [ %i5 + 0x60 ]                        <== NOT EXECUTED
  old_last->next = the_node;                                          
 200e4b8:	f0 20 40 00 	st  %i0, [ %g1 ]                               <== 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_unprotected (&bd->link);                        
  rtems_chain_append_unprotected (&bdbuf_cache.sync, &bd->link);      
  rtems_bdbuf_wake_swapper ();                                        
 200e4bc:	7f ff fc 40 	call  200d5bc <rtems_bdbuf_wake_swapper>       <== NOT EXECUTED
 200e4c0:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           <== NOT EXECUTED
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e4c4:	10 bf ff c1 	b  200e3c8 <rtems_bdbuf_get_buffer_for_access+0x94><== NOT EXECUTED
 200e4c8:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        <== NOT EXECUTED
        }                                                             
      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);           
 200e4cc:	90 10 00 18 	mov  %i0, %o0                                  
 200e4d0:	7f ff fc 9f 	call  200d74c <rtems_bdbuf_wait>               
 200e4d4:	92 10 00 1a 	mov  %i2, %o1                                  
static bool                                                           
rtems_bdbuf_wait_for_recycle (rtems_bdbuf_buffer *bd)                 
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e4d8:	10 bf ff bc 	b  200e3c8 <rtems_bdbuf_get_buffer_for_access+0x94>
 200e4dc:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e4e0:	83 2a 20 02 	sll  %o0, 2, %g1                               
 200e4e4:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
 200e4e8:	81 c0 40 00 	jmp  %g1                                       
 200e4ec:	01 00 00 00 	nop                                            
        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);         
 200e4f0:	90 10 00 18 	mov  %i0, %o0                                  
 200e4f4:	7f ff fc 96 	call  200d74c <rtems_bdbuf_wait>               
 200e4f8:	92 10 00 1d 	mov  %i5, %o1                                  
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e4fc:	10 bf ff aa 	b  200e3a4 <rtems_bdbuf_get_buffer_for_access+0x70>
 200e500:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200e504:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 200e508:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200e50c:	84 00 bf ff 	add  %g2, -1, %g2                              
 200e510:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 200e514:	c6 06 00 00 	ld  [ %i0 ], %g3                               
  previous       = the_node->previous;                                
 200e518:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
  next->previous = previous;                                          
 200e51c:	c4 20 e0 04 	st  %g2, [ %g3 + 4 ]                           
  previous->next = next;                                              
 200e520:	c6 20 80 00 	st  %g3, [ %g2 ]                               
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
 200e524:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200e528:	84 00 a0 01 	inc  %g2                                       
 200e52c:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
 200e530:	81 c7 e0 08 	ret                                            
 200e534:	81 e8 00 00 	restore                                        
        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);           
 200e538:	90 10 00 18 	mov  %i0, %o0                                  
 200e53c:	7f ff fc 84 	call  200d74c <rtems_bdbuf_wait>               
 200e540:	92 10 00 1b 	mov  %i3, %o1                                  
static void                                                           
rtems_bdbuf_wait_for_access (rtems_bdbuf_buffer *bd)                  
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200e544:	10 bf ff 98 	b  200e3a4 <rtems_bdbuf_get_buffer_for_access+0x70>
 200e548:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 200e54c:	10 bf ff f2 	b  200e514 <rtems_bdbuf_get_buffer_for_access+0x1e0>
 200e550:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 200e554:	10 bf ff f4 	b  200e524 <rtems_bdbuf_get_buffer_for_access+0x1f0>
 200e558:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
                                                                      

0200e2d8 <rtems_bdbuf_get_buffer_for_read_ahead>: } static rtems_bdbuf_buffer * rtems_bdbuf_get_buffer_for_read_ahead (rtems_disk_device *dd, rtems_blkdev_bnum block) {
 200e2d8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_bdbuf_buffer *bd = NULL;                                      
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);         
 200e2dc:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 200e2e0:	d0 00 61 f0 	ld  [ %g1 + 0x1f0 ], %o0	! 20229f0 <bdbuf_cache+0x3c>
 200e2e4:	92 10 00 18 	mov  %i0, %o1                                  
 200e2e8:	7f ff fd 43 	call  200d7f4 <rtems_bdbuf_avl_search.isra.0>  
 200e2ec:	94 10 00 19 	mov  %i1, %o2                                  
                                                                      
  if (bd == NULL)                                                     
 200e2f0:	80 a2 20 00 	cmp  %o0, 0                                    
 200e2f4:	02 80 00 04 	be  200e304 <rtems_bdbuf_get_buffer_for_read_ahead+0x2c><== ALWAYS TAKEN
 200e2f8:	82 10 20 00 	clr  %g1                                       
     * thus no need for a read ahead.                                 
     */                                                               
    bd = NULL;                                                        
                                                                      
  return bd;                                                          
}                                                                     
 200e2fc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200e300:	91 e8 00 01 	restore  %g0, %g1, %o0                         <== NOT EXECUTED
                                                                      
  bd = rtems_bdbuf_avl_search (&bdbuf_cache.tree, dd, block);         
                                                                      
  if (bd == NULL)                                                     
  {                                                                   
    bd = rtems_bdbuf_get_buffer_from_lru_list (dd, block);            
 200e304:	90 10 00 18 	mov  %i0, %o0                                  
 200e308:	7f ff fe ed 	call  200debc <rtems_bdbuf_get_buffer_from_lru_list>
 200e30c:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
    if (bd != NULL)                                                   
 200e310:	82 92 20 00 	orcc  %o0, 0, %g1                              
 200e314:	02 bf ff fa 	be  200e2fc <rtems_bdbuf_get_buffer_for_read_ahead+0x24><== NEVER TAKEN
 200e318:	01 00 00 00 	nop                                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
 200e31c:	c4 00 60 28 	ld  [ %g1 + 0x28 ], %g2                        
 200e320:	c6 00 a0 0c 	ld  [ %g2 + 0xc ], %g3                         
 200e324:	86 00 e0 01 	inc  %g3                                       
 200e328:	c6 20 a0 0c 	st  %g3, [ %g2 + 0xc ]                         
     * thus no need for a read ahead.                                 
     */                                                               
    bd = NULL;                                                        
                                                                      
  return bd;                                                          
}                                                                     
 200e32c:	81 c7 e0 08 	ret                                            
 200e330:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0200debc <rtems_bdbuf_get_buffer_from_lru_list>: } static rtems_bdbuf_buffer * rtems_bdbuf_get_buffer_from_lru_list (rtems_disk_device *dd, rtems_blkdev_bnum block) {
 200debc:	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;                              
 200dec0:	35 00 80 8a 	sethi  %hi(0x2022800), %i2                     
 200dec4:	b4 16 a1 b4 	or  %i2, 0x1b4, %i2	! 20229b4 <bdbuf_cache>    
 200dec8:	fa 06 a0 40 	ld  [ %i2 + 0x40 ], %i5                        
  rtems_chain_node *node = rtems_chain_first (&bdbuf_cache.lru);      
                                                                      
  while (!rtems_chain_is_tail (&bdbuf_cache.lru, node))               
 200decc:	a4 06 a0 44 	add  %i2, 0x44, %l2                            
 200ded0:	a6 06 a0 40 	add  %i2, 0x40, %l3                            
 200ded4:	80 a7 40 12 	cmp  %i5, %l2                                  
 200ded8:	12 80 00 07 	bne  200def4 <rtems_bdbuf_get_buffer_from_lru_list+0x38>
 200dedc:	a8 06 a0 74 	add  %i2, 0x74, %l4                            
    }                                                                 
                                                                      
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  return NULL;                                                        
 200dee0:	10 80 00 6c 	b  200e090 <rtems_bdbuf_get_buffer_from_lru_list+0x1d4>
 200dee4:	ba 10 20 00 	clr  %i5                                       
rtems_bdbuf_get_buffer_from_lru_list (rtems_disk_device *dd,          
                                      rtems_blkdev_bnum  block)       
{                                                                     
  rtems_chain_node *node = rtems_chain_first (&bdbuf_cache.lru);      
                                                                      
  while (!rtems_chain_is_tail (&bdbuf_cache.lru, node))               
 200dee8:	80 a7 40 12 	cmp  %i5, %l2                                  
 200deec:	22 80 00 69 	be,a   200e090 <rtems_bdbuf_get_buffer_from_lru_list+0x1d4>
 200def0:	ba 10 20 00 	clr  %i5                                       
              bd->group->bds_per_group, dd->bds_per_group);           
                                                                      
    /*                                                                
     * If nobody waits for this BD, we may recycle it.                
     */                                                               
    if (bd->waiters == 0)                                             
 200def4:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 200def8:	80 a0 60 00 	cmp  %g1, 0                                    
 200defc:	32 bf ff fb 	bne,a   200dee8 <rtems_bdbuf_get_buffer_from_lru_list+0x2c>
 200df00:	fa 07 40 00 	ld  [ %i5 ], %i5                               
    {                                                                 
      if (bd->group->bds_per_group == dd->bds_per_group)              
 200df04:	e0 07 60 28 	ld  [ %i5 + 0x28 ], %l0                        
 200df08:	e2 06 20 34 	ld  [ %i0 + 0x34 ], %l1                        
 200df0c:	f6 04 20 08 	ld  [ %l0 + 8 ], %i3                           
 200df10:	80 a6 c0 11 	cmp  %i3, %l1                                  
 200df14:	02 80 00 37 	be  200dff0 <rtems_bdbuf_get_buffer_from_lru_list+0x134>
 200df18:	01 00 00 00 	nop                                            
      {                                                               
        rtems_bdbuf_remove_from_tree_and_lru_list (bd);               
                                                                      
        empty_bd = bd;                                                
      }                                                               
      else if (bd->group->users == 0)                                 
 200df1c:	c2 04 20 0c 	ld  [ %l0 + 0xc ], %g1                         
 200df20:	80 a0 60 00 	cmp  %g1, 0                                    
 200df24:	32 bf ff f1 	bne,a   200dee8 <rtems_bdbuf_get_buffer_from_lru_list+0x2c>
 200df28:	fa 07 40 00 	ld  [ %i5 ], %i5                               
  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; 
 200df2c:	ec 06 a0 20 	ld  [ %i2 + 0x20 ], %l6                        
 200df30:	92 10 00 1b 	mov  %i3, %o1                                  
 200df34:	40 00 3e b3 	call  201da00 <.udiv>                          
 200df38:	90 10 00 16 	mov  %l6, %o0                                  
                                                                      
  for (b = 0, bd = group->bdbuf;                                      
 200df3c:	80 a6 e0 00 	cmp  %i3, 0                                    
 200df40:	02 80 00 0f 	be  200df7c <rtems_bdbuf_get_buffer_from_lru_list+0xc0><== NEVER TAKEN
 200df44:	f8 04 20 10 	ld  [ %l0 + 0x10 ], %i4                        
 200df48:	83 2a 20 03 	sll  %o0, 3, %g1                               
 200df4c:	ab 2a 20 06 	sll  %o0, 6, %l5                               
 200df50:	b6 10 20 00 	clr  %i3                                       
 200df54:	aa 25 40 01 	sub  %l5, %g1, %l5                             
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_remove_from_tree_and_lru_list (bd);                   
 200df58:	7f ff ff c7 	call  200de74 <rtems_bdbuf_remove_from_tree_and_lru_list>
 200df5c:	90 10 00 1c 	mov  %i4, %o0                                  
            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;                                      
 200df60:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
 200df64:	b6 06 e0 01 	inc  %i3                                       
            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;                                      
 200df68:	80 a6 c0 01 	cmp  %i3, %g1                                  
 200df6c:	0a bf ff fb 	bcs  200df58 <rtems_bdbuf_get_buffer_from_lru_list+0x9c>
 200df70:	b8 07 00 15 	add  %i4, %l5, %i4                             
 200df74:	ec 06 a0 20 	ld  [ %i2 + 0x20 ], %l6                        
 200df78:	f8 04 20 10 	ld  [ %l0 + 0x10 ], %i4                        
       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;                           
 200df7c:	e2 24 20 08 	st  %l1, [ %l0 + 8 ]                           
  bufs_per_bd = bdbuf_cache.max_bds_per_group / new_bds_per_group;    
 200df80:	90 10 00 16 	mov  %l6, %o0                                  
 200df84:	40 00 3e 9f 	call  201da00 <.udiv>                          
 200df88:	92 10 00 11 	mov  %l1, %o1                                  
                                                                      
  for (b = 1, bd = group->bdbuf + bufs_per_bd;                        
 200df8c:	83 2a 20 03 	sll  %o0, 3, %g1                               
 200df90:	89 2a 20 06 	sll  %o0, 6, %g4                               
 200df94:	80 a4 60 01 	cmp  %l1, 1                                    
 200df98:	88 21 00 01 	sub  %g4, %g1, %g4                             
 200df9c:	08 80 00 10 	bleu  200dfdc <rtems_bdbuf_get_buffer_from_lru_list+0x120>
 200dfa0:	82 07 00 04 	add  %i4, %g4, %g1                             
 200dfa4:	84 10 20 01 	mov  1, %g2                                    
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200dfa8:	c0 20 60 20 	clr  [ %g1 + 0x20 ]                            
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 200dfac:	c6 06 a0 40 	ld  [ %i2 + 0x40 ], %g3                        
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 200dfb0:	e6 20 60 04 	st  %l3, [ %g1 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 200dfb4:	c2 26 a0 40 	st  %g1, [ %i2 + 0x40 ]                        
  the_node->next        = before_node;                                
 200dfb8:	c6 20 40 00 	st  %g3, [ %g1 ]                               
  before_node->previous = the_node;                                   
 200dfbc:	c2 20 e0 04 	st  %g1, [ %g3 + 4 ]                           
  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)                                        
 200dfc0:	84 00 a0 01 	inc  %g2                                       
    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;                        
 200dfc4:	80 a0 80 11 	cmp  %g2, %l1                                  
 200dfc8:	12 bf ff f8 	bne  200dfa8 <rtems_bdbuf_get_buffer_from_lru_list+0xec><== NEVER TAKEN
 200dfcc:	82 00 40 04 	add  %g1, %g4, %g1                             
       b < group->bds_per_group;                                      
       b++, bd += bufs_per_bd)                                        
    rtems_bdbuf_make_free_and_add_to_lru_list (bd);                   
                                                                      
  if (b > 1)                                                          
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200dfd0:	7f ff fe 22 	call  200d858 <rtems_bdbuf_wake>               
 200dfd4:	90 10 00 14 	mov  %l4, %o0                                  
 200dfd8:	f8 04 20 10 	ld  [ %l0 + 0x10 ], %i4                        
      }                                                               
      else if (bd->group->users == 0)                                 
        empty_bd = rtems_bdbuf_group_realloc (bd->group, dd->bds_per_group);
    }                                                                 
                                                                      
    if (empty_bd != NULL)                                             
 200dfdc:	80 a7 20 00 	cmp  %i4, 0                                    
 200dfe0:	22 bf ff c2 	be,a   200dee8 <rtems_bdbuf_get_buffer_from_lru_list+0x2c><== NEVER TAKEN
 200dfe4:	fa 07 40 00 	ld  [ %i5 ], %i5                               <== NOT EXECUTED
    rtems_bdbuf_make_free_and_add_to_lru_list (bd);                   
                                                                      
  if (b > 1)                                                          
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
                                                                      
  return group->bdbuf;                                                
 200dfe8:	10 80 00 04 	b  200dff8 <rtems_bdbuf_get_buffer_from_lru_list+0x13c>
 200dfec:	ba 10 00 1c 	mov  %i4, %i5                                  
     */                                                               
    if (bd->waiters == 0)                                             
    {                                                                 
      if (bd->group->bds_per_group == dd->bds_per_group)              
      {                                                               
        rtems_bdbuf_remove_from_tree_and_lru_list (bd);               
 200dff0:	7f ff ff a1 	call  200de74 <rtems_bdbuf_remove_from_tree_and_lru_list>
 200dff4:	90 10 00 1d 	mov  %i5, %o0                                  
static void                                                           
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                rtems_disk_device  *dd,               
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dd        = dd ;                                                
 200dff8:	f0 27 60 14 	st  %i0, [ %i5 + 0x14 ]                        
  bd->block     = block;                                              
  bd->avl.left  = NULL;                                               
 200dffc:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
  bd->avl.right = NULL;                                               
 200e000:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
                       rtems_bdbuf_buffer*  node)                     
{                                                                     
  const rtems_disk_device *dd = node->dd;                             
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
 200e004:	c2 06 a0 3c 	ld  [ %i2 + 0x3c ], %g1                        
rtems_bdbuf_setup_empty_buffer (rtems_bdbuf_buffer *bd,               
                                rtems_disk_device  *dd,               
                                rtems_blkdev_bnum   block)            
{                                                                     
  bd->dd        = dd ;                                                
  bd->block     = block;                                              
 200e008:	f2 27 60 18 	st  %i1, [ %i5 + 0x18 ]                        
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
 200e00c:	80 a0 60 00 	cmp  %g1, 0                                    
 200e010:	02 80 00 5d 	be  200e184 <rtems_bdbuf_get_buffer_from_lru_list+0x2c8>
 200e014:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
 200e018:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        
  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;                          
 200e01c:	9e 07 bf 80 	add  %fp, -128, %o7                            
 200e020:	84 10 00 0f 	mov  %o7, %g2                                  
    return 0;                                                         
  }                                                                   
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
 200e024:	c2 20 80 00 	st  %g1, [ %g2 ]                               
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
 200e028:	b8 10 20 01 	mov  1, %i4                                    
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
 200e02c:	b6 10 3f ff 	mov  -1, %i3                                   
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
 200e030:	80 a0 c0 18 	cmp  %g3, %i0                                  
 200e034:	1a 80 00 0d 	bcc  200e068 <rtems_bdbuf_get_buffer_from_lru_list+0x1ac><== ALWAYS TAKEN
 200e038:	88 00 a0 04 	add  %g2, 4, %g4                               
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
      q = p->avl.right;                                               
 200e03c:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         <== NOT EXECUTED
      if (q == NULL)                                                  
 200e040:	80 a0 e0 00 	cmp  %g3, 0                                    
 200e044:	02 80 00 1e 	be  200e0bc <rtems_bdbuf_get_buffer_from_lru_list+0x200>
 200e048:	f8 28 60 10 	stb  %i4, [ %g1 + 0x10 ]                       
  rtems_bdbuf_buffer*  buf_stack[RTEMS_BDBUF_AVL_MAX_HEIGHT];         
  rtems_bdbuf_buffer** buf_prev = buf_stack;                          
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
 200e04c:	82 10 00 03 	mov  %g3, %g1                                  
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
 200e050:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        
 200e054:	84 10 00 04 	mov  %g4, %g2                                  
    return 0;                                                         
  }                                                                   
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
 200e058:	c2 20 80 00 	st  %g1, [ %g2 ]                               
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
 200e05c:	80 a0 c0 18 	cmp  %g3, %i0                                  
 200e060:	0a bf ff f7 	bcs  200e03c <rtems_bdbuf_get_buffer_from_lru_list+0x180><== NEVER TAKEN
 200e064:	88 00 a0 04 	add  %g2, 4, %g4                               
        || ((p->dd == dd) && (p->block < block)))                     
 200e068:	80 a6 00 03 	cmp  %i0, %g3                                  
 200e06c:	22 80 00 0b 	be,a   200e098 <rtems_bdbuf_get_buffer_from_lru_list+0x1dc><== ALWAYS TAKEN
 200e070:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
      }                                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
      q = p->avl.left;                                                
 200e074:	c6 00 60 08 	ld  [ %g1 + 8 ], %g3                           <== NOT EXECUTED
      if (q == NULL)                                                  
 200e078:	80 a0 e0 00 	cmp  %g3, 0                                    
 200e07c:	12 bf ff f4 	bne  200e04c <rtems_bdbuf_get_buffer_from_lru_list+0x190>
 200e080:	f6 28 60 10 	stb  %i3, [ %g1 + 0x10 ]                       
      {                                                               
        q = node;                                                     
        p->avl.left = q;                                              
 200e084:	fa 20 60 08 	st  %i5, [ %g1 + 8 ]                           
 200e088:	10 80 00 0f 	b  200e0c4 <rtems_bdbuf_get_buffer_from_lru_list+0x208>
 200e08c:	88 10 3f ff 	mov  -1, %g4                                   
                                                                      
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
 200e090:	81 c7 e0 08 	ret                                            
 200e094:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
 200e098:	80 a6 40 03 	cmp  %i1, %g3                                  
 200e09c:	38 bf ff e9 	bgu,a   200e040 <rtems_bdbuf_get_buffer_from_lru_list+0x184>
 200e0a0:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         
        q = node;                                                     
        p->avl.right = q = node;                                      
        break;                                                        
      }                                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
 200e0a4:	80 a6 40 03 	cmp  %i1, %g3                                  
 200e0a8:	32 bf ff f4 	bne,a   200e078 <rtems_bdbuf_get_buffer_from_lru_list+0x1bc><== ALWAYS TAKEN
 200e0ac:	c6 00 60 08 	ld  [ %g1 + 8 ], %g3                           
  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);    
 200e0b0:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200e0b4:	7f ff ed d8 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200e0b8:	90 12 20 1b 	or  %o0, 0x1b, %o0	! 4200001b <RAM_END+0x3fc0001b><== NOT EXECUTED
      p->avl.cache = 1;                                               
      q = p->avl.right;                                               
      if (q == NULL)                                                  
      {                                                               
        q = node;                                                     
        p->avl.right = q = node;                                      
 200e0bc:	fa 20 60 0c 	st  %i5, [ %g1 + 0xc ]                         
 200e0c0:	88 10 20 01 	mov  1, %g4                                    
    }                                                                 
                                                                      
    p = q;                                                            
  }                                                                   
                                                                      
  q->avl.left = q->avl.right = NULL;                                  
 200e0c4:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
 200e0c8:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
  q->avl.bal = 0;                                                     
 200e0cc:	c0 2f 60 11 	clrb  [ %i5 + 0x11 ]                           
 200e0d0:	89 29 20 18 	sll  %g4, 0x18, %g4                            
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = 1;                                             
 200e0d4:	b2 10 20 01 	mov  1, %i1                                    
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
 200e0d8:	10 80 00 12 	b  200e120 <rtems_bdbuf_get_buffer_from_lru_list+0x264>
 200e0dc:	b0 10 3f ff 	mov  -1, %i0                                   
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = 1;                                             
 200e0e0:	86 10 00 01 	mov  %g1, %g3                                  
 200e0e4:	b8 10 20 01 	mov  1, %i4                                    
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
 200e0e8:	80 a0 80 0f 	cmp  %g2, %o7                                  
 200e0ec:	28 80 00 1e 	bleu,a   200e164 <rtems_bdbuf_get_buffer_from_lru_list+0x2a8>
 200e0f0:	c6 26 a0 3c 	st  %g3, [ %i2 + 0x3c ]                        
    {                                                                 
      p = *--buf_prev;                                                
 200e0f4:	c2 00 bf fc 	ld  [ %g2 + -4 ], %g1                          
                                                                      
      if (p->avl.cache == -1)                                         
 200e0f8:	c8 08 60 10 	ldub  [ %g1 + 0x10 ], %g4                      
 200e0fc:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 200e100:	b7 39 20 18 	sra  %g4, 0x18, %i3                            
 200e104:	80 a6 ff ff 	cmp  %i3, -1                                   
 200e108:	22 80 00 03 	be,a   200e114 <rtems_bdbuf_get_buffer_from_lru_list+0x258>
 200e10c:	c6 20 60 08 	st  %g3, [ %g1 + 8 ]                           
      {                                                               
        p->avl.left = q;                                              
      }                                                               
      else                                                            
      {                                                               
        p->avl.right = q;                                             
 200e110:	c6 20 60 0c 	st  %g3, [ %g1 + 0xc ]                         
  q->avl.left = q->avl.right = NULL;                                  
  q->avl.bal = 0;                                                     
  modified = true;                                                    
  buf_prev--;                                                         
                                                                      
  while (modified)                                                    
 200e114:	80 8f 20 ff 	btst  0xff, %i4                                
 200e118:	02 80 00 13 	be  200e164 <rtems_bdbuf_get_buffer_from_lru_list+0x2a8>
 200e11c:	84 00 bf fc 	add  %g2, -4, %g2                              
  {                                                                   
    if (p->avl.cache == -1)                                           
 200e120:	89 39 20 18 	sra  %g4, 0x18, %g4                            
 200e124:	80 a1 3f ff 	cmp  %g4, -1                                   
 200e128:	02 80 00 1e 	be  200e1a0 <rtems_bdbuf_get_buffer_from_lru_list+0x2e4>
 200e12c:	c6 48 60 11 	ldsb  [ %g1 + 0x11 ], %g3                      
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
 200e130:	80 a0 e0 00 	cmp  %g3, 0                                    
 200e134:	22 bf ff eb 	be,a   200e0e0 <rtems_bdbuf_get_buffer_from_lru_list+0x224>
 200e138:	f2 28 60 11 	stb  %i1, [ %g1 + 0x11 ]                       
 200e13c:	80 a0 e0 01 	cmp  %g3, 1                                    
 200e140:	02 80 00 1f 	be  200e1bc <rtems_bdbuf_get_buffer_from_lru_list+0x300>
 200e144:	80 a0 ff ff 	cmp  %g3, -1                                   
 200e148:	22 80 00 0c 	be,a   200e178 <rtems_bdbuf_get_buffer_from_lru_list+0x2bc><== ALWAYS TAKEN
 200e14c:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
 200e150:	86 10 00 01 	mov  %g1, %g3                                  <== NOT EXECUTED
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
    q = p;                                                            
    if (buf_prev > buf_stack)                                         
 200e154:	80 a0 80 0f 	cmp  %g2, %o7                                  <== NOT EXECUTED
 200e158:	18 bf ff e7 	bgu  200e0f4 <rtems_bdbuf_get_buffer_from_lru_list+0x238><== NOT EXECUTED
 200e15c:	b8 10 20 01 	mov  1, %i4                                    <== NOT EXECUTED
        p->avl.right = q;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
 200e160:	c6 26 a0 3c 	st  %g3, [ %i2 + 0x3c ]                        <== NOT EXECUTED
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200e164:	82 10 20 01 	mov  1, %g1                                    
 200e168:	c2 27 60 20 	st  %g1, [ %i5 + 0x20 ]                        
                                                                      
    node = rtems_chain_next (node);                                   
  }                                                                   
                                                                      
  return NULL;                                                        
}                                                                     
 200e16c:	81 c7 e0 08 	ret                                            
 200e170:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
    else                                                              
    {                                                                 
      switch (p->avl.bal)                                             
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
 200e174:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
 200e178:	86 10 00 01 	mov  %g1, %g3                                  
          modified = false;                                           
 200e17c:	10 bf ff db 	b  200e0e8 <rtems_bdbuf_get_buffer_from_lru_list+0x22c>
 200e180:	b8 10 20 00 	clr  %i4                                       
                                                                      
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
  {                                                                   
    *root = node;                                                     
 200e184:	fa 26 a0 3c 	st  %i5, [ %i2 + 0x3c ]                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200e188:	82 10 20 01 	mov  1, %g1                                    
  bool modified = false;                                              
                                                                      
  if (p == NULL)                                                      
  {                                                                   
    *root = node;                                                     
    node->avl.left = NULL;                                            
 200e18c:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
    node->avl.right = NULL;                                           
 200e190:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
    node->avl.bal = 0;                                                
 200e194:	c0 2f 60 11 	clrb  [ %i5 + 0x11 ]                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200e198:	10 bf ff f5 	b  200e16c <rtems_bdbuf_get_buffer_from_lru_list+0x2b0>
 200e19c:	c2 27 60 20 	st  %g1, [ %i5 + 0x20 ]                        
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
    {                                                                 
      switch (p->avl.bal)                                             
 200e1a0:	80 a0 e0 00 	cmp  %g3, 0                                    
 200e1a4:	12 80 00 20 	bne  200e224 <rtems_bdbuf_get_buffer_from_lru_list+0x368>
 200e1a8:	80 a0 e0 01 	cmp  %g3, 1                                    
          p->avl.bal = 0;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case 0:                                                       
          p->avl.bal = -1;                                            
 200e1ac:	c8 28 60 11 	stb  %g4, [ %g1 + 0x11 ]                       
 200e1b0:	86 10 00 01 	mov  %g1, %g3                                  
 200e1b4:	10 bf ff cd 	b  200e0e8 <rtems_bdbuf_get_buffer_from_lru_list+0x22c>
 200e1b8:	b8 10 20 01 	mov  1, %i4                                    
        case 0:                                                       
          p->avl.bal = 1;                                             
          break;                                                      
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
 200e1bc:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
          if (p1->avl.bal == 1) /* simple RR-turn */                  
 200e1c0:	c6 49 20 11 	ldsb  [ %g4 + 0x11 ], %g3                      
 200e1c4:	80 a0 e0 01 	cmp  %g3, 1                                    
 200e1c8:	02 80 00 32 	be  200e290 <rtems_bdbuf_get_buffer_from_lru_list+0x3d4>
 200e1cc:	c6 01 20 08 	ld  [ %g4 + 8 ], %g3                           
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
 200e1d0:	f6 00 e0 0c 	ld  [ %g3 + 0xc ], %i3                         
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
 200e1d4:	f8 48 e0 11 	ldsb  [ %g3 + 0x11 ], %i4                      
            p = p1;                                                   
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
 200e1d8:	f6 21 20 08 	st  %i3, [ %g4 + 8 ]                           
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
 200e1dc:	f6 00 e0 08 	ld  [ %g3 + 8 ], %i3                           
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
 200e1e0:	c8 20 e0 0c 	st  %g4, [ %g3 + 0xc ]                         
            p->avl.right = p2->avl.left;                              
 200e1e4:	f6 20 60 0c 	st  %i3, [ %g1 + 0xc ]                         
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
 200e1e8:	80 a7 20 01 	cmp  %i4, 1                                    
 200e1ec:	02 80 00 30 	be  200e2ac <rtems_bdbuf_get_buffer_from_lru_list+0x3f0><== NEVER TAKEN
 200e1f0:	c2 20 e0 08 	st  %g1, [ %g3 + 8 ]                           
 200e1f4:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
 200e1f8:	c2 48 e0 11 	ldsb  [ %g3 + 0x11 ], %g1                      
 200e1fc:	80 a0 7f ff 	cmp  %g1, -1                                   
 200e200:	22 80 00 06 	be,a   200e218 <rtems_bdbuf_get_buffer_from_lru_list+0x35c>
 200e204:	f2 29 20 11 	stb  %i1, [ %g4 + 0x11 ]                       
 200e208:	c0 29 20 11 	clrb  [ %g4 + 0x11 ]                           
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
 200e20c:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
          modified = false;                                           
 200e210:	10 bf ff b6 	b  200e0e8 <rtems_bdbuf_get_buffer_from_lru_list+0x22c>
 200e214:	b8 10 20 00 	clr  %i4                                       
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
 200e218:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
          modified = false;                                           
 200e21c:	10 bf ff b3 	b  200e0e8 <rtems_bdbuf_get_buffer_from_lru_list+0x22c>
 200e220:	b8 10 20 00 	clr  %i4                                       
                                                                      
  while (modified)                                                    
  {                                                                   
    if (p->avl.cache == -1)                                           
    {                                                                 
      switch (p->avl.bal)                                             
 200e224:	02 bf ff d4 	be  200e174 <rtems_bdbuf_get_buffer_from_lru_list+0x2b8>
 200e228:	80 a0 ff ff 	cmp  %g3, -1                                   
 200e22c:	32 bf ff ca 	bne,a   200e154 <rtems_bdbuf_get_buffer_from_lru_list+0x298><== NEVER TAKEN
 200e230:	86 10 00 01 	mov  %g1, %g3                                  <== NOT EXECUTED
        case 0:                                                       
          p->avl.bal = -1;                                            
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
 200e234:	c8 00 60 08 	ld  [ %g1 + 8 ], %g4                           
          if (p1->avl.bal == -1) /* simple LL-turn */                 
 200e238:	c6 49 20 11 	ldsb  [ %g4 + 0x11 ], %g3                      
 200e23c:	80 a0 ff ff 	cmp  %g3, -1                                   
 200e240:	02 80 00 1d 	be  200e2b4 <rtems_bdbuf_get_buffer_from_lru_list+0x3f8>
 200e244:	c6 01 20 0c 	ld  [ %g4 + 0xc ], %g3                         
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
 200e248:	f6 00 e0 08 	ld  [ %g3 + 8 ], %i3                           
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
            p2->avl.right = p;                                        
            if (p2->avl.bal == -1) p->avl.bal = +1; else p->avl.bal = 0;
 200e24c:	f8 48 e0 11 	ldsb  [ %g3 + 0x11 ], %i4                      
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
 200e250:	f6 21 20 0c 	st  %i3, [ %g4 + 0xc ]                         
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
 200e254:	f6 00 e0 0c 	ld  [ %g3 + 0xc ], %i3                         
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
 200e258:	c8 20 e0 08 	st  %g4, [ %g3 + 8 ]                           
            p->avl.left = p2->avl.right;                              
 200e25c:	f6 20 60 08 	st  %i3, [ %g1 + 8 ]                           
            p2->avl.right = p;                                        
            if (p2->avl.bal == -1) p->avl.bal = +1; else p->avl.bal = 0;
 200e260:	80 a7 3f ff 	cmp  %i4, -1                                   
 200e264:	02 80 00 1b 	be  200e2d0 <rtems_bdbuf_get_buffer_from_lru_list+0x414><== NEVER TAKEN
 200e268:	c2 20 e0 0c 	st  %g1, [ %g3 + 0xc ]                         
 200e26c:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
 200e270:	c2 48 e0 11 	ldsb  [ %g3 + 0x11 ], %g1                      
 200e274:	80 a0 60 01 	cmp  %g1, 1                                    
 200e278:	32 bf ff e5 	bne,a   200e20c <rtems_bdbuf_get_buffer_from_lru_list+0x350>
 200e27c:	c0 29 20 11 	clrb  [ %g4 + 0x11 ]                           
 200e280:	f0 29 20 11 	stb  %i0, [ %g4 + 0x11 ]                       
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
 200e284:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
          modified = false;                                           
 200e288:	10 bf ff 98 	b  200e0e8 <rtems_bdbuf_get_buffer_from_lru_list+0x22c>
 200e28c:	b8 10 20 00 	clr  %i4                                       
                                                                      
        case 1:                                                       
          p1 = p->avl.right;                                          
          if (p1->avl.bal == 1) /* simple RR-turn */                  
          {                                                           
            p->avl.right = p1->avl.left;                              
 200e290:	c6 20 60 0c 	st  %g3, [ %g1 + 0xc ]                         
            p1->avl.left = p;                                         
            p->avl.bal = 0;                                           
 200e294:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
        case 1:                                                       
          p1 = p->avl.right;                                          
          if (p1->avl.bal == 1) /* simple RR-turn */                  
          {                                                           
            p->avl.right = p1->avl.left;                              
            p1->avl.left = p;                                         
 200e298:	c2 21 20 08 	st  %g1, [ %g4 + 8 ]                           
            p->avl.bal = 0;                                           
 200e29c:	86 10 00 04 	mov  %g4, %g3                                  
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
          modified = false;                                           
 200e2a0:	b8 10 20 00 	clr  %i4                                       
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
 200e2a4:	10 bf ff 91 	b  200e0e8 <rtems_bdbuf_get_buffer_from_lru_list+0x22c>
 200e2a8:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
            p2 = p1->avl.left;                                        
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
 200e2ac:	10 bf ff d3 	b  200e1f8 <rtems_bdbuf_get_buffer_from_lru_list+0x33c><== NOT EXECUTED
 200e2b0:	f0 28 60 11 	stb  %i0, [ %g1 + 0x11 ]                       <== NOT EXECUTED
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
          if (p1->avl.bal == -1) /* simple LL-turn */                 
          {                                                           
            p->avl.left = p1->avl.right;                              
 200e2b4:	c6 20 60 08 	st  %g3, [ %g1 + 8 ]                           
            p1->avl.right = p;                                        
            p->avl.bal = 0;                                           
 200e2b8:	c0 28 60 11 	clrb  [ %g1 + 0x11 ]                           
        case -1:                                                      
          p1 = p->avl.left;                                           
          if (p1->avl.bal == -1) /* simple LL-turn */                 
          {                                                           
            p->avl.left = p1->avl.right;                              
            p1->avl.right = p;                                        
 200e2bc:	c2 21 20 0c 	st  %g1, [ %g4 + 0xc ]                         
            p->avl.bal = 0;                                           
 200e2c0:	86 10 00 04 	mov  %g4, %g3                                  
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
          modified = false;                                           
 200e2c4:	b8 10 20 00 	clr  %i4                                       
            p2->avl.left = p;                                         
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
            if (p2->avl.bal == -1) p1->avl.bal = +1; else p1->avl.bal = 0;
            p = p2;                                                   
          }                                                           
          p->avl.bal = 0;                                             
 200e2c8:	10 bf ff 88 	b  200e0e8 <rtems_bdbuf_get_buffer_from_lru_list+0x22c>
 200e2cc:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
            p2 = p1->avl.right;                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
            p2->avl.right = p;                                        
            if (p2->avl.bal == -1) p->avl.bal = +1; else p->avl.bal = 0;
 200e2d0:	10 bf ff e8 	b  200e270 <rtems_bdbuf_get_buffer_from_lru_list+0x3b4><== NOT EXECUTED
 200e2d4:	f2 28 60 11 	stb  %i1, [ %g1 + 0x11 ]                       <== NOT EXECUTED
                                                                      

0200ef38 <rtems_bdbuf_init>: * * @return rtems_status_code The initialisation status. */ rtems_status_code rtems_bdbuf_init (void) {
 200ef38:	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())                               
 200ef3c:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
 200ef40:	c2 00 63 88 	ld  [ %g1 + 0x388 ], %g1	! 2023388 <_Per_CPU_Information+0x8>
 200ef44:	80 a0 60 00 	cmp  %g1, 0                                    
 200ef48:	12 80 00 16 	bne  200efa0 <rtems_bdbuf_init+0x68>           <== NEVER TAKEN
 200ef4c:	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)       
 200ef50:	3b 00 80 7f 	sethi  %hi(0x201fc00), %i5                     
 200ef54:	ba 17 62 80 	or  %i5, 0x280, %i5	! 201fe80 <rtems_bdbuf_configuration>
 200ef58:	f4 07 60 28 	ld  [ %i5 + 0x28 ], %i2                        
 200ef5c:	f6 07 60 24 	ld  [ %i5 + 0x24 ], %i3                        
 200ef60:	90 10 00 1a 	mov  %i2, %o0                                  
 200ef64:	92 10 00 1b 	mov  %i3, %o1                                  
 200ef68:	40 00 3b 52 	call  201dcb0 <.urem>                          
 200ef6c:	b0 10 20 0a 	mov  0xa, %i0                                  
 200ef70:	80 a2 20 00 	cmp  %o0, 0                                    
 200ef74:	12 80 00 fa 	bne  200f35c <rtems_bdbuf_init+0x424>          <== NEVER TAKEN
 200ef78:	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 ();                      
 200ef7c:	7f ff f9 b7 	call  200d658 <rtems_bdbuf_disable_preemption> 
 200ef80:	33 00 80 8a 	sethi  %hi(0x2022800), %i1                     
  if (bdbuf_cache.initialised)                                        
 200ef84:	b8 16 61 b4 	or  %i1, 0x1b4, %i4	! 20229b4 <bdbuf_cache>    
 200ef88:	c2 0f 20 95 	ldub  [ %i4 + 0x95 ], %g1                      
 200ef8c:	80 a0 60 00 	cmp  %g1, 0                                    
 200ef90:	02 80 00 06 	be  200efa8 <rtems_bdbuf_init+0x70>            <== ALWAYS TAKEN
 200ef94:	b0 10 00 08 	mov  %o0, %i0                                  
  {                                                                   
    rtems_bdbuf_restore_preemption (prev_mode);                       
 200ef98:	7f ff f9 bf 	call  200d694 <rtems_bdbuf_restore_preemption> <== NOT EXECUTED
 200ef9c:	b0 10 20 0c 	mov  0xc, %i0                                  <== NOT EXECUTED
    return RTEMS_RESOURCE_IN_USE;                                     
 200efa0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200efa4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  memset(&bdbuf_cache, 0, sizeof(bdbuf_cache));                       
 200efa8:	92 10 20 00 	clr  %o1                                       
 200efac:	94 10 20 98 	mov  0x98, %o2                                 
 200efb0:	40 00 19 d4 	call  2015700 <memset>                         
 200efb4:	90 10 00 1c 	mov  %i4, %o0                                  
  bdbuf_cache.initialised = true;                                     
 200efb8:	82 10 20 01 	mov  1, %g1                                    
  rtems_bdbuf_restore_preemption (prev_mode);                         
 200efbc:	90 10 00 18 	mov  %i0, %o0                                  
 200efc0:	7f ff f9 b5 	call  200d694 <rtems_bdbuf_restore_preemption> 
 200efc4:	c2 2f 20 95 	stb  %g1, [ %i4 + 0x95 ]                       
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200efc8:	82 07 20 0c 	add  %i4, 0xc, %g1                             
 200efcc:	c2 27 20 08 	st  %g1, [ %i4 + 8 ]                           
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200efd0:	82 07 20 08 	add  %i4, 8, %g1                               
 200efd4:	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;                                                  
 200efd8:	82 07 20 50 	add  %i4, 0x50, %g1                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200efdc:	84 07 20 40 	add  %i4, 0x40, %g2                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200efe0:	c2 27 20 4c 	st  %g1, [ %i4 + 0x4c ]                        
 200efe4:	82 07 20 5c 	add  %i4, 0x5c, %g1                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200efe8:	c4 27 20 48 	st  %g2, [ %i4 + 0x48 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200efec:	c2 27 20 58 	st  %g1, [ %i4 + 0x58 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200eff0:	84 07 20 4c 	add  %i4, 0x4c, %g2                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200eff4:	82 07 20 8c 	add  %i4, 0x8c, %g1                            
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200eff8:	c4 27 20 54 	st  %g2, [ %i4 + 0x54 ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200effc:	c2 27 20 88 	st  %g1, [ %i4 + 0x88 ]                        
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200f000:	84 07 20 58 	add  %i4, 0x58, %g2                            
 200f004:	82 07 20 88 	add  %i4, 0x88, %g1                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200f008:	a0 07 20 44 	add  %i4, 0x44, %l0                            
   */                                                                 
  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;                        
 200f00c:	c0 27 20 38 	clr  [ %i4 + 0x38 ]                            
  head->previous = NULL;                                              
 200f010:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200f014:	e0 27 20 40 	st  %l0, [ %i4 + 0x40 ]                        
  head->previous = NULL;                                              
 200f018:	c0 27 20 44 	clr  [ %i4 + 0x44 ]                            
 200f01c:	c0 27 20 50 	clr  [ %i4 + 0x50 ]                            
 200f020:	c0 27 20 5c 	clr  [ %i4 + 0x5c ]                            
  tail->previous = head;                                              
 200f024:	c4 27 20 60 	st  %g2, [ %i4 + 0x60 ]                        
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 200f028:	c0 27 20 8c 	clr  [ %i4 + 0x8c ]                            
  rtems_chain_initialize_empty (&bdbuf_cache.read_ahead_chain);       
                                                                      
  /*                                                                  
   * Create the locks for the cache.                                  
   */                                                                 
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'l'), 
 200f02c:	31 10 91 10 	sethi  %hi(0x42444000), %i0                    
  tail->previous = head;                                              
 200f030:	c2 27 20 90 	st  %g1, [ %i4 + 0x90 ]                        
 200f034:	90 16 23 6c 	or  %i0, 0x36c, %o0                            
 200f038:	92 10 20 01 	mov  1, %o1                                    
 200f03c:	94 10 20 54 	mov  0x54, %o2                                 
 200f040:	96 10 20 00 	clr  %o3                                       
 200f044:	7f ff e7 97 	call  2008ea0 <rtems_semaphore_create>         
 200f048:	98 07 20 28 	add  %i4, 0x28, %o4                            
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.lock);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
 200f04c:	80 a2 20 00 	cmp  %o0, 0                                    
 200f050:	02 80 00 2d 	be  200f104 <rtems_bdbuf_init+0x1cc>           <== ALWAYS TAKEN
 200f054:	01 00 00 00 	nop                                            
                                                                      
  return RTEMS_SUCCESSFUL;                                            
                                                                      
error:                                                                
                                                                      
  if (bdbuf_cache.read_ahead_task != 0)                               
 200f058:	d0 07 20 84 	ld  [ %i4 + 0x84 ], %o0                        <== NOT EXECUTED
 200f05c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200f060:	12 80 00 25 	bne  200f0f4 <rtems_bdbuf_init+0x1bc>          <== NOT EXECUTED
 200f064:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_task_delete (bdbuf_cache.read_ahead_task);                  
                                                                      
  if (bdbuf_cache.swapout != 0)                                       
 200f068:	d0 06 61 b4 	ld  [ %i1 + 0x1b4 ], %o0                       <== NOT EXECUTED
 200f06c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200f070:	12 80 00 1e 	bne  200f0e8 <rtems_bdbuf_init+0x1b0>          <== NOT EXECUTED
 200f074:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_task_delete (bdbuf_cache.swapout);                          
                                                                      
  free (bdbuf_cache.buffers);                                         
 200f078:	7f ff d6 9e 	call  2004af0 <free>                           <== NOT EXECUTED
 200f07c:	d0 07 20 18 	ld  [ %i4 + 0x18 ], %o0                        <== NOT EXECUTED
  free (bdbuf_cache.groups);                                          
 200f080:	7f ff d6 9c 	call  2004af0 <free>                           <== NOT EXECUTED
 200f084:	d0 07 20 80 	ld  [ %i4 + 0x80 ], %o0                        <== NOT EXECUTED
  free (bdbuf_cache.bds);                                             
 200f088:	7f ff d6 9a 	call  2004af0 <free>                           <== NOT EXECUTED
 200f08c:	d0 07 20 14 	ld  [ %i4 + 0x14 ], %o0                        <== NOT EXECUTED
                                                                      
  rtems_semaphore_delete (bdbuf_cache.buffer_waiters.sema);           
 200f090:	7f ff e7 f6 	call  2009068 <rtems_semaphore_delete>         <== NOT EXECUTED
 200f094:	d0 07 20 78 	ld  [ %i4 + 0x78 ], %o0                        <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.access_waiters.sema);           
 200f098:	7f ff e7 f4 	call  2009068 <rtems_semaphore_delete>         <== NOT EXECUTED
 200f09c:	d0 07 20 68 	ld  [ %i4 + 0x68 ], %o0                        <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.transfer_waiters.sema);         
 200f0a0:	7f ff e7 f2 	call  2009068 <rtems_semaphore_delete>         <== NOT EXECUTED
 200f0a4:	d0 07 20 70 	ld  [ %i4 + 0x70 ], %o0                        <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.sync_lock);                     
 200f0a8:	7f ff e7 f0 	call  2009068 <rtems_semaphore_delete>         <== NOT EXECUTED
 200f0ac:	d0 07 20 2c 	ld  [ %i4 + 0x2c ], %o0                        <== NOT EXECUTED
                                                                      
  if (bdbuf_cache.lock != 0)                                          
 200f0b0:	c2 07 20 28 	ld  [ %i4 + 0x28 ], %g1                        <== NOT EXECUTED
 200f0b4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200f0b8:	12 80 00 05 	bne  200f0cc <rtems_bdbuf_init+0x194>          <== NOT EXECUTED
 200f0bc:	01 00 00 00 	nop                                            <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
    rtems_semaphore_delete (bdbuf_cache.lock);                        
  }                                                                   
                                                                      
  bdbuf_cache.initialised = false;                                    
 200f0c0:	c0 2f 20 95 	clrb  [ %i4 + 0x95 ]                           <== NOT EXECUTED
                                                                      
  return RTEMS_UNSATISFIED;                                           
}                                                                     
 200f0c4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f0c8:	91 e8 20 0d 	restore  %g0, 0xd, %o0                         <== NOT EXECUTED
  rtems_semaphore_delete (bdbuf_cache.transfer_waiters.sema);         
  rtems_semaphore_delete (bdbuf_cache.sync_lock);                     
                                                                      
  if (bdbuf_cache.lock != 0)                                          
  {                                                                   
    rtems_bdbuf_unlock_cache ();                                      
 200f0cc:	7f ff f9 35 	call  200d5a0 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200f0d0:	b0 10 20 0d 	mov  0xd, %i0                                  <== NOT EXECUTED
    rtems_semaphore_delete (bdbuf_cache.lock);                        
 200f0d4:	7f ff e7 e5 	call  2009068 <rtems_semaphore_delete>         <== NOT EXECUTED
 200f0d8:	d0 07 20 28 	ld  [ %i4 + 0x28 ], %o0                        <== NOT EXECUTED
 200f0dc:	c0 2f 20 95 	clrb  [ %i4 + 0x95 ]                           <== NOT EXECUTED
 200f0e0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f0e4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  if (bdbuf_cache.read_ahead_task != 0)                               
    rtems_task_delete (bdbuf_cache.read_ahead_task);                  
                                                                      
  if (bdbuf_cache.swapout != 0)                                       
    rtems_task_delete (bdbuf_cache.swapout);                          
 200f0e8:	7f ff e8 db 	call  2009454 <rtems_task_delete>              <== NOT EXECUTED
 200f0ec:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200f0f0:	30 bf ff e2 	b,a   200f078 <rtems_bdbuf_init+0x140>         <== NOT EXECUTED
  return RTEMS_SUCCESSFUL;                                            
                                                                      
error:                                                                
                                                                      
  if (bdbuf_cache.read_ahead_task != 0)                               
    rtems_task_delete (bdbuf_cache.read_ahead_task);                  
 200f0f4:	7f ff e8 d8 	call  2009454 <rtems_task_delete>              <== NOT EXECUTED
 200f0f8:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
  if (bdbuf_cache.swapout != 0)                                       
 200f0fc:	10 bf ff dc 	b  200f06c <rtems_bdbuf_init+0x134>            <== NOT EXECUTED
 200f100:	d0 06 61 b4 	ld  [ %i1 + 0x1b4 ], %o0                       <== NOT EXECUTED
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.lock);                    
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto error;                                                       
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200f104:	7f ff f9 10 	call  200d544 <rtems_bdbuf_lock_cache>         
 200f108:	01 00 00 00 	nop                                            
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 's'), 
 200f10c:	90 16 23 73 	or  %i0, 0x373, %o0                            
 200f110:	92 10 20 01 	mov  1, %o1                                    
 200f114:	94 10 20 54 	mov  0x54, %o2                                 
 200f118:	96 10 20 00 	clr  %o3                                       
 200f11c:	7f ff e7 61 	call  2008ea0 <rtems_semaphore_create>         
 200f120:	98 07 20 2c 	add  %i4, 0x2c, %o4                            
                               1, RTEMS_BDBUF_CACHE_LOCK_ATTRIBS, 0,  
                               &bdbuf_cache.sync_lock);               
  if (sc != RTEMS_SUCCESSFUL)                                         
 200f124:	80 a2 20 00 	cmp  %o0, 0                                    
 200f128:	32 bf ff cd 	bne,a   200f05c <rtems_bdbuf_init+0x124>       <== NEVER TAKEN
 200f12c:	d0 07 20 84 	ld  [ %i4 + 0x84 ], %o0                        <== NOT EXECUTED
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'a'), 
 200f130:	90 16 23 61 	or  %i0, 0x361, %o0                            
 200f134:	92 10 20 00 	clr  %o1                                       
 200f138:	94 10 20 24 	mov  0x24, %o2                                 
 200f13c:	96 10 20 00 	clr  %o3                                       
 200f140:	7f ff e7 58 	call  2008ea0 <rtems_semaphore_create>         
 200f144:	98 07 20 68 	add  %i4, 0x68, %o4                            
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.access_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
 200f148:	80 a2 20 00 	cmp  %o0, 0                                    
 200f14c:	32 bf ff c4 	bne,a   200f05c <rtems_bdbuf_init+0x124>       <== NEVER TAKEN
 200f150:	d0 07 20 84 	ld  [ %i4 + 0x84 ], %o0                        <== NOT EXECUTED
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 't'), 
 200f154:	90 16 23 74 	or  %i0, 0x374, %o0                            
 200f158:	92 10 20 00 	clr  %o1                                       
 200f15c:	94 10 20 24 	mov  0x24, %o2                                 
 200f160:	96 10 20 00 	clr  %o3                                       
 200f164:	7f ff e7 4f 	call  2008ea0 <rtems_semaphore_create>         
 200f168:	98 07 20 70 	add  %i4, 0x70, %o4                            
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.transfer_waiters.sema);   
  if (sc != RTEMS_SUCCESSFUL)                                         
 200f16c:	80 a2 20 00 	cmp  %o0, 0                                    
 200f170:	32 bf ff bb 	bne,a   200f05c <rtems_bdbuf_init+0x124>       <== NEVER TAKEN
 200f174:	d0 07 20 84 	ld  [ %i4 + 0x84 ], %o0                        <== NOT EXECUTED
    goto error;                                                       
                                                                      
  sc = rtems_semaphore_create (rtems_build_name ('B', 'D', 'C', 'b'), 
 200f178:	90 16 23 62 	or  %i0, 0x362, %o0                            
 200f17c:	92 10 20 00 	clr  %o1                                       
 200f180:	94 10 20 24 	mov  0x24, %o2                                 
 200f184:	96 10 20 00 	clr  %o3                                       
 200f188:	7f ff e7 46 	call  2008ea0 <rtems_semaphore_create>         
 200f18c:	98 07 20 78 	add  %i4, 0x78, %o4                            
                               0, RTEMS_BDBUF_CACHE_WAITER_ATTRIBS, 0,
                               &bdbuf_cache.buffer_waiters.sema);     
  if (sc != RTEMS_SUCCESSFUL)                                         
 200f190:	80 a2 20 00 	cmp  %o0, 0                                    
 200f194:	32 bf ff b2 	bne,a   200f05c <rtems_bdbuf_init+0x124>       <== NEVER TAKEN
 200f198:	d0 07 20 84 	ld  [ %i4 + 0x84 ], %o0                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
    bdbuf_config.size / bdbuf_config.buffer_min;                      
 200f19c:	d0 07 60 20 	ld  [ %i5 + 0x20 ], %o0                        
 200f1a0:	40 00 3a 18 	call  201da00 <.udiv>                          
 200f1a4:	92 10 00 1b 	mov  %i3, %o1                                  
  bdbuf_cache.max_bds_per_group =                                     
    bdbuf_config.buffer_max / bdbuf_config.buffer_min;                
 200f1a8:	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;                      
 200f1ac:	b0 10 00 08 	mov  %o0, %i0                                  
    goto error;                                                       
                                                                      
  /*                                                                  
   * Compute the various number of elements in the cache.             
   */                                                                 
  bdbuf_cache.buffer_min_count =                                      
 200f1b0:	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;                
 200f1b4:	40 00 3a 13 	call  201da00 <.udiv>                          
 200f1b8:	90 10 00 1a 	mov  %i2, %o0                                  
 200f1bc:	82 10 00 08 	mov  %o0, %g1                                  
  bdbuf_cache.group_count =                                           
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
 200f1c0:	90 10 00 18 	mov  %i0, %o0                                  
 200f1c4:	92 10 00 01 	mov  %g1, %o1                                  
 200f1c8:	40 00 3a 0e 	call  201da00 <.udiv>                          
 200f1cc:	c2 27 20 20 	st  %g1, [ %i4 + 0x20 ]                        
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.bds = calloc (sizeof (rtems_bdbuf_buffer),              
 200f1d0:	92 10 00 18 	mov  %i0, %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 =                                           
 200f1d4:	d0 27 20 7c 	st  %o0, [ %i4 + 0x7c ]                        
    bdbuf_cache.buffer_min_count / bdbuf_cache.max_bds_per_group;     
 200f1d8:	b4 10 00 08 	mov  %o0, %i2                                  
                                                                      
  /*                                                                  
   * Allocate the memory for the buffer descriptors.                  
   */                                                                 
  bdbuf_cache.bds = calloc (sizeof (rtems_bdbuf_buffer),              
 200f1dc:	7f ff d5 73 	call  20047a8 <calloc>                         
 200f1e0:	90 10 20 38 	mov  0x38, %o0                                 
                            bdbuf_cache.buffer_min_count);            
  if (!bdbuf_cache.bds)                                               
 200f1e4:	80 a2 20 00 	cmp  %o0, 0                                    
 200f1e8:	02 bf ff 9c 	be  200f058 <rtems_bdbuf_init+0x120>           <== NEVER TAKEN
 200f1ec:	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),            
 200f1f0:	90 10 20 14 	mov  0x14, %o0                                 
 200f1f4:	7f ff d5 6d 	call  20047a8 <calloc>                         
 200f1f8:	92 10 00 1a 	mov  %i2, %o1                                  
                               bdbuf_cache.group_count);              
  if (!bdbuf_cache.groups)                                            
 200f1fc:	80 a2 20 00 	cmp  %o0, 0                                    
 200f200:	02 bf ff 96 	be  200f058 <rtems_bdbuf_init+0x120>           <== NEVER TAKEN
 200f204:	d0 27 20 80 	st  %o0, [ %i4 + 0x80 ]                        
   *                                                                  
   * The memory allocate allows a                                     
   */                                                                 
  if (rtems_memalign ((void **) &bdbuf_cache.buffers,                 
                      cache_aligment,                                 
                      bdbuf_cache.buffer_min_count * bdbuf_config.buffer_min) != 0)
 200f208:	92 10 00 1b 	mov  %i3, %o1                                  
 200f20c:	40 00 39 c3 	call  201d918 <.umul>                          
 200f210:	90 10 00 18 	mov  %i0, %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,                 
 200f214:	92 10 20 20 	mov  0x20, %o1                                 
                      cache_aligment,                                 
                      bdbuf_cache.buffer_min_count * bdbuf_config.buffer_min) != 0)
 200f218:	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,                 
 200f21c:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
 200f220:	40 00 07 b7 	call  20110fc <rtems_memalign>                 
 200f224:	90 12 21 cc 	or  %o0, 0x1cc, %o0	! 20229cc <bdbuf_cache+0x18>
 200f228:	80 a2 20 00 	cmp  %o0, 0                                    
 200f22c:	32 bf ff 8c 	bne,a   200f05c <rtems_bdbuf_init+0x124>       <== NEVER TAKEN
 200f230:	d0 07 20 84 	ld  [ %i4 + 0x84 ], %o0                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * 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,                             
 200f234:	f0 07 20 80 	ld  [ %i4 + 0x80 ], %i0                        
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
 200f238:	e2 07 20 14 	ld  [ %i4 + 0x14 ], %l1                        
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.lru, &bd->link);     
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
 200f23c:	ea 07 20 20 	ld  [ %i4 + 0x20 ], %l5                        
  /*                                                                  
   * 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,                             
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
 200f240:	e8 07 20 18 	ld  [ %i4 + 0x18 ], %l4                        
       b < bdbuf_cache.buffer_min_count;                              
 200f244:	ee 07 20 1c 	ld  [ %i4 + 0x1c ], %l7                        
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.lru, &bd->link);     
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
        (bdbuf_cache.max_bds_per_group - 1))                          
 200f248:	ac 05 7f ff 	add  %l5, -1, %l6                              
  /*                                                                  
   * 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,                             
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
 200f24c:	b4 10 00 11 	mov  %l1, %i2                                  
                                                                      
  /*                                                                  
   * 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,                             
 200f250:	a6 10 00 18 	mov  %i0, %l3                                  
 200f254:	a4 10 20 00 	clr  %l2                                       
 200f258:	80 a4 80 17 	cmp  %l2, %l7                                  
 200f25c:	02 80 00 13 	be  200f2a8 <rtems_bdbuf_init+0x370>           
 200f260:	90 10 00 12 	mov  %l2, %o0                                  
         bd = bdbuf_cache.bds, buffer = bdbuf_cache.buffers;          
       b < bdbuf_cache.buffer_min_count;                              
       b++, bd++, buffer += bdbuf_config.buffer_min)                  
  {                                                                   
    bd->dd    = BDBUF_INVALID_DEV;                                    
    bd->group  = group;                                               
 200f264:	e6 26 a0 28 	st  %l3, [ %i2 + 0x28 ]                        
    bd->buffer = buffer;                                              
 200f268:	e8 26 a0 1c 	st  %l4, [ %i2 + 0x1c ]                        
  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)                  
  {                                                                   
    bd->dd    = BDBUF_INVALID_DEV;                                    
 200f26c:	c0 26 a0 14 	clr  [ %i2 + 0x14 ]                            
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200f270:	c2 07 20 48 	ld  [ %i4 + 0x48 ], %g1                        
                                                                      
  the_node->next = tail;                                              
 200f274:	e0 26 80 00 	st  %l0, [ %i2 ]                               
  tail->previous = the_node;                                          
 200f278:	f4 27 20 48 	st  %i2, [ %i4 + 0x48 ]                        
  old_last->next = the_node;                                          
 200f27c:	f4 20 40 00 	st  %i2, [ %g1 ]                               
  the_node->previous = old_last;                                      
 200f280:	c2 26 a0 04 	st  %g1, [ %i2 + 4 ]                           
    bd->group  = group;                                               
    bd->buffer = buffer;                                              
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.lru, &bd->link);     
                                                                      
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
 200f284:	40 00 3a 8b 	call  201dcb0 <.urem>                          
 200f288:	92 10 00 15 	mov  %l5, %o1                                  
 200f28c:	80 a2 00 16 	cmp  %o0, %l6                                  
 200f290:	22 80 00 02 	be,a   200f298 <rtems_bdbuf_init+0x360>        
 200f294:	a6 04 e0 14 	add  %l3, 0x14, %l3                            
   * 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)                  
 200f298:	a4 04 a0 01 	inc  %l2                                       
 200f29c:	b4 06 a0 38 	add  %i2, 0x38, %i2                            
 200f2a0:	10 bf ff ee 	b  200f258 <rtems_bdbuf_init+0x320>            
 200f2a4:	a8 05 00 1b 	add  %l4, %i3, %l4                             
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
 200f2a8:	c4 07 20 20 	ld  [ %i4 + 0x20 ], %g2                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
 200f2ac:	f6 07 20 7c 	ld  [ %i4 + 0x7c ], %i3                        
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
 200f2b0:	87 28 a0 03 	sll  %g2, 3, %g3                               
 200f2b4:	89 28 a0 06 	sll  %g2, 6, %g4                               
 200f2b8:	82 10 20 00 	clr  %g1                                       
 200f2bc:	86 21 00 03 	sub  %g4, %g3, %g3                             
    if ((b % bdbuf_cache.max_bds_per_group) ==                        
        (bdbuf_cache.max_bds_per_group - 1))                          
      group++;                                                        
  }                                                                   
                                                                      
  for (b = 0,                                                         
 200f2c0:	80 a0 40 1b 	cmp  %g1, %i3                                  
 200f2c4:	02 80 00 07 	be  200f2e0 <rtems_bdbuf_init+0x3a8>           
 200f2c8:	82 00 60 01 	inc  %g1                                       
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
    group->bdbuf = bd;                                                
 200f2cc:	e2 26 20 10 	st  %l1, [ %i0 + 0x10 ]                        
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
         bd += bdbuf_cache.max_bds_per_group)                         
  {                                                                   
    group->bds_per_group = bdbuf_cache.max_bds_per_group;             
 200f2d0:	c4 26 20 08 	st  %g2, [ %i0 + 8 ]                           
  for (b = 0,                                                         
         group = bdbuf_cache.groups,                                  
         bd = bdbuf_cache.bds;                                        
       b < bdbuf_cache.group_count;                                   
       b++,                                                           
         group++,                                                     
 200f2d4:	b0 06 20 14 	add  %i0, 0x14, %i0                            
         bd += bdbuf_cache.max_bds_per_group)                         
 200f2d8:	10 bf ff fa 	b  200f2c0 <rtems_bdbuf_init+0x388>            
 200f2dc:	a2 04 40 03 	add  %l1, %g3, %l1                             
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
                                                                      
  sc = rtems_bdbuf_create_task (rtems_build_name('B', 'S', 'W', 'P'), 
 200f2e0:	d2 07 60 08 	ld  [ %i5 + 8 ], %o1                           
                                                                      
  /*                                                                  
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
 200f2e4:	b6 10 20 01 	mov  1, %i3                                    
                                                                      
  sc = rtems_bdbuf_create_task (rtems_build_name('B', 'S', 'W', 'P'), 
 200f2e8:	11 10 94 d5 	sethi  %hi(0x42535400), %o0                    
                                                                      
  /*                                                                  
   * Create and start swapout task. This task will create and manage the worker
   * threads.                                                         
   */                                                                 
  bdbuf_cache.swapout_enabled = true;                                 
 200f2ec:	f6 2f 20 04 	stb  %i3, [ %i4 + 4 ]                          
                                                                      
  sc = rtems_bdbuf_create_task (rtems_build_name('B', 'S', 'W', 'P'), 
 200f2f0:	90 12 23 50 	or  %o0, 0x350, %o0                            
 200f2f4:	96 10 20 00 	clr  %o3                                       
 200f2f8:	15 00 80 3a 	sethi  %hi(0x200e800), %o2                     
 200f2fc:	98 10 00 1c 	mov  %i4, %o4                                  
 200f300:	7f ff f9 a6 	call  200d998 <rtems_bdbuf_create_task.constprop.9>
 200f304:	94 12 a0 d0 	or  %o2, 0xd0, %o2                             
                                bdbuf_config.swapout_priority,        
                                RTEMS_BDBUF_SWAPOUT_TASK_PRIORITY_DEFAULT,
                                rtems_bdbuf_swapout_task,             
                                0,                                    
                                &bdbuf_cache.swapout);                
  if (sc != RTEMS_SUCCESSFUL)                                         
 200f308:	80 a2 20 00 	cmp  %o0, 0                                    
 200f30c:	32 bf ff 54 	bne,a   200f05c <rtems_bdbuf_init+0x124>       <== NEVER TAKEN
 200f310:	d0 07 20 84 	ld  [ %i4 + 0x84 ], %o0                        <== NOT EXECUTED
    goto error;                                                       
                                                                      
  if (bdbuf_config.max_read_ahead_blocks > 0)                         
 200f314:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 200f318:	c2 00 62 80 	ld  [ %g1 + 0x280 ], %g1	! 201fe80 <rtems_bdbuf_configuration>
 200f31c:	80 a0 60 00 	cmp  %g1, 0                                    
 200f320:	02 80 00 0d 	be  200f354 <rtems_bdbuf_init+0x41c>           
 200f324:	11 10 94 91 	sethi  %hi(0x42524400), %o0                    
  {                                                                   
    bdbuf_cache.read_ahead_enabled = true;                            
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'R', 'D', 'A'),
 200f328:	d2 07 60 2c 	ld  [ %i5 + 0x2c ], %o1                        
  if (sc != RTEMS_SUCCESSFUL)                                         
    goto error;                                                       
                                                                      
  if (bdbuf_config.max_read_ahead_blocks > 0)                         
  {                                                                   
    bdbuf_cache.read_ahead_enabled = true;                            
 200f32c:	f6 2f 20 94 	stb  %i3, [ %i4 + 0x94 ]                       
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'R', 'D', 'A'),
 200f330:	15 00 80 3b 	sethi  %hi(0x200ec00), %o2                     
 200f334:	90 12 20 41 	or  %o0, 0x41, %o0                             
 200f338:	94 12 a1 e4 	or  %o2, 0x1e4, %o2                            
 200f33c:	96 10 20 00 	clr  %o3                                       
 200f340:	7f ff f9 96 	call  200d998 <rtems_bdbuf_create_task.constprop.9>
 200f344:	98 07 20 84 	add  %i4, 0x84, %o4                            
                                  bdbuf_config.read_ahead_priority,   
                                  RTEMS_BDBUF_READ_AHEAD_TASK_PRIORITY_DEFAULT,
                                  rtems_bdbuf_read_ahead_task,        
                                  0,                                  
                                  &bdbuf_cache.read_ahead_task);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 200f348:	80 a2 20 00 	cmp  %o0, 0                                    
 200f34c:	32 bf ff 44 	bne,a   200f05c <rtems_bdbuf_init+0x124>       <== NEVER TAKEN
 200f350:	d0 07 20 84 	ld  [ %i4 + 0x84 ], %o0                        <== NOT EXECUTED
      goto error;                                                     
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f354:	7f ff f8 93 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f358:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200f35c:	81 c7 e0 08 	ret                                            
 200f360:	81 e8 00 00 	restore                                        
                                                                      

0200d510 <rtems_bdbuf_lock>: * @param lock The mutex to lock. * @param fatal_error_code The error code if the call fails. */ static void rtems_bdbuf_lock (rtems_id lock, uint32_t fatal_error_code) {
 200d510:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = rtems_semaphore_obtain (lock,                
 200d514:	92 10 20 00 	clr  %o1                                       
 200d518:	90 10 00 18 	mov  %i0, %o0                                  
 200d51c:	7f ff ef 0a 	call  2009144 <rtems_semaphore_obtain>         
 200d520:	94 10 20 00 	clr  %o2                                       
                                                 RTEMS_WAIT,          
                                                 RTEMS_NO_TIMEOUT);   
  if (sc != RTEMS_SUCCESSFUL)                                         
 200d524:	80 a2 20 00 	cmp  %o0, 0                                    
 200d528:	12 80 00 04 	bne  200d538 <rtems_bdbuf_lock+0x28>           <== NEVER TAKEN
 200d52c:	01 00 00 00 	nop                                            
 200d530:	81 c7 e0 08 	ret                                            
 200d534:	81 e8 00 00 	restore                                        
    rtems_fatal_error_occurred (fatal_error_code);                    
 200d538:	7f ff f0 b7 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d53c:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
                                                                      

0200f9a0 <rtems_bdbuf_purge_dev>: } } void rtems_bdbuf_purge_dev (rtems_disk_device *dd) {
 200f9a0:	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;                                                  
 200f9a4:	b4 07 bf 74 	add  %fp, -140, %i2                            
 200f9a8:	b6 07 bf 78 	add  %fp, -136, %i3                            
  head->previous = NULL;                                              
 200f9ac:	c0 27 bf 78 	clr  [ %fp + -136 ]                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200f9b0:	f6 27 bf 74 	st  %i3, [ %fp + -140 ]                        
  rtems_chain_control purge_list;                                     
                                                                      
  rtems_chain_initialize_empty (&purge_list);                         
  rtems_bdbuf_lock_cache ();                                          
 200f9b4:	7f ff f6 e4 	call  200d544 <rtems_bdbuf_lock_cache>         
 200f9b8:	f4 27 bf 7c 	st  %i2, [ %fp + -132 ]                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 200f9bc:	c2 06 20 64 	ld  [ %i0 + 0x64 ], %g1                        
 200f9c0:	80 a0 60 00 	cmp  %g1, 0                                    
 200f9c4:	02 80 00 71 	be  200fb88 <rtems_bdbuf_purge_dev+0x1e8>      <== ALWAYS TAKEN
 200f9c8:	c4 06 20 68 	ld  [ %i0 + 0x68 ], %g2                        
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 200f9cc:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           <== NOT EXECUTED
  previous->next = next;                                              
 200f9d0:	c2 20 80 00 	st  %g1, [ %g2 ]                               <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 200f9d4:	c0 26 20 68 	clr  [ %i0 + 0x68 ]                            <== NOT EXECUTED
 200f9d8:	c0 26 20 64 	clr  [ %i0 + 0x64 ]                            <== NOT EXECUTED
rtems_bdbuf_gather_for_purge (rtems_chain_control *purge_list,        
                              const rtems_disk_device *dd)            
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
 200f9dc:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     <== NOT EXECUTED
 200f9e0:	82 10 61 b4 	or  %g1, 0x1b4, %g1	! 20229b4 <bdbuf_cache>    
 200f9e4:	fa 00 60 3c 	ld  [ %g1 + 0x3c ], %i5                        
                                                                      
static void                                                           
rtems_bdbuf_read_ahead_reset (rtems_disk_device *dd)                  
{                                                                     
  rtems_bdbuf_read_ahead_cancel (dd);                                 
  dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;          
 200f9e8:	84 10 3f ff 	mov  -1, %g2                                   
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
 200f9ec:	c0 27 bf 80 	clr  [ %fp + -128 ]                            
                                                                      
static void                                                           
rtems_bdbuf_read_ahead_reset (rtems_disk_device *dd)                  
{                                                                     
  rtems_bdbuf_read_ahead_cancel (dd);                                 
  dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;          
 200f9f0:	c4 26 20 6c 	st  %g2, [ %i0 + 0x6c ]                        
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
 200f9f4:	80 a7 60 00 	cmp  %i5, 0                                    
 200f9f8:	02 80 00 2f 	be  200fab4 <rtems_bdbuf_purge_dev+0x114>      
 200f9fc:	b8 07 bf 80 	add  %fp, -128, %i4                            
  {                                                                   
    if (cur->dd == dd)                                                
    {                                                                 
      switch (cur->state)                                             
 200fa00:	33 00 80 34 	sethi  %hi(0x200d000), %i1                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200fa04:	a2 10 20 06 	mov  6, %l1                                    
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if (cur->dd == dd)                                                
    {                                                                 
      switch (cur->state)                                             
 200fa08:	b2 16 63 60 	or  %i1, 0x360, %i1                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200fa0c:	a4 10 20 0a 	mov  0xa, %l2                                  
        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);           
 200fa10:	10 80 00 09 	b  200fa34 <rtems_bdbuf_purge_dev+0x94>        
 200fa14:	a0 00 60 6c 	add  %g1, 0x6c, %l0                            
        default:                                                      
          rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_STATE_11);
      }                                                               
    }                                                                 
                                                                      
    if (cur->avl.left != NULL)                                        
 200fa18:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 200fa1c:	80 a0 60 00 	cmp  %g1, 0                                    
 200fa20:	22 80 00 10 	be,a   200fa60 <rtems_bdbuf_purge_dev+0xc0>    
 200fa24:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    }                                                                 
    else if (cur->avl.right != NULL)                                  
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
      *prev = cur;                                                    
 200fa28:	fa 27 20 04 	st  %i5, [ %i4 + 4 ]                           
 200fa2c:	ba 10 00 01 	mov  %g1, %i5                                  
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
    {                                                                 
      /* Right */                                                     
      ++prev;                                                         
 200fa30:	b8 07 20 04 	add  %i4, 4, %i4                               
                                                                      
  *prev = NULL;                                                       
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if (cur->dd == dd)                                                
 200fa34:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 200fa38:	80 a6 00 01 	cmp  %i0, %g1                                  
 200fa3c:	32 bf ff f8 	bne,a   200fa1c <rtems_bdbuf_purge_dev+0x7c>   <== NEVER TAKEN
 200fa40:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           <== NOT EXECUTED
    {                                                                 
      switch (cur->state)                                             
 200fa44:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 200fa48:	80 a0 60 0a 	cmp  %g1, 0xa                                  
 200fa4c:	28 80 00 35 	bleu,a   200fb20 <rtems_bdbuf_purge_dev+0x180> <== ALWAYS TAKEN
 200fa50:	83 28 60 02 	sll  %g1, 2, %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);
 200fa54:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200fa58:	7f ff e7 6f 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200fa5c:	90 12 20 01 	or  %o0, 1, %o0	! 42000001 <RAM_END+0x3fc00001><== NOT EXECUTED
      /* Left */                                                      
      ++prev;                                                         
      *prev = cur;                                                    
      cur = cur->avl.left;                                            
    }                                                                 
    else if (cur->avl.right != NULL)                                  
 200fa60:	80 a0 60 00 	cmp  %g1, 0                                    
 200fa64:	32 bf ff f2 	bne,a   200fa2c <rtems_bdbuf_purge_dev+0x8c>   
 200fa68:	fa 27 20 04 	st  %i5, [ %i4 + 4 ]                           
      *prev = cur;                                                    
      cur = cur->avl.right;                                           
    }                                                                 
    else                                                              
    {                                                                 
      while (*prev != NULL                                            
 200fa6c:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 200fa70:	80 a0 60 00 	cmp  %g1, 0                                    
 200fa74:	32 80 00 06 	bne,a   200fa8c <rtems_bdbuf_purge_dev+0xec>   
 200fa78:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200fa7c:	10 80 00 0f 	b  200fab8 <rtems_bdbuf_purge_dev+0x118>       
 200fa80:	d0 07 bf 74 	ld  [ %fp + -140 ], %o0                        
 200fa84:	82 10 00 02 	mov  %g2, %g1                                  
             && (cur == (*prev)->avl.right || (*prev)->avl.right == NULL))
 200fa88:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200fa8c:	80 a0 80 1d 	cmp  %g2, %i5                                  
 200fa90:	02 80 00 04 	be  200faa0 <rtems_bdbuf_purge_dev+0x100>      
 200fa94:	80 a0 a0 00 	cmp  %g2, 0                                    
 200fa98:	32 bf ff e7 	bne,a   200fa34 <rtems_bdbuf_purge_dev+0x94>   
 200fa9c:	ba 10 00 02 	mov  %g2, %i5                                  
      {                                                               
        /* Up */                                                      
        cur = *prev;                                                  
        --prev;                                                       
 200faa0:	b8 07 3f fc 	add  %i4, -4, %i4                              
      *prev = cur;                                                    
      cur = cur->avl.right;                                           
    }                                                                 
    else                                                              
    {                                                                 
      while (*prev != NULL                                            
 200faa4:	c4 07 00 00 	ld  [ %i4 ], %g2                               
 200faa8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200faac:	12 bf ff f6 	bne  200fa84 <rtems_bdbuf_purge_dev+0xe4>      
 200fab0:	ba 10 00 01 	mov  %g1, %i5                                  
 200fab4:	d0 07 bf 74 	ld  [ %fp + -140 ], %o0                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_purge_list (rtems_chain_control *purge_list)              
{                                                                     
  bool wake_buffer_waiters = false;                                   
 200fab8:	86 10 20 00 	clr  %g3                                       
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200fabc:	ba 10 20 01 	mov  1, %i5                                    
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 200fac0:	80 a2 00 1b 	cmp  %o0, %i3                                  
 200fac4:	02 80 00 0f 	be  200fb00 <rtems_bdbuf_purge_dev+0x160>      
 200fac8:	80 88 e0 ff 	btst  0xff, %g3                                
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
 200facc:	c2 02 00 00 	ld  [ %o0 ], %g1                               
                                                                      
  while ((node = rtems_chain_get_unprotected (purge_list)) != NULL)   
  {                                                                   
    rtems_bdbuf_buffer *bd = (rtems_bdbuf_buffer *) node;             
                                                                      
    if (bd->waiters == 0)                                             
 200fad0:	c4 02 20 24 	ld  [ %o0 + 0x24 ], %g2                        
                                                                      
  head->next = new_first;                                             
 200fad4:	c2 27 bf 74 	st  %g1, [ %fp + -140 ]                        
 200fad8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200fadc:	12 80 00 28 	bne  200fb7c <rtems_bdbuf_purge_dev+0x1dc>     
 200fae0:	f4 20 60 04 	st  %i2, [ %g1 + 4 ]                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200fae4:	7f ff f8 c1 	call  200dde8 <rtems_bdbuf_discard_buffer.part.4>
 200fae8:	fa 22 20 20 	st  %i5, [ %o0 + 0x20 ]                        
 200faec:	d0 07 bf 74 	ld  [ %fp + -140 ], %o0                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 200faf0:	80 a2 00 1b 	cmp  %o0, %i3                                  
 200faf4:	12 bf ff f6 	bne  200facc <rtems_bdbuf_purge_dev+0x12c>     
 200faf8:	86 10 20 01 	mov  1, %g3                                    
      wake_buffer_waiters = true;                                     
                                                                      
    rtems_bdbuf_discard_buffer (bd);                                  
  }                                                                   
                                                                      
  if (wake_buffer_waiters)                                            
 200fafc:	80 88 e0 ff 	btst  0xff, %g3                                
 200fb00:	02 80 00 04 	be  200fb10 <rtems_bdbuf_purge_dev+0x170>      
 200fb04:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200fb08:	7f ff f7 54 	call  200d858 <rtems_bdbuf_wake>               
 200fb0c:	90 12 22 28 	or  %o0, 0x228, %o0	! 2022a28 <bdbuf_cache+0x74>
  rtems_chain_initialize_empty (&purge_list);                         
  rtems_bdbuf_lock_cache ();                                          
  rtems_bdbuf_read_ahead_reset (dd);                                  
  rtems_bdbuf_gather_for_purge (&purge_list, dd);                     
  rtems_bdbuf_purge_list (&purge_list);                               
  rtems_bdbuf_unlock_cache ();                                        
 200fb10:	7f ff f6 a4 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200fb14:	01 00 00 00 	nop                                            
 200fb18:	81 c7 e0 08 	ret                                            
 200fb1c:	81 e8 00 00 	restore                                        
                                                                      
  while (cur != NULL)                                                 
  {                                                                   
    if (cur->dd == dd)                                                
    {                                                                 
      switch (cur->state)                                             
 200fb20:	c4 06 40 01 	ld  [ %i1 + %g1 ], %g2                         
 200fb24:	81 c0 80 00 	jmp  %g2                                       
 200fb28:	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);           
 200fb2c:	7f ff f7 4b 	call  200d858 <rtems_bdbuf_wake>               
 200fb30:	90 10 00 10 	mov  %l0, %o0                                  
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200fb34:	c4 07 60 28 	ld  [ %i5 + 0x28 ], %g2                        
 200fb38:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
 200fb3c:	82 00 7f ff 	add  %g1, -1, %g1                              
 200fb40:	c2 20 a0 0c 	st  %g1, [ %g2 + 0xc ]                         
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 200fb44:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 200fb48:	c6 07 40 00 	ld  [ %i5 ], %g3                               
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 200fb4c:	c4 20 e0 04 	st  %g2, [ %g3 + 4 ]                           
  previous->next = next;                                              
 200fb50:	c6 20 80 00 	st  %g3, [ %g2 ]                               
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200fb54:	c4 07 bf 7c 	ld  [ %fp + -132 ], %g2                        
                                                                      
  the_node->next = tail;                                              
 200fb58:	f6 27 40 00 	st  %i3, [ %i5 ]                               
  tail->previous = the_node;                                          
 200fb5c:	fa 27 bf 7c 	st  %i5, [ %fp + -132 ]                        
  old_last->next = the_node;                                          
 200fb60:	fa 20 80 00 	st  %i5, [ %g2 ]                               
  the_node->previous = old_last;                                      
 200fb64:	10 bf ff ad 	b  200fa18 <rtems_bdbuf_purge_dev+0x78>        
 200fb68:	c4 27 60 04 	st  %g2, [ %i5 + 4 ]                           
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200fb6c:	10 bf ff ab 	b  200fa18 <rtems_bdbuf_purge_dev+0x78>        
 200fb70:	e2 27 60 20 	st  %l1, [ %i5 + 0x20 ]                        
 200fb74:	10 bf ff a9 	b  200fa18 <rtems_bdbuf_purge_dev+0x78>        
 200fb78:	e4 27 60 20 	st  %l2, [ %i5 + 0x20 ]                        
 200fb7c:	fa 22 20 20 	st  %i5, [ %o0 + 0x20 ]                        
 200fb80:	10 bf ff d0 	b  200fac0 <rtems_bdbuf_purge_dev+0x120>       
 200fb84:	90 10 00 01 	mov  %g1, %o0                                  
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 200fb88:	80 a0 a0 00 	cmp  %g2, 0                                    
 200fb8c:	32 bf ff 91 	bne,a   200f9d0 <rtems_bdbuf_purge_dev+0x30>   <== NEVER TAKEN
 200fb90:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           <== NOT EXECUTED
rtems_bdbuf_gather_for_purge (rtems_chain_control *purge_list,        
                              const rtems_disk_device *dd)            
{                                                                     
  rtems_bdbuf_buffer *stack [RTEMS_BDBUF_AVL_MAX_HEIGHT];             
  rtems_bdbuf_buffer **prev = stack;                                  
  rtems_bdbuf_buffer *cur = bdbuf_cache.tree;                         
 200fb94:	10 bf ff 93 	b  200f9e0 <rtems_bdbuf_purge_dev+0x40>        
 200fb98:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
                                                                      

0200f468 <rtems_bdbuf_read>: rtems_status_code rtems_bdbuf_read (rtems_disk_device *dd, rtems_blkdev_bnum block, rtems_bdbuf_buffer **bd_ptr) {
 200f468:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code     sc = RTEMS_SUCCESSFUL;                        
  rtems_bdbuf_buffer   *bd = NULL;                                    
  rtems_blkdev_bnum     media_block;                                  
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200f46c:	7f ff f8 36 	call  200d544 <rtems_bdbuf_lock_cache>         
 200f470:	ba 10 00 18 	mov  %i0, %i5                                  
                             rtems_blkdev_bnum        block,          
                             rtems_blkdev_bnum       *media_block_ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (block < dd->block_count)                                        
 200f474:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
rtems_bdbuf_read (rtems_disk_device   *dd,                            
                  rtems_blkdev_bnum    block,                         
                  rtems_bdbuf_buffer **bd_ptr)                        
{                                                                     
  rtems_status_code     sc = RTEMS_SUCCESSFUL;                        
  rtems_bdbuf_buffer   *bd = NULL;                                    
 200f478:	b8 10 20 00 	clr  %i4                                       
                             rtems_blkdev_bnum        block,          
                             rtems_blkdev_bnum       *media_block_ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (block < dd->block_count)                                        
 200f47c:	80 a6 40 01 	cmp  %i1, %g1                                  
 200f480:	0a 80 00 07 	bcs  200f49c <rtems_bdbuf_read+0x34>           <== ALWAYS TAKEN
 200f484:	b0 10 20 04 	mov  4, %i0                                    
    }                                                                 
                                                                      
    rtems_bdbuf_check_read_ahead_trigger (dd, block);                 
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f488:	7f ff f8 46 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f48c:	01 00 00 00 	nop                                            
                                                                      
  *bd_ptr = bd;                                                       
 200f490:	f8 26 80 00 	st  %i4, [ %i2 ]                               
 200f494:	81 c7 e0 08 	ret                                            
 200f498:	81 e8 00 00 	restore                                        
}                                                                     
                                                                      
static rtems_blkdev_bnum                                              
rtems_bdbuf_media_block (const rtems_disk_device *dd, rtems_blkdev_bnum block)
{                                                                     
  if (dd->block_to_media_block_shift >= 0)                            
 200f49c:	d2 07 60 30 	ld  [ %i5 + 0x30 ], %o1                        
 200f4a0:	80 a2 60 00 	cmp  %o1, 0                                    
 200f4a4:	26 80 00 61 	bl,a   200f628 <rtems_bdbuf_read+0x1c0>        <== NEVER TAKEN
 200f4a8:	d6 07 60 24 	ld  [ %i5 + 0x24 ], %o3                        <== NOT EXECUTED
    return block << dd->block_to_media_block_shift;                   
 200f4ac:	93 2e 40 09 	sll  %i1, %o1, %o1                             
    /*                                                                
     * Compute the media block number. Drivers work with media block number not
     * the block number a BD may have as this depends on the block size set by
     * the user.                                                      
     */                                                               
    *media_block_ptr = rtems_bdbuf_media_block (dd, block) + dd->start;
 200f4b0:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
  {                                                                   
    if (rtems_bdbuf_tracer)                                           
      printf ("bdbuf:read: %" PRIu32 " (%" PRIu32 ") (dev = %08x)\n", 
              media_block + dd->start, block, (unsigned) dd->dev);    
                                                                      
    bd = rtems_bdbuf_get_buffer_for_access (dd, media_block);         
 200f4b4:	90 10 00 1d 	mov  %i5, %o0                                  
 200f4b8:	7f ff fb 9f 	call  200e334 <rtems_bdbuf_get_buffer_for_access>
 200f4bc:	92 02 40 01 	add  %o1, %g1, %o1                             
 200f4c0:	b8 10 00 08 	mov  %o0, %i4                                  
    switch (bd->state)                                                
 200f4c4:	d0 02 20 20 	ld  [ %o0 + 0x20 ], %o0                        
 200f4c8:	80 a2 20 02 	cmp  %o0, 2                                    
 200f4cc:	02 80 00 50 	be  200f60c <rtems_bdbuf_read+0x1a4>           
 200f4d0:	80 a2 20 07 	cmp  %o0, 7                                    
 200f4d4:	02 80 00 06 	be  200f4ec <rtems_bdbuf_read+0x84>            
 200f4d8:	80 a2 20 01 	cmp  %o0, 1                                    
 200f4dc:	02 80 00 28 	be  200f57c <rtems_bdbuf_read+0x114>           <== ALWAYS TAKEN
 200f4e0:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
        {                                                             
          bd = NULL;                                                  
        }                                                             
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_4);
 200f4e4:	7f ff f8 1f 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200f4e8:	92 12 60 02 	or  %o1, 2, %o1	! 42000002 <RAM_END+0x3fc00002><== NOT EXECUTED
      case RTEMS_BDBUF_STATE_CACHED:                                  
        ++dd->stats.read_hits;                                        
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_ACCESS_CACHED);  
        break;                                                        
      case RTEMS_BDBUF_STATE_MODIFIED:                                
        ++dd->stats.read_hits;                                        
 200f4ec:	c2 07 60 44 	ld  [ %i5 + 0x44 ], %g1                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f4f0:	b0 10 20 00 	clr  %i0                                       
      case RTEMS_BDBUF_STATE_CACHED:                                  
        ++dd->stats.read_hits;                                        
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_ACCESS_CACHED);  
        break;                                                        
      case RTEMS_BDBUF_STATE_MODIFIED:                                
        ++dd->stats.read_hits;                                        
 200f4f4:	82 00 60 01 	inc  %g1                                       
 200f4f8:	c2 27 60 44 	st  %g1, [ %i5 + 0x44 ]                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f4fc:	82 10 20 04 	mov  4, %g1                                    
 200f500:	c2 27 20 20 	st  %g1, [ %i4 + 0x20 ]                        
                                                                      
static void                                                           
rtems_bdbuf_check_read_ahead_trigger (rtems_disk_device *dd,          
                                      rtems_blkdev_bnum  block)       
{                                                                     
  if (bdbuf_cache.read_ahead_task != 0                                
 200f504:	37 00 80 8a 	sethi  %hi(0x2022800), %i3                     
 200f508:	b6 16 e1 b4 	or  %i3, 0x1b4, %i3	! 20229b4 <bdbuf_cache>    
 200f50c:	d0 06 e0 84 	ld  [ %i3 + 0x84 ], %o0                        
 200f510:	80 a2 20 00 	cmp  %o0, 0                                    
 200f514:	02 bf ff dd 	be  200f488 <rtems_bdbuf_read+0x20>            
 200f518:	01 00 00 00 	nop                                            
      && dd->read_ahead.trigger == block                              
 200f51c:	c2 07 60 6c 	ld  [ %i5 + 0x6c ], %g1                        
 200f520:	80 a6 40 01 	cmp  %i1, %g1                                  
 200f524:	12 bf ff d9 	bne  200f488 <rtems_bdbuf_read+0x20>           
 200f528:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 200f52c:	c2 07 60 64 	ld  [ %i5 + 0x64 ], %g1                        
 200f530:	80 a0 60 00 	cmp  %g1, 0                                    
 200f534:	12 bf ff d5 	bne  200f488 <rtems_bdbuf_read+0x20>           <== NEVER TAKEN
 200f538:	01 00 00 00 	nop                                            
 200f53c:	c2 07 60 68 	ld  [ %i5 + 0x68 ], %g1                        
 200f540:	80 a0 60 00 	cmp  %g1, 0                                    
 200f544:	12 bf ff d1 	bne  200f488 <rtems_bdbuf_read+0x20>           <== NEVER TAKEN
 200f548:	01 00 00 00 	nop                                            
      && !rtems_bdbuf_is_read_ahead_active (dd))                      
  {                                                                   
    rtems_status_code sc;                                             
    rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;       
                                                                      
    if (rtems_chain_is_empty (chain))                                 
 200f54c:	c2 06 e0 88 	ld  [ %i3 + 0x88 ], %g1                        
 200f550:	b2 06 e0 8c 	add  %i3, 0x8c, %i1                            
 200f554:	80 a0 40 19 	cmp  %g1, %i1                                  
 200f558:	02 80 00 42 	be  200f660 <rtems_bdbuf_read+0x1f8>           <== ALWAYS TAKEN
 200f55c:	01 00 00 00 	nop                                            
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200f560:	c2 06 e0 90 	ld  [ %i3 + 0x90 ], %g1                        <== NOT EXECUTED
                             RTEMS_BDBUF_READ_AHEAD_WAKE_UP);         
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_RA_WAKE_UP);
    }                                                                 
                                                                      
    rtems_chain_append_unprotected (chain, &dd->read_ahead.node);     
 200f564:	84 07 60 64 	add  %i5, 0x64, %g2                            
                                                                      
  the_node->next = tail;                                              
 200f568:	f2 27 60 64 	st  %i1, [ %i5 + 0x64 ]                        
  tail->previous = the_node;                                          
 200f56c:	c4 26 e0 90 	st  %g2, [ %i3 + 0x90 ]                        
  old_last->next = the_node;                                          
 200f570:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  the_node->previous = old_last;                                      
 200f574:	10 bf ff c5 	b  200f488 <rtems_bdbuf_read+0x20>             
 200f578:	c2 27 60 68 	st  %g1, [ %i5 + 0x68 ]                        
      case RTEMS_BDBUF_STATE_MODIFIED:                                
        ++dd->stats.read_hits;                                        
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_ACCESS_MODIFIED);
        break;                                                        
      case RTEMS_BDBUF_STATE_EMPTY:                                   
        ++dd->stats.read_misses;                                      
 200f57c:	c4 07 60 48 	ld  [ %i5 + 0x48 ], %g2                        
                                                                      
static void                                                           
rtems_bdbuf_set_read_ahead_trigger (rtems_disk_device *dd,            
                                    rtems_blkdev_bnum  block)         
{                                                                     
  if (dd->read_ahead.trigger != block)                                
 200f580:	c2 07 60 6c 	ld  [ %i5 + 0x6c ], %g1                        
      case RTEMS_BDBUF_STATE_MODIFIED:                                
        ++dd->stats.read_hits;                                        
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_ACCESS_MODIFIED);
        break;                                                        
      case RTEMS_BDBUF_STATE_EMPTY:                                   
        ++dd->stats.read_misses;                                      
 200f584:	84 00 a0 01 	inc  %g2                                       
                                                                      
static void                                                           
rtems_bdbuf_set_read_ahead_trigger (rtems_disk_device *dd,            
                                    rtems_blkdev_bnum  block)         
{                                                                     
  if (dd->read_ahead.trigger != block)                                
 200f588:	80 a6 40 01 	cmp  %i1, %g1                                  
 200f58c:	02 80 00 0e 	be  200f5c4 <rtems_bdbuf_read+0x15c>           
 200f590:	c4 27 60 48 	st  %g2, [ %i5 + 0x48 ]                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 200f594:	c2 07 60 64 	ld  [ %i5 + 0x64 ], %g1                        
 200f598:	80 a0 60 00 	cmp  %g1, 0                                    
 200f59c:	02 80 00 2c 	be  200f64c <rtems_bdbuf_read+0x1e4>           <== ALWAYS TAKEN
 200f5a0:	c4 07 60 68 	ld  [ %i5 + 0x68 ], %g2                        
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 200f5a4:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           <== NOT EXECUTED
  previous->next = next;                                              
 200f5a8:	c2 20 80 00 	st  %g1, [ %g2 ]                               <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 200f5ac:	c0 27 60 68 	clr  [ %i5 + 0x68 ]                            <== NOT EXECUTED
 200f5b0:	c0 27 60 64 	clr  [ %i5 + 0x64 ]                            <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_read_ahead_cancel (dd);                               
    dd->read_ahead.trigger = block + 1;                               
 200f5b4:	84 06 60 01 	add  %i1, 1, %g2                               <== NOT EXECUTED
    dd->read_ahead.next = block + 2;                                  
 200f5b8:	82 06 60 02 	add  %i1, 2, %g1                               
                                    rtems_blkdev_bnum  block)         
{                                                                     
  if (dd->read_ahead.trigger != block)                                
  {                                                                   
    rtems_bdbuf_read_ahead_cancel (dd);                               
    dd->read_ahead.trigger = block + 1;                               
 200f5bc:	c4 27 60 6c 	st  %g2, [ %i5 + 0x6c ]                        
    dd->read_ahead.next = block + 2;                                  
 200f5c0:	c2 27 60 70 	st  %g1, [ %i5 + 0x70 ]                        
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_ACCESS_MODIFIED);
        break;                                                        
      case RTEMS_BDBUF_STATE_EMPTY:                                   
        ++dd->stats.read_misses;                                      
        rtems_bdbuf_set_read_ahead_trigger (dd, block);               
        sc = rtems_bdbuf_execute_read_request (dd, bd, 1);            
 200f5c4:	90 10 00 1d 	mov  %i5, %o0                                  
 200f5c8:	92 10 00 1c 	mov  %i4, %o1                                  
 200f5cc:	7f ff fd ce 	call  200ed04 <rtems_bdbuf_execute_read_request>
 200f5d0:	94 10 20 01 	mov  1, %o2                                    
        if (sc == RTEMS_SUCCESSFUL)                                   
 200f5d4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200f5d8:	32 bf ff cb 	bne,a   200f504 <rtems_bdbuf_read+0x9c>        
 200f5dc:	b8 10 20 00 	clr  %i4                                       
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
 200f5e0:	c2 07 20 28 	ld  [ %i4 + 0x28 ], %g1                        
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 200f5e4:	c4 07 20 04 	ld  [ %i4 + 4 ], %g2                           
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 200f5e8:	c6 07 00 00 	ld  [ %i4 ], %g3                               
 200f5ec:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f5f0:	b6 10 20 03 	mov  3, %i3                                    
 200f5f4:	f6 27 20 20 	st  %i3, [ %i4 + 0x20 ]                        
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 200f5f8:	c4 20 e0 04 	st  %g2, [ %g3 + 4 ]                           
  previous->next = next;                                              
 200f5fc:	c6 20 80 00 	st  %g3, [ %g2 ]                               
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_obtain (rtems_bdbuf_buffer *bd)                     
{                                                                     
  ++bd->group->users;                                                 
 200f600:	84 01 20 01 	add  %g4, 1, %g2                               
 200f604:	10 bf ff c0 	b  200f504 <rtems_bdbuf_read+0x9c>             
 200f608:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
                                                                      
    bd = rtems_bdbuf_get_buffer_for_access (dd, media_block);         
    switch (bd->state)                                                
    {                                                                 
      case RTEMS_BDBUF_STATE_CACHED:                                  
        ++dd->stats.read_hits;                                        
 200f60c:	c2 07 60 44 	ld  [ %i5 + 0x44 ], %g1                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f610:	b0 10 20 00 	clr  %i0                                       
                                                                      
    bd = rtems_bdbuf_get_buffer_for_access (dd, media_block);         
    switch (bd->state)                                                
    {                                                                 
      case RTEMS_BDBUF_STATE_CACHED:                                  
        ++dd->stats.read_hits;                                        
 200f614:	82 00 60 01 	inc  %g1                                       
 200f618:	c2 27 60 44 	st  %g1, [ %i5 + 0x44 ]                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f61c:	82 10 20 03 	mov  3, %g1                                    
 200f620:	10 bf ff b9 	b  200f504 <rtems_bdbuf_read+0x9c>             
 200f624:	c2 27 20 20 	st  %g1, [ %i4 + 0x20 ]                        
    /*                                                                
     * Change the block number for the block size to the block number for the media
     * block size. We have to use 64bit maths. There is no short cut here.
     */                                                               
    return (rtems_blkdev_bnum)                                        
      ((((uint64_t) block) * dd->block_size) / dd->media_block_size); 
 200f628:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 200f62c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 200f630:	40 00 3a 4c 	call  201df60 <__muldi3>                       <== NOT EXECUTED
 200f634:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 200f638:	d6 07 60 20 	ld  [ %i5 + 0x20 ], %o3                        <== NOT EXECUTED
 200f63c:	40 00 3c 5a 	call  201e7a4 <__udivdi3>                      <== NOT EXECUTED
 200f640:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
    /*                                                                
     * Compute the media block number. Drivers work with media block number not
     * the block number a BD may have as this depends on the block size set by
     * the user.                                                      
     */                                                               
    *media_block_ptr = rtems_bdbuf_media_block (dd, block) + dd->start;
 200f644:	10 bf ff 9c 	b  200f4b4 <rtems_bdbuf_read+0x4c>             <== NOT EXECUTED
 200f648:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 200f64c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200f650:	32 bf ff d5 	bne,a   200f5a4 <rtems_bdbuf_read+0x13c>       <== NEVER TAKEN
 200f654:	c4 07 60 68 	ld  [ %i5 + 0x68 ], %g2                        <== NOT EXECUTED
                                    rtems_blkdev_bnum  block)         
{                                                                     
  if (dd->read_ahead.trigger != block)                                
  {                                                                   
    rtems_bdbuf_read_ahead_cancel (dd);                               
    dd->read_ahead.trigger = block + 1;                               
 200f658:	10 bf ff d8 	b  200f5b8 <rtems_bdbuf_read+0x150>            
 200f65c:	84 06 60 01 	add  %i1, 1, %g2                               
    rtems_status_code sc;                                             
    rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;       
                                                                      
    if (rtems_chain_is_empty (chain))                                 
    {                                                                 
      sc = rtems_event_send (bdbuf_cache.read_ahead_task,             
 200f660:	7f ff e5 76 	call  2008c38 <rtems_event_send>               
 200f664:	92 10 20 02 	mov  2, %o1                                    
                             RTEMS_BDBUF_READ_AHEAD_WAKE_UP);         
      if (sc != RTEMS_SUCCESSFUL)                                     
 200f668:	80 a2 20 00 	cmp  %o0, 0                                    
 200f66c:	22 bf ff be 	be,a   200f564 <rtems_bdbuf_read+0xfc>         <== ALWAYS TAKEN
 200f670:	c2 06 e0 90 	ld  [ %i3 + 0x90 ], %g1                        
        rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_RA_WAKE_UP);
 200f674:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200f678:	7f ff e8 67 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200f67c:	90 12 20 1f 	or  %o0, 0x1f, %o0	! 4200001f <RAM_END+0x3fc0001f><== NOT EXECUTED
                                                                      

0200ede4 <rtems_bdbuf_read_ahead_task>: return sc; } static rtems_task rtems_bdbuf_read_ahead_task (rtems_task_argument arg) {
 200ede4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;         
                                                                      
  while (bdbuf_cache.read_ahead_enabled)                              
 200ede8:	37 00 80 8a 	sethi  %hi(0x2022800), %i3                     
 200edec:	b6 16 e1 b4 	or  %i3, 0x1b4, %i3	! 20229b4 <bdbuf_cache>    
 200edf0:	c2 0e e0 94 	ldub  [ %i3 + 0x94 ], %g1                      
 200edf4:	80 a0 60 00 	cmp  %g1, 0                                    
 200edf8:	02 80 00 22 	be  200ee80 <rtems_bdbuf_read_ahead_task+0x9c> <== NEVER TAKEN
 200edfc:	b0 06 e0 88 	add  %i3, 0x88, %i0                            
 200ee00:	b2 06 e0 8c 	add  %i3, 0x8c, %i1                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200ee04:	b4 10 00 1b 	mov  %i3, %i2                                  
          rtems_bdbuf_get_buffer_for_read_ahead (dd, media_block);    
                                                                      
        if (bd != NULL)                                               
        {                                                             
          uint32_t transfer_count = dd->block_count - block;          
          uint32_t max_transfer_count = bdbuf_config.max_read_ahead_blocks;
 200ee08:	23 00 80 7f 	sethi  %hi(0x201fc00), %l1                     
                                                                      
  while (bdbuf_cache.read_ahead_enabled)                              
  {                                                                   
    rtems_chain_node *node;                                           
                                                                      
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_READ_AHEAD_WAKE_UP);      
 200ee0c:	7f ff fa 00 	call  200d60c <rtems_bdbuf_wait_for_event>     
 200ee10:	90 10 20 02 	mov  2, %o0                                    
    rtems_bdbuf_lock_cache ();                                        
 200ee14:	7f ff f9 cc 	call  200d544 <rtems_bdbuf_lock_cache>         
 200ee18:	01 00 00 00 	nop                                            
 200ee1c:	fa 06 e0 88 	ld  [ %i3 + 0x88 ], %i5                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 200ee20:	80 a7 40 19 	cmp  %i5, %i1                                  
 200ee24:	02 80 00 11 	be  200ee68 <rtems_bdbuf_read_ahead_task+0x84> 
 200ee28:	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;                            
 200ee2c:	c2 07 40 00 	ld  [ %i5 ], %g1                               
                                                                      
    while ((node = rtems_chain_get_unprotected (chain)) != NULL)      
    {                                                                 
      rtems_disk_device *dd = (rtems_disk_device *)                   
        ((char *) node - offsetof (rtems_disk_device, read_ahead.node));
      rtems_blkdev_bnum block = dd->read_ahead.next;                  
 200ee30:	f8 07 60 0c 	ld  [ %i5 + 0xc ], %i4                         
                             rtems_blkdev_bnum        block,          
                             rtems_blkdev_bnum       *media_block_ptr)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (block < dd->block_count)                                        
 200ee34:	c4 07 7f c4 	ld  [ %i5 + -60 ], %g2                         
                                                                      
  head->next = new_first;                                             
 200ee38:	c2 26 a0 88 	st  %g1, [ %i2 + 0x88 ]                        
 200ee3c:	80 a7 00 02 	cmp  %i4, %g2                                  
 200ee40:	0a 80 00 12 	bcs  200ee88 <rtems_bdbuf_read_ahead_task+0xa4>
 200ee44:	f0 20 60 04 	st  %i0, [ %g1 + 4 ]                           
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 200ee48:	c0 27 60 04 	clr  [ %i5 + 4 ]                               
 200ee4c:	c0 27 40 00 	clr  [ %i5 ]                                   
          rtems_bdbuf_execute_read_request (dd, bd, transfer_count);  
        }                                                             
      }                                                               
      else                                                            
      {                                                               
        dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;    
 200ee50:	82 10 3f ff 	mov  -1, %g1                                   
 200ee54:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200ee58:	fa 06 e0 88 	ld  [ %i3 + 0x88 ], %i5                        
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 200ee5c:	80 a7 40 19 	cmp  %i5, %i1                                  
 200ee60:	32 bf ff f4 	bne,a   200ee30 <rtems_bdbuf_read_ahead_task+0x4c><== NEVER TAKEN
 200ee64:	c2 07 40 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
 200ee68:	7f ff f9 ce 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200ee6c:	01 00 00 00 	nop                                            
static rtems_task                                                     
rtems_bdbuf_read_ahead_task (rtems_task_argument arg)                 
{                                                                     
  rtems_chain_control *chain = &bdbuf_cache.read_ahead_chain;         
                                                                      
  while (bdbuf_cache.read_ahead_enabled)                              
 200ee70:	c2 0e a0 94 	ldub  [ %i2 + 0x94 ], %g1                      
 200ee74:	80 a0 60 00 	cmp  %g1, 0                                    
 200ee78:	12 bf ff e5 	bne  200ee0c <rtems_bdbuf_read_ahead_task+0x28><== ALWAYS TAKEN
 200ee7c:	01 00 00 00 	nop                                            
    }                                                                 
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
  }                                                                   
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
 200ee80:	7f ff e9 75 	call  2009454 <rtems_task_delete>              <== NOT EXECUTED
 200ee84:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
}                                                                     
                                                                      
static rtems_blkdev_bnum                                              
rtems_bdbuf_media_block (const rtems_disk_device *dd, rtems_blkdev_bnum block)
{                                                                     
  if (dd->block_to_media_block_shift >= 0)                            
 200ee88:	d2 07 7f cc 	ld  [ %i5 + -52 ], %o1                         
 200ee8c:	80 a2 60 00 	cmp  %o1, 0                                    
 200ee90:	26 80 00 21 	bl,a   200ef14 <rtems_bdbuf_read_ahead_task+0x130><== NEVER TAKEN
 200ee94:	d2 07 7f c0 	ld  [ %i5 + -64 ], %o1                         <== NOT EXECUTED
    return block << dd->block_to_media_block_shift;                   
 200ee98:	93 2f 00 09 	sll  %i4, %o1, %o1                             
    /*                                                                
     * Compute the media block number. Drivers work with media block number not
     * the block number a BD may have as this depends on the block size set by
     * the user.                                                      
     */                                                               
    *media_block_ptr = rtems_bdbuf_media_block (dd, block) + dd->start;
 200ee9c:	c2 07 7f b4 	ld  [ %i5 + -76 ], %g1                         
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_READ_AHEAD_WAKE_UP);      
    rtems_bdbuf_lock_cache ();                                        
                                                                      
    while ((node = rtems_chain_get_unprotected (chain)) != NULL)      
    {                                                                 
      rtems_disk_device *dd = (rtems_disk_device *)                   
 200eea0:	a0 07 7f 9c 	add  %i5, -100, %l0                            
                                                                      
      rtems_chain_set_off_chain (&dd->read_ahead.node);               
                                                                      
      if (sc == RTEMS_SUCCESSFUL)                                     
      {                                                               
        rtems_bdbuf_buffer *bd =                                      
 200eea4:	92 02 40 01 	add  %o1, %g1, %o1                             
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 200eea8:	c0 27 60 04 	clr  [ %i5 + 4 ]                               
 200eeac:	c0 27 40 00 	clr  [ %i5 ]                                   
 200eeb0:	7f ff fd 0a 	call  200e2d8 <rtems_bdbuf_get_buffer_for_read_ahead>
 200eeb4:	90 10 00 10 	mov  %l0, %o0                                  
          rtems_bdbuf_get_buffer_for_read_ahead (dd, media_block);    
                                                                      
        if (bd != NULL)                                               
 200eeb8:	92 92 20 00 	orcc  %o0, 0, %o1                              
 200eebc:	02 bf ff d8 	be  200ee1c <rtems_bdbuf_read_ahead_task+0x38> <== NEVER TAKEN
 200eec0:	c2 04 62 80 	ld  [ %l1 + 0x280 ], %g1                       
        {                                                             
          uint32_t transfer_count = dd->block_count - block;          
 200eec4:	d4 07 7f c4 	ld  [ %i5 + -60 ], %o2                         
 200eec8:	94 22 80 1c 	sub  %o2, %i4, %o2                             
          uint32_t max_transfer_count = bdbuf_config.max_read_ahead_blocks;
                                                                      
          if (transfer_count >= max_transfer_count)                   
 200eecc:	80 a2 80 01 	cmp  %o2, %g1                                  
 200eed0:	2a 80 00 0f 	bcs,a   200ef0c <rtems_bdbuf_read_ahead_task+0x128>
 200eed4:	82 10 3f ff 	mov  -1, %g1                                   
          {                                                           
            transfer_count = max_transfer_count;                      
            dd->read_ahead.trigger = block + transfer_count / 2;      
            dd->read_ahead.next = block + transfer_count;             
 200eed8:	84 00 40 1c 	add  %g1, %i4, %g2                             
          uint32_t max_transfer_count = bdbuf_config.max_read_ahead_blocks;
                                                                      
          if (transfer_count >= max_transfer_count)                   
          {                                                           
            transfer_count = max_transfer_count;                      
            dd->read_ahead.trigger = block + transfer_count / 2;      
 200eedc:	87 30 60 01 	srl  %g1, 1, %g3                               
            dd->read_ahead.next = block + transfer_count;             
 200eee0:	c4 27 60 0c 	st  %g2, [ %i5 + 0xc ]                         
          uint32_t max_transfer_count = bdbuf_config.max_read_ahead_blocks;
                                                                      
          if (transfer_count >= max_transfer_count)                   
          {                                                           
            transfer_count = max_transfer_count;                      
            dd->read_ahead.trigger = block + transfer_count / 2;      
 200eee4:	b8 00 c0 1c 	add  %g3, %i4, %i4                             
            dd->read_ahead.next = block + transfer_count;             
 200eee8:	94 10 00 01 	mov  %g1, %o2                                  
          uint32_t max_transfer_count = bdbuf_config.max_read_ahead_blocks;
                                                                      
          if (transfer_count >= max_transfer_count)                   
          {                                                           
            transfer_count = max_transfer_count;                      
            dd->read_ahead.trigger = block + transfer_count / 2;      
 200eeec:	f8 27 60 08 	st  %i4, [ %i5 + 8 ]                           
          else                                                        
          {                                                           
            dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;
          }                                                           
                                                                      
          ++dd->stats.read_ahead_transfers;                           
 200eef0:	c2 07 7f e8 	ld  [ %i5 + -24 ], %g1                         
          rtems_bdbuf_execute_read_request (dd, bd, transfer_count);  
 200eef4:	90 10 00 10 	mov  %l0, %o0                                  
          else                                                        
          {                                                           
            dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;
          }                                                           
                                                                      
          ++dd->stats.read_ahead_transfers;                           
 200eef8:	82 00 60 01 	inc  %g1                                       
          rtems_bdbuf_execute_read_request (dd, bd, transfer_count);  
 200eefc:	7f ff ff 82 	call  200ed04 <rtems_bdbuf_execute_read_request>
 200ef00:	c2 27 7f e8 	st  %g1, [ %i5 + -24 ]                         
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200ef04:	10 bf ff c7 	b  200ee20 <rtems_bdbuf_read_ahead_task+0x3c>  
 200ef08:	fa 06 e0 88 	ld  [ %i3 + 0x88 ], %i5                        
            dd->read_ahead.trigger = block + transfer_count / 2;      
            dd->read_ahead.next = block + transfer_count;             
          }                                                           
          else                                                        
          {                                                           
            dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;
 200ef0c:	10 bf ff f9 	b  200eef0 <rtems_bdbuf_read_ahead_task+0x10c> 
 200ef10:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           
    /*                                                                
     * Change the block number for the block size to the block number for the media
     * block size. We have to use 64bit maths. There is no short cut here.
     */                                                               
    return (rtems_blkdev_bnum)                                        
      ((((uint64_t) block) * dd->block_size) / dd->media_block_size); 
 200ef14:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
 200ef18:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 200ef1c:	40 00 3c 11 	call  201df60 <__muldi3>                       <== NOT EXECUTED
 200ef20:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 200ef24:	d6 07 7f bc 	ld  [ %i5 + -68 ], %o3                         <== NOT EXECUTED
 200ef28:	40 00 3e 1f 	call  201e7a4 <__udivdi3>                      <== NOT EXECUTED
 200ef2c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
    /*                                                                
     * Compute the media block number. Drivers work with media block number not
     * the block number a BD may have as this depends on the block size set by
     * the user.                                                      
     */                                                               
    *media_block_ptr = rtems_bdbuf_media_block (dd, block) + dd->start;
 200ef30:	10 bf ff dc 	b  200eea0 <rtems_bdbuf_read_ahead_task+0xbc>  <== NOT EXECUTED
 200ef34:	c2 07 7f b4 	ld  [ %i5 + -76 ], %g1                         <== NOT EXECUTED
                                                                      

0200f684 <rtems_bdbuf_release>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_release (rtems_bdbuf_buffer *bd) {
 200f684:	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 (bd == NULL)                                                     
 200f688:	80 a6 20 00 	cmp  %i0, 0                                    
 200f68c:	02 80 00 10 	be  200f6cc <rtems_bdbuf_release+0x48>         <== NEVER TAKEN
 200f690:	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();                                           
 200f694:	7f ff f7 ac 	call  200d544 <rtems_bdbuf_lock_cache>         
 200f698:	01 00 00 00 	nop                                            
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release");           
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200f69c:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 200f6a0:	80 a2 20 04 	cmp  %o0, 4                                    
 200f6a4:	02 80 00 15 	be  200f6f8 <rtems_bdbuf_release+0x74>         
 200f6a8:	01 00 00 00 	nop                                            
 200f6ac:	18 80 00 0a 	bgu  200f6d4 <rtems_bdbuf_release+0x50>        
 200f6b0:	80 a2 20 06 	cmp  %o0, 6                                    
 200f6b4:	80 a2 20 03 	cmp  %o0, 3                                    
 200f6b8:	22 80 00 16 	be,a   200f710 <rtems_bdbuf_release+0x8c>      <== ALWAYS TAKEN
 200f6bc:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_0);
 200f6c0:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200f6c4:	7f ff f7 a7 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200f6c8:	92 12 60 1c 	or  %o1, 0x1c, %o1	! 4200001c <RAM_END+0x3fc0001c><== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200f6cc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f6d0:	91 e8 20 09 	restore  %g0, 9, %o0                           <== NOT EXECUTED
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release");           
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200f6d4:	18 bf ff fc 	bgu  200f6c4 <rtems_bdbuf_release+0x40>        <== NEVER TAKEN
 200f6d8:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
    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);                   
 200f6dc:	90 10 00 18 	mov  %i0, %o0                                  
 200f6e0:	7f ff f9 cf 	call  200de1c <rtems_bdbuf_discard_buffer_after_access>
 200f6e4:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f6e8:	7f ff f7 ae 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f6ec:	01 00 00 00 	nop                                            
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200f6f0:	81 c7 e0 08 	ret                                            
 200f6f4:	81 e8 00 00 	restore                                        
    case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                              
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
 200f6f8:	7f ff f8 67 	call  200d894 <rtems_bdbuf_add_to_modified_list_after_access>
 200f6fc:	90 10 00 18 	mov  %i0, %o0                                  
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f700:	7f ff f7 a8 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f704:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200f708:	81 c7 e0 08 	ret                                            
 200f70c:	81 e8 00 00 	restore                                        
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200f710:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_group_release (rtems_bdbuf_buffer *bd)                    
{                                                                     
  --bd->group->users;                                                 
 200f714:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 200f718:	90 12 21 b4 	or  %o0, 0x1b4, %o0                            
 200f71c:	84 00 bf ff 	add  %g2, -1, %g2                              
 200f720:	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;                                                  
 200f724:	82 10 20 02 	mov  2, %g1                                    
                                                                      
  the_node->next = tail;                                              
 200f728:	84 02 20 44 	add  %o0, 0x44, %g2                            
 200f72c:	c2 26 20 20 	st  %g1, [ %i0 + 0x20 ]                        
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200f730:	c2 02 20 48 	ld  [ %o0 + 0x48 ], %g1                        
                                                                      
  the_node->next = tail;                                              
 200f734:	c4 26 00 00 	st  %g2, [ %i0 ]                               
  tail->previous = the_node;                                          
 200f738:	f0 22 20 48 	st  %i0, [ %o0 + 0x48 ]                        
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)                                                    
 200f73c:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
 200f740:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
 200f744:	80 a0 a0 00 	cmp  %g2, 0                                    
 200f748:	12 80 00 05 	bne  200f75c <rtems_bdbuf_release+0xd8>        
 200f74c:	f0 20 40 00 	st  %i0, [ %g1 ]                               
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
  else                                                                
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200f750:	7f ff f8 42 	call  200d858 <rtems_bdbuf_wake>               
 200f754:	90 02 20 74 	add  %o0, 0x74, %o0                            
 200f758:	30 bf ff ea 	b,a   200f700 <rtems_bdbuf_release+0x7c>       
{                                                                     
  rtems_bdbuf_group_release (bd);                                     
  rtems_bdbuf_make_cached_and_add_to_lru_list (bd);                   
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
 200f75c:	7f ff f8 3f 	call  200d858 <rtems_bdbuf_wake>               
 200f760:	90 02 20 64 	add  %o0, 0x64, %o0                            
 200f764:	30 bf ff e7 	b,a   200f700 <rtems_bdbuf_release+0x7c>       
                                                                      

0200f768 <rtems_bdbuf_release_modified>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_bdbuf_release_modified (rtems_bdbuf_buffer *bd) {
 200f768:	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 (bd == NULL)                                                     
 200f76c:	80 a6 20 00 	cmp  %i0, 0                                    
 200f770:	02 80 00 14 	be  200f7c0 <rtems_bdbuf_release_modified+0x58><== NEVER TAKEN
 200f774:	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();                                           
 200f778:	7f ff f7 73 	call  200d544 <rtems_bdbuf_lock_cache>         
 200f77c:	01 00 00 00 	nop                                            
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release modified");  
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200f780:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 200f784:	80 a2 20 03 	cmp  %o0, 3                                    
 200f788:	1a 80 00 05 	bcc  200f79c <rtems_bdbuf_release_modified+0x34><== ALWAYS TAKEN
 200f78c:	80 a2 20 05 	cmp  %o0, 5                                    
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_6);
 200f790:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200f794:	7f ff f7 73 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200f798:	92 12 60 04 	or  %o1, 4, %o1	! 42000004 <RAM_END+0x3fc00004><== NOT EXECUTED
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release modified");  
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200f79c:	18 80 00 0b 	bgu  200f7c8 <rtems_bdbuf_release_modified+0x60>
 200f7a0:	80 a2 20 06 	cmp  %o0, 6                                    
  {                                                                   
    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);             
 200f7a4:	90 10 00 18 	mov  %i0, %o0                                  
 200f7a8:	7f ff f8 3b 	call  200d894 <rtems_bdbuf_add_to_modified_list_after_access>
 200f7ac:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f7b0:	7f ff f7 7c 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f7b4:	01 00 00 00 	nop                                            
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200f7b8:	81 c7 e0 08 	ret                                            
 200f7bc:	81 e8 00 00 	restore                                        
}                                                                     
 200f7c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f7c4:	91 e8 20 09 	restore  %g0, 9, %o0                           <== NOT EXECUTED
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "release modified");  
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200f7c8:	12 bf ff f3 	bne  200f794 <rtems_bdbuf_release_modified+0x2c><== NEVER TAKEN
 200f7cc:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
    case RTEMS_BDBUF_STATE_ACCESS_EMPTY:                              
    case RTEMS_BDBUF_STATE_ACCESS_MODIFIED:                           
      rtems_bdbuf_add_to_modified_list_after_access (bd);             
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
 200f7d0:	90 10 00 18 	mov  %i0, %o0                                  
 200f7d4:	7f ff f9 92 	call  200de1c <rtems_bdbuf_discard_buffer_after_access>
 200f7d8:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f7dc:	7f ff f7 71 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f7e0:	01 00 00 00 	nop                                            
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200f7e4:	81 c7 e0 08 	ret                                            
 200f7e8:	81 e8 00 00 	restore                                        
                                                                      

0200d9f8 <rtems_bdbuf_remove_from_tree>: return bdbuf_cache.buffer_waiters.count; } static void rtems_bdbuf_remove_from_tree (rtems_bdbuf_buffer *bd) {
 200d9f8:	9d e3 bf 20 	save  %sp, -224, %sp                           
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  const rtems_disk_device *dd = node->dd;                             
  rtems_blkdev_bnum block = node->block;                              
                                                                      
  rtems_bdbuf_buffer*  p = *root;                                     
 200d9fc:	35 00 80 8a 	sethi  %hi(0x2022800), %i2                     
 200da00:	b4 16 a1 b4 	or  %i2, 0x1b4, %i2	! 20229b4 <bdbuf_cache>    
 200da04:	fa 06 a0 3c 	ld  [ %i2 + 0x3c ], %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));                           
 200da08:	b6 07 bf 80 	add  %fp, -128, %i3                            
 */                                                                   
static int                                                            
rtems_bdbuf_avl_remove(rtems_bdbuf_buffer**      root,                
                       const rtems_bdbuf_buffer* node)                
{                                                                     
  const rtems_disk_device *dd = node->dd;                             
 200da0c:	f8 06 20 14 	ld  [ %i0 + 0x14 ], %i4                        
  rtems_blkdev_bnum block = node->block;                              
 200da10:	e0 06 20 18 	ld  [ %i0 + 0x18 ], %l0                        
  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));                           
 200da14:	90 10 00 1b 	mov  %i3, %o0                                  
 200da18:	92 10 20 00 	clr  %o1                                       
 200da1c:	40 00 1f 39 	call  2015700 <memset>                         
 200da20:	94 10 20 80 	mov  0x80, %o2                                 
                                                                      
  while (p != NULL)                                                   
 200da24:	80 a7 60 00 	cmp  %i5, 0                                    
 200da28:	02 80 00 11 	be  200da6c <rtems_bdbuf_remove_from_tree+0x74><== NEVER TAKEN
 200da2c:	84 10 00 1b 	mov  %i3, %g2                                  
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
 200da30:	88 10 20 01 	mov  1, %g4                                    
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
 200da34:	b2 10 3f ff 	mov  -1, %i1                                   
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
 200da38:	c6 07 60 14 	ld  [ %i5 + 0x14 ], %g3                        
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
 200da3c:	fa 20 80 00 	st  %i5, [ %g2 ]                               
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
 200da40:	80 a0 c0 1c 	cmp  %g3, %i4                                  
 200da44:	0a 80 00 66 	bcs  200dbdc <rtems_bdbuf_remove_from_tree+0x1e4><== NEVER TAKEN
 200da48:	82 00 a0 04 	add  %g2, 4, %g1                               
        || ((p->dd == dd) && (p->block < block)))                     
 200da4c:	80 a7 00 03 	cmp  %i4, %g3                                  
 200da50:	22 80 00 0b 	be,a   200da7c <rtems_bdbuf_remove_from_tree+0x84><== ALWAYS TAKEN
 200da54:	c6 07 60 18 	ld  [ %i5 + 0x18 ], %g3                        
      p->avl.cache = 1;                                               
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
    {                                                                 
      p->avl.cache = -1;                                              
 200da58:	f2 2f 60 10 	stb  %i1, [ %i5 + 0x10 ]                       <== NOT EXECUTED
      p = p->avl.left;                                                
 200da5c:	fa 07 60 08 	ld  [ %i5 + 8 ], %i5                           
                                                                      
  bool modified = false;                                              
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
 200da60:	80 a7 60 00 	cmp  %i5, 0                                    
 200da64:	12 bf ff f5 	bne  200da38 <rtems_bdbuf_remove_from_tree+0x40><== ALWAYS TAKEN
 200da68:	84 10 00 01 	mov  %g1, %g2                                  
                                                                      
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);  
 200da6c:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        <== NOT EXECUTED
 200da70:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200da74:	7f ff fe bb 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200da78:	92 12 60 09 	or  %o1, 9, %o1	! 42000009 <RAM_END+0x3fc00009><== NOT EXECUTED
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
 200da7c:	80 a4 00 03 	cmp  %l0, %g3                                  
 200da80:	38 80 00 58 	bgu,a   200dbe0 <rtems_bdbuf_remove_from_tree+0x1e8>
 200da84:	c8 2f 60 10 	stb  %g4, [ %i5 + 0x10 ]                       
    {                                                                 
      p->avl.cache = 1;                                               
      p = p->avl.right;                                               
    }                                                                 
    else if ((p->dd != dd) || (p->block != block))                    
 200da88:	80 a4 00 03 	cmp  %l0, %g3                                  
 200da8c:	32 bf ff f4 	bne,a   200da5c <rtems_bdbuf_remove_from_tree+0x64>
 200da90:	f2 2f 60 10 	stb  %i1, [ %i5 + 0x10 ]                       
                                                                      
  memset (buf_stack, 0, sizeof(buf_stack));                           
                                                                      
  while (p != NULL)                                                   
  {                                                                   
    *buf_prev++ = p;                                                  
 200da94:	9a 10 00 01 	mov  %g1, %o5                                  
  }                                                                   
                                                                      
  q = p;                                                              
                                                                      
  buf_prev--;                                                         
  if (buf_prev > buf_stack)                                           
 200da98:	80 a0 80 1b 	cmp  %g2, %i3                                  
 200da9c:	18 80 00 6a 	bgu  200dc44 <rtems_bdbuf_remove_from_tree+0x24c>
 200daa0:	b0 10 20 00 	clr  %i0                                       
  {                                                                   
    p = NULL;                                                         
  }                                                                   
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
 200daa4:	f2 07 60 0c 	ld  [ %i5 + 0xc ], %i1                         
 200daa8:	80 a6 60 00 	cmp  %i1, 0                                    
 200daac:	22 80 00 6b 	be,a   200dc58 <rtems_bdbuf_remove_from_tree+0x260>
 200dab0:	c6 07 60 08 	ld  [ %i5 + 8 ], %g3                           
  {                                                                   
    rtems_bdbuf_buffer **t;                                           
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
 200dab4:	c6 06 60 08 	ld  [ %i1 + 8 ], %g3                           
 200dab8:	84 10 00 19 	mov  %i1, %g2                                  
 200dabc:	80 a0 e0 00 	cmp  %g3, 0                                    
 200dac0:	12 80 00 06 	bne  200dad8 <rtems_bdbuf_remove_from_tree+0xe0>
 200dac4:	b8 10 3f ff 	mov  -1, %i4                                   
    {                                                                 
      r->avl.left = q->avl.left;                                      
 200dac8:	10 80 00 ba 	b  200ddb0 <rtems_bdbuf_remove_from_tree+0x3b8>
 200dacc:	c6 07 60 08 	ld  [ %i5 + 8 ], %g3                           
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
 200dad0:	84 10 00 03 	mov  %g3, %g2                                  
 200dad4:	86 10 00 04 	mov  %g4, %g3                                  
 200dad8:	c8 00 e0 08 	ld  [ %g3 + 8 ], %g4                           
      {                                                               
        *buf_prev++ = r = s;                                          
 200dadc:	c4 20 40 00 	st  %g2, [ %g1 ]                               
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
 200dae0:	f8 28 a0 10 	stb  %i4, [ %g2 + 0x10 ]                       
    else                                                              
    {                                                                 
      t = buf_prev++;                                                 
      s = r;                                                          
                                                                      
      while (s->avl.left != NULL)                                     
 200dae4:	80 a1 20 00 	cmp  %g4, 0                                    
 200dae8:	12 bf ff fa 	bne  200dad0 <rtems_bdbuf_remove_from_tree+0xd8>
 200daec:	82 00 60 04 	add  %g1, 4, %g1                               
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
 200daf0:	de 07 60 08 	ld  [ %i5 + 8 ], %o7                           
      r->avl.left = s->avl.right;                                     
 200daf4:	f8 00 e0 0c 	ld  [ %g3 + 0xc ], %i4                         
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
 200daf8:	c8 0f 60 11 	ldub  [ %i5 + 0x11 ], %g4                      
        *buf_prev++ = r = s;                                          
        s = r->avl.left;                                              
        r->avl.cache = -1;                                            
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
 200dafc:	de 20 e0 08 	st  %o7, [ %g3 + 8 ]                           
      r->avl.left = s->avl.right;                                     
 200db00:	f8 20 a0 08 	st  %i4, [ %g2 + 8 ]                           
      s->avl.right = q->avl.right;                                    
 200db04:	f2 20 e0 0c 	st  %i1, [ %g3 + 0xc ]                         
      s->avl.bal = q->avl.bal;                                        
      s->avl.cache = 1;                                               
 200db08:	84 10 20 01 	mov  1, %g2                                    
      }                                                               
                                                                      
      s->avl.left = q->avl.left;                                      
      r->avl.left = s->avl.right;                                     
      s->avl.right = q->avl.right;                                    
      s->avl.bal = q->avl.bal;                                        
 200db0c:	c8 28 e0 11 	stb  %g4, [ %g3 + 0x11 ]                       
      s->avl.cache = 1;                                               
 200db10:	c4 28 e0 10 	stb  %g2, [ %g3 + 0x10 ]                       
                                                                      
      *t = q = s;                                                     
 200db14:	c6 23 7f fc 	st  %g3, [ %o5 + -4 ]                          
    }                                                                 
  }                                                                   
                                                                      
  if (p != NULL)                                                      
 200db18:	80 a6 20 00 	cmp  %i0, 0                                    
 200db1c:	22 80 00 07 	be,a   200db38 <rtems_bdbuf_remove_from_tree+0x140>
 200db20:	c6 26 a0 3c 	st  %g3, [ %i2 + 0x3c ]                        
  {                                                                   
    if (p->avl.cache == -1)                                           
 200db24:	c4 4e 20 10 	ldsb  [ %i0 + 0x10 ], %g2                      
 200db28:	80 a0 bf ff 	cmp  %g2, -1                                   
 200db2c:	22 80 00 03 	be,a   200db38 <rtems_bdbuf_remove_from_tree+0x140>
 200db30:	c6 26 20 08 	st  %g3, [ %i0 + 8 ]                           
    {                                                                 
      p->avl.left = q;                                                
    }                                                                 
    else                                                              
    {                                                                 
      p->avl.right = q;                                               
 200db34:	c6 26 20 0c 	st  %g3, [ %i0 + 0xc ]                         
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
  {                                                                   
    if (buf_prev > buf_stack)                                         
 200db38:	80 a0 40 1b 	cmp  %g1, %i3                                  
 200db3c:	08 80 00 26 	bleu  200dbd4 <rtems_bdbuf_remove_from_tree+0x1dc>
 200db40:	b2 10 3f ff 	mov  -1, %i1                                   
 200db44:	c4 00 7f fc 	ld  [ %g1 + -4 ], %g2                          
 200db48:	c8 08 a0 10 	ldub  [ %g2 + 0x10 ], %g4                      
 200db4c:	10 80 00 10 	b  200db8c <rtems_bdbuf_remove_from_tree+0x194>
 200db50:	89 29 20 18 	sll  %g4, 0x18, %g4                            
        case +1:                                                      
          p->avl.bal = 0;                                             
          break;                                                      
                                                                      
        case  0:                                                      
          p->avl.bal = -1;                                            
 200db54:	86 10 00 02 	mov  %g2, %g3                                  
          modified = false;                                           
 200db58:	ba 10 20 00 	clr  %i5                                       
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
 200db5c:	80 a0 40 1b 	cmp  %g1, %i3                                  
 200db60:	28 80 00 1d 	bleu,a   200dbd4 <rtems_bdbuf_remove_from_tree+0x1dc>
 200db64:	c6 26 a0 3c 	st  %g3, [ %i2 + 0x3c ]                        
    {                                                                 
      q = *(buf_prev - 1);                                            
 200db68:	c4 00 7f fc 	ld  [ %g1 + -4 ], %g2                          
                                                                      
      if (q->avl.cache == -1)                                         
 200db6c:	c8 08 a0 10 	ldub  [ %g2 + 0x10 ], %g4                      
 200db70:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 200db74:	b9 39 20 18 	sra  %g4, 0x18, %i4                            
 200db78:	80 a7 3f ff 	cmp  %i4, -1                                   
 200db7c:	02 80 00 47 	be  200dc98 <rtems_bdbuf_remove_from_tree+0x2a0>
 200db80:	80 8f 60 ff 	btst  0xff, %i5                                
    *root = q;                                                        
  }                                                                   
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
 200db84:	02 80 00 14 	be  200dbd4 <rtems_bdbuf_remove_from_tree+0x1dc>
 200db88:	c6 20 a0 0c 	st  %g3, [ %g2 + 0xc ]                         
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
 200db8c:	89 39 20 18 	sra  %g4, 0x18, %g4                            
                                                                      
  while (modified)                                                    
  {                                                                   
    if (buf_prev > buf_stack)                                         
    {                                                                 
      p = *--buf_prev;                                                
 200db90:	82 00 7f fc 	add  %g1, -4, %g1                              
    else                                                              
    {                                                                 
      break;                                                          
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
 200db94:	80 a1 3f ff 	cmp  %g4, -1                                   
 200db98:	02 80 00 38 	be  200dc78 <rtems_bdbuf_remove_from_tree+0x280>
 200db9c:	c6 48 a0 11 	ldsb  [ %g2 + 0x11 ], %g3                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
 200dba0:	80 a0 e0 00 	cmp  %g3, 0                                    
 200dba4:	22 bf ff ec 	be,a   200db54 <rtems_bdbuf_remove_from_tree+0x15c>
 200dba8:	f2 28 a0 11 	stb  %i1, [ %g2 + 0x11 ]                       
 200dbac:	80 a0 e0 01 	cmp  %g3, 1                                    
 200dbb0:	02 80 00 42 	be  200dcb8 <rtems_bdbuf_remove_from_tree+0x2c0>
 200dbb4:	80 a0 ff ff 	cmp  %g3, -1                                   
 200dbb8:	22 80 00 0c 	be,a   200dbe8 <rtems_bdbuf_remove_from_tree+0x1f0><== ALWAYS TAKEN
 200dbbc:	c8 00 a0 08 	ld  [ %g2 + 8 ], %g4                           
 200dbc0:	86 10 00 02 	mov  %g2, %g3                                  <== NOT EXECUTED
        default:                                                      
          break;                                                      
      }                                                               
    }                                                                 
                                                                      
    if (buf_prev > buf_stack)                                         
 200dbc4:	80 a0 40 1b 	cmp  %g1, %i3                                  <== NOT EXECUTED
 200dbc8:	18 bf ff e8 	bgu  200db68 <rtems_bdbuf_remove_from_tree+0x170><== NOT EXECUTED
 200dbcc:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
        q->avl.right = p;                                             
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      *root = p;                                                      
 200dbd0:	c6 26 a0 3c 	st  %g3, [ %i2 + 0x3c ]                        <== NOT EXECUTED
 200dbd4:	81 c7 e0 08 	ret                                            
 200dbd8:	81 e8 00 00 	restore                                        
    *buf_prev++ = p;                                                  
                                                                      
    if (((uintptr_t) p->dd < (uintptr_t) dd)                          
        || ((p->dd == dd) && (p->block < block)))                     
    {                                                                 
      p->avl.cache = 1;                                               
 200dbdc:	c8 2f 60 10 	stb  %g4, [ %i5 + 0x10 ]                       <== NOT EXECUTED
      p = p->avl.right;                                               
 200dbe0:	10 bf ff a0 	b  200da60 <rtems_bdbuf_remove_from_tree+0x68> 
 200dbe4:	fa 07 60 0c 	ld  [ %i5 + 0xc ], %i5                         
          break;                                                      
                                                                      
        case -1:                                                      
          p1 = p->avl.left;                                           
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
 200dbe8:	c6 49 20 11 	ldsb  [ %g4 + 0x11 ], %g3                      
 200dbec:	80 a0 e0 00 	cmp  %g3, 0                                    
 200dbf0:	24 80 00 41 	ble,a   200dcf4 <rtems_bdbuf_remove_from_tree+0x2fc>
 200dbf4:	fa 01 20 0c 	ld  [ %g4 + 0xc ], %i5                         
            }                                                         
            p = p1;                                                   
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
 200dbf8:	c6 01 20 0c 	ld  [ %g4 + 0xc ], %g3                         
                                                                      
            p1->avl.right = p2->avl.left;                             
 200dbfc:	f8 00 e0 08 	ld  [ %g3 + 8 ], %i4                           
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
            p2->avl.right = p;                                        
                                                                      
            if (p2->avl.bal == -1) p->avl.bal = 1; else p->avl.bal = 0;
 200dc00:	fa 48 e0 11 	ldsb  [ %g3 + 0x11 ], %i5                      
          }                                                           
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
 200dc04:	f8 21 20 0c 	st  %i4, [ %g4 + 0xc ]                         
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
 200dc08:	f8 00 e0 0c 	ld  [ %g3 + 0xc ], %i4                         
          else /* double LR-turn */                                   
          {                                                           
            p2 = p1->avl.right;                                       
                                                                      
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
 200dc0c:	c8 20 e0 08 	st  %g4, [ %g3 + 8 ]                           
            p->avl.left = p2->avl.right;                              
 200dc10:	f8 20 a0 08 	st  %i4, [ %g2 + 8 ]                           
            p2->avl.right = p;                                        
                                                                      
            if (p2->avl.bal == -1) p->avl.bal = 1; else p->avl.bal = 0;
 200dc14:	80 a7 7f ff 	cmp  %i5, -1                                   
 200dc18:	02 80 00 40 	be  200dd18 <rtems_bdbuf_remove_from_tree+0x320>
 200dc1c:	c4 20 e0 0c 	st  %g2, [ %g3 + 0xc ]                         
 200dc20:	c0 28 a0 11 	clrb  [ %g2 + 0x11 ]                           
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
 200dc24:	c4 48 e0 11 	ldsb  [ %g3 + 0x11 ], %g2                      
 200dc28:	80 a0 a0 01 	cmp  %g2, 1                                    
 200dc2c:	22 80 00 42 	be,a   200dd34 <rtems_bdbuf_remove_from_tree+0x33c>
 200dc30:	f2 29 20 11 	stb  %i1, [ %g4 + 0x11 ]                       
 200dc34:	c0 29 20 11 	clrb  [ %g4 + 0x11 ]                           
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
 200dc38:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
 200dc3c:	10 bf ff c8 	b  200db5c <rtems_bdbuf_remove_from_tree+0x164>
 200dc40:	ba 10 20 01 	mov  1, %i5                                    
  {                                                                   
    p = NULL;                                                         
  }                                                                   
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
 200dc44:	f2 07 60 0c 	ld  [ %i5 + 0xc ], %i1                         
 200dc48:	80 a6 60 00 	cmp  %i1, 0                                    
 200dc4c:	12 bf ff 9a 	bne  200dab4 <rtems_bdbuf_remove_from_tree+0xbc>
 200dc50:	f0 00 7f f8 	ld  [ %g1 + -8 ], %i0                          
  {                                                                   
    r = q->avl.left;                                                  
 200dc54:	c6 07 60 08 	ld  [ %i5 + 8 ], %g3                           
    if (r != NULL)                                                    
 200dc58:	80 a0 e0 00 	cmp  %g3, 0                                    
 200dc5c:	02 80 00 61 	be  200dde0 <rtems_bdbuf_remove_from_tree+0x3e8>
 200dc60:	80 a6 20 00 	cmp  %i0, 0                                    
    {                                                                 
      r->avl.bal = 0;                                                 
 200dc64:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
                                                                      
      *t = q = s;                                                     
    }                                                                 
  }                                                                   
                                                                      
  if (p != NULL)                                                      
 200dc68:	12 bf ff af 	bne  200db24 <rtems_bdbuf_remove_from_tree+0x12c>
 200dc6c:	82 10 00 02 	mov  %g2, %g1                                  
      p->avl.right = q;                                               
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    *root = q;                                                        
 200dc70:	10 bf ff b2 	b  200db38 <rtems_bdbuf_remove_from_tree+0x140>
 200dc74:	c6 26 a0 3c 	st  %g3, [ %i2 + 0x3c ]                        
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
 200dc78:	80 a0 e0 00 	cmp  %g3, 0                                    
 200dc7c:	12 80 00 0b 	bne  200dca8 <rtems_bdbuf_remove_from_tree+0x2b0>
 200dc80:	80 a0 e0 01 	cmp  %g3, 1                                    
      {                                                               
        case -1:                                                      
          p->avl.bal = 0;                                             
          break;                                                      
        case  0:                                                      
          p->avl.bal = 1;                                             
 200dc84:	88 10 20 01 	mov  1, %g4                                    
 200dc88:	86 10 00 02 	mov  %g2, %g3                                  
 200dc8c:	c8 28 a0 11 	stb  %g4, [ %g2 + 0x11 ]                       
          modified = false;                                           
 200dc90:	10 bf ff b3 	b  200db5c <rtems_bdbuf_remove_from_tree+0x164>
 200dc94:	ba 10 20 00 	clr  %i5                                       
    *root = q;                                                        
  }                                                                   
                                                                      
  modified = true;                                                    
                                                                      
  while (modified)                                                    
 200dc98:	12 bf ff bd 	bne  200db8c <rtems_bdbuf_remove_from_tree+0x194>
 200dc9c:	c6 20 a0 08 	st  %g3, [ %g2 + 8 ]                           
 200dca0:	81 c7 e0 08 	ret                                            
 200dca4:	81 e8 00 00 	restore                                        
    }                                                                 
                                                                      
    if (p->avl.cache == -1)                                           
    {                                                                 
      /* rebalance left branch */                                     
      switch (p->avl.bal)                                             
 200dca8:	02 80 00 08 	be  200dcc8 <rtems_bdbuf_remove_from_tree+0x2d0>
 200dcac:	80 a0 ff ff 	cmp  %g3, -1                                   
 200dcb0:	32 bf ff c5 	bne,a   200dbc4 <rtems_bdbuf_remove_from_tree+0x1cc><== NEVER TAKEN
 200dcb4:	86 10 00 02 	mov  %g2, %g3                                  <== NOT EXECUTED
    {                                                                 
      /* rebalance right branch */                                    
      switch (p->avl.bal)                                             
      {                                                               
        case +1:                                                      
          p->avl.bal = 0;                                             
 200dcb8:	c0 28 a0 11 	clrb  [ %g2 + 0x11 ]                           
 200dcbc:	86 10 00 02 	mov  %g2, %g3                                  
 200dcc0:	10 bf ff a7 	b  200db5c <rtems_bdbuf_remove_from_tree+0x164>
 200dcc4:	ba 10 20 01 	mov  1, %i5                                    
          p->avl.bal = 1;                                             
          modified = false;                                           
          break;                                                      
                                                                      
        case +1:                                                      
          p1 = p->avl.right;                                          
 200dcc8:	c6 00 a0 0c 	ld  [ %g2 + 0xc ], %g3                         
                                                                      
          if (p1->avl.bal >= 0) /* simple RR-turn */                  
 200dccc:	fa 48 e0 11 	ldsb  [ %g3 + 0x11 ], %i5                      
 200dcd0:	80 a7 60 00 	cmp  %i5, 0                                    
 200dcd4:	26 80 00 24 	bl,a   200dd64 <rtems_bdbuf_remove_from_tree+0x36c>
 200dcd8:	fa 00 e0 08 	ld  [ %g3 + 8 ], %i5                           
          {                                                           
            p->avl.right = p1->avl.left;                              
 200dcdc:	f8 00 e0 08 	ld  [ %g3 + 8 ], %i4                           
            p1->avl.left = p;                                         
 200dce0:	c4 20 e0 08 	st  %g2, [ %g3 + 8 ]                           
                                                                      
            if (p1->avl.bal == 0)                                     
 200dce4:	12 80 00 17 	bne  200dd40 <rtems_bdbuf_remove_from_tree+0x348>
 200dce8:	f8 20 a0 0c 	st  %i4, [ %g2 + 0xc ]                         
            {                                                         
              p1->avl.bal = -1;                                       
 200dcec:	10 bf ff 9c 	b  200db5c <rtems_bdbuf_remove_from_tree+0x164>
 200dcf0:	c8 28 e0 11 	stb  %g4, [ %g3 + 0x11 ]                       
          p1 = p->avl.left;                                           
                                                                      
          if (p1->avl.bal <= 0) /* simple LL-turn */                  
          {                                                           
            p->avl.left = p1->avl.right;                              
            p1->avl.right = p;                                        
 200dcf4:	c4 21 20 0c 	st  %g2, [ %g4 + 0xc ]                         
            if (p1->avl.bal == 0)                                     
 200dcf8:	80 a0 e0 00 	cmp  %g3, 0                                    
 200dcfc:	12 80 00 15 	bne  200dd50 <rtems_bdbuf_remove_from_tree+0x358><== NEVER TAKEN
 200dd00:	fa 20 a0 08 	st  %i5, [ %g2 + 8 ]                           
            {                                                         
              p1->avl.bal = 1;                                        
 200dd04:	84 10 20 01 	mov  1, %g2                                    
 200dd08:	86 10 00 04 	mov  %g4, %g3                                  
 200dd0c:	c4 29 20 11 	stb  %g2, [ %g4 + 0x11 ]                       
              modified = false;                                       
 200dd10:	10 bf ff 93 	b  200db5c <rtems_bdbuf_remove_from_tree+0x164>
 200dd14:	ba 10 20 00 	clr  %i5                                       
            p1->avl.right = p2->avl.left;                             
            p2->avl.left = p1;                                        
            p->avl.left = p2->avl.right;                              
            p2->avl.right = p;                                        
                                                                      
            if (p2->avl.bal == -1) p->avl.bal = 1; else p->avl.bal = 0;
 200dd18:	ba 10 20 01 	mov  1, %i5                                    
 200dd1c:	fa 28 a0 11 	stb  %i5, [ %g2 + 0x11 ]                       
            if (p2->avl.bal == +1) p1->avl.bal = -1; else p1->avl.bal = 0;
 200dd20:	c4 48 e0 11 	ldsb  [ %g3 + 0x11 ], %g2                      
 200dd24:	80 a0 a0 01 	cmp  %g2, 1                                    
 200dd28:	32 bf ff c4 	bne,a   200dc38 <rtems_bdbuf_remove_from_tree+0x240><== ALWAYS TAKEN
 200dd2c:	c0 29 20 11 	clrb  [ %g4 + 0x11 ]                           
 200dd30:	f2 29 20 11 	stb  %i1, [ %g4 + 0x11 ]                       <== NOT EXECUTED
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
 200dd34:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
 200dd38:	10 bf ff 89 	b  200db5c <rtems_bdbuf_remove_from_tree+0x164>
 200dd3c:	ba 10 20 01 	mov  1, %i5                                    
              p1->avl.bal = -1;                                       
              modified = false;                                       
            }                                                         
            else                                                      
            {                                                         
              p->avl.bal = 0;                                         
 200dd40:	c0 28 a0 11 	clrb  [ %g2 + 0x11 ]                           
              p1->avl.bal = 0;                                        
 200dd44:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
 200dd48:	10 bf ff 85 	b  200db5c <rtems_bdbuf_remove_from_tree+0x164>
 200dd4c:	ba 10 20 01 	mov  1, %i5                                    
              p1->avl.bal = 1;                                        
              modified = false;                                       
            }                                                         
            else                                                      
            {                                                         
              p->avl.bal = 0;                                         
 200dd50:	c0 28 a0 11 	clrb  [ %g2 + 0x11 ]                           <== NOT EXECUTED
              p1->avl.bal = 0;                                        
 200dd54:	c0 29 20 11 	clrb  [ %g4 + 0x11 ]                           <== NOT EXECUTED
 200dd58:	86 10 00 04 	mov  %g4, %g3                                  <== NOT EXECUTED
 200dd5c:	10 bf ff 80 	b  200db5c <rtems_bdbuf_remove_from_tree+0x164><== NOT EXECUTED
 200dd60:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
 200dd64:	f0 07 60 0c 	ld  [ %i5 + 0xc ], %i0                         
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
            p2->avl.left = p;                                         
                                                                      
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
 200dd68:	f8 4f 60 11 	ldsb  [ %i5 + 0x11 ], %i4                      
          }                                                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
 200dd6c:	f0 20 e0 08 	st  %i0, [ %g3 + 8 ]                           
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
 200dd70:	f0 07 60 08 	ld  [ %i5 + 8 ], %i0                           
          else /* double RL-turn */                                   
          {                                                           
            p2 = p1->avl.left;                                        
                                                                      
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
 200dd74:	c6 27 60 0c 	st  %g3, [ %i5 + 0xc ]                         
            p->avl.right = p2->avl.left;                              
 200dd78:	f0 20 a0 0c 	st  %i0, [ %g2 + 0xc ]                         
            p2->avl.left = p;                                         
                                                                      
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
 200dd7c:	80 a7 20 01 	cmp  %i4, 1                                    
 200dd80:	02 80 00 16 	be  200ddd8 <rtems_bdbuf_remove_from_tree+0x3e0>
 200dd84:	c4 27 60 08 	st  %g2, [ %i5 + 8 ]                           
 200dd88:	c0 28 a0 11 	clrb  [ %g2 + 0x11 ]                           
            if (p2->avl.bal == -1) p1->avl.bal = 1; else p1->avl.bal = 0;
 200dd8c:	c4 4f 60 11 	ldsb  [ %i5 + 0x11 ], %g2                      
 200dd90:	80 a0 bf ff 	cmp  %g2, -1                                   
 200dd94:	02 80 00 0f 	be  200ddd0 <rtems_bdbuf_remove_from_tree+0x3d8><== NEVER TAKEN
 200dd98:	84 10 20 01 	mov  1, %g2                                    
 200dd9c:	c0 28 e0 11 	clrb  [ %g3 + 0x11 ]                           
                                                                      
            p = p2;                                                   
            p2->avl.bal = 0;                                          
 200dda0:	c0 2f 60 11 	clrb  [ %i5 + 0x11 ]                           
 200dda4:	86 10 00 1d 	mov  %i5, %g3                                  
 200dda8:	10 bf ff 6d 	b  200db5c <rtems_bdbuf_remove_from_tree+0x164>
 200ddac:	ba 10 20 01 	mov  1, %i5                                    
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
      r->avl.bal = q->avl.bal;                                        
 200ddb0:	c4 0f 60 11 	ldub  [ %i5 + 0x11 ], %g2                      
                                                                      
    r = q->avl.right;                                                 
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
 200ddb4:	c6 26 60 08 	st  %g3, [ %i1 + 8 ]                           
      r->avl.bal = q->avl.bal;                                        
 200ddb8:	c4 2e 60 11 	stb  %g2, [ %i1 + 0x11 ]                       
      r->avl.cache = 1;                                               
      *buf_prev++ = q = r;                                            
 200ddbc:	f2 20 7f fc 	st  %i1, [ %g1 + -4 ]                          
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
      r->avl.bal = q->avl.bal;                                        
      r->avl.cache = 1;                                               
 200ddc0:	84 10 20 01 	mov  1, %g2                                    
      *buf_prev++ = q = r;                                            
 200ddc4:	86 10 00 19 	mov  %i1, %g3                                  
                                                                      
    if (r->avl.left == NULL)                                          
    {                                                                 
      r->avl.left = q->avl.left;                                      
      r->avl.bal = q->avl.bal;                                        
      r->avl.cache = 1;                                               
 200ddc8:	10 bf ff 54 	b  200db18 <rtems_bdbuf_remove_from_tree+0x120>
 200ddcc:	c4 2e 60 10 	stb  %g2, [ %i1 + 0x10 ]                       
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
            p2->avl.left = p;                                         
                                                                      
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
            if (p2->avl.bal == -1) p1->avl.bal = 1; else p1->avl.bal = 0;
 200ddd0:	10 bf ff f4 	b  200dda0 <rtems_bdbuf_remove_from_tree+0x3a8><== NOT EXECUTED
 200ddd4:	c4 28 e0 11 	stb  %g2, [ %g3 + 0x11 ]                       <== NOT EXECUTED
            p1->avl.left = p2->avl.right;                             
            p2->avl.right = p1;                                       
            p->avl.right = p2->avl.left;                              
            p2->avl.left = p;                                         
                                                                      
            if (p2->avl.bal == +1) p->avl.bal = -1; else p->avl.bal = 0;
 200ddd8:	10 bf ff ed 	b  200dd8c <rtems_bdbuf_remove_from_tree+0x394>
 200dddc:	c8 28 a0 11 	stb  %g4, [ %g2 + 0x11 ]                       
                                                                      
  /* at this moment q - is a node to delete, p is q's parent */       
  if (q->avl.right == NULL)                                           
  {                                                                   
    r = q->avl.left;                                                  
    if (r != NULL)                                                    
 200dde0:	10 bf ff 4e 	b  200db18 <rtems_bdbuf_remove_from_tree+0x120>
 200dde4:	82 10 00 02 	mov  %g2, %g1                                  
                                                                      

0200de74 <rtems_bdbuf_remove_from_tree_and_lru_list>: rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_TREE_RM); } static void rtems_bdbuf_remove_from_tree_and_lru_list (rtems_bdbuf_buffer *bd) {
 200de74:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch (bd->state)                                                  
 200de78:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 200de7c:	80 a2 20 00 	cmp  %o0, 0                                    
 200de80:	22 80 00 0a 	be,a   200dea8 <rtems_bdbuf_remove_from_tree_and_lru_list+0x34>
 200de84:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 200de88:	80 a2 20 02 	cmp  %o0, 2                                    
 200de8c:	02 80 00 04 	be  200de9c <rtems_bdbuf_remove_from_tree_and_lru_list+0x28><== ALWAYS TAKEN
 200de90:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
      break;                                                          
    case RTEMS_BDBUF_STATE_CACHED:                                    
      rtems_bdbuf_remove_from_tree (bd);                              
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_10);
 200de94:	7f ff fd b3 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200de98:	92 12 60 08 	or  %o1, 8, %o1	! 42000008 <RAM_END+0x3fc00008><== NOT EXECUTED
  switch (bd->state)                                                  
  {                                                                   
    case RTEMS_BDBUF_STATE_FREE:                                      
      break;                                                          
    case RTEMS_BDBUF_STATE_CACHED:                                    
      rtems_bdbuf_remove_from_tree (bd);                              
 200de9c:	7f ff fe d7 	call  200d9f8 <rtems_bdbuf_remove_from_tree>   
 200dea0:	90 10 00 18 	mov  %i0, %o0                                  
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 200dea4:	c4 06 00 00 	ld  [ %i0 ], %g2                               
  previous       = the_node->previous;                                
 200dea8:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
  next->previous = previous;                                          
 200deac:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
  previous->next = next;                                              
 200deb0:	c4 20 40 00 	st  %g2, [ %g1 ]                               
 200deb4:	81 c7 e0 08 	ret                                            
 200deb8:	81 e8 00 00 	restore                                        
                                                                      

0200fd00 <rtems_bdbuf_reset_device_stats>: } void rtems_bdbuf_reset_device_stats (rtems_disk_device *dd) {
 200fd00:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_bdbuf_lock_cache ();                                          
 200fd04:	7f ff f6 10 	call  200d544 <rtems_bdbuf_lock_cache>         <== NOT EXECUTED
 200fd08:	01 00 00 00 	nop                                            <== NOT EXECUTED
  memset (&dd->stats, 0, sizeof(dd->stats));                          
 200fd0c:	92 10 20 00 	clr  %o1	! 0 <PROM_START>                      <== NOT EXECUTED
 200fd10:	90 06 20 44 	add  %i0, 0x44, %o0                            <== NOT EXECUTED
 200fd14:	40 00 16 7b 	call  2015700 <memset>                         <== NOT EXECUTED
 200fd18:	94 10 20 20 	mov  0x20, %o2                                 <== NOT EXECUTED
  rtems_bdbuf_unlock_cache ();                                        
 200fd1c:	7f ff f6 21 	call  200d5a0 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200fd20:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200d694 <rtems_bdbuf_restore_preemption>: return prev_mode; } static void rtems_bdbuf_restore_preemption (rtems_mode prev_mode) {
 200d694:	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); 
 200d698:	13 00 00 3f 	sethi  %hi(0xfc00), %o1                        
  return prev_mode;                                                   
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_restore_preemption (rtems_mode prev_mode)                 
{                                                                     
 200d69c:	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); 
 200d6a0:	90 10 00 18 	mov  %i0, %o0                                  
 200d6a4:	94 07 a0 44 	add  %fp, 0x44, %o2                            
 200d6a8:	40 00 12 55 	call  2011ffc <rtems_task_mode>                
 200d6ac:	92 12 63 ff 	or  %o1, 0x3ff, %o1                            
  if (sc != RTEMS_SUCCESSFUL)                                         
 200d6b0:	80 a2 20 00 	cmp  %o0, 0                                    
 200d6b4:	12 80 00 04 	bne  200d6c4 <rtems_bdbuf_restore_preemption+0x30><== NEVER TAKEN
 200d6b8:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
 200d6bc:	81 c7 e0 08 	ret                                            
 200d6c0:	81 e8 00 00 	restore                                        
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_PREEMPT_RST);
 200d6c4:	7f ff f0 54 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d6c8:	90 12 20 11 	or  %o0, 0x11, %o0                             <== NOT EXECUTED
                                                                      

0200fb9c <rtems_bdbuf_set_block_size>: rtems_bdbuf_unlock_cache (); } rtems_status_code rtems_bdbuf_set_block_size (rtems_disk_device *dd, uint32_t block_size) {
 200fb9c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200fba0:	7f ff f6 69 	call  200d544 <rtems_bdbuf_lock_cache>         
 200fba4:	b8 10 00 18 	mov  %i0, %i4                                  
                                                                      
  if (block_size > 0)                                                 
 200fba8:	80 a6 60 00 	cmp  %i1, 0                                    
 200fbac:	12 80 00 06 	bne  200fbc4 <rtems_bdbuf_set_block_size+0x28> 
 200fbb0:	b0 10 20 0a 	mov  0xa, %i0                                  
  else                                                                
  {                                                                   
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200fbb4:	7f ff f6 7b 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200fbb8:	01 00 00 00 	nop                                            
 200fbbc:	81 c7 e0 08 	ret                                            
 200fbc0:	81 e8 00 00 	restore                                        
rtems_bdbuf_bds_per_group (size_t size)                               
{                                                                     
  size_t bufs_per_size;                                               
  size_t bds_per_size;                                                
                                                                      
  if (size > bdbuf_config.buffer_max)                                 
 200fbc4:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 200fbc8:	82 10 62 80 	or  %g1, 0x280, %g1	! 201fe80 <rtems_bdbuf_configuration>
 200fbcc:	c4 00 60 28 	ld  [ %g1 + 0x28 ], %g2                        
 200fbd0:	80 a6 40 02 	cmp  %i1, %g2                                  
 200fbd4:	18 bf ff f8 	bgu  200fbb4 <rtems_bdbuf_set_block_size+0x18> <== NEVER TAKEN
 200fbd8:	01 00 00 00 	nop                                            
    return 0;                                                         
                                                                      
  bufs_per_size = ((size - 1) / bdbuf_config.buffer_min) + 1;         
 200fbdc:	d2 00 60 24 	ld  [ %g1 + 0x24 ], %o1                        
 200fbe0:	40 00 37 88 	call  201da00 <.udiv>                          
 200fbe4:	90 06 7f ff 	add  %i1, -1, %o0                              
 200fbe8:	90 02 20 01 	inc  %o0                                       
                                                                      
  for (bds_per_size = 1;                                              
 200fbec:	80 a2 20 01 	cmp  %o0, 1                                    
 200fbf0:	08 80 00 06 	bleu  200fc08 <rtems_bdbuf_set_block_size+0x6c>
 200fbf4:	92 10 20 01 	mov  1, %o1                                    
       bds_per_size < bufs_per_size;                                  
       bds_per_size <<= 1)                                            
 200fbf8:	93 2a 60 01 	sll  %o1, 1, %o1                               
  if (size > bdbuf_config.buffer_max)                                 
    return 0;                                                         
                                                                      
  bufs_per_size = ((size - 1) / bdbuf_config.buffer_min) + 1;         
                                                                      
  for (bds_per_size = 1;                                              
 200fbfc:	80 a2 00 09 	cmp  %o0, %o1                                  
 200fc00:	38 bf ff ff 	bgu,a   200fbfc <rtems_bdbuf_set_block_size+0x60>
 200fc04:	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;                
 200fc08:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 200fc0c:	d0 00 61 d4 	ld  [ %g1 + 0x1d4 ], %o0	! 20229d4 <bdbuf_cache+0x20>
 200fc10:	40 00 37 7c 	call  201da00 <.udiv>                          
 200fc14:	b0 10 20 0a 	mov  0xa, %i0                                  
                                                                      
  if (block_size > 0)                                                 
  {                                                                   
    size_t bds_per_group = rtems_bdbuf_bds_per_group (block_size);    
                                                                      
    if (bds_per_group != 0)                                           
 200fc18:	80 a2 20 00 	cmp  %o0, 0                                    
 200fc1c:	02 bf ff e6 	be  200fbb4 <rtems_bdbuf_set_block_size+0x18>  <== NEVER TAKEN
 200fc20:	b4 10 00 08 	mov  %o0, %i2                                  
    {                                                                 
      int block_to_media_block_shift = 0;                             
      uint32_t media_blocks_per_block = block_size / dd->media_block_size;
 200fc24:	f0 07 20 20 	ld  [ %i4 + 0x20 ], %i0                        
 200fc28:	90 10 00 19 	mov  %i1, %o0                                  
 200fc2c:	92 10 00 18 	mov  %i0, %o1                                  
 200fc30:	40 00 37 74 	call  201da00 <.udiv>                          
 200fc34:	ba 10 20 00 	clr  %i5                                       
      uint32_t one = 1;                                               
                                                                      
      while ((one << block_to_media_block_shift) < media_blocks_per_block)
 200fc38:	80 a2 20 01 	cmp  %o0, 1                                    
 200fc3c:	08 80 00 08 	bleu  200fc5c <rtems_bdbuf_set_block_size+0xc0>
 200fc40:	b6 10 00 08 	mov  %o0, %i3                                  
 200fc44:	84 10 20 01 	mov  1, %g2                                    
      {                                                               
        ++block_to_media_block_shift;                                 
 200fc48:	ba 07 60 01 	inc  %i5                                       
    {                                                                 
      int block_to_media_block_shift = 0;                             
      uint32_t media_blocks_per_block = block_size / dd->media_block_size;
      uint32_t one = 1;                                               
                                                                      
      while ((one << block_to_media_block_shift) < media_blocks_per_block)
 200fc4c:	83 28 80 1d 	sll  %g2, %i5, %g1                             
 200fc50:	80 a6 c0 01 	cmp  %i3, %g1                                  
 200fc54:	38 bf ff fe 	bgu,a   200fc4c <rtems_bdbuf_set_block_size+0xb0><== NEVER TAKEN
 200fc58:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
      {                                                               
        ++block_to_media_block_shift;                                 
      }                                                               
                                                                      
      if ((dd->media_block_size << block_to_media_block_shift) != block_size)
 200fc5c:	b1 2e 00 1d 	sll  %i0, %i5, %i0                             
 200fc60:	80 a6 00 19 	cmp  %i0, %i1                                  
 200fc64:	32 80 00 02 	bne,a   200fc6c <rtems_bdbuf_set_block_size+0xd0><== NEVER TAKEN
 200fc68:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
        block_to_media_block_shift = -1;                              
                                                                      
      dd->block_size = block_size;                                    
      dd->block_count = dd->size / media_blocks_per_block;            
 200fc6c:	d0 07 20 1c 	ld  [ %i4 + 0x1c ], %o0                        
      }                                                               
                                                                      
      if ((dd->media_block_size << block_to_media_block_shift) != block_size)
        block_to_media_block_shift = -1;                              
                                                                      
      dd->block_size = block_size;                                    
 200fc70:	f2 27 20 24 	st  %i1, [ %i4 + 0x24 ]                        
      dd->block_count = dd->size / media_blocks_per_block;            
 200fc74:	40 00 37 63 	call  201da00 <.udiv>                          
 200fc78:	92 10 00 1b 	mov  %i3, %o1                                  
 200fc7c:	c2 07 20 64 	ld  [ %i4 + 0x64 ], %g1                        
 200fc80:	d0 27 20 28 	st  %o0, [ %i4 + 0x28 ]                        
      dd->media_blocks_per_block = media_blocks_per_block;            
 200fc84:	f6 27 20 2c 	st  %i3, [ %i4 + 0x2c ]                        
      dd->block_to_media_block_shift = block_to_media_block_shift;    
 200fc88:	fa 27 20 30 	st  %i5, [ %i4 + 0x30 ]                        
 200fc8c:	80 a0 60 00 	cmp  %g1, 0                                    
 200fc90:	02 80 00 0d 	be  200fcc4 <rtems_bdbuf_set_block_size+0x128> <== ALWAYS TAKEN
 200fc94:	f4 27 20 34 	st  %i2, [ %i4 + 0x34 ]                        
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
 200fc98:	c4 07 20 68 	ld  [ %i4 + 0x68 ], %g2                        <== NOT EXECUTED
  next->previous = previous;                                          
 200fc9c:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           <== NOT EXECUTED
  previous->next = next;                                              
 200fca0:	c2 20 80 00 	st  %g1, [ %g2 ]                               <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 200fca4:	c0 27 20 68 	clr  [ %i4 + 0x68 ]                            <== NOT EXECUTED
 200fca8:	c0 27 20 64 	clr  [ %i4 + 0x64 ]                            <== NOT EXECUTED
                                                                      
static void                                                           
rtems_bdbuf_read_ahead_reset (rtems_disk_device *dd)                  
{                                                                     
  rtems_bdbuf_read_ahead_cancel (dd);                                 
  dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;          
 200fcac:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_bdbuf_set_block_size (rtems_disk_device *dd, uint32_t block_size)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
 200fcb0:	b0 10 20 00 	clr  %i0                                       
  else                                                                
  {                                                                   
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200fcb4:	7f ff f6 3b 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200fcb8:	c2 27 20 6c 	st  %g1, [ %i4 + 0x6c ]                        
 200fcbc:	81 c7 e0 08 	ret                                            
 200fcc0:	81 e8 00 00 	restore                                        
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 200fcc4:	c4 07 20 68 	ld  [ %i4 + 0x68 ], %g2                        
 200fcc8:	80 a0 a0 00 	cmp  %g2, 0                                    
 200fccc:	32 bf ff f5 	bne,a   200fca0 <rtems_bdbuf_set_block_size+0x104><== NEVER TAKEN
 200fcd0:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           <== NOT EXECUTED
                                                                      
static void                                                           
rtems_bdbuf_read_ahead_reset (rtems_disk_device *dd)                  
{                                                                     
  rtems_bdbuf_read_ahead_cancel (dd);                                 
  dd->read_ahead.trigger = RTEMS_DISK_READ_AHEAD_NO_TRIGGER;          
 200fcd4:	10 bf ff f7 	b  200fcb0 <rtems_bdbuf_set_block_size+0x114>  
 200fcd8:	82 10 3f ff 	mov  -1, %g1                                   
                                                                      

0200d38c <rtems_bdbuf_swapout_modified_processing>: rtems_chain_control* chain, rtems_chain_control* transfer, bool sync_active, bool update_timers, uint32_t timer_delta) {
 200d38c:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200d390:	c2 06 40 00 	ld  [ %i1 ], %g1                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_empty(                            
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_first( the_chain )                          
    == _Chain_Immutable_tail( the_chain );                            
 200d394:	b2 06 60 04 	add  %i1, 4, %i1                               
  if (!rtems_chain_is_empty (chain))                                  
 200d398:	80 a0 40 19 	cmp  %g1, %i1                                  
 200d39c:	02 80 00 2e 	be  200d454 <rtems_bdbuf_swapout_modified_processing+0xc8>
 200d3a0:	80 a6 e0 00 	cmp  %i3, 0                                    
    node = node->next;                                                
                                                                      
    /*                                                                
     * A sync active with no valid dev means sync all.                
     */                                                               
    if (sync_active && (*dd_ptr == BDBUF_INVALID_DEV))                
 200d3a4:	12 80 00 57 	bne  200d500 <rtems_bdbuf_swapout_modified_processing+0x174>
 200d3a8:	9e 10 20 00 	clr  %o7                                       
}                                                                     
                                                                      
static bool                                                           
rtems_bdbuf_has_buffer_waiters (void)                                 
{                                                                     
  return bdbuf_cache.buffer_waiters.count;                            
 200d3ac:	05 00 80 8a 	sethi  %hi(0x2022800), %g2                     
 200d3b0:	d8 00 a2 28 	ld  [ %g2 + 0x228 ], %o4	! 2022a28 <bdbuf_cache+0x74>
 200d3b4:	9e 0b e0 ff 	and  %o7, 0xff, %o7                            
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d3b8:	96 10 20 09 	mov  9, %o3                                    
       * 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 && (*dd_ptr == bd->dd))            
 200d3bc:	80 a3 e0 00 	cmp  %o7, 0                                    
 200d3c0:	32 80 00 3b 	bne,a   200d4ac <rtems_bdbuf_swapout_modified_processing+0x120>
 200d3c4:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 200d3c8:	80 a6 e0 00 	cmp  %i3, 0                                    
 200d3cc:	02 80 00 07 	be  200d3e8 <rtems_bdbuf_swapout_modified_processing+0x5c>
 200d3d0:	80 a3 20 00 	cmp  %o4, 0                                    
 200d3d4:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 200d3d8:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        
 200d3dc:	80 a0 80 03 	cmp  %g2, %g3                                  
 200d3e0:	02 80 00 34 	be  200d4b0 <rtems_bdbuf_swapout_modified_processing+0x124>
 200d3e4:	80 a3 20 00 	cmp  %o4, 0                                    
          || rtems_bdbuf_has_buffer_waiters ())                       
 200d3e8:	32 80 00 31 	bne,a   200d4ac <rtems_bdbuf_swapout_modified_processing+0x120>
 200d3ec:	c4 06 00 00 	ld  [ %i0 ], %g2                               
        bd->hold_timer = 0;                                           
                                                                      
      if (bd->hold_timer)                                             
 200d3f0:	c4 00 60 2c 	ld  [ %g1 + 0x2c ], %g2                        
 200d3f4:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d3f8:	02 80 00 0b 	be  200d424 <rtems_bdbuf_swapout_modified_processing+0x98><== NEVER TAKEN
 200d3fc:	80 a7 20 00 	cmp  %i4, 0                                    
      {                                                               
        if (update_timers)                                            
 200d400:	22 80 00 12 	be,a   200d448 <rtems_bdbuf_swapout_modified_processing+0xbc>
 200d404:	c2 00 40 00 	ld  [ %g1 ], %g1                               
        {                                                             
          if (bd->hold_timer > timer_delta)                           
 200d408:	80 a0 80 1d 	cmp  %g2, %i5                                  
 200d40c:	28 80 00 3a 	bleu,a   200d4f4 <rtems_bdbuf_swapout_modified_processing+0x168>
 200d410:	c0 20 60 2c 	clr  [ %g1 + 0x2c ]                            
            bd->hold_timer -= timer_delta;                            
 200d414:	84 20 80 1d 	sub  %g2, %i5, %g2                             
          else                                                        
            bd->hold_timer = 0;                                       
        }                                                             
                                                                      
        if (bd->hold_timer)                                           
 200d418:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d41c:	12 80 00 0a 	bne  200d444 <rtems_bdbuf_swapout_modified_processing+0xb8><== ALWAYS TAKEN
 200d420:	c4 20 60 2c 	st  %g2, [ %g1 + 0x2c ]                        
 200d424:	c4 06 00 00 	ld  [ %i0 ], %g2                               <== NOT EXECUTED
 200d428:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        <== NOT EXECUTED
      /*                                                              
       * This assumes we can set it 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 (*dd_ptr == BDBUF_INVALID_DEV)                               
 200d42c:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d430:	22 80 00 24 	be,a   200d4c0 <rtems_bdbuf_swapout_modified_processing+0x134>
 200d434:	84 10 00 03 	mov  %g3, %g2                                  
        *dd_ptr = bd->dd;                                             
                                                                      
      if (bd->dd == *dd_ptr)                                          
 200d438:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200d43c:	22 80 00 08 	be,a   200d45c <rtems_bdbuf_swapout_modified_processing+0xd0><== ALWAYS TAKEN
 200d440:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
                                                                      
        node = next_node;                                             
      }                                                               
      else                                                            
      {                                                               
        node = node->next;                                            
 200d444:	c2 00 40 00 	ld  [ %g1 ], %g1                               
    if (sync_active && (*dd_ptr == BDBUF_INVALID_DEV))                
      sync_all = true;                                                
    else                                                              
      sync_all = false;                                               
                                                                      
    while (!rtems_chain_is_tail (chain, node))                        
 200d448:	80 a0 40 19 	cmp  %g1, %i1                                  
 200d44c:	12 bf ff dd 	bne  200d3c0 <rtems_bdbuf_swapout_modified_processing+0x34>
 200d450:	80 a3 e0 00 	cmp  %o7, 0                                    
 200d454:	81 c7 e0 08 	ret                                            
 200d458:	81 e8 00 00 	restore                                        
      if (*dd_ptr == BDBUF_INVALID_DEV)                               
        *dd_ptr = bd->dd;                                             
                                                                      
      if (bd->dd == *dd_ptr)                                          
      {                                                               
        rtems_chain_node* next_node = node->next;                     
 200d45c:	da 00 40 00 	ld  [ %g1 ], %o5                               
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200d460:	d6 20 60 20 	st  %o3, [ %g1 + 0x20 ]                        
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
  previous       = the_node->previous;                                
  next->previous = previous;                                          
 200d464:	c4 23 60 04 	st  %g2, [ %o5 + 4 ]                           
  previous->next = next;                                              
 200d468:	da 20 80 00 	st  %o5, [ %g2 ]                               
                                                                      
        rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_TRANSFER);       
                                                                      
        rtems_chain_extract_unprotected (node);                       
                                                                      
        tnode = tnode->previous;                                      
 200d46c:	c4 06 a0 08 	ld  [ %i2 + 8 ], %g2                           
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
 200d470:	80 a0 80 1a 	cmp  %g2, %i2                                  
 200d474:	22 80 00 1a 	be,a   200d4dc <rtems_bdbuf_swapout_modified_processing+0x150>
 200d478:	c4 06 80 00 	ld  [ %i2 ], %g2                               
        {                                                             
          rtems_bdbuf_buffer* tbd = (rtems_bdbuf_buffer*) tnode;      
                                                                      
          if (bd->block > tbd->block)                                 
 200d47c:	c6 00 a0 18 	ld  [ %g2 + 0x18 ], %g3                        
 200d480:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 200d484:	80 a1 00 03 	cmp  %g4, %g3                                  
 200d488:	28 80 00 11 	bleu,a   200d4cc <rtems_bdbuf_swapout_modified_processing+0x140>
 200d48c:	c4 00 a0 04 	ld  [ %g2 + 4 ], %g2                           
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 200d490:	c6 00 80 00 	ld  [ %g2 ], %g3                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 200d494:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 200d498:	c2 20 80 00 	st  %g1, [ %g2 ]                               
  the_node->next        = before_node;                                
 200d49c:	c6 20 40 00 	st  %g3, [ %g1 ]                               
  before_node->previous = the_node;                                   
 200d4a0:	c2 20 e0 04 	st  %g1, [ %g3 + 4 ]                           
 200d4a4:	10 bf ff e9 	b  200d448 <rtems_bdbuf_swapout_modified_processing+0xbc>
 200d4a8:	82 10 00 0d 	mov  %o5, %g1                                  
 200d4ac:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        
      /*                                                              
       * This assumes we can set it 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 (*dd_ptr == BDBUF_INVALID_DEV)                               
 200d4b0:	80 a0 a0 00 	cmp  %g2, 0                                    
 200d4b4:	12 bf ff e1 	bne  200d438 <rtems_bdbuf_swapout_modified_processing+0xac>
 200d4b8:	c0 20 60 2c 	clr  [ %g1 + 0x2c ]                            
        *dd_ptr = bd->dd;                                             
 200d4bc:	84 10 00 03 	mov  %g3, %g2                                  
 200d4c0:	c6 26 00 00 	st  %g3, [ %i0 ]                               
 200d4c4:	10 bf ff dd 	b  200d438 <rtems_bdbuf_swapout_modified_processing+0xac>
 200d4c8:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        
                                                                      
        rtems_chain_extract_unprotected (node);                       
                                                                      
        tnode = tnode->previous;                                      
                                                                      
        while (node && !rtems_chain_is_head (transfer, tnode))        
 200d4cc:	80 a0 80 1a 	cmp  %g2, %i2                                  
 200d4d0:	32 bf ff ec 	bne,a   200d480 <rtems_bdbuf_swapout_modified_processing+0xf4>
 200d4d4:	c6 00 a0 18 	ld  [ %g2 + 0x18 ], %g3                        
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 200d4d8:	c4 06 80 00 	ld  [ %i2 ], %g2                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 200d4dc:	f4 20 60 04 	st  %i2, [ %g1 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 200d4e0:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  the_node->next        = before_node;                                
 200d4e4:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  before_node->previous = the_node;                                   
 200d4e8:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
 200d4ec:	10 bf ff d7 	b  200d448 <rtems_bdbuf_swapout_modified_processing+0xbc>
 200d4f0:	82 10 00 0d 	mov  %o5, %g1                                  
 200d4f4:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 200d4f8:	10 bf ff cd 	b  200d42c <rtems_bdbuf_swapout_modified_processing+0xa0>
 200d4fc:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        
    node = node->next;                                                
                                                                      
    /*                                                                
     * A sync active with no valid dev means sync all.                
     */                                                               
    if (sync_active && (*dd_ptr == BDBUF_INVALID_DEV))                
 200d500:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 200d504:	80 a0 00 02 	cmp  %g0, %g2                                  
 200d508:	10 bf ff a9 	b  200d3ac <rtems_bdbuf_swapout_modified_processing+0x20>
 200d50c:	9e 60 3f ff 	subx  %g0, -1, %o7                             
                                                                      

0200e8d0 <rtems_bdbuf_swapout_task>: * not this. * @return rtems_task Not used. */ static rtems_task rtems_bdbuf_swapout_task (rtems_task_argument arg) {
 200e8d0:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_bdbuf_swapout_transfer transfer;                              
  uint32_t                     period_in_ticks;                       
  const uint32_t               period_in_msecs = bdbuf_config.swapout_period;
 200e8d4:	23 00 80 7f 	sethi  %hi(0x201fc00), %l1                     
 200e8d8:	a2 14 62 80 	or  %l1, 0x280, %l1	! 201fe80 <rtems_bdbuf_configuration>
  uint32_t                     timer_delta;                           
                                                                      
  transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();         
 200e8dc:	7f ff fb af 	call  200d798 <rtems_bdbuf_swapout_writereq_alloc>
 200e8e0:	f6 04 60 0c 	ld  [ %l1 + 0xc ], %i3                         
  transfer.syncing = false;                                           
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
 200e8e4:	03 00 80 87 	sethi  %hi(0x2021c00), %g1                     
 200e8e8:	d2 00 63 dc 	ld  [ %g1 + 0x3dc ], %o1	! 2021fdc <Configuration+0x10>
 200e8ec:	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 ();         
 200e8f0:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200e8f4:	b4 07 bf e8 	add  %fp, -24, %i2                             
 200e8f8:	b0 07 bf ec 	add  %fp, -20, %i0                             
  head->previous = NULL;                                              
 200e8fc:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200e900:	f0 27 bf e8 	st  %i0, [ %fp + -24 ]                         
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200e904:	f4 27 bf f0 	st  %i2, [ %fp + -16 ]                         
  rtems_chain_initialize_empty (&transfer.bds);                       
  transfer.dd = BDBUF_INVALID_DEV;                                    
 200e908:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  transfer.syncing = false;                                           
 200e90c:	c0 2f bf f8 	clrb  [ %fp + -8 ]                             
                                                                      
  /*                                                                  
   * Localise the period.                                             
   */                                                                 
  period_in_ticks = RTEMS_MICROSECONDS_TO_TICKS (period_in_msecs * 1000);
 200e910:	91 2e e0 07 	sll  %i3, 7, %o0                               
 200e914:	90 22 00 01 	sub  %o0, %g1, %o0                             
 200e918:	90 02 00 1b 	add  %o0, %i3, %o0                             
 200e91c:	40 00 3c 39 	call  201da00 <.udiv>                          
 200e920:	91 2a 20 03 	sll  %o0, 3, %o0                               
rtems_bdbuf_swapout_workers_open (void)                               
{                                                                     
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200e924:	7f ff fb 08 	call  200d544 <rtems_bdbuf_lock_cache>         
 200e928:	ac 10 00 08 	mov  %o0, %l6                                  
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
 200e92c:	c2 04 60 14 	ld  [ %l1 + 0x14 ], %g1                        
 * @param arg A pointer to the global cache data. Use the global variable and
 *            not this.                                               
 * @return rtems_task Not used.                                       
 */                                                                   
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
 200e930:	b2 10 20 61 	mov  0x61, %i1                                 
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
 200e934:	80 a0 60 00 	cmp  %g1, 0                                    
 200e938:	02 80 00 c5 	be  200ec4c <rtems_bdbuf_swapout_task+0x37c>   <== ALWAYS TAKEN
 200e93c:	a4 00 60 61 	add  %g1, 0x61, %l2                            
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200e940:	21 00 80 8a 	sethi  %hi(0x2022800), %l0                     <== NOT EXECUTED
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dd = BDBUF_INVALID_DEV;                          
                                                                      
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'D', 'o', 'a' + w),
 200e944:	29 10 91 1b 	sethi  %hi(0x42446c00), %l4                    <== NOT EXECUTED
 200e948:	a0 14 21 b4 	or  %l0, 0x1b4, %l0                            <== NOT EXECUTED
 200e94c:	27 00 80 3b 	sethi  %hi(0x200ec00), %l3                     <== NOT EXECUTED
                                                                      
  the_node->next = tail;                                              
 200e950:	ae 04 20 0c 	add  %l0, 0xc, %l7                             <== NOT EXECUTED
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
    worker->enabled = true;                                           
 200e954:	aa 10 20 01 	mov  1, %l5                                    <== NOT EXECUTED
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dd = BDBUF_INVALID_DEV;                          
                                                                      
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'D', 'o', 'a' + w),
 200e958:	a8 15 23 00 	or  %l4, 0x300, %l4                            <== NOT EXECUTED
 200e95c:	a6 14 e0 70 	or  %l3, 0x70, %l3                             <== NOT EXECUTED
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
  {                                                                   
    rtems_bdbuf_swapout_worker* worker;                               
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
 200e960:	7f ff d9 c6 	call  2005078 <malloc>                         <== NOT EXECUTED
 200e964:	90 10 20 28 	mov  0x28, %o0                                 <== NOT EXECUTED
    if (!worker)                                                      
 200e968:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 200e96c:	02 80 00 be 	be  200ec64 <rtems_bdbuf_swapout_task+0x394>   <== NOT EXECUTED
 200e970:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200e974:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        <== NOT EXECUTED
                                                                      
  the_node->next = tail;                                              
 200e978:	ee 27 40 00 	st  %l7, [ %i5 ]                               <== NOT EXECUTED
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
 200e97c:	fa 20 40 00 	st  %i5, [ %g1 ]                               <== NOT EXECUTED
  the_node->previous = old_last;                                      
 200e980:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           <== NOT EXECUTED
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
  tail->previous = the_node;                                          
 200e984:	fa 24 20 10 	st  %i5, [ %l0 + 0x10 ]                        <== NOT EXECUTED
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
    worker->enabled = true;                                           
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
 200e988:	7f ff fb 84 	call  200d798 <rtems_bdbuf_swapout_writereq_alloc><== NOT EXECUTED
 200e98c:	ea 2f 60 0c 	stb  %l5, [ %i5 + 0xc ]                        <== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dd = BDBUF_INVALID_DEV;                          
                                                                      
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'D', 'o', 'a' + w),
 200e990:	d2 04 60 18 	ld  [ %l1 + 0x18 ], %o1                        <== 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 );                        
 200e994:	82 07 60 10 	add  %i5, 0x10, %g1                            <== NOT EXECUTED
 200e998:	84 07 60 14 	add  %i5, 0x14, %g2                            <== NOT EXECUTED
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
    worker->enabled = true;                                           
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
 200e99c:	d0 27 60 24 	st  %o0, [ %i5 + 0x24 ]                        <== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dd = BDBUF_INVALID_DEV;                          
                                                                      
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'D', 'o', 'a' + w),
 200e9a0:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 200e9a4:	c0 27 60 14 	clr  [ %i5 + 0x14 ]                            <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200e9a8:	c4 27 60 10 	st  %g2, [ %i5 + 0x10 ]                        <== NOT EXECUTED
  head->previous = NULL;                                              
  tail->previous = head;                                              
 200e9ac:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        <== NOT EXECUTED
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
    worker->enabled = true;                                           
    worker->transfer.write_req = rtems_bdbuf_swapout_writereq_alloc ();
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dd = BDBUF_INVALID_DEV;                          
 200e9b0:	c0 27 60 1c 	clr  [ %i5 + 0x1c ]                            <== NOT EXECUTED
                                                                      
    sc = rtems_bdbuf_create_task (rtems_build_name('B', 'D', 'o', 'a' + w),
 200e9b4:	90 16 40 14 	or  %i1, %l4, %o0                              <== NOT EXECUTED
 200e9b8:	94 10 00 13 	mov  %l3, %o2                                  <== NOT EXECUTED
 200e9bc:	98 07 60 08 	add  %i5, 8, %o4                               <== NOT EXECUTED
 200e9c0:	7f ff fb f6 	call  200d998 <rtems_bdbuf_create_task.constprop.9><== NOT EXECUTED
 200e9c4:	b8 10 00 10 	mov  %l0, %i4                                  <== NOT EXECUTED
                                  bdbuf_config.swapout_worker_priority,
                                  RTEMS_BDBUF_SWAPOUT_WORKER_TASK_PRIORITY_DEFAULT,
                                  rtems_bdbuf_swapout_worker_task,    
                                  (rtems_task_argument) worker,       
                                  &worker->id);                       
    if (sc != RTEMS_SUCCESSFUL)                                       
 200e9c8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200e9cc:	12 80 00 a3 	bne  200ec58 <rtems_bdbuf_swapout_task+0x388>  <== NOT EXECUTED
 200e9d0:	b2 06 60 01 	inc  %i1                                       <== NOT EXECUTED
  rtems_status_code sc;                                               
  size_t            w;                                                
                                                                      
  rtems_bdbuf_lock_cache ();                                          
                                                                      
  for (w = 0; w < bdbuf_config.swapout_workers; w++)                  
 200e9d4:	80 a6 40 12 	cmp  %i1, %l2                                  <== NOT EXECUTED
 200e9d8:	12 bf ff e2 	bne  200e960 <rtems_bdbuf_swapout_task+0x90>   <== NOT EXECUTED
 200e9dc:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                  &worker->id);                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
  }                                                                   
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200e9e0:	7f ff fa f0 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200e9e4:	01 00 00 00 	nop                                            
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
 200e9e8:	c2 0f 20 04 	ldub  [ %i4 + 4 ], %g1                         
 200e9ec:	80 a0 60 00 	cmp  %g1, 0                                    
 200e9f0:	02 80 00 75 	be  200ebc4 <rtems_bdbuf_swapout_task+0x2f4>   <== NEVER TAKEN
 200e9f4:	82 07 20 08 	add  %i4, 8, %g1                               
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dd,             
 200e9f8:	a2 07 20 4c 	add  %i4, 0x4c, %l1                            
                                                                      
  /*                                                                  
   * 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->dd,             
 200e9fc:	aa 07 20 58 	add  %i4, 0x58, %l5                            
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 200ea00:	a8 07 20 0c 	add  %i4, 0xc, %l4                             
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dd,             
 200ea04:	e2 27 bf dc 	st  %l1, [ %fp + -36 ]                         
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
                                                                      
  head->next = new_first;                                             
  new_first->previous = head;                                         
 200ea08:	c2 27 bf d8 	st  %g1, [ %fp + -40 ]                         
 * @param arg A pointer to the global cache data. Use the global variable and
 *            not this.                                               
 * @return rtems_task Not used.                                       
 */                                                                   
static rtems_task                                                     
rtems_bdbuf_swapout_task (rtems_task_argument arg)                    
 200ea0c:	b2 10 20 01 	mov  1, %i1                                    
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dd = BDBUF_INVALID_DEV;                                   
  transfer->syncing = bdbuf_cache.sync_active;                        
 200ea10:	a0 10 20 01 	mov  1, %l0                                    
                                rtems_bdbuf_swapout_transfer* transfer)
{                                                                     
  rtems_bdbuf_swapout_worker* worker;                                 
  bool                        transfered_buffers = false;             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200ea14:	7f ff fa cc 	call  200d544 <rtems_bdbuf_lock_cache>         
 200ea18:	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)                                        
 200ea1c:	c2 0f 20 30 	ldub  [ %i4 + 0x30 ], %g1                      
 200ea20:	80 a0 60 00 	cmp  %g1, 0                                    
 200ea24:	32 80 00 2f 	bne,a   200eae0 <rtems_bdbuf_swapout_task+0x210>
 200ea28:	c2 07 20 38 	ld  [ %i4 + 0x38 ], %g1                        
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200ea2c:	e6 07 20 08 	ld  [ %i4 + 8 ], %l3                           
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 200ea30:	80 a4 c0 14 	cmp  %l3, %l4                                  
 200ea34:	02 80 00 7b 	be  200ec20 <rtems_bdbuf_swapout_task+0x350>   <== ALWAYS TAKEN
 200ea38:	c2 07 bf d8 	ld  [ %fp + -40 ], %g1                         
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
 200ea3c:	c4 04 c0 00 	ld  [ %l3 ], %g2                               <== NOT EXECUTED
  else                                                                
  {                                                                   
    worker = (rtems_bdbuf_swapout_worker*)                            
      rtems_chain_get_unprotected (&bdbuf_cache.swapout_workers);     
    if (worker)                                                       
      transfer = &worker->transfer;                                   
 200ea40:	ba 04 e0 10 	add  %l3, 0x10, %i5                            <== NOT EXECUTED
                                                                      
  head->next = new_first;                                             
 200ea44:	c4 27 20 08 	st  %g2, [ %i4 + 8 ]                           <== NOT EXECUTED
  new_first->previous = head;                                         
 200ea48:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           <== 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 );                        
 200ea4c:	ae 07 60 04 	add  %i5, 4, %l7                               
                                                                      
  /*                                                                  
   * 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->dd,             
 200ea50:	a4 07 60 0c 	add  %i5, 0xc, %l2                             
 200ea54:	96 10 20 01 	mov  1, %o3                                    
 200ea58:	98 10 20 00 	clr  %o4                                       
 200ea5c:	9a 10 00 1b 	mov  %i3, %o5                                  
 200ea60:	90 10 00 12 	mov  %l2, %o0                                  
 200ea64:	94 10 00 1d 	mov  %i5, %o2                                  
                                                                      
  head->next = tail;                                                  
 200ea68:	ee 27 40 00 	st  %l7, [ %i5 ]                               
  head->previous = NULL;                                              
 200ea6c:	c0 27 60 04 	clr  [ %i5 + 4 ]                               
  tail->previous = head;                                              
 200ea70:	fa 27 60 08 	st  %i5, [ %i5 + 8 ]                           
    if (worker)                                                       
      transfer = &worker->transfer;                                   
  }                                                                   
                                                                      
  rtems_chain_initialize_empty (&transfer->bds);                      
  transfer->dd = BDBUF_INVALID_DEV;                                   
 200ea74:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
  transfer->syncing = bdbuf_cache.sync_active;                        
 200ea78:	c0 2f 60 10 	clrb  [ %i5 + 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->dd,             
 200ea7c:	13 00 80 8a 	sethi  %hi(0x2022800), %o1                     
 200ea80:	7f ff fa 43 	call  200d38c <rtems_bdbuf_swapout_modified_processing>
 200ea84:	92 12 62 0c 	or  %o1, 0x20c, %o1	! 2022a0c <bdbuf_cache+0x58>
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dd,             
 200ea88:	d2 07 bf dc 	ld  [ %fp + -36 ], %o1                         
 200ea8c:	d6 0f 20 30 	ldub  [ %i4 + 0x30 ], %o3                      
 200ea90:	90 10 00 12 	mov  %l2, %o0                                  
 200ea94:	94 10 00 1d 	mov  %i5, %o2                                  
 200ea98:	98 0e 60 01 	and  %i1, 1, %o4                               
 200ea9c:	7f ff fa 3c 	call  200d38c <rtems_bdbuf_swapout_modified_processing>
 200eaa0:	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 ();                                        
 200eaa4:	7f ff fa bf 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200eaa8:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
 200eaac:	c6 07 40 00 	ld  [ %i5 ], %g3                               
 200eab0:	80 a0 c0 17 	cmp  %g3, %l7                                  
 200eab4:	02 80 00 28 	be  200eb54 <rtems_bdbuf_swapout_task+0x284>   
 200eab8:	80 a4 e0 00 	cmp  %l3, 0                                    
  {                                                                   
    if (worker)                                                       
 200eabc:	02 80 00 22 	be  200eb44 <rtems_bdbuf_swapout_task+0x274>   <== ALWAYS TAKEN
 200eac0:	01 00 00 00 	nop                                            
    {                                                                 
      rtems_status_code sc = rtems_event_send (worker->id,            
 200eac4:	d0 04 e0 08 	ld  [ %l3 + 8 ], %o0                           <== NOT EXECUTED
 200eac8:	7f ff e8 5c 	call  2008c38 <rtems_event_send>               <== NOT EXECUTED
 200eacc:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
                                               RTEMS_BDBUF_SWAPOUT_SYNC);
      if (sc != RTEMS_SUCCESSFUL)                                     
 200ead0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200ead4:	12 80 00 56 	bne  200ec2c <rtems_bdbuf_swapout_task+0x35c>  <== NOT EXECUTED
 200ead8:	b2 10 20 00 	clr  %i1                                       <== NOT EXECUTED
 200eadc:	30 bf ff ce 	b,a   200ea14 <rtems_bdbuf_swapout_task+0x144> <== NOT EXECUTED
                                                                      
  /*                                                                  
   * 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->dd,             
 200eae0:	96 10 20 01 	mov  1, %o3                                    
   * 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)                                        
    transfer->dd = bdbuf_cache.sync_device;                           
 200eae4:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
                                                                      
  /*                                                                  
   * 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->dd,             
 200eae8:	98 10 20 00 	clr  %o4                                       
 200eaec:	9a 10 00 1b 	mov  %i3, %o5                                  
 200eaf0:	90 07 bf f4 	add  %fp, -12, %o0                             
 200eaf4:	92 10 00 15 	mov  %l5, %o1                                  
 200eaf8:	94 10 00 1a 	mov  %i2, %o2                                  
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200eafc:	f0 27 bf e8 	st  %i0, [ %fp + -24 ]                         
  head->previous = NULL;                                              
 200eb00:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
  tail->previous = head;                                              
 200eb04:	f4 27 bf f0 	st  %i2, [ %fp + -16 ]                         
 200eb08:	7f ff fa 21 	call  200d38c <rtems_bdbuf_swapout_modified_processing>
 200eb0c:	e0 2f bf f8 	stb  %l0, [ %fp + -8 ]                         
                                           timer_delta);              
                                                                      
  /*                                                                  
   * Process the cache's modified list.                               
   */                                                                 
  rtems_bdbuf_swapout_modified_processing (&transfer->dd,             
 200eb10:	d6 0f 20 30 	ldub  [ %i4 + 0x30 ], %o3                      
 200eb14:	90 07 bf f4 	add  %fp, -12, %o0                             
 200eb18:	92 10 00 11 	mov  %l1, %o1                                  
 200eb1c:	94 10 00 1a 	mov  %i2, %o2                                  
 200eb20:	98 0e 60 01 	and  %i1, 1, %o4                               
 200eb24:	7f ff fa 1a 	call  200d38c <rtems_bdbuf_swapout_modified_processing>
 200eb28:	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 ();                                        
 200eb2c:	7f ff fa 9d 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200eb30:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
 200eb34:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
 200eb38:	80 a0 40 18 	cmp  %g1, %i0                                  
 200eb3c:	02 80 00 06 	be  200eb54 <rtems_bdbuf_swapout_task+0x284>   
 200eb40:	ba 10 00 1a 	mov  %i2, %i5                                  
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);
    }                                                                 
    else                                                              
    {                                                                 
      rtems_bdbuf_swapout_write (transfer);                           
 200eb44:	7f ff ff 09 	call  200e768 <rtems_bdbuf_swapout_write>      
 200eb48:	90 10 00 1d 	mov  %i5, %o0                                  
 200eb4c:	10 bf ff b2 	b  200ea14 <rtems_bdbuf_swapout_task+0x144>    
 200eb50:	b2 10 20 00 	clr  %i1                                       
    }                                                                 
                                                                      
    transfered_buffers = true;                                        
  }                                                                   
                                                                      
  if (bdbuf_cache.sync_active && !transfered_buffers)                 
 200eb54:	c2 0f 20 30 	ldub  [ %i4 + 0x30 ], %g1                      
 200eb58:	80 a0 60 00 	cmp  %g1, 0                                    
 200eb5c:	02 80 00 0f 	be  200eb98 <rtems_bdbuf_swapout_task+0x2c8>   
 200eb60:	90 10 20 04 	mov  4, %o0                                    
  {                                                                   
    rtems_id sync_requester;                                          
    rtems_bdbuf_lock_cache ();                                        
 200eb64:	7f ff fa 78 	call  200d544 <rtems_bdbuf_lock_cache>         
 200eb68:	01 00 00 00 	nop                                            
    sync_requester = bdbuf_cache.sync_requester;                      
 200eb6c:	fa 07 20 34 	ld  [ %i4 + 0x34 ], %i5                        
    bdbuf_cache.sync_active = false;                                  
 200eb70:	c0 2f 20 30 	clrb  [ %i4 + 0x30 ]                           
    bdbuf_cache.sync_requester = 0;                                   
    rtems_bdbuf_unlock_cache ();                                      
 200eb74:	7f ff fa 8b 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200eb78:	c0 27 20 34 	clr  [ %i4 + 0x34 ]                            
    if (sync_requester)                                               
 200eb7c:	80 a7 60 00 	cmp  %i5, 0                                    
 200eb80:	02 80 00 06 	be  200eb98 <rtems_bdbuf_swapout_task+0x2c8>   <== NEVER TAKEN
 200eb84:	90 10 20 04 	mov  4, %o0                                    
      rtems_event_send (sync_requester, RTEMS_BDBUF_TRANSFER_SYNC);   
 200eb88:	90 10 00 1d 	mov  %i5, %o0                                  
 200eb8c:	7f ff e8 2b 	call  2008c38 <rtems_event_send>               
 200eb90:	92 10 20 02 	mov  2, %o1                                    
       */                                                             
      update_timers = false;                                          
    }                                                                 
    while (transfered_buffers);                                       
                                                                      
    sc = rtems_event_receive (RTEMS_BDBUF_SWAPOUT_SYNC,               
 200eb94:	90 10 20 04 	mov  4, %o0                                    
 200eb98:	92 10 20 00 	clr  %o1                                       
 200eb9c:	94 10 00 16 	mov  %l6, %o2                                  
 200eba0:	7f ff e7 c3 	call  2008aac <rtems_event_receive>            
 200eba4:	96 07 bf e4 	add  %fp, -28, %o3                             
                              RTEMS_EVENT_ALL | RTEMS_WAIT,           
                              period_in_ticks,                        
                              &out);                                  
                                                                      
    if ((sc != RTEMS_SUCCESSFUL) && (sc != RTEMS_TIMEOUT))            
 200eba8:	80 a2 20 06 	cmp  %o0, 6                                    
 200ebac:	12 80 00 23 	bne  200ec38 <rtems_bdbuf_swapout_task+0x368>  
 200ebb0:	80 a2 20 00 	cmp  %o0, 0                                    
  /*                                                                  
   * Create the worker threads.                                       
   */                                                                 
  rtems_bdbuf_swapout_workers_open ();                                
                                                                      
  while (bdbuf_cache.swapout_enabled)                                 
 200ebb4:	c2 0f 20 04 	ldub  [ %i4 + 4 ], %g1                         
 200ebb8:	80 a0 60 00 	cmp  %g1, 0                                    
 200ebbc:	12 bf ff 95 	bne  200ea10 <rtems_bdbuf_swapout_task+0x140>  <== ALWAYS TAKEN
 200ebc0:	b2 10 20 01 	mov  1, %i1                                    
static void                                                           
rtems_bdbuf_swapout_workers_close (void)                              
{                                                                     
  rtems_chain_node* node;                                             
                                                                      
  rtems_bdbuf_lock_cache ();                                          
 200ebc4:	7f ff fa 60 	call  200d544 <rtems_bdbuf_lock_cache>         <== NOT EXECUTED
 200ebc8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200ebcc:	fa 07 20 08 	ld  [ %i4 + 8 ], %i5                           <== NOT EXECUTED
                                                                      
  node = rtems_chain_first (&bdbuf_cache.swapout_workers);            
  while (!rtems_chain_is_tail (&bdbuf_cache.swapout_workers, node))   
 200ebd0:	b8 07 20 0c 	add  %i4, 0xc, %i4                             <== NOT EXECUTED
 200ebd4:	80 a7 40 1c 	cmp  %i5, %i4                                  <== NOT EXECUTED
 200ebd8:	02 80 00 0a 	be  200ec00 <rtems_bdbuf_swapout_task+0x330>   <== NOT EXECUTED
 200ebdc:	01 00 00 00 	nop                                            <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) node;
    worker->enabled = false;                                          
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
 200ebe0:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           <== NOT EXECUTED
                                                                      
  node = rtems_chain_first (&bdbuf_cache.swapout_workers);            
  while (!rtems_chain_is_tail (&bdbuf_cache.swapout_workers, node))   
  {                                                                   
    rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) node;
    worker->enabled = false;                                          
 200ebe4:	c0 2f 60 0c 	clrb  [ %i5 + 0xc ]                            <== NOT EXECUTED
    rtems_event_send (worker->id, RTEMS_BDBUF_SWAPOUT_SYNC);          
 200ebe8:	7f ff e8 14 	call  2008c38 <rtems_event_send>               <== NOT EXECUTED
 200ebec:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
 200ebf0:	fa 07 40 00 	ld  [ %i5 ], %i5                               <== 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))   
 200ebf4:	80 a7 40 1c 	cmp  %i5, %i4                                  <== NOT EXECUTED
 200ebf8:	32 bf ff fb 	bne,a   200ebe4 <rtems_bdbuf_swapout_task+0x314><== NOT EXECUTED
 200ebfc:	d0 07 60 08 	ld  [ %i5 + 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 ();                                        
 200ec00:	7f ff fa 68 	call  200d5a0 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200ec04:	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);                                          
 200ec08:	7f ff d7 ba 	call  2004af0 <free>                           <== NOT EXECUTED
 200ec0c:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
 200ec10:	7f ff ea 11 	call  2009454 <rtems_task_delete>              <== NOT EXECUTED
 200ec14:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 200ec18:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ec1c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 200ec20:	a6 10 20 00 	clr  %l3                                       
      /*                                                              
       * 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,                
 200ec24:	10 bf ff 8a 	b  200ea4c <rtems_bdbuf_swapout_task+0x17c>    
 200ec28:	ba 10 00 1a 	mov  %i2, %i5                                  
    if (worker)                                                       
    {                                                                 
      rtems_status_code sc = rtems_event_send (worker->id,            
                                               RTEMS_BDBUF_SWAPOUT_SYNC);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);
 200ec2c:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200ec30:	7f ff ea f9 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200ec34:	90 12 20 14 	or  %o0, 0x14, %o0	! 42000014 <RAM_END+0x3fc00014><== NOT EXECUTED
    sc = rtems_event_receive (RTEMS_BDBUF_SWAPOUT_SYNC,               
                              RTEMS_EVENT_ALL | RTEMS_WAIT,           
                              period_in_ticks,                        
                              &out);                                  
                                                                      
    if ((sc != RTEMS_SUCCESSFUL) && (sc != RTEMS_TIMEOUT))            
 200ec38:	22 bf ff e0 	be,a   200ebb8 <rtems_bdbuf_swapout_task+0x2e8><== ALWAYS TAKEN
 200ec3c:	c2 0f 20 04 	ldub  [ %i4 + 4 ], %g1                         
      rtems_fatal_error_occurred (BLKDEV_FATAL_BDBUF_SWAPOUT_RE);     
 200ec40:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200ec44:	7f ff ea f4 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200ec48:	90 12 20 18 	or  %o0, 0x18, %o0	! 42000018 <RAM_END+0x3fc00018><== NOT EXECUTED
 200ec4c:	39 00 80 8a 	sethi  %hi(0x2022800), %i4                     
 200ec50:	10 bf ff 64 	b  200e9e0 <rtems_bdbuf_swapout_task+0x110>    
 200ec54:	b8 17 21 b4 	or  %i4, 0x1b4, %i4	! 20229b4 <bdbuf_cache>    
                                  RTEMS_BDBUF_SWAPOUT_WORKER_TASK_PRIORITY_DEFAULT,
                                  rtems_bdbuf_swapout_worker_task,    
                                  (rtems_task_argument) worker,       
                                  &worker->id);                       
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WK_CREATE);
 200ec58:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200ec5c:	7f ff ea ee 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200ec60:	90 12 20 16 	or  %o0, 0x16, %o0	! 42000016 <RAM_END+0x3fc00016><== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_swapout_worker* worker;                               
                                                                      
    worker = malloc (sizeof (rtems_bdbuf_swapout_worker));            
    if (!worker)                                                      
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM); 
 200ec64:	7f ff ea ec 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200ec68:	90 12 20 15 	or  %o0, 0x15, %o0                             <== NOT EXECUTED
                                                                      

0200ec70 <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) {
 200ec70:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_bdbuf_swapout_worker* worker = (rtems_bdbuf_swapout_worker*) arg;
                                                                      
  while (worker->enabled)                                             
 200ec74:	c2 0e 20 0c 	ldub  [ %i0 + 0xc ], %g1                       <== NOT EXECUTED
 200ec78:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200ec7c:	02 80 00 1b 	be  200ece8 <rtems_bdbuf_swapout_worker_task+0x78><== NOT EXECUTED
 200ec80:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
 200ec84:	39 00 80 8a 	sethi  %hi(0x2022800), %i4                     <== NOT EXECUTED
 200ec88:	b6 06 20 10 	add  %i0, 0x10, %i3                            <== NOT EXECUTED
 200ec8c:	b8 17 21 b4 	or  %i4, 0x1b4, %i4                            <== NOT EXECUTED
 200ec90:	b2 06 20 14 	add  %i0, 0x14, %i1                            <== NOT EXECUTED
 200ec94:	b4 07 20 0c 	add  %i4, 0xc, %i2                             <== NOT EXECUTED
  {                                                                   
    rtems_bdbuf_wait_for_event (RTEMS_BDBUF_SWAPOUT_SYNC);            
 200ec98:	7f ff fa 5d 	call  200d60c <rtems_bdbuf_wait_for_event>     <== NOT EXECUTED
 200ec9c:	90 10 20 04 	mov  4, %o0                                    <== NOT EXECUTED
                                                                      
    rtems_bdbuf_swapout_write (&worker->transfer);                    
 200eca0:	7f ff fe b2 	call  200e768 <rtems_bdbuf_swapout_write>      <== NOT EXECUTED
 200eca4:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
                                                                      
    rtems_bdbuf_lock_cache ();                                        
 200eca8:	7f ff fa 27 	call  200d544 <rtems_bdbuf_lock_cache>         <== NOT EXECUTED
 200ecac:	01 00 00 00 	nop                                            <== NOT EXECUTED
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200ecb0:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 200ecb4:	f2 27 60 10 	st  %i1, [ %i5 + 0x10 ]                        <== NOT EXECUTED
                                                                      
    rtems_chain_initialize_empty (&worker->transfer.bds);             
    worker->transfer.dd = BDBUF_INVALID_DEV;                          
 200ecb8:	c0 27 60 1c 	clr  [ %i5 + 0x1c ]                            <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
 200ecbc:	f4 27 40 00 	st  %i2, [ %i5 ]                               <== NOT EXECUTED
  tail->previous = the_node;                                          
 200ecc0:	fa 27 20 10 	st  %i5, [ %i4 + 0x10 ]                        <== NOT EXECUTED
  old_last->next = the_node;                                          
 200ecc4:	fa 20 40 00 	st  %i5, [ %g1 ]                               <== NOT EXECUTED
  the_node->previous = old_last;                                      
 200ecc8:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           <== NOT EXECUTED
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 200eccc:	c0 27 60 14 	clr  [ %i5 + 0x14 ]                            <== NOT EXECUTED
                                                                      
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
 200ecd0:	7f ff fa 34 	call  200d5a0 <rtems_bdbuf_unlock_cache>       <== NOT EXECUTED
 200ecd4:	f6 27 60 18 	st  %i3, [ %i5 + 0x18 ]                        <== 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)                                             
 200ecd8:	c2 0f 60 0c 	ldub  [ %i5 + 0xc ], %g1                       <== NOT EXECUTED
 200ecdc:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200ece0:	12 bf ff ee 	bne  200ec98 <rtems_bdbuf_swapout_worker_task+0x28><== NOT EXECUTED
 200ece4:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_chain_append_unprotected (&bdbuf_cache.swapout_workers, &worker->link);
                                                                      
    rtems_bdbuf_unlock_cache ();                                      
  }                                                                   
                                                                      
  free (worker->transfer.write_req);                                  
 200ece8:	d0 07 60 24 	ld  [ %i5 + 0x24 ], %o0                        <== NOT EXECUTED
 200ecec:	7f ff d7 81 	call  2004af0 <free>                           <== NOT EXECUTED
 200ecf0:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  free (worker);                                                      
 200ecf4:	7f ff d7 7f 	call  2004af0 <free>                           <== NOT EXECUTED
 200ecf8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
  rtems_task_delete (RTEMS_SELF);                                     
 200ecfc:	7f ff e9 d6 	call  2009454 <rtems_task_delete>              <== NOT EXECUTED
 200ed00:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200e768 <rtems_bdbuf_swapout_write>: * * @param transfer The transfer transaction. */ static void rtems_bdbuf_swapout_write (rtems_bdbuf_swapout_transfer* transfer) {
 200e768:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
RTEMS_INLINE_ROUTINE const Chain_Node *_Chain_Immutable_first(        
  const Chain_Control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Immutable_head( the_chain )->next;                    
 200e76c:	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 );                            
 200e770:	ba 06 20 04 	add  %i0, 4, %i5                               
    printf ("bdbuf:swapout transfer: %08x\n", (unsigned) transfer->dd->dev);
                                                                      
  /*                                                                  
   * If there are buffers to transfer to the media transfer them.     
   */                                                                 
  if (!rtems_chain_is_empty (&transfer->bds))                         
 200e774:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200e778:	02 80 00 4f 	be  200e8b4 <rtems_bdbuf_swapout_write+0x14c>  <== NEVER TAKEN
 200e77c:	b8 10 20 00 	clr  %i4                                       
     * The last block number used when the driver only supports       
     * continuous blocks in a single request.                         
     */                                                               
    uint32_t last_block = 0;                                          
                                                                      
    rtems_disk_device *dd = transfer->dd;                             
 200e780:	e0 06 20 0c 	ld  [ %i0 + 0xc ], %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;              
 200e784:	d2 06 20 14 	ld  [ %i0 + 0x14 ], %o1                        
    uint32_t last_block = 0;                                          
                                                                      
    rtems_disk_device *dd = transfer->dd;                             
    uint32_t media_blocks_per_block = dd->media_blocks_per_block;     
    bool need_continuous_blocks =                                     
      (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) != 0;
 200e788:	c4 04 20 08 	ld  [ %l0 + 8 ], %g2                           
     * continuous blocks in a single request.                         
     */                                                               
    uint32_t last_block = 0;                                          
                                                                      
    rtems_disk_device *dd = transfer->dd;                             
    uint32_t media_blocks_per_block = dd->media_blocks_per_block;     
 200e78c:	f4 04 20 2c 	ld  [ %l0 + 0x2c ], %i2                        
    bool need_continuous_blocks =                                     
      (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) != 0;
 200e790:	e2 00 a0 0c 	ld  [ %g2 + 0xc ], %l1                         
     * 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;              
 200e794:	84 10 20 0c 	mov  0xc, %g2                                  
    uint32_t last_block = 0;                                          
                                                                      
    rtems_disk_device *dd = transfer->dd;                             
    uint32_t media_blocks_per_block = dd->media_blocks_per_block;     
    bool need_continuous_blocks =                                     
      (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_MULTISECTOR_CONT) != 0;
 200e798:	a2 0c 60 01 	and  %l1, 1, %l1                               
     * 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;              
 200e79c:	c4 22 60 0c 	st  %g2, [ %o1 + 0xc ]                         
    transfer->write_req->bufnum = 0;                                  
 200e7a0:	c0 22 60 10 	clr  [ %o1 + 0x10 ]                            
                                                                      
      if (write)                                                      
      {                                                               
        rtems_bdbuf_execute_transfer_request (dd, transfer->write_req, false);
                                                                      
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
 200e7a4:	b6 10 20 0c 	mov  0xc, %i3                                  
       * 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) ||                    
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
 200e7a8:	10 80 00 23 	b  200e834 <rtems_bdbuf_swapout_write+0xcc>    
 200e7ac:	25 00 80 7f 	sethi  %hi(0x201fc00), %l2                     
 200e7b0:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
 200e7b4:	c8 02 60 10 	ld  [ %o1 + 0x10 ], %g4                        
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
        buf->length = dd->block_size;                                 
        buf->buffer = bd->buffer;                                     
 200e7b8:	f2 00 60 1c 	ld  [ %g1 + 0x1c ], %i1                        
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
        buf->length = dd->block_size;                                 
 200e7bc:	de 04 20 24 	ld  [ %l0 + 0x24 ], %o7                        
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
        transfer->write_req->bufnum++;                                
 200e7c0:	b8 01 20 01 	add  %g4, 1, %i4                               
 200e7c4:	f8 22 60 10 	st  %i4, [ %o1 + 0x10 ]                        
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
 200e7c8:	89 29 20 04 	sll  %g4, 4, %g4                               
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
 200e7cc:	b8 10 00 03 	mov  %g3, %i4                                  
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
 200e7d0:	88 01 20 18 	add  %g4, 0x18, %g4                            
    transfer->write_req->bufnum = 0;                                  
                                                                      
    while ((node = rtems_chain_get_unprotected(&transfer->bds)) != NULL)
    {                                                                 
      rtems_bdbuf_buffer* bd = (rtems_bdbuf_buffer*) node;            
      bool                write = false;                              
 200e7d4:	9a 10 20 00 	clr  %o5                                       
        write = true;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
 200e7d8:	86 02 40 04 	add  %o1, %g4, %g3                             
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
        buf->block  = bd->block;                                      
 200e7dc:	f8 22 40 04 	st  %i4, [ %o1 + %g4 ]                         
      else                                                            
      {                                                               
        rtems_blkdev_sg_buffer* buf;                                  
        buf = &transfer->write_req->bufs[transfer->write_req->bufnum];
        transfer->write_req->bufnum++;                                
        buf->user   = bd;                                             
 200e7e0:	c2 20 e0 0c 	st  %g1, [ %g3 + 0xc ]                         
        buf->block  = bd->block;                                      
        buf->length = dd->block_size;                                 
 200e7e4:	de 20 e0 04 	st  %o7, [ %g3 + 4 ]                           
        buf->buffer = bd->buffer;                                     
 200e7e8:	f2 20 e0 08 	st  %i1, [ %g3 + 8 ]                           
 200e7ec:	82 10 00 02 	mov  %g2, %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) ||                    
 200e7f0:	80 a7 40 01 	cmp  %i5, %g1                                  
 200e7f4:	02 80 00 07 	be  200e810 <rtems_bdbuf_swapout_write+0xa8>   
 200e7f8:	84 14 a2 80 	or  %l2, 0x280, %g2                            
 200e7fc:	c6 02 60 10 	ld  [ %o1 + 0x10 ], %g3                        
 200e800:	c4 00 a0 04 	ld  [ %g2 + 4 ], %g2                           
 200e804:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200e808:	0a 80 00 1e 	bcs  200e880 <rtems_bdbuf_swapout_write+0x118> 
 200e80c:	80 8b 60 ff 	btst  0xff, %o5                                
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
        write = true;                                                 
                                                                      
      if (write)                                                      
      {                                                               
        rtems_bdbuf_execute_transfer_request (dd, transfer->write_req, false);
 200e810:	90 10 00 10 	mov  %l0, %o0                                  
 200e814:	7f ff ff 52 	call  200e55c <rtems_bdbuf_execute_transfer_request>
 200e818:	94 10 20 00 	clr  %o2                                       
                                                                      
        transfer->write_req->status = RTEMS_RESOURCE_IN_USE;          
 200e81c:	d2 06 20 14 	ld  [ %i0 + 0x14 ], %o1                        
 200e820:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200e824:	f6 22 60 0c 	st  %i3, [ %o1 + 0xc ]                         
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 200e828:	80 a7 40 01 	cmp  %i5, %g1                                  
 200e82c:	02 80 00 19 	be  200e890 <rtems_bdbuf_swapout_write+0x128>  
 200e830:	c0 22 60 10 	clr  [ %o1 + 0x10 ]                            
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *old_first = head->next;                                 
  Chain_Node *new_first = old_first->next;                            
 200e834:	c4 00 40 00 	ld  [ %g1 ], %g2                               
      if (rtems_bdbuf_tracer)                                         
        printf ("bdbuf:swapout write: bd:%" PRIu32 ", bufnum:%" PRIu32 " mode:%s\n",
                bd->block, transfer->write_req->bufnum,               
                need_continuous_blocks ? "MULTI" : "SCAT");           
                                                                      
      if (need_continuous_blocks && transfer->write_req->bufnum &&    
 200e838:	80 a4 60 00 	cmp  %l1, 0                                    
                                                                      
  head->next = new_first;                                             
 200e83c:	c4 26 00 00 	st  %g2, [ %i0 ]                               
 200e840:	02 bf ff dc 	be  200e7b0 <rtems_bdbuf_swapout_write+0x48>   
 200e844:	f0 20 a0 04 	st  %i0, [ %g2 + 4 ]                           
 200e848:	c6 02 60 10 	ld  [ %o1 + 0x10 ], %g3                        
 200e84c:	80 a0 e0 00 	cmp  %g3, 0                                    
 200e850:	02 bf ff d9 	be  200e7b4 <rtems_bdbuf_swapout_write+0x4c>   
 200e854:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
          bd->block != last_block + media_blocks_per_block)           
 200e858:	88 07 00 1a 	add  %i4, %i2, %g4                             
      if (rtems_bdbuf_tracer)                                         
        printf ("bdbuf:swapout write: bd:%" PRIu32 ", bufnum:%" PRIu32 " mode:%s\n",
                bd->block, transfer->write_req->bufnum,               
                need_continuous_blocks ? "MULTI" : "SCAT");           
                                                                      
      if (need_continuous_blocks && transfer->write_req->bufnum &&    
 200e85c:	80 a0 c0 04 	cmp  %g3, %g4                                  
 200e860:	02 bf ff d5 	be  200e7b4 <rtems_bdbuf_swapout_write+0x4c>   
 200e864:	9a 10 20 01 	mov  1, %o5                                    
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 200e868:	f0 20 60 04 	st  %i0, [ %g1 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 200e86c:	c2 26 00 00 	st  %g1, [ %i0 ]                               
  the_node->next        = before_node;                                
 200e870:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  before_node->previous = the_node;                                   
 200e874:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
          bd->block != last_block + media_blocks_per_block)           
      {                                                               
        rtems_chain_prepend_unprotected (&transfer->bds, &bd->link);  
        write = true;                                                 
 200e878:	10 bf ff de 	b  200e7f0 <rtems_bdbuf_swapout_write+0x88>    
 200e87c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
                                                                      
      if (rtems_chain_is_empty (&transfer->bds) ||                    
          (transfer->write_req->bufnum >= bdbuf_config.max_write_blocks))
        write = true;                                                 
                                                                      
      if (write)                                                      
 200e880:	12 bf ff e4 	bne  200e810 <rtems_bdbuf_swapout_write+0xa8>  
 200e884:	80 a7 40 01 	cmp  %i5, %g1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Get_unprotected(              
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  if ( !_Chain_Is_empty(the_chain))                                   
 200e888:	32 bf ff ec 	bne,a   200e838 <rtems_bdbuf_swapout_write+0xd0><== ALWAYS TAKEN
 200e88c:	c4 00 40 00 	ld  [ %g1 ], %g2                               
                                                                      
    /*                                                                
     * If sync'ing and the deivce is capability of handling a sync IO control
     * call perform the call.                                         
     */                                                               
    if (transfer->syncing &&                                          
 200e890:	c2 0e 20 10 	ldub  [ %i0 + 0x10 ], %g1                      
 200e894:	80 a0 60 00 	cmp  %g1, 0                                    
 200e898:	02 80 00 0c 	be  200e8c8 <rtems_bdbuf_swapout_write+0x160>  
 200e89c:	01 00 00 00 	nop                                            
        (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))         
 200e8a0:	d0 04 20 08 	ld  [ %l0 + 8 ], %o0                           
 200e8a4:	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 &&                                          
 200e8a8:	80 88 60 02 	btst  2, %g1                                   
 200e8ac:	32 80 00 04 	bne,a   200e8bc <rtems_bdbuf_swapout_write+0x154><== NEVER TAKEN
 200e8b0:	c2 04 20 38 	ld  [ %l0 + 0x38 ], %g1                        <== NOT EXECUTED
 200e8b4:	81 c7 e0 08 	ret                                            
 200e8b8:	81 e8 00 00 	restore                                        
        (dd->phys_dev->capabilities & RTEMS_BLKDEV_CAP_SYNC))         
    {                                                                 
      /* int result = */ dd->ioctl (dd->phys_dev, RTEMS_BLKDEV_REQ_SYNC, NULL);
 200e8bc:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
 200e8c0:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200e8c4:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 200e8c8:	81 c7 e0 08 	ret                                            
 200e8cc:	81 e8 00 00 	restore                                        
                                                                      

0200d798 <rtems_bdbuf_swapout_writereq_alloc>: * * @return rtems_blkdev_request* The write reference memory. */ static rtems_blkdev_request* rtems_bdbuf_swapout_writereq_alloc (void) {
 200d798:	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)));
 200d79c:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 200d7a0:	d0 00 62 84 	ld  [ %g1 + 0x284 ], %o0	! 201fe84 <rtems_bdbuf_configuration+0x4>
 200d7a4:	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 =                                   
 200d7a8:	7f ff de 34 	call  2005078 <malloc>                         
 200d7ac:	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)                                                     
 200d7b0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 200d7b4:	02 80 00 0c 	be  200d7e4 <rtems_bdbuf_swapout_writereq_alloc+0x4c><== NEVER TAKEN
 200d7b8:	82 10 20 01 	mov  1, %g1                                    
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
 200d7bc:	c2 27 40 00 	st  %g1, [ %i5 ]                               
  write_req->req_done = rtems_bdbuf_transfer_done;                    
 200d7c0:	03 00 80 35 	sethi  %hi(0x200d400), %g1                     
 200d7c4:	82 10 61 f0 	or  %g1, 0x1f0, %g1	! 200d5f0 <rtems_bdbuf_transfer_done>
  write_req->done_arg = write_req;                                    
 200d7c8:	fa 27 60 08 	st  %i5, [ %i5 + 8 ]                           
                                                                      
  if (!write_req)                                                     
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
                                                                      
  write_req->req = RTEMS_BLKDEV_REQ_WRITE;                            
  write_req->req_done = rtems_bdbuf_transfer_done;                    
 200d7cc:	c2 27 60 04 	st  %g1, [ %i5 + 4 ]                           
  write_req->done_arg = write_req;                                    
  write_req->io_task = rtems_task_self ();                            
 200d7d0:	40 00 12 77 	call  20121ac <rtems_task_self>                
 200d7d4:	b0 10 00 1d 	mov  %i5, %i0                                  
 200d7d8:	d0 27 60 14 	st  %o0, [ %i5 + 0x14 ]                        
                                                                      
  return write_req;                                                   
}                                                                     
 200d7dc:	81 c7 e0 08 	ret                                            
 200d7e0:	81 e8 00 00 	restore                                        
  rtems_blkdev_request* write_req =                                   
    malloc (sizeof (rtems_blkdev_request) +                           
            (bdbuf_config.max_write_blocks * sizeof (rtems_blkdev_sg_buffer)));
                                                                      
  if (!write_req)                                                     
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_NOMEM);   
 200d7e4:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200d7e8:	7f ff f0 0b 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d7ec:	90 12 20 15 	or  %o0, 0x15, %o0	! 42000015 <RAM_END+0x3fc00015><== NOT EXECUTED
                                                                      

0200f7ec <rtems_bdbuf_sync>: } rtems_status_code rtems_bdbuf_sync (rtems_bdbuf_buffer *bd) {
 200f7ec:	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 (bd == NULL)                                                     
 200f7f0:	80 a6 20 00 	cmp  %i0, 0                                    
 200f7f4:	02 80 00 33 	be  200f8c0 <rtems_bdbuf_sync+0xd4>            <== NEVER TAKEN
 200f7f8:	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();                                           
 200f7fc:	7f ff f7 52 	call  200d544 <rtems_bdbuf_lock_cache>         
 200f800:	01 00 00 00 	nop                                            
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "sync");              
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200f804:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 200f808:	80 a2 20 03 	cmp  %o0, 3                                    
 200f80c:	1a 80 00 05 	bcc  200f820 <rtems_bdbuf_sync+0x34>           <== ALWAYS TAKEN
 200f810:	80 a2 20 05 	cmp  %o0, 5                                    
      break;                                                          
    case RTEMS_BDBUF_STATE_ACCESS_PURGED:                             
      rtems_bdbuf_discard_buffer_after_access (bd);                   
      break;                                                          
    default:                                                          
      rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_5);
 200f814:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200f818:	7f ff f7 52 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200f81c:	92 12 60 03 	or  %o1, 3, %o1	! 42000003 <RAM_END+0x3fc00003><== NOT EXECUTED
                                                                      
  sc = rtems_bdbuf_check_bd_and_lock_cache (bd, "sync");              
  if (sc != RTEMS_SUCCESSFUL)                                         
    return sc;                                                        
                                                                      
  switch (bd->state)                                                  
 200f820:	08 80 00 0b 	bleu  200f84c <rtems_bdbuf_sync+0x60>          
 200f824:	82 10 20 08 	mov  8, %g1                                    
 200f828:	80 a2 20 06 	cmp  %o0, 6                                    
 200f82c:	12 bf ff fb 	bne  200f818 <rtems_bdbuf_sync+0x2c>           <== NEVER TAKEN
 200f830:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
    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);                   
 200f834:	7f ff f9 7a 	call  200de1c <rtems_bdbuf_discard_buffer_after_access>
 200f838:	90 10 00 18 	mov  %i0, %o0                                  
  }                                                                   
                                                                      
  if (rtems_bdbuf_tracer)                                             
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
 200f83c:	7f ff f7 59 	call  200d5a0 <rtems_bdbuf_unlock_cache>       
 200f840:	b0 10 20 00 	clr  %i0                                       
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200f844:	81 c7 e0 08 	ret                                            
 200f848:	81 e8 00 00 	restore                                        
  Chain_Control *the_chain,                                           
  Chain_Node    *the_node                                             
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
 200f84c:	3b 00 80 8a 	sethi  %hi(0x2022800), %i5                     
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f850:	c2 26 20 20 	st  %g1, [ %i0 + 0x20 ]                        
 200f854:	ba 17 61 b4 	or  %i5, 0x1b4, %i5                            
 200f858:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        
                                                                      
  the_node->next = tail;                                              
 200f85c:	84 07 60 5c 	add  %i5, 0x5c, %g2                            
  tail->previous = the_node;                                          
 200f860:	f0 27 60 60 	st  %i0, [ %i5 + 0x60 ]                        
)                                                                     
{                                                                     
  Chain_Node *tail = _Chain_Tail( the_chain );                        
  Chain_Node *old_last = tail->previous;                              
                                                                      
  the_node->next = tail;                                              
 200f864:	c4 26 00 00 	st  %g2, [ %i0 ]                               
{                                                                     
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
                                                                      
  rtems_chain_append_unprotected (&bdbuf_cache.sync, &bd->link);      
                                                                      
  if (bd->waiters)                                                    
 200f868:	c4 06 20 24 	ld  [ %i0 + 0x24 ], %g2                        
  tail->previous = the_node;                                          
  old_last->next = the_node;                                          
  the_node->previous = old_last;                                      
 200f86c:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
 200f870:	80 a0 a0 00 	cmp  %g2, 0                                    
 200f874:	12 80 00 15 	bne  200f8c8 <rtems_bdbuf_sync+0xdc>           
 200f878:	f0 20 40 00 	st  %i0, [ %g1 ]                               
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
                                                                      
  rtems_bdbuf_wake_swapper ();                                        
 200f87c:	7f ff f7 50 	call  200d5bc <rtems_bdbuf_wake_swapper>       
 200f880:	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);         
 200f884:	13 00 80 8a 	sethi  %hi(0x2022800), %o1                     
 200f888:	b8 12 62 20 	or  %o1, 0x220, %i4	! 2022a20 <bdbuf_cache+0x6c>
static void                                                           
rtems_bdbuf_wait_for_sync_done (rtems_bdbuf_buffer *bd)               
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200f88c:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
 200f890:	80 a2 20 01 	cmp  %o0, 1                                    
 200f894:	0a 80 00 09 	bcs  200f8b8 <rtems_bdbuf_sync+0xcc>           <== NEVER TAKEN
 200f898:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    
 200f89c:	80 a2 20 07 	cmp  %o0, 7                                    
 200f8a0:	28 80 00 11 	bleu,a   200f8e4 <rtems_bdbuf_sync+0xf8>       
 200f8a4:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200f8a8:	80 a2 20 0a 	cmp  %o0, 0xa                                  
 200f8ac:	28 80 00 0a 	bleu,a   200f8d4 <rtems_bdbuf_sync+0xe8>       <== ALWAYS TAKEN
 200f8b0:	90 10 00 18 	mov  %i0, %o0                                  
      case RTEMS_BDBUF_STATE_TRANSFER:                                
      case RTEMS_BDBUF_STATE_TRANSFER_PURGED:                         
        rtems_bdbuf_wait (bd, &bdbuf_cache.transfer_waiters);         
        break;                                                        
      default:                                                        
        rtems_bdbuf_fatal (bd->state, RTEMS_BLKDEV_FATAL_BDBUF_STATE_9);
 200f8b4:	13 10 80 00 	sethi  %hi(0x42000000), %o1                    <== NOT EXECUTED
 200f8b8:	7f ff f7 2a 	call  200d560 <rtems_bdbuf_fatal>              <== NOT EXECUTED
 200f8bc:	92 12 60 07 	or  %o1, 7, %o1	! 42000007 <RAM_END+0x3fc00007><== NOT EXECUTED
    rtems_bdbuf_show_usage ();                                        
                                                                      
  rtems_bdbuf_unlock_cache ();                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200f8c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200f8c4:	91 e8 20 09 	restore  %g0, 9, %o0                           <== NOT EXECUTED
  rtems_bdbuf_set_state (bd, RTEMS_BDBUF_STATE_SYNC);                 
                                                                      
  rtems_chain_append_unprotected (&bdbuf_cache.sync, &bd->link);      
                                                                      
  if (bd->waiters)                                                    
    rtems_bdbuf_wake (&bdbuf_cache.access_waiters);                   
 200f8c8:	7f ff f7 e4 	call  200d858 <rtems_bdbuf_wake>               
 200f8cc:	90 07 60 64 	add  %i5, 0x64, %o0                            
 200f8d0:	30 bf ff eb 	b,a   200f87c <rtems_bdbuf_sync+0x90>          
      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);         
 200f8d4:	7f ff f7 9e 	call  200d74c <rtems_bdbuf_wait>               
 200f8d8:	92 10 00 1c 	mov  %i4, %o1                                  
static void                                                           
rtems_bdbuf_wait_for_sync_done (rtems_bdbuf_buffer *bd)               
{                                                                     
  while (true)                                                        
  {                                                                   
    switch (bd->state)                                                
 200f8dc:	10 bf ff ed 	b  200f890 <rtems_bdbuf_sync+0xa4>             
 200f8e0:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
  rtems_bdbuf_wait_for_sync_done (bd);                                
                                                                      
  /*                                                                  
   * We may have created a cached or empty buffer which may be recycled.
   */                                                                 
  if (bd->waiters == 0                                                
 200f8e4:	80 a0 60 00 	cmp  %g1, 0                                    
 200f8e8:	12 bf ff d5 	bne  200f83c <rtems_bdbuf_sync+0x50>           
 200f8ec:	82 02 3f ff 	add  %o0, -1, %g1                              
        && (bd->state == RTEMS_BDBUF_STATE_CACHED                     
 200f8f0:	80 a0 60 01 	cmp  %g1, 1                                    
 200f8f4:	18 bf ff d2 	bgu  200f83c <rtems_bdbuf_sync+0x50>           <== NEVER TAKEN
 200f8f8:	80 a2 20 01 	cmp  %o0, 1                                    
          || bd->state == RTEMS_BDBUF_STATE_EMPTY))                   
  {                                                                   
    if (bd->state == RTEMS_BDBUF_STATE_EMPTY)                         
 200f8fc:	02 80 00 06 	be  200f914 <rtems_bdbuf_sync+0x128>           
 200f900:	01 00 00 00 	nop                                            
    {                                                                 
      rtems_bdbuf_remove_from_tree (bd);                              
      rtems_bdbuf_make_free_and_add_to_lru_list (bd);                 
    }                                                                 
    rtems_bdbuf_wake (&bdbuf_cache.buffer_waiters);                   
 200f904:	11 00 80 8a 	sethi  %hi(0x2022800), %o0                     
 200f908:	7f ff f7 d4 	call  200d858 <rtems_bdbuf_wake>               
 200f90c:	90 12 22 28 	or  %o0, 0x228, %o0	! 2022a28 <bdbuf_cache+0x74>
 200f910:	30 bf ff cb 	b,a   200f83c <rtems_bdbuf_sync+0x50>          
        && (bd->state == RTEMS_BDBUF_STATE_CACHED                     
          || bd->state == RTEMS_BDBUF_STATE_EMPTY))                   
  {                                                                   
    if (bd->state == RTEMS_BDBUF_STATE_EMPTY)                         
    {                                                                 
      rtems_bdbuf_remove_from_tree (bd);                              
 200f914:	7f ff f8 39 	call  200d9f8 <rtems_bdbuf_remove_from_tree>   
 200f918:	90 10 00 18 	mov  %i0, %o0                                  
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 200f91c:	c2 07 60 40 	ld  [ %i5 + 0x40 ], %g1                        
}                                                                     
                                                                      
static void                                                           
rtems_bdbuf_set_state (rtems_bdbuf_buffer *bd, rtems_bdbuf_buf_state state)
{                                                                     
  bd->state = state;                                                  
 200f920:	c0 26 20 20 	clr  [ %i0 + 0x20 ]                            
  after_node->next      = the_node;                                   
 200f924:	f0 27 60 40 	st  %i0, [ %i5 + 0x40 ]                        
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 200f928:	05 00 80 8a 	sethi  %hi(0x2022800), %g2                     
 200f92c:	84 10 a1 f4 	or  %g2, 0x1f4, %g2	! 20229f4 <bdbuf_cache+0x40>
 200f930:	c4 26 20 04 	st  %g2, [ %i0 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
 200f934:	c2 26 00 00 	st  %g1, [ %i0 ]                               
  before_node->previous = the_node;                                   
 200f938:	10 bf ff f3 	b  200f904 <rtems_bdbuf_sync+0x118>            
 200f93c:	f0 20 60 04 	st  %i0, [ %g1 + 4 ]                           
                                                                      

0200d574 <rtems_bdbuf_unlock>: * @param lock The mutex to unlock. * @param fatal_error_code The error code if the call fails. */ static void rtems_bdbuf_unlock (rtems_id lock, uint32_t fatal_error_code) {
 200d574:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = rtems_semaphore_release (lock);              
 200d578:	7f ff ef 43 	call  2009284 <rtems_semaphore_release>        
 200d57c:	90 10 00 18 	mov  %i0, %o0                                  
  if (sc != RTEMS_SUCCESSFUL)                                         
 200d580:	80 a2 20 00 	cmp  %o0, 0                                    
 200d584:	12 80 00 04 	bne  200d594 <rtems_bdbuf_unlock+0x20>         <== NEVER TAKEN
 200d588:	01 00 00 00 	nop                                            
 200d58c:	81 c7 e0 08 	ret                                            
 200d590:	81 e8 00 00 	restore                                        
    rtems_fatal_error_occurred (fatal_error_code);                    
 200d594:	7f ff f0 a0 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d598:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
                                                                      

0200d60c <rtems_bdbuf_wait_for_event>: return RTEMS_UNSATISFIED; } static void rtems_bdbuf_wait_for_event (rtems_event_set event) {
 200d60c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_event_set   out = 0;                                          
                                                                      
  sc = rtems_event_receive (event,                                    
 200d610:	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;                                          
 200d614:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
  sc = rtems_event_receive (event,                                    
 200d618:	90 10 00 18 	mov  %i0, %o0                                  
 200d61c:	94 10 20 00 	clr  %o2                                       
 200d620:	7f ff ed 23 	call  2008aac <rtems_event_receive>            
 200d624:	96 07 bf fc 	add  %fp, -4, %o3                              
                            RTEMS_EVENT_ALL | RTEMS_WAIT,             
                            RTEMS_NO_TIMEOUT,                         
                            &out);                                    
                                                                      
  if (sc != RTEMS_SUCCESSFUL || out != event)                         
 200d628:	80 a2 20 00 	cmp  %o0, 0                                    
 200d62c:	12 80 00 07 	bne  200d648 <rtems_bdbuf_wait_for_event+0x3c> <== NEVER TAKEN
 200d630:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200d634:	80 a0 40 18 	cmp  %g1, %i0                                  
 200d638:	12 80 00 05 	bne  200d64c <rtems_bdbuf_wait_for_event+0x40> <== NEVER TAKEN
 200d63c:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
 200d640:	81 c7 e0 08 	ret                                            
 200d644:	81 e8 00 00 	restore                                        
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_WAIT_EVNT);  
 200d648:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    <== NOT EXECUTED
 200d64c:	7f ff f0 72 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d650:	90 12 20 1a 	or  %o0, 0x1a, %o0	! 4200001a <RAM_END+0x3fc0001a><== NOT EXECUTED
                                                                      

0200d858 <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) {
 200d858:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (waiters->count > 0)                                             
 200d85c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 200d860:	80 a0 60 00 	cmp  %g1, 0                                    
 200d864:	12 80 00 04 	bne  200d874 <rtems_bdbuf_wake+0x1c>           
 200d868:	01 00 00 00 	nop                                            
 200d86c:	81 c7 e0 08 	ret                                            
 200d870:	81 e8 00 00 	restore                                        
  {                                                                   
    sc = rtems_semaphore_flush (waiters->sema);                       
 200d874:	40 00 11 b5 	call  2011f48 <rtems_semaphore_flush>          
 200d878:	d0 06 20 04 	ld  [ %i0 + 4 ], %o0                           
    if (sc != RTEMS_SUCCESSFUL)                                       
 200d87c:	80 a2 20 00 	cmp  %o0, 0                                    
 200d880:	02 bf ff fb 	be  200d86c <rtems_bdbuf_wake+0x14>            <== ALWAYS TAKEN
 200d884:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
      rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_CACHE_WAKE);
 200d888:	7f ff ef e3 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d88c:	90 12 20 13 	or  %o0, 0x13, %o0	! 42000013 <RAM_END+0x3fc00013><== NOT EXECUTED
                                                                      

0200d5bc <rtems_bdbuf_wake_swapper>: } } static void rtems_bdbuf_wake_swapper (void) {
 200d5bc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = rtems_event_send (bdbuf_cache.swapout,       
 200d5c0:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 200d5c4:	d0 00 61 b4 	ld  [ %g1 + 0x1b4 ], %o0	! 20229b4 <bdbuf_cache>
 200d5c8:	7f ff ed 9c 	call  2008c38 <rtems_event_send>               
 200d5cc:	92 10 20 04 	mov  4, %o1                                    
                                           RTEMS_BDBUF_SWAPOUT_SYNC); 
  if (sc != RTEMS_SUCCESSFUL)                                         
 200d5d0:	80 a2 20 00 	cmp  %o0, 0                                    
 200d5d4:	12 80 00 04 	bne  200d5e4 <rtems_bdbuf_wake_swapper+0x28>   <== NEVER TAKEN
 200d5d8:	11 10 80 00 	sethi  %hi(0x42000000), %o0                    
 200d5dc:	81 c7 e0 08 	ret                                            
 200d5e0:	81 e8 00 00 	restore                                        
    rtems_fatal_error_occurred (RTEMS_BLKDEV_FATAL_BDBUF_SO_WAKE);    
 200d5e4:	7f ff f0 8c 	call  2009814 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200d5e8:	90 12 20 14 	or  %o0, 0x14, %o0                             <== NOT EXECUTED
                                                                      

0202718c <rtems_bdpart_create>: const rtems_bdpart_format *format, rtems_bdpart_partition *pt, const unsigned *dist, size_t count ) {
 202718c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
 2027190:	80 a6 60 00 	cmp  %i1, 0                                    
 2027194:	02 80 00 06 	be  20271ac <rtems_bdpart_create+0x20>         <== NEVER TAKEN
 2027198:	90 10 00 18 	mov  %i0, %o0                                  
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
 202719c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 20271a0:	80 a0 60 00 	cmp  %g1, 0                                    
 20271a4:	22 80 00 12 	be,a   20271ec <rtems_bdpart_create+0x60>      <== ALWAYS TAKEN
 20271a8:	c2 0e 60 08 	ldub  [ %i1 + 8 ], %g1                         
    && format->mbr.dos_compatibility;                                 
  rtems_blkdev_bnum disk_end = 0;                                     
 20271ac:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
  const unsigned *dist,                                               
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
 20271b0:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
  rtems_blkdev_bnum disk_end = 0;                                     
  rtems_blkdev_bnum pos = 0;                                          
  rtems_blkdev_bnum dist_sum = 0;                                     
  rtems_blkdev_bnum record_space =                                    
 20271b4:	a0 10 20 01 	mov  1, %l0                                    <== NOT EXECUTED
  rtems_blkdev_bnum overhead = 0;                                     
  rtems_blkdev_bnum free_space = 0;                                   
  size_t i = 0;                                                       
                                                                      
  /* Check if we have something to do */                              
  if (count == 0) {                                                   
 20271b8:	80 a7 20 00 	cmp  %i4, 0                                    
 20271bc:	02 80 00 0a 	be  20271e4 <rtems_bdpart_create+0x58>         <== NEVER TAKEN
 20271c0:	b0 10 20 00 	clr  %i0                                       
    /* Nothing to do */                                               
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL || dist == NULL) {                 
 20271c4:	80 a6 a0 00 	cmp  %i2, 0                                    
 20271c8:	02 80 00 07 	be  20271e4 <rtems_bdpart_create+0x58>         <== NEVER TAKEN
 20271cc:	b0 10 20 09 	mov  9, %i0                                    
 20271d0:	80 a6 60 00 	cmp  %i1, 0                                    
 20271d4:	02 80 00 04 	be  20271e4 <rtems_bdpart_create+0x58>         <== NEVER TAKEN
 20271d8:	80 a6 e0 00 	cmp  %i3, 0                                    
 20271dc:	12 80 00 0a 	bne  2027204 <rtems_bdpart_create+0x78>        <== ALWAYS TAKEN
 20271e0:	92 10 20 00 	clr  %o1                                       
                                                                      
  /* Expand the last partition to the disk end */                     
  pt [count - 1].end = disk_end;                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 20271e4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20271e8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
 20271ec:	80 a0 60 00 	cmp  %g1, 0                                    
 20271f0:	02 bf ff f0 	be  20271b0 <rtems_bdpart_create+0x24>         <== NEVER TAKEN
 20271f4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  const unsigned *dist,                                               
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  bool dos_compatibility = format != NULL                             
 20271f8:	a2 10 20 01 	mov  1, %l1                                    
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
  rtems_blkdev_bnum disk_end = 0;                                     
  rtems_blkdev_bnum pos = 0;                                          
  rtems_blkdev_bnum dist_sum = 0;                                     
  rtems_blkdev_bnum record_space =                                    
 20271fc:	10 bf ff ef 	b  20271b8 <rtems_bdpart_create+0x2c>          
 2027200:	a0 10 20 3f 	mov  0x3f, %l0                                 
  if (format == NULL || pt == NULL || dist == NULL) {                 
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, NULL, NULL, &disk_end); 
 2027204:	94 10 20 00 	clr  %o2                                       
 2027208:	40 00 01 f9 	call  20279ec <rtems_bdpart_get_disk_data>     
 202720c:	96 07 bf fc 	add  %fp, -4, %o3                              
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2027210:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2027214:	12 80 00 72 	bne  20273dc <rtems_bdpart_create+0x250>       <== NEVER TAKEN
 2027218:	01 00 00 00 	nop                                            
                                                                      
  /* Get distribution sum and check for overflow */                   
  for (i = 0; i < count; ++i) {                                       
    unsigned prev_sum = dist_sum;                                     
                                                                      
    dist_sum += dist [i];                                             
 202721c:	e4 06 c0 00 	ld  [ %i3 ], %l2                               
                                                                      
    if (dist_sum < prev_sum) {                                        
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    if (dist [i] == 0) {                                              
 2027220:	ba 94 a0 00 	orcc  %l2, 0, %i5                              
 2027224:	12 80 00 0b 	bne  2027250 <rtems_bdpart_create+0xc4>        <== ALWAYS TAKEN
 2027228:	82 10 20 00 	clr  %g1                                       
      return RTEMS_INVALID_NUMBER;                                    
 202722c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2027230:	91 e8 20 0a 	restore  %g0, 0xa, %o0                         <== NOT EXECUTED
                                                                      
  /* Get distribution sum and check for overflow */                   
  for (i = 0; i < count; ++i) {                                       
    unsigned prev_sum = dist_sum;                                     
                                                                      
    dist_sum += dist [i];                                             
 2027234:	c4 06 c0 02 	ld  [ %i3 + %g2 ], %g2                         
 2027238:	86 07 40 02 	add  %i5, %g2, %g3                             
                                                                      
    if (dist_sum < prev_sum) {                                        
 202723c:	80 a0 c0 1d 	cmp  %g3, %i5                                  
 2027240:	0a 80 00 0e 	bcs  2027278 <rtems_bdpart_create+0xec>        <== NEVER TAKEN
 2027244:	80 a0 a0 00 	cmp  %g2, 0                                    
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    if (dist [i] == 0) {                                              
 2027248:	02 80 00 0c 	be  2027278 <rtems_bdpart_create+0xec>         <== NEVER TAKEN
 202724c:	ba 10 00 03 	mov  %g3, %i5                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  /* Get distribution sum and check for overflow */                   
  for (i = 0; i < count; ++i) {                                       
 2027250:	82 00 60 01 	inc  %g1                                       
 2027254:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2027258:	12 bf ff f7 	bne  2027234 <rtems_bdpart_create+0xa8>        
 202725c:	85 28 60 02 	sll  %g1, 2, %g2                               
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
  }                                                                   
                                                                      
  /* Check format */                                                  
  if (format->type != RTEMS_BDPART_FORMAT_MBR) {                      
 2027260:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2027264:	80 a0 60 00 	cmp  %g1, 0                                    
 2027268:	02 80 00 06 	be  2027280 <rtems_bdpart_create+0xf4>         <== ALWAYS TAKEN
 202726c:	a2 8c 60 ff 	andcc  %l1, 0xff, %l1                          
    return RTEMS_NOT_IMPLEMENTED;                                     
 2027270:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2027274:	91 e8 20 18 	restore  %g0, 0x18, %o0                        <== NOT EXECUTED
    if (dist_sum < prev_sum) {                                        
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
                                                                      
    if (dist [i] == 0) {                                              
      return RTEMS_INVALID_NUMBER;                                    
 2027278:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202727c:	91 e8 20 0a 	restore  %g0, 0xa, %o0                         <== NOT EXECUTED
  if (format->type != RTEMS_BDPART_FORMAT_MBR) {                      
    return RTEMS_NOT_IMPLEMENTED;                                     
  }                                                                   
                                                                      
  /* Align end of disk on cylinder boundary if necessary */           
  if (dos_compatibility) {                                            
 2027280:	02 80 00 06 	be  2027298 <rtems_bdpart_create+0x10c>        <== NEVER TAKEN
 2027284:	ec 07 bf fc 	ld  [ %fp + -4 ], %l6                          
    disk_end -= (disk_end % record_space);                            
 2027288:	90 10 00 16 	mov  %l6, %o0                                  
 202728c:	40 00 eb 30 	call  2061f4c <.urem>                          
 2027290:	92 10 00 10 	mov  %l0, %o1                                  
 2027294:	ac 25 80 08 	sub  %l6, %o0, %l6                             
                                                                      
  /*                                                                  
   * In case we need an extended partition and logical partitions we have to
   * account for the space of each EBR.                               
   */                                                                 
  if (count > 4) {                                                    
 2027298:	80 a7 20 04 	cmp  %i4, 4                                    
 202729c:	08 80 00 06 	bleu  20272b4 <rtems_bdpart_create+0x128>      <== NEVER TAKEN
 20272a0:	aa 10 00 10 	mov  %l0, %l5                                  
    overhead += (count - 3) * record_space;                           
 20272a4:	90 10 00 10 	mov  %l0, %o0                                  
 20272a8:	7f ff 6f 2f 	call  2002f64 <.umul>                          
 20272ac:	92 07 3f fd 	add  %i4, -3, %o1                              
 20272b0:	aa 02 00 10 	add  %o0, %l0, %l5                             
                                                                      
  /*                                                                  
   * Account space to align every partition on cylinder boundaries if 
   * necessary.                                                       
   */                                                                 
  if (dos_compatibility) {                                            
 20272b4:	80 a4 60 00 	cmp  %l1, 0                                    
 20272b8:	02 80 00 07 	be  20272d4 <rtems_bdpart_create+0x148>        <== NEVER TAKEN
 20272bc:	82 05 40 1c 	add  %l5, %i4, %g1                             
    overhead += (count - 1) * record_space;                           
 20272c0:	90 10 00 10 	mov  %l0, %o0                                  
 20272c4:	7f ff 6f 28 	call  2002f64 <.umul>                          
 20272c8:	92 07 3f ff 	add  %i4, -1, %o1                              
 20272cc:	aa 05 40 08 	add  %l5, %o0, %l5                             
  }                                                                   
                                                                      
  /* Check disk space */                                              
  if ((overhead + count) > disk_end) {                                
 20272d0:	82 05 40 1c 	add  %l5, %i4, %g1                             
 20272d4:	80 a0 40 16 	cmp  %g1, %l6                                  
 20272d8:	08 80 00 04 	bleu  20272e8 <rtems_bdpart_create+0x15c>      <== ALWAYS TAKEN
 20272dc:	aa 25 80 15 	sub  %l6, %l5, %l5                             
    return RTEMS_IO_ERROR;                                            
 20272e0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20272e4:	91 e8 20 1b 	restore  %g0, 0x1b, %o0                        <== NOT EXECUTED
                                                                      
  for (i = 0; i < count; ++i) {                                       
    rtems_bdpart_partition *p = pt + i;                               
                                                                      
    /* Partition size */                                              
    rtems_blkdev_bnum s = free_space * dist [i];                      
 20272e8:	92 10 00 12 	mov  %l2, %o1                                  
 20272ec:	7f ff 6f 1e 	call  2002f64 <.umul>                          
 20272f0:	90 10 00 15 	mov  %l5, %o0                                  
    if (s < free_space || s < dist [i]) {                             
 20272f4:	80 a5 40 08 	cmp  %l5, %o0                                  
 20272f8:	18 bf ff e0 	bgu  2027278 <rtems_bdpart_create+0xec>        <== NEVER TAKEN
 20272fc:	80 a4 80 08 	cmp  %l2, %o0                                  
 2027300:	18 bf ff de 	bgu  2027278 <rtems_bdpart_create+0xec>        <== NEVER TAKEN
 2027304:	80 a7 20 04 	cmp  %i4, 4                                    
 2027308:	18 80 00 03 	bgu  2027314 <rtems_bdpart_create+0x188>       <== ALWAYS TAKEN
 202730c:	ae 10 20 01 	mov  1, %l7                                    
 2027310:	ae 10 20 00 	clr  %l7                                       <== NOT EXECUTED
#endif                                                                
                                                                      
#include <rtems.h>                                                    
#include <rtems/bdpart.h>                                             
                                                                      
rtems_status_code rtems_bdpart_create(                                
 2027314:	a8 06 a0 30 	add  %i2, 0x30, %l4                            
 2027318:	a6 10 00 1a 	mov  %i2, %l3                                  
  if ((overhead + count) > disk_end) {                                
    return RTEMS_IO_ERROR;                                            
  }                                                                   
                                                                      
  /* Begin of first primary partition */                              
  pos = record_space;                                                 
 202731c:	a2 10 00 10 	mov  %l0, %l1                                  
                                                                      
  /* Space for partitions */                                          
  free_space = disk_end - overhead;                                   
                                                                      
  for (i = 0; i < count; ++i) {                                       
 2027320:	b2 10 20 00 	clr  %i1                                       
                                                                      
    /* Align partition upwards */                                     
    s += record_space - (s % record_space);                           
                                                                      
    /* Reserve space for the EBR if necessary */                      
    if (count > 4 && i > 2) {                                         
 2027324:	10 80 00 0b 	b  2027350 <rtems_bdpart_create+0x1c4>         
 2027328:	ae 0d e0 ff 	and  %l7, 0xff, %l7                            
                                                                      
  for (i = 0; i < count; ++i) {                                       
    rtems_bdpart_partition *p = pt + i;                               
                                                                      
    /* Partition size */                                              
    rtems_blkdev_bnum s = free_space * dist [i];                      
 202732c:	e4 06 c0 01 	ld  [ %i3 + %g1 ], %l2                         
                                                                      
  /* Space for partitions */                                          
  free_space = disk_end - overhead;                                   
                                                                      
  for (i = 0; i < count; ++i) {                                       
    rtems_bdpart_partition *p = pt + i;                               
 2027330:	a6 10 00 14 	mov  %l4, %l3                                  
                                                                      
    /* Partition size */                                              
    rtems_blkdev_bnum s = free_space * dist [i];                      
 2027334:	7f ff 6f 0c 	call  2002f64 <.umul>                          
 2027338:	90 10 00 12 	mov  %l2, %o0                                  
    if (s < free_space || s < dist [i]) {                             
 202733c:	80 a5 40 08 	cmp  %l5, %o0                                  
 2027340:	18 bf ff ce 	bgu  2027278 <rtems_bdpart_create+0xec>        <== NEVER TAKEN
 2027344:	80 a4 80 08 	cmp  %l2, %o0                                  
 2027348:	18 bf ff cc 	bgu  2027278 <rtems_bdpart_create+0xec>        <== NEVER TAKEN
 202734c:	a8 05 20 30 	add  %l4, 0x30, %l4                            
      /* TODO: Calculate without overflow */                          
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
    s /= dist_sum;                                                    
 2027350:	40 00 ea 53 	call  2061c9c <.udiv>                          
 2027354:	92 10 00 1d 	mov  %i5, %o1                                  
    if (s == 0) {                                                     
      s = 1;                                                          
    }                                                                 
                                                                      
    /* Align partition upwards */                                     
    s += record_space - (s % record_space);                           
 2027358:	92 10 00 10 	mov  %l0, %o1                                  
      return RTEMS_INVALID_NUMBER;                                    
    }                                                                 
    s /= dist_sum;                                                    
                                                                      
    /* Ensure that the partition is not empty */                      
    if (s == 0) {                                                     
 202735c:	80 a2 20 00 	cmp  %o0, 0                                    
 2027360:	12 80 00 03 	bne  202736c <rtems_bdpart_create+0x1e0>       <== ALWAYS TAKEN
 2027364:	a4 10 00 08 	mov  %o0, %l2                                  
      s = 1;                                                          
 2027368:	a4 10 20 01 	mov  1, %l2                                    <== NOT EXECUTED
    }                                                                 
                                                                      
    /* Align partition upwards */                                     
    s += record_space - (s % record_space);                           
 202736c:	40 00 ea f8 	call  2061f4c <.urem>                          
 2027370:	90 10 00 12 	mov  %l2, %o0                                  
 2027374:	a4 04 80 10 	add  %l2, %l0, %l2                             
                                                                      
  for (i = 0; i < count; ++i) {                                       
    rtems_bdpart_partition *p = pt + i;                               
                                                                      
    /* Partition size */                                              
    rtems_blkdev_bnum s = free_space * dist [i];                      
 2027378:	92 10 00 15 	mov  %l5, %o1                                  
                                                                      
    /* Align partition upwards */                                     
    s += record_space - (s % record_space);                           
                                                                      
    /* Reserve space for the EBR if necessary */                      
    if (count > 4 && i > 2) {                                         
 202737c:	82 10 20 01 	mov  1, %g1                                    
 2027380:	80 a6 60 02 	cmp  %i1, 2                                    
 2027384:	18 80 00 03 	bgu  2027390 <rtems_bdpart_create+0x204>       
 2027388:	90 24 80 08 	sub  %l2, %o0, %o0                             
 202738c:	82 10 20 00 	clr  %g1                                       
 2027390:	80 88 60 ff 	btst  0xff, %g1                                
 2027394:	22 80 00 06 	be,a   20273ac <rtems_bdpart_create+0x220>     
 2027398:	e2 24 c0 00 	st  %l1, [ %l3 ]                               
 202739c:	80 a5 e0 00 	cmp  %l7, 0                                    
 20273a0:	32 80 00 02 	bne,a   20273a8 <rtems_bdpart_create+0x21c>    <== ALWAYS TAKEN
 20273a4:	a2 04 40 10 	add  %l1, %l0, %l1                             
      pos += record_space;                                            
    }                                                                 
                                                                      
    /* Partition begin and end */                                     
    p->begin = pos;                                                   
 20273a8:	e2 24 c0 00 	st  %l1, [ %l3 ]                               
    pos += s;                                                         
 20273ac:	a2 04 40 08 	add  %l1, %o0, %l1                             
    p->end = pos;                                                     
 20273b0:	e2 24 e0 04 	st  %l1, [ %l3 + 4 ]                           
  pos = record_space;                                                 
                                                                      
  /* Space for partitions */                                          
  free_space = disk_end - overhead;                                   
                                                                      
  for (i = 0; i < count; ++i) {                                       
 20273b4:	b2 06 60 01 	inc  %i1                                       
 20273b8:	80 a7 00 19 	cmp  %i4, %i1                                  
 20273bc:	18 bf ff dc 	bgu  202732c <rtems_bdpart_create+0x1a0>       
 20273c0:	83 2e 60 02 	sll  %i1, 2, %g1                               
    pos += s;                                                         
    p->end = pos;                                                     
  }                                                                   
                                                                      
  /* Expand the last partition to the disk end */                     
  pt [count - 1].end = disk_end;                                      
 20273c4:	b8 07 3f ff 	add  %i4, -1, %i4                              
 20273c8:	83 2f 20 04 	sll  %i4, 4, %g1                               
 20273cc:	b9 2f 20 06 	sll  %i4, 6, %i4                               
 20273d0:	82 27 00 01 	sub  %i4, %g1, %g1                             
 20273d4:	b4 06 80 01 	add  %i2, %g1, %i2                             
 20273d8:	ec 26 a0 04 	st  %l6, [ %i2 + 4 ]                           
 20273dc:	81 c7 e0 08 	ret                                            
 20273e0:	81 e8 00 00 	restore                                        
                                                                      

020273e4 <rtems_bdpart_dump>: { uuid_unparse_lower( type, str); } void rtems_bdpart_dump( const rtems_bdpart_partition *pt, size_t count) {
 20273e4:	9d e3 bf 60 	save  %sp, -160, %sp                           
  size_t i = 0;                                                       
                                                                      
  printf(                                                             
 20273e8:	11 00 81 a8 	sethi  %hi(0x206a000), %o0                     
 20273ec:	40 00 98 1e 	call  204d464 <puts>                           
 20273f0:	90 12 20 38 	or  %o0, 0x38, %o0	! 206a038 <rtems_rfs_rtems_eval_config+0xe60>
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
 20273f4:	80 a6 60 00 	cmp  %i1, 0                                    
 20273f8:	02 80 00 3a 	be  20274e0 <rtems_bdpart_dump+0xfc>           <== NEVER TAKEN
 20273fc:	11 00 81 a8 	sethi  %hi(0x206a000), %o0                     
          break;                                                      
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
          break;                                                      
        default:                                                      
          snprintf( type_buffer, sizeof( type_buffer), "0x%02" PRIx8, type_mbr);
 2027400:	29 00 81 a8 	sethi  %hi(0x206a000), %l4                     
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
    }                                                                 
                                                                      
    printf(                                                           
 2027404:	37 00 81 a8 	sethi  %hi(0x206a000), %i3                     
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
 2027408:	ba 10 20 00 	clr  %i5                                       
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16_LBA:                             
          type = "FAT 16 LBA";                                        
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32:                                 
          type = "FAT 32";                                            
 202740c:	2b 00 81 a8 	sethi  %hi(0x206a000), %l5                     
          break;                                                      
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
          break;                                                      
        default:                                                      
          snprintf( type_buffer, sizeof( type_buffer), "0x%02" PRIx8, type_mbr);
 2027410:	a8 15 21 78 	or  %l4, 0x178, %l4                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16:                                 
          type = "FAT 16";                                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16_LBA:                             
          type = "FAT 16 LBA";                                        
 2027414:	27 00 81 a8 	sethi  %hi(0x206a000), %l3                     
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32_LBA:                             
          type = "FAT 32 LBA";                                        
          break;                                                      
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
 2027418:	25 00 81 a8 	sethi  %hi(0x206a000), %l2                     
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32:                                 
          type = "FAT 32";                                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32_LBA:                             
          type = "FAT 32 LBA";                                        
 202741c:	23 00 81 a8 	sethi  %hi(0x206a000), %l1                     
    uint8_t type_mbr = 0;                                             
                                                                      
    if (rtems_bdpart_to_mbr_partition_type( p->type, &type_mbr)) {    
      switch (type_mbr) {                                             
        case RTEMS_BDPART_MBR_FAT_12:                                 
          type = "FAT 12";                                            
 2027420:	21 00 81 a8 	sethi  %hi(0x206a000), %l0                     
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16:                                 
          type = "FAT 16";                                            
 2027424:	35 00 81 a7 	sethi  %hi(0x2069c00), %i2                     
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
    }                                                                 
                                                                      
    printf(                                                           
 2027428:	10 80 00 19 	b  202748c <rtems_bdpart_dump+0xa8>            
 202742c:	b6 16 e1 80 	or  %i3, 0x180, %i3                            
    const char *type = NULL;                                          
    char type_buffer [52];                                            
    uint8_t type_mbr = 0;                                             
                                                                      
    if (rtems_bdpart_to_mbr_partition_type( p->type, &type_mbr)) {    
      switch (type_mbr) {                                             
 2027430:	80 a2 e0 0b 	cmp  %o3, 0xb                                  
 2027434:	22 80 00 0e 	be,a   202746c <rtems_bdpart_dump+0x88>        <== ALWAYS TAKEN
 2027438:	96 15 60 20 	or  %l5, 0x20, %o3                             
 202743c:	18 80 00 2d 	bgu  20274f0 <rtems_bdpart_dump+0x10c>         <== NOT EXECUTED
 2027440:	80 a2 e0 0e 	cmp  %o3, 0xe                                  <== NOT EXECUTED
 2027444:	80 a2 e0 01 	cmp  %o3, 1                                    <== NOT EXECUTED
 2027448:	02 80 00 36 	be  2027520 <rtems_bdpart_dump+0x13c>          <== NOT EXECUTED
 202744c:	80 a2 e0 04 	cmp  %o3, 4                                    <== NOT EXECUTED
 2027450:	22 80 00 07 	be,a   202746c <rtems_bdpart_dump+0x88>        <== NOT EXECUTED
 2027454:	96 16 a3 f8 	or  %i2, 0x3f8, %o3                            <== NOT EXECUTED
          break;                                                      
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
          break;                                                      
        default:                                                      
          snprintf( type_buffer, sizeof( type_buffer), "0x%02" PRIx8, type_mbr);
 2027458:	90 07 bf c8 	add  %fp, -56, %o0                             <== NOT EXECUTED
 202745c:	92 10 20 34 	mov  0x34, %o1                                 <== NOT EXECUTED
 2027460:	40 00 9d 71 	call  204ea24 <snprintf>                       <== NOT EXECUTED
 2027464:	94 10 00 14 	mov  %l4, %o2                                  <== NOT EXECUTED
          type = type_buffer;                                         
 2027468:	96 07 bf c8 	add  %fp, -56, %o3                             <== NOT EXECUTED
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
    }                                                                 
                                                                      
    printf(                                                           
 202746c:	d2 06 00 00 	ld  [ %i0 ], %o1                               
 2027470:	d4 06 20 04 	ld  [ %i0 + 4 ], %o2                           
 2027474:	40 00 97 64 	call  204d204 <printf>                         
 2027478:	90 10 00 1b 	mov  %i3, %o0                                  
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
 202747c:	ba 07 60 01 	inc  %i5                                       
 2027480:	80 a7 40 19 	cmp  %i5, %i1                                  
 2027484:	02 80 00 16 	be  20274dc <rtems_bdpart_dump+0xf8>           
 2027488:	b0 06 20 30 	add  %i0, 0x30, %i0                            
    const rtems_bdpart_partition *p = pt + i;                         
    const char *type = NULL;                                          
    char type_buffer [52];                                            
    uint8_t type_mbr = 0;                                             
 202748c:	c0 2f bf c7 	clrb  [ %fp + -57 ]                            
                                                                      
    if (rtems_bdpart_to_mbr_partition_type( p->type, &type_mbr)) {    
 2027490:	b8 06 20 08 	add  %i0, 8, %i4                               
 2027494:	92 07 bf c7 	add  %fp, -57, %o1                             
 2027498:	40 00 01 49 	call  20279bc <rtems_bdpart_to_mbr_partition_type>
 202749c:	90 10 00 1c 	mov  %i4, %o0                                  
 20274a0:	80 8a 20 ff 	btst  0xff, %o0                                
 20274a4:	12 bf ff e3 	bne  2027430 <rtems_bdpart_dump+0x4c>          <== ALWAYS TAKEN
 20274a8:	d6 0f bf c7 	ldub  [ %fp + -57 ], %o3                       
static void rtems_bdpart_type_to_string(                              
  const uuid_t type,                                                  
  char str [37]                                                       
)                                                                     
{                                                                     
  uuid_unparse_lower( type, str);                                     
 20274ac:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 20274b0:	40 00 71 a3 	call  2043b3c <uuid_unparse_lower>             <== NOT EXECUTED
 20274b4:	92 07 bf c8 	add  %fp, -56, %o1                             <== NOT EXECUTED
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
    }                                                                 
                                                                      
    printf(                                                           
 20274b8:	d2 06 00 00 	ld  [ %i0 ], %o1                               <== NOT EXECUTED
 20274bc:	d4 06 20 04 	ld  [ %i0 + 4 ], %o2                           <== NOT EXECUTED
          type = type_buffer;                                         
          break;                                                      
      }                                                               
    } else {                                                          
      rtems_bdpart_type_to_string( p->type, type_buffer);             
      type = type_buffer;                                             
 20274c0:	96 07 bf c8 	add  %fp, -56, %o3                             <== NOT EXECUTED
    }                                                                 
                                                                      
    printf(                                                           
 20274c4:	40 00 97 50 	call  204d204 <printf>                         <== NOT EXECUTED
 20274c8:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    "------------+------------+-----------------------------------------------------\n"
    " BEGIN      | END        | TYPE\n"                               
    "------------+------------+-----------------------------------------------------\n"
  );                                                                  
                                                                      
  for (i = 0; i < count; ++i) {                                       
 20274cc:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 20274d0:	80 a7 40 19 	cmp  %i5, %i1                                  <== NOT EXECUTED
 20274d4:	12 bf ff ee 	bne  202748c <rtems_bdpart_dump+0xa8>          <== NOT EXECUTED
 20274d8:	b0 06 20 30 	add  %i0, 0x30, %i0                            <== NOT EXECUTED
      p->end,                                                         
      type                                                            
    );                                                                
  }                                                                   
                                                                      
  puts( "------------+------------+-----------------------------------------------------");
 20274dc:	11 00 81 a8 	sethi  %hi(0x206a000), %o0                     
 20274e0:	40 00 97 e1 	call  204d464 <puts>                           
 20274e4:	90 12 21 28 	or  %o0, 0x128, %o0	! 206a128 <rtems_rfs_rtems_eval_config+0xf50>
 20274e8:	81 c7 e0 08 	ret                                            
 20274ec:	81 e8 00 00 	restore                                        
    const char *type = NULL;                                          
    char type_buffer [52];                                            
    uint8_t type_mbr = 0;                                             
                                                                      
    if (rtems_bdpart_to_mbr_partition_type( p->type, &type_mbr)) {    
      switch (type_mbr) {                                             
 20274f0:	02 80 00 0a 	be  2027518 <rtems_bdpart_dump+0x134>          <== NOT EXECUTED
 20274f4:	80 a2 e0 da 	cmp  %o3, 0xda                                 <== NOT EXECUTED
 20274f8:	02 80 00 06 	be  2027510 <rtems_bdpart_dump+0x12c>          <== NOT EXECUTED
 20274fc:	80 a2 e0 0c 	cmp  %o3, 0xc                                  <== NOT EXECUTED
 2027500:	12 bf ff d7 	bne  202745c <rtems_bdpart_dump+0x78>          <== NOT EXECUTED
 2027504:	90 07 bf c8 	add  %fp, -56, %o0                             <== NOT EXECUTED
        case RTEMS_BDPART_MBR_FAT_32:                                 
          type = "FAT 32";                                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_32_LBA:                             
          type = "FAT 32 LBA";                                        
          break;                                                      
 2027508:	10 bf ff d9 	b  202746c <rtems_bdpart_dump+0x88>            <== NOT EXECUTED
 202750c:	96 14 60 10 	or  %l1, 0x10, %o3                             <== NOT EXECUTED
        case RTEMS_BDPART_MBR_DATA:                                   
          type = "DATA";                                              
          break;                                                      
 2027510:	10 bf ff d7 	b  202746c <rtems_bdpart_dump+0x88>            <== NOT EXECUTED
 2027514:	96 14 a0 08 	or  %l2, 8, %o3                                <== NOT EXECUTED
        case RTEMS_BDPART_MBR_FAT_16:                                 
          type = "FAT 16";                                            
          break;                                                      
        case RTEMS_BDPART_MBR_FAT_16_LBA:                             
          type = "FAT 16 LBA";                                        
          break;                                                      
 2027518:	10 bf ff d5 	b  202746c <rtems_bdpart_dump+0x88>            <== NOT EXECUTED
 202751c:	96 14 e0 28 	or  %l3, 0x28, %o3                             <== NOT EXECUTED
    uint8_t type_mbr = 0;                                             
                                                                      
    if (rtems_bdpart_to_mbr_partition_type( p->type, &type_mbr)) {    
      switch (type_mbr) {                                             
        case RTEMS_BDPART_MBR_FAT_12:                                 
          type = "FAT 12";                                            
 2027520:	10 bf ff d3 	b  202746c <rtems_bdpart_dump+0x88>            <== NOT EXECUTED
 2027524:	96 14 20 00 	mov  %l0, %o3                                  <== NOT EXECUTED
                                                                      

020279ec <rtems_bdpart_get_disk_data>: const char *disk_name, int *fd_ptr, rtems_disk_device **dd_ptr, rtems_blkdev_bnum *disk_end ) {
 20279ec:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_disk_device *dd = NULL;                                       
  rtems_blkdev_bnum disk_begin = 0;                                   
  rtems_blkdev_bnum block_size = 0;                                   
                                                                      
  /* Open device file */                                              
  fd = open( disk_name, O_RDWR);                                      
 20279f0:	92 10 20 02 	mov  2, %o1                                    
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  int rv = 0;                                                         
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
 20279f4:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  rtems_blkdev_bnum disk_begin = 0;                                   
  rtems_blkdev_bnum block_size = 0;                                   
                                                                      
  /* Open device file */                                              
  fd = open( disk_name, O_RDWR);                                      
 20279f8:	7f ff 8a 14 	call  200a248 <open>                           
 20279fc:	90 10 00 18 	mov  %i0, %o0                                  
  if (fd < 0) {                                                       
 2027a00:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2027a04:	16 80 00 07 	bge  2027a20 <rtems_bdpart_get_disk_data+0x34> <== ALWAYS TAKEN
 2027a08:	94 07 bf fc 	add  %fp, -4, %o2                              
    sc = RTEMS_INVALID_NAME;                                          
 2027a0c:	b0 10 20 03 	mov  3, %i0                                    <== NOT EXECUTED
                                                                      
  if (sc == RTEMS_SUCCESSFUL && fd_ptr != NULL && dd_ptr != NULL) {   
    *fd_ptr = fd;                                                     
    *dd_ptr = dd;                                                     
  } else {                                                            
    close( fd);                                                       
 2027a10:	7f ff 85 82 	call  2009018 <close>                          <== NOT EXECUTED
 2027a14:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2027a18:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2027a1c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
static inline int rtems_disk_fd_get_disk_device(                      
  int fd,                                                             
  rtems_disk_device **dd_ptr                                          
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETDISKDEV, dd_ptr);                   
 2027a20:	13 10 01 10 	sethi  %hi(0x40044000), %o1                    
 2027a24:	7f ff 86 92 	call  200946c <ioctl>                          
 2027a28:	92 12 62 09 	or  %o1, 0x209, %o1	! 40044209 <RAM_END+0x3dc44209>
    goto error;                                                       
  }                                                                   
                                                                      
  /* Get disk handle */                                               
  rv = rtems_disk_fd_get_disk_device( fd, &dd);                       
  if (rv != 0) {                                                      
 2027a2c:	80 a2 20 00 	cmp  %o0, 0                                    
 2027a30:	32 bf ff f8 	bne,a   2027a10 <rtems_bdpart_get_disk_data+0x24><== NEVER TAKEN
 2027a34:	b0 10 20 03 	mov  3, %i0                                    <== NOT EXECUTED
    sc = RTEMS_INVALID_NAME;                                          
    goto error;                                                       
  }                                                                   
                                                                      
  /* Get disk begin, end and block size */                            
  disk_begin = dd->start;                                             
 2027a38:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  *disk_end = dd->size;                                               
 2027a3c:	c4 00 60 1c 	ld  [ %g1 + 0x1c ], %g2                        
    sc = RTEMS_INVALID_NAME;                                          
    goto error;                                                       
  }                                                                   
                                                                      
  /* Get disk begin, end and block size */                            
  disk_begin = dd->start;                                             
 2027a40:	c6 00 60 18 	ld  [ %g1 + 0x18 ], %g3                        
  *disk_end = dd->size;                                               
 2027a44:	c4 26 c0 00 	st  %g2, [ %i3 ]                               
  block_size = dd->block_size;                                        
                                                                      
  /* Check block size */                                              
  if (block_size < RTEMS_BDPART_BLOCK_SIZE) {                         
 2027a48:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        
 2027a4c:	80 a0 a1 ff 	cmp  %g2, 0x1ff                                
 2027a50:	08 bf ff f0 	bleu  2027a10 <rtems_bdpart_get_disk_data+0x24><== NEVER TAKEN
 2027a54:	b0 10 20 1b 	mov  0x1b, %i0                                 
    sc = RTEMS_IO_ERROR;                                              
    goto error;                                                       
  }                                                                   
                                                                      
  /* Check that we have do not have a logical disk */                 
  if (disk_begin != 0) {                                              
 2027a58:	80 a0 e0 00 	cmp  %g3, 0                                    
 2027a5c:	12 bf ff ed 	bne  2027a10 <rtems_bdpart_get_disk_data+0x24> <== NEVER TAKEN
 2027a60:	80 a6 60 00 	cmp  %i1, 0                                    
    goto error;                                                       
  }                                                                   
                                                                      
error:                                                                
                                                                      
  if (sc == RTEMS_SUCCESSFUL && fd_ptr != NULL && dd_ptr != NULL) {   
 2027a64:	02 80 00 08 	be  2027a84 <rtems_bdpart_get_disk_data+0x98>  
 2027a68:	80 a6 a0 00 	cmp  %i2, 0                                    
 2027a6c:	02 80 00 07 	be  2027a88 <rtems_bdpart_get_disk_data+0x9c>  <== NEVER TAKEN
 2027a70:	b0 10 20 00 	clr  %i0                                       
    *fd_ptr = fd;                                                     
 2027a74:	fa 26 40 00 	st  %i5, [ %i1 ]                               
    *dd_ptr = dd;                                                     
 2027a78:	c2 26 80 00 	st  %g1, [ %i2 ]                               
 2027a7c:	81 c7 e0 08 	ret                                            
 2027a80:	81 e8 00 00 	restore                                        
  int *fd_ptr,                                                        
  rtems_disk_device **dd_ptr,                                         
  rtems_blkdev_bnum *disk_end                                         
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
 2027a84:	b0 10 20 00 	clr  %i0                                       
                                                                      
  if (sc == RTEMS_SUCCESSFUL && fd_ptr != NULL && dd_ptr != NULL) {   
    *fd_ptr = fd;                                                     
    *dd_ptr = dd;                                                     
  } else {                                                            
    close( fd);                                                       
 2027a88:	7f ff 85 64 	call  2009018 <close>                          
 2027a8c:	90 10 00 1d 	mov  %i5, %o0                                  
 2027a90:	81 c7 e0 08 	ret                                            
 2027a94:	81 e8 00 00 	restore                                        
                                                                      

02027528 <rtems_bdpart_mount>: const char *disk_name, const rtems_bdpart_partition *pt __attribute__((unused)), size_t count, const char *mount_base ) {
 2027528:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  const char *disk_file_name = strrchr( disk_name, '/');              
 202752c:	92 10 20 2f 	mov  0x2f, %o1                                 <== NOT EXECUTED
 2027530:	40 00 a4 d7 	call  205088c <strrchr>                        <== NOT EXECUTED
 2027534:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2027538:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
  char *logical_disk_name = NULL;                                     
  char *logical_disk_marker = NULL;                                   
  char *mount_point = NULL;                                           
  char *mount_marker = NULL;                                          
  size_t disk_file_name_size = 0;                                     
  size_t disk_name_size = strlen( disk_name);                         
 202753c:	40 00 a0 b2 	call  204f804 <strlen>                         <== NOT EXECUTED
 2027540:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2027544:	a0 10 00 08 	mov  %o0, %l0                                  <== NOT EXECUTED
  size_t mount_base_size = strlen( mount_base);                       
 2027548:	40 00 a0 af 	call  204f804 <strlen>                         <== NOT EXECUTED
 202754c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count,                                                       
  const char *mount_base                                              
)                                                                     
{                                                                     
 2027550:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
  char *logical_disk_marker = NULL;                                   
  char *mount_point = NULL;                                           
  char *mount_marker = NULL;                                          
  size_t disk_file_name_size = 0;                                     
  size_t disk_name_size = strlen( disk_name);                         
  size_t mount_base_size = strlen( mount_base);                       
 2027554:	a2 10 00 08 	mov  %o0, %l1                                  <== NOT EXECUTED
  size_t i = 0;                                                       
                                                                      
  /* Create logical disk name base */                                 
  logical_disk_name = malloc( disk_name_size + RTEMS_BDPART_NUMBER_SIZE);
  if (logical_disk_name == NULL) {                                    
    return RTEMS_NO_MEMORY;                                           
 2027558:	b0 10 20 1a 	mov  0x1a, %i0                                 <== NOT EXECUTED
  size_t disk_name_size = strlen( disk_name);                         
  size_t mount_base_size = strlen( mount_base);                       
  size_t i = 0;                                                       
                                                                      
  /* Create logical disk name base */                                 
  logical_disk_name = malloc( disk_name_size + RTEMS_BDPART_NUMBER_SIZE);
 202755c:	7f ff 88 d6 	call  20098b4 <malloc>                         <== NOT EXECUTED
 2027560:	90 04 20 04 	add  %l0, 4, %o0                               <== NOT EXECUTED
  if (logical_disk_name == NULL) {                                    
 2027564:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2027568:	02 80 00 4f 	be  20276a4 <rtems_bdpart_mount+0x17c>         <== NOT EXECUTED
 202756c:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
  strncpy( logical_disk_name, disk_name, disk_name_size);             
 2027570:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2027574:	40 00 a1 60 	call  204faf4 <strncpy>                        <== NOT EXECUTED
 2027578:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
                                                                      
  /* Get disk file name */                                            
  if (disk_file_name != NULL) {                                       
 202757c:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 2027580:	02 80 00 06 	be  2027598 <rtems_bdpart_mount+0x70>          <== NOT EXECUTED
 2027584:	a6 10 00 10 	mov  %l0, %l3                                  <== NOT EXECUTED
    disk_file_name += 1;                                              
 2027588:	ba 07 20 01 	add  %i4, 1, %i5                               <== NOT EXECUTED
    disk_file_name_size = strlen( disk_file_name);                    
 202758c:	40 00 a0 9e 	call  204f804 <strlen>                         <== NOT EXECUTED
 2027590:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2027594:	a6 10 00 08 	mov  %o0, %l3                                  <== NOT EXECUTED
    disk_file_name = disk_name;                                       
    disk_file_name_size = disk_name_size;                             
  }                                                                   
                                                                      
  /* Create mount point base */                                       
  mount_point = malloc( mount_base_size + 1 + disk_file_name_size + RTEMS_BDPART_NUMBER_SIZE);
 2027598:	a4 04 c0 11 	add  %l3, %l1, %l2                             <== NOT EXECUTED
  if (mount_point == NULL) {                                          
    esc = RTEMS_NO_MEMORY;                                            
 202759c:	b0 10 20 1a 	mov  0x1a, %i0                                 <== NOT EXECUTED
    disk_file_name = disk_name;                                       
    disk_file_name_size = disk_name_size;                             
  }                                                                   
                                                                      
  /* Create mount point base */                                       
  mount_point = malloc( mount_base_size + 1 + disk_file_name_size + RTEMS_BDPART_NUMBER_SIZE);
 20275a0:	7f ff 88 c5 	call  20098b4 <malloc>                         <== NOT EXECUTED
 20275a4:	90 04 a0 05 	add  %l2, 5, %o0                               <== NOT EXECUTED
  if (mount_point == NULL) {                                          
 20275a8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20275ac:	02 80 00 3a 	be  2027694 <rtems_bdpart_mount+0x16c>         <== NOT EXECUTED
 20275b0:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
    esc = RTEMS_NO_MEMORY;                                            
    goto cleanup;                                                     
  }                                                                   
  strncpy( mount_point, mount_base, mount_base_size);                 
 20275b4:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 20275b8:	40 00 a1 4f 	call  204faf4 <strncpy>                        <== NOT EXECUTED
 20275bc:	94 10 00 11 	mov  %l1, %o2                                  <== NOT EXECUTED
  mount_point [mount_base_size] = '/';                                
 20275c0:	82 10 20 2f 	mov  0x2f, %g1                                 <== NOT EXECUTED
  strncpy( mount_point + mount_base_size + 1, disk_file_name, disk_file_name_size);
 20275c4:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20275c8:	90 04 60 01 	add  %l1, 1, %o0                               <== NOT EXECUTED
  if (mount_point == NULL) {                                          
    esc = RTEMS_NO_MEMORY;                                            
    goto cleanup;                                                     
  }                                                                   
  strncpy( mount_point, mount_base, mount_base_size);                 
  mount_point [mount_base_size] = '/';                                
 20275cc:	c2 2f 00 11 	stb  %g1, [ %i4 + %l1 ]                        <== NOT EXECUTED
  strncpy( mount_point + mount_base_size + 1, disk_file_name, disk_file_name_size);
 20275d0:	90 07 00 08 	add  %i4, %o0, %o0                             <== NOT EXECUTED
 20275d4:	40 00 a1 48 	call  204faf4 <strncpy>                        <== NOT EXECUTED
 20275d8:	94 10 00 13 	mov  %l3, %o2                                  <== NOT EXECUTED
                                                                      
  /* Markers */                                                       
  logical_disk_marker = logical_disk_name + disk_name_size;           
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
 20275dc:	b0 04 a0 01 	add  %l2, 1, %i0                               <== NOT EXECUTED
  strncpy( mount_point, mount_base, mount_base_size);                 
  mount_point [mount_base_size] = '/';                                
  strncpy( mount_point + mount_base_size + 1, disk_file_name, disk_file_name_size);
                                                                      
  /* Markers */                                                       
  logical_disk_marker = logical_disk_name + disk_name_size;           
 20275e0:	b6 06 40 10 	add  %i1, %l0, %i3                             <== NOT EXECUTED
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
 20275e4:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
 20275e8:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 20275ec:	02 80 00 29 	be  2027690 <rtems_bdpart_mount+0x168>         <== NOT EXECUTED
 20275f0:	b0 07 00 18 	add  %i4, %i0, %i0                             <== NOT EXECUTED
    /* Create logical disk name */                                    
    int rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
 20275f4:	21 00 81 af 	sethi  %hi(0x206bc00), %l0                     <== NOT EXECUTED
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Mount */                                                       
    rv = mount(                                                       
 20275f8:	23 00 81 a8 	sethi  %hi(0x206a000), %l1                     <== NOT EXECUTED
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
    /* Create logical disk name */                                    
    int rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
 20275fc:	a0 14 21 f0 	or  %l0, 0x1f0, %l0                            <== NOT EXECUTED
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Mount */                                                       
    rv = mount(                                                       
 2027600:	10 80 00 04 	b  2027610 <rtems_bdpart_mount+0xe8>           <== NOT EXECUTED
 2027604:	a2 14 61 98 	or  %l1, 0x198, %l1                            <== NOT EXECUTED
  /* Markers */                                                       
  logical_disk_marker = logical_disk_name + disk_name_size;           
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
 2027608:	22 80 00 23 	be,a   2027694 <rtems_bdpart_mount+0x16c>      <== NOT EXECUTED
 202760c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    /* Create logical disk name */                                    
    int rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
 2027610:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2027614:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 2027618:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 202761c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2027620:	40 00 9d 01 	call  204ea24 <snprintf>                       <== NOT EXECUTED
 2027624:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create mount point */                                          
    strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE);
 2027628:	94 10 20 04 	mov  4, %o2                                    <== NOT EXECUTED
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
    /* Create logical disk name */                                    
    int rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
 202762c:	80 a2 20 03 	cmp  %o0, 3                                    <== NOT EXECUTED
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create mount point */                                          
    strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE);
 2027630:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
    /* Create logical disk name */                                    
    int rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
 2027634:	14 80 00 1e 	bg  20276ac <rtems_bdpart_mount+0x184>         <== NOT EXECUTED
 2027638:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create mount point */                                          
    strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE);
 202763c:	40 00 a1 2e 	call  204faf4 <strncpy>                        <== NOT EXECUTED
 2027640:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rv = rtems_mkdir( mount_point, S_IRWXU | S_IRWXG | S_IRWXO);      
 2027644:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2027648:	7f ff 8c 51 	call  200a78c <rtems_mkdir>                    <== NOT EXECUTED
 202764c:	92 10 21 ff 	mov  0x1ff, %o1                                <== NOT EXECUTED
    if (rv != 0) {                                                    
 2027650:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2027654:	12 80 00 1c 	bne  20276c4 <rtems_bdpart_mount+0x19c>        <== NOT EXECUTED
 2027658:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Mount */                                                       
    rv = mount(                                                       
 202765c:	94 10 00 11 	mov  %l1, %o2                                  <== NOT EXECUTED
 2027660:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
 2027664:	98 10 20 00 	clr  %o4                                       <== NOT EXECUTED
 2027668:	7f ff 89 56 	call  2009bc0 <mount>                          <== NOT EXECUTED
 202766c:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
      mount_point,                                                    
      "msdos",                                                        
      0,                                                              
      NULL                                                            
    );                                                                
    if (rv != 0) {                                                    
 2027670:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2027674:	02 bf ff e5 	be  2027608 <rtems_bdpart_mount+0xe0>          <== NOT EXECUTED
 2027678:	80 a7 40 1a 	cmp  %i5, %i2                                  <== NOT EXECUTED
      rmdir( mount_point);                                            
 202767c:	40 00 16 3e 	call  202cf74 <rmdir>                          <== NOT EXECUTED
 2027680:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
  /* Markers */                                                       
  logical_disk_marker = logical_disk_name + disk_name_size;           
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
 2027684:	80 a7 40 1a 	cmp  %i5, %i2                                  <== NOT EXECUTED
 2027688:	12 bf ff e3 	bne  2027614 <rtems_bdpart_mount+0xec>         <== NOT EXECUTED
 202768c:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count,                                                       
  const char *mount_base                                              
)                                                                     
{                                                                     
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
 2027690:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
 2027694:	7f ff 87 1e 	call  200930c <free>                           <== NOT EXECUTED
 2027698:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
  free( mount_point);                                                 
 202769c:	7f ff 87 1c 	call  200930c <free>                           <== NOT EXECUTED
 20276a0:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
  return esc;                                                         
}                                                                     
 20276a4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20276a8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
 20276ac:	7f ff 87 18 	call  200930c <free>                           <== NOT EXECUTED
 20276b0:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
    /* Create logical disk name */                                    
    int rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
      esc = RTEMS_INVALID_NAME;                                       
 20276b4:	b0 10 20 03 	mov  3, %i0                                    <== NOT EXECUTED
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
  free( mount_point);                                                 
 20276b8:	7f ff 87 15 	call  200930c <free>                           <== NOT EXECUTED
 20276bc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 20276c0:	30 bf ff f9 	b,a   20276a4 <rtems_bdpart_mount+0x17c>       <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
 20276c4:	7f ff 87 12 	call  200930c <free>                           <== NOT EXECUTED
 20276c8:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
                                                                      
    /* Create mount point */                                          
    strncpy( mount_marker, logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE);
    rv = rtems_mkdir( mount_point, S_IRWXU | S_IRWXG | S_IRWXO);      
    if (rv != 0) {                                                    
      esc = RTEMS_IO_ERROR;                                           
 20276cc:	b0 10 20 1b 	mov  0x1b, %i0                                 <== NOT EXECUTED
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
  free( mount_point);                                                 
 20276d0:	7f ff 87 0f 	call  200930c <free>                           <== NOT EXECUTED
 20276d4:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 20276d8:	30 bf ff f3 	b,a   20276a4 <rtems_bdpart_mount+0x17c>       <== NOT EXECUTED
                                                                      

02027d2c <rtems_bdpart_new_record>: static rtems_status_code rtems_bdpart_new_record( rtems_disk_device *dd, rtems_blkdev_bnum index, rtems_bdbuf_buffer **block ) {
 2027d2c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  /* Synchronize previous block if necessary */                       
  if (*block != NULL) {                                               
 2027d30:	d0 06 80 00 	ld  [ %i2 ], %o0                               
 2027d34:	80 a2 20 00 	cmp  %o0, 0                                    
 2027d38:	22 80 00 07 	be,a   2027d54 <rtems_bdpart_new_record+0x28>  
 2027d3c:	90 10 00 18 	mov  %i0, %o0                                  
    sc = rtems_bdbuf_sync( *block);                                   
 2027d40:	7f ff 7c 48 	call  2006e60 <rtems_bdbuf_sync>               
 2027d44:	01 00 00 00 	nop                                            
    if (sc != RTEMS_SUCCESSFUL) {                                     
 2027d48:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2027d4c:	12 80 00 17 	bne  2027da8 <rtems_bdpart_new_record+0x7c>    <== NEVER TAKEN
 2027d50:	90 10 00 18 	mov  %i0, %o0                                  
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  /* Read the new record block (this accounts for disk block sizes > 512) */
  sc = rtems_bdbuf_read( dd, index, block);                           
 2027d54:	92 10 00 19 	mov  %i1, %o1                                  
 2027d58:	7f ff 7b 61 	call  2006adc <rtems_bdbuf_read>               
 2027d5c:	94 10 00 1a 	mov  %i2, %o2                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2027d60:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2027d64:	12 80 00 11 	bne  2027da8 <rtems_bdpart_new_record+0x7c>    <== NEVER TAKEN
 2027d68:	01 00 00 00 	nop                                            
    return sc;                                                        
  }                                                                   
                                                                      
  /* just in case block did not get filled in */                      
  if ( *block == NULL ) {                                             
 2027d6c:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 2027d70:	80 a0 60 00 	cmp  %g1, 0                                    
 2027d74:	02 80 00 0f 	be  2027db0 <rtems_bdpart_new_record+0x84>     <== NEVER TAKEN
 2027d78:	92 10 20 00 	clr  %o1                                       
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Clear record */                                                  
  memset( (*block)->buffer, 0, RTEMS_BDPART_BLOCK_SIZE);              
 2027d7c:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 2027d80:	40 00 90 b0 	call  204c040 <memset>                         
 2027d84:	94 10 22 00 	mov  0x200, %o2                                
                                                                      
  /* Write signature */                                               
  (*block)->buffer [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_0] =            
 2027d88:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 2027d8c:	84 10 20 55 	mov  0x55, %g2                                 
 2027d90:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
 2027d94:	c4 28 61 fe 	stb  %g2, [ %g1 + 0x1fe ]                      
    RTEMS_BDPART_MBR_SIGNATURE_0;                                     
  (*block)->buffer [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_1] =            
 2027d98:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 2027d9c:	84 10 3f aa 	mov  -86, %g2                                  
 2027da0:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
 2027da4:	c4 28 61 ff 	stb  %g2, [ %g1 + 0x1ff ]                      
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2027da8:	81 c7 e0 08 	ret                                            
 2027dac:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
    return sc;                                                        
  }                                                                   
                                                                      
  /* just in case block did not get filled in */                      
  if ( *block == NULL ) {                                             
    return RTEMS_INVALID_ADDRESS;                                     
 2027db0:	ba 10 20 09 	mov  9, %i5                                    <== NOT EXECUTED
    RTEMS_BDPART_MBR_SIGNATURE_0;                                     
  (*block)->buffer [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_1] =            
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2027db4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2027db8:	91 e8 00 1d 	restore  %g0, %i5, %o0                         <== NOT EXECUTED
                                                                      

02027a98 <rtems_bdpart_read>: const char *disk_name, rtems_bdpart_format *format, rtems_bdpart_partition *pt, size_t *count ) {
 2027a98:	9d e3 bf 88 	save  %sp, -120, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_bdpart_partition *p = pt - 1;                                 
 2027a9c:	82 06 bf d0 	add  %i2, -48, %g1                             
  size_t *count                                                       
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
 2027aa0:	c0 27 bf e8 	clr  [ %fp + -24 ]                             
  rtems_bdpart_partition *p = pt - 1;                                 
  const rtems_bdpart_partition *p_end = pt + (count != NULL ? *count : 0);
 2027aa4:	80 a6 e0 00 	cmp  %i3, 0                                    
 2027aa8:	02 80 00 0a 	be  2027ad0 <rtems_bdpart_read+0x38>           <== NEVER TAKEN
 2027aac:	c2 27 bf ec 	st  %g1, [ %fp + -20 ]                         
  rtems_blkdev_bnum ep_begin = 0; /* Extended partition begin */      
  rtems_blkdev_bnum ebr = 0; /* Extended boot record block index */   
  rtems_blkdev_bnum disk_end = 0;                                     
  size_t i = 0;                                                       
  const uint8_t *data = NULL;                                         
  int fd = -1;                                                        
 2027ab0:	82 10 3f ff 	mov  -1, %g1                                   
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_bdpart_partition *p = pt - 1;                                 
  const rtems_bdpart_partition *p_end = pt + (count != NULL ? *count : 0);
  rtems_blkdev_bnum ep_begin = 0; /* Extended partition begin */      
 2027ab4:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
  rtems_blkdev_bnum ebr = 0; /* Extended boot record block index */   
  rtems_blkdev_bnum disk_end = 0;                                     
 2027ab8:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  size_t i = 0;                                                       
  const uint8_t *data = NULL;                                         
  int fd = -1;                                                        
 2027abc:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
  rtems_disk_device *dd = NULL;                                       
 2027ac0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL || count == NULL) {                
 2027ac4:	80 a6 a0 00 	cmp  %i2, 0                                    
 2027ac8:	12 80 00 04 	bne  2027ad8 <rtems_bdpart_read+0x40>          <== ALWAYS TAKEN
 2027acc:	fa 06 c0 00 	ld  [ %i3 ], %i5                               
    return RTEMS_INVALID_ADDRESS;                                     
 2027ad0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2027ad4:	91 e8 20 09 	restore  %g0, 9, %o0                           <== NOT EXECUTED
  const uint8_t *data = NULL;                                         
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL || count == NULL) {                
 2027ad8:	80 a6 60 00 	cmp  %i1, 0                                    
 2027adc:	02 bf ff fd 	be  2027ad0 <rtems_bdpart_read+0x38>           <== NEVER TAKEN
 2027ae0:	90 10 00 18 	mov  %i0, %o0                                  
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Set count to a save value */                                     
  *count = 0;                                                         
 2027ae4:	c0 26 c0 00 	clr  [ %i3 ]                                   
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
 2027ae8:	92 07 bf f8 	add  %fp, -8, %o1                              
 2027aec:	94 07 bf fc 	add  %fp, -4, %o2                              
 2027af0:	7f ff ff bf 	call  20279ec <rtems_bdpart_get_disk_data>     
 2027af4:	96 07 bf f4 	add  %fp, -12, %o3                             
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2027af8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2027afc:	12 80 00 14 	bne  2027b4c <rtems_bdpart_read+0xb4>          <== NEVER TAKEN
 2027b00:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
    return sc;                                                        
  }                                                                   
                                                                      
  /* Read MBR */                                                      
  sc = rtems_bdpart_read_record( dd, 0, &block);                      
 2027b04:	92 10 20 00 	clr  %o1                                       
 2027b08:	7f ff ff 44 	call  2027818 <rtems_bdpart_read_record>       
 2027b0c:	94 07 bf e8 	add  %fp, -24, %o2                             
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2027b10:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2027b14:	02 80 00 10 	be  2027b54 <rtems_bdpart_read+0xbc>           <== ALWAYS TAKEN
 2027b18:	c4 07 bf e8 	ld  [ %fp + -24 ], %g2                         
  /* Return partition count */                                        
  *count = (size_t) (p - pt + 1);                                     
                                                                      
cleanup:                                                              
                                                                      
  if (fd >= 0) {                                                      
 2027b1c:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
 2027b20:	80 a2 20 00 	cmp  %o0, 0                                    
 2027b24:	26 80 00 05 	bl,a   2027b38 <rtems_bdpart_read+0xa0>        <== NEVER TAKEN
 2027b28:	d0 07 bf e8 	ld  [ %fp + -24 ], %o0                         <== NOT EXECUTED
    close( fd);                                                       
 2027b2c:	7f ff 85 3b 	call  2009018 <close>                          
 2027b30:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  if (block != NULL) {                                                
 2027b34:	d0 07 bf e8 	ld  [ %fp + -24 ], %o0                         
 2027b38:	80 a2 20 00 	cmp  %o0, 0                                    
 2027b3c:	02 80 00 04 	be  2027b4c <rtems_bdpart_read+0xb4>           <== NEVER TAKEN
 2027b40:	01 00 00 00 	nop                                            
    rtems_bdbuf_release( block);                                      
 2027b44:	7f ff 7c 6d 	call  2006cf8 <rtems_bdbuf_release>            
 2027b48:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return esc;                                                         
}                                                                     
 2027b4c:	81 c7 e0 08 	ret                                            
 2027b50:	81 e8 00 00 	restore                                        
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_bdpart_partition *p = pt - 1;                                 
  const rtems_bdpart_partition *p_end = pt + (count != NULL ? *count : 0);
 2027b54:	83 2f 60 04 	sll  %i5, 4, %g1                               
    esc = sc;                                                         
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Read the first partition entry */                                
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
 2027b58:	e2 00 a0 1c 	ld  [ %g2 + 0x1c ], %l1                        
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_bdpart_partition *p = pt - 1;                                 
  const rtems_bdpart_partition *p_end = pt + (count != NULL ? *count : 0);
 2027b5c:	b9 2f 60 06 	sll  %i5, 6, %i4                               
    esc = sc;                                                         
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Read the first partition entry */                                
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
 2027b60:	a0 04 61 be 	add  %l1, 0x1be, %l0                           
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_bdpart_partition *p = pt - 1;                                 
  const rtems_bdpart_partition *p_end = pt + (count != NULL ? *count : 0);
 2027b64:	b8 27 00 01 	sub  %i4, %g1, %i4                             
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Read the first partition entry */                                
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
  sc = rtems_bdpart_read_mbr_partition( data, &p, p_end, &ep_begin);  
 2027b68:	90 10 00 10 	mov  %l0, %o0                                  
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_bdpart_partition *p = pt - 1;                                 
  const rtems_bdpart_partition *p_end = pt + (count != NULL ? *count : 0);
 2027b6c:	b8 06 80 1c 	add  %i2, %i4, %i4                             
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Read the first partition entry */                                
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
  sc = rtems_bdpart_read_mbr_partition( data, &p, p_end, &ep_begin);  
 2027b70:	92 07 bf ec 	add  %fp, -20, %o1                             
 2027b74:	94 10 00 1c 	mov  %i4, %o2                                  
 2027b78:	7f ff ff 54 	call  20278c8 <rtems_bdpart_read_mbr_partition>
 2027b7c:	96 07 bf f0 	add  %fp, -16, %o3                             
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2027b80:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2027b84:	32 bf ff e7 	bne,a   2027b20 <rtems_bdpart_read+0x88>       <== NEVER TAKEN
 2027b88:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          <== NOT EXECUTED
    esc = sc;                                                         
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Determine if we have a MBR or GPT format */                      
  if (rtems_bdpart_mbr_partition_type( p->type) == RTEMS_BDPART_MBR_GPT) {
 2027b8c:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         
 2027b90:	c2 08 60 08 	ldub  [ %g1 + 8 ], %g1                         
 2027b94:	80 a0 60 ee 	cmp  %g1, 0xee                                 
 2027b98:	02 bf ff e1 	be  2027b1c <rtems_bdpart_read+0x84>           <== NEVER TAKEN
 2027b9c:	b0 10 20 18 	mov  0x18, %i0                                 
  }                                                                   
                                                                      
  /* Set format */                                                    
  format->type = RTEMS_BDPART_FORMAT_MBR;                             
  format->mbr.disk_id = rtems_uint32_from_little_endian(              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
 2027ba0:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
    esc = RTEMS_NOT_IMPLEMENTED;                                      
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Set format */                                                    
  format->type = RTEMS_BDPART_FORMAT_MBR;                             
 2027ba4:	c0 26 40 00 	clr  [ %i1 ]                                   
  format->mbr.disk_id = rtems_uint32_from_little_endian(              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
 2027ba8:	c8 00 60 1c 	ld  [ %g1 + 0x1c ], %g4                        
  return value;                                                       
}                                                                     
                                                                      
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
 2027bac:	84 10 20 00 	clr  %g2                                       
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_read(                                  
 2027bb0:	82 01 21 bb 	add  %g4, 0x1bb, %g1                           
 2027bb4:	88 01 21 b7 	add  %g4, 0x1b7, %g4                           
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
    value = (value << 8) + data [i];                                  
 2027bb8:	c6 08 40 00 	ldub  [ %g1 ], %g3                             
 2027bbc:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2027bc0:	82 00 7f ff 	add  %g1, -1, %g1                              
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
 2027bc4:	80 a0 40 04 	cmp  %g1, %g4                                  
 2027bc8:	12 bf ff fc 	bne  2027bb8 <rtems_bdpart_read+0x120>         
 2027bcc:	84 00 c0 02 	add  %g3, %g2, %g2                             
  /* Set format */                                                    
  format->type = RTEMS_BDPART_FORMAT_MBR;                             
  format->mbr.disk_id = rtems_uint32_from_little_endian(              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
  );                                                                  
  format->mbr.dos_compatibility = true;                               
 2027bd0:	82 10 20 01 	mov  1, %g1                                    
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Set format */                                                    
  format->type = RTEMS_BDPART_FORMAT_MBR;                             
  format->mbr.disk_id = rtems_uint32_from_little_endian(              
 2027bd4:	c4 26 60 04 	st  %g2, [ %i1 + 4 ]                           
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
  );                                                                  
  format->mbr.dos_compatibility = true;                               
 2027bd8:	c2 2e 60 08 	stb  %g1, [ %i1 + 8 ]                          
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_read(                                  
 2027bdc:	a2 04 61 ee 	add  %l1, 0x1ee, %l1                           
  );                                                                  
  format->mbr.dos_compatibility = true;                               
                                                                      
  /* Iterate through the rest of the primary partition table */       
  for (i = 1; i < 4; ++i) {                                           
    data += RTEMS_BDPART_MBR_TABLE_ENTRY_SIZE;                        
 2027be0:	a0 04 20 10 	add  %l0, 0x10, %l0                            
                                                                      
    sc = rtems_bdpart_read_mbr_partition( data, &p, p_end, &ep_begin);
 2027be4:	92 07 bf ec 	add  %fp, -20, %o1                             
 2027be8:	90 10 00 10 	mov  %l0, %o0                                  
 2027bec:	94 10 00 1c 	mov  %i4, %o2                                  
 2027bf0:	7f ff ff 36 	call  20278c8 <rtems_bdpart_read_mbr_partition>
 2027bf4:	96 07 bf f0 	add  %fp, -16, %o3                             
    if (sc != RTEMS_SUCCESSFUL) {                                     
 2027bf8:	80 a2 20 00 	cmp  %o0, 0                                    
 2027bfc:	12 80 00 4a 	bne  2027d24 <rtems_bdpart_read+0x28c>         <== NEVER TAKEN
 2027c00:	80 a4 00 11 	cmp  %l0, %l1                                  
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
  );                                                                  
  format->mbr.dos_compatibility = true;                               
                                                                      
  /* Iterate through the rest of the primary partition table */       
  for (i = 1; i < 4; ++i) {                                           
 2027c04:	32 bf ff f8 	bne,a   2027be4 <rtems_bdpart_read+0x14c>      
 2027c08:	a0 04 20 10 	add  %l0, 0x10, %l0                            
      goto cleanup;                                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Iterate through the logical partitions within the extended partition */
  ebr = ep_begin;                                                     
 2027c0c:	fa 07 bf f0 	ld  [ %fp + -16 ], %i5                         
  while (ebr != 0) {                                                  
 2027c10:	80 a7 60 00 	cmp  %i5, 0                                    
 2027c14:	02 80 00 2c 	be  2027cc4 <rtems_bdpart_read+0x22c>          <== NEVER TAKEN
 2027c18:	c8 07 bf ec 	ld  [ %fp + -20 ], %g4                         
    rtems_blkdev_bnum tmp = 0;                                        
                                                                      
    /* Read EBR */                                                    
    sc = rtems_bdpart_read_record( dd, ebr, &block);                  
 2027c1c:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 2027c20:	92 10 00 1d 	mov  %i5, %o1                                  
 2027c24:	7f ff fe fd 	call  2027818 <rtems_bdpart_read_record>       
 2027c28:	94 07 bf e8 	add  %fp, -24, %o2                             
    if (sc != RTEMS_SUCCESSFUL) {                                     
 2027c2c:	80 a2 20 00 	cmp  %o0, 0                                    
 2027c30:	12 80 00 3d 	bne  2027d24 <rtems_bdpart_read+0x28c>         <== NEVER TAKEN
 2027c34:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
      esc = sc;                                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Read first partition entry */                                  
    sc = rtems_bdpart_read_mbr_partition(                             
 2027c38:	92 07 bf ec 	add  %fp, -20, %o1                             
 2027c3c:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 2027c40:	94 10 00 1c 	mov  %i4, %o2                                  
 2027c44:	90 02 21 be 	add  %o0, 0x1be, %o0                           
 2027c48:	7f ff ff 20 	call  20278c8 <rtems_bdpart_read_mbr_partition>
 2027c4c:	96 10 20 00 	clr  %o3                                       
      block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0,                
      &p,                                                             
      p_end,                                                          
      NULL                                                            
    );                                                                
    if (sc != RTEMS_SUCCESSFUL) {                                     
 2027c50:	80 a2 20 00 	cmp  %o0, 0                                    
 2027c54:	12 80 00 34 	bne  2027d24 <rtems_bdpart_read+0x28c>         <== NEVER TAKEN
 2027c58:	c8 07 bf ec 	ld  [ %fp + -20 ], %g4                         
      esc = sc;                                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Adjust partition begin */                                      
    tmp = p->begin + ebr;                                             
 2027c5c:	c2 01 00 00 	ld  [ %g4 ], %g1                               
 2027c60:	84 07 40 01 	add  %i5, %g1, %g2                             
    if (tmp > p->begin) {                                             
 2027c64:	80 a0 40 02 	cmp  %g1, %g2                                  
 2027c68:	3a bf ff ad 	bcc,a   2027b1c <rtems_bdpart_read+0x84>       <== NEVER TAKEN
 2027c6c:	b0 10 20 1b 	mov  0x1b, %i0                                 <== NOT EXECUTED
      esc = RTEMS_IO_ERROR;                                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Adjust partition end */                                        
    tmp = p->end + ebr;                                               
 2027c70:	c2 01 20 04 	ld  [ %g4 + 4 ], %g1                           
 2027c74:	ba 07 40 01 	add  %i5, %g1, %i5                             
    if (tmp > p->end) {                                               
 2027c78:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2027c7c:	1a 80 00 28 	bcc  2027d1c <rtems_bdpart_read+0x284>         <== NEVER TAKEN
 2027c80:	c4 21 00 00 	st  %g2, [ %g4 ]                               
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Read second partition entry for next EBR block */              
    ebr = rtems_bdpart_next_ebr(                                      
      block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1                 
 2027c84:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
    }                                                                 
                                                                      
    /* Adjust partition end */                                        
    tmp = p->end + ebr;                                               
    if (tmp > p->end) {                                               
      p->end = tmp;                                                   
 2027c88:	fa 21 20 04 	st  %i5, [ %g4 + 4 ]                           
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Read second partition entry for next EBR block */              
    ebr = rtems_bdpart_next_ebr(                                      
      block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1                 
 2027c8c:	f2 00 60 1c 	ld  [ %g1 + 0x1c ], %i1                        
  return value;                                                       
}                                                                     
                                                                      
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
 2027c90:	84 10 20 00 	clr  %g2                                       
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
 2027c94:	82 10 20 03 	mov  3, %g1                                    
}                                                                     
                                                                      
static rtems_blkdev_bnum rtems_bdpart_next_ebr( const uint8_t *data)  
{                                                                     
  rtems_blkdev_bnum begin =                                           
    rtems_uint32_from_little_endian( data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
 2027c98:	ba 06 61 d6 	add  %i1, 0x1d6, %i5                           
    value = (value << 8) + data [i];                                  
 2027c9c:	c6 0f 40 01 	ldub  [ %i5 + %g1 ], %g3                       
 2027ca0:	85 28 a0 08 	sll  %g2, 8, %g2                               
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
 2027ca4:	82 00 7f ff 	add  %g1, -1, %g1                              
 2027ca8:	80 a0 7f ff 	cmp  %g1, -1                                   
 2027cac:	12 bf ff fc 	bne  2027c9c <rtems_bdpart_read+0x204>         
 2027cb0:	84 00 c0 02 	add  %g3, %g2, %g2                             
  uint8_t type = data [RTEMS_BDPART_MBR_OFFSET_TYPE];                 
                                                                      
  if (type == RTEMS_BDPART_MBR_EXTENDED) {                            
 2027cb4:	c2 0e 61 d2 	ldub  [ %i1 + 0x1d2 ], %g1                     
 2027cb8:	80 a0 60 05 	cmp  %g1, 5                                    
 2027cbc:	02 80 00 11 	be  2027d00 <rtems_bdpart_read+0x268>          
 2027cc0:	80 a0 a0 00 	cmp  %g2, 0                                    
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  /* Return partition count */                                        
  *count = (size_t) (p - pt + 1);                                     
 2027cc4:	82 21 00 1a 	sub  %g4, %i2, %g1                             
 2027cc8:	83 38 60 04 	sra  %g1, 4, %g1                               
 2027ccc:	85 28 60 02 	sll  %g1, 2, %g2                               
 2027cd0:	82 00 80 01 	add  %g2, %g1, %g1                             
 2027cd4:	85 28 60 04 	sll  %g1, 4, %g2                               
 2027cd8:	82 00 40 02 	add  %g1, %g2, %g1                             
 2027cdc:	85 28 60 08 	sll  %g1, 8, %g2                               
  rtems_bdpart_partition *pt,                                         
  size_t *count                                                       
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
 2027ce0:	b0 10 20 00 	clr  %i0                                       
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  /* Return partition count */                                        
  *count = (size_t) (p - pt + 1);                                     
 2027ce4:	82 00 40 02 	add  %g1, %g2, %g1                             
 2027ce8:	85 28 60 10 	sll  %g1, 0x10, %g2                            
 2027cec:	82 00 40 02 	add  %g1, %g2, %g1                             
 2027cf0:	82 20 00 01 	neg  %g1                                       
 2027cf4:	82 00 60 01 	inc  %g1                                       
 2027cf8:	10 bf ff 89 	b  2027b1c <rtems_bdpart_read+0x84>            
 2027cfc:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
                                                                      
    /* Read second partition entry for next EBR block */              
    ebr = rtems_bdpart_next_ebr(                                      
      block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1                 
    );                                                                
    if (ebr != 0) {                                                   
 2027d00:	02 bf ff f2 	be  2027cc8 <rtems_bdpart_read+0x230>          <== NEVER TAKEN
 2027d04:	82 21 00 1a 	sub  %g4, %i2, %g1                             
      /* Adjust partition EBR block index */                          
      tmp = ebr + ep_begin;                                           
 2027d08:	fa 07 bf f0 	ld  [ %fp + -16 ], %i5                         
 2027d0c:	ba 00 80 1d 	add  %g2, %i5, %i5                             
      if (tmp > ebr) {                                                
 2027d10:	80 a7 40 02 	cmp  %i5, %g2                                  
 2027d14:	18 bf ff c3 	bgu  2027c20 <rtems_bdpart_read+0x188>         <== ALWAYS TAKEN
 2027d18:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
    /* Adjust partition begin */                                      
    tmp = p->begin + ebr;                                             
    if (tmp > p->begin) {                                             
      p->begin = tmp;                                                 
    } else {                                                          
      esc = RTEMS_IO_ERROR;                                           
 2027d1c:	10 bf ff 80 	b  2027b1c <rtems_bdpart_read+0x84>            <== NOT EXECUTED
 2027d20:	b0 10 20 1b 	mov  0x1b, %i0                                 <== NOT EXECUTED
      esc = sc;                                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Read first partition entry */                                  
    sc = rtems_bdpart_read_mbr_partition(                             
 2027d24:	10 bf ff 7e 	b  2027b1c <rtems_bdpart_read+0x84>            <== NOT EXECUTED
 2027d28:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                                      

020278c8 <rtems_bdpart_read_mbr_partition>: const uint8_t *data, rtems_bdpart_partition **p, const rtems_bdpart_partition *p_end, rtems_blkdev_bnum *ep_begin ) {
 20278c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  return value;                                                       
}                                                                     
                                                                      
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
 20278cc:	ba 10 20 00 	clr  %i5                                       
  } else {                                                            
    return 0;                                                         
  }                                                                   
}                                                                     
                                                                      
static rtems_status_code rtems_bdpart_read_mbr_partition(             
 20278d0:	88 06 20 0b 	add  %i0, 0xb, %g4                             
  const uint8_t *data,                                                
  rtems_bdpart_partition **p,                                         
  const rtems_bdpart_partition *p_end,                                
  rtems_blkdev_bnum *ep_begin                                         
)                                                                     
{                                                                     
 20278d4:	b8 10 00 18 	mov  %i0, %i4                                  
  } else {                                                            
    return 0;                                                         
  }                                                                   
}                                                                     
                                                                      
static rtems_status_code rtems_bdpart_read_mbr_partition(             
 20278d8:	82 10 00 04 	mov  %g4, %g1                                  
 20278dc:	86 06 20 07 	add  %i0, 7, %g3                               
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
    value = (value << 8) + data [i];                                  
 20278e0:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
 20278e4:	bb 2f 60 08 	sll  %i5, 8, %i5                               
 20278e8:	82 00 7f ff 	add  %g1, -1, %g1                              
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
 20278ec:	80 a0 40 03 	cmp  %g1, %g3                                  
 20278f0:	12 bf ff fc 	bne  20278e0 <rtems_bdpart_read_mbr_partition+0x18>
 20278f4:	ba 00 80 1d 	add  %g2, %i5, %i5                             
 20278f8:	82 07 20 0f 	add  %i4, 0xf, %g1                             
  return value;                                                       
}                                                                     
                                                                      
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
 20278fc:	84 10 20 00 	clr  %g2                                       
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
    value = (value << 8) + data [i];                                  
 2027900:	c6 08 40 00 	ldub  [ %g1 ], %g3                             
 2027904:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2027908:	82 00 7f ff 	add  %g1, -1, %g1                              
static inline uint32_t rtems_uint32_from_little_endian( const uint8_t *data)
{                                                                     
  uint32_t value = 0;                                                 
  ssize_t i = 0;                                                      
                                                                      
  for (i = 3; i >= 0; --i) {                                          
 202790c:	80 a0 40 04 	cmp  %g1, %g4                                  
 2027910:	12 bf ff fc 	bne  2027900 <rtems_bdpart_read_mbr_partition+0x38>
 2027914:	84 00 c0 02 	add  %g3, %g2, %g2                             
  rtems_blkdev_bnum size =                                            
    rtems_uint32_from_little_endian( data + RTEMS_BDPART_MBR_OFFSET_SIZE);
  rtems_blkdev_bnum end = begin + size;                               
  uint8_t type = data [RTEMS_BDPART_MBR_OFFSET_TYPE];                 
                                                                      
  if (type == RTEMS_BDPART_MBR_EMPTY) {                               
 2027918:	e0 0f 20 04 	ldub  [ %i4 + 4 ], %l0                         
 202791c:	80 a4 20 00 	cmp  %l0, 0                                    
 2027920:	02 80 00 0a 	be  2027948 <rtems_bdpart_read_mbr_partition+0x80><== NEVER TAKEN
 2027924:	b0 10 20 00 	clr  %i0                                       
    return RTEMS_SUCCESSFUL;                                          
  } else if (*p == p_end) {                                           
 2027928:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 202792c:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2027930:	02 80 00 06 	be  2027948 <rtems_bdpart_read_mbr_partition+0x80><== NEVER TAKEN
 2027934:	b0 10 20 05 	mov  5, %i0                                    
{                                                                     
  rtems_blkdev_bnum begin =                                           
    rtems_uint32_from_little_endian( data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
  rtems_blkdev_bnum size =                                            
    rtems_uint32_from_little_endian( data + RTEMS_BDPART_MBR_OFFSET_SIZE);
  rtems_blkdev_bnum end = begin + size;                               
 2027938:	b4 00 80 1d 	add  %g2, %i5, %i2                             
                                                                      
  if (type == RTEMS_BDPART_MBR_EMPTY) {                               
    return RTEMS_SUCCESSFUL;                                          
  } else if (*p == p_end) {                                           
    return RTEMS_TOO_MANY;                                            
  } else if (begin >= end) {                                          
 202793c:	80 a6 80 1d 	cmp  %i2, %i5                                  
 2027940:	18 80 00 04 	bgu  2027950 <rtems_bdpart_read_mbr_partition+0x88><== ALWAYS TAKEN
 2027944:	b0 10 20 1b 	mov  0x1b, %i0                                 
    rtems_bdpart_to_partition_type( type, (*p)->type);                
    (*p)->flags = data [RTEMS_BDPART_MBR_OFFSET_FLAGS];               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2027948:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202794c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    return RTEMS_SUCCESSFUL;                                          
  } else if (*p == p_end) {                                           
    return RTEMS_TOO_MANY;                                            
  } else if (begin >= end) {                                          
    return RTEMS_IO_ERROR;                                            
  } else if (type == RTEMS_BDPART_MBR_EXTENDED) {                     
 2027950:	80 a4 20 05 	cmp  %l0, 5                                    
 2027954:	12 80 00 08 	bne  2027974 <rtems_bdpart_read_mbr_partition+0xac>
 2027958:	90 00 60 30 	add  %g1, 0x30, %o0                            
    if (ep_begin != NULL) {                                           
 202795c:	80 a6 e0 00 	cmp  %i3, 0                                    
 2027960:	02 80 00 15 	be  20279b4 <rtems_bdpart_read_mbr_partition+0xec><== NEVER TAKEN
 2027964:	01 00 00 00 	nop                                            
      *ep_begin = begin;                                              
 2027968:	fa 26 c0 00 	st  %i5, [ %i3 ]                               
    (*p)->end = end;                                                  
    rtems_bdpart_to_partition_type( type, (*p)->type);                
    (*p)->flags = data [RTEMS_BDPART_MBR_OFFSET_FLAGS];               
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 202796c:	81 c7 e0 08 	ret                                            
 2027970:	91 e8 20 00 	restore  %g0, 0, %o0                           
  } else {                                                            
    /* Increment partition index */                                   
    ++(*p);                                                           
                                                                      
    /* Clear partition */                                             
    memset( *p, 0, sizeof( rtems_bdpart_partition));                  
 2027974:	94 10 20 30 	mov  0x30, %o2                                 
 2027978:	92 10 20 00 	clr  %o1                                       
 202797c:	40 00 91 b1 	call  204c040 <memset>                         
 2027980:	d0 26 40 00 	st  %o0, [ %i1 ]                               
                                                                      
    /* Set values */                                                  
    (*p)->begin = begin;                                              
 2027984:	d2 06 40 00 	ld  [ %i1 ], %o1                               
    (*p)->end = end;                                                  
    rtems_bdpart_to_partition_type( type, (*p)->type);                
 2027988:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
    /* Clear partition */                                             
    memset( *p, 0, sizeof( rtems_bdpart_partition));                  
                                                                      
    /* Set values */                                                  
    (*p)->begin = begin;                                              
 202798c:	fa 22 40 00 	st  %i5, [ %o1 ]                               
    (*p)->end = end;                                                  
 2027990:	f4 22 60 04 	st  %i2, [ %o1 + 4 ]                           
    rtems_bdpart_to_partition_type( type, (*p)->type);                
 2027994:	7f ff ff c4 	call  20278a4 <rtems_bdpart_to_partition_type> 
 2027998:	92 02 60 08 	add  %o1, 8, %o1                               
    (*p)->flags = data [RTEMS_BDPART_MBR_OFFSET_FLAGS];               
 202799c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 20279a0:	c4 0f 00 00 	ldub  [ %i4 ], %g2                             
 20279a4:	c0 20 60 28 	clr  [ %g1 + 0x28 ]                            
 20279a8:	c4 20 60 2c 	st  %g2, [ %g1 + 0x2c ]                        
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 20279ac:	81 c7 e0 08 	ret                                            
 20279b0:	91 e8 20 00 	restore  %g0, 0, %o0                           
}                                                                     
 20279b4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20279b8:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

02027818 <rtems_bdpart_read_record>: static rtems_status_code rtems_bdpart_read_record( rtems_disk_device *dd, rtems_blkdev_bnum index, rtems_bdbuf_buffer **block ) {
 2027818:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  /* Release previous block if necessary */                           
  if (*block != NULL) {                                               
 202781c:	d0 06 80 00 	ld  [ %i2 ], %o0                               
 2027820:	80 a2 20 00 	cmp  %o0, 0                                    
 2027824:	22 80 00 08 	be,a   2027844 <rtems_bdpart_read_record+0x2c> 
 2027828:	90 10 00 18 	mov  %i0, %o0                                  
    sc = rtems_bdbuf_release( *block);                                
 202782c:	7f ff 7d 33 	call  2006cf8 <rtems_bdbuf_release>            
 2027830:	01 00 00 00 	nop                                            
    if (sc != RTEMS_SUCCESSFUL) {                                     
 2027834:	80 a2 20 00 	cmp  %o0, 0                                    
 2027838:	12 80 00 13 	bne  2027884 <rtems_bdpart_read_record+0x6c>   <== NEVER TAKEN
 202783c:	01 00 00 00 	nop                                            
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  /* Read the record block */                                         
  sc = rtems_bdbuf_read( dd, index, block);                           
 2027840:	90 10 00 18 	mov  %i0, %o0                                  
 2027844:	92 10 00 19 	mov  %i1, %o1                                  
 2027848:	7f ff 7c a5 	call  2006adc <rtems_bdbuf_read>               
 202784c:	94 10 00 1a 	mov  %i2, %o2                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2027850:	80 a2 20 00 	cmp  %o0, 0                                    
 2027854:	12 80 00 0c 	bne  2027884 <rtems_bdpart_read_record+0x6c>   <== NEVER TAKEN
 2027858:	01 00 00 00 	nop                                            
    return sc;                                                        
  }                                                                   
                                                                      
  /* just in case block did not get filled in */                      
  if ( *block == NULL ) {                                             
 202785c:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 2027860:	80 a0 60 00 	cmp  %g1, 0                                    
 2027864:	22 80 00 0e 	be,a   202789c <rtems_bdpart_read_record+0x84> <== NEVER TAKEN
 2027868:	90 10 20 09 	mov  9, %o0                                    <== NOT EXECUTED
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Check MBR signature */                                           
  if (!rtems_bdpart_is_valid_record( (*block)->buffer)) {             
 202786c:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
                                                                      
static bool rtems_bdpart_is_valid_record( const uint8_t *data)        
{                                                                     
  return data [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_0]                   
      == RTEMS_BDPART_MBR_SIGNATURE_0                                 
    && data [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_1]                     
 2027870:	c4 08 61 fe 	ldub  [ %g1 + 0x1fe ], %g2                     
 2027874:	80 a0 a0 55 	cmp  %g2, 0x55                                 
 2027878:	22 80 00 05 	be,a   202788c <rtems_bdpart_read_record+0x74> <== ALWAYS TAKEN
 202787c:	c2 08 61 ff 	ldub  [ %g1 + 0x1ff ], %g1                     
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Check MBR signature */                                           
  if (!rtems_bdpart_is_valid_record( (*block)->buffer)) {             
    return RTEMS_IO_ERROR;                                            
 2027880:	90 10 20 1b 	mov  0x1b, %o0                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2027884:	81 c7 e0 08 	ret                                            
 2027888:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      
static bool rtems_bdpart_is_valid_record( const uint8_t *data)        
{                                                                     
  return data [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_0]                   
      == RTEMS_BDPART_MBR_SIGNATURE_0                                 
    && data [RTEMS_BDPART_MBR_OFFSET_SIGNATURE_1]                     
 202788c:	80 a0 60 aa 	cmp  %g1, 0xaa                                 
 2027890:	32 bf ff fd 	bne,a   2027884 <rtems_bdpart_read_record+0x6c><== NEVER TAKEN
 2027894:	90 10 20 1b 	mov  0x1b, %o0                                 <== NOT EXECUTED
 2027898:	30 bf ff fb 	b,a   2027884 <rtems_bdpart_read_record+0x6c>  
  if (!rtems_bdpart_is_valid_record( (*block)->buffer)) {             
    return RTEMS_IO_ERROR;                                            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 202789c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20278a0:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

02007398 <rtems_bdpart_register>: rtems_status_code rtems_bdpart_register( const char *disk_name, const rtems_bdpart_partition *pt, size_t count ) {
 2007398:	9d e3 bf 88 	save  %sp, -120, %sp                           
  rtems_blkdev_bnum disk_end = 0;                                     
  dev_t disk = 0;                                                     
  dev_t logical_disk = 0;                                             
  char *logical_disk_name = NULL;                                     
  char *logical_disk_marker = NULL;                                   
  size_t disk_name_size = strlen( disk_name);                         
 200739c:	90 10 00 18 	mov  %i0, %o0                                  
 20073a0:	40 01 21 19 	call  204f804 <strlen>                         
 20073a4:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  size_t i = 0;                                                       
  int fd = -1;                                                        
 20073a8:	82 10 3f ff 	mov  -1, %g1                                   
rtems_status_code rtems_bdpart_register(                              
  const char *disk_name,                                              
  const rtems_bdpart_partition *pt,                                   
  size_t count                                                        
)                                                                     
{                                                                     
 20073ac:	ba 10 00 18 	mov  %i0, %i5                                  
  rtems_blkdev_bnum disk_end = 0;                                     
  dev_t disk = 0;                                                     
  dev_t logical_disk = 0;                                             
  char *logical_disk_name = NULL;                                     
  char *logical_disk_marker = NULL;                                   
  size_t disk_name_size = strlen( disk_name);                         
 20073b0:	a4 10 00 08 	mov  %o0, %l2                                  
  size_t i = 0;                                                       
  int fd = -1;                                                        
 20073b4:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
 20073b8:	90 10 00 18 	mov  %i0, %o0                                  
  char *logical_disk_name = NULL;                                     
  char *logical_disk_marker = NULL;                                   
  size_t disk_name_size = strlen( disk_name);                         
  size_t i = 0;                                                       
  int fd = -1;                                                        
  rtems_disk_device *dd = NULL;                                       
 20073bc:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
 20073c0:	92 07 bf f8 	add  %fp, -8, %o1                              
 20073c4:	94 07 bf fc 	add  %fp, -4, %o2                              
 20073c8:	40 00 81 89 	call  20279ec <rtems_bdpart_get_disk_data>     
 20073cc:	96 07 bf f4 	add  %fp, -12, %o3                             
  if (sc != RTEMS_SUCCESSFUL) {                                       
 20073d0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20073d4:	12 80 00 32 	bne  200749c <rtems_bdpart_register+0x104>     <== NEVER TAKEN
 20073d8:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    return sc;                                                        
  }                                                                   
  disk = rtems_disk_get_device_identifier( dd);                       
  close( fd);                                                         
 20073dc:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
                                                                      
static inline dev_t rtems_disk_get_device_identifier(                 
  const rtems_disk_device *dd                                         
)                                                                     
{                                                                     
  return dd->dev;                                                     
 20073e0:	e2 00 60 04 	ld  [ %g1 + 4 ], %l1                           
 20073e4:	40 00 07 0d 	call  2009018 <close>                          
 20073e8:	f6 00 40 00 	ld  [ %g1 ], %i3                               
                                                                      
  /* Get the disk device identifier */                                
  rtems_filesystem_split_dev_t( disk, major, minor);                  
                                                                      
  /* Create logical disk name */                                      
  logical_disk_name = malloc( disk_name_size + RTEMS_BDPART_NUMBER_SIZE);
 20073ec:	90 04 a0 04 	add  %l2, 4, %o0                               
 20073f0:	40 00 09 31 	call  20098b4 <malloc>                         
 20073f4:	b8 10 00 11 	mov  %l1, %i4                                  
  if (logical_disk_name == NULL) {                                    
    return RTEMS_NO_MEMORY;                                           
 20073f8:	b0 10 20 1a 	mov  0x1a, %i0                                 
  /* Get the disk device identifier */                                
  rtems_filesystem_split_dev_t( disk, major, minor);                  
                                                                      
  /* Create logical disk name */                                      
  logical_disk_name = malloc( disk_name_size + RTEMS_BDPART_NUMBER_SIZE);
  if (logical_disk_name == NULL) {                                    
 20073fc:	80 a2 20 00 	cmp  %o0, 0                                    
 2007400:	02 80 00 27 	be  200749c <rtems_bdpart_register+0x104>      <== NEVER TAKEN
 2007404:	a0 10 00 08 	mov  %o0, %l0                                  
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
  strncpy( logical_disk_name, disk_name, disk_name_size);             
 2007408:	92 10 00 1d 	mov  %i5, %o1                                  
 200740c:	40 01 21 ba 	call  204faf4 <strncpy>                        
 2007410:	94 10 00 12 	mov  %l2, %o2                                  
                                                                      
    /* Create a new device identifier */                              
    logical_disk = rtems_filesystem_make_dev_t( major, minor);        
                                                                      
    /* Set partition number for logical disk name */                  
    rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
 2007414:	31 00 81 af 	sethi  %hi(0x206bc00), %i0                     
  logical_disk_name = malloc( disk_name_size + RTEMS_BDPART_NUMBER_SIZE);
  if (logical_disk_name == NULL) {                                    
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
  strncpy( logical_disk_name, disk_name, disk_name_size);             
  logical_disk_marker = logical_disk_name + disk_name_size;           
 2007418:	a4 04 00 12 	add  %l0, %l2, %l2                             
                                                                      
  /* Create a logical disk for each partition */                      
  for (i = 0; i < count; ++i) {                                       
 200741c:	ba 10 20 00 	clr  %i5                                       
 2007420:	80 a6 a0 00 	cmp  %i2, 0                                    
 2007424:	12 80 00 06 	bne  200743c <rtems_bdpart_register+0xa4>      <== ALWAYS TAKEN
 2007428:	b0 16 21 f0 	or  %i0, 0x1f0, %i0                            
  const rtems_bdpart_partition *pt,                                   
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
 200742c:	10 80 00 1a 	b  2007494 <rtems_bdpart_register+0xfc>        <== NOT EXECUTED
 2007430:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  }                                                                   
  strncpy( logical_disk_name, disk_name, disk_name_size);             
  logical_disk_marker = logical_disk_name + disk_name_size;           
                                                                      
  /* Create a logical disk for each partition */                      
  for (i = 0; i < count; ++i) {                                       
 2007434:	02 80 00 1c 	be  20074a4 <rtems_bdpart_register+0x10c>      
 2007438:	b2 06 60 30 	add  %i1, 0x30, %i1                            
                                                                      
    /* Create a new device identifier */                              
    logical_disk = rtems_filesystem_make_dev_t( major, minor);        
                                                                      
    /* Set partition number for logical disk name */                  
    rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
 200743c:	92 10 20 04 	mov  4, %o1                                    
 2007440:	94 10 00 18 	mov  %i0, %o2                                  
 2007444:	ba 07 60 01 	inc  %i5                                       
 2007448:	90 10 00 12 	mov  %l2, %o0                                  
 200744c:	40 01 1d 76 	call  204ea24 <snprintf>                       
 2007450:	96 10 00 1d 	mov  %i5, %o3                                  
  for (i = 0; i < count; ++i) {                                       
    const rtems_bdpart_partition *p = pt + i;                         
    int rv = 0;                                                       
                                                                      
    /* New minor number */                                            
    ++minor;                                                          
 2007454:	b8 07 20 01 	inc  %i4                                       
    /* Create a new device identifier */                              
    logical_disk = rtems_filesystem_make_dev_t( major, minor);        
                                                                      
    /* Set partition number for logical disk name */                  
    rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
 2007458:	80 a2 20 03 	cmp  %o0, 3                                    
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create logical disk */                                         
    sc = rtems_disk_create_log(                                       
 200745c:	92 10 00 1c 	mov  %i4, %o1                                  
 2007460:	94 10 00 1b 	mov  %i3, %o2                                  
 2007464:	96 10 00 11 	mov  %l1, %o3                                  
    /* Create a new device identifier */                              
    logical_disk = rtems_filesystem_make_dev_t( major, minor);        
                                                                      
    /* Set partition number for logical disk name */                  
    rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
 2007468:	14 80 00 11 	bg  20074ac <rtems_bdpart_register+0x114>      <== NEVER TAKEN
 200746c:	90 10 00 1b 	mov  %i3, %o0                                  
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create logical disk */                                         
    sc = rtems_disk_create_log(                                       
 2007470:	da 06 60 04 	ld  [ %i1 + 4 ], %o5                           
      logical_disk,                                                   
      disk,                                                           
      p->begin,                                                       
      p->end - p->begin,                                              
 2007474:	d8 06 40 00 	ld  [ %i1 ], %o4                               
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create logical disk */                                         
    sc = rtems_disk_create_log(                                       
 2007478:	e0 23 a0 5c 	st  %l0, [ %sp + 0x5c ]                        
 200747c:	40 00 03 51 	call  20081c0 <rtems_disk_create_log>          
 2007480:	9a 23 40 0c 	sub  %o5, %o4, %o5                             
      disk,                                                           
      p->begin,                                                       
      p->end - p->begin,                                              
      logical_disk_name                                               
    );                                                                
    if (sc != RTEMS_SUCCESSFUL) {                                     
 2007484:	80 a2 20 00 	cmp  %o0, 0                                    
 2007488:	02 bf ff eb 	be  2007434 <rtems_bdpart_register+0x9c>       <== ALWAYS TAKEN
 200748c:	80 a7 40 1a 	cmp  %i5, %i2                                  
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Create logical disk */                                         
    sc = rtems_disk_create_log(                                       
 2007490:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( logical_disk_name);                                           
 2007494:	40 00 07 9e 	call  200930c <free>                           
 2007498:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  return esc;                                                         
}                                                                     
 200749c:	81 c7 e0 08 	ret                                            
 20074a0:	81 e8 00 00 	restore                                        
  const rtems_bdpart_partition *pt,                                   
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
 20074a4:	10 bf ff fc 	b  2007494 <rtems_bdpart_register+0xfc>        
 20074a8:	b0 10 20 00 	clr  %i0                                       
    logical_disk = rtems_filesystem_make_dev_t( major, minor);        
                                                                      
    /* Set partition number for logical disk name */                  
    rv = snprintf( logical_disk_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
      esc = RTEMS_INVALID_NAME;                                       
 20074ac:	10 bf ff fa 	b  2007494 <rtems_bdpart_register+0xfc>        <== NOT EXECUTED
 20074b0:	b0 10 20 03 	mov  3, %i0                                    <== NOT EXECUTED
                                                                      

020074b4 <rtems_bdpart_register_from_disk>: return esc; } rtems_status_code rtems_bdpart_register_from_disk( const char *disk_name) {
 20074b4:	9d e3 bc 88 	save  %sp, -888, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_bdpart_format format;                                         
  rtems_bdpart_partition pt [RTEMS_BDPART_PARTITION_NUMBER_HINT];     
  size_t count = RTEMS_BDPART_PARTITION_NUMBER_HINT;                  
 20074b8:	82 10 20 10 	mov  0x10, %g1                                 
                                                                      
  /* Read partitions */                                               
  sc = rtems_bdpart_read( disk_name, &format, pt, &count);            
 20074bc:	90 10 00 18 	mov  %i0, %o0                                  
rtems_status_code rtems_bdpart_register_from_disk( const char *disk_name)
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_bdpart_format format;                                         
  rtems_bdpart_partition pt [RTEMS_BDPART_PARTITION_NUMBER_HINT];     
  size_t count = RTEMS_BDPART_PARTITION_NUMBER_HINT;                  
 20074c0:	c2 27 bc e8 	st  %g1, [ %fp + -792 ]                        
                                                                      
  /* Read partitions */                                               
  sc = rtems_bdpart_read( disk_name, &format, pt, &count);            
 20074c4:	92 07 bc ec 	add  %fp, -788, %o1                            
 20074c8:	94 07 bd 00 	add  %fp, -768, %o2                            
 20074cc:	40 00 81 73 	call  2027a98 <rtems_bdpart_read>              
 20074d0:	96 07 bc e8 	add  %fp, -792, %o3                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
 20074d4:	80 a2 20 00 	cmp  %o0, 0                                    
 20074d8:	12 80 00 05 	bne  20074ec <rtems_bdpart_register_from_disk+0x38><== NEVER TAKEN
 20074dc:	d4 07 bc e8 	ld  [ %fp + -792 ], %o2                        
    return sc;                                                        
  }                                                                   
                                                                      
  /* Register partitions */                                           
  return rtems_bdpart_register( disk_name, pt, count);                
 20074e0:	90 10 00 18 	mov  %i0, %o0                                  
 20074e4:	7f ff ff ad 	call  2007398 <rtems_bdpart_register>          
 20074e8:	92 07 bd 00 	add  %fp, -768, %o1                            
}                                                                     
 20074ec:	81 c7 e0 08 	ret                                            
 20074f0:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

020276dc <rtems_bdpart_unmount>: const char *disk_name, const rtems_bdpart_partition *pt __attribute__((unused)), size_t count, const char *mount_base ) {
 20276dc:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  const char *disk_file_name = strrchr( disk_name, '/');              
 20276e0:	92 10 20 2f 	mov  0x2f, %o1                                 <== NOT EXECUTED
 20276e4:	40 00 a4 6a 	call  205088c <strrchr>                        <== NOT EXECUTED
 20276e8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20276ec:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
  char *mount_point = NULL;                                           
  char *mount_marker = NULL;                                          
  size_t disk_file_name_size = 0;                                     
  size_t disk_name_size = strlen( disk_name);                         
 20276f0:	40 00 a0 45 	call  204f804 <strlen>                         <== NOT EXECUTED
 20276f4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20276f8:	a0 10 00 08 	mov  %o0, %l0                                  <== NOT EXECUTED
  size_t mount_base_size = strlen( mount_base);                       
 20276fc:	40 00 a0 42 	call  204f804 <strlen>                         <== NOT EXECUTED
 2027700:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
  size_t i = 0;                                                       
                                                                      
  /* Get disk file name */                                            
  if (disk_file_name != NULL) {                                       
 2027704:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 2027708:	02 80 00 42 	be  2027810 <rtems_bdpart_unmount+0x134>       <== NOT EXECUTED
 202770c:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
    disk_file_name += 1;                                              
 2027710:	a2 07 20 01 	add  %i4, 1, %l1                               <== NOT EXECUTED
    disk_file_name_size = strlen( disk_file_name);                    
 2027714:	40 00 a0 3c 	call  204f804 <strlen>                         <== NOT EXECUTED
 2027718:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 202771c:	a0 10 00 08 	mov  %o0, %l0                                  <== NOT EXECUTED
    disk_file_name = disk_name;                                       
    disk_file_name_size = disk_name_size;                             
  }                                                                   
                                                                      
  /* Create mount point base */                                       
  mount_point = malloc( mount_base_size + 1 + disk_file_name_size + RTEMS_BDPART_NUMBER_SIZE);
 2027720:	b2 04 00 1d 	add  %l0, %i5, %i1                             <== NOT EXECUTED
  if (mount_point == NULL) {                                          
    esc = RTEMS_NO_MEMORY;                                            
 2027724:	b0 10 20 1a 	mov  0x1a, %i0                                 <== NOT EXECUTED
    disk_file_name = disk_name;                                       
    disk_file_name_size = disk_name_size;                             
  }                                                                   
                                                                      
  /* Create mount point base */                                       
  mount_point = malloc( mount_base_size + 1 + disk_file_name_size + RTEMS_BDPART_NUMBER_SIZE);
 2027728:	7f ff 88 63 	call  20098b4 <malloc>                         <== NOT EXECUTED
 202772c:	90 06 60 05 	add  %i1, 5, %o0                               <== NOT EXECUTED
  if (mount_point == NULL) {                                          
 2027730:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2027734:	02 80 00 2b 	be  20277e0 <rtems_bdpart_unmount+0x104>       <== NOT EXECUTED
 2027738:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
    esc = RTEMS_NO_MEMORY;                                            
    goto cleanup;                                                     
  }                                                                   
  strncpy( mount_point, mount_base, mount_base_size);                 
 202773c:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2027740:	40 00 a0 ed 	call  204faf4 <strncpy>                        <== NOT EXECUTED
 2027744:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
  mount_point [mount_base_size] = '/';                                
 2027748:	82 10 20 2f 	mov  0x2f, %g1                                 <== NOT EXECUTED
  strncpy( mount_point + mount_base_size + 1, disk_file_name, disk_file_name_size);
 202774c:	90 07 60 01 	add  %i5, 1, %o0                               <== NOT EXECUTED
  if (mount_point == NULL) {                                          
    esc = RTEMS_NO_MEMORY;                                            
    goto cleanup;                                                     
  }                                                                   
  strncpy( mount_point, mount_base, mount_base_size);                 
  mount_point [mount_base_size] = '/';                                
 2027750:	c2 2f 00 1d 	stb  %g1, [ %i4 + %i5 ]                        <== NOT EXECUTED
  strncpy( mount_point + mount_base_size + 1, disk_file_name, disk_file_name_size);
 2027754:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 2027758:	90 07 00 08 	add  %i4, %o0, %o0                             <== NOT EXECUTED
 202775c:	40 00 a0 e6 	call  204faf4 <strncpy>                        <== NOT EXECUTED
 2027760:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
                                                                      
  /* Marker */                                                        
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
 2027764:	b2 06 60 01 	inc  %i1                                       <== NOT EXECUTED
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
    /* Create mount point */                                          
    int rv = snprintf( mount_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
 2027768:	37 00 81 af 	sethi  %hi(0x206bc00), %i3                     <== NOT EXECUTED
                                                                      
  /* Marker */                                                        
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
 202776c:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
  strncpy( mount_point, mount_base, mount_base_size);                 
  mount_point [mount_base_size] = '/';                                
  strncpy( mount_point + mount_base_size + 1, disk_file_name, disk_file_name_size);
                                                                      
  /* Marker */                                                        
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
 2027770:	b2 07 00 19 	add  %i4, %i1, %i1                             <== NOT EXECUTED
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
 2027774:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 2027778:	12 80 00 06 	bne  2027790 <rtems_bdpart_unmount+0xb4>       <== NOT EXECUTED
 202777c:	b6 16 e1 f0 	or  %i3, 0x1f0, %i3                            <== NOT EXECUTED
  const rtems_bdpart_partition *pt __attribute__((unused)),           
  size_t count,                                                       
  const char *mount_base                                              
)                                                                     
{                                                                     
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
 2027780:	10 80 00 1c 	b  20277f0 <rtems_bdpart_unmount+0x114>        <== NOT EXECUTED
 2027784:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
  /* Marker */                                                        
  mount_marker = mount_point + mount_base_size + 1 + disk_file_name_size;
                                                                      
  /* Mount supported file systems for each partition */               
  for (i = 0; i < count; ++i) {                                       
 2027788:	02 80 00 1a 	be  20277f0 <rtems_bdpart_unmount+0x114>       <== NOT EXECUTED
 202778c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    /* Create mount point */                                          
    int rv = snprintf( mount_marker, RTEMS_BDPART_NUMBER_SIZE, "%zu", i + 1);
 2027790:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2027794:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 2027798:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 202779c:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 20277a0:	40 00 9c a1 	call  204ea24 <snprintf>                       <== NOT EXECUTED
 20277a4:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
    if (rv >= RTEMS_BDPART_NUMBER_SIZE) {                             
 20277a8:	80 a2 20 03 	cmp  %o0, 3                                    <== NOT EXECUTED
 20277ac:	14 80 00 15 	bg  2027800 <rtems_bdpart_unmount+0x124>       <== NOT EXECUTED
 20277b0:	b0 10 20 03 	mov  3, %i0                                    <== NOT EXECUTED
      esc = RTEMS_INVALID_NAME;                                       
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Unmount */                                                     
    rv = unmount( mount_point);                                       
 20277b4:	40 00 17 97 	call  202d610 <unmount>                        <== NOT EXECUTED
 20277b8:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    if (rv == 0) {                                                    
 20277bc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20277c0:	12 bf ff f2 	bne  2027788 <rtems_bdpart_unmount+0xac>       <== NOT EXECUTED
 20277c4:	80 a7 40 1a 	cmp  %i5, %i2                                  <== NOT EXECUTED
      /* Remove mount point */                                        
      rv = rmdir( mount_point);                                       
 20277c8:	40 00 15 eb 	call  202cf74 <rmdir>                          <== NOT EXECUTED
 20277cc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
      if (rv != 0) {                                                  
 20277d0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20277d4:	02 bf ff ed 	be  2027788 <rtems_bdpart_unmount+0xac>        <== NOT EXECUTED
 20277d8:	80 a7 40 1a 	cmp  %i5, %i2                                  <== NOT EXECUTED
        esc = RTEMS_IO_ERROR;                                         
 20277dc:	b0 10 20 1b 	mov  0x1b, %i0                                 <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( mount_point);                                                 
 20277e0:	7f ff 86 cb 	call  200930c <free>                           <== NOT EXECUTED
 20277e4:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
  return esc;                                                         
}                                                                     
 20277e8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20277ec:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( mount_point);                                                 
 20277f0:	7f ff 86 c7 	call  200930c <free>                           <== NOT EXECUTED
 20277f4:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
  return esc;                                                         
}                                                                     
 20277f8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20277fc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  free( mount_point);                                                 
 2027800:	7f ff 86 c3 	call  200930c <free>                           <== NOT EXECUTED
 2027804:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
  return esc;                                                         
}                                                                     
 2027808:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202780c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  /* Get disk file name */                                            
  if (disk_file_name != NULL) {                                       
    disk_file_name += 1;                                              
    disk_file_name_size = strlen( disk_file_name);                    
  } else {                                                            
    disk_file_name = disk_name;                                       
 2027810:	10 bf ff c4 	b  2027720 <rtems_bdpart_unmount+0x44>         <== NOT EXECUTED
 2027814:	a2 10 00 18 	mov  %i0, %l1                                  <== NOT EXECUTED
                                                                      

020074f4 <rtems_bdpart_unregister>: rtems_status_code rtems_bdpart_unregister( const char *disk_name, const rtems_bdpart_partition *pt __attribute__((unused)), size_t count ) {
 20074f4:	9d e3 bf 90 	save  %sp, -112, %sp                           
  rtems_device_minor_number minor = 0;                                
  rtems_blkdev_bnum disk_end = 0;                                     
  dev_t disk = 0;                                                     
  dev_t logical_disk = 0;                                             
  size_t i = 0;                                                       
  int fd = -1;                                                        
 20074f8:	82 10 3f ff 	mov  -1, %g1                                   
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
 20074fc:	90 10 00 18 	mov  %i0, %o0                                  
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
  rtems_blkdev_bnum disk_end = 0;                                     
 2007500:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  dev_t disk = 0;                                                     
  dev_t logical_disk = 0;                                             
  size_t i = 0;                                                       
  int fd = -1;                                                        
 2007504:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
  rtems_disk_device *dd = NULL;                                       
 2007508:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
 200750c:	92 07 bf f8 	add  %fp, -8, %o1                              
 2007510:	94 07 bf fc 	add  %fp, -4, %o2                              
 2007514:	40 00 81 36 	call  20279ec <rtems_bdpart_get_disk_data>     
 2007518:	96 07 bf f4 	add  %fp, -12, %o3                             
  if (sc != RTEMS_SUCCESSFUL) {                                       
 200751c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007520:	12 80 00 14 	bne  2007570 <rtems_bdpart_unregister+0x7c>    <== NEVER TAKEN
 2007524:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
    return sc;                                                        
  }                                                                   
  disk = rtems_disk_get_device_identifier( dd);                       
  close( fd);                                                         
 2007528:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
 200752c:	40 00 06 bb 	call  2009018 <close>                          
 2007530:	f8 18 40 00 	ldd  [ %g1 ], %i4                              
                                                                      
  /* Get the disk device identifier */                                
  rtems_filesystem_split_dev_t( disk, major, minor);                  
                                                                      
  /* Create a logical disk for each partition */                      
  for (i = 0; i < count; ++i) {                                       
 2007534:	80 a6 a0 00 	cmp  %i2, 0                                    
 2007538:	12 80 00 05 	bne  200754c <rtems_bdpart_unregister+0x58>    <== ALWAYS TAKEN
 200753c:	b4 06 80 1d 	add  %i2, %i5, %i2                             
 2007540:	30 80 00 0c 	b,a   2007570 <rtems_bdpart_unregister+0x7c>   <== NOT EXECUTED
 2007544:	02 80 00 0b 	be  2007570 <rtems_bdpart_unregister+0x7c>     
 2007548:	01 00 00 00 	nop                                            
    /* New minor number */                                            
    ++minor;                                                          
 200754c:	ba 07 60 01 	inc  %i5                                       
                                                                      
    /* Get the device identifier */                                   
    logical_disk = rtems_filesystem_make_dev_t( major, minor);        
                                                                      
    /* Delete logical disk */                                         
    sc = rtems_disk_delete( logical_disk);                            
 2007550:	90 10 00 1c 	mov  %i4, %o0                                  
 2007554:	40 00 02 a0 	call  2007fd4 <rtems_disk_delete>              
 2007558:	92 10 00 1d 	mov  %i5, %o1                                  
    if (sc != RTEMS_SUCCESSFUL) {                                     
 200755c:	80 a2 20 00 	cmp  %o0, 0                                    
 2007560:	02 bf ff f9 	be  2007544 <rtems_bdpart_unregister+0x50>     <== ALWAYS TAKEN
 2007564:	80 a7 40 1a 	cmp  %i5, %i2                                  
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2007568:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200756c:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
 2007570:	81 c7 e0 08 	ret                                            
 2007574:	81 e8 00 00 	restore                                        
                                                                      

02027dbc <rtems_bdpart_write>: const char *disk_name, const rtems_bdpart_format *format, const rtems_bdpart_partition *pt, size_t count ) {
 2027dbc:	9d e3 bf 88 	save  %sp, -120, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
 2027dc0:	80 a6 60 00 	cmp  %i1, 0                                    
 2027dc4:	02 80 00 06 	be  2027ddc <rtems_bdpart_write+0x20>          <== NEVER TAKEN
 2027dc8:	90 10 00 18 	mov  %i0, %o0                                  
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
 2027dcc:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2027dd0:	80 a0 60 00 	cmp  %g1, 0                                    
 2027dd4:	22 80 00 11 	be,a   2027e18 <rtems_bdpart_write+0x5c>       <== ALWAYS TAKEN
 2027dd8:	c2 0e 60 08 	ldub  [ %i1 + 8 ], %g1                         
    && format->mbr.dos_compatibility;                                 
  rtems_bdbuf_buffer *block = NULL;                                   
 2027ddc:	c0 27 bf f0 	clr  [ %fp + -16 ]                             <== NOT EXECUTED
  rtems_blkdev_bnum disk_end = 0;                                     
 2027de0:	c0 27 bf f4 	clr  [ %fp + -12 ]                             <== NOT EXECUTED
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
 2027de4:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_blkdev_bnum disk_end = 0;                                     
  rtems_blkdev_bnum record_space =                                    
 2027de8:	b8 10 20 01 	mov  1, %i4                                    <== NOT EXECUTED
    dos_compatibility ? RTEMS_BDPART_MBR_CYLINDER_SIZE : 1;           
  size_t ppc = 0; /* Primary partition count */                       
  size_t i = 0;                                                       
  uint8_t *data = NULL;                                               
  int fd = -1;                                                        
 2027dec:	82 10 3f ff 	mov  -1, %g1                                   
  rtems_disk_device *dd = NULL;                                       
 2027df0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  rtems_blkdev_bnum record_space =                                    
    dos_compatibility ? RTEMS_BDPART_MBR_CYLINDER_SIZE : 1;           
  size_t ppc = 0; /* Primary partition count */                       
  size_t i = 0;                                                       
  uint8_t *data = NULL;                                               
  int fd = -1;                                                        
 2027df4:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
  rtems_disk_device *dd = NULL;                                       
                                                                      
  /* Check if we have something to do */                              
  if (count == 0) {                                                   
 2027df8:	80 a6 e0 00 	cmp  %i3, 0                                    
 2027dfc:	02 80 00 4e 	be  2027f34 <rtems_bdpart_write+0x178>         <== NEVER TAKEN
 2027e00:	b0 10 20 00 	clr  %i0                                       
    /* Nothing to do */                                               
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL) {                                 
 2027e04:	80 a6 a0 00 	cmp  %i2, 0                                    
 2027e08:	12 80 00 0b 	bne  2027e34 <rtems_bdpart_write+0x78>         <== ALWAYS TAKEN
 2027e0c:	80 a6 60 00 	cmp  %i1, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
 2027e10:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2027e14:	91 e8 20 09 	restore  %g0, 9, %o0                           <== NOT EXECUTED
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
 2027e18:	80 a0 60 00 	cmp  %g1, 0                                    
 2027e1c:	02 bf ff f1 	be  2027de0 <rtems_bdpart_write+0x24>          <== NEVER TAKEN
 2027e20:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_blkdev_bnum disk_end = 0;                                     
 2027e24:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
  bool dos_compatibility = format != NULL                             
 2027e28:	ba 10 20 01 	mov  1, %i5                                    
    && format->type == RTEMS_BDPART_FORMAT_MBR                        
    && format->mbr.dos_compatibility;                                 
  rtems_bdbuf_buffer *block = NULL;                                   
  rtems_blkdev_bnum disk_end = 0;                                     
  rtems_blkdev_bnum record_space =                                    
 2027e2c:	10 bf ff f0 	b  2027dec <rtems_bdpart_write+0x30>           
 2027e30:	b8 10 20 3f 	mov  0x3f, %i4                                 
    /* Nothing to do */                                               
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  /* Check parameter */                                               
  if (format == NULL || pt == NULL) {                                 
 2027e34:	02 bf ff f7 	be  2027e10 <rtems_bdpart_write+0x54>          <== NEVER TAKEN
 2027e38:	92 07 bf f8 	add  %fp, -8, %o1                              
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  /* Get disk data */                                                 
  sc = rtems_bdpart_get_disk_data( disk_name, &fd, &dd, &disk_end);   
 2027e3c:	94 07 bf fc 	add  %fp, -4, %o2                              
 2027e40:	7f ff fe eb 	call  20279ec <rtems_bdpart_get_disk_data>     
 2027e44:	96 07 bf f4 	add  %fp, -12, %o3                             
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2027e48:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2027e4c:	12 80 00 3a 	bne  2027f34 <rtems_bdpart_write+0x178>        <== NEVER TAKEN
 2027e50:	ba 8f 60 ff 	andcc  %i5, 0xff, %i5                          
    return sc;                                                        
  }                                                                   
                                                                      
  /* Align end of disk on cylinder boundary if necessary */           
  if (dos_compatibility) {                                            
 2027e54:	32 80 00 25 	bne,a   2027ee8 <rtems_bdpart_write+0x12c>     <== ALWAYS TAKEN
 2027e58:	f0 07 bf f4 	ld  [ %fp + -12 ], %i0                         
 2027e5c:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         <== NOT EXECUTED
  /* Check that we have a consistent partition table */               
  for (i = 0; i < count; ++i) {                                       
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Check that begin and end are proper within the disk */         
    if (p->begin >= disk_end || p->end > disk_end) {                  
 2027e60:	de 06 80 00 	ld  [ %i2 ], %o7                               
 2027e64:	80 a3 c0 08 	cmp  %o7, %o0                                  
 2027e68:	3a 80 00 27 	bcc,a   2027f04 <rtems_bdpart_write+0x148>     <== NEVER TAKEN
 2027e6c:	b0 10 20 0a 	mov  0xa, %i0                                  <== NOT EXECUTED
 2027e70:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 2027e74:	80 a2 00 01 	cmp  %o0, %g1                                  
 2027e78:	0a 80 00 22 	bcs  2027f00 <rtems_bdpart_write+0x144>        <== NEVER TAKEN
 2027e7c:	80 a3 c0 01 	cmp  %o7, %g1                                  
      esc = RTEMS_INVALID_NUMBER;                                     
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check that begin and end are valid */                          
    if (p->begin >= p->end) {                                         
 2027e80:	1a 80 00 20 	bcc  2027f00 <rtems_bdpart_write+0x144>        <== NEVER TAKEN
 2027e84:	a2 10 00 1a 	mov  %i2, %l1                                  
 2027e88:	82 10 00 1a 	mov  %i2, %g1                                  
  if (dos_compatibility) {                                            
    disk_end -= (disk_end % record_space);                            
  }                                                                   
                                                                      
  /* Check that we have a consistent partition table */               
  for (i = 0; i < count; ++i) {                                       
 2027e8c:	84 10 20 00 	clr  %g2                                       
 2027e90:	84 00 a0 01 	inc  %g2                                       
 2027e94:	80 a0 80 1b 	cmp  %g2, %i3                                  
 2027e98:	22 80 00 29 	be,a   2027f3c <rtems_bdpart_write+0x180>      
 2027e9c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Check that begin and end are proper within the disk */         
    if (p->begin >= disk_end || p->end > disk_end) {                  
 2027ea0:	c6 00 60 30 	ld  [ %g1 + 0x30 ], %g3                        
 2027ea4:	80 a0 c0 08 	cmp  %g3, %o0                                  
 2027ea8:	3a 80 00 17 	bcc,a   2027f04 <rtems_bdpart_write+0x148>     <== NEVER TAKEN
 2027eac:	b0 10 20 0a 	mov  0xa, %i0                                  <== NOT EXECUTED
 2027eb0:	c8 00 60 34 	ld  [ %g1 + 0x34 ], %g4                        
 2027eb4:	80 a1 00 08 	cmp  %g4, %o0                                  
 2027eb8:	18 80 00 12 	bgu  2027f00 <rtems_bdpart_write+0x144>        <== NEVER TAKEN
 2027ebc:	80 a0 c0 04 	cmp  %g3, %g4                                  
      esc = RTEMS_INVALID_NUMBER;                                     
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check that begin and end are valid */                          
    if (p->begin >= p->end) {                                         
 2027ec0:	1a 80 00 10 	bcc  2027f00 <rtems_bdpart_write+0x144>        <== NEVER TAKEN
 2027ec4:	80 a0 a0 00 	cmp  %g2, 0                                    
      esc = RTEMS_INVALID_NUMBER;                                     
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check that partitions do not overlap */                        
    if (i > 0 && pt [i - 1].end > p->begin) {                         
 2027ec8:	22 bf ff f2 	be,a   2027e90 <rtems_bdpart_write+0xd4>       <== NEVER TAKEN
 2027ecc:	82 00 60 30 	add  %g1, 0x30, %g1                            <== NOT EXECUTED
 2027ed0:	c8 00 60 04 	ld  [ %g1 + 4 ], %g4                           
 2027ed4:	80 a0 c0 04 	cmp  %g3, %g4                                  
 2027ed8:	0a 80 00 0a 	bcs  2027f00 <rtems_bdpart_write+0x144>        <== NEVER TAKEN
 2027edc:	82 00 60 30 	add  %g1, 0x30, %g1                            
  if (dos_compatibility) {                                            
    disk_end -= (disk_end % record_space);                            
  }                                                                   
                                                                      
  /* Check that we have a consistent partition table */               
  for (i = 0; i < count; ++i) {                                       
 2027ee0:	10 bf ff ed 	b  2027e94 <rtems_bdpart_write+0xd8>           
 2027ee4:	84 00 a0 01 	inc  %g2                                       
    return sc;                                                        
  }                                                                   
                                                                      
  /* Align end of disk on cylinder boundary if necessary */           
  if (dos_compatibility) {                                            
    disk_end -= (disk_end % record_space);                            
 2027ee8:	92 10 00 1c 	mov  %i4, %o1                                  
 2027eec:	40 00 e8 18 	call  2061f4c <.urem>                          
 2027ef0:	90 10 00 18 	mov  %i0, %o0                                  
 2027ef4:	90 26 00 08 	sub  %i0, %o0, %o0                             
 2027ef8:	10 bf ff da 	b  2027e60 <rtems_bdpart_write+0xa4>           
 2027efc:	d0 27 bf f4 	st  %o0, [ %fp + -12 ]                         
  for (i = 0; i < count; ++i) {                                       
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Check that begin and end are proper within the disk */         
    if (p->begin >= disk_end || p->end > disk_end) {                  
      esc = RTEMS_INVALID_NUMBER;                                     
 2027f00:	b0 10 20 0a 	mov  0xa, %i0                                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
cleanup:                                                              
                                                                      
  if (fd >= 0) {                                                      
 2027f04:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
 2027f08:	80 a2 20 00 	cmp  %o0, 0                                    
 2027f0c:	26 80 00 05 	bl,a   2027f20 <rtems_bdpart_write+0x164>      <== NEVER TAKEN
 2027f10:	d0 07 bf f0 	ld  [ %fp + -16 ], %o0                         <== NOT EXECUTED
    close( fd);                                                       
 2027f14:	7f ff 84 41 	call  2009018 <close>                          
 2027f18:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  if (block != NULL) {                                                
 2027f1c:	d0 07 bf f0 	ld  [ %fp + -16 ], %o0                         
 2027f20:	80 a2 20 00 	cmp  %o0, 0                                    
 2027f24:	02 80 00 04 	be  2027f34 <rtems_bdpart_write+0x178>         <== NEVER TAKEN
 2027f28:	01 00 00 00 	nop                                            
    rtems_bdbuf_sync( block);                                         
 2027f2c:	7f ff 7b cd 	call  2006e60 <rtems_bdbuf_sync>               
 2027f30:	01 00 00 00 	nop                                            
 2027f34:	81 c7 e0 08 	ret                                            
 2027f38:	81 e8 00 00 	restore                                        
      goto cleanup;                                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Check format */                                                  
  if (format->type != RTEMS_BDPART_FORMAT_MBR) {                      
 2027f3c:	80 a0 60 00 	cmp  %g1, 0                                    
 2027f40:	12 bf ff f1 	bne  2027f04 <rtems_bdpart_write+0x148>        <== NEVER TAKEN
 2027f44:	b0 10 20 18 	mov  0x18, %i0                                 
   * Set primary partition count.  If we have more than four partitions we need
   * an extended partition which will contain the partitions of number four and
   * above as logical partitions.  If we have four or less partitions we can
   * use the primary partition table.                                 
   */                                                                 
  ppc = count <= 4 ? count : 3;                                       
 2027f48:	80 a6 e0 04 	cmp  %i3, 4                                    
 2027f4c:	08 80 00 03 	bleu  2027f58 <rtems_bdpart_write+0x19c>       <== NEVER TAKEN
 2027f50:	a0 10 00 1b 	mov  %i3, %l0                                  
 2027f54:	a0 10 20 03 	mov  3, %l0                                    
                                                                      
  /*                                                                  
   * Check that the first primary partition starts at head one and sector one
   * under the virtual one head and 63 sectors geometry if necessary. 
   */                                                                 
  if (dos_compatibility && pt [0].begin != RTEMS_BDPART_MBR_CYLINDER_SIZE) {
 2027f58:	80 a7 60 00 	cmp  %i5, 0                                    
 2027f5c:	02 80 00 06 	be  2027f74 <rtems_bdpart_write+0x1b8>         <== NEVER TAKEN
 2027f60:	80 a4 00 1b 	cmp  %l0, %i3                                  
 2027f64:	80 a3 e0 3f 	cmp  %o7, 0x3f                                 
 2027f68:	12 bf ff e7 	bne  2027f04 <rtems_bdpart_write+0x148>        <== NEVER TAKEN
 2027f6c:	b0 10 20 0a 	mov  0xa, %i0                                  
   * Each logical partition is described via one EBR preceding the partition.
   * The space for the EBR and maybe some space which is needed for DOS
   * compatibility resides between the partitions.  So there have to be gaps of
   * the appropriate size between the partitions.                     
   */                                                                 
  for (i = ppc; i < count; ++i) {                                     
 2027f70:	80 a4 00 1b 	cmp  %l0, %i3                                  
 2027f74:	1a 80 00 1c 	bcc  2027fe4 <rtems_bdpart_write+0x228>        <== NEVER TAKEN
 2027f78:	84 04 3f ff 	add  %l0, -1, %g2                              
    if ((pt [i].begin - pt [i - 1].end) < record_space) {             
 2027f7c:	89 2c 20 06 	sll  %l0, 6, %g4                               
 2027f80:	87 28 a0 04 	sll  %g2, 4, %g3                               
 2027f84:	83 2c 20 04 	sll  %l0, 4, %g1                               
 2027f88:	85 28 a0 06 	sll  %g2, 6, %g2                               
 2027f8c:	82 21 00 01 	sub  %g4, %g1, %g1                             
 2027f90:	84 20 80 03 	sub  %g2, %g3, %g2                             
 2027f94:	c8 06 80 01 	ld  [ %i2 + %g1 ], %g4                         
 2027f98:	84 06 80 02 	add  %i2, %g2, %g2                             
 2027f9c:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 2027fa0:	84 06 80 01 	add  %i2, %g1, %g2                             
 2027fa4:	82 21 00 03 	sub  %g4, %g3, %g1                             
 2027fa8:	80 a7 00 01 	cmp  %i4, %g1                                  
 2027fac:	18 bf ff d5 	bgu  2027f00 <rtems_bdpart_write+0x144>        <== NEVER TAKEN
 2027fb0:	82 10 00 10 	mov  %l0, %g1                                  
   * Each logical partition is described via one EBR preceding the partition.
   * The space for the EBR and maybe some space which is needed for DOS
   * compatibility resides between the partitions.  So there have to be gaps of
   * the appropriate size between the partitions.                     
   */                                                                 
  for (i = ppc; i < count; ++i) {                                     
 2027fb4:	10 80 00 09 	b  2027fd8 <rtems_bdpart_write+0x21c>          
 2027fb8:	82 00 60 01 	inc  %g1                                       
    if ((pt [i].begin - pt [i - 1].end) < record_space) {             
 2027fbc:	c8 00 e0 30 	ld  [ %g3 + 0x30 ], %g4                        
 2027fc0:	c6 00 e0 04 	ld  [ %g3 + 4 ], %g3                           
 2027fc4:	86 21 00 03 	sub  %g4, %g3, %g3                             
 2027fc8:	80 a7 00 03 	cmp  %i4, %g3                                  
 2027fcc:	18 bf ff cd 	bgu  2027f00 <rtems_bdpart_write+0x144>        <== NEVER TAKEN
 2027fd0:	84 00 a0 30 	add  %g2, 0x30, %g2                            
   * Each logical partition is described via one EBR preceding the partition.
   * The space for the EBR and maybe some space which is needed for DOS
   * compatibility resides between the partitions.  So there have to be gaps of
   * the appropriate size between the partitions.                     
   */                                                                 
  for (i = ppc; i < count; ++i) {                                     
 2027fd4:	82 00 60 01 	inc  %g1                                       
 2027fd8:	80 a6 c0 01 	cmp  %i3, %g1                                  
 2027fdc:	18 bf ff f8 	bgu  2027fbc <rtems_bdpart_write+0x200>        
 2027fe0:	86 10 00 02 	mov  %g2, %g3                                  
 2027fe4:	ba 10 00 1a 	mov  %i2, %i5                                  
 2027fe8:	b0 10 20 00 	clr  %i0                                       
 2027fec:	10 80 00 0c 	b  202801c <rtems_bdpart_write+0x260>          
 2027ff0:	a4 07 bf ef 	add  %fp, -17, %l2                             
      esc =  RTEMS_INVALID_ID;                                        
      goto cleanup;                                                   
    }                                                                 
                                                                      
    /* Check flags */                                                 
    if (p->flags > 0xffU) {                                           
 2027ff4:	80 a0 60 00 	cmp  %g1, 0                                    
 2027ff8:	12 80 00 10 	bne  2028038 <rtems_bdpart_write+0x27c>        <== NEVER TAKEN
 2027ffc:	b0 06 20 01 	inc  %i0                                       
 2028000:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
 2028004:	80 a0 60 ff 	cmp  %g1, 0xff                                 
 2028008:	18 80 00 0c 	bgu  2028038 <rtems_bdpart_write+0x27c>        <== NEVER TAKEN
 202800c:	ba 07 60 30 	add  %i5, 0x30, %i5                            
      goto cleanup;                                                   
    }                                                                 
  }                                                                   
                                                                      
  /* Check that we can convert the parition descriptions to the MBR format */
  for (i = 0; i < count; ++i) {                                       
 2028010:	80 a6 00 1b 	cmp  %i0, %i3                                  
 2028014:	02 80 00 0b 	be  2028040 <rtems_bdpart_write+0x284>         
 2028018:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
    uint8_t type = 0;                                                 
                                                                      
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Check type */                                                  
    if (!rtems_bdpart_to_mbr_partition_type( p->type, &type)) {       
 202801c:	90 07 60 08 	add  %i5, 8, %o0                               
    }                                                                 
  }                                                                   
                                                                      
  /* Check that we can convert the parition descriptions to the MBR format */
  for (i = 0; i < count; ++i) {                                       
    uint8_t type = 0;                                                 
 2028020:	c0 2f bf ef 	clrb  [ %fp + -17 ]                            
                                                                      
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Check type */                                                  
    if (!rtems_bdpart_to_mbr_partition_type( p->type, &type)) {       
 2028024:	7f ff fe 66 	call  20279bc <rtems_bdpart_to_mbr_partition_type>
 2028028:	92 10 00 12 	mov  %l2, %o1                                  
 202802c:	80 8a 20 ff 	btst  0xff, %o0                                
 2028030:	32 bf ff f1 	bne,a   2027ff4 <rtems_bdpart_write+0x238>     <== ALWAYS TAKEN
 2028034:	c2 07 60 28 	ld  [ %i5 + 0x28 ], %g1                        
 2028038:	10 bf ff b3 	b  2027f04 <rtems_bdpart_write+0x148>          <== NOT EXECUTED
 202803c:	b0 10 20 04 	mov  4, %i0                                    <== NOT EXECUTED
    /* Check ID */                                                    
    /* TODO */                                                        
  }                                                                   
                                                                      
  /* New MBR */                                                       
  sc = rtems_bdpart_new_record( dd, 0, &block);                       
 2028040:	92 10 20 00 	clr  %o1                                       
 2028044:	7f ff ff 3a 	call  2027d2c <rtems_bdpart_new_record>        
 2028048:	94 07 bf f0 	add  %fp, -16, %o2                             
  if (sc != RTEMS_SUCCESSFUL) {                                       
 202804c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2028050:	12 bf ff ae 	bne  2027f08 <rtems_bdpart_write+0x14c>        <== NEVER TAKEN
 2028054:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
  }                                                                   
                                                                      
  /* Write disk ID */                                                 
  rtems_uint32_to_little_endian(                                      
    format->mbr.disk_id,                                              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
 2028058:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
    esc = sc;                                                         
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Write disk ID */                                                 
  rtems_uint32_to_little_endian(                                      
 202805c:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
    format->mbr.disk_id,                                              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
 2028060:	c6 00 60 1c 	ld  [ %g1 + 0x1c ], %g3                        
    esc = sc;                                                         
    goto cleanup;                                                     
  }                                                                   
                                                                      
  /* Write disk ID */                                                 
  rtems_uint32_to_little_endian(                                      
 2028064:	82 00 e1 b8 	add  %g3, 0x1b8, %g1                           
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
 2028068:	86 00 e1 bc 	add  %g3, 0x1bc, %g3                           
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
    data [i] = (uint8_t) value;                                       
 202806c:	c4 28 40 00 	stb  %g2, [ %g1 ]                              
 2028070:	82 00 60 01 	inc  %g1                                       
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
 2028074:	80 a0 40 03 	cmp  %g1, %g3                                  
 2028078:	12 bf ff fd 	bne  202806c <rtems_bdpart_write+0x2b0>        
 202807c:	85 30 a0 08 	srl  %g2, 8, %g2                               
    format->mbr.disk_id,                                              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
  );                                                                  
                                                                      
  /* Write primary partition table */                                 
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
 2028080:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
 2028084:	9f 2c 20 04 	sll  %l0, 4, %o7                               
    format->mbr.disk_id,                                              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
  );                                                                  
                                                                      
  /* Write primary partition table */                                 
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
 2028088:	c8 00 60 1c 	ld  [ %g1 + 0x1c ], %g4                        
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
 202808c:	99 2c 20 06 	sll  %l0, 6, %o4                               
    format->mbr.disk_id,                                              
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
  );                                                                  
                                                                      
  /* Write primary partition table */                                 
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
 2028090:	9a 01 21 be 	add  %g4, 0x1be, %o5                           
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
 2028094:	98 23 00 0f 	sub  %o4, %o7, %o4                             
 2028098:	88 01 21 ca 	add  %g4, 0x1ca, %g4                           
 202809c:	b0 06 80 0c 	add  %i2, %o4, %i0                             
                                                                      
    /* Write partition entry */                                       
    rtems_bdpart_write_mbr_partition(                                 
      data,                                                           
      p->begin,                                                       
      p->end - p->begin,                                              
 20280a0:	c4 04 40 00 	ld  [ %l1 ], %g2                               
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
  for (i = 0; i < ppc; ++i) {                                         
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Write partition entry */                                       
    rtems_bdpart_write_mbr_partition(                                 
 20280a4:	c6 04 60 04 	ld  [ %l1 + 4 ], %g3                           
  if (block != NULL) {                                                
    rtems_bdbuf_sync( block);                                         
  }                                                                   
                                                                      
  return esc;                                                         
}                                                                     
 20280a8:	f2 0c 60 08 	ldub  [ %l1 + 8 ], %i1                         
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
  for (i = 0; i < ppc; ++i) {                                         
    const rtems_bdpart_partition *p = pt + i;                         
                                                                      
    /* Write partition entry */                                       
    rtems_bdpart_write_mbr_partition(                                 
 20280ac:	fa 0c 60 2f 	ldub  [ %l1 + 0x2f ], %i5                      
 20280b0:	86 20 c0 02 	sub  %g3, %g2, %g3                             
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
 20280b4:	82 01 3f fc 	add  %g4, -4, %g1                              
    data [i] = (uint8_t) value;                                       
 20280b8:	c4 28 40 00 	stb  %g2, [ %g1 ]                              
 20280bc:	82 00 60 01 	inc  %g1                                       
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
 20280c0:	80 a1 00 01 	cmp  %g4, %g1                                  
 20280c4:	12 bf ff fd 	bne  20280b8 <rtems_bdpart_write+0x2fc>        
 20280c8:	85 30 a0 08 	srl  %g2, 8, %g2                               
 20280cc:	84 01 20 04 	add  %g4, 4, %g2                               
 20280d0:	82 10 00 04 	mov  %g4, %g1                                  
    data [i] = (uint8_t) value;                                       
 20280d4:	c6 28 40 00 	stb  %g3, [ %g1 ]                              
 20280d8:	82 00 60 01 	inc  %g1                                       
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
 20280dc:	80 a0 40 02 	cmp  %g1, %g2                                  
 20280e0:	12 bf ff fd 	bne  20280d4 <rtems_bdpart_write+0x318>        
 20280e4:	87 30 e0 08 	srl  %g3, 8, %g3                               
  uint8_t flags                                                       
)                                                                     
{                                                                     
  rtems_uint32_to_little_endian( begin, data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
  rtems_uint32_to_little_endian( size, data + RTEMS_BDPART_MBR_OFFSET_SIZE);
  data [RTEMS_BDPART_MBR_OFFSET_TYPE] = type;                         
 20280e8:	f2 29 3f f8 	stb  %i1, [ %g4 + -8 ]                         
  data [RTEMS_BDPART_MBR_OFFSET_FLAGS] = flags;                       
 20280ec:	fa 29 3f f4 	stb  %i5, [ %g4 + -12 ]                        
 20280f0:	a2 04 60 30 	add  %l1, 0x30, %l1                            
    block->buffer + RTEMS_BDPART_MBR_OFFSET_DISK_ID                   
  );                                                                  
                                                                      
  /* Write primary partition table */                                 
  data = block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0;             
  for (i = 0; i < ppc; ++i) {                                         
 20280f4:	80 a4 40 18 	cmp  %l1, %i0                                  
 20280f8:	12 bf ff ea 	bne  20280a0 <rtems_bdpart_write+0x2e4>        
 20280fc:	88 01 20 10 	add  %g4, 0x10, %g4                            
 2028100:	84 03 40 0f 	add  %o5, %o7, %g2                             
                                                                      
    data += RTEMS_BDPART_MBR_TABLE_ENTRY_SIZE;                        
  }                                                                   
                                                                      
  /* Write extended partition with logical partitions if necessary */ 
  if (ppc != count) {                                                 
 2028104:	80 a4 00 1b 	cmp  %l0, %i3                                  
 2028108:	02 bf ff 7f 	be  2027f04 <rtems_bdpart_write+0x148>         <== NEVER TAKEN
 202810c:	b0 10 20 00 	clr  %i0                                       
    rtems_blkdev_bnum ebr = 0; /* Extended boot record block index */ 
                                                                      
    /* Begin of extended partition */                                 
    rtems_blkdev_bnum ep_begin = pt [ppc].begin - record_space;       
 2028110:	fa 06 80 0c 	ld  [ %i2 + %o4 ], %i5                         
                                                                      
    /* Write extended partition */                                    
    rtems_bdpart_write_mbr_partition(                                 
 2028114:	c6 07 bf f4 	ld  [ %fp + -12 ], %g3                         
  /* Write extended partition with logical partitions if necessary */ 
  if (ppc != count) {                                                 
    rtems_blkdev_bnum ebr = 0; /* Extended boot record block index */ 
                                                                      
    /* Begin of extended partition */                                 
    rtems_blkdev_bnum ep_begin = pt [ppc].begin - record_space;       
 2028118:	ba 27 40 1c 	sub  %i5, %i4, %i5                             
  uint32_t size,                                                      
  uint8_t type,                                                       
  uint8_t flags                                                       
)                                                                     
{                                                                     
  rtems_uint32_to_little_endian( begin, data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
 202811c:	82 00 a0 08 	add  %g2, 8, %g1                               
                                                                      
    /* Begin of extended partition */                                 
    rtems_blkdev_bnum ep_begin = pt [ppc].begin - record_space;       
                                                                      
    /* Write extended partition */                                    
    rtems_bdpart_write_mbr_partition(                                 
 2028120:	86 20 c0 1d 	sub  %g3, %i5, %g3                             
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
 2028124:	b2 00 a0 0c 	add  %g2, 0xc, %i1                             
 2028128:	88 10 00 1d 	mov  %i5, %g4                                  
    data [i] = (uint8_t) value;                                       
 202812c:	c8 28 40 00 	stb  %g4, [ %g1 ]                              
 2028130:	82 00 60 01 	inc  %g1                                       
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
 2028134:	80 a0 40 19 	cmp  %g1, %i1                                  
 2028138:	12 bf ff fd 	bne  202812c <rtems_bdpart_write+0x370>        
 202813c:	89 31 20 08 	srl  %g4, 8, %g4                               
 2028140:	88 00 a0 10 	add  %g2, 0x10, %g4                            
    data [i] = (uint8_t) value;                                       
 2028144:	c6 28 40 00 	stb  %g3, [ %g1 ]                              
 2028148:	82 00 60 01 	inc  %g1                                       
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
 202814c:	80 a0 40 04 	cmp  %g1, %g4                                  
 2028150:	12 bf ff fd 	bne  2028144 <rtems_bdpart_write+0x388>        
 2028154:	87 30 e0 08 	srl  %g3, 8, %g3                               
  uint8_t flags                                                       
)                                                                     
{                                                                     
  rtems_uint32_to_little_endian( begin, data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
  rtems_uint32_to_little_endian( size, data + RTEMS_BDPART_MBR_OFFSET_SIZE);
  data [RTEMS_BDPART_MBR_OFFSET_TYPE] = type;                         
 2028158:	82 10 20 05 	mov  5, %g1                                    
 202815c:	c2 28 a0 04 	stb  %g1, [ %g2 + 4 ]                          
      RTEMS_BDPART_MBR_EXTENDED,                                      
      0                                                               
    );                                                                
                                                                      
    /* Write logical partitions */                                    
    for (i = ppc; i < count; ++i) {                                   
 2028160:	80 a4 00 1b 	cmp  %l0, %i3                                  
 2028164:	1a 80 00 44 	bcc  2028274 <rtems_bdpart_write+0x4b8>        <== NEVER TAKEN
 2028168:	c0 2b 40 0f 	clrb  [ %o5 + %o7 ]                            
 202816c:	a4 04 20 01 	add  %l0, 1, %l2                               
  uint8_t flags                                                       
)                                                                     
{                                                                     
  rtems_uint32_to_little_endian( begin, data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
  rtems_uint32_to_little_endian( size, data + RTEMS_BDPART_MBR_OFFSET_SIZE);
  data [RTEMS_BDPART_MBR_OFFSET_TYPE] = type;                         
 2028170:	b2 10 20 05 	mov  5, %i1                                    
    RTEMS_BDPART_MBR_SIGNATURE_1;                                     
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code rtems_bdpart_write(                                 
 2028174:	83 2c a0 04 	sll  %l2, 4, %g1                               
 2028178:	85 2c a0 06 	sll  %l2, 6, %g2                               
 202817c:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2028180:	b4 06 80 01 	add  %i2, %g1, %i2                             
          0                                                           
        );                                                            
      }                                                               
                                                                      
      /* New EBR */                                                   
      ebr = p->begin - record_space;                                  
 2028184:	d2 04 40 00 	ld  [ %l1 ], %o1                               
      sc = rtems_bdpart_new_record( dd, ebr, &block);                 
 2028188:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 202818c:	92 22 40 1c 	sub  %o1, %i4, %o1                             
 2028190:	7f ff fe e7 	call  2027d2c <rtems_bdpart_new_record>        
 2028194:	94 07 bf f0 	add  %fp, -16, %o2                             
      if (sc != RTEMS_SUCCESSFUL) {                                   
 2028198:	80 a2 20 00 	cmp  %o0, 0                                    
 202819c:	12 80 00 34 	bne  202826c <rtems_bdpart_write+0x4b0>        <== NEVER TAKEN
 20281a0:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
        esc = sc;                                                     
        goto cleanup;                                                 
      }                                                               
                                                                      
      /* Write first partition entry */                               
      rtems_bdpart_write_mbr_partition(                               
 20281a4:	c4 04 60 04 	ld  [ %l1 + 4 ], %g2                           
        block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_0,              
 20281a8:	c6 00 60 1c 	ld  [ %g1 + 0x1c ], %g3                        
        esc = sc;                                                     
        goto cleanup;                                                 
      }                                                               
                                                                      
      /* Write first partition entry */                               
      rtems_bdpart_write_mbr_partition(                               
 20281ac:	c2 04 40 00 	ld  [ %l1 ], %g1                               
  if (block != NULL) {                                                
    rtems_bdbuf_sync( block);                                         
  }                                                                   
                                                                      
  return esc;                                                         
}                                                                     
 20281b0:	de 0c 60 08 	ldub  [ %l1 + 8 ], %o7                         
        esc = sc;                                                     
        goto cleanup;                                                 
      }                                                               
                                                                      
      /* Write first partition entry */                               
      rtems_bdpart_write_mbr_partition(                               
 20281b4:	f0 0c 60 2f 	ldub  [ %l1 + 0x2f ], %i0                      
 20281b8:	84 20 80 01 	sub  %g2, %g1, %g2                             
    data [i] = (uint8_t) value;                                       
 20281bc:	f8 28 e1 c6 	stb  %i4, [ %g3 + 0x1c6 ]                      
 20281c0:	c0 28 e1 c7 	clrb  [ %g3 + 0x1c7 ]                          
 20281c4:	c0 28 e1 c8 	clrb  [ %g3 + 0x1c8 ]                          
 20281c8:	c0 28 e1 c9 	clrb  [ %g3 + 0x1c9 ]                          
  uint8_t type,                                                       
  uint8_t flags                                                       
)                                                                     
{                                                                     
  rtems_uint32_to_little_endian( begin, data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
  rtems_uint32_to_little_endian( size, data + RTEMS_BDPART_MBR_OFFSET_SIZE);
 20281cc:	88 00 e1 ca 	add  %g3, 0x1ca, %g4                           
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
 20281d0:	82 10 20 00 	clr  %g1                                       
    data [i] = (uint8_t) value;                                       
 20281d4:	c4 29 00 01 	stb  %g2, [ %g4 + %g1 ]                        
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
 20281d8:	82 00 60 01 	inc  %g1                                       
 20281dc:	80 a0 60 04 	cmp  %g1, 4                                    
 20281e0:	12 bf ff fd 	bne  20281d4 <rtems_bdpart_write+0x418>        
 20281e4:	85 30 a0 08 	srl  %g2, 8, %g2                               
  data [RTEMS_BDPART_MBR_OFFSET_TYPE] = type;                         
 20281e8:	de 28 e1 c2 	stb  %o7, [ %g3 + 0x1c2 ]                      
      RTEMS_BDPART_MBR_EXTENDED,                                      
      0                                                               
    );                                                                
                                                                      
    /* Write logical partitions */                                    
    for (i = ppc; i < count; ++i) {                                   
 20281ec:	80 a4 80 1b 	cmp  %l2, %i3                                  
 20281f0:	02 80 00 21 	be  2028274 <rtems_bdpart_write+0x4b8>         
 20281f4:	f0 28 e1 be 	stb  %i0, [ %g3 + 0x1be ]                      
      const rtems_bdpart_partition *p = pt + i;                       
                                                                      
      /* Write second partition entry */                              
      if (i > ppc) {                                                  
 20281f8:	80 a4 00 12 	cmp  %l0, %l2                                  
 20281fc:	1a 80 00 19 	bcc  2028260 <rtems_bdpart_write+0x4a4>        <== NEVER TAKEN
 2028200:	a2 10 00 1a 	mov  %i2, %l1                                  
        rtems_blkdev_bnum begin = p->begin - record_space;            
                                                                      
        rtems_bdpart_write_mbr_partition(                             
          block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1,            
 2028204:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         
    for (i = ppc; i < count; ++i) {                                   
      const rtems_bdpart_partition *p = pt + i;                       
                                                                      
      /* Write second partition entry */                              
      if (i > ppc) {                                                  
        rtems_blkdev_bnum begin = p->begin - record_space;            
 2028208:	c2 06 80 00 	ld  [ %i2 ], %g1                               
                                                                      
        rtems_bdpart_write_mbr_partition(                             
          block->buffer + RTEMS_BDPART_MBR_OFFSET_TABLE_1,            
 202820c:	f0 00 a0 1c 	ld  [ %g2 + 0x1c ], %i0                        
                                                                      
      /* Write second partition entry */                              
      if (i > ppc) {                                                  
        rtems_blkdev_bnum begin = p->begin - record_space;            
                                                                      
        rtems_bdpart_write_mbr_partition(                             
 2028210:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         
    for (i = ppc; i < count; ++i) {                                   
      const rtems_bdpart_partition *p = pt + i;                       
                                                                      
      /* Write second partition entry */                              
      if (i > ppc) {                                                  
        rtems_blkdev_bnum begin = p->begin - record_space;            
 2028214:	82 20 40 1c 	sub  %g1, %i4, %g1                             
  uint32_t size,                                                      
  uint8_t type,                                                       
  uint8_t flags                                                       
)                                                                     
{                                                                     
  rtems_uint32_to_little_endian( begin, data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
 2028218:	88 06 21 d6 	add  %i0, 0x1d6, %g4                           
                                                                      
      /* Write second partition entry */                              
      if (i > ppc) {                                                  
        rtems_blkdev_bnum begin = p->begin - record_space;            
                                                                      
        rtems_bdpart_write_mbr_partition(                             
 202821c:	86 20 40 1d 	sub  %g1, %i5, %g3                             
 2028220:	84 20 80 01 	sub  %g2, %g1, %g2                             
 2028224:	82 10 20 00 	clr  %g1                                       
    data [i] = (uint8_t) value;                                       
 2028228:	c6 29 00 01 	stb  %g3, [ %g4 + %g1 ]                        
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
 202822c:	82 00 60 01 	inc  %g1                                       
 2028230:	80 a0 60 04 	cmp  %g1, 4                                    
 2028234:	12 bf ff fd 	bne  2028228 <rtems_bdpart_write+0x46c>        
 2028238:	87 30 e0 08 	srl  %g3, 8, %g3                               
  uint8_t type,                                                       
  uint8_t flags                                                       
)                                                                     
{                                                                     
  rtems_uint32_to_little_endian( begin, data + RTEMS_BDPART_MBR_OFFSET_BEGIN);
  rtems_uint32_to_little_endian( size, data + RTEMS_BDPART_MBR_OFFSET_SIZE);
 202823c:	86 06 21 da 	add  %i0, 0x1da, %g3                           
 2028240:	82 10 20 00 	clr  %g1                                       
    data [i] = (uint8_t) value;                                       
 2028244:	c4 28 c0 01 	stb  %g2, [ %g3 + %g1 ]                        
                                                                      
static inline void rtems_uint32_to_little_endian( uint32_t value, uint8_t *data)
{                                                                     
  size_t i = 0;                                                       
                                                                      
  for (i = 0; i < 4; ++i) {                                           
 2028248:	82 00 60 01 	inc  %g1                                       
 202824c:	80 a0 60 04 	cmp  %g1, 4                                    
 2028250:	12 bf ff fd 	bne  2028244 <rtems_bdpart_write+0x488>        
 2028254:	85 30 a0 08 	srl  %g2, 8, %g2                               
  data [RTEMS_BDPART_MBR_OFFSET_TYPE] = type;                         
 2028258:	f2 2e 21 d2 	stb  %i1, [ %i0 + 0x1d2 ]                      
  data [RTEMS_BDPART_MBR_OFFSET_FLAGS] = flags;                       
 202825c:	c0 2e 21 ce 	clrb  [ %i0 + 0x1ce ]                          
 2028260:	a4 04 a0 01 	inc  %l2                                       
 2028264:	10 bf ff c8 	b  2028184 <rtems_bdpart_write+0x3c8>          
 2028268:	b4 06 a0 30 	add  %i2, 0x30, %i2                            
      }                                                               
                                                                      
      /* New EBR */                                                   
      ebr = p->begin - record_space;                                  
      sc = rtems_bdpart_new_record( dd, ebr, &block);                 
      if (sc != RTEMS_SUCCESSFUL) {                                   
 202826c:	10 bf ff 26 	b  2027f04 <rtems_bdpart_write+0x148>          <== NOT EXECUTED
 2028270:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
  const rtems_bdpart_partition *pt,                                   
  size_t count                                                        
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_status_code esc = RTEMS_SUCCESSFUL;                           
 2028274:	10 bf ff 24 	b  2027f04 <rtems_bdpart_write+0x148>          
 2028278:	b0 10 20 00 	clr  %i0                                       
                                                                      

02003b84 <rtems_blkdev_create_partition>: const char *partition, const char *device, rtems_blkdev_bnum block_begin, rtems_blkdev_bnum block_count ) {
 2003b84:	9d e3 bf 50 	save  %sp, -176, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  int fd = open(device, O_RDWR);                                      
 2003b88:	92 10 20 02 	mov  2, %o1                                    
 2003b8c:	90 10 00 19 	mov  %i1, %o0                                  
 2003b90:	40 00 0a 5b 	call  20064fc <open>                           
 2003b94:	b8 10 00 18 	mov  %i0, %i4                                  
                                                                      
    if (sc != RTEMS_SUCCESSFUL) {                                     
      close(fd);                                                      
    }                                                                 
  } else {                                                            
    sc = RTEMS_INVALID_ID;                                            
 2003b98:	b0 10 20 04 	mov  4, %i0                                    
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  int fd = open(device, O_RDWR);                                      
                                                                      
  if (fd >= 0) {                                                      
 2003b9c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003ba0:	06 80 00 0a 	bl  2003bc8 <rtems_blkdev_create_partition+0x44>
 2003ba4:	ba 10 00 08 	mov  %o0, %i5                                  
    int rv;                                                           
    struct stat st;                                                   
                                                                      
    rv = fstat(fd, &st);                                              
 2003ba8:	40 00 06 9b 	call  2005614 <fstat>                          
 2003bac:	92 07 bf b8 	add  %fp, -72, %o1                             
    if (rv == 0 && S_ISBLK(st.st_mode)) {                             
 2003bb0:	80 a2 20 00 	cmp  %o0, 0                                    
 2003bb4:	02 80 00 07 	be  2003bd0 <rtems_blkdev_create_partition+0x4c><== ALWAYS TAKEN
 2003bb8:	f2 07 bf c4 	ld  [ %fp + -60 ], %i1                         
 2003bbc:	b0 10 20 15 	mov  0x15, %i0                                 <== NOT EXECUTED
    } else {                                                          
      sc = RTEMS_INVALID_NODE;                                        
    }                                                                 
                                                                      
    if (sc != RTEMS_SUCCESSFUL) {                                     
      close(fd);                                                      
 2003bc0:	40 00 05 ae 	call  2005278 <close>                          
 2003bc4:	90 10 00 1d 	mov  %i5, %o0                                  
 2003bc8:	81 c7 e0 08 	ret                                            
 2003bcc:	81 e8 00 00 	restore                                        
  if (fd >= 0) {                                                      
    int rv;                                                           
    struct stat st;                                                   
                                                                      
    rv = fstat(fd, &st);                                              
    if (rv == 0 && S_ISBLK(st.st_mode)) {                             
 2003bd0:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2003bd4:	b2 0e 40 01 	and  %i1, %g1, %i1                             
 2003bd8:	03 00 00 18 	sethi  %hi(0x6000), %g1                        
 2003bdc:	80 a6 40 01 	cmp  %i1, %g1                                  
 2003be0:	12 bf ff f8 	bne  2003bc0 <rtems_blkdev_create_partition+0x3c>
 2003be4:	b0 10 20 15 	mov  0x15, %i0                                 
static inline int rtems_disk_fd_get_disk_device(                      
  int fd,                                                             
  rtems_disk_device **dd_ptr                                          
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETDISKDEV, dd_ptr);                   
 2003be8:	90 10 00 1d 	mov  %i5, %o0                                  
 2003bec:	94 07 bf b4 	add  %fp, -76, %o2                             
 2003bf0:	13 10 01 10 	sethi  %hi(0x40044000), %o1                    
          }                                                           
        } else {                                                      
          sc = RTEMS_NO_MEMORY;                                       
        }                                                             
      } else {                                                        
        sc = RTEMS_NOT_IMPLEMENTED;                                   
 2003bf4:	b0 10 20 18 	mov  0x18, %i0                                 
 2003bf8:	40 00 06 e1 	call  200577c <ioctl>                          
 2003bfc:	92 12 62 09 	or  %o1, 0x209, %o1                            
    rv = fstat(fd, &st);                                              
    if (rv == 0 && S_ISBLK(st.st_mode)) {                             
      rtems_disk_device *phys_dd;                                     
                                                                      
      rv = rtems_disk_fd_get_disk_device(fd, &phys_dd);               
      if (rv == 0) {                                                  
 2003c00:	80 a2 20 00 	cmp  %o0, 0                                    
 2003c04:	12 bf ff ef 	bne  2003bc0 <rtems_blkdev_create_partition+0x3c>
 2003c08:	01 00 00 00 	nop                                            
        rtems_blkdev_imfs_context *ctx = malloc(sizeof(*ctx));        
 2003c0c:	40 00 08 0f 	call  2005c48 <malloc>                         
 2003c10:	90 10 20 80 	mov  0x80, %o0	! 80 <PROM_START+0x80>          
                                                                      
        if (ctx != NULL) {                                            
 2003c14:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2003c18:	02 80 00 17 	be  2003c74 <rtems_blkdev_create_partition+0xf0>
 2003c1c:	d2 07 bf b4 	ld  [ %fp + -76 ], %o1                         
          sc = rtems_disk_init_log(                                   
 2003c20:	94 10 00 1a 	mov  %i2, %o2                                  
 2003c24:	40 00 00 96 	call  2003e7c <rtems_disk_init_log>            
 2003c28:	96 10 00 1b 	mov  %i3, %o3                                  
            phys_dd,                                                  
            block_begin,                                              
            block_count                                               
          );                                                          
                                                                      
          if (sc == RTEMS_SUCCESSFUL) {                               
 2003c2c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2003c30:	12 80 00 0e 	bne  2003c68 <rtems_blkdev_create_partition+0xe4>
 2003c34:	90 10 00 1c 	mov  %i4, %o0                                  
            ctx->fd = fd;                                             
 2003c38:	fa 24 20 78 	st  %i5, [ %l0 + 0x78 ]                        
                                                                      
            rv = IMFS_make_generic_node(                              
 2003c3c:	92 16 61 ff 	or  %i1, 0x1ff, %o1                            
 2003c40:	96 10 00 10 	mov  %l0, %o3                                  
 2003c44:	15 00 80 82 	sethi  %hi(0x2020800), %o2                     
 2003c48:	40 00 03 ca 	call  2004b70 <IMFS_make_generic_node>         
 2003c4c:	94 12 a2 78 	or  %o2, 0x278, %o2	! 2020a78 <rtems_blkdev_imfs_control>
              S_IFBLK | S_IRWXU | S_IRWXG | S_IRWXO,                  
              &rtems_blkdev_imfs_control,                             
              ctx                                                     
            );                                                        
                                                                      
            if (rv != 0) {                                            
 2003c50:	80 a2 20 00 	cmp  %o0, 0                                    
 2003c54:	02 bf ff dd 	be  2003bc8 <rtems_blkdev_create_partition+0x44>
 2003c58:	90 10 00 10 	mov  %l0, %o0                                  
              free(ctx);                                              
 2003c5c:	40 00 06 44 	call  200556c <free>                           
 2003c60:	b0 10 20 0d 	mov  0xd, %i0                                  
 2003c64:	30 bf ff d7 	b,a   2003bc0 <rtems_blkdev_create_partition+0x3c>
              sc = RTEMS_UNSATISFIED;                                 
            }                                                         
          } else {                                                    
            free(ctx);                                                
 2003c68:	40 00 06 41 	call  200556c <free>                           
 2003c6c:	90 10 00 10 	mov  %l0, %o0                                  
 2003c70:	30 bf ff d4 	b,a   2003bc0 <rtems_blkdev_create_partition+0x3c>
          }                                                           
        } else {                                                      
          sc = RTEMS_NO_MEMORY;                                       
 2003c74:	10 bf ff d3 	b  2003bc0 <rtems_blkdev_create_partition+0x3c>
 2003c78:	b0 10 20 1a 	mov  0x1a, %i0                                 
                                                                      

020100d8 <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) {
 20100d8:	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;                               
 20100dc:	c2 06 80 00 	ld  [ %i2 ], %g1                               
                                                                      
    if (args->command != RTEMS_BLKIO_REQUEST)                         
 20100e0:	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;                               
 20100e4:	d0 00 60 30 	ld  [ %g1 + 0x30 ], %o0                        
                                                                      
    if (args->command != RTEMS_BLKIO_REQUEST)                         
 20100e8:	03 30 06 10 	sethi  %hi(0xc0184000), %g1                    
 20100ec:	82 10 62 01 	or  %g1, 0x201, %g1	! c0184201 <RAM_END+0xbdd84201>
 20100f0:	80 a2 40 01 	cmp  %o1, %g1                                  
 20100f4:	12 80 00 05 	bne  2010108 <rtems_blkdev_generic_ioctl+0x30> <== ALWAYS TAKEN
 20100f8:	82 10 3f ff 	mov  -1, %g1                                   
    {                                                                 
        /*                                                            
         * It is not allowed to directly access the driver circumventing the
         * cache.                                                     
         */                                                           
        args->ioctl_return = -1;                                      
 20100fc:	c2 26 a0 0c 	st  %g1, [ %i2 + 0xc ]                         <== NOT EXECUTED
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
 2010100:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010104:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
    rtems_libio_t *iop = args->iop;                                   
    rtems_disk_device *dd = iop->data1;                               
                                                                      
    if (args->command != RTEMS_BLKIO_REQUEST)                         
    {                                                                 
        args->ioctl_return = dd->ioctl(dd,                            
 2010108:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 201010c:	d4 06 a0 08 	ld  [ %i2 + 8 ], %o2                           
 2010110:	9f c0 40 00 	call  %g1                                      
 2010114:	b0 10 20 00 	clr  %i0                                       
 2010118:	d0 26 a0 0c 	st  %o0, [ %i2 + 0xc ]                         
         */                                                           
        args->ioctl_return = -1;                                      
    }                                                                 
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
 201011c:	81 c7 e0 08 	ret                                            
 2010120:	81 e8 00 00 	restore                                        
                                                                      

0200fe94 <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) {
 200fe94:	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;                               
 200fe98:	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);
 200fe9c:	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;                               
 200fea0:	e4 00 60 30 	ld  [ %g1 + 0x30 ], %l2                        
    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);
 200fea4:	94 10 20 00 	clr  %o2                                       
{                                                                     
    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;                             
 200fea8:	e2 04 a0 24 	ld  [ %l2 + 0x24 ], %l1                        
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200feac:	90 10 00 1c 	mov  %i4, %o0                                  
 200feb0:	96 10 00 11 	mov  %l1, %o3                                  
    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;                                     
 200feb4:	f6 06 a0 14 	ld  [ %i2 + 0x14 ], %i3                        
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200feb8:	40 00 38 5c 	call  201e028 <__divdi3>                       
 200febc:	92 10 00 1d 	mov  %i5, %o1                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200fec0:	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);
 200fec4:	b2 10 00 09 	mov  %o1, %i1                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200fec8:	94 10 20 00 	clr  %o2                                       
 200fecc:	92 10 00 1d 	mov  %i5, %o1                                  
 200fed0:	40 00 39 41 	call  201e3d4 <__moddi3>                       
 200fed4:	96 10 00 11 	mov  %l1, %o3                                  
                                                                      
    args->bytes_moved = 0;                                            
 200fed8:	c0 26 a0 1c 	clr  [ %i2 + 0x1c ]                            
    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);         
 200fedc:	a0 10 00 09 	mov  %o1, %l0                                  
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
 200fee0:	80 a6 e0 00 	cmp  %i3, 0                                    
 200fee4:	12 80 00 1a 	bne  200ff4c <rtems_blkdev_generic_read+0xb8>  <== ALWAYS TAKEN
 200fee8:	f8 06 a0 10 	ld  [ %i2 + 0x10 ], %i4                        
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
 200feec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200fef0:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dd, block, &diskbuf);                   
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
        copy = block_size - blkofs;                                   
 200fef4:	ba 24 40 10 	sub  %l1, %l0, %i5                             
 200fef8:	80 a7 40 1b 	cmp  %i5, %i3                                  
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
 200fefc:	08 80 00 03 	bleu  200ff08 <rtems_blkdev_generic_read+0x74> <== ALWAYS TAKEN
 200ff00:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200ff04:	ba 10 00 1b 	mov  %i3, %i5                                  <== NOT EXECUTED
 200ff08:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        
 200ff0c:	94 10 00 1d 	mov  %i5, %o2                                  
 200ff10:	40 00 15 bf 	call  201560c <memcpy>                         
 200ff14:	92 02 40 10 	add  %o1, %l0, %o1                             
        rc = rtems_bdbuf_release(diskbuf);                            
 200ff18:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 200ff1c:	7f ff fd da 	call  200f684 <rtems_bdbuf_release>            
 200ff20:	b8 07 00 1d 	add  %i4, %i5, %i4                             
        args->bytes_moved += copy;                                    
 200ff24:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
            break;                                                    
        copy = block_size - blkofs;                                   
        if (copy > count)                                             
            copy = count;                                             
        memcpy(buf, (char *)diskbuf->buffer + blkofs, copy);          
        rc = rtems_bdbuf_release(diskbuf);                            
 200ff28:	b0 10 00 08 	mov  %o0, %i0                                  
        args->bytes_moved += copy;                                    
 200ff2c:	82 00 40 1d 	add  %g1, %i5, %g1                             
        if (rc != RTEMS_SUCCESSFUL)                                   
 200ff30:	80 a2 20 00 	cmp  %o0, 0                                    
 200ff34:	12 80 00 0e 	bne  200ff6c <rtems_blkdev_generic_read+0xd8>  <== NEVER TAKEN
 200ff38:	c2 26 a0 1c 	st  %g1, [ %i2 + 0x1c ]                        
            break;                                                    
        count -= copy;                                                
        buf += copy;                                                  
        blkofs = 0;                                                   
        block++;                                                      
 200ff3c:	b2 06 60 01 	inc  %i1                                       
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
 200ff40:	b6 a6 c0 1d 	subcc  %i3, %i5, %i3                           
 200ff44:	02 80 00 0c 	be  200ff74 <rtems_blkdev_generic_read+0xe0>   <== ALWAYS TAKEN
 200ff48:	a0 10 20 00 	clr  %l0                                       
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        rc = rtems_bdbuf_read(dd, block, &diskbuf);                   
 200ff4c:	92 10 00 19 	mov  %i1, %o1                                  
 200ff50:	94 07 bf fc 	add  %fp, -4, %o2                              
 200ff54:	7f ff fd 45 	call  200f468 <rtems_bdbuf_read>               
 200ff58:	90 10 00 12 	mov  %l2, %o0                                  
 200ff5c:	b0 10 00 08 	mov  %o0, %i0                                  
        if (rc != RTEMS_SUCCESSFUL)                                   
 200ff60:	80 a6 20 00 	cmp  %i0, 0                                    
 200ff64:	02 bf ff e4 	be  200fef4 <rtems_blkdev_generic_read+0x60>   <== ALWAYS TAKEN
 200ff68:	90 10 00 1c 	mov  %i4, %o0                                  
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 200ff6c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200ff70:	81 e8 00 00 	restore                                        <== NOT EXECUTED
rtems_blkdev_generic_read(                                            
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
 200ff74:	b0 10 20 00 	clr  %i0                                       
 200ff78:	81 c7 e0 08 	ret                                            
 200ff7c:	81 e8 00 00 	restore                                        
                                                                      

0200ff80 <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) {
 200ff80:	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;                               
 200ff84:	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);
 200ff88:	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;                               
 200ff8c:	e2 00 60 30 	ld  [ %g1 + 0x30 ], %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);
 200ff90:	94 10 20 00 	clr  %o2                                       
{                                                                     
    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;                             
 200ff94:	e0 04 60 24 	ld  [ %l1 + 0x24 ], %l0                        
    char *buf = args->buffer;                                         
    uint32_t count = args->count;                                     
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200ff98:	90 10 00 1c 	mov  %i4, %o0                                  
 200ff9c:	96 10 00 10 	mov  %l0, %o3                                  
    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;                                     
 200ffa0:	f6 06 a0 14 	ld  [ %i2 + 0x14 ], %i3                        
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
 200ffa4:	40 00 38 21 	call  201e028 <__divdi3>                       
 200ffa8:	92 10 00 1d 	mov  %i5, %o1                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200ffac:	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);
 200ffb0:	b0 10 00 09 	mov  %o1, %i0                                  
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
 200ffb4:	94 10 20 00 	clr  %o2                                       
 200ffb8:	92 10 00 1d 	mov  %i5, %o1                                  
 200ffbc:	40 00 39 06 	call  201e3d4 <__moddi3>                       
 200ffc0:	96 10 00 10 	mov  %l0, %o3                                  
                                                                      
    args->bytes_moved = 0;                                            
 200ffc4:	c0 26 a0 1c 	clr  [ %i2 + 0x1c ]                            
    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);         
 200ffc8:	b8 10 00 09 	mov  %o1, %i4                                  
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
 200ffcc:	80 a6 e0 00 	cmp  %i3, 0                                    
 200ffd0:	12 80 00 21 	bne  2010054 <rtems_blkdev_generic_write+0xd4> <== ALWAYS TAKEN
 200ffd4:	f2 06 a0 10 	ld  [ %i2 + 0x10 ], %i1                        
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
 200ffd8:	10 80 00 2c 	b  2010088 <rtems_blkdev_generic_write+0x108>  <== NOT EXECUTED
 200ffdc:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    while (count > 0)                                                 
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
 200ffe0:	12 80 00 21 	bne  2010064 <rtems_blkdev_generic_write+0xe4> <== NEVER TAKEN
 200ffe4:	92 10 00 18 	mov  %i0, %o1                                  
            rc = rtems_bdbuf_get(dd, block, &diskbuf);                
 200ffe8:	90 10 00 11 	mov  %l1, %o0                                  
 200ffec:	7f ff fc de 	call  200f364 <rtems_bdbuf_get>                
 200fff0:	94 07 bf fc 	add  %fp, -4, %o2                              
        else                                                          
            rc = rtems_bdbuf_read(dd, block, &diskbuf);               
        if (rc != RTEMS_SUCCESSFUL)                                   
 200fff4:	80 a2 20 00 	cmp  %o0, 0                                    
 200fff8:	12 80 00 21 	bne  201007c <rtems_blkdev_generic_write+0xfc> <== NEVER TAKEN
 200fffc:	92 10 00 19 	mov  %i1, %o1                                  
            break;                                                    
                                                                      
        copy = block_size - blkofs;                                   
 2010000:	ba 24 00 1c 	sub  %l0, %i4, %i5                             
 2010004:	80 a7 40 1b 	cmp  %i5, %i3                                  
        if (copy > count)                                             
            copy = count;                                             
        memcpy((char *)diskbuf->buffer + blkofs, buf, copy);          
 2010008:	08 80 00 03 	bleu  2010014 <rtems_blkdev_generic_write+0x94><== ALWAYS TAKEN
 201000c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2010010:	ba 10 00 1b 	mov  %i3, %i5                                  <== NOT EXECUTED
 2010014:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 2010018:	94 10 00 1d 	mov  %i5, %o2                                  
 201001c:	40 00 15 7c 	call  201560c <memcpy>                         
 2010020:	90 02 00 1c 	add  %o0, %i4, %o0                             
        args->bytes_moved += copy;                                    
 2010024:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
 2010028:	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;                                    
 201002c:	82 00 40 1d 	add  %g1, %i5, %g1                             
        rc = rtems_bdbuf_release_modified(diskbuf);                   
        if (rc != RTEMS_SUCCESSFUL)                                   
            break;                                                    
                                                                      
        count -= copy;                                                
        buf += copy;                                                  
 2010030:	b2 06 40 1d 	add  %i1, %i5, %i1                             
        if (copy > count)                                             
            copy = count;                                             
        memcpy((char *)diskbuf->buffer + blkofs, buf, copy);          
        args->bytes_moved += copy;                                    
                                                                      
        rc = rtems_bdbuf_release_modified(diskbuf);                   
 2010034:	7f ff fd cd 	call  200f768 <rtems_bdbuf_release_modified>   
 2010038:	c2 26 a0 1c 	st  %g1, [ %i2 + 0x1c ]                        
        if (rc != RTEMS_SUCCESSFUL)                                   
 201003c:	80 a2 20 00 	cmp  %o0, 0                                    
 2010040:	12 80 00 0f 	bne  201007c <rtems_blkdev_generic_write+0xfc> <== NEVER TAKEN
 2010044:	b6 a6 c0 1d 	subcc  %i3, %i5, %i3                           
            break;                                                    
                                                                      
        count -= copy;                                                
        buf += copy;                                                  
        blkofs = 0;                                                   
        block++;                                                      
 2010048:	b0 06 20 01 	inc  %i0                                       
    rtems_blkdev_bnum block = (rtems_blkdev_bnum) (args->offset / block_size);
    uint32_t blkofs = (uint32_t) (args->offset % block_size);         
                                                                      
    args->bytes_moved = 0;                                            
                                                                      
    while (count > 0)                                                 
 201004c:	02 80 00 0e 	be  2010084 <rtems_blkdev_generic_write+0x104> <== ALWAYS TAKEN
 2010050:	b8 10 20 00 	clr  %i4                                       
    {                                                                 
        rtems_bdbuf_buffer *diskbuf;                                  
        uint32_t            copy;                                     
                                                                      
        if ((blkofs == 0) && (count >= block_size))                   
 2010054:	80 a6 c0 10 	cmp  %i3, %l0                                  
 2010058:	1a bf ff e2 	bcc  200ffe0 <rtems_blkdev_generic_write+0x60> <== ALWAYS TAKEN
 201005c:	80 a7 20 00 	cmp  %i4, 0                                    
            rc = rtems_bdbuf_get(dd, block, &diskbuf);                
        else                                                          
            rc = rtems_bdbuf_read(dd, block, &diskbuf);               
 2010060:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 2010064:	94 07 bf fc 	add  %fp, -4, %o2                              <== NOT EXECUTED
 2010068:	7f ff fd 00 	call  200f468 <rtems_bdbuf_read>               <== NOT EXECUTED
 201006c:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
        if (rc != RTEMS_SUCCESSFUL)                                   
 2010070:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2010074:	02 bf ff e3 	be  2010000 <rtems_blkdev_generic_write+0x80>  <== NOT EXECUTED
 2010078:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 201007c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2010080:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
rtems_blkdev_generic_write(                                           
    rtems_device_major_number major __attribute__((unused)),          
    rtems_device_minor_number minor __attribute__((unused)),          
    void                    * arg)                                    
{                                                                     
    rtems_status_code rc = RTEMS_SUCCESSFUL;                          
 2010084:	90 10 20 00 	clr  %o0                                       
        blkofs = 0;                                                   
        block++;                                                      
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 2010088:	81 c7 e0 08 	ret                                            
 201008c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02003a60 <rtems_blkdev_imfs_fsync_or_fdatasync>: } static int rtems_blkdev_imfs_fsync_or_fdatasync( rtems_libio_t *iop ) {
 2003a60:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
 2003a64:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        <== NOT EXECUTED
  int rv = 0;                                                         
 2003a68:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
  rtems_disk_device *dd = &ctx->dd;                                   
  rtems_status_code sc = rtems_bdbuf_syncdev(dd);                     
 2003a6c:	40 00 32 af 	call  2010528 <rtems_bdbuf_syncdev>            <== NOT EXECUTED
 2003a70:	d0 00 60 50 	ld  [ %g1 + 0x50 ], %o0                        <== NOT EXECUTED
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003a74:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2003a78:	12 80 00 04 	bne  2003a88 <rtems_blkdev_imfs_fsync_or_fdatasync+0x28><== NOT EXECUTED
 2003a7c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 2003a80:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003a84:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
  rtems_disk_device *dd = &ctx->dd;                                   
  rtems_status_code sc = rtems_bdbuf_syncdev(dd);                     
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
    errno = EIO;                                                      
 2003a88:	40 00 46 33 	call  2015354 <__errno>                        <== NOT EXECUTED
 2003a8c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2003a90:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 2003a94:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 2003a98:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003a9c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02003aa0 <rtems_blkdev_imfs_ioctl>: static int rtems_blkdev_imfs_ioctl( rtems_libio_t *iop, uint32_t request, void *buffer ) {
 2003aa0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv = 0;                                                         
                                                                      
  if (request != RTEMS_BLKIO_REQUEST) {                               
 2003aa4:	03 30 06 10 	sethi  %hi(0xc0184000), %g1                    
 2003aa8:	82 10 62 01 	or  %g1, 0x201, %g1	! c0184201 <RAM_END+0xbdd84201>
 2003aac:	80 a6 40 01 	cmp  %i1, %g1                                  
 2003ab0:	02 80 00 09 	be  2003ad4 <rtems_blkdev_imfs_ioctl+0x34>     <== NEVER TAKEN
 2003ab4:	92 10 00 19 	mov  %i1, %o1                                  
 2003ab8:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 2003abc:	d0 00 60 50 	ld  [ %g1 + 0x50 ], %o0                        
    rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
    rtems_disk_device *dd = &ctx->dd;                                 
                                                                      
    rv = (*dd->ioctl)(dd, request, buffer);                           
 2003ac0:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 2003ac4:	9f c0 40 00 	call  %g1                                      
 2003ac8:	94 10 00 1a 	mov  %i2, %o2                                  
 2003acc:	81 c7 e0 08 	ret                                            
 2003ad0:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  } else {                                                            
    /*                                                                
     * It is not allowed to directly access the driver circumventing the cache.
     */                                                               
    errno = EINVAL;                                                   
 2003ad4:	40 00 46 20 	call  2015354 <__errno>                        <== NOT EXECUTED
 2003ad8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2003adc:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 2003ae0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 2003ae4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003ae8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020038d4 <rtems_blkdev_imfs_read>: static ssize_t rtems_blkdev_imfs_read( rtems_libio_t *iop, void *buffer, size_t count ) {
 20038d4:	9d e3 bf 98 	save  %sp, -104, %sp                           
 20038d8:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
  int rv;                                                             
  rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
  rtems_disk_device *dd = &ctx->dd;                                   
  ssize_t remaining = (ssize_t) count;                                
  off_t offset = iop->offset;                                         
 20038dc:	f8 1e 20 08 	ldd  [ %i0 + 8 ], %i4                          
 20038e0:	e2 00 60 50 	ld  [ %g1 + 0x50 ], %l1                        
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
 20038e4:	92 10 00 1d 	mov  %i5, %o1                                  
  int rv;                                                             
  rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
  rtems_disk_device *dd = &ctx->dd;                                   
  ssize_t remaining = (ssize_t) count;                                
  off_t offset = iop->offset;                                         
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
 20038e8:	e4 04 60 24 	ld  [ %l1 + 0x24 ], %l2                        
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
 20038ec:	90 10 00 1c 	mov  %i4, %o0                                  
 20038f0:	a1 3c a0 1f 	sra  %l2, 0x1f, %l0                            
 20038f4:	96 10 00 12 	mov  %l2, %o3                                  
 20038f8:	40 00 6b c6 	call  201e810 <__divdi3>                       
 20038fc:	94 10 00 10 	mov  %l0, %o2                                  
  ssize_t block_offset = (ssize_t) (offset % block_size);             
 2003900:	94 10 00 10 	mov  %l0, %o2                                  
  rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
  rtems_disk_device *dd = &ctx->dd;                                   
  ssize_t remaining = (ssize_t) count;                                
  off_t offset = iop->offset;                                         
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
 2003904:	b6 10 00 09 	mov  %o1, %i3                                  
  ssize_t block_offset = (ssize_t) (offset % block_size);             
 2003908:	90 10 00 1c 	mov  %i4, %o0                                  
 200390c:	92 10 00 1d 	mov  %i5, %o1                                  
 2003910:	40 00 6c ab 	call  201ebbc <__moddi3>                       
 2003914:	96 10 00 12 	mov  %l2, %o3                                  
  char *dst = buffer;                                                 
                                                                      
  while (remaining > 0) {                                             
 2003918:	ba 96 a0 00 	orcc  %i2, 0, %i5                              
 200391c:	04 80 00 23 	ble  20039a8 <rtems_blkdev_imfs_read+0xd4>     <== NEVER TAKEN
 2003920:	a0 10 00 09 	mov  %o1, %l0                                  
    rtems_bdbuf_buffer *bd;                                           
    rtems_status_code sc = rtems_bdbuf_read(dd, block, &bd);          
 2003924:	92 10 00 1b 	mov  %i3, %o1                                  
 2003928:	94 07 bf fc 	add  %fp, -4, %o2                              
 200392c:	40 00 31 c9 	call  2010050 <rtems_bdbuf_read>               
 2003930:	90 10 00 11 	mov  %l1, %o0                                  
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
 2003934:	80 a2 20 00 	cmp  %o0, 0                                    
 2003938:	02 80 00 09 	be  200395c <rtems_blkdev_imfs_read+0x88>      <== ALWAYS TAKEN
 200393c:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
 2003940:	40 00 46 85 	call  2015354 <__errno>                        <== NOT EXECUTED
 2003944:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rv = -1;                                                          
 2003948:	82 10 3f ff 	mov  -1, %g1	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
 200394c:	84 10 20 05 	mov  5, %g2                                    <== NOT EXECUTED
 2003950:	c4 22 00 00 	st  %g2, [ %o0 ]                               <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 2003954:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003958:	91 e8 00 01 	restore  %g0, %g1, %o0                         <== NOT EXECUTED
  while (remaining > 0) {                                             
    rtems_bdbuf_buffer *bd;                                           
    rtems_status_code sc = rtems_bdbuf_read(dd, block, &bd);          
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
      ssize_t copy = block_size - block_offset;                       
 200395c:	b8 24 80 10 	sub  %l2, %l0, %i4                             
 2003960:	80 a7 00 1d 	cmp  %i4, %i5                                  
                                                                      
      if (copy > remaining) {                                         
        copy = remaining;                                             
      }                                                               
                                                                      
      memcpy(dst, (char *) bd->buffer + block_offset, (size_t) copy); 
 2003964:	04 80 00 03 	ble  2003970 <rtems_blkdev_imfs_read+0x9c>     
 2003968:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200396c:	b8 10 00 1d 	mov  %i5, %i4                                  
 2003970:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        
 2003974:	94 10 00 1c 	mov  %i4, %o2                                  
 2003978:	40 00 48 e8 	call  2015d18 <memcpy>                         
 200397c:	92 02 40 10 	add  %o1, %l0, %o1                             
                                                                      
      sc = rtems_bdbuf_release(bd);                                   
 2003980:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 2003984:	40 00 32 3a 	call  201026c <rtems_bdbuf_release>            
 2003988:	ba 27 40 1c 	sub  %i5, %i4, %i5                             
      if (sc == RTEMS_SUCCESSFUL) {                                   
 200398c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003990:	12 bf ff ec 	bne  2003940 <rtems_blkdev_imfs_read+0x6c>     <== NEVER TAKEN
 2003994:	80 a7 60 00 	cmp  %i5, 0                                    
        block_offset = 0;                                             
        remaining -= copy;                                            
        dst += copy;                                                  
 2003998:	b2 06 40 1c 	add  %i1, %i4, %i1                             
        ++block;                                                      
 200399c:	b6 06 e0 01 	inc  %i3                                       
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
  ssize_t block_offset = (ssize_t) (offset % block_size);             
  char *dst = buffer;                                                 
                                                                      
  while (remaining > 0) {                                             
 20039a0:	14 bf ff e1 	bg  2003924 <rtems_blkdev_imfs_read+0x50>      
 20039a4:	a0 10 20 00 	clr  %l0                                       
    } else {                                                          
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
 20039a8:	80 a7 60 00 	cmp  %i5, 0                                    
 20039ac:	12 bf ff e5 	bne  2003940 <rtems_blkdev_imfs_read+0x6c>     <== NEVER TAKEN
 20039b0:	82 10 00 1a 	mov  %i2, %g1                                  
    iop->offset += count;                                             
 20039b4:	c4 1e 20 08 	ldd  [ %i0 + 8 ], %g2                          
 20039b8:	86 80 c0 1a 	addcc  %g3, %i2, %g3                           
 20039bc:	84 40 a0 00 	addx  %g2, 0, %g2                              
 20039c0:	c4 3e 20 08 	std  %g2, [ %i0 + 8 ]                          
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20039c4:	81 c7 e0 08 	ret                                            
 20039c8:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

020037a0 <rtems_blkdev_imfs_write>: static ssize_t rtems_blkdev_imfs_write( rtems_libio_t *iop, const void *buffer, size_t count ) {
 20037a0:	9d e3 bf 98 	save  %sp, -104, %sp                           
 20037a4:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
  int rv;                                                             
  rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
  rtems_disk_device *dd = &ctx->dd;                                   
  ssize_t remaining = (ssize_t) count;                                
  off_t offset = iop->offset;                                         
 20037a8:	f8 1e 20 08 	ldd  [ %i0 + 8 ], %i4                          
 20037ac:	e4 00 60 50 	ld  [ %g1 + 0x50 ], %l2                        
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
 20037b0:	92 10 00 1d 	mov  %i5, %o1                                  
  int rv;                                                             
  rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
  rtems_disk_device *dd = &ctx->dd;                                   
  ssize_t remaining = (ssize_t) count;                                
  off_t offset = iop->offset;                                         
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
 20037b4:	f6 04 a0 24 	ld  [ %l2 + 0x24 ], %i3                        
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
 20037b8:	90 10 00 1c 	mov  %i4, %o0                                  
 20037bc:	a1 3e e0 1f 	sra  %i3, 0x1f, %l0                            
 20037c0:	96 10 00 1b 	mov  %i3, %o3                                  
 20037c4:	40 00 6c 13 	call  201e810 <__divdi3>                       
 20037c8:	94 10 00 10 	mov  %l0, %o2                                  
  ssize_t block_offset = (ssize_t) (offset % block_size);             
 20037cc:	94 10 00 10 	mov  %l0, %o2                                  
  rtems_blkdev_imfs_context *ctx = IMFS_generic_get_context_by_iop(iop);
  rtems_disk_device *dd = &ctx->dd;                                   
  ssize_t remaining = (ssize_t) count;                                
  off_t offset = iop->offset;                                         
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
 20037d0:	a2 10 00 09 	mov  %o1, %l1                                  
  ssize_t block_offset = (ssize_t) (offset % block_size);             
 20037d4:	90 10 00 1c 	mov  %i4, %o0                                  
 20037d8:	92 10 00 1d 	mov  %i5, %o1                                  
 20037dc:	40 00 6c f8 	call  201ebbc <__moddi3>                       
 20037e0:	96 10 00 1b 	mov  %i3, %o3                                  
  const char *src = buffer;                                           
                                                                      
  while (remaining > 0) {                                             
 20037e4:	ba 96 a0 00 	orcc  %i2, 0, %i5                              
 20037e8:	04 80 00 2e 	ble  20038a0 <rtems_blkdev_imfs_write+0x100>   <== NEVER TAKEN
 20037ec:	a0 10 00 09 	mov  %o1, %l0                                  
    rtems_status_code sc;                                             
    rtems_bdbuf_buffer *bd;                                           
                                                                      
    if (block_offset == 0 && remaining >= block_size) {               
 20037f0:	80 a7 40 1b 	cmp  %i5, %i3                                  
 20037f4:	16 80 00 03 	bge  2003800 <rtems_blkdev_imfs_write+0x60>    
 20037f8:	82 10 20 01 	mov  1, %g1                                    
 20037fc:	82 10 20 00 	clr  %g1                                       
       sc = rtems_bdbuf_get(dd, block, &bd);                          
 2003800:	90 10 00 12 	mov  %l2, %o0                                  
 2003804:	92 10 00 11 	mov  %l1, %o1                                  
                                                                      
  while (remaining > 0) {                                             
    rtems_status_code sc;                                             
    rtems_bdbuf_buffer *bd;                                           
                                                                      
    if (block_offset == 0 && remaining >= block_size) {               
 2003808:	80 88 60 ff 	btst  0xff, %g1                                
 200380c:	02 80 00 2e 	be  20038c4 <rtems_blkdev_imfs_write+0x124>    
 2003810:	94 07 bf fc 	add  %fp, -4, %o2                              
 2003814:	80 a4 20 00 	cmp  %l0, 0                                    
 2003818:	12 80 00 2b 	bne  20038c4 <rtems_blkdev_imfs_write+0x124>   
 200381c:	01 00 00 00 	nop                                            
       sc = rtems_bdbuf_get(dd, block, &bd);                          
 2003820:	40 00 31 cb 	call  200ff4c <rtems_bdbuf_get>                
 2003824:	01 00 00 00 	nop                                            
    } else {                                                          
       sc = rtems_bdbuf_read(dd, block, &bd);                         
    }                                                                 
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
 2003828:	80 a2 20 00 	cmp  %o0, 0                                    
 200382c:	02 80 00 09 	be  2003850 <rtems_blkdev_imfs_write+0xb0>     <== ALWAYS TAKEN
 2003830:	b8 26 c0 10 	sub  %i3, %l0, %i4                             
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
 2003834:	40 00 46 c8 	call  2015354 <__errno>                        <== NOT EXECUTED
 2003838:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rv = -1;                                                          
 200383c:	82 10 3f ff 	mov  -1, %g1	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
                                                                      
  if (remaining >= 0) {                                               
    iop->offset += count;                                             
    rv = (ssize_t) count;                                             
  } else {                                                            
    errno = EIO;                                                      
 2003840:	84 10 20 05 	mov  5, %g2                                    <== NOT EXECUTED
 2003844:	c4 22 00 00 	st  %g2, [ %o0 ]                               <== NOT EXECUTED
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 2003848:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200384c:	91 e8 00 01 	restore  %g0, %g1, %o0                         <== NOT EXECUTED
 2003850:	80 a7 00 1d 	cmp  %i4, %i5                                  
 2003854:	34 80 00 02 	bg,a   200385c <rtems_blkdev_imfs_write+0xbc>  
 2003858:	b8 10 00 1d 	mov  %i5, %i4                                  
                                                                      
      if (copy > remaining) {                                         
        copy = remaining;                                             
      }                                                               
                                                                      
      memcpy((char *) bd->buffer + block_offset, src, (size_t) copy); 
 200385c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2003860:	92 10 00 19 	mov  %i1, %o1                                  
 2003864:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 2003868:	94 10 00 1c 	mov  %i4, %o2                                  
 200386c:	40 00 49 2b 	call  2015d18 <memcpy>                         
 2003870:	90 02 00 10 	add  %o0, %l0, %o0                             
                                                                      
      sc = rtems_bdbuf_release_modified(bd);                          
 2003874:	40 00 32 b7 	call  2010350 <rtems_bdbuf_release_modified>   
 2003878:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
      if (sc == RTEMS_SUCCESSFUL) {                                   
 200387c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003880:	12 bf ff ed 	bne  2003834 <rtems_blkdev_imfs_write+0x94>    <== NEVER TAKEN
 2003884:	01 00 00 00 	nop                                            
        block_offset = 0;                                             
        remaining -= copy;                                            
 2003888:	ba 27 40 1c 	sub  %i5, %i4, %i5                             
        src += copy;                                                  
 200388c:	b2 06 40 1c 	add  %i1, %i4, %i1                             
        ++block;                                                      
 2003890:	a2 04 60 01 	inc  %l1                                       
  ssize_t block_size = (ssize_t) rtems_disk_get_block_size(dd);       
  rtems_blkdev_bnum block = (rtems_blkdev_bnum) (offset / block_size);
  ssize_t block_offset = (ssize_t) (offset % block_size);             
  const char *src = buffer;                                           
                                                                      
  while (remaining > 0) {                                             
 2003894:	80 a7 60 00 	cmp  %i5, 0                                    
 2003898:	14 bf ff d6 	bg  20037f0 <rtems_blkdev_imfs_write+0x50>     
 200389c:	a0 10 20 00 	clr  %l0                                       
    } else {                                                          
      remaining = -1;                                                 
    }                                                                 
  }                                                                   
                                                                      
  if (remaining >= 0) {                                               
 20038a0:	80 a7 60 00 	cmp  %i5, 0                                    
 20038a4:	12 bf ff e4 	bne  2003834 <rtems_blkdev_imfs_write+0x94>    <== NEVER TAKEN
 20038a8:	82 10 00 1a 	mov  %i2, %g1                                  
    iop->offset += count;                                             
 20038ac:	c4 1e 20 08 	ldd  [ %i0 + 8 ], %g2                          
 20038b0:	86 80 c0 1a 	addcc  %g3, %i2, %g3                           
 20038b4:	84 40 a0 00 	addx  %g2, 0, %g2                              
 20038b8:	c4 3e 20 08 	std  %g2, [ %i0 + 8 ]                          
    errno = EIO;                                                      
    rv = -1;                                                          
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20038bc:	81 c7 e0 08 	ret                                            
 20038c0:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    rtems_bdbuf_buffer *bd;                                           
                                                                      
    if (block_offset == 0 && remaining >= block_size) {               
       sc = rtems_bdbuf_get(dd, block, &bd);                          
    } else {                                                          
       sc = rtems_bdbuf_read(dd, block, &bd);                         
 20038c4:	40 00 31 e3 	call  2010050 <rtems_bdbuf_read>               
 20038c8:	01 00 00 00 	nop                                            
    }                                                                 
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
 20038cc:	10 bf ff d8 	b  200382c <rtems_blkdev_imfs_write+0x8c>      
 20038d0:	80 a2 20 00 	cmp  %o0, 0                                    
                                                                      

0200fd24 <rtems_blkdev_ioctl>: #include <rtems/blkdev.h> #include <rtems/bdbuf.h> int rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp) {
 200fd24:	9d e3 bf a0 	save  %sp, -96, %sp                            
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
 200fd28:	05 10 01 10 	sethi  %hi(0x40044000), %g2                    
 200fd2c:	82 10 a2 03 	or  %g2, 0x203, %g1	! 40044203 <RAM_END+0x3dc44203>
 200fd30:	80 a6 40 01 	cmp  %i1, %g1                                  
 200fd34:	22 80 00 55 	be,a   200fe88 <rtems_blkdev_ioctl+0x164>      
 200fd38:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 200fd3c:	08 80 00 1c 	bleu  200fdac <rtems_blkdev_ioctl+0x88>        
 200fd40:	03 08 00 10 	sethi  %hi(0x20004000), %g1                    
 200fd44:	82 10 a2 09 	or  %g2, 0x209, %g1                            
 200fd48:	80 a6 40 01 	cmp  %i1, %g1                                  
 200fd4c:	22 80 00 3c 	be,a   200fe3c <rtems_blkdev_ioctl+0x118>      
 200fd50:	f0 26 80 00 	st  %i0, [ %i2 ]                               
 200fd54:	28 80 00 27 	bleu,a   200fdf0 <rtems_blkdev_ioctl+0xcc>     
 200fd58:	84 10 a2 05 	or  %g2, 0x205, %g2                            
 200fd5c:	84 10 a2 0b 	or  %g2, 0x20b, %g2                            
 200fd60:	80 a6 40 02 	cmp  %i1, %g2                                  
 200fd64:	02 80 00 3f 	be  200fe60 <rtems_blkdev_ioctl+0x13c>         <== NEVER TAKEN
 200fd68:	03 20 01 10 	sethi  %hi(0x80044000), %g1                    
 200fd6c:	82 10 62 04 	or  %g1, 0x204, %g1	! 80044204 <RAM_END+0x7dc44204>
 200fd70:	80 a6 40 01 	cmp  %i1, %g1                                  
 200fd74:	12 80 00 22 	bne  200fdfc <rtems_blkdev_ioctl+0xd8>         <== NEVER TAKEN
 200fd78:	01 00 00 00 	nop                                            
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *(uint32_t *) argp = dd->block_size;                      
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SETBLKSIZE:                                  
            sc = rtems_bdbuf_set_block_size(dd, *(uint32_t *) argp);  
 200fd7c:	d2 06 80 00 	ld  [ %i2 ], %o1                               
 200fd80:	7f ff ff 87 	call  200fb9c <rtems_bdbuf_set_block_size>     
 200fd84:	90 10 00 18 	mov  %i0, %o0                                  
            if (sc != RTEMS_SUCCESSFUL) {                             
 200fd88:	80 a2 20 00 	cmp  %o0, 0                                    
 200fd8c:	02 80 00 2a 	be  200fe34 <rtems_blkdev_ioctl+0x110>         <== ALWAYS TAKEN
 200fd90:	01 00 00 00 	nop                                            
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SYNCDEV:                                     
            sc = rtems_bdbuf_syncdev(dd);                             
            if (sc != RTEMS_SUCCESSFUL) {                             
                errno = EIO;                                          
 200fd94:	40 00 13 d7 	call  2014cf0 <__errno>                        <== NOT EXECUTED
 200fd98:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 200fd9c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 200fda0:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 200fda4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200fda8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
 200fdac:	86 10 62 0a 	or  %g1, 0x20a, %g3                            
 200fdb0:	80 a6 40 03 	cmp  %i1, %g3                                  
 200fdb4:	02 80 00 31 	be  200fe78 <rtems_blkdev_ioctl+0x154>         
 200fdb8:	90 10 00 18 	mov  %i0, %o0                                  
 200fdbc:	28 80 00 16 	bleu,a   200fe14 <rtems_blkdev_ioctl+0xf0>     
 200fdc0:	82 10 62 06 	or  %g1, 0x206, %g1                            
 200fdc4:	82 10 62 0c 	or  %g1, 0x20c, %g1                            
 200fdc8:	80 a6 40 01 	cmp  %i1, %g1                                  
 200fdcc:	02 80 00 21 	be  200fe50 <rtems_blkdev_ioctl+0x12c>         <== NEVER TAKEN
 200fdd0:	84 10 a2 02 	or  %g2, 0x202, %g2                            
 200fdd4:	80 a6 40 02 	cmp  %i1, %g2                                  
 200fdd8:	12 80 00 09 	bne  200fdfc <rtems_blkdev_ioctl+0xd8>         <== NEVER TAKEN
 200fddc:	01 00 00 00 	nop                                            
    {                                                                 
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *(uint32_t *) argp = dd->media_block_size;                
 200fde0:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 200fde4:	c2 26 80 00 	st  %g1, [ %i2 ]                               
            break;                                                    
 200fde8:	81 c7 e0 08 	ret                                            
 200fdec:	91 e8 20 00 	restore  %g0, 0, %o0                           
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
 200fdf0:	80 a6 40 02 	cmp  %i1, %g2                                  
 200fdf4:	22 80 00 14 	be,a   200fe44 <rtems_blkdev_ioctl+0x120>      <== ALWAYS TAKEN
 200fdf8:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
        case RTEMS_BLKIO_RESETDEVSTATS:                               
            rtems_bdbuf_reset_device_stats(dd);                       
            break;                                                    
                                                                      
        default:                                                      
            errno = EINVAL;                                           
 200fdfc:	40 00 13 bd 	call  2014cf0 <__errno>                        
 200fe00:	b0 10 3f ff 	mov  -1, %i0                                   
 200fe04:	82 10 20 16 	mov  0x16, %g1                                 
 200fe08:	c2 22 00 00 	st  %g1, [ %o0 ]                               
            rc = -1;                                                  
            break;                                                    
    }                                                                 
                                                                      
    return rc;                                                        
}                                                                     
 200fe0c:	81 c7 e0 08 	ret                                            
 200fe10:	81 e8 00 00 	restore                                        
rtems_blkdev_ioctl(rtems_disk_device *dd, uint32_t req, void *argp)   
{                                                                     
    rtems_status_code  sc;                                            
    int                rc = 0;                                        
                                                                      
    switch (req)                                                      
 200fe14:	80 a6 40 01 	cmp  %i1, %g1                                  
 200fe18:	12 bf ff f9 	bne  200fdfc <rtems_blkdev_ioctl+0xd8>         
 200fe1c:	01 00 00 00 	nop                                            
        case RTEMS_BLKIO_GETSIZE:                                     
            *(rtems_blkdev_bnum *) argp = dd->size;                   
            break;                                                    
                                                                      
        case RTEMS_BLKIO_SYNCDEV:                                     
            sc = rtems_bdbuf_syncdev(dd);                             
 200fe20:	7f ff fe c8 	call  200f940 <rtems_bdbuf_syncdev>            
 200fe24:	90 10 00 18 	mov  %i0, %o0                                  
            if (sc != RTEMS_SUCCESSFUL) {                             
 200fe28:	80 a2 20 00 	cmp  %o0, 0                                    
 200fe2c:	12 bf ff da 	bne  200fd94 <rtems_blkdev_ioctl+0x70>         <== NEVER TAKEN
 200fe30:	01 00 00 00 	nop                                            
            }                                                         
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETDISKDEV:                                  
            *(rtems_disk_device **) argp = dd;                        
            break;                                                    
 200fe34:	81 c7 e0 08 	ret                                            
 200fe38:	91 e8 20 00 	restore  %g0, 0, %o0                           
 200fe3c:	81 c7 e0 08 	ret                                            
 200fe40:	91 e8 20 00 	restore  %g0, 0, %o0                           
                rc = -1;                                              
            }                                                         
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETSIZE:                                     
            *(rtems_blkdev_bnum *) argp = dd->size;                   
 200fe44:	c2 26 80 00 	st  %g1, [ %i2 ]                               
            break;                                                    
 200fe48:	81 c7 e0 08 	ret                                            
 200fe4c:	91 e8 20 00 	restore  %g0, 0, %o0                           
        case RTEMS_BLKIO_GETDEVSTATS:                                 
            rtems_bdbuf_get_device_stats(dd, (rtems_blkdev_stats *) argp);
            break;                                                    
                                                                      
        case RTEMS_BLKIO_RESETDEVSTATS:                               
            rtems_bdbuf_reset_device_stats(dd);                       
 200fe50:	7f ff ff ac 	call  200fd00 <rtems_bdbuf_reset_device_stats> <== NOT EXECUTED
 200fe54:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
            break;                                                    
 200fe58:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200fe5c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        case RTEMS_BLKIO_PURGEDEV:                                    
            rtems_bdbuf_purge_dev(dd);                                
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETDEVSTATS:                                 
            rtems_bdbuf_get_device_stats(dd, (rtems_blkdev_stats *) argp);
 200fe60:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 200fe64:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 200fe68:	7f ff ff 9d 	call  200fcdc <rtems_bdbuf_get_device_stats>   <== NOT EXECUTED
 200fe6c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
            break;                                                    
 200fe70:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200fe74:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        case RTEMS_BLKIO_GETDISKDEV:                                  
            *(rtems_disk_device **) argp = dd;                        
            break;                                                    
                                                                      
        case RTEMS_BLKIO_PURGEDEV:                                    
            rtems_bdbuf_purge_dev(dd);                                
 200fe78:	7f ff fe ca 	call  200f9a0 <rtems_bdbuf_purge_dev>          
 200fe7c:	b0 10 20 00 	clr  %i0                                       
            break;                                                    
 200fe80:	81 c7 e0 08 	ret                                            
 200fe84:	81 e8 00 00 	restore                                        
        case RTEMS_BLKIO_GETMEDIABLKSIZE:                             
            *(uint32_t *) argp = dd->media_block_size;                
            break;                                                    
                                                                      
        case RTEMS_BLKIO_GETBLKSIZE:                                  
            *(uint32_t *) argp = dd->block_size;                      
 200fe88:	c2 26 80 00 	st  %g1, [ %i2 ]                               
            break;                                                    
 200fe8c:	81 c7 e0 08 	ret                                            
 200fe90:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

0202827c <rtems_blkstats>: #include <fcntl.h> #include <unistd.h> #include <errno.h> void rtems_blkstats(FILE *output, const char *device, bool reset) {
 202827c:	9d e3 bf 38 	save  %sp, -200, %sp                           <== NOT EXECUTED
  int fd = open(device, O_RDONLY);                                    
 2028280:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2028284:	7f ff 87 f1 	call  200a248 <open>                           <== NOT EXECUTED
 2028288:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
                                                                      
  if (fd >= 0) {                                                      
 202828c:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2028290:	06 80 00 33 	bl  202835c <rtems_blkstats+0xe0>              <== NOT EXECUTED
 2028294:	01 00 00 00 	nop                                            <== NOT EXECUTED
    struct stat st;                                                   
    int rv;                                                           
                                                                      
    rv = fstat(fd, &st);                                              
 2028298:	40 00 0e 09 	call  202babc <fstat>                          <== NOT EXECUTED
 202829c:	92 07 bf b8 	add  %fp, -72, %o1                             <== NOT EXECUTED
    if (rv == 0) {                                                    
 20282a0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20282a4:	12 80 00 39 	bne  2028388 <rtems_blkstats+0x10c>            <== NOT EXECUTED
 20282a8:	c4 07 bf c4 	ld  [ %fp + -60 ], %g2                         <== NOT EXECUTED
      if (S_ISBLK(st.st_mode)) {                                      
 20282ac:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        <== NOT EXECUTED
 20282b0:	84 08 80 01 	and  %g2, %g1, %g2                             <== NOT EXECUTED
 20282b4:	03 00 00 18 	sethi  %hi(0x6000), %g1                        <== NOT EXECUTED
 20282b8:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 20282bc:	02 80 00 19 	be  2028320 <rtems_blkstats+0xa4>              <== NOT EXECUTED
 20282c0:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
          } else {                                                    
            fprintf(output, "error: get stats: %s\n", strerror(errno));
          }                                                           
        }                                                             
      } else {                                                        
        fprintf(output, "error: not a block device\n");               
 20282c4:	11 00 81 a8 	sethi  %hi(0x206a000), %o0                     <== NOT EXECUTED
 20282c8:	90 12 21 e0 	or  %o0, 0x1e0, %o0	! 206a1e0 <RTEMS_BDPART_MBR_MASTER_TYPE+0x40><== NOT EXECUTED
 20282cc:	94 10 20 1a 	mov  0x1a, %o2                                 <== NOT EXECUTED
 20282d0:	40 00 88 fd 	call  204a6c4 <fwrite>                         <== NOT EXECUTED
 20282d4:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
      }                                                               
    } else {                                                          
      fprintf(output, "error: get file stats: %s\n", strerror(errno));
    }                                                                 
                                                                      
    rv = close(fd);                                                   
 20282d8:	7f ff 83 50 	call  2009018 <close>                          <== NOT EXECUTED
 20282dc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    if (rv != 0) {                                                    
 20282e0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20282e4:	12 80 00 04 	bne  20282f4 <rtems_blkstats+0x78>             <== NOT EXECUTED
 20282e8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20282ec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20282f0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      fprintf(output, "error: close device: %s\n", strerror(errno));  
 20282f4:	40 00 81 85 	call  2048908 <__errno>                        <== NOT EXECUTED
 20282f8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20282fc:	40 00 9d 1b 	call  204f768 <strerror>                       <== NOT EXECUTED
 2028300:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 2028304:	13 00 81 a8 	sethi  %hi(0x206a000), %o1                     <== NOT EXECUTED
 2028308:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 202830c:	92 12 62 20 	or  %o1, 0x220, %o1                            <== NOT EXECUTED
 2028310:	40 00 84 37 	call  20493ec <fprintf>                        <== NOT EXECUTED
 2028314:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2028318:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202831c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    int rv;                                                           
                                                                      
    rv = fstat(fd, &st);                                              
    if (rv == 0) {                                                    
      if (S_ISBLK(st.st_mode)) {                                      
        if (reset) {                                                  
 2028320:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 2028324:	12 80 00 23 	bne  20283b0 <rtems_blkstats+0x134>            <== NOT EXECUTED
 2028328:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
static inline int rtems_disk_fd_get_device_stats(                     
  int fd,                                                             
  rtems_blkdev_stats *stats                                           
)                                                                     
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_GETDEVSTATS, stats);                   
 202832c:	94 07 bf 98 	add  %fp, -104, %o2                            <== NOT EXECUTED
 2028330:	13 10 01 10 	sethi  %hi(0x40044000), %o1                    <== NOT EXECUTED
 2028334:	7f ff 84 4e 	call  200946c <ioctl>                          <== NOT EXECUTED
 2028338:	92 12 62 0b 	or  %o1, 0x20b, %o1	! 4004420b <RAM_END+0x3dc4420b><== NOT EXECUTED
          }                                                           
        } else {                                                      
          rtems_blkdev_stats stats;                                   
                                                                      
          rv = rtems_disk_fd_get_device_stats(fd, &stats);            
          if (rv == 0) {                                              
 202833c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2028340:	12 80 00 2c 	bne  20283f0 <rtems_blkstats+0x174>            <== NOT EXECUTED
 2028344:	13 00 81 24 	sethi  %hi(0x2049000), %o1                     <== NOT EXECUTED
            rtems_blkdev_print_stats(                                 
 2028348:	90 07 bf 98 	add  %fp, -104, %o0                            <== NOT EXECUTED
 202834c:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
 2028350:	40 00 00 8e 	call  2028588 <rtems_blkdev_print_stats>       <== NOT EXECUTED
 2028354:	92 12 63 ec 	or  %o1, 0x3ec, %o1                            <== NOT EXECUTED
 2028358:	30 bf ff e0 	b,a   20282d8 <rtems_blkstats+0x5c>            <== NOT EXECUTED
    rv = close(fd);                                                   
    if (rv != 0) {                                                    
      fprintf(output, "error: close device: %s\n", strerror(errno));  
    }                                                                 
  } else {                                                            
    fprintf(output, "error: open device: %s\n", strerror(errno));     
 202835c:	40 00 81 6b 	call  2048908 <__errno>                        <== NOT EXECUTED
 2028360:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2028364:	40 00 9d 01 	call  204f768 <strerror>                       <== NOT EXECUTED
 2028368:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 202836c:	13 00 81 a8 	sethi  %hi(0x206a000), %o1                     <== NOT EXECUTED
 2028370:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2028374:	92 12 62 40 	or  %o1, 0x240, %o1                            <== NOT EXECUTED
 2028378:	40 00 84 1d 	call  20493ec <fprintf>                        <== NOT EXECUTED
 202837c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2028380:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2028384:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        }                                                             
      } else {                                                        
        fprintf(output, "error: not a block device\n");               
      }                                                               
    } else {                                                          
      fprintf(output, "error: get file stats: %s\n", strerror(errno));
 2028388:	40 00 81 60 	call  2048908 <__errno>                        <== NOT EXECUTED
 202838c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2028390:	40 00 9c f6 	call  204f768 <strerror>                       <== NOT EXECUTED
 2028394:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 2028398:	13 00 81 a8 	sethi  %hi(0x206a000), %o1                     <== NOT EXECUTED
 202839c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 20283a0:	92 12 62 00 	or  %o1, 0x200, %o1                            <== NOT EXECUTED
 20283a4:	40 00 84 12 	call  20493ec <fprintf>                        <== NOT EXECUTED
 20283a8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20283ac:	30 bf ff cb 	b,a   20282d8 <rtems_blkstats+0x5c>            <== NOT EXECUTED
}                                                                     
                                                                      
static inline int rtems_disk_fd_reset_device_stats(int fd)            
{                                                                     
  return ioctl(fd, RTEMS_BLKIO_RESETDEVSTATS);                        
 20283b0:	13 08 00 10 	sethi  %hi(0x20004000), %o1                    <== NOT EXECUTED
 20283b4:	7f ff 84 2e 	call  200946c <ioctl>                          <== NOT EXECUTED
 20283b8:	92 12 62 0c 	or  %o1, 0x20c, %o1	! 2000420c <RAM_END+0x1dc0420c><== NOT EXECUTED
    rv = fstat(fd, &st);                                              
    if (rv == 0) {                                                    
      if (S_ISBLK(st.st_mode)) {                                      
        if (reset) {                                                  
          rv = rtems_disk_fd_reset_device_stats(fd);                  
          if (rv != 0) {                                              
 20283bc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20283c0:	02 bf ff c6 	be  20282d8 <rtems_blkstats+0x5c>              <== NOT EXECUTED
 20283c4:	01 00 00 00 	nop                                            <== NOT EXECUTED
            fprintf(output, "error: reset stats: %s\n", strerror(errno));
 20283c8:	40 00 81 50 	call  2048908 <__errno>                        <== NOT EXECUTED
 20283cc:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20283d0:	40 00 9c e6 	call  204f768 <strerror>                       <== NOT EXECUTED
 20283d4:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 20283d8:	13 00 81 a8 	sethi  %hi(0x206a000), %o1                     <== NOT EXECUTED
 20283dc:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 20283e0:	92 12 61 b0 	or  %o1, 0x1b0, %o1                            <== NOT EXECUTED
 20283e4:	40 00 84 02 	call  20493ec <fprintf>                        <== NOT EXECUTED
 20283e8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20283ec:	30 bf ff bb 	b,a   20282d8 <rtems_blkstats+0x5c>            <== NOT EXECUTED
              &stats,                                                 
              (rtems_printk_plugin_t) fprintf,                        
              output                                                  
            );                                                        
          } else {                                                    
            fprintf(output, "error: get stats: %s\n", strerror(errno));
 20283f0:	40 00 81 46 	call  2048908 <__errno>                        <== NOT EXECUTED
 20283f4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20283f8:	40 00 9c dc 	call  204f768 <strerror>                       <== NOT EXECUTED
 20283fc:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 2028400:	13 00 81 a8 	sethi  %hi(0x206a000), %o1                     <== NOT EXECUTED
 2028404:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2028408:	92 12 61 c8 	or  %o1, 0x1c8, %o1                            <== NOT EXECUTED
 202840c:	40 00 83 f8 	call  20493ec <fprintf>                        <== NOT EXECUTED
 2028410:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2028414:	30 bf ff b1 	b,a   20282d8 <rtems_blkstats+0x5c>            <== NOT EXECUTED
                                                                      

020030a8 <rtems_bsp_cmdline_get_param>: const char *rtems_bsp_cmdline_get_param( const char *name, char *value, size_t length ) {
 20030a8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
 20030ac:	80 a6 20 00 	cmp  %i0, 0                                    
 20030b0:	02 80 00 36 	be  2003188 <rtems_bsp_cmdline_get_param+0xe0> 
 20030b4:	80 a6 60 00 	cmp  %i1, 0                                    
    return NULL;                                                      
                                                                      
  if ( !value )                                                       
 20030b8:	02 80 00 34 	be  2003188 <rtems_bsp_cmdline_get_param+0xe0> 
 20030bc:	80 a6 a0 00 	cmp  %i2, 0                                    
    return NULL;                                                      
                                                                      
  if ( !length )                                                      
 20030c0:	22 80 00 33 	be,a   200318c <rtems_bsp_cmdline_get_param+0xe4>
 20030c4:	b2 10 20 00 	clr  %i1                                       
    return NULL;                                                      
                                                                      
  value[0] = '\0';                                                    
 20030c8:	c0 2e 40 00 	clrb  [ %i1 ]                                  
                                                                      
  p = rtems_bsp_cmdline_get_param_raw( name );                        
 20030cc:	40 00 00 32 	call  2003194 <rtems_bsp_cmdline_get_param_raw>
 20030d0:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  if ( !p )                                                           
 20030d4:	80 a2 20 00 	cmp  %o0, 0                                    
 20030d8:	22 80 00 2d 	be,a   200318c <rtems_bsp_cmdline_get_param+0xe4>
 20030dc:	b2 10 20 00 	clr  %i1                                       
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
 20030e0:	c6 0a 00 00 	ldub  [ %o0 ], %g3                             
 20030e4:	85 28 e0 18 	sll  %g3, 0x18, %g2                            
 20030e8:	80 a0 a0 00 	cmp  %g2, 0                                    
 20030ec:	02 80 00 25 	be  2003180 <rtems_bsp_cmdline_get_param+0xd8> <== NEVER TAKEN
 20030f0:	80 a6 a0 01 	cmp  %i2, 1                                    
 20030f4:	02 80 00 23 	be  2003180 <rtems_bsp_cmdline_get_param+0xd8> <== NEVER TAKEN
 20030f8:	b4 06 bf ff 	add  %i2, -1, %i2                              
    value[i] = '\0';                                                  
  }                                                                   
                                                                      
}                                                                     
                                                                      
const char *rtems_bsp_cmdline_get_param(                              
 20030fc:	82 10 20 00 	clr  %g1                                       
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
 2003100:	88 10 20 00 	clr  %g4                                       
    value[i] = '\0';                                                  
  }                                                                   
                                                                      
}                                                                     
                                                                      
const char *rtems_bsp_cmdline_get_param(                              
 2003104:	10 80 00 12 	b  200314c <rtems_bsp_cmdline_get_param+0xa4>  
 2003108:	ba 10 20 00 	clr  %i5                                       
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
 200310c:	32 80 00 06 	bne,a   2003124 <rtems_bsp_cmdline_get_param+0x7c>
 2003110:	c6 2e 40 04 	stb  %g3, [ %i1 + %g4 ]                        
 2003114:	80 a0 a0 20 	cmp  %g2, 0x20                                 
 2003118:	02 80 00 1a 	be  2003180 <rtems_bsp_cmdline_get_param+0xd8> 
 200311c:	01 00 00 00 	nop                                            
      break;                                                          
    value[i++] = *p++;                                                
 2003120:	c6 2e 40 04 	stb  %g3, [ %i1 + %g4 ]                        
 2003124:	82 00 60 01 	inc  %g1                                       
    value[i] = '\0';                                                  
 2003128:	c0 2e 40 01 	clrb  [ %i1 + %g1 ]                            
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
 200312c:	c6 0a 00 01 	ldub  [ %o0 + %g1 ], %g3                       
 2003130:	85 28 e0 18 	sll  %g3, 0x18, %g2                            
 2003134:	80 a0 a0 00 	cmp  %g2, 0                                    
 2003138:	02 80 00 12 	be  2003180 <rtems_bsp_cmdline_get_param+0xd8> 
 200313c:	88 10 00 01 	mov  %g1, %g4                                  
 2003140:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2003144:	02 80 00 0f 	be  2003180 <rtems_bsp_cmdline_get_param+0xd8> 
 2003148:	01 00 00 00 	nop                                            
    if ( *p == '\"' ) {                                               
 200314c:	85 38 a0 18 	sra  %g2, 0x18, %g2                            
 2003150:	80 a0 a0 22 	cmp  %g2, 0x22                                 
 2003154:	12 bf ff ee 	bne  200310c <rtems_bsp_cmdline_get_param+0x64>
 2003158:	80 8f 60 01 	btst  1, %i5                                   
      quotes++;                                                       
    } else if ( ((quotes % 2) == 0) && *p == ' ' )                    
      break;                                                          
    value[i++] = *p++;                                                
 200315c:	c6 2e 40 04 	stb  %g3, [ %i1 + %g4 ]                        
 2003160:	82 00 60 01 	inc  %g1                                       
    value[i] = '\0';                                                  
 2003164:	c0 2e 40 01 	clrb  [ %i1 + %g1 ]                            
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
 2003168:	c6 0a 00 01 	ldub  [ %o0 + %g1 ], %g3                       
    if ( *p == '\"' ) {                                               
      quotes++;                                                       
 200316c:	ba 07 60 01 	inc  %i5                                       
  int         i;                                                      
  int         quotes;                                                 
  const char *p = start;                                              
                                                                      
  quotes=0;                                                           
  for (i=0 ; *p && i<length-1; ) {                                    
 2003170:	85 28 e0 18 	sll  %g3, 0x18, %g2                            
 2003174:	80 a0 a0 00 	cmp  %g2, 0                                    
 2003178:	12 bf ff f2 	bne  2003140 <rtems_bsp_cmdline_get_param+0x98><== ALWAYS TAKEN
 200317c:	88 10 00 01 	mov  %g1, %g4                                  
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
 2003180:	81 c7 e0 08 	ret                                            
 2003184:	91 e8 00 19 	restore  %g0, %i1, %o0                         
)                                                                     
{                                                                     
  const char *p;                                                      
                                                                      
  if ( !name )                                                        
    return NULL;                                                      
 2003188:	b2 10 20 00 	clr  %i1                                       
    return NULL;                                                      
                                                                      
  copy_string( p, value, length );                                    
                                                                      
  return value;                                                       
}                                                                     
 200318c:	81 c7 e0 08 	ret                                            
 2003190:	91 e8 00 19 	restore  %g0, %i1, %o0                         
                                                                      

020089c8 <rtems_chain_get_with_wait>: rtems_chain_control *chain, rtems_event_set events, rtems_interval timeout, rtems_chain_node **node_ptr ) {
 20089c8:	9d e3 bf 98 	save  %sp, -104, %sp                           
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 20089cc:	40 00 01 aa 	call  2009074 <_Chain_Get>                     
 20089d0:	90 10 00 18 	mov  %i0, %o0                                  
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
 20089d4:	92 10 20 00 	clr  %o1                                       
 20089d8:	ba 10 00 08 	mov  %o0, %i5                                  
 20089dc:	94 10 00 1a 	mov  %i2, %o2                                  
 20089e0:	90 10 00 19 	mov  %i1, %o0                                  
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
 20089e4:	80 a7 60 00 	cmp  %i5, 0                                    
 20089e8:	12 80 00 0a 	bne  2008a10 <rtems_chain_get_with_wait+0x48>  
 20089ec:	96 07 bf fc 	add  %fp, -4, %o3                              
  ) {                                                                 
    rtems_event_set out;                                              
    sc = rtems_event_receive(                                         
 20089f0:	7f ff fc e9 	call  2007d94 <rtems_event_receive>            
 20089f4:	01 00 00 00 	nop                                            
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
 20089f8:	80 a2 20 00 	cmp  %o0, 0                                    
 20089fc:	02 bf ff f4 	be  20089cc <rtems_chain_get_with_wait+0x4>    <== NEVER TAKEN
 2008a00:	01 00 00 00 	nop                                            
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
 2008a04:	fa 26 c0 00 	st  %i5, [ %i3 ]                               
                                                                      
  return sc;                                                          
}                                                                     
 2008a08:	81 c7 e0 08 	ret                                            
 2008a0c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  while (                                                             
    sc == RTEMS_SUCCESSFUL                                            
      && (node = rtems_chain_get( chain )) == NULL                    
 2008a10:	90 10 20 00 	clr  %o0                                       
      timeout,                                                        
      &out                                                            
    );                                                                
  }                                                                   
                                                                      
  *node_ptr = node;                                                   
 2008a14:	fa 26 c0 00 	st  %i5, [ %i3 ]                               
                                                                      
  return sc;                                                          
}                                                                     
 2008a18:	81 c7 e0 08 	ret                                            
 2008a1c:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02003c00 <rtems_cpu_usage_report_with_plugin>: */ void rtems_cpu_usage_report_with_plugin( void *context, rtems_printk_plugin_t print ) {
 2003c00:	9d e3 bf 70 	save  %sp, -144, %sp                           
    uint32_t seconds, nanoseconds;                                    
  #else                                                               
    uint32_t           total_units = 0;                               
  #endif                                                              
                                                                      
  if ( !print )                                                       
 2003c04:	80 a6 60 00 	cmp  %i1, 0                                    
 2003c08:	02 80 00 81 	be  2003e0c <rtems_cpu_usage_report_with_plugin+0x20c><== NEVER TAKEN
 2003c0c:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
                                                                      
static inline void _Timestamp64_implementation_Set_to_zero(           
  Timestamp64_Control *_time                                          
)                                                                     
{                                                                     
  *_time = 0;                                                         
 2003c10:	c0 27 bf e0 	clr  [ %fp + -32 ]                             
 2003c14:	c0 27 bf e4 	clr  [ %fp + -28 ]                             
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
 2003c18:	90 10 00 18 	mov  %i0, %o0                                  
   *  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;            
 2003c1c:	f4 18 60 f0 	ldd  [ %g1 + 0xf0 ], %i2                       
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
 2003c20:	13 00 80 78 	sethi  %hi(0x201e000), %o1                     
 2003c24:	29 00 80 84 	sethi  %hi(0x2021000), %l4                     
 2003c28:	92 12 62 28 	or  %o1, 0x228, %o1                            
 2003c2c:	a8 15 22 88 	or  %l4, 0x288, %l4                            
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
 2003c30:	27 00 80 78 	sethi  %hi(0x201e000), %l3                     
        }                                                             
      }                                                               
    }                                                                 
  #endif                                                              
                                                                      
  (*print)(                                                           
 2003c34:	9f c6 40 00 	call  %i1                                      
 2003c38:	25 00 80 78 	sethi  %hi(0x201e000), %l2                     
#endif                                                                
                                                                      
/*                                                                    
 *  rtems_cpu_usage_report                                            
 */                                                                   
void rtems_cpu_usage_report_with_plugin(                              
 2003c3c:	aa 05 20 0c 	add  %l4, 0xc, %l5                             
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
                                                                      
        (*print)(                                                     
 2003c40:	a6 14 e3 a0 	or  %l3, 0x3a0, %l3                            
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
 2003c44:	a4 14 a3 b8 	or  %l2, 0x3b8, %l2                            
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 2003c48:	c2 05 00 00 	ld  [ %l4 ], %g1                               
 2003c4c:	e2 00 60 04 	ld  [ %g1 + 4 ], %l1                           
    if ( information ) {                                              
 2003c50:	80 a4 60 00 	cmp  %l1, 0                                    
 2003c54:	22 80 00 54 	be,a   2003da4 <rtems_cpu_usage_report_with_plugin+0x1a4><== NEVER TAKEN
 2003c58:	a8 05 20 04 	add  %l4, 4, %l4                               <== NOT EXECUTED
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
 2003c5c:	c2 14 60 10 	lduh  [ %l1 + 0x10 ], %g1                      
 2003c60:	86 90 60 00 	orcc  %g1, 0, %g3                              
 2003c64:	02 80 00 4f 	be  2003da0 <rtems_cpu_usage_report_with_plugin+0x1a0>
 2003c68:	a0 10 20 01 	mov  1, %l0                                    
        the_thread = (Thread_Control *)information->local_table[ i ]; 
 2003c6c:	10 80 00 2c 	b  2003d1c <rtems_cpu_usage_report_with_plugin+0x11c>
 2003c70:	c4 04 60 1c 	ld  [ %l1 + 0x1c ], %g2                        
            Timestamp_Control used;                                   
            _TOD_Get_uptime( &uptime );                               
            _Timestamp_Subtract( &last, &uptime, &used );             
            _Timestamp_Add_to( &ran, &used );                         
          } else {                                                    
            _TOD_Get_uptime( &uptime );                               
 2003c74:	40 00 1a 0a 	call  200a49c <_TOD_Get_uptime>                
 2003c78:	90 07 bf d8 	add  %fp, -40, %o0                             
 2003c7c:	c4 1f bf d8 	ldd  [ %fp + -40 ], %g2                        
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
 2003c80:	86 a0 c0 1b 	subcc  %g3, %i3, %g3                           
 2003c84:	84 60 80 1a 	subx  %g2, %i2, %g2                            
          }                                                           
          _Timestamp_Subtract( &uptime_at_last_reset, &uptime, &total );
          _Timestamp_Divide( &ran, &total, &ival, &fval );            
 2003c88:	90 07 bf e8 	add  %fp, -24, %o0                             
 2003c8c:	c4 3f bf e0 	std  %g2, [ %fp + -32 ]                        
 2003c90:	92 07 bf e0 	add  %fp, -32, %o1                             
 2003c94:	94 07 bf d0 	add  %fp, -48, %o2                             
 2003c98:	40 00 24 12 	call  200cce0 <_Timestamp64_Divide>            
 2003c9c:	96 07 bf d4 	add  %fp, -44, %o3                             
                                                                      
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
 2003ca0:	f8 1f bf e8 	ldd  [ %fp + -24 ], %i4                        
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_seconds(       
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time / 1000000000L);                           
 2003ca4:	94 10 20 00 	clr  %o2                                       
 2003ca8:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2003cac:	90 10 00 1c 	mov  %i4, %o0                                  
 2003cb0:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 2003cb4:	40 00 5f a6 	call  201bb4c <__divdi3>                       
 2003cb8:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_nanoseconds(   
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time % 1000000000L);                           
 2003cbc:	94 10 20 00 	clr  %o2                                       
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_seconds(       
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time / 1000000000L);                           
 2003cc0:	ac 10 00 09 	mov  %o1, %l6                                  
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_nanoseconds(   
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time % 1000000000L);                           
 2003cc4:	90 10 00 1c 	mov  %i4, %o0                                  
 2003cc8:	92 10 00 1d 	mov  %i5, %o1                                  
 2003ccc:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2003cd0:	40 00 60 8a 	call  201bef8 <__moddi3>                       
 2003cd4:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
 2003cd8:	90 10 00 09 	mov  %o1, %o0                                  
 2003cdc:	40 00 5e 44 	call  201b5ec <.udiv>                          
 2003ce0:	92 10 23 e8 	mov  0x3e8, %o1                                
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
 2003ce4:	d8 1f bf d0 	ldd  [ %fp + -48 ], %o4                        
          /*                                                          
           * Print the information                                    
           */                                                         
                                                                      
          seconds = _Timestamp_Get_seconds( &ran );                   
          nanoseconds = _Timestamp_Get_nanoseconds( &ran ) /          
 2003ce8:	96 10 00 08 	mov  %o0, %o3                                  
            TOD_NANOSECONDS_PER_MICROSECOND;                          
          (*print)( context,                                          
 2003cec:	92 10 00 12 	mov  %l2, %o1                                  
 2003cf0:	90 10 00 18 	mov  %i0, %o0                                  
 2003cf4:	9f c6 40 00 	call  %i1                                      
 2003cf8:	94 10 00 16 	mov  %l6, %o2                                  
 2003cfc:	c6 14 60 10 	lduh  [ %l1 + 0x10 ], %g3                      
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
 2003d00:	a0 04 20 01 	inc  %l0                                       
 2003d04:	83 28 e0 10 	sll  %g3, 0x10, %g1                            
 2003d08:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 2003d0c:	80 a0 40 10 	cmp  %g1, %l0                                  
 2003d10:	2a 80 00 25 	bcs,a   2003da4 <rtems_cpu_usage_report_with_plugin+0x1a4>
 2003d14:	a8 05 20 04 	add  %l4, 4, %l4                               
        the_thread = (Thread_Control *)information->local_table[ i ]; 
 2003d18:	c4 04 60 1c 	ld  [ %l1 + 0x1c ], %g2                        
 2003d1c:	83 2c 20 02 	sll  %l0, 2, %g1                               
 2003d20:	fa 00 80 01 	ld  [ %g2 + %g1 ], %i5                         
                                                                      
        if ( !the_thread )                                            
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
 2003d24:	94 07 bf f0 	add  %fp, -16, %o2                             
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( information ) {                                              
      for ( i=1 ; i <= information->maximum ; i++ ) {                 
        the_thread = (Thread_Control *)information->local_table[ i ]; 
                                                                      
        if ( !the_thread )                                            
 2003d28:	80 a7 60 00 	cmp  %i5, 0                                    
 2003d2c:	02 bf ff f5 	be  2003d00 <rtems_cpu_usage_report_with_plugin+0x100><== NEVER TAKEN
 2003d30:	92 10 20 0d 	mov  0xd, %o1                                  
          continue;                                                   
                                                                      
        rtems_object_get_name( the_thread->Object.id, sizeof(name), name );
 2003d34:	40 00 14 74 	call  2008f04 <rtems_object_get_name>          
 2003d38:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
                                                                      
        (*print)(                                                     
 2003d3c:	d4 07 60 08 	ld  [ %i5 + 8 ], %o2                           
 2003d40:	90 10 00 18 	mov  %i0, %o0                                  
 2003d44:	92 10 00 13 	mov  %l3, %o1                                  
 2003d48:	9f c6 40 00 	call  %i1                                      
 2003d4c:	96 07 bf f0 	add  %fp, -16, %o3                             
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
 2003d50:	03 00 80 86 	sethi  %hi(0x2021800), %g1                     
 2003d54:	82 10 60 90 	or  %g1, 0x90, %g1	! 2021890 <_Per_CPU_Information>
 2003d58:	c8 00 60 0c 	ld  [ %g1 + 0xc ], %g4                         
                                                                      
          /*                                                          
           * If this is the currently executing thread, account for time
           * since the last context switch.                           
           */                                                         
          ran = the_thread->cpu_time_used;                            
 2003d5c:	c4 1f 60 80 	ldd  [ %i5 + 0x80 ], %g2                       
    Thread_Control    *the_thread,                                    
    Timestamp_Control *time_of_context_switch                         
  )                                                                   
  {                                                                   
    #ifndef RTEMS_SMP                                                 
      if ( _Thread_Executing->Object.id == the_thread->Object.id ) {  
 2003d60:	f8 01 20 08 	ld  [ %g4 + 8 ], %i4                           
 2003d64:	c8 07 60 08 	ld  [ %i5 + 8 ], %g4                           
 2003d68:	80 a7 00 04 	cmp  %i4, %g4                                  
 2003d6c:	12 bf ff c2 	bne  2003c74 <rtems_cpu_usage_report_with_plugin+0x74>
 2003d70:	c4 3f bf e8 	std  %g2, [ %fp + -24 ]                        
        *time_of_context_switch = _Thread_Time_of_last_context_switch;
 2003d74:	f8 18 60 20 	ldd  [ %g1 + 0x20 ], %i4                       
           * 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 );                               
 2003d78:	40 00 19 c9 	call  200a49c <_TOD_Get_uptime>                
 2003d7c:	90 07 bf d8 	add  %fp, -40, %o0                             
            _Timestamp_Subtract( &last, &uptime, &used );             
 2003d80:	c4 1f bf d8 	ldd  [ %fp + -40 ], %g2                        
  const Timestamp64_Control *_start,                                  
  const Timestamp64_Control *_end,                                    
  Timestamp64_Control       *_result                                  
)                                                                     
{                                                                     
  *_result = *_end - *_start;                                         
 2003d84:	9a a0 c0 1d 	subcc  %g3, %i5, %o5                           
 2003d88:	98 60 80 1c 	subx  %g2, %i4, %o4                            
static inline void _Timestamp64_implementation_Add_to(                
  Timestamp64_Control       *_time,                                   
  const Timestamp64_Control *_add                                     
)                                                                     
{                                                                     
  *_time += *_add;                                                    
 2003d8c:	f8 1f bf e8 	ldd  [ %fp + -24 ], %i4                        
 2003d90:	ba 87 40 0d 	addcc  %i5, %o5, %i5                           
 2003d94:	b8 47 00 0c 	addx  %i4, %o4, %i4                            
 2003d98:	10 bf ff ba 	b  2003c80 <rtems_cpu_usage_report_with_plugin+0x80>
 2003d9c:	f8 3f bf e8 	std  %i4, [ %fp + -24 ]                        
 2003da0:	a8 05 20 04 	add  %l4, 4, %l4                               
       " ID         | NAME                                   | TICKS         | PERCENT\n"
     #endif                                                           
     "------------+----------------------------------------+---------------+---------\n"
  );                                                                  
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 2003da4:	80 a5 00 15 	cmp  %l4, %l5                                  
 2003da8:	32 bf ff a9 	bne,a   2003c4c <rtems_cpu_usage_report_with_plugin+0x4c>
 2003dac:	c2 05 00 00 	ld  [ %l4 ], %g1                               
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    seconds = _Timestamp_Get_seconds( &total );                       
 2003db0:	f8 1f bf e0 	ldd  [ %fp + -32 ], %i4                        
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_seconds(       
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time / 1000000000L);                           
 2003db4:	94 10 20 00 	clr  %o2                                       
 2003db8:	90 10 00 1c 	mov  %i4, %o0                                  
 2003dbc:	92 10 00 1d 	mov  %i5, %o1                                  
 2003dc0:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2003dc4:	40 00 5f 62 	call  201bb4c <__divdi3>                       
 2003dc8:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_nanoseconds(   
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time % 1000000000L);                           
 2003dcc:	94 10 20 00 	clr  %o2                                       
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_seconds(       
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time / 1000000000L);                           
 2003dd0:	b6 10 00 09 	mov  %o1, %i3                                  
                                                                      
static inline uint32_t _Timestamp64_implementation_Get_nanoseconds(   
  const Timestamp64_Control *_time                                    
)                                                                     
{                                                                     
  return (uint32_t) (*_time % 1000000000L);                           
 2003dd4:	90 10 00 1c 	mov  %i4, %o0                                  
 2003dd8:	92 10 00 1d 	mov  %i5, %o1                                  
 2003ddc:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2003de0:	40 00 60 46 	call  201bef8 <__moddi3>                       
 2003de4:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
    nanoseconds = _Timestamp_Get_nanoseconds( &total ) /              
 2003de8:	90 10 00 09 	mov  %o1, %o0                                  
 2003dec:	40 00 5e 00 	call  201b5ec <.udiv>                          
 2003df0:	92 10 23 e8 	mov  0x3e8, %o1                                
      TOD_NANOSECONDS_PER_MICROSECOND;                                
    (*print)(                                                         
 2003df4:	94 10 00 1b 	mov  %i3, %o2                                  
    }                                                                 
  }                                                                   
                                                                      
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    seconds = _Timestamp_Get_seconds( &total );                       
    nanoseconds = _Timestamp_Get_nanoseconds( &total ) /              
 2003df8:	96 10 00 08 	mov  %o0, %o3                                  
      TOD_NANOSECONDS_PER_MICROSECOND;                                
    (*print)(                                                         
 2003dfc:	13 00 80 78 	sethi  %hi(0x201e000), %o1                     
 2003e00:	90 10 00 18 	mov  %i0, %o0                                  
 2003e04:	9f c6 40 00 	call  %i1                                      
 2003e08:	92 12 63 d0 	or  %o1, 0x3d0, %o1                            
 2003e0c:	81 c7 e0 08 	ret                                            
 2003e10:	81 e8 00 00 	restore                                        
                                                                      

02010708 <rtems_deviceio_errno>: [RTEMS_IO_ERROR] = EIO, [RTEMS_PROXY_BLOCKING] = EIO }; int rtems_deviceio_errno(rtems_status_code sc) {
 2010708:	9d e3 bf a0 	save  %sp, -96, %sp                            
 201070c:	82 10 00 18 	mov  %i0, %g1                                  
  if (sc == RTEMS_SUCCESSFUL) {                                       
 2010710:	80 a0 60 00 	cmp  %g1, 0                                    
 2010714:	02 80 00 0c 	be  2010744 <rtems_deviceio_errno+0x3c>        
 2010718:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
  } else {                                                            
    int eno = EINVAL;                                                 
                                                                      
    if ((unsigned) sc <= RTEMS_STATUS_CODES_LAST) {                   
 201071c:	80 a0 60 1c 	cmp  %g1, 0x1c                                 
 2010720:	18 80 00 06 	bgu  2010738 <rtems_deviceio_errno+0x30>       <== NEVER TAKEN
 2010724:	ba 10 20 16 	mov  0x16, %i5                                 
      eno = status_code_to_errno [sc];                                
 2010728:	83 28 60 02 	sll  %g1, 2, %g1                               
 201072c:	05 00 80 73 	sethi  %hi(0x201cc00), %g2                     
 2010730:	84 10 a1 44 	or  %g2, 0x144, %g2	! 201cd44 <status_code_to_errno>
 2010734:	fa 00 80 01 	ld  [ %g2 + %g1 ], %i5                         
    }                                                                 
                                                                      
    errno = eno;                                                      
 2010738:	40 00 00 2f 	call  20107f4 <__errno>                        
 201073c:	b0 10 3f ff 	mov  -1, %i0                                   
 2010740:	fa 22 00 00 	st  %i5, [ %o0 ]                               
                                                                      
    return -1;                                                        
  }                                                                   
}                                                                     
 2010744:	81 c7 e0 08 	ret                                            
 2010748:	81 e8 00 00 	restore                                        
                                                                      

02003b8c <rtems_disk_create_log>: dev_t phys, rtems_blkdev_bnum block_begin, rtems_blkdev_bnum block_count, const char *name ) {
 2003b8c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *phys_dd = NULL;                                  
  rtems_disk_device *dd = NULL;                                       
 2003b90:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  char *alloc_name = NULL;                                            
                                                                      
  sc = disk_lock();                                                   
 2003b94:	7f ff fe f5 	call  2003768 <disk_lock>                      
 2003b98:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003b9c:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2003ba0:	02 80 00 04 	be  2003bb0 <rtems_disk_create_log+0x24>       <== ALWAYS TAKEN
 2003ba4:	92 10 00 1b 	mov  %i3, %o1                                  
  }                                                                   
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2003ba8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003bac:	91 e8 00 10 	restore  %g0, %l0, %o0                         <== NOT EXECUTED
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  phys_dd = get_disk_entry(phys, true);                               
 2003bb0:	90 10 00 1a 	mov  %i2, %o0                                  
 2003bb4:	7f ff fe b0 	call  2003674 <get_disk_entry>                 
 2003bb8:	94 10 20 01 	mov  1, %o2                                    
  if (phys_dd == NULL) {                                              
 2003bbc:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2003bc0:	02 80 00 25 	be  2003c54 <rtems_disk_create_log+0xc8>       
 2003bc4:	d4 07 a0 5c 	ld  [ %fp + 0x5c ], %o2                        
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd, &alloc_name);                      
 2003bc8:	90 10 00 18 	mov  %i0, %o0                                  
 2003bcc:	92 10 00 19 	mov  %i1, %o1                                  
 2003bd0:	96 07 bf f8 	add  %fp, -8, %o3                              
 2003bd4:	7f ff ff 03 	call  20037e0 <create_disk>                    
 2003bd8:	98 07 bf fc 	add  %fp, -4, %o4                              
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003bdc:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2003be0:	12 80 00 19 	bne  2003c44 <rtems_disk_create_log+0xb8>      
 2003be4:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  sc = rtems_disk_init_log(                                           
 2003be8:	92 10 00 1b 	mov  %i3, %o1                                  
 2003bec:	94 10 00 1c 	mov  %i4, %o2                                  
 2003bf0:	40 00 31 ba 	call  20102d8 <rtems_disk_init_log>            
 2003bf4:	96 10 00 1d 	mov  %i5, %o3                                  
    phys_dd,                                                          
    block_begin,                                                      
    block_count                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
 2003bf8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
  dd->name = alloc_name;                                              
                                                                      
  ++phys_dd->uses;                                                    
 2003bfc:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        
    block_begin,                                                      
    block_count                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
  dd->name = alloc_name;                                              
 2003c00:	c6 07 bf fc 	ld  [ %fp + -4 ], %g3                          
                                                                      
  ++phys_dd->uses;                                                    
 2003c04:	84 00 a0 01 	inc  %g2                                       
    phys_dd,                                                          
    block_begin,                                                      
    block_count                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
 2003c08:	f0 38 40 00 	std  %i0, [ %g1 ]                              
  dd->name = alloc_name;                                              
 2003c0c:	c6 20 60 10 	st  %g3, [ %g1 + 0x10 ]                        
                                                                      
  ++phys_dd->uses;                                                    
 2003c10:	c4 26 e0 14 	st  %g2, [ %i3 + 0x14 ]                        
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003c14:	80 a2 20 00 	cmp  %o0, 0                                    
 2003c18:	02 80 00 0b 	be  2003c44 <rtems_disk_create_log+0xb8>       
 2003c1c:	a0 10 00 08 	mov  %o0, %l0                                  
    dd->ioctl = null_handler;                                         
 2003c20:	05 00 80 0d 	sethi  %hi(0x2003400), %g2                     
 2003c24:	84 10 a3 08 	or  %g2, 0x308, %g2	! 2003708 <null_handler>   
    rtems_disk_delete(dev);                                           
 2003c28:	92 10 00 19 	mov  %i1, %o1                                  
  dd->name = alloc_name;                                              
                                                                      
  ++phys_dd->uses;                                                    
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
    dd->ioctl = null_handler;                                         
 2003c2c:	c4 20 60 38 	st  %g2, [ %g1 + 0x38 ]                        
    rtems_disk_delete(dev);                                           
 2003c30:	7f ff ff 5c 	call  20039a0 <rtems_disk_delete>              
 2003c34:	90 10 00 18 	mov  %i0, %o0                                  
    disk_unlock();                                                    
 2003c38:	7f ff fe db 	call  20037a4 <disk_unlock>                    
 2003c3c:	b0 10 00 10 	mov  %l0, %i0                                  
 2003c40:	30 80 00 03 	b,a   2003c4c <rtems_disk_create_log+0xc0>     
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  disk_unlock();                                                      
 2003c44:	7f ff fe d8 	call  20037a4 <disk_unlock>                    
 2003c48:	b0 10 00 10 	mov  %l0, %i0                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2003c4c:	81 c7 e0 08 	ret                                            
 2003c50:	81 e8 00 00 	restore                                        
    return sc;                                                        
  }                                                                   
                                                                      
  phys_dd = get_disk_entry(phys, true);                               
  if (phys_dd == NULL) {                                              
    disk_unlock();                                                    
 2003c54:	7f ff fe d4 	call  20037a4 <disk_unlock>                    
 2003c58:	a0 10 20 04 	mov  4, %l0                                    
  }                                                                   
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2003c5c:	81 c7 e0 08 	ret                                            
 2003c60:	91 e8 00 10 	restore  %g0, %l0, %o0                         
                                                                      

02003c64 <rtems_disk_create_phys>: rtems_blkdev_bnum block_count, rtems_block_device_ioctl handler, void *driver_data, const char *name ) {
 2003c64:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_disk_device *dd = NULL;                                       
 2003c68:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  char *alloc_name = NULL;                                            
 2003c6c:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
  if (handler == NULL) {                                              
 2003c70:	80 a7 20 00 	cmp  %i4, 0                                    
 2003c74:	02 80 00 07 	be  2003c90 <rtems_disk_create_phys+0x2c>      
 2003c78:	a0 10 20 09 	mov  9, %l0                                    
    return RTEMS_INVALID_ADDRESS;                                     
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
 2003c7c:	7f ff fe bb 	call  2003768 <disk_lock>                      
 2003c80:	01 00 00 00 	nop                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003c84:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2003c88:	02 80 00 04 	be  2003c98 <rtems_disk_create_phys+0x34>      <== ALWAYS TAKEN
 2003c8c:	d4 07 a0 5c 	ld  [ %fp + 0x5c ], %o2                        
  }                                                                   
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2003c90:	81 c7 e0 08 	ret                                            
 2003c94:	91 e8 00 10 	restore  %g0, %l0, %o0                         
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  sc = create_disk(dev, name, &dd, &alloc_name);                      
 2003c98:	90 10 00 18 	mov  %i0, %o0                                  
 2003c9c:	92 10 00 19 	mov  %i1, %o1                                  
 2003ca0:	96 07 bf f8 	add  %fp, -8, %o3                              
 2003ca4:	7f ff fe cf 	call  20037e0 <create_disk>                    
 2003ca8:	98 07 bf fc 	add  %fp, -4, %o4                              
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003cac:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2003cb0:	12 80 00 0e 	bne  2003ce8 <rtems_disk_create_phys+0x84>     
 2003cb4:	d0 07 bf f8 	ld  [ %fp + -8 ], %o0                          
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  sc = rtems_disk_init_phys(                                          
 2003cb8:	92 10 00 1a 	mov  %i2, %o1                                  
 2003cbc:	94 10 00 1b 	mov  %i3, %o2                                  
 2003cc0:	96 10 00 1c 	mov  %i4, %o3                                  
 2003cc4:	40 00 31 6b 	call  2010270 <rtems_disk_init_phys>           
 2003cc8:	98 10 00 1d 	mov  %i5, %o4                                  
    block_count,                                                      
    handler,                                                          
    driver_data                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
 2003ccc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
  dd->name = alloc_name;                                              
 2003cd0:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    block_count,                                                      
    handler,                                                          
    driver_data                                                       
  );                                                                  
                                                                      
  dd->dev = dev;                                                      
 2003cd4:	f0 38 40 00 	std  %i0, [ %g1 ]                              
  dd->name = alloc_name;                                              
 2003cd8:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003cdc:	80 a2 20 00 	cmp  %o0, 0                                    
 2003ce0:	12 80 00 06 	bne  2003cf8 <rtems_disk_create_phys+0x94>     
 2003ce4:	a0 10 00 08 	mov  %o0, %l0                                  
    disk_unlock();                                                    
                                                                      
    return sc;                                                        
  }                                                                   
                                                                      
  disk_unlock();                                                      
 2003ce8:	7f ff fe af 	call  20037a4 <disk_unlock>                    
 2003cec:	b0 10 00 10 	mov  %l0, %i0                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2003cf0:	81 c7 e0 08 	ret                                            
 2003cf4:	81 e8 00 00 	restore                                        
                                                                      
  dd->dev = dev;                                                      
  dd->name = alloc_name;                                              
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
    dd->ioctl = null_handler;                                         
 2003cf8:	05 00 80 0d 	sethi  %hi(0x2003400), %g2                     
 2003cfc:	84 10 a3 08 	or  %g2, 0x308, %g2	! 2003708 <null_handler>   
    rtems_disk_delete(dev);                                           
 2003d00:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
  dd->dev = dev;                                                      
  dd->name = alloc_name;                                              
                                                                      
  if (sc != RTEMS_SUCCESSFUL) {                                       
    dd->ioctl = null_handler;                                         
 2003d04:	c4 20 60 38 	st  %g2, [ %g1 + 0x38 ]                        
    rtems_disk_delete(dev);                                           
 2003d08:	7f ff ff 26 	call  20039a0 <rtems_disk_delete>              
 2003d0c:	90 10 00 18 	mov  %i0, %o0                                  
    disk_unlock();                                                    
 2003d10:	7f ff fe a5 	call  20037a4 <disk_unlock>                    
 2003d14:	b0 10 00 10 	mov  %l0, %i0                                  
 2003d18:	30 bf ff f6 	b,a   2003cf0 <rtems_disk_create_phys+0x8c>    
                                                                      

020039a0 <rtems_disk_delete>: } } rtems_status_code rtems_disk_delete(dev_t dev) {
 20039a0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device *dd = NULL;                                       
                                                                      
  sc = disk_lock();                                                   
 20039a4:	7f ff ff 71 	call  2003768 <disk_lock>                      
 20039a8:	01 00 00 00 	nop                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
 20039ac:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 20039b0:	02 80 00 04 	be  20039c0 <rtems_disk_delete+0x20>           <== ALWAYS TAKEN
 20039b4:	90 10 00 18 	mov  %i0, %o0                                  
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 20039b8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20039bc:	91 e8 00 10 	restore  %g0, %l0, %o0                         <== NOT EXECUTED
  sc = disk_lock();                                                   
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
                                                                      
  dd = get_disk_entry(dev, true);                                     
 20039c0:	92 10 00 19 	mov  %i1, %o1                                  
 20039c4:	7f ff ff 2c 	call  2003674 <get_disk_entry>                 
 20039c8:	94 10 20 01 	mov  1, %o2                                    
  if (dd == NULL) {                                                   
 20039cc:	82 92 20 00 	orcc  %o0, 0, %g1                              
 20039d0:	02 80 00 5e 	be  2003b48 <rtems_disk_delete+0x1a8>          <== NEVER TAKEN
 20039d4:	84 10 20 01 	mov  1, %g2                                    
}                                                                     
                                                                      
static void                                                           
rtems_disk_cleanup(rtems_disk_device *disk_to_remove)                 
{                                                                     
  rtems_disk_device *const physical_disk = disk_to_remove->phys_dev;  
 20039d8:	e2 00 60 08 	ld  [ %g1 + 8 ], %l1                           
    disk_unlock();                                                    
                                                                      
    return RTEMS_INVALID_ID;                                          
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
 20039dc:	c4 28 60 40 	stb  %g2, [ %g1 + 0x40 ]                       
{                                                                     
  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) {                                       
 20039e0:	c4 0c 60 40 	ldub  [ %l1 + 0x40 ], %g2                      
 20039e4:	80 a0 a0 00 	cmp  %g2, 0                                    
 20039e8:	22 80 00 43 	be,a   2003af4 <rtems_disk_delete+0x154>       
 20039ec:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
 20039f0:	2b 00 80 8a 	sethi  %hi(0x2022800), %l5                     
 20039f4:	c2 05 60 98 	ld  [ %l5 + 0x98 ], %g1	! 2022898 <disktab_size>
  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) {                                       
    dev_t dev = physical_disk->dev;                                   
 20039f8:	f2 04 40 00 	ld  [ %l1 ], %i1                               
 20039fc:	e4 04 60 04 	ld  [ %l1 + 4 ], %l2                           
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
 2003a00:	80 a0 60 00 	cmp  %g1, 0                                    
 2003a04:	02 80 00 33 	be  2003ad0 <rtems_disk_delete+0x130>          <== NEVER TAKEN
 2003a08:	a8 10 20 00 	clr  %l4                                       
 2003a0c:	2d 00 80 8a 	sethi  %hi(0x2022800), %l6                     
 2003a10:	b0 10 20 00 	clr  %i0                                       
 2003a14:	ac 15 a0 9c 	or  %l6, 0x9c, %l6                             
 2003a18:	aa 15 60 98 	or  %l5, 0x98, %l5                             
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
          } else {                                                    
            dd->deleted = true;                                       
 2003a1c:	a6 10 20 01 	mov  1, %l3                                    
  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;                
 2003a20:	f6 05 80 00 	ld  [ %l6 ], %i3                               
    }                                                                 
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_delete(dev_t dev)                                          
 2003a24:	83 2e 20 03 	sll  %i0, 3, %g1                               
  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;                
 2003a28:	b6 06 c0 01 	add  %i3, %g1, %i3                             
                                                                      
      for (minor = 0; minor < dtab->size; ++minor) {                  
 2003a2c:	f4 06 e0 04 	ld  [ %i3 + 4 ], %i2                           
 2003a30:	80 a6 a0 00 	cmp  %i2, 0                                    
 2003a34:	22 80 00 23 	be,a   2003ac0 <rtems_disk_delete+0x120>       
 2003a38:	c2 05 40 00 	ld  [ %l5 ], %g1                               
 2003a3c:	10 80 00 06 	b  2003a54 <rtems_disk_delete+0xb4>            
 2003a40:	ba 10 20 00 	clr  %i5                                       
 2003a44:	ba 07 60 01 	inc  %i5                                       
 2003a48:	80 a7 40 1a 	cmp  %i5, %i2                                  
 2003a4c:	3a 80 00 1d 	bcc,a   2003ac0 <rtems_disk_delete+0x120>      
 2003a50:	c2 05 40 00 	ld  [ %l5 ], %g1                               
        rtems_disk_device *dd = dtab->minor [minor];                  
 2003a54:	c6 06 c0 00 	ld  [ %i3 ], %g3                               
    }                                                                 
  }                                                                   
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_delete(dev_t dev)                                          
 2003a58:	85 2f 60 02 	sll  %i5, 2, %g2                               
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
      rtems_disk_device_table *dtab = disktab + major;                
                                                                      
      for (minor = 0; minor < dtab->size; ++minor) {                  
        rtems_disk_device *dd = dtab->minor [minor];                  
 2003a5c:	d0 00 c0 02 	ld  [ %g3 + %g2 ], %o0                         
                                                                      
        if (dd != NULL && dd->phys_dev->dev == dev && dd != physical_disk) {
 2003a60:	80 a2 20 00 	cmp  %o0, 0                                    
 2003a64:	22 bf ff f9 	be,a   2003a48 <rtems_disk_delete+0xa8>        
 2003a68:	ba 07 60 01 	inc  %i5                                       
 2003a6c:	c8 02 20 08 	ld  [ %o0 + 8 ], %g4                           
 2003a70:	f8 01 00 00 	ld  [ %g4 ], %i4                               
 2003a74:	80 a7 00 19 	cmp  %i4, %i1                                  
 2003a78:	32 bf ff f4 	bne,a   2003a48 <rtems_disk_delete+0xa8>       <== NEVER TAKEN
 2003a7c:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 2003a80:	c8 01 20 04 	ld  [ %g4 + 4 ], %g4                           
 2003a84:	80 a1 00 12 	cmp  %g4, %l2                                  
 2003a88:	32 bf ff f0 	bne,a   2003a48 <rtems_disk_delete+0xa8>       <== NEVER TAKEN
 2003a8c:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 2003a90:	80 a4 40 08 	cmp  %l1, %o0                                  
 2003a94:	22 bf ff ed 	be,a   2003a48 <rtems_disk_delete+0xa8>        
 2003a98:	ba 07 60 01 	inc  %i5                                       
          if (dd->uses == 0) {                                        
 2003a9c:	c8 02 20 14 	ld  [ %o0 + 0x14 ], %g4                        
 2003aa0:	80 a1 20 00 	cmp  %g4, 0                                    
 2003aa4:	22 80 00 25 	be,a   2003b38 <rtems_disk_delete+0x198>       
 2003aa8:	c0 20 c0 02 	clr  [ %g3 + %g2 ]                             
    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) {                  
 2003aac:	ba 07 60 01 	inc  %i5                                       
 2003ab0:	80 a7 40 1a 	cmp  %i5, %i2                                  
 2003ab4:	0a bf ff e8 	bcs  2003a54 <rtems_disk_delete+0xb4>          <== ALWAYS TAKEN
 2003ab8:	e6 2a 20 40 	stb  %l3, [ %o0 + 0x40 ]                       
                                                                      
  if (physical_disk->deleted) {                                       
    dev_t dev = physical_disk->dev;                                   
    unsigned deleted_count = 0;                                       
                                                                      
    for (major = 0; major < disktab_size; ++major) {                  
 2003abc:	c2 05 40 00 	ld  [ %l5 ], %g1                               <== NOT EXECUTED
 2003ac0:	b0 06 20 01 	inc  %i0                                       
 2003ac4:	80 a6 00 01 	cmp  %i0, %g1                                  
 2003ac8:	2a bf ff d7 	bcs,a   2003a24 <rtems_disk_delete+0x84>       
 2003acc:	f6 05 80 00 	ld  [ %l6 ], %i3                               
          }                                                           
        }                                                             
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
 2003ad0:	c2 04 60 14 	ld  [ %l1 + 0x14 ], %g1                        
 2003ad4:	a8 20 40 14 	sub  %g1, %l4, %l4                             
    if (physical_disk->uses == 0) {                                   
 2003ad8:	80 a5 20 00 	cmp  %l4, 0                                    
 2003adc:	02 80 00 1f 	be  2003b58 <rtems_disk_delete+0x1b8>          
 2003ae0:	e8 24 60 14 	st  %l4, [ %l1 + 0x14 ]                        
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
 2003ae4:	7f ff ff 30 	call  20037a4 <disk_unlock>                    
 2003ae8:	b0 10 00 10 	mov  %l0, %i0                                  
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2003aec:	81 c7 e0 08 	ret                                            
 2003af0:	81 e8 00 00 	restore                                        
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
 2003af4:	80 a0 a0 00 	cmp  %g2, 0                                    
 2003af8:	12 bf ff fb 	bne  2003ae4 <rtems_disk_delete+0x144>         <== NEVER TAKEN
 2003afc:	07 00 80 8a 	sethi  %hi(0x2022800), %g3                     
      --physical_disk->uses;                                          
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
 2003b00:	c4 00 40 00 	ld  [ %g1 ], %g2                               
      disktab [major].minor [minor] = NULL;                           
 2003b04:	c8 00 e0 9c 	ld  [ %g3 + 0x9c ], %g4                        
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
 2003b08:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
 2003b0c:	c6 04 60 14 	ld  [ %l1 + 0x14 ], %g3                        
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
      disktab [major].minor [minor] = NULL;                           
 2003b10:	85 28 a0 03 	sll  %g2, 3, %g2                               
 2003b14:	c4 01 00 02 	ld  [ %g4 + %g2 ], %g2                         
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
 2003b18:	86 00 ff ff 	add  %g3, -1, %g3                              
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
      disktab [major].minor [minor] = NULL;                           
 2003b1c:	83 28 60 02 	sll  %g1, 2, %g1                               
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(physical_disk);                                
    }                                                                 
  } else {                                                            
    if (disk_to_remove->uses == 0) {                                  
      --physical_disk->uses;                                          
 2003b20:	c6 24 60 14 	st  %g3, [ %l1 + 0x14 ]                        
      rtems_filesystem_split_dev_t(disk_to_remove->dev, major, minor);
      disktab [major].minor [minor] = NULL;                           
      free_disk_device(disk_to_remove);                               
 2003b24:	7f ff fe fb 	call  2003710 <free_disk_device>               
 2003b28:	c0 20 80 01 	clr  [ %g2 + %g1 ]                             
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
 2003b2c:	7f ff ff 1e 	call  20037a4 <disk_unlock>                    
 2003b30:	b0 10 00 10 	mov  %l0, %i0                                  
 2003b34:	30 bf ff ee 	b,a   2003aec <rtems_disk_delete+0x14c>        
                                                                      
        if (dd != NULL && dd->phys_dev->dev == dev && dd != physical_disk) {
          if (dd->uses == 0) {                                        
            ++deleted_count;                                          
            dtab->minor [minor] = NULL;                               
            free_disk_device(dd);                                     
 2003b38:	7f ff fe f6 	call  2003710 <free_disk_device>               
 2003b3c:	a8 05 20 01 	inc  %l4                                       
 2003b40:	10 bf ff c1 	b  2003a44 <rtems_disk_delete+0xa4>            
 2003b44:	f4 06 e0 04 	ld  [ %i3 + 4 ], %i2                           
    return sc;                                                        
  }                                                                   
                                                                      
  dd = get_disk_entry(dev, true);                                     
  if (dd == NULL) {                                                   
    disk_unlock();                                                    
 2003b48:	7f ff ff 17 	call  20037a4 <disk_unlock>                    <== NOT EXECUTED
 2003b4c:	a0 10 20 04 	mov  4, %l0                                    <== NOT EXECUTED
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2003b50:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003b54:	91 e8 00 10 	restore  %g0, %l0, %o0                         <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
    if (physical_disk->uses == 0) {                                   
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
 2003b58:	c4 04 40 00 	ld  [ %l1 ], %g2                               
      disktab [major].minor [minor] = NULL;                           
 2003b5c:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 2003b60:	c6 00 60 9c 	ld  [ %g1 + 0x9c ], %g3	! 202289c <disktab>    
      }                                                               
    }                                                                 
                                                                      
    physical_disk->uses -= deleted_count;                             
    if (physical_disk->uses == 0) {                                   
      rtems_filesystem_split_dev_t(physical_disk->dev, major, minor); 
 2003b64:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
      disktab [major].minor [minor] = NULL;                           
 2003b68:	85 28 a0 03 	sll  %g2, 3, %g2                               
 2003b6c:	c4 00 c0 02 	ld  [ %g3 + %g2 ], %g2                         
 2003b70:	83 28 60 02 	sll  %g1, 2, %g1                               
      free_disk_device(physical_disk);                                
 2003b74:	90 10 00 11 	mov  %l1, %o0                                  
 2003b78:	7f ff fe e6 	call  2003710 <free_disk_device>               
 2003b7c:	c0 20 80 01 	clr  [ %g2 + %g1 ]                             
  }                                                                   
                                                                      
  dd->deleted = true;                                                 
  rtems_disk_cleanup(dd);                                             
                                                                      
  disk_unlock();                                                      
 2003b80:	7f ff ff 09 	call  20037a4 <disk_unlock>                    
 2003b84:	b0 10 00 10 	mov  %l0, %i0                                  
 2003b88:	30 bf ff d9 	b,a   2003aec <rtems_disk_delete+0x14c>        
                                                                      

02003f90 <rtems_disk_io_done>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_disk_io_done(void) {
 2003f90:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
 2003f94:	21 00 80 8a 	sethi  %hi(0x2022800), %l0                     
 2003f98:	c2 04 20 98 	ld  [ %l0 + 0x98 ], %g1	! 2022898 <disktab_size>
 2003f9c:	35 00 80 8a 	sethi  %hi(0x2022800), %i2                     
 2003fa0:	b6 10 20 00 	clr  %i3                                       
 2003fa4:	fa 06 a0 9c 	ld  [ %i2 + 0x9c ], %i5                        
 2003fa8:	80 a0 60 00 	cmp  %g1, 0                                    
 2003fac:	02 80 00 1d 	be  2004020 <rtems_disk_io_done+0x90>          <== NEVER TAKEN
 2003fb0:	b2 14 20 98 	or  %l0, 0x98, %i1                             
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
                                                                      
rtems_status_code                                                     
rtems_disk_io_done(void)                                              
 2003fb4:	83 2e e0 03 	sll  %i3, 3, %g1                               
{                                                                     
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
    rtems_disk_device_table *dtab = disktab + major;                  
 2003fb8:	b8 07 40 01 	add  %i5, %g1, %i4                             
                                                                      
    for (minor = 0; minor < dtab->size; ++minor) {                    
 2003fbc:	c4 07 20 04 	ld  [ %i4 + 4 ], %g2                           
 2003fc0:	80 a0 a0 00 	cmp  %g2, 0                                    
 2003fc4:	02 80 00 10 	be  2004004 <rtems_disk_io_done+0x74>          
 2003fc8:	c6 07 40 01 	ld  [ %i5 + %g1 ], %g3                         
 2003fcc:	ba 10 20 00 	clr  %i5                                       
      rtems_disk_device *dd = dtab->minor [minor];                    
 2003fd0:	83 2f 60 02 	sll  %i5, 2, %g1                               
 2003fd4:	c2 00 c0 01 	ld  [ %g3 + %g1 ], %g1                         
                                                                      
      if (dd != NULL) {                                               
 2003fd8:	90 90 60 00 	orcc  %g1, 0, %o0                              
 2003fdc:	02 80 00 06 	be  2003ff4 <rtems_disk_io_done+0x64>          
 2003fe0:	ba 07 60 01 	inc  %i5                                       
        free_disk_device(dd);                                         
 2003fe4:	7f ff fd cb 	call  2003710 <free_disk_device>               
 2003fe8:	01 00 00 00 	nop                                            
 2003fec:	c4 07 20 04 	ld  [ %i4 + 4 ], %g2                           
 2003ff0:	c6 07 00 00 	ld  [ %i4 ], %g3                               
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
    rtems_disk_device_table *dtab = disktab + major;                  
                                                                      
    for (minor = 0; minor < dtab->size; ++minor) {                    
 2003ff4:	80 a0 80 1d 	cmp  %g2, %i5                                  
 2003ff8:	18 bf ff f7 	bgu  2003fd4 <rtems_disk_io_done+0x44>         
 2003ffc:	83 2f 60 02 	sll  %i5, 2, %g1                               
 2004000:	fa 06 a0 9c 	ld  [ %i2 + 0x9c ], %i5                        
                                                                      
      if (dd != NULL) {                                               
        free_disk_device(dd);                                         
      }                                                               
    }                                                                 
    free(dtab->minor);                                                
 2004004:	40 00 02 bb 	call  2004af0 <free>                           
 2004008:	90 10 00 03 	mov  %g3, %o0                                  
rtems_disk_io_done(void)                                              
{                                                                     
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
                                                                      
  for (major = 0; major < disktab_size; ++major) {                    
 200400c:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2004010:	b6 06 e0 01 	inc  %i3                                       
 2004014:	80 a0 40 1b 	cmp  %g1, %i3                                  
 2004018:	18 bf ff e8 	bgu  2003fb8 <rtems_disk_io_done+0x28>         
 200401c:	83 2e e0 03 	sll  %i3, 3, %g1                               
        free_disk_device(dd);                                         
      }                                                               
    }                                                                 
    free(dtab->minor);                                                
  }                                                                   
  free(disktab);                                                      
 2004020:	40 00 02 b4 	call  2004af0 <free>                           
 2004024:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  rtems_semaphore_delete(diskdevs_mutex);                             
 2004028:	3b 00 80 8a 	sethi  %hi(0x2022800), %i5                     
 200402c:	d0 07 60 94 	ld  [ %i5 + 0x94 ], %o0	! 2022894 <diskdevs_mutex>
 2004030:	40 00 14 0e 	call  2009068 <rtems_semaphore_delete>         
 2004034:	b0 10 20 00 	clr  %i0                                       
                                                                      
  diskdevs_mutex = RTEMS_ID_NONE;                                     
 2004038:	c0 27 60 94 	clr  [ %i5 + 0x94 ]                            
  disktab = NULL;                                                     
 200403c:	c0 26 a0 9c 	clr  [ %i2 + 0x9c ]                            
  disktab_size = 0;                                                   
 2004040:	c0 24 20 98 	clr  [ %l0 + 0x98 ]                            
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2004044:	81 c7 e0 08 	ret                                            
 2004048:	81 e8 00 00 	restore                                        
                                                                      

02003ee4 <rtems_disk_io_initialize>: } } rtems_status_code rtems_disk_io_initialize(void) {
 2003ee4:	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) {                                             
 2003ee8:	3b 00 80 8a 	sethi  %hi(0x2022800), %i5                     
 2003eec:	c2 07 60 98 	ld  [ %i5 + 0x98 ], %g1	! 2022898 <disktab_size>
 2003ef0:	80 a0 60 00 	cmp  %g1, 0                                    
 2003ef4:	12 80 00 19 	bne  2003f58 <rtems_disk_io_initialize+0x74>   
 2003ef8:	b0 10 20 00 	clr  %i0                                       
    return RTEMS_SUCCESSFUL;                                          
  }                                                                   
                                                                      
  disktab = calloc(size, sizeof(rtems_disk_device_table));            
 2003efc:	90 10 20 08 	mov  8, %o0                                    
 2003f00:	92 10 20 08 	mov  8, %o1                                    
 2003f04:	40 00 02 29 	call  20047a8 <calloc>                         
 2003f08:	39 00 80 8a 	sethi  %hi(0x2022800), %i4                     
 2003f0c:	d0 27 20 9c 	st  %o0, [ %i4 + 0x9c ]	! 202289c <disktab>    
  if (disktab == NULL) {                                              
 2003f10:	80 a2 20 00 	cmp  %o0, 0                                    
 2003f14:	02 80 00 11 	be  2003f58 <rtems_disk_io_initialize+0x74>    <== NEVER TAKEN
 2003f18:	b0 10 20 1a 	mov  0x1a, %i0                                 
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  diskdevs_protected = false;                                         
 2003f1c:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
  sc = rtems_semaphore_create(                                        
 2003f20:	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;                                         
 2003f24:	c0 28 60 90 	clrb  [ %g1 + 0x90 ]                           
  sc = rtems_semaphore_create(                                        
 2003f28:	90 12 21 56 	or  %o0, 0x156, %o0                            
 2003f2c:	92 10 20 01 	mov  1, %o1                                    
 2003f30:	94 10 20 10 	mov  0x10, %o2                                 
 2003f34:	96 10 20 00 	clr  %o3                                       
 2003f38:	37 00 80 8a 	sethi  %hi(0x2022800), %i3                     
 2003f3c:	40 00 13 d9 	call  2008ea0 <rtems_semaphore_create>         
 2003f40:	98 16 e0 94 	or  %i3, 0x94, %o4	! 2022894 <diskdevs_mutex>  
    RTEMS_FIFO | RTEMS_BINARY_SEMAPHORE | RTEMS_NO_INHERIT_PRIORITY   
      | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL,                      
    0,                                                                
    &diskdevs_mutex                                                   
  );                                                                  
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003f44:	80 a2 20 00 	cmp  %o0, 0                                    
 2003f48:	02 80 00 06 	be  2003f60 <rtems_disk_io_initialize+0x7c>    <== ALWAYS TAKEN
 2003f4c:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
    rtems_semaphore_delete(diskdevs_mutex);                           
    free(disktab);                                                    
 2003f50:	40 00 02 e8 	call  2004af0 <free>                           <== NOT EXECUTED
 2003f54:	d0 07 20 9c 	ld  [ %i4 + 0x9c ], %o0                        <== NOT EXECUTED
                                                                      
    return RTEMS_UNSATISFIED;                                         
 2003f58:	81 c7 e0 08 	ret                                            
 2003f5c:	81 e8 00 00 	restore                                        
    free(disktab);                                                    
                                                                      
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
 2003f60:	40 00 2b f6 	call  200ef38 <rtems_bdbuf_init>               
 2003f64:	01 00 00 00 	nop                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003f68:	80 a2 20 00 	cmp  %o0, 0                                    
 2003f6c:	12 80 00 05 	bne  2003f80 <rtems_disk_io_initialize+0x9c>   <== NEVER TAKEN
 2003f70:	82 10 20 08 	mov  8, %g1                                    
    free(disktab);                                                    
                                                                      
    return RTEMS_UNSATISFIED;                                         
  }                                                                   
                                                                      
  disktab_size = size;                                                
 2003f74:	c2 27 60 98 	st  %g1, [ %i5 + 0x98 ]                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2003f78:	81 c7 e0 08 	ret                                            
 2003f7c:	91 e8 20 00 	restore  %g0, 0, %o0                           
    return RTEMS_NO_MEMORY;                                           
  }                                                                   
                                                                      
  sc = rtems_bdbuf_init();                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
    rtems_semaphore_delete(diskdevs_mutex);                           
 2003f80:	d0 06 e0 94 	ld  [ %i3 + 0x94 ], %o0                        <== NOT EXECUTED
 2003f84:	40 00 14 39 	call  2009068 <rtems_semaphore_delete>         <== NOT EXECUTED
 2003f88:	b0 10 20 0d 	mov  0xd, %i0                                  <== NOT EXECUTED
 2003f8c:	30 bf ff f1 	b,a   2003f50 <rtems_disk_io_initialize+0x6c>  <== NOT EXECUTED
                                                                      

02003dec <rtems_disk_next>: rtems_disk_device * rtems_disk_next(dev_t dev) {
 2003dec:	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) {                                            
 2003df0:	80 a6 3f ff 	cmp  %i0, -1                                   
 2003df4:	02 80 00 37 	be  2003ed0 <rtems_disk_next+0xe4>             
 2003df8:	80 a6 7f ff 	cmp  %i1, -1                                   
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
 2003dfc:	ba 06 60 01 	add  %i1, 1, %i5                               
 2003e00:	80 a7 40 19 	cmp  %i5, %i1                                  
 2003e04:	0a 80 00 2e 	bcs  2003ebc <rtems_disk_next+0xd0>            <== NEVER TAKEN
 2003e08:	b8 10 00 18 	mov  %i0, %i4                                  
    } else {                                                          
      ++minor;                                                        
    }                                                                 
  }                                                                   
                                                                      
  sc = disk_lock();                                                   
 2003e0c:	7f ff fe 57 	call  2003768 <disk_lock>                      
 2003e10:	01 00 00 00 	nop                                            
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2003e14:	80 a2 20 00 	cmp  %o0, 0                                    
 2003e18:	12 80 00 27 	bne  2003eb4 <rtems_disk_next+0xc8>            <== NEVER TAKEN
 2003e1c:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
    return NULL;                                                      
  }                                                                   
                                                                      
  if (major >= disktab_size) {                                        
 2003e20:	c8 00 60 98 	ld  [ %g1 + 0x98 ], %g4	! 2022898 <disktab_size>
 2003e24:	80 a7 00 04 	cmp  %i4, %g4                                  
 2003e28:	1a 80 00 21 	bcc  2003eac <rtems_disk_next+0xc0>            <== NEVER TAKEN
 2003e2c:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
    disk_unlock();                                                    
                                                                      
    return NULL;                                                      
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
 2003e30:	c6 00 60 9c 	ld  [ %g1 + 0x9c ], %g3	! 202289c <disktab>    
 2003e34:	b7 2f 20 03 	sll  %i4, 3, %i3                               
 2003e38:	c2 00 c0 1b 	ld  [ %g3 + %i3 ], %g1                         
 2003e3c:	b6 00 c0 1b 	add  %g3, %i3, %i3                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
 2003e40:	80 a0 60 00 	cmp  %g1, 0                                    
 2003e44:	02 80 00 12 	be  2003e8c <rtems_disk_next+0xa0>             
 2003e48:	b5 2f 60 02 	sll  %i5, 2, %i2                               
 2003e4c:	c4 06 e0 04 	ld  [ %i3 + 4 ], %g2                           
 2003e50:	80 a7 40 02 	cmp  %i5, %g2                                  
 2003e54:	3a 80 00 0f 	bcc,a   2003e90 <rtems_disk_next+0xa4>         
 2003e58:	b8 07 20 01 	inc  %i4                                       
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
    } else if (dtab->minor [minor] == NULL) {                         
 2003e5c:	c4 00 40 1a 	ld  [ %g1 + %i2 ], %g2                         
 2003e60:	80 a0 a0 00 	cmp  %g2, 0                                    
 2003e64:	02 bf ff f7 	be  2003e40 <rtems_disk_next+0x54>             
 2003e68:	ba 07 60 01 	inc  %i5                                       
      ++minor;                                                        
    } else {                                                          
      ++dtab->minor [minor]->uses;                                    
 2003e6c:	c2 00 a0 14 	ld  [ %g2 + 0x14 ], %g1                        
 2003e70:	82 00 60 01 	inc  %g1                                       
      disk_unlock();                                                  
 2003e74:	7f ff fe 4c 	call  20037a4 <disk_unlock>                    
 2003e78:	c2 20 a0 14 	st  %g1, [ %g2 + 0x14 ]                        
                                                                      
      return dtab->minor [minor];                                     
 2003e7c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2003e80:	f0 00 40 1a 	ld  [ %g1 + %i2 ], %i0                         
    }                                                                 
  }                                                                   
}                                                                     
 2003e84:	81 c7 e0 08 	ret                                            
 2003e88:	81 e8 00 00 	restore                                        
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
       minor = 0;                                                     
       ++major;                                                       
 2003e8c:	b8 07 20 01 	inc  %i4                                       
       if (major >= disktab_size) {                                   
 2003e90:	80 a1 00 1c 	cmp  %g4, %i4                                  
 2003e94:	08 80 00 06 	bleu  2003eac <rtems_disk_next+0xc0>           
 2003e98:	83 2f 20 03 	sll  %i4, 3, %g1                               
  }                                                                   
                                                                      
  dtab = disktab + major;                                             
  while (true) {                                                      
    if (dtab->minor == NULL || minor >= dtab->size) {                 
       minor = 0;                                                     
 2003e9c:	ba 10 20 00 	clr  %i5                                       
       if (major >= disktab_size) {                                   
         disk_unlock();                                               
                                                                      
         return NULL;                                                 
       }                                                              
       dtab = disktab + major;                                        
 2003ea0:	b6 00 c0 01 	add  %g3, %g1, %i3                             
 2003ea4:	10 bf ff e7 	b  2003e40 <rtems_disk_next+0x54>              
 2003ea8:	c2 00 c0 01 	ld  [ %g3 + %g1 ], %g1                         
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return NULL;                                                      
  }                                                                   
                                                                      
  if (major >= disktab_size) {                                        
    disk_unlock();                                                    
 2003eac:	7f ff fe 3e 	call  20037a4 <disk_unlock>                    
 2003eb0:	01 00 00 00 	nop                                            
                                                                      
    return NULL;                                                      
 2003eb4:	81 c7 e0 08 	ret                                            
 2003eb8:	91 e8 20 00 	restore  %g0, 0, %o0                           
    rtems_filesystem_split_dev_t(dev, major, minor);                  
                                                                      
    /* If minor wraps around */                                       
    if ((minor + 1) < minor) {                                        
      /* If major wraps around */                                     
      if ((major + 1) < major) {                                      
 2003ebc:	b8 06 20 01 	add  %i0, 1, %i4                               <== NOT EXECUTED
 2003ec0:	80 a7 00 18 	cmp  %i4, %i0                                  <== NOT EXECUTED
 2003ec4:	1a bf ff d2 	bcc  2003e0c <rtems_disk_next+0x20>            <== NOT EXECUTED
 2003ec8:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
 2003ecc:	30 bf ff fa 	b,a   2003eb4 <rtems_disk_next+0xc8>           <== NOT EXECUTED
  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) {                                            
 2003ed0:	32 bf ff cc 	bne,a   2003e00 <rtems_disk_next+0x14>         <== NEVER TAKEN
 2003ed4:	ba 06 60 01 	add  %i1, 1, %i5                               <== NOT EXECUTED
rtems_disk_next(dev_t dev)                                            
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_disk_device_table *dtab = NULL;                               
  rtems_device_major_number major = 0;                                
  rtems_device_minor_number minor = 0;                                
 2003ed8:	ba 10 20 00 	clr  %i5                                       
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;                                
 2003edc:	10 bf ff cc 	b  2003e0c <rtems_disk_next+0x20>              
 2003ee0:	b8 10 20 00 	clr  %i4                                       
                                                                      

02003d1c <rtems_disk_obtain>: return RTEMS_SUCCESSFUL; } rtems_disk_device * rtems_disk_obtain(dev_t dev) {
 2003d1c:	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);                                     
 2003d20:	7f ff fc 5a 	call  2002e88 <sparc_disable_interrupts>       
 2003d24:	b8 10 00 18 	mov  %i0, %i4                                  
 2003d28:	b6 10 00 08 	mov  %o0, %i3                                  
  if (!diskdevs_protected) {                                          
 2003d2c:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 2003d30:	c2 08 60 90 	ldub  [ %g1 + 0x90 ], %g1	! 2022890 <diskdevs_protected>
 2003d34:	80 a0 60 00 	cmp  %g1, 0                                    
 2003d38:	22 80 00 10 	be,a   2003d78 <rtems_disk_obtain+0x5c>        <== ALWAYS TAKEN
 2003d3c:	90 10 00 18 	mov  %i0, %o0                                  
    /* Frequent and quickest case */                                  
    dd = get_disk_entry(dev, false);                                  
    rtems_interrupt_enable(level);                                    
  } else {                                                            
    rtems_interrupt_enable(level);                                    
 2003d40:	7f ff fc 56 	call  2002e98 <sparc_enable_interrupts>        <== NOT EXECUTED
 2003d44:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      
    sc = disk_lock();                                                 
 2003d48:	7f ff fe 88 	call  2003768 <disk_lock>                      <== NOT EXECUTED
 2003d4c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    if (sc == RTEMS_SUCCESSFUL) {                                     
 2003d50:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2003d54:	12 80 00 07 	bne  2003d70 <rtems_disk_obtain+0x54>          <== NOT EXECUTED
 2003d58:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
      dd = get_disk_entry(dev, false);                                
 2003d5c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2003d60:	7f ff fe 45 	call  2003674 <get_disk_entry>                 <== NOT EXECUTED
 2003d64:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
      disk_unlock();                                                  
 2003d68:	7f ff fe 8f 	call  20037a4 <disk_unlock>                    <== NOT EXECUTED
 2003d6c:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  return dd;                                                          
}                                                                     
 2003d70:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2003d74:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rtems_interrupt_level level;                                        
                                                                      
  rtems_interrupt_disable(level);                                     
  if (!diskdevs_protected) {                                          
    /* Frequent and quickest case */                                  
    dd = get_disk_entry(dev, false);                                  
 2003d78:	92 10 00 19 	mov  %i1, %o1                                  
 2003d7c:	7f ff fe 3e 	call  2003674 <get_disk_entry>                 
 2003d80:	94 10 20 00 	clr  %o2                                       
 2003d84:	b0 10 00 08 	mov  %o0, %i0                                  
    rtems_interrupt_enable(level);                                    
 2003d88:	7f ff fc 44 	call  2002e98 <sparc_enable_interrupts>        
 2003d8c:	90 10 00 1b 	mov  %i3, %o0                                  
 2003d90:	81 c7 e0 08 	ret                                            
 2003d94:	81 e8 00 00 	restore                                        
                                                                      

02007e64 <rtems_fdisk_abort.constprop.1>: * * @param format The format string. See printf for details. * @param ... The arguments for the format text. */ static void rtems_fdisk_abort (const char *format, ...)
 2007e64:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
{                                                                     
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "fdisk:abort:");                                   
 2007e68:	31 00 80 e2 	sethi  %hi(0x2038800), %i0                     <== NOT EXECUTED
 2007e6c:	c2 06 22 10 	ld  [ %i0 + 0x210 ], %g1	! 2038a10 <_impure_ptr><== NOT EXECUTED
 */                                                                   
static void                                                           
rtems_fdisk_abort (const char *format, ...)                           
{                                                                     
  va_list args;                                                       
  va_start (args, format);                                            
 2007e70:	f2 27 a0 48 	st  %i1, [ %fp + 0x48 ]                        <== NOT EXECUTED
 2007e74:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        <== NOT EXECUTED
 2007e78:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        <== NOT EXECUTED
 2007e7c:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        <== NOT EXECUTED
 2007e80:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        <== NOT EXECUTED
  fprintf (stderr, "fdisk:abort:");                                   
 2007e84:	d6 00 60 0c 	ld  [ %g1 + 0xc ], %o3                         <== NOT EXECUTED
 */                                                                   
static void                                                           
rtems_fdisk_abort (const char *format, ...)                           
{                                                                     
  va_list args;                                                       
  va_start (args, format);                                            
 2007e88:	82 07 a0 48 	add  %fp, 0x48, %g1                            <== NOT EXECUTED
  fprintf (stderr, "fdisk:abort:");                                   
 2007e8c:	94 10 20 0c 	mov  0xc, %o2                                  <== NOT EXECUTED
 2007e90:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 */                                                                   
static void                                                           
rtems_fdisk_abort (const char *format, ...)                           
{                                                                     
  va_list args;                                                       
  va_start (args, format);                                            
 2007e94:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
  fprintf (stderr, "fdisk:abort:");                                   
 2007e98:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
 2007e9c:	40 00 71 6f 	call  2024458 <fwrite>                         <== NOT EXECUTED
 2007ea0:	90 12 22 80 	or  %o0, 0x280, %o0	! 2033a80 <__FUNCTION__.7063+0x910><== NOT EXECUTED
  vfprintf (stderr, format, args);                                    
 2007ea4:	c2 06 22 10 	ld  [ %i0 + 0x210 ], %g1                       <== NOT EXECUTED
 2007ea8:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
 2007eac:	d2 00 60 0c 	ld  [ %g1 + 0xc ], %o1                         <== NOT EXECUTED
 2007eb0:	40 00 6f bd 	call  2023da4 <fputs>                          <== NOT EXECUTED
 2007eb4:	90 12 22 90 	or  %o0, 0x290, %o0                            <== NOT EXECUTED
  fprintf (stderr, "\n");                                             
 2007eb8:	c2 06 22 10 	ld  [ %i0 + 0x210 ], %g1                       <== NOT EXECUTED
 2007ebc:	90 10 20 0a 	mov  0xa, %o0                                  <== NOT EXECUTED
 2007ec0:	40 00 6f 85 	call  2023cd4 <fputc>                          <== NOT EXECUTED
 2007ec4:	d2 00 60 0c 	ld  [ %g1 + 0xc ], %o1                         <== NOT EXECUTED
  fflush (stderr);                                                    
 2007ec8:	c2 06 22 10 	ld  [ %i0 + 0x210 ], %g1                       <== NOT EXECUTED
 2007ecc:	40 00 6e 74 	call  202389c <fflush>                         <== NOT EXECUTED
 2007ed0:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         <== NOT EXECUTED
  va_end (args);                                                      
  exit (1);                                                           
 2007ed4:	40 00 6d 72 	call  202349c <exit>                           <== NOT EXECUTED
 2007ed8:	90 10 20 01 	mov  1, %o0                                    <== NOT EXECUTED
                                                                      

02005e98 <rtems_fdisk_compact>: * used segments that will fit. The used queue is sorted on the least * number of active pages. */ static int rtems_fdisk_compact (rtems_flashdisk* fd) {
 2005e98:	9d e3 bf 98 	save  %sp, -104, %sp                           
static bool                                                           
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
 2005e9c:	c4 06 20 28 	ld  [ %i0 + 0x28 ], %g2                        
 2005ea0:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 2005ea4:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005ea8:	1a 80 00 20 	bcc  2005f28 <rtems_fdisk_compact+0x90>        
 2005eac:	a6 10 00 18 	mov  %i0, %l3                                  
    fd->starvations++;                                                
 2005eb0:	c2 06 20 70 	ld  [ %i0 + 0x70 ], %g1                        
  uint32_t pages;                                                     
                                                                      
  if (rtems_fdisk_is_erased_blocks_starvation (fd))                   
  {                                                                   
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " resolve starvation");                   
 2005eb4:	90 10 00 18 	mov  %i0, %o0                                  
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
    fd->starvations++;                                                
 2005eb8:	82 00 60 01 	inc  %g1                                       
  uint32_t pages;                                                     
                                                                      
  if (rtems_fdisk_is_erased_blocks_starvation (fd))                   
  {                                                                   
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " resolve starvation");                   
 2005ebc:	13 00 80 ce 	sethi  %hi(0x2033800), %o1                     
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
    fd->starvations++;                                                
 2005ec0:	c2 26 20 70 	st  %g1, [ %i0 + 0x70 ]                        
  uint32_t pages;                                                     
                                                                      
  if (rtems_fdisk_is_erased_blocks_starvation (fd))                   
  {                                                                   
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " resolve starvation");                   
 2005ec4:	7f ff fc a7 	call  2005160 <rtems_fdisk_printf>             
 2005ec8:	92 12 61 88 	or  %o1, 0x188, %o1                            
 * Pop the head of the segment control queue.                         
 */                                                                   
static rtems_fdisk_segment_ctl*                                       
rtems_fdisk_segment_queue_pop_head (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  if (queue->head)                                                    
 2005ecc:	fa 06 20 40 	ld  [ %i0 + 0x40 ], %i5                        
 2005ed0:	80 a7 60 00 	cmp  %i5, 0                                    
 2005ed4:	22 80 00 83 	be,a   20060e0 <rtems_fdisk_compact+0x248>     <== NEVER TAKEN
 2005ed8:	fa 06 20 34 	ld  [ %i0 + 0x34 ], %i5                        <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
 2005edc:	c2 07 40 00 	ld  [ %i5 ], %g1                               
    if (!queue->head)                                                 
 2005ee0:	80 a0 60 00 	cmp  %g1, 0                                    
 2005ee4:	02 80 00 9f 	be  2006160 <rtems_fdisk_compact+0x2c8>        <== NEVER TAKEN
 2005ee8:	c2 26 20 40 	st  %g1, [ %i0 + 0x40 ]                        
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
 2005eec:	c2 04 e0 48 	ld  [ %l3 + 0x48 ], %g1                        
 2005ef0:	82 00 7f ff 	add  %g1, -1, %g1                              
 2005ef4:	c2 24 e0 48 	st  %g1, [ %l3 + 0x48 ]                        
                                                                      
    sc->next = 0;                                                     
 2005ef8:	c0 27 40 00 	clr  [ %i5 ]                                   
    if (!ssc)                                                         
      ssc = rtems_fdisk_segment_queue_pop_head (&fd->available);      
                                                                      
    if (ssc)                                                          
    {                                                                 
      dsc = rtems_fdisk_seg_most_available (&fd->available);          
 2005efc:	7f ff fc 59 	call  2005060 <rtems_fdisk_seg_most_available> 
 2005f00:	90 04 e0 34 	add  %l3, 0x34, %o0                            
      if (dsc)                                                        
 2005f04:	94 92 20 00 	orcc  %o0, 0, %o2                              
 2005f08:	02 80 00 8b 	be  2006134 <rtems_fdisk_compact+0x29c>        <== NEVER TAKEN
 2005f0c:	92 10 00 1d 	mov  %i5, %o1                                  
      {                                                               
        ret = rtems_fdisk_recycle_segment (fd, ssc, dsc, &pages);     
 2005f10:	90 10 00 13 	mov  %l3, %o0                                  
 2005f14:	7f ff fe d1 	call  2005a58 <rtems_fdisk_recycle_segment>    
 2005f18:	96 07 bf fc 	add  %fp, -4, %o3                              
        if (ret)                                                      
 2005f1c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2005f20:	12 80 00 8e 	bne  2006158 <rtems_fdisk_compact+0x2c0>       <== NEVER TAKEN
 2005f24:	01 00 00 00 	nop                                            
 2005f28:	d2 04 e0 40 	ld  [ %l3 + 0x40 ], %o1                        
  {                                                                   
    uint32_t                 dst_pages;                               
    uint32_t                 segments;                                
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " compacting");                           
 2005f2c:	21 00 80 ce 	sethi  %hi(0x2033800), %l0                     
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
    pages = 0;                                                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " dsc:%02d-%03d: most available",         
 2005f30:	23 00 80 ce 	sethi  %hi(0x2033800), %l1                     
#endif                                                                
      break;                                                          
    }                                                                 
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " ssc scan: %d-%d: p=%ld, seg=%ld",       
 2005f34:	25 00 80 ce 	sethi  %hi(0x2033800), %l2                     
                                                                      
    while (ssc &&                                                     
           ((pages + ssc->pages_active) < dst_pages) &&               
           ((compacted_segs + segments) < fd->compact_segs))          
    {                                                                 
      pages += ssc->pages_active;                                     
 2005f38:	b8 10 20 00 	clr  %i4                                       
  {                                                                   
    uint32_t                 dst_pages;                               
    uint32_t                 segments;                                
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " compacting");                           
 2005f3c:	a0 14 21 b8 	or  %l0, 0x1b8, %l0                            
#endif                                                                
                                                                      
    dsc = rtems_fdisk_seg_most_available (&fd->available);            
 2005f40:	b2 04 e0 34 	add  %l3, 0x34, %i1                            
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
    pages = 0;                                                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " dsc:%02d-%03d: most available",         
 2005f44:	a2 14 62 00 	or  %l1, 0x200, %l1                            
#endif                                                                
      break;                                                          
    }                                                                 
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " ssc scan: %d-%d: p=%ld, seg=%ld",       
 2005f48:	a4 14 a2 38 	or  %l2, 0x238, %l2                            
      rtems_fdisk_error ("compacting: nothing to recycle");           
      return EIO;                                                     
    }                                                                 
  }                                                                   
                                                                      
  while (fd->used.head)                                               
 2005f4c:	80 a2 60 00 	cmp  %o1, 0                                    
 2005f50:	02 80 00 70 	be  2006110 <rtems_fdisk_compact+0x278>        
 2005f54:	92 10 00 10 	mov  %l0, %o1                                  
  {                                                                   
    uint32_t                 dst_pages;                               
    uint32_t                 segments;                                
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " compacting");                           
 2005f58:	7f ff fc 82 	call  2005160 <rtems_fdisk_printf>             
 2005f5c:	90 10 00 13 	mov  %l3, %o0                                  
#endif                                                                
                                                                      
    dsc = rtems_fdisk_seg_most_available (&fd->available);            
 2005f60:	7f ff fc 40 	call  2005060 <rtems_fdisk_seg_most_available> 
 2005f64:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
    if (dsc == 0)                                                     
 2005f68:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2005f6c:	02 80 00 6b 	be  2006118 <rtems_fdisk_compact+0x280>        <== NEVER TAKEN
 2005f70:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     
 * with the most available number of pages and see if we have         
 * used segments that will fit. The used queue is sorted on the least 
 * number of active pages.                                            
 */                                                                   
static int                                                            
rtems_fdisk_compact (rtems_flashdisk* fd)                             
 2005f74:	f6 06 a0 24 	ld  [ %i2 + 0x24 ], %i3                        
 2005f78:	c6 06 a0 20 	ld  [ %i2 + 0x20 ], %g3                        
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 2005f7c:	c4 06 a0 14 	ld  [ %i2 + 0x14 ], %g2                        
 2005f80:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
    pages = 0;                                                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " dsc:%02d-%03d: most available",         
 2005f84:	d4 06 a0 08 	ld  [ %i2 + 8 ], %o2                           
 2005f88:	d6 06 a0 0c 	ld  [ %i2 + 0xc ], %o3                         
    {                                                                 
      rtems_fdisk_error ("compacting: no available segments to compact too");
      return EIO;                                                     
    }                                                                 
                                                                      
    ssc = fd->used.head;                                              
 2005f8c:	fa 04 e0 40 	ld  [ %l3 + 0x40 ], %i5                        
 * with the most available number of pages and see if we have         
 * used segments that will fit. The used queue is sorted on the least 
 * number of active pages.                                            
 */                                                                   
static int                                                            
rtems_fdisk_compact (rtems_flashdisk* fd)                             
 2005f90:	b6 06 c0 03 	add  %i3, %g3, %i3                             
    }                                                                 
                                                                      
    ssc = fd->used.head;                                              
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
    pages = 0;                                                        
 2005f94:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 2005f98:	b6 20 80 1b 	sub  %g2, %i3, %i3                             
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
    pages = 0;                                                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " dsc:%02d-%03d: most available",         
 2005f9c:	90 10 00 13 	mov  %l3, %o0                                  
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 2005fa0:	b6 26 c0 01 	sub  %i3, %g1, %i3                             
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
    pages = 0;                                                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " dsc:%02d-%03d: most available",         
 2005fa4:	7f ff fc 6f 	call  2005160 <rtems_fdisk_printf>             
 2005fa8:	92 10 00 11 	mov  %l1, %o1                                  
     * we handle during one compaction. A lower number means less aggressive
     * compaction or less delay when compacting but it may mean the disk
     * will fill.                                                     
     */                                                               
                                                                      
    while (ssc &&                                                     
 2005fac:	80 a7 60 00 	cmp  %i5, 0                                    
 2005fb0:	02 80 00 1b 	be  200601c <rtems_fdisk_compact+0x184>        <== NEVER TAKEN
 2005fb4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
           ((pages + ssc->pages_active) < dst_pages) &&               
 2005fb8:	d8 07 60 1c 	ld  [ %i5 + 0x1c ], %o4                        
 2005fbc:	98 00 40 0c 	add  %g1, %o4, %o4                             
     * we handle during one compaction. A lower number means less aggressive
     * compaction or less delay when compacting but it may mean the disk
     * will fill.                                                     
     */                                                               
                                                                      
    while (ssc &&                                                     
 2005fc0:	80 a6 c0 0c 	cmp  %i3, %o4                                  
 2005fc4:	28 80 00 45 	bleu,a   20060d8 <rtems_fdisk_compact+0x240>   
 2005fc8:	98 10 00 01 	mov  %g1, %o4                                  
           ((pages + ssc->pages_active) < dst_pages) &&               
           ((compacted_segs + segments) < fd->compact_segs))          
 2005fcc:	c6 04 e0 0c 	ld  [ %l3 + 0xc ], %g3                         
     * compaction or less delay when compacting but it may mean the disk
     * will fill.                                                     
     */                                                               
                                                                      
    while (ssc &&                                                     
           ((pages + ssc->pages_active) < dst_pages) &&               
 2005fd0:	80 a7 00 03 	cmp  %i4, %g3                                  
 2005fd4:	3a 80 00 41 	bcc,a   20060d8 <rtems_fdisk_compact+0x240>    <== NEVER TAKEN
 2005fd8:	98 10 00 01 	mov  %g1, %o4                                  <== NOT EXECUTED
 2005fdc:	10 80 00 0b 	b  2006008 <rtems_fdisk_compact+0x170>         
 2005fe0:	9a 10 20 00 	clr  %o5                                       
 2005fe4:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 2005fe8:	82 03 00 01 	add  %o4, %g1, %g1                             
     * we handle during one compaction. A lower number means less aggressive
     * compaction or less delay when compacting but it may mean the disk
     * will fill.                                                     
     */                                                               
                                                                      
    while (ssc &&                                                     
 2005fec:	80 a0 40 1b 	cmp  %g1, %i3                                  
 2005ff0:	1a 80 00 12 	bcc  2006038 <rtems_fdisk_compact+0x1a0>       
 2005ff4:	84 07 00 0d 	add  %i4, %o5, %g2                             
           ((pages + ssc->pages_active) < dst_pages) &&               
 2005ff8:	80 a0 80 03 	cmp  %g2, %g3                                  
 2005ffc:	3a 80 00 10 	bcc,a   200603c <rtems_fdisk_compact+0x1a4>    <== NEVER TAKEN
 2006000:	d8 27 bf fc 	st  %o4, [ %fp + -4 ]                          <== NOT EXECUTED
 2006004:	98 10 00 01 	mov  %g1, %o4                                  
           ((compacted_segs + segments) < fd->compact_segs))          
    {                                                                 
      pages += ssc->pages_active;                                     
      segments++;                                                     
      ssc = ssc->next;                                                
 2006008:	fa 07 40 00 	ld  [ %i5 ], %i5                               
     * we handle during one compaction. A lower number means less aggressive
     * compaction or less delay when compacting but it may mean the disk
     * will fill.                                                     
     */                                                               
                                                                      
    while (ssc &&                                                     
 200600c:	80 a7 60 00 	cmp  %i5, 0                                    
 2006010:	12 bf ff f5 	bne  2005fe4 <rtems_fdisk_compact+0x14c>       
 2006014:	9a 03 60 01 	inc  %o5                                       
 2006018:	d8 27 bf fc 	st  %o4, [ %fp + -4 ]                          
     */                                                               
                                                                      
    if (!ssc || (pages == 0) || ((compacted_segs + segments) == 1))   
    {                                                                 
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_printf (fd, " nothing to compact");                 
 200601c:	90 10 00 13 	mov  %l3, %o0                                  
 2006020:	13 00 80 ce 	sethi  %hi(0x2033800), %o1                     
    }                                                                 
                                                                      
    compacted_segs += segments;                                       
  }                                                                   
                                                                      
  return 0;                                                           
 2006024:	b0 10 20 00 	clr  %i0                                       
     */                                                               
                                                                      
    if (!ssc || (pages == 0) || ((compacted_segs + segments) == 1))   
    {                                                                 
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_printf (fd, " nothing to compact");                 
 2006028:	7f ff fc 4e 	call  2005160 <rtems_fdisk_printf>             
 200602c:	92 12 62 20 	or  %o1, 0x220, %o1                            
#endif                                                                
      break;                                                          
 2006030:	81 c7 e0 08 	ret                                            
 2006034:	81 e8 00 00 	restore                                        
 2006038:	d8 27 bf fc 	st  %o4, [ %fp + -4 ]                          
     * We need a source segment and have pages to copy and            
     * compacting one segment to another is silly. Compaction needs   
     * to free at least one more segment.                             
     */                                                               
                                                                      
    if (!ssc || (pages == 0) || ((compacted_segs + segments) == 1))   
 200603c:	80 a3 20 00 	cmp  %o4, 0                                    
 2006040:	02 bf ff f8 	be  2006020 <rtems_fdisk_compact+0x188>        
 2006044:	90 10 00 13 	mov  %l3, %o0                                  
 2006048:	b8 07 00 0d 	add  %i4, %o5, %i4                             
 200604c:	80 a7 20 01 	cmp  %i4, 1                                    
 2006050:	22 bf ff f5 	be,a   2006024 <rtems_fdisk_compact+0x18c>     
 2006054:	13 00 80 ce 	sethi  %hi(0x2033800), %o1                     
#endif                                                                
      break;                                                          
    }                                                                 
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_printf (fd, " ssc scan: %d-%d: p=%ld, seg=%ld",       
 2006058:	d4 07 60 08 	ld  [ %i5 + 8 ], %o2                           
 200605c:	d6 07 60 0c 	ld  [ %i5 + 0xc ], %o3                         
 2006060:	92 10 00 12 	mov  %l2, %o1                                  
 2006064:	7f ff fc 3f 	call  2005160 <rtems_fdisk_printf>             
 2006068:	90 10 00 13 	mov  %l3, %o0                                  
                        ssc->device, ssc->segment,                    
                        pages, segments);                             
#endif                                                                
                                                                      
    rtems_fdisk_segment_queue_remove (&fd->available, dsc);           
 200606c:	90 10 00 19 	mov  %i1, %o0                                  
 2006070:	7f ff fb 9b 	call  2004edc <rtems_fdisk_segment_queue_remove>
 2006074:	92 10 00 1a 	mov  %i2, %o1                                  
 2006078:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200607c:	d2 04 e0 40 	ld  [ %l3 + 0x40 ], %o1                        
                                                                      
    /*                                                                
     * We now copy the pages to the new segment.                      
     */                                                               
                                                                      
    while (pages)                                                     
 2006080:	80 a0 60 00 	cmp  %g1, 0                                    
 2006084:	02 bf ff b3 	be  2005f50 <rtems_fdisk_compact+0xb8>         
 2006088:	80 a2 60 00 	cmp  %o1, 0                                    
 * Pop the head of the segment control queue.                         
 */                                                                   
static rtems_fdisk_segment_ctl*                                       
rtems_fdisk_segment_queue_pop_head (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  if (queue->head)                                                    
 200608c:	02 bf ff fe 	be  2006084 <rtems_fdisk_compact+0x1ec>        <== NEVER TAKEN
 2006090:	80 a0 60 00 	cmp  %g1, 0                                    
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
 2006094:	c2 02 40 00 	ld  [ %o1 ], %g1                               
    if (!queue->head)                                                 
 2006098:	80 a0 60 00 	cmp  %g1, 0                                    
 200609c:	02 80 00 24 	be  200612c <rtems_fdisk_compact+0x294>        <== NEVER TAKEN
 20060a0:	c2 24 e0 40 	st  %g1, [ %l3 + 0x40 ]                        
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
 20060a4:	c2 04 e0 48 	ld  [ %l3 + 0x48 ], %g1                        
    {                                                                 
      ssc = rtems_fdisk_segment_queue_pop_head (&fd->used);           
                                                                      
      if (ssc)                                                        
      {                                                               
        ret = rtems_fdisk_recycle_segment (fd, ssc, dsc, &pages);     
 20060a8:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
 20060ac:	82 00 7f ff 	add  %g1, -1, %g1                              
 20060b0:	c2 24 e0 48 	st  %g1, [ %l3 + 0x48 ]                        
                                                                      
    sc->next = 0;                                                     
 20060b4:	c0 22 40 00 	clr  [ %o1 ]                                   
    {                                                                 
      ssc = rtems_fdisk_segment_queue_pop_head (&fd->used);           
                                                                      
      if (ssc)                                                        
      {                                                               
        ret = rtems_fdisk_recycle_segment (fd, ssc, dsc, &pages);     
 20060b8:	94 10 00 1a 	mov  %i2, %o2                                  
 20060bc:	7f ff fe 67 	call  2005a58 <rtems_fdisk_recycle_segment>    
 20060c0:	96 07 bf fc 	add  %fp, -4, %o3                              
        if (ret)                                                      
 20060c4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20060c8:	02 bf ff ed 	be  200607c <rtems_fdisk_compact+0x1e4>        <== ALWAYS TAKEN
 20060cc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
    compacted_segs += segments;                                       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 20060d0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20060d4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      return EIO;                                                     
    }                                                                 
                                                                      
    ssc = fd->used.head;                                              
    dst_pages = rtems_fdisk_seg_pages_available (dsc);                
    segments = 0;                                                     
 20060d8:	10 bf ff d9 	b  200603c <rtems_fdisk_compact+0x1a4>         
 20060dc:	9a 10 20 00 	clr  %o5                                       
 * Pop the head of the segment control queue.                         
 */                                                                   
static rtems_fdisk_segment_ctl*                                       
rtems_fdisk_segment_queue_pop_head (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  if (queue->head)                                                    
 20060e0:	80 a7 60 00 	cmp  %i5, 0                                    <== NOT EXECUTED
 20060e4:	02 80 00 1a 	be  200614c <rtems_fdisk_compact+0x2b4>        <== NOT EXECUTED
 20060e8:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
 20060ec:	c2 07 40 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
    if (!queue->head)                                                 
 20060f0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20060f4:	02 80 00 1d 	be  2006168 <rtems_fdisk_compact+0x2d0>        <== NOT EXECUTED
 20060f8:	c2 24 e0 34 	st  %g1, [ %l3 + 0x34 ]                        <== NOT EXECUTED
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
 20060fc:	c2 04 e0 3c 	ld  [ %l3 + 0x3c ], %g1                        <== NOT EXECUTED
 2006100:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 2006104:	c2 24 e0 3c 	st  %g1, [ %l3 + 0x3c ]                        <== NOT EXECUTED
                                                                      
    sc->next = 0;                                                     
 2006108:	10 bf ff 7d 	b  2005efc <rtems_fdisk_compact+0x64>          <== NOT EXECUTED
 200610c:	c0 27 40 00 	clr  [ %i5 ]                                   <== NOT EXECUTED
    }                                                                 
                                                                      
    compacted_segs += segments;                                       
  }                                                                   
                                                                      
  return 0;                                                           
 2006110:	81 c7 e0 08 	ret                                            
 2006114:	91 e8 20 00 	restore  %g0, 0, %o0                           
    dsc = rtems_fdisk_seg_most_available (&fd->available);            
                                                                      
    if (dsc == 0)                                                     
    {                                                                 
      rtems_fdisk_error ("compacting: no available segments to compact too");
      return EIO;                                                     
 2006118:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
                                                                      
    dsc = rtems_fdisk_seg_most_available (&fd->available);            
                                                                      
    if (dsc == 0)                                                     
    {                                                                 
      rtems_fdisk_error ("compacting: no available segments to compact too");
 200611c:	7f ff fc eb 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2006120:	90 12 21 c8 	or  %o0, 0x1c8, %o0                            <== NOT EXECUTED
 2006124:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006128:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
 200612c:	10 bf ff de 	b  20060a4 <rtems_fdisk_compact+0x20c>         <== NOT EXECUTED
 2006130:	c0 24 e0 44 	clr  [ %l3 + 0x44 ]                            <== NOT EXECUTED
        if (ret)                                                      
          return ret;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_fdisk_error ("compacting: starvation");                 
 2006134:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
        return EIO;                                                   
 2006138:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
        if (ret)                                                      
          return ret;                                                 
      }                                                               
      else                                                            
      {                                                               
        rtems_fdisk_error ("compacting: starvation");                 
 200613c:	7f ff fc e3 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2006140:	90 12 21 a0 	or  %o0, 0x1a0, %o0                            <== NOT EXECUTED
 2006144:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006148:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      rtems_fdisk_error ("compacting: nothing to recycle");           
      return EIO;                                                     
 200614c:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
        return EIO;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      rtems_fdisk_error ("compacting: nothing to recycle");           
 2006150:	7f ff fc de 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2006154:	90 12 22 60 	or  %o0, 0x260, %o0                            <== NOT EXECUTED
 2006158:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200615c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
 2006160:	10 bf ff 63 	b  2005eec <rtems_fdisk_compact+0x54>          <== NOT EXECUTED
 2006164:	c0 26 20 44 	clr  [ %i0 + 0x44 ]                            <== NOT EXECUTED
 2006168:	10 bf ff e5 	b  20060fc <rtems_fdisk_compact+0x264>         <== NOT EXECUTED
 200616c:	c0 24 e0 38 	clr  [ %l3 + 0x38 ]                            <== NOT EXECUTED
                                                                      

02005544 <rtems_fdisk_erase_segment>: /** * Erase the segment. */ static int rtems_fdisk_erase_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc) {
 2005544:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int                                ret;                             
  uint32_t                           device;                          
  uint32_t                           segment;                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
 2005548:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 200554c:	c4 06 20 2c 	ld  [ %i0 + 0x2c ], %g2                        
 2005550:	87 2a 60 04 	sll  %o1, 4, %g3                               
 2005554:	83 2a 60 02 	sll  %o1, 2, %g1                               
 2005558:	82 20 c0 01 	sub  %g3, %g1, %g1                             
 200555c:	86 00 80 01 	add  %g2, %g1, %g3                             
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
  segment = sc->segment;                                              
  sd = rtems_fdisk_seg_descriptor (fd, device, segment);              
  ops = fd->devices[device].descriptor->flash_ops;                    
 2005560:	c6 00 e0 08 	ld  [ %g3 + 8 ], %g3                           
  uint32_t                           device;                          
  uint32_t                           segment;                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
  segment = sc->segment;                                              
 2005564:	d4 06 60 0c 	ld  [ %i1 + 0xc ], %o2                         
  sd = rtems_fdisk_seg_descriptor (fd, device, segment);              
  ops = fd->devices[device].descriptor->flash_ops;                    
  ret = ops->erase (sd, device, segment);                             
 2005568:	f8 00 e0 08 	ld  [ %g3 + 8 ], %i4                           
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 200556c:	c6 00 80 01 	ld  [ %g2 + %g1 ], %g3                         
 2005570:	89 2a a0 06 	sll  %o2, 6, %g4                               
 2005574:	85 2a a0 04 	sll  %o2, 4, %g2                               
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
  segment = sc->segment;                                              
  sd = rtems_fdisk_seg_descriptor (fd, device, segment);              
  ops = fd->devices[device].descriptor->flash_ops;                    
  ret = ops->erase (sd, device, segment);                             
 2005578:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 200557c:	84 21 00 02 	sub  %g4, %g2, %g2                             
 2005580:	84 00 c0 02 	add  %g3, %g2, %g2                             
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
  segment = sc->segment;                                              
  sd = rtems_fdisk_seg_descriptor (fd, device, segment);              
  ops = fd->devices[device].descriptor->flash_ops;                    
  ret = ops->erase (sd, device, segment);                             
 2005584:	d0 00 a0 04 	ld  [ %g2 + 4 ], %o0                           
 2005588:	9f c0 40 00 	call  %g1                                      
 200558c:	ba 10 00 18 	mov  %i0, %i5                                  
  if (ret)                                                            
 2005590:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2005594:	22 80 00 24 	be,a   2005624 <rtems_fdisk_erase_segment+0xe0><== ALWAYS TAKEN
 2005598:	c6 07 60 28 	ld  [ %i5 + 0x28 ], %g3                        
  {                                                                   
    rtems_fdisk_error (" erase-segment:%02d-%03d: "      \            
 200559c:	f6 06 60 08 	ld  [ %i1 + 8 ], %i3                           <== NOT EXECUTED
 20055a0:	40 00 81 90 	call  2025be0 <strerror>                       <== NOT EXECUTED
 20055a4:	f8 06 60 0c 	ld  [ %i1 + 0xc ], %i4                         <== NOT EXECUTED
 20055a8:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 20055ac:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 20055b0:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 20055b4:	11 00 80 cd 	sethi  %hi(0x2033400), %o0                     <== NOT EXECUTED
 20055b8:	98 10 00 18 	mov  %i0, %o4                                  <== NOT EXECUTED
 20055bc:	7f ff ff c3 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 20055c0:	90 12 23 70 	or  %o0, 0x370, %o0                            <== NOT EXECUTED
 */                                                                   
static bool                                                           
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
 20055c4:	c2 07 60 58 	ld  [ %i5 + 0x58 ], %g1                        <== NOT EXECUTED
  if (ret)                                                            
  {                                                                   
    rtems_fdisk_error (" erase-segment:%02d-%03d: "      \            
                       "segment erase failed: %s (%d)",               
                       sc->device, sc->segment, strerror (ret), ret); 
    sc->failed = true;                                                
 20055c8:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
                                                                      
  while (it)                                                          
 20055cc:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20055d0:	02 80 00 36 	be  20056a8 <rtems_fdisk_erase_segment+0x164>  <== NOT EXECUTED
 20055d4:	c4 26 60 28 	st  %g2, [ %i1 + 0x28 ]                        <== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
 20055d8:	80 a6 40 01 	cmp  %i1, %g1                                  <== NOT EXECUTED
 20055dc:	32 80 00 06 	bne,a   20055f4 <rtems_fdisk_erase_segment+0xb0><== NOT EXECUTED
 20055e0:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
 20055e4:	30 80 00 35 	b,a   20056b8 <rtems_fdisk_erase_segment+0x174><== NOT EXECUTED
 20055e8:	02 80 00 34 	be  20056b8 <rtems_fdisk_erase_segment+0x174>  <== NOT EXECUTED
 20055ec:	01 00 00 00 	nop                                            <== NOT EXECUTED
      return true;                                                    
    it = it->next;                                                    
 20055f0:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
                                                                      
  while (it)                                                          
 20055f4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20055f8:	12 bf ff fc 	bne  20055e8 <rtems_fdisk_erase_segment+0xa4>  <== NOT EXECUTED
 20055fc:	80 a6 40 01 	cmp  %i1, %g1                                  <== NOT EXECUTED
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
 2005600:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        <== NOT EXECUTED
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
 2005604:	c0 26 40 00 	clr  [ %i1 ]                                   <== NOT EXECUTED
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
 2005608:	f2 20 40 00 	st  %i1, [ %g1 ]                               <== NOT EXECUTED
      queue->tail       = sc;                                         
 200560c:	f2 27 60 5c 	st  %i1, [ %i5 + 0x5c ]                        <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
 2005610:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        <== NOT EXECUTED
 2005614:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2005618:	c2 27 60 60 	st  %g1, [ %i5 + 0x60 ]                        <== NOT EXECUTED
 200561c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005620:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      rtems_fdisk_segment_queue_push_tail (&fd->failed, sc);          
    return ret;                                                       
  }                                                                   
                                                                      
  fd->erased_blocks += sc->pages;                                     
  sc->erased++;                                                       
 2005624:	c2 06 60 2c 	ld  [ %i1 + 0x2c ], %g1                        
    if (!rtems_fdisk_segment_queue_present (&fd->failed, sc))         
      rtems_fdisk_segment_queue_push_tail (&fd->failed, sc);          
    return ret;                                                       
  }                                                                   
                                                                      
  fd->erased_blocks += sc->pages;                                     
 2005628:	c4 06 60 14 	ld  [ %i1 + 0x14 ], %g2                        
  sc->erased++;                                                       
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
 200562c:	d2 06 60 18 	ld  [ %i1 + 0x18 ], %o1                        
 2005630:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
      rtems_fdisk_segment_queue_push_tail (&fd->failed, sc);          
    return ret;                                                       
  }                                                                   
                                                                      
  fd->erased_blocks += sc->pages;                                     
  sc->erased++;                                                       
 2005634:	82 00 60 01 	inc  %g1                                       
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
 2005638:	f8 06 60 10 	ld  [ %i1 + 0x10 ], %i4                        
    if (!rtems_fdisk_segment_queue_present (&fd->failed, sc))         
      rtems_fdisk_segment_queue_push_tail (&fd->failed, sc);          
    return ret;                                                       
  }                                                                   
                                                                      
  fd->erased_blocks += sc->pages;                                     
 200563c:	84 00 c0 02 	add  %g3, %g2, %g2                             
 2005640:	c4 27 60 28 	st  %g2, [ %i5 + 0x28 ]                        
  sc->erased++;                                                       
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
 2005644:	7f ff f3 da 	call  20025ac <.umul>                          
 2005648:	c2 26 60 2c 	st  %g1, [ %i1 + 0x2c ]                        
 200564c:	92 10 20 ff 	mov  0xff, %o1                                 
 2005650:	94 10 00 08 	mov  %o0, %o2                                  
 2005654:	40 00 7c 98 	call  20248b4 <memset>                         
 2005658:	90 10 00 1c 	mov  %i4, %o0                                  
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
 200565c:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        
  fd->erased_blocks += sc->pages;                                     
  sc->erased++;                                                       
                                                                      
  memset (sc->page_descriptors, 0xff, sc->pages_desc * fd->block_size);
                                                                      
  sc->pages_active = 0;                                               
 2005660:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
  sc->pages_used   = 0;                                               
 2005664:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            
  sc->pages_bad    = 0;                                               
 2005668:	c0 26 60 24 	clr  [ %i1 + 0x24 ]                            
                                                                      
  sc->failed = false;                                                 
 200566c:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
 2005670:	80 a0 60 00 	cmp  %g1, 0                                    
 2005674:	02 80 00 0a 	be  200569c <rtems_fdisk_erase_segment+0x158>  
 2005678:	c0 26 40 00 	clr  [ %i1 ]                                   
    {                                                                 
      queue->tail->next = sc;                                         
 200567c:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
 2005680:	f2 20 40 00 	st  %i1, [ %g1 ]                               
      queue->tail       = sc;                                         
 2005684:	f2 27 60 38 	st  %i1, [ %i5 + 0x38 ]                        
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
 2005688:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
 200568c:	82 00 60 01 	inc  %g1                                       
 2005690:	c2 27 60 3c 	st  %g1, [ %i5 + 0x3c ]                        
 2005694:	81 c7 e0 08 	ret                                            
 2005698:	81 e8 00 00 	restore                                        
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
 200569c:	f2 27 60 38 	st  %i1, [ %i5 + 0x38 ]                        
 20056a0:	10 bf ff fa 	b  2005688 <rtems_fdisk_erase_segment+0x144>   
 20056a4:	f2 27 60 34 	st  %i1, [ %i5 + 0x34 ]                        
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
 20056a8:	c0 26 40 00 	clr  [ %i1 ]                                   <== NOT EXECUTED
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
 20056ac:	f2 27 60 5c 	st  %i1, [ %i5 + 0x5c ]                        <== NOT EXECUTED
 20056b0:	10 bf ff d8 	b  2005610 <rtems_fdisk_erase_segment+0xcc>    <== NOT EXECUTED
 20056b4:	f2 27 60 58 	st  %i1, [ %i5 + 0x58 ]                        <== NOT EXECUTED
 20056b8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20056bc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020054c8 <rtems_fdisk_error>: * @param ... The arguments for the format text. * @return int The number of bytes written to the output. */ static int rtems_fdisk_error (const char *format, ...) {
 20054c8:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "fdisk:error:");                                   
 20054cc:	21 00 80 e2 	sethi  %hi(0x2038800), %l0                     <== NOT EXECUTED
 20054d0:	c2 04 22 10 	ld  [ %l0 + 0x210 ], %g1	! 2038a10 <_impure_ptr><== NOT EXECUTED
static int                                                            
rtems_fdisk_error (const char *format, ...)                           
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
 20054d4:	f2 27 a0 48 	st  %i1, [ %fp + 0x48 ]                        <== NOT EXECUTED
 20054d8:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        <== NOT EXECUTED
 20054dc:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        <== NOT EXECUTED
 20054e0:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        <== NOT EXECUTED
 20054e4:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        <== NOT EXECUTED
  fprintf (stderr, "fdisk:error:");                                   
 20054e8:	d6 00 60 0c 	ld  [ %g1 + 0xc ], %o3                         <== NOT EXECUTED
static int                                                            
rtems_fdisk_error (const char *format, ...)                           
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
 20054ec:	82 07 a0 48 	add  %fp, 0x48, %g1                            <== NOT EXECUTED
  fprintf (stderr, "fdisk:error:");                                   
 20054f0:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
static int                                                            
rtems_fdisk_error (const char *format, ...)                           
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
 20054f4:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
  fprintf (stderr, "fdisk:error:");                                   
 20054f8:	94 10 20 0c 	mov  0xc, %o2                                  <== NOT EXECUTED
 20054fc:	11 00 80 cd 	sethi  %hi(0x2033400), %o0                     <== NOT EXECUTED
 2005500:	40 00 7b d6 	call  2024458 <fwrite>                         <== NOT EXECUTED
 2005504:	90 12 23 60 	or  %o0, 0x360, %o0	! 2033760 <__FUNCTION__.7063+0x5f0><== NOT EXECUTED
  ret =  vfprintf (stderr, format, args);                             
 2005508:	c2 04 22 10 	ld  [ %l0 + 0x210 ], %g1                       <== NOT EXECUTED
 200550c:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 2005510:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         <== NOT EXECUTED
 2005514:	40 00 9c 76 	call  202c6ec <vfprintf>                       <== NOT EXECUTED
 2005518:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
  fprintf (stderr, "\n");                                             
 200551c:	c2 04 22 10 	ld  [ %l0 + 0x210 ], %g1                       <== NOT EXECUTED
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "fdisk:error:");                                   
  ret =  vfprintf (stderr, format, args);                             
 2005520:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
  fprintf (stderr, "\n");                                             
 2005524:	d2 00 60 0c 	ld  [ %g1 + 0xc ], %o1                         <== NOT EXECUTED
 2005528:	40 00 79 eb 	call  2023cd4 <fputc>                          <== NOT EXECUTED
 200552c:	90 10 20 0a 	mov  0xa, %o0                                  <== NOT EXECUTED
  fflush (stderr);                                                    
 2005530:	c2 04 22 10 	ld  [ %l0 + 0x210 ], %g1                       <== NOT EXECUTED
 2005534:	40 00 78 da 	call  202389c <fflush>                         <== NOT EXECUTED
 2005538:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         <== NOT EXECUTED
  va_end (args);                                                      
  return ret;                                                         
}                                                                     
 200553c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005540:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020050d8 <rtems_fdisk_info>: * @param ... The arguments for the format text. * @return int The number of bytes written to the output. */ static int rtems_fdisk_info (const rtems_flashdisk* fd, const char *format, ...) {
 20050d8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int ret = 0;                                                        
  if (fd->info_level >= 2)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
 20050dc:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 20050e0:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 20050e4:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 20050e8:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
 */                                                                   
static int                                                            
rtems_fdisk_info (const rtems_flashdisk* fd, const char *format, ...) 
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 2)                                            
 20050ec:	c2 06 20 6c 	ld  [ %i0 + 0x6c ], %g1                        
 20050f0:	80 a0 60 01 	cmp  %g1, 1                                    
 20050f4:	08 80 00 19 	bleu  2005158 <rtems_fdisk_info+0x80>          <== ALWAYS TAKEN
 20050f8:	b0 10 20 00 	clr  %i0                                       
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:");                                       
 20050fc:	3b 00 80 e2 	sethi  %hi(0x2038800), %i5                     <== NOT EXECUTED
 2005100:	c2 07 62 10 	ld  [ %i5 + 0x210 ], %g1	! 2038a10 <_impure_ptr><== NOT EXECUTED
 2005104:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 2005108:	d6 00 60 08 	ld  [ %g1 + 8 ], %o3                           <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 2)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
 200510c:	82 07 a0 4c 	add  %fp, 0x4c, %g1                            <== NOT EXECUTED
    fprintf (stdout, "fdisk:");                                       
 2005110:	94 10 20 06 	mov  6, %o2                                    <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 2)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
 2005114:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
    fprintf (stdout, "fdisk:");                                       
 2005118:	11 00 80 cd 	sethi  %hi(0x2033400), %o0                     <== NOT EXECUTED
 200511c:	40 00 7c cf 	call  2024458 <fwrite>                         <== NOT EXECUTED
 2005120:	90 12 22 d0 	or  %o0, 0x2d0, %o0	! 20336d0 <__FUNCTION__.7063+0x560><== NOT EXECUTED
    ret =  vfprintf (stdout, format, args);                           
 2005124:	c2 07 62 10 	ld  [ %i5 + 0x210 ], %g1                       <== NOT EXECUTED
 2005128:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 200512c:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
 2005130:	40 00 9d 6f 	call  202c6ec <vfprintf>                       <== NOT EXECUTED
 2005134:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
    fprintf (stdout, "\n");                                           
 2005138:	c2 07 62 10 	ld  [ %i5 + 0x210 ], %g1                       <== NOT EXECUTED
  if (fd->info_level >= 2)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:");                                       
    ret =  vfprintf (stdout, format, args);                           
 200513c:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    fprintf (stdout, "\n");                                           
 2005140:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           <== NOT EXECUTED
 2005144:	40 00 7a e4 	call  2023cd4 <fputc>                          <== NOT EXECUTED
 2005148:	90 10 20 0a 	mov  0xa, %o0                                  <== NOT EXECUTED
    fflush (stdout);                                                  
 200514c:	c2 07 62 10 	ld  [ %i5 + 0x210 ], %g1                       <== NOT EXECUTED
 2005150:	40 00 79 d3 	call  202389c <fflush>                         <== NOT EXECUTED
 2005154:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
    va_end (args);                                                    
  }                                                                   
  return ret;                                                         
}                                                                     
 2005158:	81 c7 e0 08 	ret                                            
 200515c:	81 e8 00 00 	restore                                        
                                                                      

02007930 <rtems_fdisk_initialize>: */ rtems_device_driver rtems_fdisk_initialize (rtems_device_major_number major, rtems_device_minor_number minor, void* arg __attribute__((unused))) {
 2007930:	9d e3 bf 80 	save  %sp, -128, %sp                           
  const rtems_flashdisk_config* c = rtems_flashdisk_configuration;    
  rtems_flashdisk*              fd;                                   
  rtems_status_code             sc;                                   
                                                                      
  sc = rtems_disk_io_initialize ();                                   
 2007934:	7f ff f5 10 	call  2004d74 <rtems_disk_io_initialize>       
 2007938:	a4 10 00 18 	mov  %i0, %l2                                  
  if (sc != RTEMS_SUCCESSFUL)                                         
 200793c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007940:	02 80 00 04 	be  2007950 <rtems_fdisk_initialize+0x20>      <== ALWAYS TAKEN
 2007944:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2007948:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200794c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
static rtems_status_code                                              
rtems_fdisk_crc16_gen_factors (uint16_t pattern)                      
{                                                                     
  uint32_t b;                                                         
                                                                      
  rtems_fdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);        
 2007950:	40 00 06 02 	call  2009158 <malloc>                         
 2007954:	90 10 22 00 	mov  0x200, %o0                                
 2007958:	03 00 81 23 	sethi  %hi(0x2048c00), %g1                     
 200795c:	d0 20 63 a0 	st  %o0, [ %g1 + 0x3a0 ]	! 2048fa0 <rtems_fdisk_crc16_factor>
  if (!rtems_fdisk_crc16_factor)                                      
 2007960:	80 a2 20 00 	cmp  %o0, 0                                    
 2007964:	02 bf ff f9 	be  2007948 <rtems_fdisk_initialize+0x18>      <== NEVER TAKEN
 2007968:	b0 10 20 1a 	mov  0x1a, %i0                                 
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
    for (i = 8; i--;)                                                 
      v = v & 1 ? (v >> 1) ^ pattern : v >> 1;                        
 200796c:	09 3f ff e1 	sethi  %hi(0xffff8400), %g4                    
rtems_fdisk_crc16_gen_factors (uint16_t pattern)                      
{                                                                     
  uint32_t b;                                                         
                                                                      
  rtems_fdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);        
  if (!rtems_fdisk_crc16_factor)                                      
 2007970:	86 10 20 00 	clr  %g3                                       
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
    for (i = 8; i--;)                                                 
      v = v & 1 ? (v >> 1) ^ pattern : v >> 1;                        
 2007974:	88 11 20 08 	or  %g4, 8, %g4                                
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
 2007978:	82 10 00 03 	mov  %g3, %g1                                  
 200797c:	84 10 20 08 	mov  8, %g2                                    
    for (i = 8; i--;)                                                 
      v = v & 1 ? (v >> 1) ^ pattern : v >> 1;                        
 2007980:	80 88 60 01 	btst  1, %g1                                   
 2007984:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2007988:	02 80 00 03 	be  2007994 <rtems_fdisk_initialize+0x64>      
 200798c:	83 30 60 11 	srl  %g1, 0x11, %g1                            
 2007990:	82 18 40 04 	xor  %g1, %g4, %g1                             
                                                                      
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
    for (i = 8; i--;)                                                 
 2007994:	84 80 bf ff 	addcc  %g2, -1, %g2                            
 2007998:	12 bf ff fb 	bne  2007984 <rtems_fdisk_initialize+0x54>     
 200799c:	80 88 60 01 	btst  1, %g1                                   
 * @param major Flash disk major device number.                       
 * @param minor Minor device number, not applicable.                  
 * @param arg Initialization argument, not applicable.                
 */                                                                   
rtems_device_driver                                                   
rtems_fdisk_initialize (rtems_device_major_number major,              
 20079a0:	85 28 e0 01 	sll  %g3, 1, %g2                               
                                                                      
  rtems_fdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);        
  if (!rtems_fdisk_crc16_factor)                                      
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (b = 0; b < 256; b++)                                           
 20079a4:	86 00 e0 01 	inc  %g3                                       
 20079a8:	80 a0 e1 00 	cmp  %g3, 0x100                                
 20079ac:	12 bf ff f3 	bne  2007978 <rtems_fdisk_initialize+0x48>     
 20079b0:	c2 32 00 02 	sth  %g1, [ %o0 + %g2 ]                        
                                                                      
  sc = rtems_fdisk_crc16_gen_factors (0x8408);                        
  if (sc != RTEMS_SUCCESSFUL)                                         
      return sc;                                                      
                                                                      
  rtems_flashdisks = calloc (rtems_flashdisk_configuration_size,      
 20079b4:	03 00 80 e1 	sethi  %hi(0x2038400), %g1                     
 20079b8:	fa 00 63 d8 	ld  [ %g1 + 0x3d8 ], %i5	! 20387d8 <rtems_flashdisk_configuration_size>
 20079bc:	92 10 20 74 	mov  0x74, %o1                                 
 20079c0:	90 10 00 1d 	mov  %i5, %o0                                  
 20079c4:	40 00 03 30 	call  2008684 <calloc>                         
 20079c8:	35 00 81 23 	sethi  %hi(0x2048c00), %i2                     
 20079cc:	d0 26 a3 98 	st  %o0, [ %i2 + 0x398 ]	! 2048f98 <rtems_flashdisks>
                             sizeof (rtems_flashdisk));               
                                                                      
  if (!rtems_flashdisks)                                              
 20079d0:	80 a2 20 00 	cmp  %o0, 0                                    
 20079d4:	02 bf ff dd 	be  2007948 <rtems_fdisk_initialize+0x18>      <== NEVER TAKEN
 20079d8:	b0 10 20 1a 	mov  0x1a, %i0                                 
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
 20079dc:	80 a7 60 00 	cmp  %i5, 0                                    
 20079e0:	02 80 00 f6 	be  2007db8 <rtems_fdisk_initialize+0x488>     <== NEVER TAKEN
 20079e4:	21 00 80 cb 	sethi  %hi(0x2032c00), %l0                     
 20079e8:	a6 10 20 00 	clr  %l3                                       
 20079ec:	a0 14 21 44 	or  %l0, 0x144, %l0                            
 20079f0:	a2 10 20 00 	clr  %l1                                       
                                                                      
    name [sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME)] += minor;         
                                                                      
    fd->major              = major;                                   
    fd->minor              = minor;                                   
    fd->flags              = c->flags;                                
 20079f4:	f8 04 20 0c 	ld  [ %l0 + 0xc ], %i4                         
    fd->compact_segs       = c->compact_segs;                         
 20079f8:	c8 04 20 14 	ld  [ %l0 + 0x14 ], %g4                        
    fd->avail_compact_segs = c->avail_compact_segs;                   
 20079fc:	c6 04 20 18 	ld  [ %l0 + 0x18 ], %g3                        
    fd->block_size         = c->block_size;                           
 2007a00:	fa 04 00 00 	ld  [ %l0 ], %i5                               
    fd->unavail_blocks     = c->unavail_blocks;                       
 2007a04:	c4 04 20 10 	ld  [ %l0 + 0x10 ], %g2                        
    fd->info_level         = c->info_level;                           
 2007a08:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
  if (!rtems_flashdisks)                                              
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
  {                                                                   
    char     name[] = RTEMS_FLASHDISK_DEVICE_BASE_NAME "a";           
 2007a0c:	35 00 00 18 	sethi  %hi(0x6000), %i2                        
 2007a10:	b4 16 a1 00 	or  %i2, 0x100, %i2	! 6100 <PROM_START+0x6100> 
 2007a14:	f4 37 bf f8 	sth  %i2, [ %fp + -8 ]                         
    fd->avail_compact_segs = c->avail_compact_segs;                   
    fd->block_size         = c->block_size;                           
    fd->unavail_blocks     = c->unavail_blocks;                       
    fd->info_level         = c->info_level;                           
                                                                      
    for (device = 0; device < c->device_count; device++)              
 2007a18:	e8 04 20 04 	ld  [ %l0 + 4 ], %l4                           
    uint32_t blocks = 0;                                              
    int      ret;                                                     
                                                                      
    fd = &rtems_flashdisks[minor];                                    
                                                                      
    name [sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME)] += minor;         
 2007a1c:	e2 2f bf f9 	stb  %l1, [ %fp + -7 ]                         
  if (!rtems_flashdisks)                                              
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
  {                                                                   
    char     name[] = RTEMS_FLASHDISK_DEVICE_BASE_NAME "a";           
 2007a20:	35 0b d9 19 	sethi  %hi(0x2f646400), %i2                    
 2007a24:	37 0b d9 99 	sethi  %hi(0x2f666400), %i3                    
 2007a28:	b4 16 a1 76 	or  %i2, 0x176, %i2                            
 2007a2c:	b6 16 e0 64 	or  %i3, 0x64, %i3                             
 2007a30:	f4 3f bf f0 	std  %i2, [ %fp + -16 ]                        
                                                                      
    fd = &rtems_flashdisks[minor];                                    
                                                                      
    name [sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME)] += minor;         
                                                                      
    fd->major              = major;                                   
 2007a34:	e4 22 00 13 	st  %l2, [ %o0 + %l3 ]                         
    dev_t    dev = rtems_filesystem_make_dev_t (major, minor);        
    uint32_t device;                                                  
    uint32_t blocks = 0;                                              
    int      ret;                                                     
                                                                      
    fd = &rtems_flashdisks[minor];                                    
 2007a38:	b6 02 00 13 	add  %o0, %l3, %i3                             
                                                                      
    name [sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME)] += minor;         
                                                                      
    fd->major              = major;                                   
    fd->minor              = minor;                                   
 2007a3c:	e2 26 e0 04 	st  %l1, [ %i3 + 4 ]                           
    fd->flags              = c->flags;                                
 2007a40:	f8 26 e0 08 	st  %i4, [ %i3 + 8 ]                           
    fd->compact_segs       = c->compact_segs;                         
 2007a44:	c8 26 e0 0c 	st  %g4, [ %i3 + 0xc ]                         
    fd->avail_compact_segs = c->avail_compact_segs;                   
 2007a48:	c6 26 e0 10 	st  %g3, [ %i3 + 0x10 ]                        
    fd->block_size         = c->block_size;                           
 2007a4c:	fa 26 e0 14 	st  %i5, [ %i3 + 0x14 ]                        
    fd->unavail_blocks     = c->unavail_blocks;                       
 2007a50:	c4 26 e0 20 	st  %g2, [ %i3 + 0x20 ]                        
    fd->info_level         = c->info_level;                           
                                                                      
    for (device = 0; device < c->device_count; device++)              
 2007a54:	80 a5 20 00 	cmp  %l4, 0                                    
 2007a58:	02 80 00 a3 	be  2007ce4 <rtems_fdisk_initialize+0x3b4>     <== NEVER TAKEN
 2007a5c:	c2 26 e0 6c 	st  %g1, [ %i3 + 0x6c ]                        
 2007a60:	f4 04 20 08 	ld  [ %l0 + 8 ], %i2                           
 * @param major Flash disk major device number.                       
 * @param minor Minor device number, not applicable.                  
 * @param arg Initialization argument, not applicable.                
 */                                                                   
rtems_device_driver                                                   
rtems_fdisk_initialize (rtems_device_major_number major,              
 2007a64:	83 2d 20 02 	sll  %l4, 2, %g1                               
 2007a68:	b1 2d 20 04 	sll  %l4, 4, %i0                               
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
  {                                                                   
    char     name[] = RTEMS_FLASHDISK_DEVICE_BASE_NAME "a";           
    dev_t    dev = rtems_filesystem_make_dev_t (major, minor);        
    uint32_t device;                                                  
    uint32_t blocks = 0;                                              
 2007a6c:	b2 10 20 00 	clr  %i1                                       
 * @param major Flash disk major device number.                       
 * @param minor Minor device number, not applicable.                  
 * @param arg Initialization argument, not applicable.                
 */                                                                   
rtems_device_driver                                                   
rtems_fdisk_initialize (rtems_device_major_number major,              
 2007a70:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 2007a74:	b0 06 80 18 	add  %i2, %i0, %i0                             
rtems_fdisk_blocks_in_device (const rtems_fdisk_device_desc* dd,      
                              uint32_t                       page_size)
{                                                                     
  uint32_t count = 0;                                                 
  uint32_t s;                                                         
  for (s = 0; s < dd->segment_count; s++)                             
 2007a78:	c4 06 80 00 	ld  [ %i2 ], %g2                               
 2007a7c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2007a80:	02 80 00 93 	be  2007ccc <rtems_fdisk_initialize+0x39c>     <== NEVER TAKEN
 2007a84:	87 28 a0 02 	sll  %g2, 2, %g3                               
 2007a88:	ea 06 a0 04 	ld  [ %i2 + 4 ], %l5                           
 * @param major Flash disk major device number.                       
 * @param minor Minor device number, not applicable.                  
 * @param arg Initialization argument, not applicable.                
 */                                                                   
rtems_device_driver                                                   
rtems_fdisk_initialize (rtems_device_major_number major,              
 2007a8c:	b9 28 a0 04 	sll  %g2, 4, %i4                               
 */                                                                   
static uint32_t                                                       
rtems_fdisk_blocks_in_device (const rtems_fdisk_device_desc* dd,      
                              uint32_t                       page_size)
{                                                                     
  uint32_t count = 0;                                                 
 2007a90:	ae 10 20 00 	clr  %l7                                       
 * @param major Flash disk major device number.                       
 * @param minor Minor device number, not applicable.                  
 * @param arg Initialization argument, not applicable.                
 */                                                                   
rtems_device_driver                                                   
rtems_fdisk_initialize (rtems_device_major_number major,              
 2007a94:	b8 27 00 03 	sub  %i4, %g3, %i4                             
 2007a98:	b8 05 40 1c 	add  %l5, %i4, %i4                             
 */                                                                   
static uint32_t                                                       
rtems_fdisk_pages_in_segment (const rtems_fdisk_segment_desc* sd,     
                              uint32_t                        page_size)
{                                                                     
  return sd->size / page_size;                                        
 2007a9c:	d0 05 60 08 	ld  [ %l5 + 8 ], %o0                           
 2007aa0:	7f ff ea fd 	call  2002694 <.udiv>                          
 2007aa4:	92 10 00 1d 	mov  %i5, %o1                                  
rtems_fdisk_page_desc_pages (const rtems_fdisk_segment_desc* sd,      
                             uint32_t                        page_size)
{                                                                     
  uint32_t pages = rtems_fdisk_pages_in_segment (sd, page_size);      
  uint32_t bytes = pages * sizeof (rtems_fdisk_page_desc);            
  return ((bytes - 1) / page_size) + 1;                               
 2007aa8:	92 10 00 1d 	mov  %i5, %o1                                  
 2007aac:	ac 02 3f ff 	add  %o0, -1, %l6                              
static uint32_t                                                       
rtems_fdisk_page_desc_pages (const rtems_fdisk_segment_desc* sd,      
                             uint32_t                        page_size)
{                                                                     
  uint32_t pages = rtems_fdisk_pages_in_segment (sd, page_size);      
  uint32_t bytes = pages * sizeof (rtems_fdisk_page_desc);            
 2007ab0:	91 2a 20 03 	sll  %o0, 3, %o0                               
  return ((bytes - 1) / page_size) + 1;                               
 2007ab4:	7f ff ea f8 	call  2002694 <.udiv>                          
 2007ab8:	90 02 3f ff 	add  %o0, -1, %o0                              
  for (s = 0; s < dd->segment_count; s++)                             
  {                                                                   
    const rtems_fdisk_segment_desc* sd = &dd->segments[s];            
    count +=                                                          
      (rtems_fdisk_pages_in_segment (sd, page_size) -                 
       rtems_fdisk_page_desc_pages (sd, page_size)) * sd->count;      
 2007abc:	d2 15 40 00 	lduh  [ %l5 ], %o1                             
 2007ac0:	7f ff ea bb 	call  20025ac <.umul>                          
 2007ac4:	90 25 80 08 	sub  %l6, %o0, %o0                             
 2007ac8:	aa 05 60 0c 	add  %l5, 0xc, %l5                             
rtems_fdisk_blocks_in_device (const rtems_fdisk_device_desc* dd,      
                              uint32_t                       page_size)
{                                                                     
  uint32_t count = 0;                                                 
  uint32_t s;                                                         
  for (s = 0; s < dd->segment_count; s++)                             
 2007acc:	80 a5 40 1c 	cmp  %l5, %i4                                  
 2007ad0:	12 bf ff f3 	bne  2007a9c <rtems_fdisk_initialize+0x16c>    <== NEVER TAKEN
 2007ad4:	ae 05 c0 08 	add  %l7, %o0, %l7                             
 2007ad8:	b4 06 a0 0c 	add  %i2, 0xc, %i2                             
    fd->avail_compact_segs = c->avail_compact_segs;                   
    fd->block_size         = c->block_size;                           
    fd->unavail_blocks     = c->unavail_blocks;                       
    fd->info_level         = c->info_level;                           
                                                                      
    for (device = 0; device < c->device_count; device++)              
 2007adc:	80 a6 80 18 	cmp  %i2, %i0                                  
 2007ae0:	12 bf ff e6 	bne  2007a78 <rtems_fdisk_initialize+0x148>    <== NEVER TAKEN
 2007ae4:	b2 06 40 17 	add  %i1, %l7, %i1                             
                                              c->block_size);         
                                                                      
    /*                                                                
     * One copy buffer of a page size.                                
     */                                                               
    fd->copy_buffer = malloc (c->block_size);                         
 2007ae8:	40 00 05 9c 	call  2009158 <malloc>                         
 2007aec:	90 10 00 1d 	mov  %i5, %o0                                  
    if (!fd->copy_buffer)                                             
 2007af0:	80 a2 20 00 	cmp  %o0, 0                                    
 2007af4:	02 80 00 af 	be  2007db0 <rtems_fdisk_initialize+0x480>     <== NEVER TAKEN
 2007af8:	d0 26 e0 68 	st  %o0, [ %i3 + 0x68 ]                        
      return RTEMS_NO_MEMORY;                                         
                                                                      
    fd->blocks = calloc (blocks, sizeof (rtems_fdisk_block_ctl));     
 2007afc:	90 10 00 19 	mov  %i1, %o0                                  
 2007b00:	40 00 02 e1 	call  2008684 <calloc>                         
 2007b04:	92 10 20 08 	mov  8, %o1                                    
    if (!fd->blocks)                                                  
 2007b08:	80 a2 20 00 	cmp  %o0, 0                                    
 2007b0c:	02 80 00 a9 	be  2007db0 <rtems_fdisk_initialize+0x480>     <== NEVER TAKEN
 2007b10:	d0 26 e0 18 	st  %o0, [ %i3 + 0x18 ]                        
      return RTEMS_NO_MEMORY;                                         
                                                                      
    fd->block_count = blocks;                                         
 2007b14:	f2 26 e0 1c 	st  %i1, [ %i3 + 0x1c ]                        
                                                                      
    fd->devices = calloc (c->device_count, sizeof (rtems_fdisk_device_ctl));
 2007b18:	90 10 00 14 	mov  %l4, %o0                                  
 2007b1c:	40 00 02 da 	call  2008684 <calloc>                         
 2007b20:	92 10 20 0c 	mov  0xc, %o1                                  
    if (!fd->devices)                                                 
 2007b24:	80 a2 20 00 	cmp  %o0, 0                                    
 2007b28:	02 80 00 a2 	be  2007db0 <rtems_fdisk_initialize+0x480>     <== NEVER TAKEN
 2007b2c:	d0 26 e0 2c 	st  %o0, [ %i3 + 0x2c ]                        
      return RTEMS_NO_MEMORY;                                         
                                                                      
    sc = rtems_semaphore_create (rtems_build_name ('F', 'D', 'S', 'K'), 1,
 2007b30:	03 00 80 d0 	sethi  %hi(0x2034000), %g1                     
 2007b34:	d0 00 62 78 	ld  [ %g1 + 0x278 ], %o0	! 2034278 <__FUNCTION__.7063+0x1108>
 2007b38:	92 10 20 01 	mov  1, %o1                                    
 2007b3c:	94 10 20 54 	mov  0x54, %o2                                 
 2007b40:	96 10 20 00 	clr  %o3                                       
 2007b44:	40 00 16 97 	call  200d5a0 <rtems_semaphore_create>         
 2007b48:	98 06 e0 64 	add  %i3, 0x64, %o4                            
                                 RTEMS_PRIORITY | RTEMS_BINARY_SEMAPHORE |
                                 RTEMS_INHERIT_PRIORITY, 0, &fd->lock);
    if (sc != RTEMS_SUCCESSFUL)                                       
 2007b4c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007b50:	12 80 00 8d 	bne  2007d84 <rtems_fdisk_initialize+0x454>    <== NEVER TAKEN
 2007b54:	b4 07 bf f0 	add  %fp, -16, %i2                             
      free (fd->blocks);                                              
      free (fd->devices);                                             
      return sc;                                                      
    }                                                                 
                                                                      
    sc = rtems_disk_create_phys(dev, c->block_size,                   
 2007b58:	d6 06 e0 20 	ld  [ %i3 + 0x20 ], %o3                        
 2007b5c:	d4 04 00 00 	ld  [ %l0 ], %o2                               
 2007b60:	90 10 00 12 	mov  %l2, %o0                                  
 2007b64:	f4 23 a0 5c 	st  %i2, [ %sp + 0x5c ]                        
 2007b68:	92 10 00 11 	mov  %l1, %o1                                  
 2007b6c:	96 26 40 0b 	sub  %i1, %o3, %o3                             
 2007b70:	19 00 80 19 	sethi  %hi(0x2006400), %o4                     
 2007b74:	9a 10 20 00 	clr  %o5                                       
 2007b78:	7f ff f3 df 	call  2004af4 <rtems_disk_create_phys>         
 2007b7c:	98 13 21 44 	or  %o4, 0x144, %o4                            
                                blocks - fd->unavail_blocks,          
                                rtems_fdisk_ioctl, NULL, name);       
    if (sc != RTEMS_SUCCESSFUL)                                       
 2007b80:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007b84:	12 80 00 70 	bne  2007d44 <rtems_fdisk_initialize+0x414>    <== NEVER TAKEN
 2007b88:	01 00 00 00 	nop                                            
      free (fd->devices);                                             
      rtems_fdisk_error ("disk create phy failed");                   
      return sc;                                                      
    }                                                                 
                                                                      
    for (device = 0; device < c->device_count; device++)              
 2007b8c:	f0 04 20 04 	ld  [ %l0 + 4 ], %i0                           
 2007b90:	80 a6 20 00 	cmp  %i0, 0                                    
 2007b94:	22 80 00 3b 	be,a   2007c80 <rtems_fdisk_initialize+0x350>  <== NEVER TAKEN
 2007b98:	f0 26 e0 30 	st  %i0, [ %i3 + 0x30 ]                        <== NOT EXECUTED
 2007b9c:	f4 04 20 08 	ld  [ %l0 + 8 ], %i2                           
 2007ba0:	f2 06 e0 2c 	ld  [ %i3 + 0x2c ], %i1                        
 2007ba4:	ba 10 20 00 	clr  %i5                                       
static uint32_t                                                       
rtems_fdisk_count_segments (const rtems_fdisk_device_desc* dd)        
{                                                                     
  uint32_t count = 0;                                                 
  uint32_t segment;                                                   
  for (segment = 0; segment < dd->segment_count; segment++)           
 2007ba8:	c4 06 80 00 	ld  [ %i2 ], %g2                               
 2007bac:	80 a0 a0 00 	cmp  %g2, 0                                    
 2007bb0:	02 80 00 5d 	be  2007d24 <rtems_fdisk_initialize+0x3f4>     <== NEVER TAKEN
 2007bb4:	a9 28 a0 02 	sll  %g2, 2, %l4                               
 2007bb8:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 * Count the segments for a device.                                   
 */                                                                   
static uint32_t                                                       
rtems_fdisk_count_segments (const rtems_fdisk_device_desc* dd)        
{                                                                     
  uint32_t count = 0;                                                 
 2007bbc:	b8 10 20 00 	clr  %i4                                       
 * @param major Flash disk major device number.                       
 * @param minor Minor device number, not applicable.                  
 * @param arg Initialization argument, not applicable.                
 */                                                                   
rtems_device_driver                                                   
rtems_fdisk_initialize (rtems_device_major_number major,              
 2007bc0:	85 28 a0 04 	sll  %g2, 4, %g2                               
 2007bc4:	88 20 80 14 	sub  %g2, %l4, %g4                             
 2007bc8:	88 00 40 04 	add  %g1, %g4, %g4                             
rtems_fdisk_count_segments (const rtems_fdisk_device_desc* dd)        
{                                                                     
  uint32_t count = 0;                                                 
  uint32_t segment;                                                   
  for (segment = 0; segment < dd->segment_count; segment++)           
    count += dd->segments[segment].count;                             
 2007bcc:	c6 10 40 00 	lduh  [ %g1 ], %g3                             
 2007bd0:	82 00 60 0c 	add  %g1, 0xc, %g1                             
static uint32_t                                                       
rtems_fdisk_count_segments (const rtems_fdisk_device_desc* dd)        
{                                                                     
  uint32_t count = 0;                                                 
  uint32_t segment;                                                   
  for (segment = 0; segment < dd->segment_count; segment++)           
 2007bd4:	80 a0 40 04 	cmp  %g1, %g4                                  
 2007bd8:	12 bf ff fd 	bne  2007bcc <rtems_fdisk_initialize+0x29c>    <== NEVER TAKEN
 2007bdc:	b8 07 00 03 	add  %i4, %g3, %i4                             
      uint32_t                 segment_count;                         
      uint32_t                 segment;                               
                                                                      
      segment_count = rtems_fdisk_count_segments (&c->devices[device]);
                                                                      
      fd->devices[device].segments = calloc (segment_count,           
 2007be0:	c4 27 bf ec 	st  %g2, [ %fp + -20 ]                         
 2007be4:	90 10 00 1c 	mov  %i4, %o0                                  
 2007be8:	40 00 02 a7 	call  2008684 <calloc>                         
 2007bec:	92 10 20 30 	mov  0x30, %o1                                 
 2007bf0:	d0 26 40 00 	st  %o0, [ %i1 ]                               
                                             sizeof (rtems_fdisk_segment_ctl));
      if (!fd->devices[device].segments)                              
 2007bf4:	80 a2 20 00 	cmp  %o0, 0                                    
 2007bf8:	02 80 00 3d 	be  2007cec <rtems_fdisk_initialize+0x3bc>     <== NEVER TAKEN
 2007bfc:	c4 07 bf ec 	ld  [ %fp + -20 ], %g2                         
 2007c00:	c6 06 a0 04 	ld  [ %i2 + 4 ], %g3                           
 * @param major Flash disk major device number.                       
 * @param minor Minor device number, not applicable.                  
 * @param arg Initialization argument, not applicable.                
 */                                                                   
rtems_device_driver                                                   
rtems_fdisk_initialize (rtems_device_major_number major,              
 2007c04:	84 20 80 14 	sub  %g2, %l4, %g2                             
 2007c08:	9e 00 c0 02 	add  %g3, %g2, %o7                             
        const rtems_fdisk_segment_desc* sd;                           
        uint32_t                        seg_segment;                  
                                                                      
        sd = &c->devices[device].segments[segment];                   
                                                                      
        for (seg_segment = 0; seg_segment < sd->count; seg_segment++, sc++)
 2007c0c:	c8 10 c0 00 	lduh  [ %g3 ], %g4                             
 2007c10:	80 a1 20 00 	cmp  %g4, 0                                    
 2007c14:	02 80 00 0f 	be  2007c50 <rtems_fdisk_initialize+0x320>     <== NEVER TAKEN
 2007c18:	82 10 00 08 	mov  %o0, %g1                                  
 2007c1c:	84 10 20 00 	clr  %g2                                       
        {                                                             
          sc->descriptor = sd;                                        
          sc->device     = device;                                    
          sc->segment    = seg_segment;                               
 2007c20:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
                                                                      
        sd = &c->devices[device].segments[segment];                   
                                                                      
        for (seg_segment = 0; seg_segment < sd->count; seg_segment++, sc++)
        {                                                             
          sc->descriptor = sd;                                        
 2007c24:	c6 20 60 04 	st  %g3, [ %g1 + 4 ]                           
          sc->device     = device;                                    
 2007c28:	fa 20 60 08 	st  %i5, [ %g1 + 8 ]                           
          sc->segment    = seg_segment;                               
          sc->erased     = 0;                                         
 2007c2c:	c0 20 60 2c 	clr  [ %g1 + 0x2c ]                            
        const rtems_fdisk_segment_desc* sd;                           
        uint32_t                        seg_segment;                  
                                                                      
        sd = &c->devices[device].segments[segment];                   
                                                                      
        for (seg_segment = 0; seg_segment < sd->count; seg_segment++, sc++)
 2007c30:	84 00 a0 01 	inc  %g2                                       
 2007c34:	80 a0 80 04 	cmp  %g2, %g4                                  
 2007c38:	0a bf ff fa 	bcs  2007c20 <rtems_fdisk_initialize+0x2f0>    
 2007c3c:	82 00 60 30 	add  %g1, 0x30, %g1                            
 * @param major Flash disk major device number.                       
 * @param minor Minor device number, not applicable.                  
 * @param arg Initialization argument, not applicable.                
 */                                                                   
rtems_device_driver                                                   
rtems_fdisk_initialize (rtems_device_major_number major,              
 2007c40:	83 29 20 04 	sll  %g4, 4, %g1                               
 2007c44:	89 29 20 06 	sll  %g4, 6, %g4                               
 2007c48:	88 21 00 01 	sub  %g4, %g1, %g4                             
 2007c4c:	90 02 00 04 	add  %o0, %g4, %o0                             
 2007c50:	86 00 e0 0c 	add  %g3, 0xc, %g3                             
        return RTEMS_NO_MEMORY;                                       
      }                                                               
                                                                      
      sc = fd->devices[device].segments;                              
                                                                      
      for (segment = 0; segment < c->devices[device].segment_count; segment++)
 2007c54:	80 a0 c0 0f 	cmp  %g3, %o7                                  
 2007c58:	32 bf ff ee 	bne,a   2007c10 <rtems_fdisk_initialize+0x2e0> <== NEVER TAKEN
 2007c5c:	c8 10 c0 00 	lduh  [ %g3 ], %g4                             <== NOT EXECUTED
          sc->erased     = 0;                                         
        }                                                             
      }                                                               
                                                                      
      fd->devices[device].segment_count = segment_count;              
      fd->devices[device].descriptor    = &c->devices[device];        
 2007c60:	f4 26 60 08 	st  %i2, [ %i1 + 8 ]                           
          sc->segment    = seg_segment;                               
          sc->erased     = 0;                                         
        }                                                             
      }                                                               
                                                                      
      fd->devices[device].segment_count = segment_count;              
 2007c64:	f8 26 60 04 	st  %i4, [ %i1 + 4 ]                           
      free (fd->devices);                                             
      rtems_fdisk_error ("disk create phy failed");                   
      return sc;                                                      
    }                                                                 
                                                                      
    for (device = 0; device < c->device_count; device++)              
 2007c68:	ba 07 60 01 	inc  %i5                                       
 2007c6c:	b4 06 a0 0c 	add  %i2, 0xc, %i2                             
 2007c70:	80 a7 40 18 	cmp  %i5, %i0                                  
 2007c74:	12 bf ff cd 	bne  2007ba8 <rtems_fdisk_initialize+0x278>    <== NEVER TAKEN
 2007c78:	b2 06 60 0c 	add  %i1, 0xc, %i1                             
                                                                      
      fd->devices[device].segment_count = segment_count;              
      fd->devices[device].descriptor    = &c->devices[device];        
    }                                                                 
                                                                      
    fd->device_count = c->device_count;                               
 2007c7c:	f0 26 e0 30 	st  %i0, [ %i3 + 0x30 ]                        
                                                                      
    ret = rtems_fdisk_recover_block_mappings (fd);                    
 2007c80:	7f ff f9 3c 	call  2006170 <rtems_fdisk_recover_block_mappings>
 2007c84:	90 10 00 1b 	mov  %i3, %o0                                  
    if (ret)                                                          
 2007c88:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007c8c:	12 80 00 63 	bne  2007e18 <rtems_fdisk_initialize+0x4e8>    <== NEVER TAKEN
 2007c90:	92 10 00 11 	mov  %l1, %o1                                  
      rtems_fdisk_error ("recovery of disk failed: %s (%d)",          
                         strerror (ret), ret);                        
      return ret;                                                     
    }                                                                 
                                                                      
    ret = rtems_fdisk_compact (fd);                                   
 2007c94:	7f ff f8 81 	call  2005e98 <rtems_fdisk_compact>            
 2007c98:	90 10 00 1b 	mov  %i3, %o0                                  
    if (ret)                                                          
 2007c9c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2007ca0:	12 80 00 4a 	bne  2007dc8 <rtems_fdisk_initialize+0x498>    <== NEVER TAKEN
 2007ca4:	a0 04 20 20 	add  %l0, 0x20, %l0                            
                             sizeof (rtems_flashdisk));               
                                                                      
  if (!rtems_flashdisks)                                              
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
 2007ca8:	37 00 80 e1 	sethi  %hi(0x2038400), %i3                     
 2007cac:	fa 06 e3 d8 	ld  [ %i3 + 0x3d8 ], %i5	! 20387d8 <rtems_flashdisk_configuration_size>
 2007cb0:	a2 04 60 01 	inc  %l1                                       
 2007cb4:	80 a7 40 11 	cmp  %i5, %l1                                  
 2007cb8:	08 80 00 40 	bleu  2007db8 <rtems_fdisk_initialize+0x488>   <== ALWAYS TAKEN
 2007cbc:	a6 04 e0 74 	add  %l3, 0x74, %l3                            
 2007cc0:	03 00 81 23 	sethi  %hi(0x2048c00), %g1                     <== NOT EXECUTED
 2007cc4:	10 bf ff 4c 	b  20079f4 <rtems_fdisk_initialize+0xc4>       <== NOT EXECUTED
 2007cc8:	d0 00 63 98 	ld  [ %g1 + 0x398 ], %o0	! 2048f98 <rtems_flashdisks><== NOT EXECUTED
 */                                                                   
static uint32_t                                                       
rtems_fdisk_blocks_in_device (const rtems_fdisk_device_desc* dd,      
                              uint32_t                       page_size)
{                                                                     
  uint32_t count = 0;                                                 
 2007ccc:	ae 10 20 00 	clr  %l7                                       <== NOT EXECUTED
 2007cd0:	b4 06 a0 0c 	add  %i2, 0xc, %i2                             <== NOT EXECUTED
    fd->avail_compact_segs = c->avail_compact_segs;                   
    fd->block_size         = c->block_size;                           
    fd->unavail_blocks     = c->unavail_blocks;                       
    fd->info_level         = c->info_level;                           
                                                                      
    for (device = 0; device < c->device_count; device++)              
 2007cd4:	80 a6 80 18 	cmp  %i2, %i0                                  <== NOT EXECUTED
 2007cd8:	12 bf ff 68 	bne  2007a78 <rtems_fdisk_initialize+0x148>    <== NOT EXECUTED
 2007cdc:	b2 06 40 17 	add  %i1, %l7, %i1                             <== NOT EXECUTED
 2007ce0:	30 bf ff 82 	b,a   2007ae8 <rtems_fdisk_initialize+0x1b8>   <== NOT EXECUTED
  for (minor = 0; minor < rtems_flashdisk_configuration_size; minor++, c++)
  {                                                                   
    char     name[] = RTEMS_FLASHDISK_DEVICE_BASE_NAME "a";           
    dev_t    dev = rtems_filesystem_make_dev_t (major, minor);        
    uint32_t device;                                                  
    uint32_t blocks = 0;                                              
 2007ce4:	10 bf ff 81 	b  2007ae8 <rtems_fdisk_initialize+0x1b8>      <== NOT EXECUTED
 2007ce8:	b2 10 20 00 	clr  %i1                                       <== NOT EXECUTED
                                                                      
      fd->devices[device].segments = calloc (segment_count,           
                                             sizeof (rtems_fdisk_segment_ctl));
      if (!fd->devices[device].segments)                              
      {                                                               
        rtems_disk_delete (dev);                                      
 2007cec:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 2007cf0:	7f ff f2 d0 	call  2004830 <rtems_disk_delete>              <== NOT EXECUTED
 2007cf4:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
        rtems_semaphore_delete (fd->lock);                            
 2007cf8:	d0 06 e0 64 	ld  [ %i3 + 0x64 ], %o0                        <== NOT EXECUTED
 2007cfc:	40 00 16 9b 	call  200d768 <rtems_semaphore_delete>         <== NOT EXECUTED
 2007d00:	b0 10 20 1a 	mov  0x1a, %i0                                 <== NOT EXECUTED
        free (fd->copy_buffer);                                       
 2007d04:	40 00 03 5e 	call  2008a7c <free>                           <== NOT EXECUTED
 2007d08:	d0 06 e0 68 	ld  [ %i3 + 0x68 ], %o0                        <== NOT EXECUTED
        free (fd->blocks);                                            
 2007d0c:	40 00 03 5c 	call  2008a7c <free>                           <== NOT EXECUTED
 2007d10:	d0 06 e0 18 	ld  [ %i3 + 0x18 ], %o0                        <== NOT EXECUTED
        free (fd->devices);                                           
 2007d14:	40 00 03 5a 	call  2008a7c <free>                           <== NOT EXECUTED
 2007d18:	d0 06 e0 2c 	ld  [ %i3 + 0x2c ], %o0                        <== NOT EXECUTED
 2007d1c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2007d20:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      uint32_t                 segment_count;                         
      uint32_t                 segment;                               
                                                                      
      segment_count = rtems_fdisk_count_segments (&c->devices[device]);
                                                                      
      fd->devices[device].segments = calloc (segment_count,           
 2007d24:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2007d28:	40 00 02 57 	call  2008684 <calloc>                         <== NOT EXECUTED
 2007d2c:	92 10 20 30 	mov  0x30, %o1                                 <== NOT EXECUTED
                                             sizeof (rtems_fdisk_segment_ctl));
      if (!fd->devices[device].segments)                              
 2007d30:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2007d34:	02 bf ff ee 	be  2007cec <rtems_fdisk_initialize+0x3bc>     <== NOT EXECUTED
 2007d38:	d0 26 40 00 	st  %o0, [ %i1 ]                               <== NOT EXECUTED
 * Count the segments for a device.                                   
 */                                                                   
static uint32_t                                                       
rtems_fdisk_count_segments (const rtems_fdisk_device_desc* dd)        
{                                                                     
  uint32_t count = 0;                                                 
 2007d3c:	10 bf ff c9 	b  2007c60 <rtems_fdisk_initialize+0x330>      <== NOT EXECUTED
 2007d40:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
    sc = rtems_disk_create_phys(dev, c->block_size,                   
                                blocks - fd->unavail_blocks,          
                                rtems_fdisk_ioctl, NULL, name);       
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
      rtems_semaphore_delete (fd->lock);                              
 2007d44:	40 00 16 89 	call  200d768 <rtems_semaphore_delete>         <== NOT EXECUTED
 2007d48:	d0 06 e0 64 	ld  [ %i3 + 0x64 ], %o0                        <== NOT EXECUTED
      rtems_disk_delete (dev);                                        
 2007d4c:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 2007d50:	7f ff f2 b8 	call  2004830 <rtems_disk_delete>              <== NOT EXECUTED
 2007d54:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
      free (fd->copy_buffer);                                         
 2007d58:	40 00 03 49 	call  2008a7c <free>                           <== NOT EXECUTED
 2007d5c:	d0 06 e0 68 	ld  [ %i3 + 0x68 ], %o0                        <== NOT EXECUTED
      free (fd->blocks);                                              
 2007d60:	40 00 03 47 	call  2008a7c <free>                           <== NOT EXECUTED
 2007d64:	d0 06 e0 18 	ld  [ %i3 + 0x18 ], %o0                        <== NOT EXECUTED
      free (fd->devices);                                             
 2007d68:	40 00 03 45 	call  2008a7c <free>                           <== NOT EXECUTED
 2007d6c:	d0 06 e0 2c 	ld  [ %i3 + 0x2c ], %o0                        <== NOT EXECUTED
      rtems_fdisk_error ("disk create phy failed");                   
 2007d70:	11 00 80 d0 	sethi  %hi(0x2034000), %o0                     <== NOT EXECUTED
 2007d74:	7f ff f5 d5 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2007d78:	90 12 22 10 	or  %o0, 0x210, %o0	! 2034210 <__FUNCTION__.7063+0x10a0><== NOT EXECUTED
 2007d7c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2007d80:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    sc = rtems_semaphore_create (rtems_build_name ('F', 'D', 'S', 'K'), 1,
                                 RTEMS_PRIORITY | RTEMS_BINARY_SEMAPHORE |
                                 RTEMS_INHERIT_PRIORITY, 0, &fd->lock);
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
      rtems_fdisk_error ("disk lock create failed");                  
 2007d84:	11 00 80 d0 	sethi  %hi(0x2034000), %o0                     <== NOT EXECUTED
 2007d88:	7f ff f5 d0 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2007d8c:	90 12 21 f8 	or  %o0, 0x1f8, %o0	! 20341f8 <__FUNCTION__.7063+0x1088><== NOT EXECUTED
      free (fd->copy_buffer);                                         
 2007d90:	40 00 03 3b 	call  2008a7c <free>                           <== NOT EXECUTED
 2007d94:	d0 06 e0 68 	ld  [ %i3 + 0x68 ], %o0                        <== NOT EXECUTED
      free (fd->blocks);                                              
 2007d98:	40 00 03 39 	call  2008a7c <free>                           <== NOT EXECUTED
 2007d9c:	d0 06 e0 18 	ld  [ %i3 + 0x18 ], %o0                        <== NOT EXECUTED
      free (fd->devices);                                             
 2007da0:	40 00 03 37 	call  2008a7c <free>                           <== NOT EXECUTED
 2007da4:	d0 06 e0 2c 	ld  [ %i3 + 0x2c ], %o0                        <== NOT EXECUTED
 2007da8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2007dac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    fd->block_count = blocks;                                         
                                                                      
    fd->devices = calloc (c->device_count, sizeof (rtems_fdisk_device_ctl));
    if (!fd->devices)                                                 
      return RTEMS_NO_MEMORY;                                         
 2007db0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2007db4:	91 e8 20 1a 	restore  %g0, 0x1a, %o0                        <== NOT EXECUTED
                         strerror (ret), ret);                        
      return ret;                                                     
    }                                                                 
  }                                                                   
                                                                      
  rtems_flashdisk_count = rtems_flashdisk_configuration_size;         
 2007db8:	03 00 81 23 	sethi  %hi(0x2048c00), %g1                     
 2007dbc:	fa 20 63 9c 	st  %i5, [ %g1 + 0x39c ]	! 2048f9c <rtems_flashdisk_count>
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2007dc0:	81 c7 e0 08 	ret                                            
 2007dc4:	91 e8 20 00 	restore  %g0, 0, %o0                           
    }                                                                 
                                                                      
    ret = rtems_fdisk_compact (fd);                                   
    if (ret)                                                          
    {                                                                 
      rtems_disk_delete (dev);                                        
 2007dc8:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 2007dcc:	7f ff f2 99 	call  2004830 <rtems_disk_delete>              <== NOT EXECUTED
 2007dd0:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
      rtems_semaphore_delete (fd->lock);                              
 2007dd4:	40 00 16 65 	call  200d768 <rtems_semaphore_delete>         <== NOT EXECUTED
 2007dd8:	d0 06 e0 64 	ld  [ %i3 + 0x64 ], %o0                        <== NOT EXECUTED
      free (fd->copy_buffer);                                         
 2007ddc:	40 00 03 28 	call  2008a7c <free>                           <== NOT EXECUTED
 2007de0:	d0 06 e0 68 	ld  [ %i3 + 0x68 ], %o0                        <== NOT EXECUTED
      free (fd->blocks);                                              
 2007de4:	40 00 03 26 	call  2008a7c <free>                           <== NOT EXECUTED
 2007de8:	d0 06 e0 18 	ld  [ %i3 + 0x18 ], %o0                        <== NOT EXECUTED
      free (fd->devices);                                             
 2007dec:	40 00 03 24 	call  2008a7c <free>                           <== NOT EXECUTED
 2007df0:	d0 06 e0 2c 	ld  [ %i3 + 0x2c ], %o0                        <== NOT EXECUTED
      rtems_fdisk_error ("compacting of disk failed: %s (%d)",        
 2007df4:	40 00 77 7b 	call  2025be0 <strerror>                       <== NOT EXECUTED
 2007df8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2007dfc:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
 2007e00:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2007e04:	11 00 80 d0 	sethi  %hi(0x2034000), %o0                     <== NOT EXECUTED
 2007e08:	7f ff f5 b0 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2007e0c:	90 12 22 50 	or  %o0, 0x250, %o0	! 2034250 <__FUNCTION__.7063+0x10e0><== NOT EXECUTED
 2007e10:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2007e14:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    fd->device_count = c->device_count;                               
                                                                      
    ret = rtems_fdisk_recover_block_mappings (fd);                    
    if (ret)                                                          
    {                                                                 
      rtems_disk_delete (dev);                                        
 2007e18:	7f ff f2 86 	call  2004830 <rtems_disk_delete>              <== NOT EXECUTED
 2007e1c:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
      rtems_semaphore_delete (fd->lock);                              
 2007e20:	40 00 16 52 	call  200d768 <rtems_semaphore_delete>         <== NOT EXECUTED
 2007e24:	d0 06 e0 64 	ld  [ %i3 + 0x64 ], %o0                        <== NOT EXECUTED
      free (fd->copy_buffer);                                         
 2007e28:	40 00 03 15 	call  2008a7c <free>                           <== NOT EXECUTED
 2007e2c:	d0 06 e0 68 	ld  [ %i3 + 0x68 ], %o0                        <== NOT EXECUTED
      free (fd->blocks);                                              
 2007e30:	40 00 03 13 	call  2008a7c <free>                           <== NOT EXECUTED
 2007e34:	d0 06 e0 18 	ld  [ %i3 + 0x18 ], %o0                        <== NOT EXECUTED
      free (fd->devices);                                             
 2007e38:	40 00 03 11 	call  2008a7c <free>                           <== NOT EXECUTED
 2007e3c:	d0 06 e0 2c 	ld  [ %i3 + 0x2c ], %o0                        <== NOT EXECUTED
      rtems_fdisk_error ("recovery of disk failed: %s (%d)",          
 2007e40:	40 00 77 68 	call  2025be0 <strerror>                       <== NOT EXECUTED
 2007e44:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2007e48:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
 2007e4c:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2007e50:	11 00 80 d0 	sethi  %hi(0x2034000), %o0                     <== NOT EXECUTED
 2007e54:	7f ff f5 9d 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2007e58:	90 12 22 28 	or  %o0, 0x228, %o0	! 2034228 <__FUNCTION__.7063+0x10b8><== NOT EXECUTED
 2007e5c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2007e60:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02006544 <rtems_fdisk_ioctl>: * @param argp IOCTL argument. * @retval The IOCTL return value */ static int rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp) {
 2006544:	9d e3 bf 48 	save  %sp, -184, %sp                           
  dev_t                     dev = rtems_disk_get_device_identifier (dd);
  rtems_device_minor_number minor = rtems_filesystem_dev_minor_t (dev);
  rtems_blkdev_request*     r = argp;                                 
  rtems_status_code         sc;                                       
                                                                      
  errno = 0;                                                          
 2006548:	40 00 73 d2 	call  2023490 <__errno>                        
 200654c:	fa 06 20 04 	ld  [ %i0 + 4 ], %i5                           
                                                                      
  sc = rtems_semaphore_obtain (rtems_flashdisks[minor].lock, RTEMS_WAIT, 0);
 2006550:	21 00 81 23 	sethi  %hi(0x2048c00), %l0                     
 2006554:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1	! 2048f98 <rtems_flashdisks>
  dev_t                     dev = rtems_disk_get_device_identifier (dd);
  rtems_device_minor_number minor = rtems_filesystem_dev_minor_t (dev);
  rtems_blkdev_request*     r = argp;                                 
  rtems_status_code         sc;                                       
                                                                      
  errno = 0;                                                          
 2006558:	c0 22 00 00 	clr  [ %o0 ]                                   
                                                                      
  sc = rtems_semaphore_obtain (rtems_flashdisks[minor].lock, RTEMS_WAIT, 0);
 200655c:	85 2f 60 02 	sll  %i5, 2, %g2                               
 2006560:	b9 2f 60 05 	sll  %i5, 5, %i4                               
 2006564:	b8 27 00 02 	sub  %i4, %g2, %i4                             
 2006568:	b8 07 00 1d 	add  %i4, %i5, %i4                             
 200656c:	b9 2f 20 02 	sll  %i4, 2, %i4                               
 2006570:	82 00 40 1c 	add  %g1, %i4, %g1                             
 2006574:	d0 00 60 64 	ld  [ %g1 + 0x64 ], %o0                        
 2006578:	92 10 20 00 	clr  %o1                                       
 200657c:	40 00 1c b2 	call  200d844 <rtems_semaphore_obtain>         
 2006580:	94 10 20 00 	clr  %o2                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 2006584:	80 a2 20 00 	cmp  %o0, 0                                    
 2006588:	12 80 00 36 	bne  2006660 <rtems_fdisk_ioctl+0x11c>         <== NEVER TAKEN
 200658c:	01 00 00 00 	nop                                            
    errno = EIO;                                                      
  else                                                                
  {                                                                   
    errno = 0;                                                        
 2006590:	40 00 73 c0 	call  2023490 <__errno>                        
 2006594:	01 00 00 00 	nop                                            
    switch (req)                                                      
 2006598:	03 08 00 10 	sethi  %hi(0x20004000), %g1                    
 200659c:	84 10 62 83 	or  %g1, 0x283, %g2	! 20004283 <RAM_END+0x1dc04283>
 20065a0:	80 a6 40 02 	cmp  %i1, %g2                                  
 20065a4:	02 80 00 5b 	be  2006710 <rtems_fdisk_ioctl+0x1cc>          <== NEVER TAKEN
 20065a8:	c0 22 00 00 	clr  [ %o0 ]                                   
 20065ac:	80 a6 40 02 	cmp  %i1, %g2                                  
 20065b0:	38 80 00 37 	bgu,a   200668c <rtems_fdisk_ioctl+0x148>      
 20065b4:	82 10 62 85 	or  %g1, 0x285, %g1                            
 20065b8:	84 10 62 81 	or  %g1, 0x281, %g2                            
 20065bc:	80 a6 40 02 	cmp  %i1, %g2                                  
 20065c0:	02 80 00 de 	be  2006938 <rtems_fdisk_ioctl+0x3f4>          <== NEVER TAKEN
 20065c4:	01 00 00 00 	nop                                            
 20065c8:	08 80 00 d0 	bleu  2006908 <rtems_fdisk_ioctl+0x3c4>        <== ALWAYS TAKEN
 20065cc:	82 10 62 80 	or  %g1, 0x280, %g1                            
      case RTEMS_FDISK_IOCTL_COMPACT:                                 
        errno = rtems_fdisk_compact (&rtems_flashdisks[minor]);       
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_ERASE_USED:                              
        errno = rtems_fdisk_erase_used (&rtems_flashdisks[minor]);    
 20065d0:	40 00 73 b0 	call  2023490 <__errno>                        <== NOT EXECUTED
 20065d4:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
 20065d8:	fa 04 23 98 	ld  [ %l0 + 0x398 ], %i5                       <== NOT EXECUTED
 20065dc:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
 20065e0:	ba 07 40 1c 	add  %i5, %i4, %i5                             <== NOT EXECUTED
 * Pop the head of the segment control queue.                         
 */                                                                   
static rtems_fdisk_segment_ctl*                                       
rtems_fdisk_segment_queue_pop_head (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  if (queue->head)                                                    
 20065e4:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        <== NOT EXECUTED
 20065e8:	92 90 60 00 	orcc  %g1, 0, %o1                              <== NOT EXECUTED
 20065ec:	02 80 00 15 	be  2006640 <rtems_fdisk_ioctl+0xfc>           <== NOT EXECUTED
 20065f0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
 20065f4:	c4 00 40 00 	ld  [ %g1 ], %g2                               <== NOT EXECUTED
    if (!queue->head)                                                 
 20065f8:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 20065fc:	02 80 01 09 	be  2006a20 <rtems_fdisk_ioctl+0x4dc>          <== NOT EXECUTED
 2006600:	c4 27 60 4c 	st  %g2, [ %i5 + 0x4c ]                        <== NOT EXECUTED
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
 2006604:	c4 07 60 54 	ld  [ %i5 + 0x54 ], %g2                        <== NOT EXECUTED
 2006608:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
 200660c:	c4 27 60 54 	st  %g2, [ %i5 + 0x54 ]                        <== NOT EXECUTED
  {                                                                   
    /*                                                                
     * The segment will either end up on the available queue or       
     * the failed queue.                                              
     */                                                               
    int ret = rtems_fdisk_erase_segment (fd, sc);                     
 2006610:	7f ff fb cd 	call  2005544 <rtems_fdisk_erase_segment>      <== NOT EXECUTED
 2006614:	c0 20 40 00 	clr  [ %g1 ]                                   <== NOT EXECUTED
    if (ret && !latched_ret)                                          
 2006618:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 200661c:	02 bf ff f3 	be  20065e8 <rtems_fdisk_ioctl+0xa4>           <== NOT EXECUTED
 2006620:	c2 07 60 4c 	ld  [ %i5 + 0x4c ], %g1                        <== NOT EXECUTED
 2006624:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2006628:	12 bf ff f0 	bne  20065e8 <rtems_fdisk_ioctl+0xa4>          <== NOT EXECUTED
 200662c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2006630:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
 * Pop the head of the segment control queue.                         
 */                                                                   
static rtems_fdisk_segment_ctl*                                       
rtems_fdisk_segment_queue_pop_head (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  if (queue->head)                                                    
 2006634:	92 90 60 00 	orcc  %g1, 0, %o1                              <== NOT EXECUTED
 2006638:	12 bf ff ef 	bne  20065f4 <rtems_fdisk_ioctl+0xb0>          <== NOT EXECUTED
 200663c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2006640:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       <== NOT EXECUTED
      case RTEMS_FDISK_IOCTL_COMPACT:                                 
        errno = rtems_fdisk_compact (&rtems_flashdisks[minor]);       
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_ERASE_USED:                              
        errno = rtems_fdisk_erase_used (&rtems_flashdisks[minor]);    
 2006644:	f6 26 80 00 	st  %i3, [ %i2 ]                               <== NOT EXECUTED
 2006648:	b8 00 40 1c 	add  %g1, %i4, %i4                             <== NOT EXECUTED
      default:                                                        
        rtems_blkdev_ioctl (dd, req, argp);                           
        break;                                                        
    }                                                                 
                                                                      
    sc = rtems_semaphore_release (rtems_flashdisks[minor].lock);      
 200664c:	40 00 1c ce 	call  200d984 <rtems_semaphore_release>        <== NOT EXECUTED
 2006650:	d0 07 20 64 	ld  [ %i4 + 0x64 ], %o0                        <== NOT EXECUTED
    if (sc != RTEMS_SUCCESSFUL)                                       
 2006654:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2006658:	02 80 00 06 	be  2006670 <rtems_fdisk_ioctl+0x12c>          <== NOT EXECUTED
 200665c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      errno = EIO;                                                    
 2006660:	40 00 73 8c 	call  2023490 <__errno>                        <== NOT EXECUTED
 2006664:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2006668:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 200666c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return errno == 0 ? 0 : -1;                                         
 2006670:	40 00 73 88 	call  2023490 <__errno>                        <== NOT EXECUTED
 2006674:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2006678:	c2 02 00 00 	ld  [ %o0 ], %g1                               <== NOT EXECUTED
 200667c:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 2006680:	b0 60 20 00 	subx  %g0, 0, %i0                              <== NOT EXECUTED
 2006684:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006688:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
    errno = EIO;                                                      
  else                                                                
  {                                                                   
    errno = 0;                                                        
    switch (req)                                                      
 200668c:	80 a6 40 01 	cmp  %i1, %g1                                  
 2006690:	02 80 00 e6 	be  2006a28 <rtems_fdisk_ioctl+0x4e4>          
 2006694:	01 00 00 00 	nop                                            
 2006698:	0a 80 00 a5 	bcs  200692c <rtems_fdisk_ioctl+0x3e8>         <== NEVER TAKEN
 200669c:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       
 20066a0:	03 30 06 10 	sethi  %hi(0xc0184000), %g1                    
 20066a4:	82 10 62 01 	or  %g1, 0x201, %g1	! c0184201 <RAM_END+0xbdd84201>
 20066a8:	80 a6 40 01 	cmp  %i1, %g1                                  
 20066ac:	12 80 00 9a 	bne  2006914 <rtems_fdisk_ioctl+0x3d0>         
 20066b0:	90 10 00 18 	mov  %i0, %o0                                  
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        if ((minor >= rtems_flashdisk_count) ||                       
 20066b4:	03 00 81 23 	sethi  %hi(0x2048c00), %g1                     
 20066b8:	c2 00 63 9c 	ld  [ %g1 + 0x39c ], %g1	! 2048f9c <rtems_flashdisk_count>
 20066bc:	80 a0 40 1d 	cmp  %g1, %i5                                  
 20066c0:	08 80 02 0c 	bleu  2006ef0 <rtems_fdisk_ioctl+0x9ac>        <== NEVER TAKEN
 20066c4:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       
            (rtems_flashdisks[minor].device_count == 0))              
 20066c8:	82 00 40 1c 	add  %g1, %i4, %g1                             
  {                                                                   
    errno = 0;                                                        
    switch (req)                                                      
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        if ((minor >= rtems_flashdisk_count) ||                       
 20066cc:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1                        
 20066d0:	80 a0 60 00 	cmp  %g1, 0                                    
 20066d4:	02 80 02 07 	be  2006ef0 <rtems_fdisk_ioctl+0x9ac>          <== NEVER TAKEN
 20066d8:	01 00 00 00 	nop                                            
        {                                                             
          errno = ENODEV;                                             
        }                                                             
        else                                                          
        {                                                             
          switch (r->req)                                             
 20066dc:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 20066e0:	80 a0 60 00 	cmp  %g1, 0                                    
 20066e4:	02 80 03 a4 	be  2007574 <rtems_fdisk_ioctl+0x1030>         
 20066e8:	80 a0 60 01 	cmp  %g1, 1                                    
 20066ec:	02 80 02 0a 	be  2006f14 <rtems_fdisk_ioctl+0x9d0>          <== ALWAYS TAKEN
 20066f0:	01 00 00 00 	nop                                            
            case RTEMS_BLKDEV_REQ_WRITE:                              
              errno = rtems_fdisk_write (&rtems_flashdisks[minor], r);
              break;                                                  
                                                                      
            default:                                                  
              errno = EINVAL;                                         
 20066f4:	40 00 73 67 	call  2023490 <__errno>                        <== NOT EXECUTED
 20066f8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20066fc:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       <== NOT EXECUTED
 2006700:	b8 00 40 1c 	add  %g1, %i4, %i4                             <== NOT EXECUTED
 2006704:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
              break;                                                  
 2006708:	10 80 00 74 	b  20068d8 <rtems_fdisk_ioctl+0x394>           <== NOT EXECUTED
 200670c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
      case RTEMS_FDISK_IOCTL_ERASE_USED:                              
        errno = rtems_fdisk_erase_used (&rtems_flashdisks[minor]);    
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_MONITORING:                              
        errno = rtems_fdisk_monitoring_data (&rtems_flashdisks[minor],
 2006710:	40 00 73 60 	call  2023490 <__errno>                        <== NOT EXECUTED
 2006714:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2006718:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       <== NOT EXECUTED
 200671c:	b8 00 40 1c 	add  %g1, %i4, %i4                             <== NOT EXECUTED
{                                                                     
  uint32_t i;                                                         
  uint32_t j;                                                         
                                                                      
  data->block_size     = fd->block_size;                              
  data->block_count    = fd->block_count;                             
 2006720:	c4 07 20 1c 	ld  [ %i4 + 0x1c ], %g2                        <== NOT EXECUTED
                             rtems_fdisk_monitor_data* data)          
{                                                                     
  uint32_t i;                                                         
  uint32_t j;                                                         
                                                                      
  data->block_size     = fd->block_size;                              
 2006724:	c8 07 20 14 	ld  [ %i4 + 0x14 ], %g4                        <== NOT EXECUTED
  data->block_count    = fd->block_count;                             
  data->unavail_blocks = fd->unavail_blocks;                          
 2006728:	c6 07 20 20 	ld  [ %i4 + 0x20 ], %g3                        <== NOT EXECUTED
  data->device_count   = fd->device_count;                            
 200672c:	c2 07 20 30 	ld  [ %i4 + 0x30 ], %g1                        <== NOT EXECUTED
                             rtems_fdisk_monitor_data* data)          
{                                                                     
  uint32_t i;                                                         
  uint32_t j;                                                         
                                                                      
  data->block_size     = fd->block_size;                              
 2006730:	c8 26 80 00 	st  %g4, [ %i2 ]                               <== NOT EXECUTED
  data->block_count    = fd->block_count;                             
 2006734:	c4 26 a0 04 	st  %g2, [ %i2 + 4 ]                           <== NOT EXECUTED
  data->unavail_blocks = fd->unavail_blocks;                          
 2006738:	c6 26 a0 08 	st  %g3, [ %i2 + 8 ]                           <== NOT EXECUTED
  data->device_count   = fd->device_count;                            
 200673c:	c2 26 a0 0c 	st  %g1, [ %i2 + 0xc ]                         <== NOT EXECUTED
                                                                      
  data->blocks_used = 0;                                              
  for (i = 0; i < fd->block_count; i++)                               
 2006740:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2006744:	02 80 00 0f 	be  2006780 <rtems_fdisk_ioctl+0x23c>          <== NOT EXECUTED
 2006748:	c0 26 a0 18 	clr  [ %i2 + 0x18 ]                            <== NOT EXECUTED
 200674c:	c8 07 20 18 	ld  [ %i4 + 0x18 ], %g4                        <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006750:	87 28 a0 03 	sll  %g2, 3, %g3                               <== NOT EXECUTED
 2006754:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
  data->unavail_blocks = fd->unavail_blocks;                          
  data->device_count   = fd->device_count;                            
                                                                      
  data->blocks_used = 0;                                              
  for (i = 0; i < fd->block_count; i++)                               
    if (fd->blocks[i].segment)                                        
 2006758:	fa 01 00 02 	ld  [ %g4 + %g2 ], %i5                         <== NOT EXECUTED
 200675c:	80 a7 60 00 	cmp  %i5, 0                                    <== NOT EXECUTED
 2006760:	02 80 00 05 	be  2006774 <rtems_fdisk_ioctl+0x230>          <== NOT EXECUTED
 2006764:	84 00 a0 08 	add  %g2, 8, %g2                               <== NOT EXECUTED
      data->blocks_used++;                                            
 2006768:	fa 06 a0 18 	ld  [ %i2 + 0x18 ], %i5                        <== NOT EXECUTED
 200676c:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 2006770:	fa 26 a0 18 	st  %i5, [ %i2 + 0x18 ]                        <== NOT EXECUTED
  data->block_count    = fd->block_count;                             
  data->unavail_blocks = fd->unavail_blocks;                          
  data->device_count   = fd->device_count;                            
                                                                      
  data->blocks_used = 0;                                              
  for (i = 0; i < fd->block_count; i++)                               
 2006774:	80 a0 80 03 	cmp  %g2, %g3                                  <== NOT EXECUTED
 2006778:	32 bf ff f9 	bne,a   200675c <rtems_fdisk_ioctl+0x218>      <== NOT EXECUTED
 200677c:	fa 01 00 02 	ld  [ %g4 + %g2 ], %i5                         <== NOT EXECUTED
 * Count the number of elements on the list.                          
 */                                                                   
static uint32_t                                                       
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
 2006780:	c6 07 20 34 	ld  [ %i4 + 0x34 ], %g3                        <== NOT EXECUTED
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006784:	80 a0 e0 00 	cmp  %g3, 0                                    <== NOT EXECUTED
 2006788:	02 80 00 06 	be  20067a0 <rtems_fdisk_ioctl+0x25c>          <== NOT EXECUTED
 200678c:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
 2006790:	c6 00 c0 00 	ld  [ %g3 ], %g3                               <== NOT EXECUTED
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006794:	80 a0 e0 00 	cmp  %g3, 0                                    <== NOT EXECUTED
 2006798:	12 bf ff fe 	bne  2006790 <rtems_fdisk_ioctl+0x24c>         <== NOT EXECUTED
 200679c:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 * Count the number of elements on the list.                          
 */                                                                   
static uint32_t                                                       
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
 20067a0:	c6 07 20 40 	ld  [ %i4 + 0x40 ], %g3                        <== NOT EXECUTED
  data->blocks_used = 0;                                              
  for (i = 0; i < fd->block_count; i++)                               
    if (fd->blocks[i].segment)                                        
      data->blocks_used++;                                            
                                                                      
  data->segs_available = rtems_fdisk_segment_count_queue (&fd->available);
 20067a4:	c4 26 a0 1c 	st  %g2, [ %i2 + 0x1c ]                        <== NOT EXECUTED
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 20067a8:	80 a0 e0 00 	cmp  %g3, 0                                    <== NOT EXECUTED
 20067ac:	02 80 00 06 	be  20067c4 <rtems_fdisk_ioctl+0x280>          <== NOT EXECUTED
 20067b0:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
 20067b4:	c6 00 c0 00 	ld  [ %g3 ], %g3                               <== NOT EXECUTED
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 20067b8:	80 a0 e0 00 	cmp  %g3, 0                                    <== NOT EXECUTED
 20067bc:	12 bf ff fe 	bne  20067b4 <rtems_fdisk_ioctl+0x270>         <== NOT EXECUTED
 20067c0:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 * Count the number of elements on the list.                          
 */                                                                   
static uint32_t                                                       
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
 20067c4:	c6 07 20 58 	ld  [ %i4 + 0x58 ], %g3                        <== NOT EXECUTED
  for (i = 0; i < fd->block_count; i++)                               
    if (fd->blocks[i].segment)                                        
      data->blocks_used++;                                            
                                                                      
  data->segs_available = rtems_fdisk_segment_count_queue (&fd->available);
  data->segs_used      = rtems_fdisk_segment_count_queue (&fd->used); 
 20067c8:	c4 26 a0 20 	st  %g2, [ %i2 + 0x20 ]                        <== NOT EXECUTED
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 20067cc:	80 a0 e0 00 	cmp  %g3, 0                                    <== NOT EXECUTED
 20067d0:	02 80 00 06 	be  20067e8 <rtems_fdisk_ioctl+0x2a4>          <== NOT EXECUTED
 20067d4:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
 20067d8:	c6 00 c0 00 	ld  [ %g3 ], %g3                               <== NOT EXECUTED
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 20067dc:	80 a0 e0 00 	cmp  %g3, 0                                    <== NOT EXECUTED
 20067e0:	12 bf ff fe 	bne  20067d8 <rtems_fdisk_ioctl+0x294>         <== NOT EXECUTED
 20067e4:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
    if (fd->blocks[i].segment)                                        
      data->blocks_used++;                                            
                                                                      
  data->segs_available = rtems_fdisk_segment_count_queue (&fd->available);
  data->segs_used      = rtems_fdisk_segment_count_queue (&fd->used); 
  data->segs_failed    = rtems_fdisk_segment_count_queue (&fd->failed);
 20067e8:	c4 26 a0 24 	st  %g2, [ %i2 + 0x24 ]                        <== NOT EXECUTED
                                                                      
  data->segment_count = 0;                                            
 20067ec:	c0 26 a0 10 	clr  [ %i2 + 0x10 ]                            <== NOT EXECUTED
  data->page_count    = 0;                                            
 20067f0:	c0 26 a0 14 	clr  [ %i2 + 0x14 ]                            <== NOT EXECUTED
  data->pages_desc    = 0;                                            
 20067f4:	c0 26 a0 2c 	clr  [ %i2 + 0x2c ]                            <== NOT EXECUTED
  data->pages_active  = 0;                                            
 20067f8:	c0 26 a0 30 	clr  [ %i2 + 0x30 ]                            <== NOT EXECUTED
  data->pages_used    = 0;                                            
 20067fc:	c0 26 a0 34 	clr  [ %i2 + 0x34 ]                            <== NOT EXECUTED
  data->pages_bad     = 0;                                            
 2006800:	c0 26 a0 38 	clr  [ %i2 + 0x38 ]                            <== NOT EXECUTED
  data->seg_erases    = 0;                                            
                                                                      
  for (i = 0; i < fd->device_count; i++)                              
 2006804:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2006808:	02 80 00 31 	be  20068cc <rtems_fdisk_ioctl+0x388>          <== NOT EXECUTED
 200680c:	c0 26 a0 28 	clr  [ %i2 + 0x28 ]                            <== NOT EXECUTED
 2006810:	e0 07 20 2c 	ld  [ %i4 + 0x2c ], %l0                        <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006814:	85 28 60 02 	sll  %g1, 2, %g2                               <== NOT EXECUTED
 2006818:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
 200681c:	83 28 60 04 	sll  %g1, 4, %g1                               <== NOT EXECUTED
 2006820:	a4 20 40 02 	sub  %g1, %g2, %l2                             <== NOT EXECUTED
 2006824:	a4 04 00 12 	add  %l0, %l2, %l2                             <== NOT EXECUTED
  data->pages_bad     = 0;                                            
  data->seg_erases    = 0;                                            
                                                                      
  for (i = 0; i < fd->device_count; i++)                              
  {                                                                   
    data->segment_count += fd->devices[i].segment_count;              
 2006828:	f0 04 20 04 	ld  [ %l0 + 4 ], %i0                           <== NOT EXECUTED
                                                                      
    for (j = 0; j < fd->devices[i].segment_count; j++)                
 200682c:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 2006830:	02 80 00 22 	be  20068b8 <rtems_fdisk_ioctl+0x374>          <== NOT EXECUTED
 2006834:	a2 04 40 18 	add  %l1, %i0, %l1                             <== NOT EXECUTED
 2006838:	c2 04 00 00 	ld  [ %l0 ], %g1                               <== NOT EXECUTED
 200683c:	f2 06 a0 14 	ld  [ %i2 + 0x14 ], %i1                        <== NOT EXECUTED
 2006840:	f6 06 a0 2c 	ld  [ %i2 + 0x2c ], %i3                        <== NOT EXECUTED
 2006844:	fa 06 a0 30 	ld  [ %i2 + 0x30 ], %i5                        <== NOT EXECUTED
 2006848:	c8 06 a0 34 	ld  [ %i2 + 0x34 ], %g4                        <== NOT EXECUTED
 200684c:	c6 06 a0 38 	ld  [ %i2 + 0x38 ], %g3                        <== NOT EXECUTED
 2006850:	c4 06 a0 28 	ld  [ %i2 + 0x28 ], %g2                        <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006854:	9f 2e 20 04 	sll  %i0, 4, %o7                               <== NOT EXECUTED
 2006858:	b1 2e 20 06 	sll  %i0, 6, %i0                               <== NOT EXECUTED
 200685c:	92 26 00 0f 	sub  %i0, %o7, %o1                             <== NOT EXECUTED
 2006860:	92 00 40 09 	add  %g1, %o1, %o1                             <== NOT EXECUTED
                                                                      
    for (j = 0; j < fd->devices[i].segment_count; j++)                
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[i].segments[j];      
                                                                      
      data->page_count   += sc->pages;                                
 2006864:	d4 00 60 14 	ld  [ %g1 + 0x14 ], %o2                        <== NOT EXECUTED
      data->pages_desc   += sc->pages_desc;                           
 2006868:	d6 00 60 18 	ld  [ %g1 + 0x18 ], %o3                        <== NOT EXECUTED
      data->pages_active += sc->pages_active;                         
 200686c:	d8 00 60 1c 	ld  [ %g1 + 0x1c ], %o4                        <== NOT EXECUTED
      data->pages_used   += sc->pages_used;                           
 2006870:	da 00 60 20 	ld  [ %g1 + 0x20 ], %o5                        <== NOT EXECUTED
      data->pages_bad    += sc->pages_bad;                            
 2006874:	de 00 60 24 	ld  [ %g1 + 0x24 ], %o7                        <== NOT EXECUTED
      data->seg_erases   += sc->erased;                               
 2006878:	f0 00 60 2c 	ld  [ %g1 + 0x2c ], %i0                        <== NOT EXECUTED
                                                                      
    for (j = 0; j < fd->devices[i].segment_count; j++)                
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[i].segments[j];      
                                                                      
      data->page_count   += sc->pages;                                
 200687c:	b2 06 40 0a 	add  %i1, %o2, %i1                             <== NOT EXECUTED
 2006880:	82 00 60 30 	add  %g1, 0x30, %g1                            <== NOT EXECUTED
      data->pages_desc   += sc->pages_desc;                           
 2006884:	b6 06 c0 0b 	add  %i3, %o3, %i3                             <== NOT EXECUTED
      data->pages_active += sc->pages_active;                         
 2006888:	ba 07 40 0c 	add  %i5, %o4, %i5                             <== NOT EXECUTED
      data->pages_used   += sc->pages_used;                           
 200688c:	88 01 00 0d 	add  %g4, %o5, %g4                             <== NOT EXECUTED
      data->pages_bad    += sc->pages_bad;                            
 2006890:	86 00 c0 0f 	add  %g3, %o7, %g3                             <== NOT EXECUTED
                                                                      
  for (i = 0; i < fd->device_count; i++)                              
  {                                                                   
    data->segment_count += fd->devices[i].segment_count;              
                                                                      
    for (j = 0; j < fd->devices[i].segment_count; j++)                
 2006894:	80 a0 40 09 	cmp  %g1, %o1                                  <== NOT EXECUTED
 2006898:	12 bf ff f3 	bne  2006864 <rtems_fdisk_ioctl+0x320>         <== NOT EXECUTED
 200689c:	84 00 80 18 	add  %g2, %i0, %g2                             <== NOT EXECUTED
 20068a0:	f2 26 a0 14 	st  %i1, [ %i2 + 0x14 ]                        <== NOT EXECUTED
 20068a4:	f6 26 a0 2c 	st  %i3, [ %i2 + 0x2c ]                        <== NOT EXECUTED
 20068a8:	fa 26 a0 30 	st  %i5, [ %i2 + 0x30 ]                        <== NOT EXECUTED
 20068ac:	c8 26 a0 34 	st  %g4, [ %i2 + 0x34 ]                        <== NOT EXECUTED
 20068b0:	c6 26 a0 38 	st  %g3, [ %i2 + 0x38 ]                        <== NOT EXECUTED
 20068b4:	c4 26 a0 28 	st  %g2, [ %i2 + 0x28 ]                        <== NOT EXECUTED
 20068b8:	a0 04 20 0c 	add  %l0, 0xc, %l0                             <== NOT EXECUTED
  data->pages_active  = 0;                                            
  data->pages_used    = 0;                                            
  data->pages_bad     = 0;                                            
  data->seg_erases    = 0;                                            
                                                                      
  for (i = 0; i < fd->device_count; i++)                              
 20068bc:	80 a4 00 12 	cmp  %l0, %l2                                  <== NOT EXECUTED
 20068c0:	32 bf ff db 	bne,a   200682c <rtems_fdisk_ioctl+0x2e8>      <== NOT EXECUTED
 20068c4:	f0 04 20 04 	ld  [ %l0 + 4 ], %i0                           <== NOT EXECUTED
 20068c8:	e2 26 a0 10 	st  %l1, [ %i2 + 0x10 ]                        <== NOT EXECUTED
      data->pages_bad    += sc->pages_bad;                            
      data->seg_erases   += sc->erased;                               
    }                                                                 
  }                                                                   
                                                                      
  data->info_level = fd->info_level;                                  
 20068cc:	c2 07 20 6c 	ld  [ %i4 + 0x6c ], %g1                        <== NOT EXECUTED
 20068d0:	c2 26 a0 3c 	st  %g1, [ %i2 + 0x3c ]                        <== NOT EXECUTED
      case RTEMS_FDISK_IOCTL_ERASE_USED:                              
        errno = rtems_fdisk_erase_used (&rtems_flashdisks[minor]);    
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_MONITORING:                              
        errno = rtems_fdisk_monitoring_data (&rtems_flashdisks[minor],
 20068d4:	c0 22 00 00 	clr  [ %o0 ]                                   <== NOT EXECUTED
      default:                                                        
        rtems_blkdev_ioctl (dd, req, argp);                           
        break;                                                        
    }                                                                 
                                                                      
    sc = rtems_semaphore_release (rtems_flashdisks[minor].lock);      
 20068d8:	40 00 1c 2b 	call  200d984 <rtems_semaphore_release>        
 20068dc:	d0 07 20 64 	ld  [ %i4 + 0x64 ], %o0                        
    if (sc != RTEMS_SUCCESSFUL)                                       
 20068e0:	80 a2 20 00 	cmp  %o0, 0                                    
 20068e4:	12 bf ff 5f 	bne  2006660 <rtems_fdisk_ioctl+0x11c>         <== NEVER TAKEN
 20068e8:	01 00 00 00 	nop                                            
      errno = EIO;                                                    
  }                                                                   
                                                                      
  return errno == 0 ? 0 : -1;                                         
 20068ec:	40 00 72 e9 	call  2023490 <__errno>                        
 20068f0:	01 00 00 00 	nop                                            
 20068f4:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 20068f8:	80 a0 00 01 	cmp  %g0, %g1                                  
 20068fc:	b0 60 20 00 	subx  %g0, 0, %i0                              
 2006900:	81 c7 e0 08 	ret                                            
 2006904:	81 e8 00 00 	restore                                        
  if (sc != RTEMS_SUCCESSFUL)                                         
    errno = EIO;                                                      
  else                                                                
  {                                                                   
    errno = 0;                                                        
    switch (req)                                                      
 2006908:	80 a6 40 01 	cmp  %i1, %g1                                  
 200690c:	02 80 00 15 	be  2006960 <rtems_fdisk_ioctl+0x41c>          <== NEVER TAKEN
 2006910:	90 10 00 18 	mov  %i0, %o0                                  
      case RTEMS_FDISK_IOCTL_PRINT_STATUS:                            
        errno = rtems_fdisk_print_status (&rtems_flashdisks[minor]);  
        break;                                                        
                                                                      
      default:                                                        
        rtems_blkdev_ioctl (dd, req, argp);                           
 2006914:	92 10 00 19 	mov  %i1, %o1                                  
 2006918:	40 00 43 b1 	call  20177dc <rtems_blkdev_ioctl>             
 200691c:	94 10 00 1a 	mov  %i2, %o2                                  
 2006920:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       
        break;                                                        
 2006924:	10 bf ff ed 	b  20068d8 <rtems_fdisk_ioctl+0x394>           
 2006928:	b8 00 40 1c 	add  %g1, %i4, %i4                             
        errno = rtems_fdisk_monitoring_data (&rtems_flashdisks[minor],
                                             (rtems_fdisk_monitor_data*) argp);
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_INFO_LEVEL:                              
        rtems_flashdisks[minor].info_level = (uintptr_t) argp;        
 200692c:	b8 00 40 1c 	add  %g1, %i4, %i4                             <== NOT EXECUTED
        break;                                                        
 2006930:	10 bf ff ea 	b  20068d8 <rtems_fdisk_ioctl+0x394>           <== NOT EXECUTED
 2006934:	f4 27 20 6c 	st  %i2, [ %i4 + 0x6c ]                        <== NOT EXECUTED
      case RTEMS_FDISK_IOCTL_ERASE_DISK:                              
        errno = rtems_fdisk_erase_disk (&rtems_flashdisks[minor]);    
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_COMPACT:                                 
        errno = rtems_fdisk_compact (&rtems_flashdisks[minor]);       
 2006938:	40 00 72 d6 	call  2023490 <__errno>                        <== NOT EXECUTED
 200693c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2006940:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
 2006944:	d0 04 23 98 	ld  [ %l0 + 0x398 ], %o0                       <== NOT EXECUTED
 2006948:	7f ff fd 54 	call  2005e98 <rtems_fdisk_compact>            <== NOT EXECUTED
 200694c:	90 02 00 1c 	add  %o0, %i4, %o0                             <== NOT EXECUTED
 2006950:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       <== NOT EXECUTED
 2006954:	d0 27 40 00 	st  %o0, [ %i5 ]                               <== NOT EXECUTED
        break;                                                        
 2006958:	10 bf ff e0 	b  20068d8 <rtems_fdisk_ioctl+0x394>           <== NOT EXECUTED
 200695c:	b8 00 40 1c 	add  %g1, %i4, %i4                             <== NOT EXECUTED
          }                                                           
        }                                                             
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_ERASE_DISK:                              
        errno = rtems_fdisk_erase_disk (&rtems_flashdisks[minor]);    
 2006960:	40 00 72 cc 	call  2023490 <__errno>                        <== NOT EXECUTED
 2006964:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2006968:	fa 04 23 98 	ld  [ %l0 + 0x398 ], %i5                       <== NOT EXECUTED
 200696c:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
 2006970:	ba 07 40 1c 	add  %i5, %i4, %i5                             <== NOT EXECUTED
{                                                                     
  uint32_t device;                                                    
  int      ret;                                                       
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, "erase-disk");                                
 2006974:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     <== NOT EXECUTED
 2006978:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 200697c:	7f ff f9 d7 	call  20050d8 <rtems_fdisk_info>               <== NOT EXECUTED
 2006980:	92 12 63 c8 	or  %o1, 0x3c8, %o1                            <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_erase_flash (const rtems_flashdisk* fd)                   
{                                                                     
  uint32_t device;                                                    
  for (device = 0; device < fd->device_count; device++)               
 2006984:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        <== NOT EXECUTED
 2006988:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200698c:	02 80 03 cf 	be  20078c8 <rtems_fdisk_ioctl+0x1384>         <== NOT EXECUTED
 2006990:	31 00 80 cf 	sethi  %hi(0x2033c00), %i0                     <== NOT EXECUTED
  {                                                                   
    int ret;                                                          
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " erase-flash:%02d", device);               
 2006994:	23 00 80 cf 	sethi  %hi(0x2033c00), %l1                     <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_erase_flash (const rtems_flashdisk* fd)                   
{                                                                     
  uint32_t device;                                                    
  for (device = 0; device < fd->device_count; device++)               
 2006998:	b4 10 20 00 	clr  %i2                                       <== NOT EXECUTED
 200699c:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
  {                                                                   
    int ret;                                                          
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " erase-flash:%02d", device);               
 20069a0:	a2 14 63 d8 	or  %l1, 0x3d8, %l1                            <== NOT EXECUTED
rtems_fdisk_device_erase (const rtems_flashdisk* fd, uint32_t device) 
{                                                                     
  const rtems_fdisk_driver_handlers* ops;                             
  ops = fd->devices[device].descriptor->flash_ops;                    
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, " device-erase: %02d", device);             
 20069a4:	10 80 00 06 	b  20069bc <rtems_fdisk_ioctl+0x478>           <== NOT EXECUTED
 20069a8:	b0 16 23 f0 	or  %i0, 0x3f0, %i0                            <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_erase_flash (const rtems_flashdisk* fd)                   
{                                                                     
  uint32_t device;                                                    
  for (device = 0; device < fd->device_count; device++)               
 20069ac:	b6 06 e0 01 	inc  %i3                                       <== NOT EXECUTED
 20069b0:	80 a6 c0 01 	cmp  %i3, %g1                                  <== NOT EXECUTED
 20069b4:	1a 80 03 aa 	bcc  200785c <rtems_fdisk_ioctl+0x1318>        <== NOT EXECUTED
 20069b8:	b4 06 a0 0c 	add  %i2, 0xc, %i2                             <== NOT EXECUTED
  {                                                                   
    int ret;                                                          
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " erase-flash:%02d", device);               
 20069bc:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 20069c0:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 20069c4:	7f ff f9 c5 	call  20050d8 <rtems_fdisk_info>               <== NOT EXECUTED
 20069c8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_device_erase (const rtems_flashdisk* fd, uint32_t device) 
{                                                                     
  const rtems_fdisk_driver_handlers* ops;                             
  ops = fd->devices[device].descriptor->flash_ops;                    
 20069cc:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        <== NOT EXECUTED
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, " device-erase: %02d", device);             
 20069d0:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_device_erase (const rtems_flashdisk* fd, uint32_t device) 
{                                                                     
  const rtems_fdisk_driver_handlers* ops;                             
  ops = fd->devices[device].descriptor->flash_ops;                    
 20069d4:	82 00 40 1a 	add  %g1, %i2, %g1                             <== NOT EXECUTED
 20069d8:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           <== NOT EXECUTED
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, " device-erase: %02d", device);             
 20069dc:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_device_erase (const rtems_flashdisk* fd, uint32_t device) 
{                                                                     
  const rtems_fdisk_driver_handlers* ops;                             
  ops = fd->devices[device].descriptor->flash_ops;                    
 20069e0:	e4 00 60 08 	ld  [ %g1 + 8 ], %l2                           <== NOT EXECUTED
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, " device-erase: %02d", device);             
 20069e4:	7f ff f9 df 	call  2005160 <rtems_fdisk_printf>             <== NOT EXECUTED
 20069e8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
#endif                                                                
  return ops->erase_device (fd->devices[device].descriptor, device);  
 20069ec:	c4 07 60 2c 	ld  [ %i5 + 0x2c ], %g2                        <== NOT EXECUTED
 20069f0:	c2 04 a0 14 	ld  [ %l2 + 0x14 ], %g1                        <== NOT EXECUTED
 20069f4:	84 00 80 1a 	add  %g2, %i2, %g2                             <== NOT EXECUTED
 20069f8:	d0 00 a0 08 	ld  [ %g2 + 8 ], %o0                           <== NOT EXECUTED
 20069fc:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2006a00:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
    rtems_fdisk_info (fd, " erase-flash:%02d", device);               
#endif                                                                
                                                                      
    ret = rtems_fdisk_device_erase (fd, device);                      
                                                                      
    if (ret != 0)                                                     
 2006a04:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2006a08:	22 bf ff e9 	be,a   20069ac <rtems_fdisk_ioctl+0x468>       <== NOT EXECUTED
 2006a0c:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        <== NOT EXECUTED
 2006a10:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       <== NOT EXECUTED
          }                                                           
        }                                                             
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_ERASE_DISK:                              
        errno = rtems_fdisk_erase_disk (&rtems_flashdisks[minor]);    
 2006a14:	d0 26 40 00 	st  %o0, [ %i1 ]                               <== NOT EXECUTED
        break;                                                        
 2006a18:	10 bf ff b0 	b  20068d8 <rtems_fdisk_ioctl+0x394>           <== NOT EXECUTED
 2006a1c:	b8 00 40 1c 	add  %g1, %i4, %i4                             <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
 2006a20:	10 bf fe f9 	b  2006604 <rtems_fdisk_ioctl+0xc0>            <== NOT EXECUTED
 2006a24:	c0 27 60 50 	clr  [ %i5 + 0x50 ]                            <== NOT EXECUTED
      case RTEMS_FDISK_IOCTL_INFO_LEVEL:                              
        rtems_flashdisks[minor].info_level = (uintptr_t) argp;        
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_PRINT_STATUS:                            
        errno = rtems_fdisk_print_status (&rtems_flashdisks[minor]);  
 2006a28:	40 00 72 9a 	call  2023490 <__errno>                        
 2006a2c:	ba 10 20 00 	clr  %i5                                       
 2006a30:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       
 2006a34:	d0 27 bf e8 	st  %o0, [ %fp + -24 ]                         
 2006a38:	b4 00 40 1c 	add  %g1, %i4, %i2                             
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
                                                                      
  rtems_fdisk_printf (fd,                                             
 2006a3c:	d4 00 40 1c 	ld  [ %g1 + %i4 ], %o2                         
 */                                                                   
static int                                                            
rtems_fdisk_print_status (rtems_flashdisk* fd)                        
{                                                                     
#if RTEMS_FDISK_TRACE                                                 
  uint32_t current_info_level = fd->info_level;                       
 2006a40:	c6 06 a0 6c 	ld  [ %i2 + 0x6c ], %g3                        
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
                                                                      
  rtems_fdisk_printf (fd,                                             
 2006a44:	d6 06 a0 04 	ld  [ %i2 + 4 ], %o3                           
  uint32_t current_info_level = fd->info_level;                       
  uint32_t total;                                                     
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
 2006a48:	82 10 20 03 	mov  3, %g1                                    
 */                                                                   
static int                                                            
rtems_fdisk_print_status (rtems_flashdisk* fd)                        
{                                                                     
#if RTEMS_FDISK_TRACE                                                 
  uint32_t current_info_level = fd->info_level;                       
 2006a4c:	c6 27 bf e4 	st  %g3, [ %fp + -28 ]                         
  uint32_t total;                                                     
  uint32_t count;                                                     
  uint32_t device;                                                    
                                                                      
  fd->info_level = 3;                                                 
 2006a50:	c2 26 a0 6c 	st  %g1, [ %i2 + 0x6c ]                        
                                                                      
  rtems_fdisk_printf (fd,                                             
 2006a54:	90 10 00 1a 	mov  %i2, %o0                                  
 2006a58:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006a5c:	7f ff f9 c1 	call  2005160 <rtems_fdisk_printf>             
 2006a60:	92 12 60 08 	or  %o1, 8, %o1	! 2034008 <__FUNCTION__.7063+0xe98>
                      "Flash Disk Driver Status : %d.%d", fd->major, fd->minor);
                                                                      
  rtems_fdisk_printf (fd, "Block count\t%d", fd->block_count);        
 2006a64:	d4 06 a0 1c 	ld  [ %i2 + 0x1c ], %o2                        
 2006a68:	90 10 00 1a 	mov  %i2, %o0                                  
 2006a6c:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006a70:	7f ff f9 bc 	call  2005160 <rtems_fdisk_printf>             
 2006a74:	92 12 60 30 	or  %o1, 0x30, %o1	! 2034030 <__FUNCTION__.7063+0xec0>
  rtems_fdisk_printf (fd, "Unavail blocks\t%d", fd->unavail_blocks);  
 2006a78:	d4 06 a0 20 	ld  [ %i2 + 0x20 ], %o2                        
 2006a7c:	90 10 00 1a 	mov  %i2, %o0                                  
 2006a80:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006a84:	7f ff f9 b7 	call  2005160 <rtems_fdisk_printf>             
 2006a88:	92 12 60 40 	or  %o1, 0x40, %o1	! 2034040 <__FUNCTION__.7063+0xed0>
  rtems_fdisk_printf (fd, "Starvation threshold\t%d", fd->starvation_threshold);
 2006a8c:	d4 06 a0 24 	ld  [ %i2 + 0x24 ], %o2                        
 2006a90:	90 10 00 1a 	mov  %i2, %o0                                  
 2006a94:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006a98:	7f ff f9 b2 	call  2005160 <rtems_fdisk_printf>             
 2006a9c:	92 12 60 58 	or  %o1, 0x58, %o1	! 2034058 <__FUNCTION__.7063+0xee8>
  rtems_fdisk_printf (fd, "Starvations\t%d", fd->starvations);        
 2006aa0:	d4 06 a0 70 	ld  [ %i2 + 0x70 ], %o2                        
 2006aa4:	90 10 00 1a 	mov  %i2, %o0                                  
 2006aa8:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006aac:	7f ff f9 ad 	call  2005160 <rtems_fdisk_printf>             
 2006ab0:	92 12 60 70 	or  %o1, 0x70, %o1	! 2034070 <__FUNCTION__.7063+0xf00>
 * Count the number of elements on the list.                          
 */                                                                   
static uint32_t                                                       
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
 2006ab4:	c2 06 a0 34 	ld  [ %i2 + 0x34 ], %g1                        
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006ab8:	80 a0 60 00 	cmp  %g1, 0                                    
 2006abc:	22 80 00 07 	be,a   2006ad8 <rtems_fdisk_ioctl+0x594>       <== NEVER TAKEN
 2006ac0:	d6 06 a0 3c 	ld  [ %i2 + 0x3c ], %o3                        <== NOT EXECUTED
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
 2006ac4:	c2 00 40 00 	ld  [ %g1 ], %g1                               
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006ac8:	80 a0 60 00 	cmp  %g1, 0                                    
 2006acc:	12 bf ff fe 	bne  2006ac4 <rtems_fdisk_ioctl+0x580>         <== NEVER TAKEN
 2006ad0:	ba 07 60 01 	inc  %i5                                       
  rtems_fdisk_printf (fd, "Unavail blocks\t%d", fd->unavail_blocks);  
  rtems_fdisk_printf (fd, "Starvation threshold\t%d", fd->starvation_threshold);
  rtems_fdisk_printf (fd, "Starvations\t%d", fd->starvations);        
  count = rtems_fdisk_segment_count_queue (&fd->available);           
  total = count;                                                      
  rtems_fdisk_printf (fd, "Available queue\t%ld (%ld)",               
 2006ad4:	d6 06 a0 3c 	ld  [ %i2 + 0x3c ], %o3                        
 2006ad8:	94 10 00 1d 	mov  %i5, %o2                                  
 2006adc:	90 10 00 1a 	mov  %i2, %o0                                  
 2006ae0:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006ae4:	7f ff f9 9f 	call  2005160 <rtems_fdisk_printf>             
 2006ae8:	92 12 60 80 	or  %o1, 0x80, %o1	! 2034080 <__FUNCTION__.7063+0xf10>
 * Count the number of elements on the list.                          
 */                                                                   
static uint32_t                                                       
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
 2006aec:	c2 06 a0 40 	ld  [ %i2 + 0x40 ], %g1                        
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006af0:	80 a0 60 00 	cmp  %g1, 0                                    
 2006af4:	02 80 00 06 	be  2006b0c <rtems_fdisk_ioctl+0x5c8>          <== NEVER TAKEN
 2006af8:	94 10 20 00 	clr  %o2                                       
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
 2006afc:	c2 00 40 00 	ld  [ %g1 ], %g1                               
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006b00:	80 a0 60 00 	cmp  %g1, 0                                    
 2006b04:	12 bf ff fe 	bne  2006afc <rtems_fdisk_ioctl+0x5b8>         
 2006b08:	94 02 a0 01 	inc  %o2                                       
  total = count;                                                      
  rtems_fdisk_printf (fd, "Available queue\t%ld (%ld)",               
                      count, rtems_fdisk_segment_queue_count (&fd->available));
  count = rtems_fdisk_segment_count_queue (&fd->used);                
  total += count;                                                     
  rtems_fdisk_printf (fd, "Used queue\t%ld (%ld)",                    
 2006b0c:	d6 06 a0 48 	ld  [ %i2 + 0x48 ], %o3                        
  count = rtems_fdisk_segment_count_queue (&fd->available);           
  total = count;                                                      
  rtems_fdisk_printf (fd, "Available queue\t%ld (%ld)",               
                      count, rtems_fdisk_segment_queue_count (&fd->available));
  count = rtems_fdisk_segment_count_queue (&fd->used);                
  total += count;                                                     
 2006b10:	ba 02 80 1d 	add  %o2, %i5, %i5                             
  rtems_fdisk_printf (fd, "Used queue\t%ld (%ld)",                    
 2006b14:	90 10 00 1a 	mov  %i2, %o0                                  
 2006b18:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006b1c:	7f ff f9 91 	call  2005160 <rtems_fdisk_printf>             
 2006b20:	92 12 60 a0 	or  %o1, 0xa0, %o1	! 20340a0 <__FUNCTION__.7063+0xf30>
 * Count the number of elements on the list.                          
 */                                                                   
static uint32_t                                                       
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
 2006b24:	c2 06 a0 4c 	ld  [ %i2 + 0x4c ], %g1                        
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006b28:	80 a0 60 00 	cmp  %g1, 0                                    
 2006b2c:	02 80 00 06 	be  2006b44 <rtems_fdisk_ioctl+0x600>          <== ALWAYS TAKEN
 2006b30:	94 10 20 00 	clr  %o2                                       
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
 2006b34:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006b38:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2006b3c:	12 bf ff fe 	bne  2006b34 <rtems_fdisk_ioctl+0x5f0>         <== NOT EXECUTED
 2006b40:	94 02 a0 01 	inc  %o2                                       <== NOT EXECUTED
  total += count;                                                     
  rtems_fdisk_printf (fd, "Used queue\t%ld (%ld)",                    
                      count, rtems_fdisk_segment_queue_count (&fd->used));
  count = rtems_fdisk_segment_count_queue (&fd->erase);               
  total += count;                                                     
  rtems_fdisk_printf (fd, "Erase queue\t%ld (%ld)",                   
 2006b44:	d6 06 a0 54 	ld  [ %i2 + 0x54 ], %o3                        
  count = rtems_fdisk_segment_count_queue (&fd->used);                
  total += count;                                                     
  rtems_fdisk_printf (fd, "Used queue\t%ld (%ld)",                    
                      count, rtems_fdisk_segment_queue_count (&fd->used));
  count = rtems_fdisk_segment_count_queue (&fd->erase);               
  total += count;                                                     
 2006b48:	ba 07 40 0a 	add  %i5, %o2, %i5                             
  rtems_fdisk_printf (fd, "Erase queue\t%ld (%ld)",                   
 2006b4c:	90 10 00 1a 	mov  %i2, %o0                                  
 2006b50:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006b54:	7f ff f9 83 	call  2005160 <rtems_fdisk_printf>             
 2006b58:	92 12 60 b8 	or  %o1, 0xb8, %o1	! 20340b8 <__FUNCTION__.7063+0xf48>
 * Count the number of elements on the list.                          
 */                                                                   
static uint32_t                                                       
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
 2006b5c:	c4 06 a0 58 	ld  [ %i2 + 0x58 ], %g2                        
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006b60:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006b64:	02 80 00 06 	be  2006b7c <rtems_fdisk_ioctl+0x638>          <== ALWAYS TAKEN
 2006b68:	94 10 20 00 	clr  %o2                                       
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
 2006b6c:	c4 00 80 00 	ld  [ %g2 ], %g2                               <== NOT EXECUTED
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2006b70:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2006b74:	12 bf ff fe 	bne  2006b6c <rtems_fdisk_ioctl+0x628>         <== NOT EXECUTED
 2006b78:	94 02 a0 01 	inc  %o2                                       <== NOT EXECUTED
  total += count;                                                     
  rtems_fdisk_printf (fd, "Erase queue\t%ld (%ld)",                   
                      count, rtems_fdisk_segment_queue_count (&fd->erase));
  count = rtems_fdisk_segment_count_queue (&fd->failed);              
  total += count;                                                     
  rtems_fdisk_printf (fd, "Failed queue\t%ld (%ld)",                  
 2006b7c:	d6 06 a0 60 	ld  [ %i2 + 0x60 ], %o3                        
  count = rtems_fdisk_segment_count_queue (&fd->erase);               
  total += count;                                                     
  rtems_fdisk_printf (fd, "Erase queue\t%ld (%ld)",                   
                      count, rtems_fdisk_segment_queue_count (&fd->erase));
  count = rtems_fdisk_segment_count_queue (&fd->failed);              
  total += count;                                                     
 2006b80:	ba 07 40 0a 	add  %i5, %o2, %i5                             
  rtems_fdisk_printf (fd, "Failed queue\t%ld (%ld)",                  
 2006b84:	90 10 00 1a 	mov  %i2, %o0                                  
 2006b88:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006b8c:	7f ff f9 75 	call  2005160 <rtems_fdisk_printf>             
 2006b90:	92 12 60 d0 	or  %o1, 0xd0, %o1	! 20340d0 <__FUNCTION__.7063+0xf60>
                      count, rtems_fdisk_segment_queue_count (&fd->failed));
                                                                      
  count = 0;                                                          
  for (device = 0; device < fd->device_count; device++)               
 2006b94:	c4 06 a0 30 	ld  [ %i2 + 0x30 ], %g2                        
 2006b98:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006b9c:	02 80 00 dc 	be  2006f0c <rtems_fdisk_ioctl+0x9c8>          <== NEVER TAKEN
 2006ba0:	87 28 a0 02 	sll  %g2, 2, %g3                               
 2006ba4:	c2 06 a0 2c 	ld  [ %i2 + 0x2c ], %g1                        
  count = rtems_fdisk_segment_count_queue (&fd->failed);              
  total += count;                                                     
  rtems_fdisk_printf (fd, "Failed queue\t%ld (%ld)",                  
                      count, rtems_fdisk_segment_queue_count (&fd->failed));
                                                                      
  count = 0;                                                          
 2006ba8:	96 10 20 00 	clr  %o3                                       
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006bac:	85 28 a0 04 	sll  %g2, 4, %g2                               
 2006bb0:	84 20 80 03 	sub  %g2, %g3, %g2                             
 2006bb4:	84 00 80 01 	add  %g2, %g1, %g2                             
  rtems_fdisk_printf (fd, "Failed queue\t%ld (%ld)",                  
                      count, rtems_fdisk_segment_queue_count (&fd->failed));
                                                                      
  count = 0;                                                          
  for (device = 0; device < fd->device_count; device++)               
    count += fd->devices[device].segment_count;                       
 2006bb8:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
 2006bbc:	82 00 60 0c 	add  %g1, 0xc, %g1                             
  total += count;                                                     
  rtems_fdisk_printf (fd, "Failed queue\t%ld (%ld)",                  
                      count, rtems_fdisk_segment_queue_count (&fd->failed));
                                                                      
  count = 0;                                                          
  for (device = 0; device < fd->device_count; device++)               
 2006bc0:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006bc4:	12 bf ff fd 	bne  2006bb8 <rtems_fdisk_ioctl+0x674>         <== NEVER TAKEN
 2006bc8:	96 02 c0 03 	add  %o3, %g3, %o3                             
    count += fd->devices[device].segment_count;                       
                                                                      
  rtems_fdisk_printf (fd, "Queue total\t%ld of %ld, %s", total, count,
 2006bcc:	19 00 80 ce 	sethi  %hi(0x2033800), %o4                     
 2006bd0:	80 a7 40 0b 	cmp  %i5, %o3                                  
 2006bd4:	02 80 02 65 	be  2007568 <rtems_fdisk_ioctl+0x1024>         <== ALWAYS TAKEN
 2006bd8:	98 13 23 d0 	or  %o4, 0x3d0, %o4                            
 2006bdc:	94 10 00 1d 	mov  %i5, %o2                                  
 2006be0:	90 10 00 1a 	mov  %i2, %o0                                  
 2006be4:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006be8:	7f ff f9 5e 	call  2005160 <rtems_fdisk_printf>             
 2006bec:	92 12 60 e8 	or  %o1, 0xe8, %o1	! 20340e8 <__FUNCTION__.7063+0xf78>
                      total == count ? "ok" : "MISSING");             
                                                                      
  rtems_fdisk_printf (fd, "Device count\t%d", fd->device_count);      
 2006bf0:	d4 06 a0 30 	ld  [ %i2 + 0x30 ], %o2                        
 2006bf4:	90 10 00 1a 	mov  %i2, %o0                                  
 2006bf8:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006bfc:	7f ff f9 59 	call  2005160 <rtems_fdisk_printf>             
 2006c00:	92 12 61 08 	or  %o1, 0x108, %o1	! 2034108 <__FUNCTION__.7063+0xf98>
                                                                      
  for (device = 0; device < fd->device_count; device++)               
 2006c04:	c2 06 a0 30 	ld  [ %i2 + 0x30 ], %g1                        
 2006c08:	80 a0 60 00 	cmp  %g1, 0                                    
 2006c0c:	22 80 00 8f 	be,a   2006e48 <rtems_fdisk_ioctl+0x904>       <== NEVER TAKEN
 2006c10:	fa 06 a0 40 	ld  [ %i2 + 0x40 ], %i5                        <== NOT EXECUTED
 2006c14:	a2 10 20 00 	clr  %l1                                       
 2006c18:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
  {                                                                   
    uint32_t block;                                                   
    uint32_t seg;                                                     
                                                                      
    rtems_fdisk_printf (fd, " Device\t\t%ld", device);                
 2006c1c:	d4 07 bf ec 	ld  [ %fp + -20 ], %o2                         
 2006c20:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006c24:	90 10 00 1a 	mov  %i2, %o0                                  
 2006c28:	7f ff f9 4e 	call  2005160 <rtems_fdisk_printf>             
 2006c2c:	92 12 61 18 	or  %o1, 0x118, %o1                            
    rtems_fdisk_printf (fd, "  Segment count\t%ld",                   
 2006c30:	c2 06 a0 2c 	ld  [ %i2 + 0x2c ], %g1                        
 2006c34:	90 10 00 1a 	mov  %i2, %o0                                  
 2006c38:	82 00 40 11 	add  %g1, %l1, %g1                             
 2006c3c:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           
 2006c40:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006c44:	7f ff f9 47 	call  2005160 <rtems_fdisk_printf>             
 2006c48:	92 12 61 28 	or  %o1, 0x128, %o1	! 2034128 <__FUNCTION__.7063+0xfb8>
                        fd->devices[device].segment_count);           
                                                                      
    for (seg = 0; seg < fd->devices[device].segment_count; seg++)     
 2006c4c:	c2 06 a0 2c 	ld  [ %i2 + 0x2c ], %g1                        
 2006c50:	82 00 40 11 	add  %g1, %l1, %g1                             
 2006c54:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 2006c58:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006c5c:	02 80 00 74 	be  2006e2c <rtems_fdisk_ioctl+0x8e8>          <== NEVER TAKEN
 2006c60:	c4 07 bf ec 	ld  [ %fp + -20 ], %g2                         
 2006c64:	b0 10 20 00 	clr  %i0                                       
 2006c68:	b2 10 20 00 	clr  %i1                                       
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[device].segments[seg];
 2006c6c:	f6 00 40 00 	ld  [ %g1 ], %i3                               
      uint32_t                 active = 0;                            
      uint32_t                 used = 0;                              
      bool                     is_active = false;                     
      char                     queues[5];                             
                                                                      
      rtems_fdisk_queue_status (fd, sc, queues);                      
 2006c70:	90 10 00 1a 	mov  %i2, %o0                                  
    rtems_fdisk_printf (fd, "  Segment count\t%ld",                   
                        fd->devices[device].segment_count);           
                                                                      
    for (seg = 0; seg < fd->devices[device].segment_count; seg++)     
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[device].segments[seg];
 2006c74:	b6 06 c0 18 	add  %i3, %i0, %i3                             
      uint32_t                 active = 0;                            
      uint32_t                 used = 0;                              
      bool                     is_active = false;                     
      char                     queues[5];                             
                                                                      
      rtems_fdisk_queue_status (fd, sc, queues);                      
 2006c78:	94 07 bf f8 	add  %fp, -8, %o2                              
 2006c7c:	7f ff f8 b9 	call  2004f60 <rtems_fdisk_queue_status>       
 2006c80:	92 10 00 1b 	mov  %i3, %o1                                  
                                                                      
      for (page = 0; page < sc->pages; page++)                        
 2006c84:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        
 2006c88:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006c8c:	22 80 00 95 	be,a   2006ee0 <rtems_fdisk_ioctl+0x99c>       <== NEVER TAKEN
 2006c90:	de 06 a0 1c 	ld  [ %i2 + 0x1c ], %o7                        <== NOT EXECUTED
 2006c94:	d4 06 a0 1c 	ld  [ %i2 + 0x1c ], %o2                        
      rtems_fdisk_segment_ctl* sc = &fd->devices[device].segments[seg];
      uint32_t                 page;                                  
      uint32_t                 erased = 0;                            
      uint32_t                 active = 0;                            
      uint32_t                 used = 0;                              
      bool                     is_active = false;                     
 2006c98:	a6 10 20 00 	clr  %l3                                       
 2006c9c:	9e 10 00 0a 	mov  %o2, %o7                                  
    for (seg = 0; seg < fd->devices[device].segment_count; seg++)     
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[device].segments[seg];
      uint32_t                 page;                                  
      uint32_t                 erased = 0;                            
      uint32_t                 active = 0;                            
 2006ca0:	ae 10 20 00 	clr  %l7                                       
      uint32_t                 used = 0;                              
 2006ca4:	ac 10 20 00 	clr  %l6                                       
                                                                      
    for (seg = 0; seg < fd->devices[device].segment_count; seg++)     
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[device].segments[seg];
      uint32_t                 page;                                  
      uint32_t                 erased = 0;                            
 2006ca8:	aa 10 20 00 	clr  %l5                                       
      bool                     is_active = false;                     
      char                     queues[5];                             
                                                                      
      rtems_fdisk_queue_status (fd, sc, queues);                      
                                                                      
      for (page = 0; page < sc->pages; page++)                        
 2006cac:	a8 10 20 00 	clr  %l4                                       
      {                                                               
        if (rtems_fdisk_page_desc_erased (&sc->page_descriptors[page]))
 2006cb0:	d6 06 e0 10 	ld  [ %i3 + 0x10 ], %o3                        
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006cb4:	bb 2d 20 03 	sll  %l4, 3, %i5                               
static bool                                                           
rtems_fdisk_page_desc_erased (const rtems_fdisk_page_desc* pd)        
{                                                                     
  return ((pd->crc == 0xffff) &&                                      
          (pd->flags == 0xffff) &&                                    
          (pd->block == 0xffffffff)) ? true : false;                  
 2006cb8:	d2 02 c0 1d 	ld  [ %o3 + %i5 ], %o1                         
 2006cbc:	80 a2 7f ff 	cmp  %o1, -1                                   
 2006cc0:	02 80 00 7e 	be  2006eb8 <rtems_fdisk_ioctl+0x974>          
 2006cc4:	ba 02 c0 1d 	add  %o3, %i5, %i5                             
 * only set a flag by changing it from 1 to 0.                        
 */                                                                   
static bool                                                           
rtems_fdisk_page_desc_flags_set (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  return (pd->flags & flags) == 0 ? true : false;                     
 2006cc8:	fa 17 60 02 	lduh  [ %i5 + 2 ], %i5                         
                                                                      
      for (page = 0; page < sc->pages; page++)                        
      {                                                               
        if (rtems_fdisk_page_desc_erased (&sc->page_descriptors[page]))
          erased++;                                                   
        else if (rtems_fdisk_page_desc_flags_set (&sc->page_descriptors[page],
 2006ccc:	80 8f 60 01 	btst  1, %i5                                   
 2006cd0:	12 80 00 07 	bne  2006cec <rtems_fdisk_ioctl+0x7a8>         <== NEVER TAKEN
 2006cd4:	80 a2 a0 00 	cmp  %o2, 0                                    
                                                  RTEMS_FDISK_PAGE_ACTIVE))
        {                                                             
          if (rtems_fdisk_page_desc_flags_set (&sc->page_descriptors[page],
 2006cd8:	80 8f 60 02 	btst  2, %i5                                   
 2006cdc:	32 80 00 7d 	bne,a   2006ed0 <rtems_fdisk_ioctl+0x98c>      
 2006ce0:	ae 05 e0 01 	inc  %l7                                       
                                               RTEMS_FDISK_PAGE_USED))
            used++;                                                   
 2006ce4:	ac 05 a0 01 	inc  %l6                                       
            active++;                                                 
            is_active = true;                                         
          }                                                           
        }                                                             
                                                                      
        for (block = 0; block < fd->block_count; block++)             
 2006ce8:	80 a2 a0 00 	cmp  %o2, 0                                    
 2006cec:	22 80 00 23 	be,a   2006d78 <rtems_fdisk_ioctl+0x834>       <== NEVER TAKEN
 2006cf0:	a8 05 20 01 	inc  %l4                                       <== NOT EXECUTED
 2006cf4:	ba 10 20 00 	clr  %i5                                       
        {                                                             
          if ((fd->blocks[block].segment == sc) &&                    
              (fd->blocks[block].page == page) && !is_active)         
 2006cf8:	10 80 00 06 	b  2006d10 <rtems_fdisk_ioctl+0x7cc>           
 2006cfc:	a4 0c e0 ff 	and  %l3, 0xff, %l2                            
            active++;                                                 
            is_active = true;                                         
          }                                                           
        }                                                             
                                                                      
        for (block = 0; block < fd->block_count; block++)             
 2006d00:	ba 07 60 01 	inc  %i5                                       
 2006d04:	80 a7 40 0a 	cmp  %i5, %o2                                  
 2006d08:	1a 80 00 1a 	bcc  2006d70 <rtems_fdisk_ioctl+0x82c>         
 2006d0c:	9e 10 00 0a 	mov  %o2, %o7                                  
        {                                                             
          if ((fd->blocks[block].segment == sc) &&                    
 2006d10:	d6 06 a0 18 	ld  [ %i2 + 0x18 ], %o3                        
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006d14:	9f 2f 60 03 	sll  %i5, 3, %o7                               
          }                                                           
        }                                                             
                                                                      
        for (block = 0; block < fd->block_count; block++)             
        {                                                             
          if ((fd->blocks[block].segment == sc) &&                    
 2006d18:	d2 02 c0 0f 	ld  [ %o3 + %o7 ], %o1                         
 2006d1c:	80 a6 c0 09 	cmp  %i3, %o1                                  
 2006d20:	12 bf ff f8 	bne  2006d00 <rtems_fdisk_ioctl+0x7bc>         
 2006d24:	9e 02 c0 0f 	add  %o3, %o7, %o7                             
 2006d28:	de 03 e0 04 	ld  [ %o7 + 4 ], %o7                           
 2006d2c:	80 a5 00 0f 	cmp  %l4, %o7                                  
 2006d30:	32 bf ff f5 	bne,a   2006d04 <rtems_fdisk_ioctl+0x7c0>      
 2006d34:	ba 07 60 01 	inc  %i5                                       
              (fd->blocks[block].page == page) && !is_active)         
 2006d38:	80 a4 a0 00 	cmp  %l2, 0                                    
 2006d3c:	32 bf ff f2 	bne,a   2006d04 <rtems_fdisk_ioctl+0x7c0>      <== ALWAYS TAKEN
 2006d40:	ba 07 60 01 	inc  %i5                                       
            rtems_fdisk_printf (fd,                                   
 2006d44:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
 2006d48:	94 10 00 14 	mov  %l4, %o2                                  <== NOT EXECUTED
 2006d4c:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 2006d50:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     <== NOT EXECUTED
 2006d54:	7f ff f9 03 	call  2005160 <rtems_fdisk_printf>             <== NOT EXECUTED
 2006d58:	92 12 61 40 	or  %o1, 0x140, %o1	! 2034140 <__FUNCTION__.7063+0xfd0><== NOT EXECUTED
 2006d5c:	d4 06 a0 1c 	ld  [ %i2 + 0x1c ], %o2                        <== NOT EXECUTED
            active++;                                                 
            is_active = true;                                         
          }                                                           
        }                                                             
                                                                      
        for (block = 0; block < fd->block_count; block++)             
 2006d60:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 2006d64:	80 a7 40 0a 	cmp  %i5, %o2                                  <== NOT EXECUTED
 2006d68:	0a bf ff ea 	bcs  2006d10 <rtems_fdisk_ioctl+0x7cc>         <== NOT EXECUTED
 2006d6c:	9e 10 00 0a 	mov  %o2, %o7                                  <== NOT EXECUTED
 2006d70:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        
      bool                     is_active = false;                     
      char                     queues[5];                             
                                                                      
      rtems_fdisk_queue_status (fd, sc, queues);                      
                                                                      
      for (page = 0; page < sc->pages; page++)                        
 2006d74:	a8 05 20 01 	inc  %l4                                       
 2006d78:	80 a5 00 02 	cmp  %l4, %g2                                  
 2006d7c:	2a bf ff ce 	bcs,a   2006cb4 <rtems_fdisk_ioctl+0x770>      
 2006d80:	d6 06 e0 10 	ld  [ %i3 + 0x10 ], %o3                        
                                page, block);                         
        }                                                             
      }                                                               
                                                                      
      count = 0;                                                      
      for (block = 0; block < fd->block_count; block++)               
 2006d84:	80 a3 e0 00 	cmp  %o7, 0                                    
 2006d88:	02 80 00 54 	be  2006ed8 <rtems_fdisk_ioctl+0x994>          <== NEVER TAKEN
 2006d8c:	9f 2b e0 03 	sll  %o7, 3, %o7                               
 2006d90:	d6 06 a0 18 	ld  [ %i2 + 0x18 ], %o3                        
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006d94:	82 10 20 00 	clr  %g1                                       
 2006d98:	86 10 20 00 	clr  %g3                                       
      }                                                               
                                                                      
      count = 0;                                                      
      for (block = 0; block < fd->block_count; block++)               
      {                                                               
        if (fd->blocks[block].segment == sc)                          
 2006d9c:	fa 02 c0 01 	ld  [ %o3 + %g1 ], %i5                         
 2006da0:	82 00 60 08 	add  %g1, 8, %g1                               
          count++;                                                    
 2006da4:	ba 1e c0 1d 	xor  %i3, %i5, %i5                             
 2006da8:	80 a0 00 1d 	cmp  %g0, %i5                                  
 2006dac:	86 60 ff ff 	subx  %g3, -1, %g3                             
                                page, block);                         
        }                                                             
      }                                                               
                                                                      
      count = 0;                                                      
      for (block = 0; block < fd->block_count; block++)               
 2006db0:	80 a0 40 0f 	cmp  %g1, %o7                                  
 2006db4:	32 bf ff fb 	bne,a   2006da0 <rtems_fdisk_ioctl+0x85c>      
 2006db8:	fa 02 c0 01 	ld  [ %o3 + %g1 ], %i5                         
                          " u:%3ld/%3ld e:%3ld/%3ld br:%ld",          
                          seg, queues,                                
                          sc->pages, sc->pages_active, active,        
                          sc->pages_used, used, erased,               
                          sc->pages - (sc->pages_active +             
                                       sc->pages_used + sc->pages_bad),
 2006dbc:	fa 06 e0 20 	ld  [ %i3 + 0x20 ], %i5                        
      rtems_fdisk_printf (fd, "  %3ld %s p:%3ld a:%3ld/%3ld" \        
                          " u:%3ld/%3ld e:%3ld/%3ld br:%ld",          
                          seg, queues,                                
                          sc->pages, sc->pages_active, active,        
                          sc->pages_used, used, erased,               
                          sc->pages - (sc->pages_active +             
 2006dc0:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
      {                                                               
        if (fd->blocks[block].segment == sc)                          
          count++;                                                    
      }                                                               
                                                                      
      rtems_fdisk_printf (fd, "  %3ld %s p:%3ld a:%3ld/%3ld" \        
 2006dc4:	fa 23 a0 60 	st  %i5, [ %sp + 0x60 ]                        
 2006dc8:	ee 23 a0 5c 	st  %l7, [ %sp + 0x5c ]                        
 2006dcc:	ec 23 a0 64 	st  %l6, [ %sp + 0x64 ]                        
 2006dd0:	ea 23 a0 68 	st  %l5, [ %sp + 0x68 ]                        
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006dd4:	c8 06 e0 24 	ld  [ %i3 + 0x24 ], %g4                        
      {                                                               
        if (fd->blocks[block].segment == sc)                          
          count++;                                                    
      }                                                               
                                                                      
      rtems_fdisk_printf (fd, "  %3ld %s p:%3ld a:%3ld/%3ld" \        
 2006dd8:	c6 23 a0 70 	st  %g3, [ %sp + 0x70 ]                        
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006ddc:	ba 07 40 04 	add  %i5, %g4, %i5                             
 2006de0:	86 07 40 01 	add  %i5, %g1, %g3                             
      {                                                               
        if (fd->blocks[block].segment == sc)                          
          count++;                                                    
      }                                                               
                                                                      
      rtems_fdisk_printf (fd, "  %3ld %s p:%3ld a:%3ld/%3ld" \        
 2006de4:	86 20 80 03 	sub  %g2, %g3, %g3                             
 2006de8:	94 10 00 19 	mov  %i1, %o2                                  
 2006dec:	98 10 00 02 	mov  %g2, %o4                                  
 2006df0:	9a 10 00 01 	mov  %g1, %o5                                  
 2006df4:	90 10 00 1a 	mov  %i2, %o0                                  
 2006df8:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006dfc:	c6 23 a0 6c 	st  %g3, [ %sp + 0x6c ]                        
 2006e00:	92 12 61 70 	or  %o1, 0x170, %o1                            
 2006e04:	7f ff f8 d7 	call  2005160 <rtems_fdisk_printf>             
 2006e08:	96 07 bf f8 	add  %fp, -8, %o3                              
                                                                      
    rtems_fdisk_printf (fd, " Device\t\t%ld", device);                
    rtems_fdisk_printf (fd, "  Segment count\t%ld",                   
                        fd->devices[device].segment_count);           
                                                                      
    for (seg = 0; seg < fd->devices[device].segment_count; seg++)     
 2006e0c:	c2 06 a0 2c 	ld  [ %i2 + 0x2c ], %g1                        
 2006e10:	b2 06 60 01 	inc  %i1                                       
 2006e14:	82 00 40 11 	add  %g1, %l1, %g1                             
 2006e18:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 2006e1c:	80 a6 40 02 	cmp  %i1, %g2                                  
 2006e20:	0a bf ff 93 	bcs  2006c6c <rtems_fdisk_ioctl+0x728>         
 2006e24:	b0 06 20 30 	add  %i0, 0x30, %i0                            
  rtems_fdisk_printf (fd, "Queue total\t%ld of %ld, %s", total, count,
                      total == count ? "ok" : "MISSING");             
                                                                      
  rtems_fdisk_printf (fd, "Device count\t%d", fd->device_count);      
                                                                      
  for (device = 0; device < fd->device_count; device++)               
 2006e28:	c4 07 bf ec 	ld  [ %fp + -20 ], %g2                         
 2006e2c:	c2 06 a0 30 	ld  [ %i2 + 0x30 ], %g1                        
 2006e30:	84 00 a0 01 	inc  %g2                                       
 2006e34:	c4 27 bf ec 	st  %g2, [ %fp + -20 ]                         
 2006e38:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006e3c:	0a bf ff 78 	bcs  2006c1c <rtems_fdisk_ioctl+0x6d8>         <== NEVER TAKEN
 2006e40:	a2 04 60 0c 	add  %l1, 0xc, %l1                             
                          count);                                     
    }                                                                 
  }                                                                   
                                                                      
  {                                                                   
    rtems_fdisk_segment_ctl* sc = fd->used.head;                      
 2006e44:	fa 06 a0 40 	ld  [ %i2 + 0x40 ], %i5                        
    int count = 0;                                                    
    rtems_fdisk_printf (fd, "Used List:");                            
 2006e48:	90 10 00 1a 	mov  %i2, %o0                                  
 2006e4c:	13 00 80 d0 	sethi  %hi(0x2034000), %o1                     
 2006e50:	7f ff f8 c4 	call  2005160 <rtems_fdisk_printf>             
 2006e54:	92 12 61 b0 	or  %o1, 0x1b0, %o1	! 20341b0 <__FUNCTION__.7063+0x1040>
    while (sc)                                                        
 2006e58:	80 a7 60 00 	cmp  %i5, 0                                    
 2006e5c:	02 80 00 11 	be  2006ea0 <rtems_fdisk_ioctl+0x95c>          <== NEVER TAKEN
 2006e60:	c6 07 bf e4 	ld  [ %fp + -28 ], %g3                         
    {                                                                 
      rtems_fdisk_printf (fd, "  %3d %02d:%03d u:%3ld",               
 2006e64:	33 00 80 d0 	sethi  %hi(0x2034000), %i1                     
                                                                      
  {                                                                   
    rtems_fdisk_segment_ctl* sc = fd->used.head;                      
    int count = 0;                                                    
    rtems_fdisk_printf (fd, "Used List:");                            
    while (sc)                                                        
 2006e68:	b6 10 20 00 	clr  %i3                                       
    {                                                                 
      rtems_fdisk_printf (fd, "  %3d %02d:%03d u:%3ld",               
 2006e6c:	b2 16 61 c0 	or  %i1, 0x1c0, %i1                            
 2006e70:	d6 07 60 08 	ld  [ %i5 + 8 ], %o3                           
 2006e74:	d8 07 60 0c 	ld  [ %i5 + 0xc ], %o4                         
 2006e78:	da 07 60 20 	ld  [ %i5 + 0x20 ], %o5                        
 2006e7c:	94 10 00 1b 	mov  %i3, %o2                                  
 2006e80:	90 10 00 1a 	mov  %i2, %o0                                  
 2006e84:	7f ff f8 b7 	call  2005160 <rtems_fdisk_printf>             
 2006e88:	92 10 00 19 	mov  %i1, %o1                                  
                          count, sc->device, sc->segment, sc->pages_used);
      sc = sc->next;                                                  
 2006e8c:	fa 07 40 00 	ld  [ %i5 ], %i5                               
                                                                      
  {                                                                   
    rtems_fdisk_segment_ctl* sc = fd->used.head;                      
    int count = 0;                                                    
    rtems_fdisk_printf (fd, "Used List:");                            
    while (sc)                                                        
 2006e90:	80 a7 60 00 	cmp  %i5, 0                                    
 2006e94:	12 bf ff f7 	bne  2006e70 <rtems_fdisk_ioctl+0x92c>         
 2006e98:	b6 06 e0 01 	inc  %i3                                       
                          count, sc->device, sc->segment, sc->pages_used);
      sc = sc->next;                                                  
      count++;                                                        
    }                                                                 
  }                                                                   
  fd->info_level = current_info_level;                                
 2006e9c:	c6 07 bf e4 	ld  [ %fp + -28 ], %g3                         
 2006ea0:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       
      case RTEMS_FDISK_IOCTL_INFO_LEVEL:                              
        rtems_flashdisks[minor].info_level = (uintptr_t) argp;        
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_PRINT_STATUS:                            
        errno = rtems_fdisk_print_status (&rtems_flashdisks[minor]);  
 2006ea4:	c4 07 bf e8 	ld  [ %fp + -24 ], %g2                         
                          count, sc->device, sc->segment, sc->pages_used);
      sc = sc->next;                                                  
      count++;                                                        
    }                                                                 
  }                                                                   
  fd->info_level = current_info_level;                                
 2006ea8:	c6 26 a0 6c 	st  %g3, [ %i2 + 0x6c ]                        
      case RTEMS_FDISK_IOCTL_INFO_LEVEL:                              
        rtems_flashdisks[minor].info_level = (uintptr_t) argp;        
        break;                                                        
                                                                      
      case RTEMS_FDISK_IOCTL_PRINT_STATUS:                            
        errno = rtems_fdisk_print_status (&rtems_flashdisks[minor]);  
 2006eac:	c0 20 80 00 	clr  [ %g2 ]                                   
        break;                                                        
 2006eb0:	10 bf fe 8a 	b  20068d8 <rtems_fdisk_ioctl+0x394>           
 2006eb4:	b8 00 40 1c 	add  %g1, %i4, %i4                             
static bool                                                           
rtems_fdisk_page_desc_erased (const rtems_fdisk_page_desc* pd)        
{                                                                     
  return ((pd->crc == 0xffff) &&                                      
          (pd->flags == 0xffff) &&                                    
          (pd->block == 0xffffffff)) ? true : false;                  
 2006eb8:	d6 07 60 04 	ld  [ %i5 + 4 ], %o3                           
 2006ebc:	80 a2 ff ff 	cmp  %o3, -1                                   
 2006ec0:	32 bf ff 83 	bne,a   2006ccc <rtems_fdisk_ioctl+0x788>      <== NEVER TAKEN
 2006ec4:	fa 17 60 02 	lduh  [ %i5 + 2 ], %i5                         <== NOT EXECUTED
      rtems_fdisk_queue_status (fd, sc, queues);                      
                                                                      
      for (page = 0; page < sc->pages; page++)                        
      {                                                               
        if (rtems_fdisk_page_desc_erased (&sc->page_descriptors[page]))
          erased++;                                                   
 2006ec8:	10 bf ff 88 	b  2006ce8 <rtems_fdisk_ioctl+0x7a4>           
 2006ecc:	aa 05 60 01 	inc  %l5                                       
                                               RTEMS_FDISK_PAGE_USED))
            used++;                                                   
          else                                                        
          {                                                           
            active++;                                                 
            is_active = true;                                         
 2006ed0:	10 bf ff 86 	b  2006ce8 <rtems_fdisk_ioctl+0x7a4>           
 2006ed4:	a6 10 20 01 	mov  1, %l3                                    
                                page, block);                         
        }                                                             
      }                                                               
                                                                      
      count = 0;                                                      
      for (block = 0; block < fd->block_count; block++)               
 2006ed8:	10 bf ff b9 	b  2006dbc <rtems_fdisk_ioctl+0x878>           <== NOT EXECUTED
 2006edc:	86 10 20 00 	clr  %g3                                       <== NOT EXECUTED
    for (seg = 0; seg < fd->devices[device].segment_count; seg++)     
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[device].segments[seg];
      uint32_t                 page;                                  
      uint32_t                 erased = 0;                            
      uint32_t                 active = 0;                            
 2006ee0:	ae 10 20 00 	clr  %l7                                       <== NOT EXECUTED
      uint32_t                 used = 0;                              
 2006ee4:	ac 10 20 00 	clr  %l6                                       <== NOT EXECUTED
                                                                      
    for (seg = 0; seg < fd->devices[device].segment_count; seg++)     
    {                                                                 
      rtems_fdisk_segment_ctl* sc = &fd->devices[device].segments[seg];
      uint32_t                 page;                                  
      uint32_t                 erased = 0;                            
 2006ee8:	10 bf ff a7 	b  2006d84 <rtems_fdisk_ioctl+0x840>           <== NOT EXECUTED
 2006eec:	aa 10 20 00 	clr  %l5                                       <== NOT EXECUTED
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        if ((minor >= rtems_flashdisk_count) ||                       
            (rtems_flashdisks[minor].device_count == 0))              
        {                                                             
          errno = ENODEV;                                             
 2006ef0:	40 00 71 68 	call  2023490 <__errno>                        <== NOT EXECUTED
 2006ef4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2006ef8:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       <== NOT EXECUTED
 2006efc:	b8 00 40 1c 	add  %g1, %i4, %i4                             <== NOT EXECUTED
 2006f00:	82 10 20 13 	mov  0x13, %g1                                 <== NOT EXECUTED
 2006f04:	10 bf fe 75 	b  20068d8 <rtems_fdisk_ioctl+0x394>           <== NOT EXECUTED
 2006f08:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
  count = rtems_fdisk_segment_count_queue (&fd->failed);              
  total += count;                                                     
  rtems_fdisk_printf (fd, "Failed queue\t%ld (%ld)",                  
                      count, rtems_fdisk_segment_queue_count (&fd->failed));
                                                                      
  count = 0;                                                          
 2006f0c:	10 bf ff 30 	b  2006bcc <rtems_fdisk_ioctl+0x688>           <== NOT EXECUTED
 2006f10:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
            case RTEMS_BLKDEV_REQ_READ:                               
              errno = rtems_fdisk_read (&rtems_flashdisks[minor], r); 
              break;                                                  
                                                                      
            case RTEMS_BLKDEV_REQ_WRITE:                              
              errno = rtems_fdisk_write (&rtems_flashdisks[minor], r);
 2006f14:	40 00 71 5f 	call  2023490 <__errno>                        
 2006f18:	a4 06 a0 28 	add  %i2, 0x28, %l2                            
 2006f1c:	fa 04 23 98 	ld  [ %l0 + 0x398 ], %i5                       
 2006f20:	f6 06 a0 10 	ld  [ %i2 + 0x10 ], %i3                        
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006f24:	86 10 20 01 	mov  1, %g3                                    
            case RTEMS_BLKDEV_REQ_READ:                               
              errno = rtems_fdisk_read (&rtems_flashdisks[minor], r); 
              break;                                                  
                                                                      
            case RTEMS_BLKDEV_REQ_WRITE:                              
              errno = rtems_fdisk_write (&rtems_flashdisks[minor], r);
 2006f28:	d0 27 bf e4 	st  %o0, [ %fp + -28 ]                         
 2006f2c:	ba 07 40 1c 	add  %i5, %i4, %i5                             
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2006f30:	c6 27 bf ec 	st  %g3, [ %fp + -20 ]                         
{                                                                     
  rtems_blkdev_sg_buffer* sg = req->bufs;                             
  uint32_t                buf;                                        
  int                     ret = 0;                                    
                                                                      
  for (buf = 0; (ret == 0) && (buf < req->bufnum); buf++, sg++)       
 2006f34:	c6 07 bf ec 	ld  [ %fp + -20 ], %g3                         
 2006f38:	82 00 ff ff 	add  %g3, -1, %g1                              
 2006f3c:	80 a0 40 1b 	cmp  %g1, %i3                                  
 2006f40:	1a 80 01 29 	bcc  20073e4 <rtems_fdisk_ioctl+0xea0>         
 2006f44:	92 10 20 00 	clr  %o1                                       
  {                                                                   
    uint8_t* data;                                                    
    uint32_t fb;                                                      
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
 2006f48:	d0 04 bf f4 	ld  [ %l2 + -12 ], %o0                         
 2006f4c:	7f ff ed d2 	call  2002694 <.udiv>                          
 2006f50:	d2 07 60 14 	ld  [ %i5 + 0x14 ], %o1                        
 2006f54:	d0 27 bf e8 	st  %o0, [ %fp + -24 ]                         
    data = sg->buffer;                                                
    for (b = 0; b < fb; b++, data += fd->block_size)                  
 2006f58:	80 a2 20 00 	cmp  %o0, 0                                    
 2006f5c:	02 80 01 10 	be  200739c <rtems_fdisk_ioctl+0xe58>          <== NEVER TAKEN
 2006f60:	e2 04 bf f8 	ld  [ %l2 + -8 ], %l1                          
 2006f64:	a6 10 20 00 	clr  %l3                                       
    {                                                                 
      ret = rtems_fdisk_write_block (fd, sg->block + b, data);        
 2006f68:	f2 04 bf f0 	ld  [ %l2 + -16 ], %i1                         
  rtems_fdisk_page_desc*   pd;                                        
  uint32_t                 page;                                      
  int                      ret;                                       
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, "write-block:%d", block);                     
 2006f6c:	1f 00 80 cf 	sethi  %hi(0x2033c00), %o7                     
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
    data = sg->buffer;                                                
    for (b = 0; b < fb; b++, data += fd->block_size)                  
    {                                                                 
      ret = rtems_fdisk_write_block (fd, sg->block + b, data);        
 2006f70:	b2 04 c0 19 	add  %l3, %i1, %i1                             
  rtems_fdisk_page_desc*   pd;                                        
  uint32_t                 page;                                      
  int                      ret;                                       
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, "write-block:%d", block);                     
 2006f74:	90 10 00 1d 	mov  %i5, %o0                                  
 2006f78:	92 13 e1 58 	or  %o7, 0x158, %o1                            
 2006f7c:	7f ff f8 57 	call  20050d8 <rtems_fdisk_info>               
 2006f80:	94 10 00 19 	mov  %i1, %o2                                  
                                                                      
  /*                                                                  
   * Broken out to allow info messages when testing.                  
   */                                                                 
                                                                      
  if (block >= (fd->block_count - fd->unavail_blocks))                
 2006f84:	c4 07 60 1c 	ld  [ %i5 + 0x1c ], %g2                        
 2006f88:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 2006f8c:	82 20 80 01 	sub  %g2, %g1, %g1                             
 2006f90:	80 a6 40 01 	cmp  %i1, %g1                                  
 2006f94:	1a 80 01 1d 	bcc  2007408 <rtems_fdisk_ioctl+0xec4>         <== NEVER TAKEN
 2006f98:	92 10 00 19 	mov  %i1, %o1                                  
  {                                                                   
    rtems_fdisk_error ("write-block: block out of range: %d", block); 
    return EIO;                                                       
  }                                                                   
                                                                      
  bc = &fd->blocks[block];                                            
 2006f9c:	ee 07 60 18 	ld  [ %i5 + 0x18 ], %l7                        
 2006fa0:	ad 2e 60 03 	sll  %i1, 3, %l6                               
                                                                      
  /*                                                                  
   * Does the page exist in flash ?                                   
   */                                                                 
  if (bc->segment)                                                    
 2006fa4:	f6 05 c0 16 	ld  [ %l7 + %l6 ], %i3                         
 2006fa8:	80 a6 e0 00 	cmp  %i3, 0                                    
 2006fac:	02 80 00 73 	be  2007178 <rtems_fdisk_ioctl+0xc34>          
 2006fb0:	b0 05 c0 16 	add  %l7, %l6, %i0                             
  {                                                                   
    sc = bc->segment;                                                 
    pd = &sc->page_descriptors[bc->page];                             
 2006fb4:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " write:%02d-%03d-%03d: flag used",         
 2006fb8:	d4 06 e0 08 	ld  [ %i3 + 8 ], %o2                           
 2006fbc:	d6 06 e0 0c 	ld  [ %i3 + 0xc ], %o3                         
   * Does the page exist in flash ?                                   
   */                                                                 
  if (bc->segment)                                                    
  {                                                                   
    sc = bc->segment;                                                 
    pd = &sc->page_descriptors[bc->page];                             
 2006fc0:	e8 06 e0 10 	ld  [ %i3 + 0x10 ], %l4                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " write:%02d-%03d-%03d: flag used",         
 2006fc4:	98 10 00 01 	mov  %g1, %o4                                  
   * Does the page exist in flash ?                                   
   */                                                                 
  if (bc->segment)                                                    
  {                                                                   
    sc = bc->segment;                                                 
    pd = &sc->page_descriptors[bc->page];                             
 2006fc8:	83 28 60 03 	sll  %g1, 3, %g1                               
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " write:%02d-%03d-%03d: flag used",         
 2006fcc:	90 10 00 1d 	mov  %i5, %o0                                  
   * Does the page exist in flash ?                                   
   */                                                                 
  if (bc->segment)                                                    
  {                                                                   
    sc = bc->segment;                                                 
    pd = &sc->page_descriptors[bc->page];                             
 2006fd0:	a8 05 00 01 	add  %l4, %g1, %l4                             
                                                                      
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, " write:%02d-%03d-%03d: flag used",         
 2006fd4:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     
 2006fd8:	7f ff f8 40 	call  20050d8 <rtems_fdisk_info>               
 2006fdc:	92 12 61 90 	or  %o1, 0x190, %o1	! 2033d90 <__FUNCTION__.7063+0xc20>
                             uint32_t               segment,          
                             uint32_t               page,             
                             const void*            buffer)           
{                                                                     
  return rtems_fdisk_seg_verify (fd, device, segment,                 
                                 page * fd->block_size, buffer, fd->block_size);
 2006fe0:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        
#endif                                                                
                                                                      
    /*                                                                
     * The page exists in flash so see if the page has been changed.  
     */                                                               
    if (rtems_fdisk_seg_verify_page (fd, sc->device, sc->segment,     
 2006fe4:	c6 06 20 04 	ld  [ %i0 + 4 ], %g3                           
 2006fe8:	c2 06 e0 08 	ld  [ %i3 + 8 ], %g1                           
 2006fec:	d0 06 e0 18 	ld  [ %i3 + 0x18 ], %o0                        
                             uint32_t               device,           
                             uint32_t               segment,          
                             uint32_t               page,             
                             const void*            buffer)           
{                                                                     
  return rtems_fdisk_seg_verify (fd, device, segment,                 
 2006ff0:	92 10 00 02 	mov  %g2, %o1                                  
 2006ff4:	90 02 00 03 	add  %o0, %g3, %o0                             
 2006ff8:	c2 27 bf d8 	st  %g1, [ %fp + -40 ]                         
 2006ffc:	7f ff ed 6c 	call  20025ac <.umul>                          
 2007000:	c4 27 bf d0 	st  %g2, [ %fp + -48 ]                         
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 2007004:	c2 07 bf d8 	ld  [ %fp + -40 ], %g1                         
 2007008:	de 07 60 2c 	ld  [ %i5 + 0x2c ], %o7                        
 200700c:	9b 28 60 04 	sll  %g1, 4, %o5                               
#endif                                                                
                                                                      
    /*                                                                
     * The page exists in flash so see if the page has been changed.  
     */                                                               
    if (rtems_fdisk_seg_verify_page (fd, sc->device, sc->segment,     
 2007010:	ea 06 e0 0c 	ld  [ %i3 + 0xc ], %l5                         
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 2007014:	89 28 60 02 	sll  %g1, 2, %g4                               
 2007018:	88 23 40 04 	sub  %o5, %g4, %g4                             
 200701c:	d2 03 c0 04 	ld  [ %o7 + %g4 ], %o1                         
 2007020:	9a 03 c0 04 	add  %o7, %g4, %o5                             
                        uint32_t               size)                  
{                                                                     
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  sd  = rtems_fdisk_seg_descriptor (fd, device, segment);             
  ops = fd->devices[device].descriptor->flash_ops;                    
 2007024:	da 03 60 08 	ld  [ %o5 + 8 ], %o5                           
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-verify: %02d-%03d: o=%08x s=%d",     
 2007028:	c4 07 bf d0 	ld  [ %fp + -48 ], %g2                         
                        uint32_t               size)                  
{                                                                     
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  sd  = rtems_fdisk_seg_descriptor (fd, device, segment);             
  ops = fd->devices[device].descriptor->flash_ops;                    
 200702c:	da 03 60 08 	ld  [ %o5 + 8 ], %o5                           
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 2007030:	9f 2d 60 06 	sll  %l5, 6, %o7                               
 2007034:	89 2d 60 04 	sll  %l5, 4, %g4                               
 2007038:	88 23 c0 04 	sub  %o7, %g4, %g4                             
 200703c:	88 02 40 04 	add  %o1, %g4, %g4                             
 2007040:	c8 01 20 04 	ld  [ %g4 + 4 ], %g4                           
                             uint32_t               device,           
                             uint32_t               segment,          
                             uint32_t               page,             
                             const void*            buffer)           
{                                                                     
  return rtems_fdisk_seg_verify (fd, device, segment,                 
 2007044:	86 10 00 08 	mov  %o0, %g3                                  
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  sd  = rtems_fdisk_seg_descriptor (fd, device, segment);             
  ops = fd->devices[device].descriptor->flash_ops;                    
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-verify: %02d-%03d: o=%08x s=%d",     
 2007048:	94 10 00 01 	mov  %g1, %o2                                  
 200704c:	98 10 00 08 	mov  %o0, %o4                                  
 2007050:	c4 3f bf d0 	std  %g2, [ %fp + -48 ]                        
                        uint32_t               size)                  
{                                                                     
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  sd  = rtems_fdisk_seg_descriptor (fd, device, segment);             
  ops = fd->devices[device].descriptor->flash_ops;                    
 2007054:	da 27 bf dc 	st  %o5, [ %fp + -36 ]                         
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-verify: %02d-%03d: o=%08x s=%d",     
 2007058:	96 10 00 15 	mov  %l5, %o3                                  
 200705c:	9a 10 00 02 	mov  %g2, %o5                                  
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 2007060:	c8 27 bf e0 	st  %g4, [ %fp + -32 ]                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  sd  = rtems_fdisk_seg_descriptor (fd, device, segment);             
  ops = fd->devices[device].descriptor->flash_ops;                    
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-verify: %02d-%03d: o=%08x s=%d",     
 2007064:	90 10 00 1d 	mov  %i5, %o0                                  
 2007068:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     
 200706c:	7f ff f8 3d 	call  2005160 <rtems_fdisk_printf>             
 2007070:	92 12 61 b8 	or  %o1, 0x1b8, %o1	! 2033db8 <__FUNCTION__.7063+0xc48>
                      device, segment, offset, size);                 
#endif                                                                
  return ops->verify (sd, device, segment, offset, buffer, size);     
 2007074:	de 07 bf dc 	ld  [ %fp + -36 ], %o7                         
 2007078:	c2 07 bf d8 	ld  [ %fp + -40 ], %g1                         
 200707c:	c6 07 bf d4 	ld  [ %fp + -44 ], %g3                         
 2007080:	c4 07 bf d0 	ld  [ %fp + -48 ], %g2                         
 2007084:	c8 03 e0 0c 	ld  [ %o7 + 0xc ], %g4                         
 2007088:	d0 07 bf e0 	ld  [ %fp + -32 ], %o0                         
 200708c:	92 10 00 01 	mov  %g1, %o1                                  
 2007090:	94 10 00 15 	mov  %l5, %o2                                  
 2007094:	96 10 00 03 	mov  %g3, %o3                                  
 2007098:	98 10 00 11 	mov  %l1, %o4                                  
 200709c:	9f c1 00 00 	call  %g4                                      
 20070a0:	9a 10 00 02 	mov  %g2, %o5                                  
#endif                                                                
                                                                      
    /*                                                                
     * The page exists in flash so see if the page has been changed.  
     */                                                               
    if (rtems_fdisk_seg_verify_page (fd, sc->device, sc->segment,     
 20070a4:	80 a2 20 00 	cmp  %o0, 0                                    
 20070a8:	22 80 01 05 	be,a   20074bc <rtems_fdisk_ioctl+0xf78>       
 20070ac:	d6 06 e0 08 	ld  [ %i3 + 8 ], %o3                           
 * Set the flags. Setting means clear the bit to 0.                   
 */                                                                   
static void                                                           
rtems_fdisk_page_desc_set_flags (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  pd->flags &= ~flags;                                                
 20070b0:	c6 15 20 02 	lduh  [ %l4 + 2 ], %g3                         
     * matches the flash device.                                      
     */                                                               
                                                                      
    rtems_fdisk_page_desc_set_flags (pd, RTEMS_FDISK_PAGE_USED);      
                                                                      
    ret = rtems_fdisk_seg_write_page_desc_flags (fd, sc, bc->page, pd);
 20070b4:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
                                       uint32_t                     page,
                                       const rtems_fdisk_page_desc* page_desc)
{                                                                     
  uint32_t offset = ((page * sizeof (rtems_fdisk_page_desc)) +        
                     ((uint8_t*) &page_desc->flags) - ((uint8_t*) page_desc));
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
 20070b8:	c4 07 60 08 	ld  [ %i5 + 8 ], %g2                           
 * Set the flags. Setting means clear the bit to 0.                   
 */                                                                   
static void                                                           
rtems_fdisk_page_desc_set_flags (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  pd->flags &= ~flags;                                                
 20070bc:	86 08 ff fd 	and  %g3, -3, %g3                              
 20070c0:	c6 35 20 02 	sth  %g3, [ %l4 + 2 ]                          
rtems_fdisk_seg_write_page_desc_flags (const rtems_flashdisk*       fd,
                                       rtems_fdisk_segment_ctl*     sc,
                                       uint32_t                     page,
                                       const rtems_fdisk_page_desc* page_desc)
{                                                                     
  uint32_t offset = ((page * sizeof (rtems_fdisk_page_desc)) +        
 20070c4:	ab 28 60 03 	sll  %g1, 3, %l5                               
                     ((uint8_t*) &page_desc->flags) - ((uint8_t*) page_desc));
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
 20070c8:	80 88 a0 08 	btst  8, %g2                                   
 20070cc:	02 80 00 e0 	be  200744c <rtems_fdisk_ioctl+0xf08>          <== NEVER TAKEN
 20070d0:	aa 05 60 02 	add  %l5, 2, %l5                               
  {                                                                   
    uint16_t flash_flags;                                             
    int      ret;                                                     
    ret = rtems_fdisk_seg_read (fd, sc, offset,                       
 20070d4:	c2 27 bf d8 	st  %g1, [ %fp + -40 ]                         
 20070d8:	90 10 00 1d 	mov  %i5, %o0                                  
 20070dc:	92 10 00 1b 	mov  %i3, %o1                                  
 20070e0:	94 10 00 15 	mov  %l5, %o2                                  
 20070e4:	96 07 bf f6 	add  %fp, -10, %o3                             
 20070e8:	7f ff f8 40 	call  20051e8 <rtems_fdisk_seg_read>           
 20070ec:	98 10 20 02 	mov  2, %o4                                    
                                &flash_flags, sizeof (flash_flags));  
    if (ret)                                                          
 20070f0:	84 92 20 00 	orcc  %o0, 0, %g2                              
 20070f4:	12 80 00 df 	bne  2007470 <rtems_fdisk_ioctl+0xf2c>         <== NEVER TAKEN
 20070f8:	c2 07 bf d8 	ld  [ %fp + -40 ], %g1                         
      return ret;                                                     
    if ((flash_flags & page_desc->flags) != page_desc->flags)         
 20070fc:	c8 15 20 02 	lduh  [ %l4 + 2 ], %g4                         
 2007100:	c4 17 bf f6 	lduh  [ %fp + -10 ], %g2                       
 2007104:	87 29 20 10 	sll  %g4, 0x10, %g3                            
 2007108:	88 08 80 04 	and  %g2, %g4, %g4                             
 200710c:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 2007110:	80 a1 00 03 	cmp  %g4, %g3                                  
 2007114:	02 80 00 ce 	be  200744c <rtems_fdisk_ioctl+0xf08>          <== ALWAYS TAKEN
 2007118:	9b 30 e0 10 	srl  %g3, 0x10, %o5                            
    {                                                                 
      rtems_fdisk_error ("  seg-write-page-flags: %02d-%03d-%03d: "   
 200711c:	d2 06 e0 08 	ld  [ %i3 + 8 ], %o1                           <== NOT EXECUTED
 2007120:	d4 06 e0 0c 	ld  [ %i3 + 0xc ], %o2                         <== NOT EXECUTED
 2007124:	99 28 a0 10 	sll  %g2, 0x10, %o4                            <== NOT EXECUTED
 2007128:	11 00 80 cf 	sethi  %hi(0x2033c00), %o0                     <== NOT EXECUTED
 200712c:	96 10 00 01 	mov  %g1, %o3                                  <== NOT EXECUTED
 2007130:	90 12 22 10 	or  %o0, 0x210, %o0                            <== NOT EXECUTED
 2007134:	7f ff f8 e5 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2007138:	99 33 20 10 	srl  %o4, 0x10, %o4                            <== NOT EXECUTED
                        strerror (ret), ret);                         
#endif                                                                
    }                                                                 
    else                                                              
    {                                                                 
      sc->pages_active--;                                             
 200713c:	c4 06 e0 1c 	ld  [ %i3 + 0x1c ], %g2                        <== NOT EXECUTED
      sc->pages_used++;                                               
 2007140:	c2 06 e0 20 	ld  [ %i3 + 0x20 ], %g1                        
                        strerror (ret), ret);                         
#endif                                                                
    }                                                                 
    else                                                              
    {                                                                 
      sc->pages_active--;                                             
 2007144:	84 00 bf ff 	add  %g2, -1, %g2                              
      sc->pages_used++;                                               
 2007148:	82 00 60 01 	inc  %g1                                       
                        strerror (ret), ret);                         
#endif                                                                
    }                                                                 
    else                                                              
    {                                                                 
      sc->pages_active--;                                             
 200714c:	c4 26 e0 1c 	st  %g2, [ %i3 + 0x1c ]                        
      sc->pages_used++;                                               
 2007150:	c2 26 e0 20 	st  %g1, [ %i3 + 0x20 ]                        
    /*                                                                
     * If possible reuse this segment. This will mean the segment     
     * needs to be removed from the available list and placed         
     * back if space is still available.                              
     */                                                               
    rtems_fdisk_queue_segment (fd, sc);                               
 2007154:	90 10 00 1d 	mov  %i5, %o0                                  
 2007158:	7f ff f9 84 	call  2005768 <rtems_fdisk_queue_segment>      
 200715c:	92 10 00 1b 	mov  %i3, %o1                                  
    /*                                                                
     * If no background compacting then compact in the forground.     
     * If we compact we ignore the error as there is little we        
     * can do from here. The write may will work.                     
     */                                                               
    if ((fd->flags & RTEMS_FDISK_BACKGROUND_COMPACT) == 0)            
 2007160:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 2007164:	80 88 60 02 	btst  2, %g1                                   
 2007168:	32 80 00 05 	bne,a   200717c <rtems_fdisk_ioctl+0xc38>      <== NEVER TAKEN
 200716c:	f6 07 60 34 	ld  [ %i5 + 0x34 ], %i3                        <== NOT EXECUTED
      rtems_fdisk_compact (fd);                                       
 2007170:	7f ff fb 4a 	call  2005e98 <rtems_fdisk_compact>            
 2007174:	90 10 00 1d 	mov  %i5, %o0                                  
 * Count the number of elements on the list.                          
 */                                                                   
static uint32_t                                                       
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
 2007178:	f6 07 60 34 	ld  [ %i5 + 0x34 ], %i3                        
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 200717c:	80 a6 e0 00 	cmp  %i3, 0                                    
 2007180:	02 80 00 8c 	be  20073b0 <rtems_fdisk_ioctl+0xe6c>          <== NEVER TAKEN
 2007184:	82 10 00 1b 	mov  %i3, %g1                                  
 2007188:	84 10 20 00 	clr  %g2                                       
  {                                                                   
    count++;                                                          
    sc = sc->next;                                                    
 200718c:	c2 00 40 00 	ld  [ %g1 ], %g1                               
rtems_fdisk_segment_count_queue (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  rtems_fdisk_segment_ctl* sc = queue->head;                          
  uint32_t                 count = 0;                                 
                                                                      
  while (sc)                                                          
 2007190:	80 a0 60 00 	cmp  %g1, 0                                    
 2007194:	12 bf ff fe 	bne  200718c <rtems_fdisk_ioctl+0xc48>         
 2007198:	84 00 a0 01 	inc  %g2                                       
  /*                                                                  
   * Is it time to compact the disk ?                                 
   *                                                                  
   * We override the background compaction configruation.             
   */                                                                 
  if (rtems_fdisk_segment_count_queue (&fd->available) <=             
 200719c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 20071a0:	80 a0 40 02 	cmp  %g1, %g2                                  
 20071a4:	1a 80 00 83 	bcc  20073b0 <rtems_fdisk_ioctl+0xe6c>         
 20071a8:	01 00 00 00 	nop                                            
{                                                                     
  if (queue->head)                                                    
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
 20071ac:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
    if (!queue->head)                                                 
 20071b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20071b4:	02 80 00 d9 	be  2007518 <rtems_fdisk_ioctl+0xfd4>          
 20071b8:	c2 27 60 34 	st  %g1, [ %i5 + 0x34 ]                        
      queue->tail = 0;                                                
                                                                      
    queue->count--;                                                   
 20071bc:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
 20071c0:	82 00 7f ff 	add  %g1, -1, %g1                              
 20071c4:	c2 27 60 3c 	st  %g1, [ %i5 + 0x3c ]                        
      return ENOSPC;                                                  
    }                                                                 
  }                                                                   
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  if (fd->info_level >= 3)                                            
 20071c8:	c2 07 60 6c 	ld  [ %i5 + 0x6c ], %g1                        
 20071cc:	80 a0 60 02 	cmp  %g1, 2                                    
 20071d0:	18 80 00 c4 	bgu  20074e0 <rtems_fdisk_ioctl+0xf9c>         <== NEVER TAKEN
 20071d4:	c0 26 c0 00 	clr  [ %i3 ]                                   
   * Find the next avaliable page in the segment.                     
   */                                                                 
                                                                      
  pd = sc->page_descriptors;                                          
                                                                      
  for (page = 0; page < sc->pages; page++, pd++)                      
 20071d8:	c2 06 e0 14 	ld  [ %i3 + 0x14 ], %g1                        
 20071dc:	80 a0 60 00 	cmp  %g1, 0                                    
 20071e0:	02 80 00 8f 	be  200741c <rtems_fdisk_ioctl+0xed8>          <== NEVER TAKEN
 20071e4:	e8 06 e0 10 	ld  [ %i3 + 0x10 ], %l4                        
 20071e8:	10 80 00 05 	b  20071fc <rtems_fdisk_ioctl+0xcb8>           
 20071ec:	aa 10 20 00 	clr  %l5                                       
 20071f0:	80 a5 40 01 	cmp  %l5, %g1                                  
 20071f4:	02 80 00 8a 	be  200741c <rtems_fdisk_ioctl+0xed8>          <== NEVER TAKEN
 20071f8:	a8 05 20 08 	add  %l4, 8, %l4                               
static bool                                                           
rtems_fdisk_page_desc_erased (const rtems_fdisk_page_desc* pd)        
{                                                                     
  return ((pd->crc == 0xffff) &&                                      
          (pd->flags == 0xffff) &&                                    
          (pd->block == 0xffffffff)) ? true : false;                  
 20071fc:	c4 05 00 00 	ld  [ %l4 ], %g2                               
 2007200:	80 a0 bf ff 	cmp  %g2, -1                                   
 2007204:	32 bf ff fb 	bne,a   20071f0 <rtems_fdisk_ioctl+0xcac>      
 2007208:	aa 05 60 01 	inc  %l5                                       
 200720c:	c4 05 20 04 	ld  [ %l4 + 4 ], %g2                           
 2007210:	80 a0 bf ff 	cmp  %g2, -1                                   
 2007214:	32 bf ff f7 	bne,a   20071f0 <rtems_fdisk_ioctl+0xcac>      <== NEVER TAKEN
 2007218:	aa 05 60 01 	inc  %l5                                       <== NOT EXECUTED
                                                                      
  for (page = 0; page < sc->pages; page++, pd++)                      
  {                                                                   
    if (rtems_fdisk_page_desc_erased (pd))                            
    {                                                                 
      pd->crc   = rtems_fdisk_page_checksum (buffer, fd->block_size); 
 200721c:	c8 07 60 14 	ld  [ %i5 + 0x14 ], %g4                        
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2007220:	80 a1 20 00 	cmp  %g4, 0                                    
 2007224:	02 80 00 cd 	be  2007558 <rtems_fdisk_ioctl+0x1014>         <== NEVER TAKEN
 2007228:	88 04 40 04 	add  %l1, %g4, %g4                             
 200722c:	05 00 81 23 	sethi  %hi(0x2048c00), %g2                     
 2007230:	de 00 a3 a0 	ld  [ %g2 + 0x3a0 ], %o7	! 2048fa0 <rtems_fdisk_crc16_factor>
 * Calculate the checksum of a page in a segment.                     
 */                                                                   
static uint16_t                                                       
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
 2007234:	86 10 3f ff 	mov  -1, %g3                                   
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2007238:	84 10 00 11 	mov  %l1, %g2                                  
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
    cs = rtems_fdisk_calc_crc16 (cs, *buffer);                        
 200723c:	da 08 80 00 	ldub  [ %g2 ], %o5                             
 2007240:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2007244:	84 00 a0 01 	inc  %g2                                       
    cs = rtems_fdisk_calc_crc16 (cs, *buffer);                        
 2007248:	86 18 c0 0d 	xor  %g3, %o5, %g3                             
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 200724c:	80 a0 80 04 	cmp  %g2, %g4                                  
    cs = rtems_fdisk_calc_crc16 (cs, *buffer);                        
 2007250:	87 28 e0 01 	sll  %g3, 1, %g3                               
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2007254:	12 bf ff fa 	bne  200723c <rtems_fdisk_ioctl+0xcf8>         
 2007258:	c6 13 c0 03 	lduh  [ %o7 + %g3 ], %g3                       
 200725c:	85 28 e0 10 	sll  %g3, 0x10, %g2                            
 2007260:	85 30 a0 10 	srl  %g2, 0x10, %g2                            
 * Set the flags. Setting means clear the bit to 0.                   
 */                                                                   
static void                                                           
rtems_fdisk_page_desc_set_flags (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  pd->flags &= ~flags;                                                
 2007264:	c8 15 20 02 	lduh  [ %l4 + 2 ], %g4                         
                                                                      
  for (page = 0; page < sc->pages; page++, pd++)                      
  {                                                                   
    if (rtems_fdisk_page_desc_erased (pd))                            
    {                                                                 
      pd->crc   = rtems_fdisk_page_checksum (buffer, fd->block_size); 
 2007268:	c6 35 00 00 	sth  %g3, [ %l4 ]                              
      pd->block = block;                                              
 200726c:	f2 25 20 04 	st  %i1, [ %l4 + 4 ]                           
                                                                      
      bc->segment = sc;                                               
 2007270:	f6 25 c0 16 	st  %i3, [ %l7 + %l6 ]                         
      bc->page    = page;                                             
                                                                      
      rtems_fdisk_page_desc_set_flags (pd, RTEMS_FDISK_PAGE_ACTIVE);  
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, " write:%d=>%02d-%03d-%03d: write: " \    
 2007274:	c6 06 c0 00 	ld  [ %i3 ], %g3                               
    {                                                                 
      pd->crc   = rtems_fdisk_page_checksum (buffer, fd->block_size); 
      pd->block = block;                                              
                                                                      
      bc->segment = sc;                                               
      bc->page    = page;                                             
 2007278:	ea 26 20 04 	st  %l5, [ %i0 + 4 ]                           
 * Set the flags. Setting means clear the bit to 0.                   
 */                                                                   
static void                                                           
rtems_fdisk_page_desc_set_flags (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  pd->flags &= ~flags;                                                
 200727c:	88 09 3f fe 	and  %g4, -2, %g4                              
 2007280:	c8 35 20 02 	sth  %g4, [ %l4 + 2 ]                          
      bc->page    = page;                                             
                                                                      
      rtems_fdisk_page_desc_set_flags (pd, RTEMS_FDISK_PAGE_ACTIVE);  
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, " write:%d=>%02d-%03d-%03d: write: " \    
 2007284:	d6 06 e0 08 	ld  [ %i3 + 8 ], %o3                           
 2007288:	d8 06 e0 0c 	ld  [ %i3 + 0xc ], %o4                         
 200728c:	de 06 e0 1c 	ld  [ %i3 + 0x1c ], %o7                        
 2007290:	d0 06 e0 20 	ld  [ %i3 + 0x20 ], %o0                        
 2007294:	80 a0 e0 00 	cmp  %g3, 0                                    
 2007298:	02 80 00 ad 	be  200754c <rtems_fdisk_ioctl+0x1008>         <== ALWAYS TAKEN
 200729c:	ec 06 e0 24 	ld  [ %i3 + 0x24 ], %l6                        
 20072a0:	07 00 80 cd 	sethi  %hi(0x2033400), %g3                     <== NOT EXECUTED
 20072a4:	86 10 e3 b8 	or  %g3, 0x3b8, %g3	! 20337b8 <__FUNCTION__.7063+0x648><== NOT EXECUTED
 20072a8:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 20072ac:	89 31 20 10 	srl  %g4, 0x10, %g4                            
 20072b0:	94 10 00 19 	mov  %i1, %o2                                  
 20072b4:	9a 10 00 15 	mov  %l5, %o5                                  
 20072b8:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 20072bc:	de 23 a0 60 	st  %o7, [ %sp + 0x60 ]                        
 20072c0:	d0 23 a0 64 	st  %o0, [ %sp + 0x64 ]                        
 20072c4:	c6 23 a0 6c 	st  %g3, [ %sp + 0x6c ]                        
 20072c8:	c8 23 a0 70 	st  %g4, [ %sp + 0x70 ]                        
 20072cc:	c4 23 a0 74 	st  %g2, [ %sp + 0x74 ]                        
 20072d0:	f2 23 a0 78 	st  %i1, [ %sp + 0x78 ]                        
 20072d4:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     
 20072d8:	ec 23 a0 68 	st  %l6, [ %sp + 0x68 ]                        
 20072dc:	92 12 62 c8 	or  %o1, 0x2c8, %o1                            
 20072e0:	7f ff f7 7e 	call  20050d8 <rtems_fdisk_info>               
 20072e4:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
      /*                                                              
       * We use the segment page offset not the page number used in the
       * driver. This skips the page descriptors.                     
       */                                                             
      ret = rtems_fdisk_seg_write_page (fd, sc, page + sc->pages_desc, buffer);
 20072e8:	d4 06 e0 18 	ld  [ %i3 + 0x18 ], %o2                        
 20072ec:	90 10 00 1d 	mov  %i5, %o0                                  
 20072f0:	92 10 00 1b 	mov  %i3, %o1                                  
 20072f4:	94 05 40 0a 	add  %l5, %o2, %o2                             
 20072f8:	7f ff f8 36 	call  20053d0 <rtems_fdisk_seg_write_page>     
 20072fc:	96 10 00 11 	mov  %l1, %o3                                  
      if (ret)                                                        
 2007300:	b2 92 20 00 	orcc  %o0, 0, %i1                              
 2007304:	22 80 00 87 	be,a   2007520 <rtems_fdisk_ioctl+0xfdc>       <== ALWAYS TAKEN
 2007308:	90 10 00 1d 	mov  %i5, %o0                                  
      {                                                               
#if RTEMS_FDISK_TRACE                                                 
        rtems_fdisk_info (fd, "write-block:%02d-%03d-%03d: write page failed: " \
 200730c:	e8 06 e0 08 	ld  [ %i3 + 8 ], %l4                           <== NOT EXECUTED
 2007310:	40 00 7a 34 	call  2025be0 <strerror>                       <== NOT EXECUTED
 2007314:	f0 06 e0 0c 	ld  [ %i3 + 0xc ], %i0                         <== NOT EXECUTED
 2007318:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     <== NOT EXECUTED
 200731c:	9a 10 00 08 	mov  %o0, %o5                                  <== NOT EXECUTED
 2007320:	f2 23 a0 5c 	st  %i1, [ %sp + 0x5c ]                        <== NOT EXECUTED
 2007324:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2007328:	92 12 63 18 	or  %o1, 0x318, %o1                            <== NOT EXECUTED
 200732c:	94 10 00 14 	mov  %l4, %o2                                  <== NOT EXECUTED
 2007330:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
 2007334:	7f ff f7 69 	call  20050d8 <rtems_fdisk_info>               <== NOT EXECUTED
 2007338:	98 10 00 15 	mov  %l5, %o4                                  <== NOT EXECUTED
        {                                                             
          sc->pages_active++;                                         
        }                                                             
      }                                                               
                                                                      
      rtems_fdisk_queue_segment (fd, sc);                             
 200733c:	90 10 00 1d 	mov  %i5, %o0                                  
 2007340:	7f ff f9 0a 	call  2005768 <rtems_fdisk_queue_segment>      
 2007344:	92 10 00 1b 	mov  %i3, %o1                                  
static bool                                                           
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
 2007348:	c4 07 60 28 	ld  [ %i5 + 0x28 ], %g2                        
 200734c:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 2007350:	80 a0 80 01 	cmp  %g2, %g1                                  
 2007354:	1a 80 00 08 	bcc  2007374 <rtems_fdisk_ioctl+0xe30>         
 2007358:	80 a6 60 00 	cmp  %i1, 0                                    
    fd->starvations++;                                                
 200735c:	c2 07 60 70 	ld  [ %i5 + 0x70 ], %g1                        
      }                                                               
                                                                      
      rtems_fdisk_queue_segment (fd, sc);                             
                                                                      
      if (rtems_fdisk_is_erased_blocks_starvation (fd))               
        rtems_fdisk_compact (fd);                                     
 2007360:	90 10 00 1d 	mov  %i5, %o0                                  
rtems_fdisk_is_erased_blocks_starvation (rtems_flashdisk* fd)         
{                                                                     
  bool starvation = fd->erased_blocks < fd->starvation_threshold;     
                                                                      
  if (starvation)                                                     
    fd->starvations++;                                                
 2007364:	82 00 60 01 	inc  %g1                                       
      }                                                               
                                                                      
      rtems_fdisk_queue_segment (fd, sc);                             
                                                                      
      if (rtems_fdisk_is_erased_blocks_starvation (fd))               
        rtems_fdisk_compact (fd);                                     
 2007368:	7f ff fa cc 	call  2005e98 <rtems_fdisk_compact>            
 200736c:	c2 27 60 70 	st  %g1, [ %i5 + 0x70 ]                        
    fb = sg->length / fd->block_size;                                 
    data = sg->buffer;                                                
    for (b = 0; b < fb; b++, data += fd->block_size)                  
    {                                                                 
      ret = rtems_fdisk_write_block (fd, sg->block + b, data);        
      if (ret)                                                        
 2007370:	80 a6 60 00 	cmp  %i1, 0                                    
 2007374:	12 80 00 1c 	bne  20073e4 <rtems_fdisk_ioctl+0xea0>         <== NEVER TAKEN
 2007378:	92 10 20 1b 	mov  0x1b, %o1                                 
    uint8_t* data;                                                    
    uint32_t fb;                                                      
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
    data = sg->buffer;                                                
    for (b = 0; b < fb; b++, data += fd->block_size)                  
 200737c:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 2007380:	a6 04 e0 01 	inc  %l3                                       
 2007384:	a2 04 40 01 	add  %l1, %g1, %l1                             
 2007388:	c2 07 bf e8 	ld  [ %fp + -24 ], %g1                         
 200738c:	80 a4 c0 01 	cmp  %l3, %g1                                  
 2007390:	32 bf fe f7 	bne,a   2006f6c <rtems_fdisk_ioctl+0xa28>      <== NEVER TAKEN
 2007394:	f2 04 bf f0 	ld  [ %l2 + -16 ], %i1                         <== NOT EXECUTED
 2007398:	f6 06 a0 10 	ld  [ %i2 + 0x10 ], %i3                        
 200739c:	c4 07 bf ec 	ld  [ %fp + -20 ], %g2                         
 20073a0:	a4 04 a0 10 	add  %l2, 0x10, %l2                            
 20073a4:	84 00 a0 01 	inc  %g2                                       
 20073a8:	10 bf fe e3 	b  2006f34 <rtems_fdisk_ioctl+0x9f0>           
 20073ac:	c4 27 bf ec 	st  %g2, [ %fp + -20 ]                         
   *                                                                  
   * We override the background compaction configruation.             
   */                                                                 
  if (rtems_fdisk_segment_count_queue (&fd->available) <=             
      fd->avail_compact_segs)                                         
    rtems_fdisk_compact (fd);                                         
 20073b0:	7f ff fa ba 	call  2005e98 <rtems_fdisk_compact>            
 20073b4:	90 10 00 1d 	mov  %i5, %o0                                  
 20073b8:	f6 07 60 34 	ld  [ %i5 + 0x34 ], %i3                        
 * Pop the head of the segment control queue.                         
 */                                                                   
static rtems_fdisk_segment_ctl*                                       
rtems_fdisk_segment_queue_pop_head (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  if (queue->head)                                                    
 20073bc:	80 a6 e0 00 	cmp  %i3, 0                                    
 20073c0:	32 bf ff 7c 	bne,a   20071b0 <rtems_fdisk_ioctl+0xc6c>      <== ALWAYS TAKEN
 20073c4:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
  {                                                                   
    /*                                                                
     * If compacting is configured for the background do it now       
     * to see if we can get some space back.                          
     */                                                               
    if ((fd->flags & RTEMS_FDISK_BACKGROUND_COMPACT))                 
 20073c8:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           <== NOT EXECUTED
 20073cc:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
 20073d0:	12 80 01 42 	bne  20078d8 <rtems_fdisk_ioctl+0x1394>        <== NOT EXECUTED
 20073d4:	11 00 80 d0 	sethi  %hi(0x2034000), %o0                     <== NOT EXECUTED
     */                                                               
    sc = rtems_fdisk_segment_queue_pop_head (&fd->available);         
                                                                      
    if (!sc)                                                          
    {                                                                 
      rtems_fdisk_error ("write-block: no available pages");          
 20073d8:	7f ff f8 3c 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 20073dc:	90 12 21 d8 	or  %o0, 0x1d8, %o0	! 20341d8 <__FUNCTION__.7063+0x1068><== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 20073e0:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
  req->req_done (req->done_arg, req->status);                         
 20073e4:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 20073e8:	d0 06 a0 08 	ld  [ %i2 + 8 ], %o0                           
 20073ec:	9f c0 40 00 	call  %g1                                      
 20073f0:	d2 26 a0 0c 	st  %o1, [ %i2 + 0xc ]                         
 20073f4:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       
            case RTEMS_BLKDEV_REQ_READ:                               
              errno = rtems_fdisk_read (&rtems_flashdisks[minor], r); 
              break;                                                  
                                                                      
            case RTEMS_BLKDEV_REQ_WRITE:                              
              errno = rtems_fdisk_write (&rtems_flashdisks[minor], r);
 20073f8:	c4 07 bf e4 	ld  [ %fp + -28 ], %g2                         
 20073fc:	b8 00 40 1c 	add  %g1, %i4, %i4                             
              break;                                                  
 2007400:	10 bf fd 36 	b  20068d8 <rtems_fdisk_ioctl+0x394>           
 2007404:	c0 20 80 00 	clr  [ %g2 ]                                   
   * Broken out to allow info messages when testing.                  
   */                                                                 
                                                                      
  if (block >= (fd->block_count - fd->unavail_blocks))                
  {                                                                   
    rtems_fdisk_error ("write-block: block out of range: %d", block); 
 2007408:	11 00 80 cf 	sethi  %hi(0x2033c00), %o0                     <== NOT EXECUTED
 200740c:	7f ff f8 2f 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2007410:	90 12 21 68 	or  %o0, 0x168, %o0	! 2033d68 <__FUNCTION__.7063+0xbf8><== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 2007414:	10 bf ff f4 	b  20073e4 <rtems_fdisk_ioctl+0xea0>           <== NOT EXECUTED
 2007418:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
                                                                      
      return ret;                                                     
    }                                                                 
  }                                                                   
                                                                      
  rtems_fdisk_error ("write-block: no erased page descs in segment: %d-%d",
 200741c:	d2 06 e0 08 	ld  [ %i3 + 8 ], %o1                           <== NOT EXECUTED
 2007420:	d4 06 e0 0c 	ld  [ %i3 + 0xc ], %o2                         <== NOT EXECUTED
 2007424:	11 00 80 cf 	sethi  %hi(0x2033c00), %o0                     <== NOT EXECUTED
 2007428:	7f ff f8 28 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 200742c:	90 12 23 90 	or  %o0, 0x390, %o0	! 2033f90 <__FUNCTION__.7063+0xe20><== NOT EXECUTED
                     sc->device, sc->segment);                        
                                                                      
  sc->failed = true;                                                  
 2007430:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
  rtems_fdisk_queue_segment (fd, sc);                                 
 2007434:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2007438:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 200743c:	7f ff f8 cb 	call  2005768 <rtems_fdisk_queue_segment>      <== NOT EXECUTED
 2007440:	c2 26 e0 28 	st  %g1, [ %i3 + 0x28 ]                        <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 2007444:	10 bf ff e8 	b  20073e4 <rtems_fdisk_ioctl+0xea0>           <== NOT EXECUTED
 2007448:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
                         sc->device, sc->segment, page,               
                         flash_flags, page_desc->flags);              
      return ret;                                                     
    }                                                                 
  }                                                                   
  return rtems_fdisk_seg_write (fd, sc, offset,                       
 200744c:	90 10 00 1d 	mov  %i5, %o0                                  
 2007450:	92 10 00 1b 	mov  %i3, %o1                                  
 2007454:	94 10 00 15 	mov  %l5, %o2                                  
 2007458:	96 05 20 02 	add  %l4, 2, %o3                               
 200745c:	7f ff f7 a6 	call  20052f4 <rtems_fdisk_seg_write>          
 2007460:	98 10 20 02 	mov  2, %o4                                    
                                                                      
    rtems_fdisk_page_desc_set_flags (pd, RTEMS_FDISK_PAGE_USED);      
                                                                      
    ret = rtems_fdisk_seg_write_page_desc_flags (fd, sc, bc->page, pd);
                                                                      
    if (ret)                                                          
 2007464:	84 92 20 00 	orcc  %o0, 0, %g2                              
 2007468:	22 bf ff 36 	be,a   2007140 <rtems_fdisk_ioctl+0xbfc>       <== ALWAYS TAKEN
 200746c:	c4 06 e0 1c 	ld  [ %i3 + 0x1c ], %g2                        
    {                                                                 
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, " write:%02d-%03d-%03d: "      \          
 2007470:	d4 06 e0 08 	ld  [ %i3 + 8 ], %o2                           <== NOT EXECUTED
 2007474:	ea 06 e0 0c 	ld  [ %i3 + 0xc ], %l5                         <== NOT EXECUTED
 2007478:	e8 06 20 04 	ld  [ %i0 + 4 ], %l4                           <== NOT EXECUTED
 200747c:	90 10 00 02 	mov  %g2, %o0                                  <== NOT EXECUTED
 2007480:	c4 27 bf d0 	st  %g2, [ %fp + -48 ]                         <== NOT EXECUTED
 2007484:	40 00 79 d7 	call  2025be0 <strerror>                       <== NOT EXECUTED
 2007488:	d4 27 bf cc 	st  %o2, [ %fp + -52 ]                         <== NOT EXECUTED
 200748c:	c4 07 bf d0 	ld  [ %fp + -48 ], %g2                         <== NOT EXECUTED
 2007490:	d4 07 bf cc 	ld  [ %fp + -52 ], %o2                         <== NOT EXECUTED
 2007494:	9a 10 00 08 	mov  %o0, %o5                                  <== NOT EXECUTED
 2007498:	c4 23 a0 5c 	st  %g2, [ %sp + 0x5c ]                        <== NOT EXECUTED
 200749c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20074a0:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     <== NOT EXECUTED
 20074a4:	96 10 00 15 	mov  %l5, %o3                                  <== NOT EXECUTED
 20074a8:	92 12 62 60 	or  %o1, 0x260, %o1                            <== NOT EXECUTED
 20074ac:	7f ff f7 0b 	call  20050d8 <rtems_fdisk_info>               <== NOT EXECUTED
 20074b0:	98 10 00 14 	mov  %l4, %o4                                  <== NOT EXECUTED
    /*                                                                
     * If possible reuse this segment. This will mean the segment     
     * needs to be removed from the available list and placed         
     * back if space is still available.                              
     */                                                               
    rtems_fdisk_queue_segment (fd, sc);                               
 20074b4:	10 bf ff 29 	b  2007158 <rtems_fdisk_ioctl+0xc14>           <== NOT EXECUTED
 20074b8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
     */                                                               
    if (rtems_fdisk_seg_verify_page (fd, sc->device, sc->segment,     
                                     bc->page + sc->pages_desc, buffer) == 0)
    {                                                                 
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "write-block:%d=>%02d-%03d-%03d: page verified",
 20074bc:	d8 06 e0 0c 	ld  [ %i3 + 0xc ], %o4                         
 20074c0:	da 06 20 04 	ld  [ %i0 + 4 ], %o5                           
 20074c4:	90 10 00 1d 	mov  %i5, %o0                                  
 20074c8:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     
 20074cc:	94 10 00 19 	mov  %i1, %o2                                  
 20074d0:	7f ff f7 02 	call  20050d8 <rtems_fdisk_info>               
 20074d4:	92 12 61 e0 	or  %o1, 0x1e0, %o1                            
    uint8_t* data;                                                    
    uint32_t fb;                                                      
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
    data = sg->buffer;                                                
    for (b = 0; b < fb; b++, data += fd->block_size)                  
 20074d8:	10 bf ff aa 	b  2007380 <rtems_fdisk_ioctl+0xe3c>           
 20074dc:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  if (fd->info_level >= 3)                                            
  {                                                                   
    char queues[5];                                                   
    rtems_fdisk_queue_status (fd, sc, queues);                        
 20074e0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20074e4:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 20074e8:	7f ff f6 9e 	call  2004f60 <rtems_fdisk_queue_status>       <== NOT EXECUTED
 20074ec:	94 07 bf f8 	add  %fp, -8, %o2                              <== NOT EXECUTED
    rtems_fdisk_info (fd, " write:%d=>%02d-%03d: queue check: %s",    
 20074f0:	d6 06 e0 08 	ld  [ %i3 + 8 ], %o3                           <== NOT EXECUTED
 20074f4:	d8 06 e0 0c 	ld  [ %i3 + 0xc ], %o4                         <== NOT EXECUTED
 20074f8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20074fc:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     <== NOT EXECUTED
 2007500:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 2007504:	92 12 62 a0 	or  %o1, 0x2a0, %o1                            <== NOT EXECUTED
 2007508:	7f ff f6 f4 	call  20050d8 <rtems_fdisk_info>               <== NOT EXECUTED
 200750c:	9a 07 bf f8 	add  %fp, -8, %o5                              <== NOT EXECUTED
   * Find the next avaliable page in the segment.                     
   */                                                                 
                                                                      
  pd = sc->page_descriptors;                                          
                                                                      
  for (page = 0; page < sc->pages; page++, pd++)                      
 2007510:	10 bf ff 33 	b  20071dc <rtems_fdisk_ioctl+0xc98>           <== NOT EXECUTED
 2007514:	c2 06 e0 14 	ld  [ %i3 + 0x14 ], %g1                        <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_segment_ctl* sc = queue->head;                        
                                                                      
    queue->head = sc->next;                                           
    if (!queue->head)                                                 
      queue->tail = 0;                                                
 2007518:	10 bf ff 29 	b  20071bc <rtems_fdisk_ioctl+0xc78>           
 200751c:	c0 27 60 38 	clr  [ %i5 + 0x38 ]                            
                          strerror (ret), ret);                       
#endif                                                                
      }                                                               
      else                                                            
      {                                                               
        ret = rtems_fdisk_seg_write_page_desc (fd, sc, page, pd);     
 2007520:	92 10 00 1b 	mov  %i3, %o1                                  
 2007524:	94 10 00 15 	mov  %l5, %o2                                  
 2007528:	7f ff f7 99 	call  200538c <rtems_fdisk_seg_write_page_desc>
 200752c:	96 10 00 14 	mov  %l4, %o3                                  
        if (ret)                                                      
 2007530:	b2 92 20 00 	orcc  %o0, 0, %i1                              
 2007534:	32 80 00 f1 	bne,a   20078f8 <rtems_fdisk_ioctl+0x13b4>     <== NEVER TAKEN
 2007538:	ea 06 e0 08 	ld  [ %i3 + 8 ], %l5                           <== NOT EXECUTED
                            strerror (ret), ret);                     
#endif                                                                
        }                                                             
        else                                                          
        {                                                             
          sc->pages_active++;                                         
 200753c:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
 2007540:	82 00 60 01 	inc  %g1                                       
 2007544:	10 bf ff 7e 	b  200733c <rtems_fdisk_ioctl+0xdf8>           
 2007548:	c2 26 e0 1c 	st  %g1, [ %i3 + 0x1c ]                        
      bc->page    = page;                                             
                                                                      
      rtems_fdisk_page_desc_set_flags (pd, RTEMS_FDISK_PAGE_ACTIVE);  
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, " write:%d=>%02d-%03d-%03d: write: " \    
 200754c:	07 00 80 cd 	sethi  %hi(0x2033400), %g3                     
 2007550:	10 bf ff 56 	b  20072a8 <rtems_fdisk_ioctl+0xd64>           
 2007554:	86 10 e3 c0 	or  %g3, 0x3c0, %g3	! 20337c0 <__FUNCTION__.7063+0x650>
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2007558:	07 00 80 d0 	sethi  %hi(0x2034000), %g3                     <== NOT EXECUTED
 200755c:	c4 00 e2 74 	ld  [ %g3 + 0x274 ], %g2	! 2034274 <__FUNCTION__.7063+0x1104><== NOT EXECUTED
 * Calculate the checksum of a page in a segment.                     
 */                                                                   
static uint16_t                                                       
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
 2007560:	10 bf ff 41 	b  2007264 <rtems_fdisk_ioctl+0xd20>           <== NOT EXECUTED
 2007564:	86 10 3f ff 	mov  -1, %g3                                   <== NOT EXECUTED
                                                                      
  count = 0;                                                          
  for (device = 0; device < fd->device_count; device++)               
    count += fd->devices[device].segment_count;                       
                                                                      
  rtems_fdisk_printf (fd, "Queue total\t%ld of %ld, %s", total, count,
 2007568:	19 00 80 ce 	sethi  %hi(0x2033800), %o4                     
 200756c:	10 bf fd 9c 	b  2006bdc <rtems_fdisk_ioctl+0x698>           
 2007570:	98 13 23 c8 	or  %o4, 0x3c8, %o4	! 2033bc8 <__FUNCTION__.7063+0xa58>
        else                                                          
        {                                                             
          switch (r->req)                                             
          {                                                           
            case RTEMS_BLKDEV_REQ_READ:                               
              errno = rtems_fdisk_read (&rtems_flashdisks[minor], r); 
 2007574:	40 00 6f c7 	call  2023490 <__errno>                        
 2007578:	a2 06 a0 18 	add  %i2, 0x18, %l1                            
 200757c:	f6 04 23 98 	ld  [ %l0 + 0x398 ], %i3                       
 2007580:	fa 06 a0 10 	ld  [ %i2 + 0x10 ], %i5                        
 2007584:	d0 27 bf ec 	st  %o0, [ %fp + -20 ]                         
 2007588:	b6 06 c0 1c 	add  %i3, %i4, %i3                             
{                                                                     
  rtems_blkdev_sg_buffer* sg = req->bufs;                             
  uint32_t                buf;                                        
  int                     ret = 0;                                    
                                                                      
  for (buf = 0; (ret == 0) && (buf < req->bufnum); buf++, sg++)       
 200758c:	a8 10 20 00 	clr  %l4                                       
 2007590:	80 a5 00 1d 	cmp  %l4, %i5                                  
 2007594:	1a 80 00 4a 	bcc  20076bc <rtems_fdisk_ioctl+0x1178>        
 2007598:	92 10 20 00 	clr  %o1                                       
  {                                                                   
    uint8_t* data;                                                    
    uint32_t fb;                                                      
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
 200759c:	d0 04 60 04 	ld  [ %l1 + 4 ], %o0                           
 20075a0:	7f ff ec 3d 	call  2002694 <.udiv>                          
 20075a4:	d2 06 e0 14 	ld  [ %i3 + 0x14 ], %o1                        
    data = sg->buffer;                                                
 20075a8:	f0 04 60 08 	ld  [ %l1 + 8 ], %i0                           
    for (b = 0; b < fb; b++, data += fd->block_size)                  
 20075ac:	80 a2 20 00 	cmp  %o0, 0                                    
 20075b0:	02 80 00 98 	be  2007810 <rtems_fdisk_ioctl+0x12cc>         <== NEVER TAKEN
 20075b4:	aa 10 00 08 	mov  %o0, %l5                                  
 20075b8:	a6 10 20 00 	clr  %l3                                       
    {                                                                 
      ret = rtems_fdisk_read_block (fd, sg->block + b, data);         
 20075bc:	f2 04 40 00 	ld  [ %l1 ], %i1                               
  rtems_fdisk_block_ctl*   bc;                                        
  rtems_fdisk_segment_ctl* sc;                                        
  rtems_fdisk_page_desc*   pd;                                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, "read-block:%d", block);                      
 20075c0:	90 10 00 1b 	mov  %i3, %o0                                  
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
    data = sg->buffer;                                                
    for (b = 0; b < fb; b++, data += fd->block_size)                  
    {                                                                 
      ret = rtems_fdisk_read_block (fd, sg->block + b, data);         
 20075c4:	b2 04 c0 19 	add  %l3, %i1, %i1                             
  rtems_fdisk_block_ctl*   bc;                                        
  rtems_fdisk_segment_ctl* sc;                                        
  rtems_fdisk_page_desc*   pd;                                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, "read-block:%d", block);                      
 20075c8:	13 00 80 ce 	sethi  %hi(0x2033800), %o1                     
 20075cc:	94 10 00 19 	mov  %i1, %o2                                  
 20075d0:	7f ff f6 c2 	call  20050d8 <rtems_fdisk_info>               
 20075d4:	92 12 63 d8 	or  %o1, 0x3d8, %o1                            
                                                                      
  /*                                                                  
   * Broken out to allow info messages when testing.                  
   */                                                                 
                                                                      
  if (block >= (fd->block_count - fd->unavail_blocks))                
 20075d8:	c4 06 e0 1c 	ld  [ %i3 + 0x1c ], %g2                        
 20075dc:	c2 06 e0 20 	ld  [ %i3 + 0x20 ], %g1                        
 20075e0:	82 20 80 01 	sub  %g2, %g1, %g1                             
 20075e4:	80 a6 40 01 	cmp  %i1, %g1                                  
 20075e8:	1a 80 00 72 	bcc  20077b0 <rtems_fdisk_ioctl+0x126c>        <== NEVER TAKEN
 20075ec:	83 2e 60 03 	sll  %i1, 3, %g1                               
  {                                                                   
    rtems_fdisk_error ("read-block: block out of range: %d", block);  
    return EIO;                                                       
  }                                                                   
                                                                      
  bc = &fd->blocks[block];                                            
 20075f0:	e4 06 e0 18 	ld  [ %i3 + 0x18 ], %l2                        
                                                                      
  if (!bc->segment)                                                   
 20075f4:	fa 04 80 01 	ld  [ %l2 + %g1 ], %i5                         
 20075f8:	80 a7 60 00 	cmp  %i5, 0                                    
 20075fc:	02 80 00 76 	be  20077d4 <rtems_fdisk_ioctl+0x1290>         
 2007600:	a4 04 80 01 	add  %l2, %g1, %l2                             
    memset (buffer, 0xff, fd->block_size);                            
    return 0;                                                         
  }                                                                   
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
 2007604:	da 04 a0 04 	ld  [ %l2 + 4 ], %o5                           
 2007608:	ee 07 60 10 	ld  [ %i5 + 0x10 ], %l7                        
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
 200760c:	c8 07 40 00 	ld  [ %i5 ], %g4                               
    memset (buffer, 0xff, fd->block_size);                            
    return 0;                                                         
  }                                                                   
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
 2007610:	ad 2b 60 03 	sll  %o5, 3, %l6                               
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
 2007614:	d6 07 60 08 	ld  [ %i5 + 8 ], %o3                           
    memset (buffer, 0xff, fd->block_size);                            
    return 0;                                                         
  }                                                                   
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
 2007618:	86 05 c0 16 	add  %l7, %l6, %g3                             
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
 200761c:	d8 07 60 0c 	ld  [ %i5 + 0xc ], %o4                         
 2007620:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
 2007624:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
 2007628:	d4 07 60 20 	ld  [ %i5 + 0x20 ], %o2                        
 200762c:	80 a1 20 00 	cmp  %g4, 0                                    
 2007630:	02 80 00 66 	be  20077c8 <rtems_fdisk_ioctl+0x1284>         
 2007634:	de 07 60 24 	ld  [ %i5 + 0x24 ], %o7                        
 2007638:	03 00 80 cd 	sethi  %hi(0x2033400), %g1                     
 200763c:	88 10 63 b8 	or  %g1, 0x3b8, %g4	! 20337b8 <__FUNCTION__.7063+0x648>
 2007640:	d0 23 a0 5c 	st  %o0, [ %sp + 0x5c ]                        
 2007644:	d2 23 a0 60 	st  %o1, [ %sp + 0x60 ]                        
 2007648:	d4 23 a0 64 	st  %o2, [ %sp + 0x64 ]                        
 200764c:	de 23 a0 68 	st  %o7, [ %sp + 0x68 ]                        
 2007650:	c8 23 a0 6c 	st  %g4, [ %sp + 0x6c ]                        
 2007654:	c8 10 e0 02 	lduh  [ %g3 + 2 ], %g4                         
 2007658:	90 10 00 1b 	mov  %i3, %o0                                  
 200765c:	c8 23 a0 70 	st  %g4, [ %sp + 0x70 ]                        
 2007660:	c8 15 c0 16 	lduh  [ %l7 + %l6 ], %g4                       
 2007664:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     
 2007668:	c8 23 a0 74 	st  %g4, [ %sp + 0x74 ]                        
 200766c:	c8 00 e0 04 	ld  [ %g3 + 4 ], %g4                           
 2007670:	92 12 60 38 	or  %o1, 0x38, %o1                             
 2007674:	c6 27 bf d4 	st  %g3, [ %fp + -44 ]                         
 2007678:	94 10 00 19 	mov  %i1, %o2                                  
 200767c:	7f ff f6 97 	call  20050d8 <rtems_fdisk_info>               
 2007680:	c8 23 a0 78 	st  %g4, [ %sp + 0x78 ]                        
 * only set a flag by changing it from 1 to 0.                        
 */                                                                   
static bool                                                           
rtems_fdisk_page_desc_flags_set (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  return (pd->flags & flags) == 0 ? true : false;                     
 2007684:	c6 07 bf d4 	ld  [ %fp + -44 ], %g3                         
 2007688:	c6 10 e0 02 	lduh  [ %g3 + 2 ], %g3                         
                    sc->pages, sc->pages_active, sc->pages_used, sc->pages_bad,
                    sc->next ? "set" : "null",                        
                    pd->flags, pd->crc, pd->block);                   
#endif                                                                
                                                                      
  if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_ACTIVE))  
 200768c:	80 88 e0 01 	btst  1, %g3                                   
 2007690:	12 80 00 14 	bne  20076e0 <rtems_fdisk_ioctl+0x119c>        <== NEVER TAKEN
 2007694:	80 88 e0 02 	btst  2, %g3                                   
  {                                                                   
    if (rtems_fdisk_page_desc_flags_clear (pd, RTEMS_FDISK_PAGE_USED))
 2007698:	12 80 00 1b 	bne  2007704 <rtems_fdisk_ioctl+0x11c0>        <== ALWAYS TAKEN
 200769c:	11 00 80 cf 	sethi  %hi(0x2033c00), %o0                     
      rtems_fdisk_error ("read-block: crc failure: %d: buffer:%04x page:%04x",
                         block, cs, pd->crc);                         
    }                                                                 
    else                                                              
    {                                                                 
      rtems_fdisk_error ("read-block: block points to used page: %d: %d-%d-%d",
 20076a0:	d4 07 60 08 	ld  [ %i5 + 8 ], %o2                           <== NOT EXECUTED
 20076a4:	d6 07 60 0c 	ld  [ %i5 + 0xc ], %o3                         <== NOT EXECUTED
 20076a8:	d8 04 a0 04 	ld  [ %l2 + 4 ], %o4                           <== NOT EXECUTED
 20076ac:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20076b0:	7f ff f7 86 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 20076b4:	90 12 20 f0 	or  %o0, 0xf0, %o0                             <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 20076b8:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
  req->req_done (req->done_arg, req->status);                         
 20076bc:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 20076c0:	d0 06 a0 08 	ld  [ %i2 + 8 ], %o0                           
 20076c4:	9f c0 40 00 	call  %g1                                      
 20076c8:	d2 26 a0 0c 	st  %o1, [ %i2 + 0xc ]                         
 20076cc:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       
        else                                                          
        {                                                             
          switch (r->req)                                             
          {                                                           
            case RTEMS_BLKDEV_REQ_READ:                               
              errno = rtems_fdisk_read (&rtems_flashdisks[minor], r); 
 20076d0:	c4 07 bf ec 	ld  [ %fp + -20 ], %g2                         
 20076d4:	b8 00 40 1c 	add  %g1, %i4, %i4                             
              break;                                                  
 20076d8:	10 bf fc 80 	b  20068d8 <rtems_fdisk_ioctl+0x394>           
 20076dc:	c0 20 80 00 	clr  [ %g2 ]                                   
                         block, sc->device, sc->segment, bc->page);   
    }                                                                 
  }                                                                   
  else                                                                
  {                                                                   
    rtems_fdisk_error ("read-block: block page not active: %d: %d-%d-%d",
 20076e0:	d4 07 60 08 	ld  [ %i5 + 8 ], %o2                           <== NOT EXECUTED
 20076e4:	d6 07 60 0c 	ld  [ %i5 + 0xc ], %o3                         <== NOT EXECUTED
 20076e8:	d8 04 a0 04 	ld  [ %l2 + 4 ], %o4                           <== NOT EXECUTED
 20076ec:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20076f0:	11 00 80 cf 	sethi  %hi(0x2033c00), %o0                     <== NOT EXECUTED
 20076f4:	7f ff f7 75 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 20076f8:	90 12 21 28 	or  %o0, 0x128, %o0	! 2033d28 <__FUNCTION__.7063+0xbb8><== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 20076fc:	10 bf ff f0 	b  20076bc <rtems_fdisk_ioctl+0x1178>          <== NOT EXECUTED
 2007700:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
                           rtems_fdisk_segment_ctl* sc,               
                           uint32_t                 page,             
                           void*                    buffer)           
{                                                                     
  return rtems_fdisk_seg_read (fd, sc,                                
                               page * fd->block_size, buffer, fd->block_size);
 2007704:	d8 06 e0 14 	ld  [ %i3 + 0x14 ], %o4                        
                                                                      
      /*                                                              
       * We use the segment page offset not the page number used in the
       * driver. This skips the page descriptors.                     
       */                                                             
      int ret = rtems_fdisk_seg_read_page (fd, sc,                    
 2007708:	c6 04 a0 04 	ld  [ %l2 + 4 ], %g3                           
 200770c:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
rtems_fdisk_seg_read_page (const rtems_flashdisk*   fd,               
                           rtems_fdisk_segment_ctl* sc,               
                           uint32_t                 page,             
                           void*                    buffer)           
{                                                                     
  return rtems_fdisk_seg_read (fd, sc,                                
 2007710:	92 10 00 0c 	mov  %o4, %o1                                  
 2007714:	90 02 00 03 	add  %o0, %g3, %o0                             
 2007718:	7f ff eb a5 	call  20025ac <.umul>                          
 200771c:	d8 27 bf c8 	st  %o4, [ %fp + -56 ]                         
 2007720:	d8 07 bf c8 	ld  [ %fp + -56 ], %o4                         
 2007724:	94 10 00 08 	mov  %o0, %o2                                  
 2007728:	92 10 00 1d 	mov  %i5, %o1                                  
 200772c:	90 10 00 1b 	mov  %i3, %o0                                  
 2007730:	7f ff f6 ae 	call  20051e8 <rtems_fdisk_seg_read>           
 2007734:	96 10 00 18 	mov  %i0, %o3                                  
       * driver. This skips the page descriptors.                     
       */                                                             
      int ret = rtems_fdisk_seg_read_page (fd, sc,                    
                                           bc->page + sc->pages_desc, buffer);
                                                                      
      if (ret)                                                        
 2007738:	86 92 20 00 	orcc  %o0, 0, %g3                              
 200773c:	32 80 00 38 	bne,a   200781c <rtems_fdisk_ioctl+0x12d8>     <== NEVER TAKEN
 2007740:	f0 07 60 08 	ld  [ %i5 + 8 ], %i0                           <== NOT EXECUTED
                          strerror (ret), ret);                       
#endif                                                                
        return ret;                                                   
      }                                                               
                                                                      
      cs = rtems_fdisk_page_checksum (buffer, fd->block_size);        
 2007744:	c6 06 e0 14 	ld  [ %i3 + 0x14 ], %g3                        
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2007748:	80 a0 e0 00 	cmp  %g3, 0                                    
 200774c:	02 80 00 0e 	be  2007784 <rtems_fdisk_ioctl+0x1240>         <== NEVER TAKEN
 2007750:	88 10 3f ff 	mov  -1, %g4                                   
 2007754:	1f 00 81 23 	sethi  %hi(0x2048c00), %o7                     
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_fdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)   
 2007758:	ba 10 00 18 	mov  %i0, %i5                                  
 200775c:	da 03 e3 a0 	ld  [ %o7 + 0x3a0 ], %o5                       
 2007760:	9e 06 00 03 	add  %i0, %g3, %o7                             
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
    cs = rtems_fdisk_calc_crc16 (cs, *buffer);                        
 2007764:	d8 0f 40 00 	ldub  [ %i5 ], %o4                             
 2007768:	88 09 20 ff 	and  %g4, 0xff, %g4                            
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 200776c:	ba 07 60 01 	inc  %i5                                       
    cs = rtems_fdisk_calc_crc16 (cs, *buffer);                        
 2007770:	88 19 00 0c 	xor  %g4, %o4, %g4                             
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2007774:	80 a7 40 0f 	cmp  %i5, %o7                                  
    cs = rtems_fdisk_calc_crc16 (cs, *buffer);                        
 2007778:	89 29 20 01 	sll  %g4, 1, %g4                               
rtems_fdisk_page_checksum (const uint8_t* buffer, uint32_t page_size) 
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 200777c:	12 bf ff fa 	bne  2007764 <rtems_fdisk_ioctl+0x1220>        
 2007780:	c8 13 40 04 	lduh  [ %o5 + %g4 ], %g4                       
        return ret;                                                   
      }                                                               
                                                                      
      cs = rtems_fdisk_page_checksum (buffer, fd->block_size);        
                                                                      
      if (cs == pd->crc)                                              
 2007784:	d6 15 c0 16 	lduh  [ %l7 + %l6 ], %o3                       
 2007788:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 200778c:	95 31 20 10 	srl  %g4, 0x10, %o2                            
 2007790:	80 a2 80 0b 	cmp  %o2, %o3                                  
 2007794:	02 80 00 1a 	be  20077fc <rtems_fdisk_ioctl+0x12b8>         <== ALWAYS TAKEN
 2007798:	11 00 80 cf 	sethi  %hi(0x2033c00), %o0                     
        return 0;                                                     
                                                                      
      rtems_fdisk_error ("read-block: crc failure: %d: buffer:%04x page:%04x",
 200779c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20077a0:	7f ff f7 4a 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 20077a4:	90 12 20 b8 	or  %o0, 0xb8, %o0                             <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 20077a8:	10 bf ff c5 	b  20076bc <rtems_fdisk_ioctl+0x1178>          <== NOT EXECUTED
 20077ac:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
   * Broken out to allow info messages when testing.                  
   */                                                                 
                                                                      
  if (block >= (fd->block_count - fd->unavail_blocks))                
  {                                                                   
    rtems_fdisk_error ("read-block: block out of range: %d", block);  
 20077b0:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20077b4:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
 20077b8:	7f ff f7 44 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 20077bc:	90 12 23 e8 	or  %o0, 0x3e8, %o0	! 2033be8 <__FUNCTION__.7063+0xa78><== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 20077c0:	10 bf ff bf 	b  20076bc <rtems_fdisk_ioctl+0x1178>          <== NOT EXECUTED
 20077c4:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
                                                                      
  sc = fd->blocks[block].segment;                                     
  pd = &sc->page_descriptors[bc->page];                               
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd,                                               
 20077c8:	05 00 80 cd 	sethi  %hi(0x2033400), %g2                     
 20077cc:	10 bf ff 9d 	b  2007640 <rtems_fdisk_ioctl+0x10fc>          
 20077d0:	88 10 a3 c0 	or  %g2, 0x3c0, %g4	! 20337c0 <__FUNCTION__.7063+0x650>
  bc = &fd->blocks[block];                                            
                                                                      
  if (!bc->segment)                                                   
  {                                                                   
#if RTEMS_FDISK_TRACE                                                 
    rtems_fdisk_info (fd, "read-block: no segment mapping: %d", block);
 20077d4:	94 10 00 19 	mov  %i1, %o2                                  
 20077d8:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     
 20077dc:	90 10 00 1b 	mov  %i3, %o0                                  
 20077e0:	7f ff f6 3e 	call  20050d8 <rtems_fdisk_info>               
 20077e4:	92 12 60 10 	or  %o1, 0x10, %o1                             
#endif                                                                
    memset (buffer, 0xff, fd->block_size);                            
 20077e8:	d4 06 e0 14 	ld  [ %i3 + 0x14 ], %o2                        
 20077ec:	90 10 00 18 	mov  %i0, %o0                                  
 20077f0:	40 00 74 31 	call  20248b4 <memset>                         
 20077f4:	92 10 20 ff 	mov  0xff, %o1                                 
 20077f8:	c6 06 e0 14 	ld  [ %i3 + 0x14 ], %g3                        
    uint8_t* data;                                                    
    uint32_t fb;                                                      
    uint32_t b;                                                       
    fb = sg->length / fd->block_size;                                 
    data = sg->buffer;                                                
    for (b = 0; b < fb; b++, data += fd->block_size)                  
 20077fc:	a6 04 e0 01 	inc  %l3                                       
 2007800:	80 a4 c0 15 	cmp  %l3, %l5                                  
 2007804:	12 bf ff 6e 	bne  20075bc <rtems_fdisk_ioctl+0x1078>        <== NEVER TAKEN
 2007808:	b0 06 00 03 	add  %i0, %g3, %i0                             
 200780c:	fa 06 a0 10 	ld  [ %i2 + 0x10 ], %i5                        
{                                                                     
  rtems_blkdev_sg_buffer* sg = req->bufs;                             
  uint32_t                buf;                                        
  int                     ret = 0;                                    
                                                                      
  for (buf = 0; (ret == 0) && (buf < req->bufnum); buf++, sg++)       
 2007810:	a8 05 20 01 	inc  %l4                                       
 2007814:	10 bf ff 5f 	b  2007590 <rtems_fdisk_ioctl+0x104c>          
 2007818:	a2 04 60 10 	add  %l1, 0x10, %l1                            
                                           bc->page + sc->pages_desc, buffer);
                                                                      
      if (ret)                                                        
      {                                                               
#if RTEMS_FDISK_TRACE                                                 
        rtems_fdisk_info (fd,                                         
 200781c:	f2 07 60 0c 	ld  [ %i5 + 0xc ], %i1                         <== NOT EXECUTED
 2007820:	fa 04 a0 04 	ld  [ %l2 + 4 ], %i5                           <== NOT EXECUTED
 2007824:	40 00 78 ef 	call  2025be0 <strerror>                       <== NOT EXECUTED
 2007828:	c6 27 bf d4 	st  %g3, [ %fp + -44 ]                         <== NOT EXECUTED
 200782c:	c6 07 bf d4 	ld  [ %fp + -44 ], %g3                         <== NOT EXECUTED
 2007830:	9a 10 00 08 	mov  %o0, %o5                                  <== NOT EXECUTED
 2007834:	c6 23 a0 5c 	st  %g3, [ %sp + 0x5c ]                        <== NOT EXECUTED
 2007838:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 200783c:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     <== NOT EXECUTED
 2007840:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
 2007844:	92 12 60 80 	or  %o1, 0x80, %o1                             <== NOT EXECUTED
 2007848:	96 10 00 19 	mov  %i1, %o3                                  <== NOT EXECUTED
 200784c:	7f ff f6 23 	call  20050d8 <rtems_fdisk_info>               <== NOT EXECUTED
 2007850:	98 10 00 1d 	mov  %i5, %o4                                  <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 2007854:	10 bf ff 9a 	b  20076bc <rtems_fdisk_ioctl+0x1178>          <== NOT EXECUTED
 2007858:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
                                                                      
  ret = rtems_fdisk_erase_flash (fd);                                 
                                                                      
  if (ret == 0)                                                       
  {                                                                   
    for (device = 0; device < fd->device_count; device++)             
 200785c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2007860:	02 bf fc 6d 	be  2006a14 <rtems_fdisk_ioctl+0x4d0>          <== NOT EXECUTED
 2007864:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       <== NOT EXECUTED
    {                                                                 
      if (!fd->devices[device].segments)                              
 2007868:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        <== NOT EXECUTED
 200786c:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
 2007870:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2007874:	02 bf fc 67 	be  2006a10 <rtems_fdisk_ioctl+0x4cc>          <== NOT EXECUTED
 2007878:	90 10 20 0c 	mov  0xc, %o0                                  <== NOT EXECUTED
 200787c:	b4 10 20 0c 	mov  0xc, %i2                                  <== NOT EXECUTED
 2007880:	10 80 00 0b 	b  20078ac <rtems_fdisk_ioctl+0x1368>          <== NOT EXECUTED
 2007884:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
                                                                      
  ret = rtems_fdisk_erase_flash (fd);                                 
                                                                      
  if (ret == 0)                                                       
  {                                                                   
    for (device = 0; device < fd->device_count; device++)             
 2007888:	b6 06 e0 01 	inc  %i3                                       <== NOT EXECUTED
 200788c:	80 a6 c0 01 	cmp  %i3, %g1                                  <== NOT EXECUTED
 2007890:	1a bf fc 61 	bcc  2006a14 <rtems_fdisk_ioctl+0x4d0>         <== NOT EXECUTED
 2007894:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       <== NOT EXECUTED
    {                                                                 
      if (!fd->devices[device].segments)                              
 2007898:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        <== NOT EXECUTED
 200789c:	c2 00 40 1a 	ld  [ %g1 + %i2 ], %g1                         <== NOT EXECUTED
 20078a0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20078a4:	02 80 00 0b 	be  20078d0 <rtems_fdisk_ioctl+0x138c>         <== NOT EXECUTED
 20078a8:	b4 06 a0 0c 	add  %i2, 0xc, %i2                             <== NOT EXECUTED
        return ENOMEM;                                                
                                                                      
      ret = rtems_fdisk_recover_block_mappings (fd);                  
 20078ac:	7f ff fa 31 	call  2006170 <rtems_fdisk_recover_block_mappings><== NOT EXECUTED
 20078b0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      if (ret)                                                        
 20078b4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20078b8:	22 bf ff f4 	be,a   2007888 <rtems_fdisk_ioctl+0x1344>      <== NOT EXECUTED
 20078bc:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        <== NOT EXECUTED
 20078c0:	10 bf fc 55 	b  2006a14 <rtems_fdisk_ioctl+0x4d0>           <== NOT EXECUTED
 20078c4:	c2 04 23 98 	ld  [ %l0 + 0x398 ], %g1                       <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_erase_flash (const rtems_flashdisk* fd)                   
{                                                                     
  uint32_t device;                                                    
  for (device = 0; device < fd->device_count; device++)               
 20078c8:	10 bf fc 52 	b  2006a10 <rtems_fdisk_ioctl+0x4cc>           <== NOT EXECUTED
 20078cc:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  if (ret == 0)                                                       
  {                                                                   
    for (device = 0; device < fd->device_count; device++)             
    {                                                                 
      if (!fd->devices[device].segments)                              
        return ENOMEM;                                                
 20078d0:	10 bf fc 50 	b  2006a10 <rtems_fdisk_ioctl+0x4cc>           <== NOT EXECUTED
 20078d4:	90 10 20 0c 	mov  0xc, %o0                                  <== NOT EXECUTED
    /*                                                                
     * If compacting is configured for the background do it now       
     * to see if we can get some space back.                          
     */                                                               
    if ((fd->flags & RTEMS_FDISK_BACKGROUND_COMPACT))                 
      rtems_fdisk_compact (fd);                                       
 20078d8:	7f ff f9 70 	call  2005e98 <rtems_fdisk_compact>            <== NOT EXECUTED
 20078dc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 * Pop the head of the segment control queue.                         
 */                                                                   
static rtems_fdisk_segment_ctl*                                       
rtems_fdisk_segment_queue_pop_head (rtems_fdisk_segment_ctl_queue* queue)
{                                                                     
  if (queue->head)                                                    
 20078e0:	f6 07 60 34 	ld  [ %i5 + 0x34 ], %i3                        <== NOT EXECUTED
 20078e4:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 20078e8:	32 bf fe 32 	bne,a   20071b0 <rtems_fdisk_ioctl+0xc6c>      <== NOT EXECUTED
 20078ec:	c2 06 c0 00 	ld  [ %i3 ], %g1                               <== NOT EXECUTED
     */                                                               
    sc = rtems_fdisk_segment_queue_pop_head (&fd->available);         
                                                                      
    if (!sc)                                                          
    {                                                                 
      rtems_fdisk_error ("write-block: no available pages");          
 20078f0:	10 bf fe ba 	b  20073d8 <rtems_fdisk_ioctl+0xe94>           <== NOT EXECUTED
 20078f4:	11 00 80 d0 	sethi  %hi(0x2034000), %o0                     <== NOT EXECUTED
      {                                                               
        ret = rtems_fdisk_seg_write_page_desc (fd, sc, page, pd);     
        if (ret)                                                      
        {                                                             
#if RTEMS_FDISK_TRACE                                                 
          rtems_fdisk_info (fd, "write-block:%02d-%03d-%03d: "  \     
 20078f8:	e8 06 e0 0c 	ld  [ %i3 + 0xc ], %l4                         <== NOT EXECUTED
 20078fc:	40 00 78 b9 	call  2025be0 <strerror>                       <== NOT EXECUTED
 2007900:	f0 06 20 04 	ld  [ %i0 + 4 ], %i0                           <== NOT EXECUTED
 2007904:	13 00 80 cf 	sethi  %hi(0x2033c00), %o1                     <== NOT EXECUTED
 2007908:	9a 10 00 08 	mov  %o0, %o5                                  <== NOT EXECUTED
 200790c:	f2 23 a0 5c 	st  %i1, [ %sp + 0x5c ]                        <== NOT EXECUTED
 2007910:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2007914:	92 12 63 50 	or  %o1, 0x350, %o1                            <== NOT EXECUTED
 2007918:	94 10 00 15 	mov  %l5, %o2                                  <== NOT EXECUTED
 200791c:	96 10 00 14 	mov  %l4, %o3                                  <== NOT EXECUTED
 2007920:	7f ff f5 ee 	call  20050d8 <rtems_fdisk_info>               <== NOT EXECUTED
 2007924:	98 10 00 18 	mov  %i0, %o4                                  <== NOT EXECUTED
        {                                                             
          sc->pages_active++;                                         
        }                                                             
      }                                                               
                                                                      
      rtems_fdisk_queue_segment (fd, sc);                             
 2007928:	10 bf fe 86 	b  2007340 <rtems_fdisk_ioctl+0xdfc>           <== NOT EXECUTED
 200792c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      

02005768 <rtems_fdisk_queue_segment>: * @param fd The flash disk control table. * @param sc The segment control table to be reallocated */ static void rtems_fdisk_queue_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc) {
 2005768:	9d e3 bf 90 	save  %sp, -112, %sp                           
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, " queue-seg:%02d-%03d: p=%d a=%d u=%d b=%d f=%s n=%s",
 200576c:	c2 06 60 28 	ld  [ %i1 + 0x28 ], %g1                        
 * @param fd The flash disk control table.                            
 * @param sc The segment control table to be reallocated              
 */                                                                   
static void                                                           
rtems_fdisk_queue_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
{                                                                     
 2005770:	b4 10 00 19 	mov  %i1, %i2                                  
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, " queue-seg:%02d-%03d: p=%d a=%d u=%d b=%d f=%s n=%s",
 2005774:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
 2005778:	d6 06 60 0c 	ld  [ %i1 + 0xc ], %o3                         
 200577c:	d8 06 60 14 	ld  [ %i1 + 0x14 ], %o4                        
 2005780:	da 06 60 1c 	ld  [ %i1 + 0x1c ], %o5                        
 2005784:	c8 06 60 20 	ld  [ %i1 + 0x20 ], %g4                        
 2005788:	80 a0 60 00 	cmp  %g1, 0                                    
 200578c:	02 80 00 2b 	be  2005838 <rtems_fdisk_queue_segment+0xd0>   <== ALWAYS TAKEN
 2005790:	c6 06 60 24 	ld  [ %i1 + 0x24 ], %g3                        
 2005794:	c4 06 80 00 	ld  [ %i2 ], %g2                               <== NOT EXECUTED
 2005798:	03 00 80 cd 	sethi  %hi(0x2033400), %g1                     <== NOT EXECUTED
 200579c:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 20057a0:	02 80 00 2b 	be  200584c <rtems_fdisk_queue_segment+0xe4>   <== NOT EXECUTED
 20057a4:	82 10 63 a8 	or  %g1, 0x3a8, %g1                            <== NOT EXECUTED
 20057a8:	05 00 80 cd 	sethi  %hi(0x2033400), %g2                     
 20057ac:	84 10 a3 b8 	or  %g2, 0x3b8, %g2	! 20337b8 <__FUNCTION__.7063+0x648>
 20057b0:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 20057b4:	c8 23 a0 5c 	st  %g4, [ %sp + 0x5c ]                        
 20057b8:	c6 23 a0 60 	st  %g3, [ %sp + 0x60 ]                        
 20057bc:	c4 23 a0 68 	st  %g2, [ %sp + 0x68 ]                        
 20057c0:	90 10 00 18 	mov  %i0, %o0                                  
 20057c4:	13 00 80 cd 	sethi  %hi(0x2033400), %o1                     
 20057c8:	7f ff fe 44 	call  20050d8 <rtems_fdisk_info>               
 20057cc:	92 12 63 c8 	or  %o1, 0x3c8, %o1	! 20337c8 <__FUNCTION__.7063+0x658>
                                                                      
  /*                                                                  
   * If the segment has failed then check the failed queue and append 
   * if not failed.                                                   
   */                                                                 
  if (sc->failed)                                                     
 20057d0:	c2 06 a0 28 	ld  [ %i2 + 0x28 ], %g1                        
 20057d4:	80 a0 60 00 	cmp  %g1, 0                                    
 20057d8:	22 80 00 2c 	be,a   2005888 <rtems_fdisk_queue_segment+0x120><== ALWAYS TAKEN
 20057dc:	92 10 00 1a 	mov  %i2, %o1                                  
 */                                                                   
static bool                                                           
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
 20057e0:	c2 06 20 58 	ld  [ %i0 + 0x58 ], %g1                        <== NOT EXECUTED
                                                                      
  while (it)                                                          
 20057e4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20057e8:	02 80 00 89 	be  2005a0c <rtems_fdisk_queue_segment+0x2a4>  <== NOT EXECUTED
 20057ec:	80 a6 80 01 	cmp  %i2, %g1                                  <== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
 20057f0:	32 80 00 06 	bne,a   2005808 <rtems_fdisk_queue_segment+0xa0><== NOT EXECUTED
 20057f4:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
 20057f8:	30 80 00 89 	b,a   2005a1c <rtems_fdisk_queue_segment+0x2b4><== NOT EXECUTED
 20057fc:	02 80 00 88 	be  2005a1c <rtems_fdisk_queue_segment+0x2b4>  <== NOT EXECUTED
 2005800:	01 00 00 00 	nop                                            <== NOT EXECUTED
      return true;                                                    
    it = it->next;                                                    
 2005804:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
                                                                      
  while (it)                                                          
 2005808:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200580c:	12 bf ff fc 	bne  20057fc <rtems_fdisk_queue_segment+0x94>  <== NOT EXECUTED
 2005810:	80 a6 80 01 	cmp  %i2, %g1                                  <== NOT EXECUTED
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
 2005814:	c2 06 20 5c 	ld  [ %i0 + 0x5c ], %g1                        <== NOT EXECUTED
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
 2005818:	c0 26 80 00 	clr  [ %i2 ]                                   <== NOT EXECUTED
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
 200581c:	f4 20 40 00 	st  %i2, [ %g1 ]                               <== NOT EXECUTED
      queue->tail       = sc;                                         
 2005820:	f4 26 20 5c 	st  %i2, [ %i0 + 0x5c ]                        <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
 2005824:	c2 06 20 60 	ld  [ %i0 + 0x60 ], %g1                        <== NOT EXECUTED
 2005828:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 200582c:	c2 26 20 60 	st  %g1, [ %i0 + 0x60 ]                        <== NOT EXECUTED
 2005830:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005834:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 */                                                                   
static void                                                           
rtems_fdisk_queue_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
{                                                                     
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_info (fd, " queue-seg:%02d-%03d: p=%d a=%d u=%d b=%d f=%s n=%s",
 2005838:	c4 06 80 00 	ld  [ %i2 ], %g2                               
 200583c:	03 00 80 cd 	sethi  %hi(0x2033400), %g1                     
 2005840:	80 a0 a0 00 	cmp  %g2, 0                                    
 2005844:	12 bf ff d9 	bne  20057a8 <rtems_fdisk_queue_segment+0x40>  
 2005848:	82 10 63 b0 	or  %g1, 0x3b0, %g1                            
 200584c:	05 00 80 cd 	sethi  %hi(0x2033400), %g2                     
 2005850:	84 10 a3 c0 	or  %g2, 0x3c0, %g2	! 20337c0 <__FUNCTION__.7063+0x650>
 2005854:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 2005858:	c8 23 a0 5c 	st  %g4, [ %sp + 0x5c ]                        
 200585c:	c6 23 a0 60 	st  %g3, [ %sp + 0x60 ]                        
 2005860:	c4 23 a0 68 	st  %g2, [ %sp + 0x68 ]                        
 2005864:	90 10 00 18 	mov  %i0, %o0                                  
 2005868:	13 00 80 cd 	sethi  %hi(0x2033400), %o1                     
 200586c:	7f ff fe 1b 	call  20050d8 <rtems_fdisk_info>               
 2005870:	92 12 63 c8 	or  %o1, 0x3c8, %o1	! 20337c8 <__FUNCTION__.7063+0x658>
                                                                      
  /*                                                                  
   * If the segment has failed then check the failed queue and append 
   * if not failed.                                                   
   */                                                                 
  if (sc->failed)                                                     
 2005874:	c2 06 a0 28 	ld  [ %i2 + 0x28 ], %g1                        
 2005878:	80 a0 60 00 	cmp  %g1, 0                                    
 200587c:	32 bf ff da 	bne,a   20057e4 <rtems_fdisk_queue_segment+0x7c><== NEVER TAKEN
 2005880:	c2 06 20 58 	ld  [ %i0 + 0x58 ], %g1                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Remove the queue from the available or used queue.               
   */                                                                 
  rtems_fdisk_segment_queue_remove (&fd->available, sc);              
 2005884:	92 10 00 1a 	mov  %i2, %o1                                  
 2005888:	b8 06 20 34 	add  %i0, 0x34, %i4                            
 200588c:	7f ff fd 94 	call  2004edc <rtems_fdisk_segment_queue_remove>
 2005890:	90 10 00 1c 	mov  %i4, %o0                                  
  rtems_fdisk_segment_queue_remove (&fd->used, sc);                   
 2005894:	b6 06 20 40 	add  %i0, 0x40, %i3                            
 2005898:	92 10 00 1a 	mov  %i2, %o1                                  
 200589c:	7f ff fd 90 	call  2004edc <rtems_fdisk_segment_queue_remove>
 20058a0:	90 10 00 1b 	mov  %i3, %o0                                  
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 20058a4:	c6 06 a0 1c 	ld  [ %i2 + 0x1c ], %g3                        
 20058a8:	fa 06 a0 14 	ld  [ %i2 + 0x14 ], %i5                        
 20058ac:	c2 06 a0 20 	ld  [ %i2 + 0x20 ], %g1                        
 20058b0:	c4 06 a0 24 	ld  [ %i2 + 0x24 ], %g2                        
 20058b4:	88 00 40 03 	add  %g1, %g3, %g4                             
 20058b8:	84 01 00 02 	add  %g4, %g2, %g2                             
   * If they are and the driver has been configured to background     
   * erase place the segment on the used queue. If not configured     
   * to background erase perform the erase now.                       
   *                                                                  
   */                                                                 
  if (rtems_fdisk_seg_pages_available (sc) == 0)                      
 20058bc:	80 a7 40 02 	cmp  %i5, %g2                                  
 20058c0:	02 80 00 29 	be  2005964 <rtems_fdisk_queue_segment+0x1fc>  
 20058c4:	80 a0 e0 00 	cmp  %g3, 0                                    
     * bit is cleared for that segment. When 32 erasers               
     * has occurred the page is re-written to the flash               
     * with all the counters updated with the number of               
     * bits cleared and all bits set back to 1.                       
     */                                                               
    rtems_fdisk_segment_ctl* seg = fd->available.head;                
 20058c8:	f2 06 20 34 	ld  [ %i0 + 0x34 ], %i1                        
                                                                      
    while (seg)                                                       
 20058cc:	80 a6 60 00 	cmp  %i1, 0                                    
 20058d0:	22 80 00 57 	be,a   2005a2c <rtems_fdisk_queue_segment+0x2c4>
 20058d4:	c0 26 80 00 	clr  [ %i2 ]                                   
 *                                                                    
 * @param fd The flash disk control table.                            
 * @param sc The segment control table to be reallocated              
 */                                                                   
static void                                                           
rtems_fdisk_queue_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
 20058d8:	f6 06 60 20 	ld  [ %i1 + 0x20 ], %i3                        
 20058dc:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 20058e0:	c8 06 60 14 	ld  [ %i1 + 0x14 ], %g4                        
 20058e4:	c6 06 60 1c 	ld  [ %i1 + 0x1c ], %g3                        
 20058e8:	ba 27 40 02 	sub  %i5, %g2, %i5                             
 *                                                                    
 * @param fd The flash disk control table.                            
 * @param sc The segment control table to be reallocated              
 */                                                                   
static void                                                           
rtems_fdisk_queue_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
 20058ec:	82 06 c0 01 	add  %i3, %g1, %g1                             
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 20058f0:	82 21 00 01 	sub  %g4, %g1, %g1                             
 20058f4:	82 20 40 03 	sub  %g1, %g3, %g1                             
     */                                                               
    rtems_fdisk_segment_ctl* seg = fd->available.head;                
                                                                      
    while (seg)                                                       
    {                                                                 
      if (rtems_fdisk_seg_pages_available (sc) <                      
 20058f8:	80 a7 40 01 	cmp  %i5, %g1                                  
 20058fc:	3a 80 00 0e 	bcc,a   2005934 <rtems_fdisk_queue_segment+0x1cc>
 2005900:	f2 06 40 00 	ld  [ %i1 ], %i1                               
        break;                                                        
      seg = seg->next;                                                
    }                                                                 
                                                                      
    if (seg)                                                          
      rtems_fdisk_segment_queue_insert_before (&fd->available, seg, sc);
 2005904:	7f ff ff 6f 	call  20056c0 <rtems_fdisk_segment_queue_insert_before>
 2005908:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
 *                                                                    
 * @param fd The flash disk control table.                            
 * @param sc The segment control table to be reallocated              
 */                                                                   
static void                                                           
rtems_fdisk_queue_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
 200590c:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 2005910:	c6 06 60 14 	ld  [ %i1 + 0x14 ], %g3                        
 2005914:	c4 06 60 1c 	ld  [ %i1 + 0x1c ], %g2                        
 *                                                                    
 * @param fd The flash disk control table.                            
 * @param sc The segment control table to be reallocated              
 */                                                                   
static void                                                           
rtems_fdisk_queue_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc)
 2005918:	82 01 00 01 	add  %g4, %g1, %g1                             
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 200591c:	82 20 c0 01 	sub  %g3, %g1, %g1                             
 2005920:	82 20 40 02 	sub  %g1, %g2, %g1                             
     */                                                               
    rtems_fdisk_segment_ctl* seg = fd->available.head;                
                                                                      
    while (seg)                                                       
    {                                                                 
      if (rtems_fdisk_seg_pages_available (sc) <                      
 2005924:	80 a7 40 01 	cmp  %i5, %g1                                  
 2005928:	0a bf ff f7 	bcs  2005904 <rtems_fdisk_queue_segment+0x19c> <== NEVER TAKEN
 200592c:	01 00 00 00 	nop                                            
          rtems_fdisk_seg_pages_available (seg))                      
        break;                                                        
      seg = seg->next;                                                
 2005930:	f2 06 40 00 	ld  [ %i1 ], %i1                               
     * with all the counters updated with the number of               
     * bits cleared and all bits set back to 1.                       
     */                                                               
    rtems_fdisk_segment_ctl* seg = fd->available.head;                
                                                                      
    while (seg)                                                       
 2005934:	80 a6 60 00 	cmp  %i1, 0                                    
 2005938:	32 bf ff f5 	bne,a   200590c <rtems_fdisk_queue_segment+0x1a4>
 200593c:	c8 06 60 24 	ld  [ %i1 + 0x24 ], %g4                        
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
 2005940:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
 2005944:	c0 26 80 00 	clr  [ %i2 ]                                   
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
 2005948:	f4 20 40 00 	st  %i2, [ %g1 ]                               
      queue->tail       = sc;                                         
 200594c:	f4 26 20 38 	st  %i2, [ %i0 + 0x38 ]                        
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
 2005950:	c2 06 20 3c 	ld  [ %i0 + 0x3c ], %g1                        
 2005954:	82 00 60 01 	inc  %g1                                       
 2005958:	c2 26 20 3c 	st  %g1, [ %i0 + 0x3c ]                        
 200595c:	81 c7 e0 08 	ret                                            
 2005960:	81 e8 00 00 	restore                                        
   * to background erase perform the erase now.                       
   *                                                                  
   */                                                                 
  if (rtems_fdisk_seg_pages_available (sc) == 0)                      
  {                                                                   
    if (sc->pages_active)                                             
 2005964:	22 80 00 1b 	be,a   20059d0 <rtems_fdisk_queue_segment+0x268><== NEVER TAKEN
 2005968:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           <== NOT EXECUTED
      /*                                                              
       * Keep the used queue sorted by the most number of used        
       * pages. When we compact we want to move the pages into        
       * a new segment and cover more than one segment.               
       */                                                             
      rtems_fdisk_segment_ctl* seg = fd->used.head;                   
 200596c:	f2 06 20 40 	ld  [ %i0 + 0x40 ], %i1                        
                                                                      
      while (seg)                                                     
 2005970:	80 a6 60 00 	cmp  %i1, 0                                    
 2005974:	22 80 00 36 	be,a   2005a4c <rtems_fdisk_queue_segment+0x2e4>
 2005978:	c0 26 80 00 	clr  [ %i2 ]                                   
      {                                                               
        if (sc->pages_used > seg->pages_used)                         
 200597c:	c4 06 60 20 	ld  [ %i1 + 0x20 ], %g2                        
 2005980:	80 a0 40 02 	cmp  %g1, %g2                                  
 2005984:	28 80 00 07 	bleu,a   20059a0 <rtems_fdisk_queue_segment+0x238>
 2005988:	f2 06 40 00 	ld  [ %i1 ], %i1                               
 200598c:	30 80 00 26 	b,a   2005a24 <rtems_fdisk_queue_segment+0x2bc>
 2005990:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005994:	0a 80 00 24 	bcs  2005a24 <rtems_fdisk_queue_segment+0x2bc> 
 2005998:	01 00 00 00 	nop                                            
          break;                                                      
        seg = seg->next;                                              
 200599c:	f2 06 40 00 	ld  [ %i1 ], %i1                               
       * pages. When we compact we want to move the pages into        
       * a new segment and cover more than one segment.               
       */                                                             
      rtems_fdisk_segment_ctl* seg = fd->used.head;                   
                                                                      
      while (seg)                                                     
 20059a0:	80 a6 60 00 	cmp  %i1, 0                                    
 20059a4:	32 bf ff fb 	bne,a   2005990 <rtems_fdisk_queue_segment+0x228>
 20059a8:	c4 06 60 20 	ld  [ %i1 + 0x20 ], %g2                        
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
 20059ac:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
 20059b0:	c0 26 80 00 	clr  [ %i2 ]                                   
                                                                      
    if (queue->head)                                                  
    {                                                                 
      queue->tail->next = sc;                                         
 20059b4:	f4 20 40 00 	st  %i2, [ %g1 ]                               
      queue->tail       = sc;                                         
 20059b8:	f4 26 20 44 	st  %i2, [ %i0 + 0x44 ]                        
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
 20059bc:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        
 20059c0:	82 00 60 01 	inc  %g1                                       
 20059c4:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        
 20059c8:	81 c7 e0 08 	ret                                            
 20059cc:	81 e8 00 00 	restore                                        
      else                                                            
        rtems_fdisk_segment_queue_push_tail (&fd->used, sc);          
    }                                                                 
    else                                                              
    {                                                                 
      if ((fd->flags & RTEMS_FDISK_BACKGROUND_ERASE))                 
 20059d0:	80 88 60 01 	btst  1, %g1                                   <== NOT EXECUTED
 20059d4:	02 80 00 19 	be  2005a38 <rtems_fdisk_queue_segment+0x2d0>  <== NOT EXECUTED
 20059d8:	01 00 00 00 	nop                                            <== NOT EXECUTED
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
 20059dc:	c2 06 20 4c 	ld  [ %i0 + 0x4c ], %g1                        <== NOT EXECUTED
 20059e0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20059e4:	02 80 00 17 	be  2005a40 <rtems_fdisk_queue_segment+0x2d8>  <== NOT EXECUTED
 20059e8:	c0 26 80 00 	clr  [ %i2 ]                                   <== NOT EXECUTED
    {                                                                 
      queue->tail->next = sc;                                         
 20059ec:	c2 06 20 50 	ld  [ %i0 + 0x50 ], %g1                        <== NOT EXECUTED
 20059f0:	f4 20 40 00 	st  %i2, [ %g1 ]                               <== NOT EXECUTED
      queue->tail       = sc;                                         
 20059f4:	f4 26 20 50 	st  %i2, [ %i0 + 0x50 ]                        <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
 20059f8:	c2 06 20 54 	ld  [ %i0 + 0x54 ], %g1                        <== NOT EXECUTED
 20059fc:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2005a00:	c2 26 20 54 	st  %g1, [ %i0 + 0x54 ]                        <== NOT EXECUTED
 2005a04:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005a08:	81 e8 00 00 	restore                                        <== NOT EXECUTED
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = 0;                                                     
 2005a0c:	c0 26 80 00 	clr  [ %i2 ]                                   <== NOT EXECUTED
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
 2005a10:	f4 26 20 5c 	st  %i2, [ %i0 + 0x5c ]                        <== NOT EXECUTED
 2005a14:	10 bf ff 84 	b  2005824 <rtems_fdisk_queue_segment+0xbc>    <== NOT EXECUTED
 2005a18:	f4 26 20 58 	st  %i2, [ %i0 + 0x58 ]                        <== NOT EXECUTED
 2005a1c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005a20:	81 e8 00 00 	restore                                        <== NOT EXECUTED
          break;                                                      
        seg = seg->next;                                              
      }                                                               
                                                                      
      if (seg)                                                        
        rtems_fdisk_segment_queue_insert_before (&fd->used, seg, sc); 
 2005a24:	7f ff ff 27 	call  20056c0 <rtems_fdisk_segment_queue_insert_before>
 2005a28:	91 e8 00 1b 	restore  %g0, %i3, %o0                         
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
 2005a2c:	f4 26 20 38 	st  %i2, [ %i0 + 0x38 ]                        
 2005a30:	10 bf ff c8 	b  2005950 <rtems_fdisk_queue_segment+0x1e8>   
 2005a34:	f4 26 20 34 	st  %i2, [ %i0 + 0x34 ]                        
    else                                                              
    {                                                                 
      if ((fd->flags & RTEMS_FDISK_BACKGROUND_ERASE))                 
        rtems_fdisk_segment_queue_push_tail (&fd->erase, sc);         
      else                                                            
        rtems_fdisk_erase_segment (fd, sc);                           
 2005a38:	7f ff fe c3 	call  2005544 <rtems_fdisk_erase_segment>      <== NOT EXECUTED
 2005a3c:	93 e8 00 1a 	restore  %g0, %i2, %o1                         <== NOT EXECUTED
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
 2005a40:	f4 26 20 50 	st  %i2, [ %i0 + 0x50 ]                        <== NOT EXECUTED
 2005a44:	10 bf ff ed 	b  20059f8 <rtems_fdisk_queue_segment+0x290>   <== NOT EXECUTED
 2005a48:	f4 26 20 4c 	st  %i2, [ %i0 + 0x4c ]                        <== NOT EXECUTED
 2005a4c:	f4 26 20 44 	st  %i2, [ %i0 + 0x44 ]                        
 2005a50:	10 bf ff db 	b  20059bc <rtems_fdisk_queue_segment+0x254>   
 2005a54:	f4 26 20 40 	st  %i2, [ %i0 + 0x40 ]                        
                                                                      

02004f60 <rtems_fdisk_queue_status>: */ static bool rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue, rtems_fdisk_segment_ctl* sc) { rtems_fdisk_segment_ctl* it = queue->head;
 2004f60:	c2 02 20 34 	ld  [ %o0 + 0x34 ], %g1                        
                                                                      
  while (it)                                                          
 2004f64:	80 a0 60 00 	cmp  %g1, 0                                    
 2004f68:	12 80 00 07 	bne  2004f84 <rtems_fdisk_queue_status+0x24>   <== ALWAYS TAKEN
 2004f6c:	80 a2 40 01 	cmp  %o1, %g1                                  
static void                                                           
rtems_fdisk_queue_status (rtems_flashdisk*         fd,                
                          rtems_fdisk_segment_ctl* sc,                
                          char                     queues[5])         
{                                                                     
  queues[0] = rtems_fdisk_segment_queue_present (&fd->available, sc) ? 'A' : '-';
 2004f70:	10 80 00 0a 	b  2004f98 <rtems_fdisk_queue_status+0x38>     <== NOT EXECUTED
 2004f74:	82 10 20 2d 	mov  0x2d, %g1                                 <== NOT EXECUTED
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
                                                                      
  while (it)                                                          
 2004f78:	80 a0 60 00 	cmp  %g1, 0                                    
 2004f7c:	02 80 00 06 	be  2004f94 <rtems_fdisk_queue_status+0x34>    <== ALWAYS TAKEN
 2004f80:	80 a2 40 01 	cmp  %o1, %g1                                  
  {                                                                   
    if (it == sc)                                                     
 2004f84:	32 bf ff fd 	bne,a   2004f78 <rtems_fdisk_queue_status+0x18>
 2004f88:	c2 00 40 00 	ld  [ %g1 ], %g1                               
static void                                                           
rtems_fdisk_queue_status (rtems_flashdisk*         fd,                
                          rtems_fdisk_segment_ctl* sc,                
                          char                     queues[5])         
{                                                                     
  queues[0] = rtems_fdisk_segment_queue_present (&fd->available, sc) ? 'A' : '-';
 2004f8c:	10 80 00 03 	b  2004f98 <rtems_fdisk_queue_status+0x38>     
 2004f90:	82 10 20 41 	mov  0x41, %g1                                 
 2004f94:	82 10 20 2d 	mov  0x2d, %g1                                 
 2004f98:	c2 2a 80 00 	stb  %g1, [ %o2 ]                              
 */                                                                   
static bool                                                           
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
 2004f9c:	c2 02 20 40 	ld  [ %o0 + 0x40 ], %g1                        
                                                                      
  while (it)                                                          
 2004fa0:	80 a0 60 00 	cmp  %g1, 0                                    
 2004fa4:	12 80 00 07 	bne  2004fc0 <rtems_fdisk_queue_status+0x60>   <== ALWAYS TAKEN
 2004fa8:	80 a2 40 01 	cmp  %o1, %g1                                  
rtems_fdisk_queue_status (rtems_flashdisk*         fd,                
                          rtems_fdisk_segment_ctl* sc,                
                          char                     queues[5])         
{                                                                     
  queues[0] = rtems_fdisk_segment_queue_present (&fd->available, sc) ? 'A' : '-';
  queues[1] = rtems_fdisk_segment_queue_present (&fd->used, sc)      ? 'U' : '-';
 2004fac:	10 80 00 0a 	b  2004fd4 <rtems_fdisk_queue_status+0x74>     <== NOT EXECUTED
 2004fb0:	82 10 20 2d 	mov  0x2d, %g1                                 <== NOT EXECUTED
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
                                                                      
  while (it)                                                          
 2004fb4:	80 a0 60 00 	cmp  %g1, 0                                    
 2004fb8:	02 80 00 06 	be  2004fd0 <rtems_fdisk_queue_status+0x70>    
 2004fbc:	80 a2 40 01 	cmp  %o1, %g1                                  
  {                                                                   
    if (it == sc)                                                     
 2004fc0:	32 bf ff fd 	bne,a   2004fb4 <rtems_fdisk_queue_status+0x54>
 2004fc4:	c2 00 40 00 	ld  [ %g1 ], %g1                               
rtems_fdisk_queue_status (rtems_flashdisk*         fd,                
                          rtems_fdisk_segment_ctl* sc,                
                          char                     queues[5])         
{                                                                     
  queues[0] = rtems_fdisk_segment_queue_present (&fd->available, sc) ? 'A' : '-';
  queues[1] = rtems_fdisk_segment_queue_present (&fd->used, sc)      ? 'U' : '-';
 2004fc8:	10 80 00 03 	b  2004fd4 <rtems_fdisk_queue_status+0x74>     
 2004fcc:	82 10 20 55 	mov  0x55, %g1                                 
 2004fd0:	82 10 20 2d 	mov  0x2d, %g1                                 
 2004fd4:	c2 2a a0 01 	stb  %g1, [ %o2 + 1 ]                          
 */                                                                   
static bool                                                           
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
 2004fd8:	c2 02 20 4c 	ld  [ %o0 + 0x4c ], %g1                        
                                                                      
  while (it)                                                          
 2004fdc:	80 a0 60 00 	cmp  %g1, 0                                    
 2004fe0:	12 80 00 07 	bne  2004ffc <rtems_fdisk_queue_status+0x9c>   <== NEVER TAKEN
 2004fe4:	80 a2 40 01 	cmp  %o1, %g1                                  
                          rtems_fdisk_segment_ctl* sc,                
                          char                     queues[5])         
{                                                                     
  queues[0] = rtems_fdisk_segment_queue_present (&fd->available, sc) ? 'A' : '-';
  queues[1] = rtems_fdisk_segment_queue_present (&fd->used, sc)      ? 'U' : '-';
  queues[2] = rtems_fdisk_segment_queue_present (&fd->erase, sc)     ? 'E' : '-';
 2004fe8:	10 80 00 0a 	b  2005010 <rtems_fdisk_queue_status+0xb0>     
 2004fec:	82 10 20 2d 	mov  0x2d, %g1                                 
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
                                                                      
  while (it)                                                          
 2004ff0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2004ff4:	02 80 00 06 	be  200500c <rtems_fdisk_queue_status+0xac>    <== NOT EXECUTED
 2004ff8:	80 a2 40 01 	cmp  %o1, %g1                                  <== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
 2004ffc:	32 bf ff fd 	bne,a   2004ff0 <rtems_fdisk_queue_status+0x90><== NOT EXECUTED
 2005000:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
                          rtems_fdisk_segment_ctl* sc,                
                          char                     queues[5])         
{                                                                     
  queues[0] = rtems_fdisk_segment_queue_present (&fd->available, sc) ? 'A' : '-';
  queues[1] = rtems_fdisk_segment_queue_present (&fd->used, sc)      ? 'U' : '-';
  queues[2] = rtems_fdisk_segment_queue_present (&fd->erase, sc)     ? 'E' : '-';
 2005004:	10 80 00 03 	b  2005010 <rtems_fdisk_queue_status+0xb0>     <== NOT EXECUTED
 2005008:	82 10 20 45 	mov  0x45, %g1                                 <== NOT EXECUTED
 200500c:	82 10 20 2d 	mov  0x2d, %g1                                 <== NOT EXECUTED
 2005010:	c2 2a a0 02 	stb  %g1, [ %o2 + 2 ]                          
 */                                                                   
static bool                                                           
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
 2005014:	c2 02 20 58 	ld  [ %o0 + 0x58 ], %g1                        
                                                                      
  while (it)                                                          
 2005018:	80 a0 60 00 	cmp  %g1, 0                                    
 200501c:	12 80 00 07 	bne  2005038 <rtems_fdisk_queue_status+0xd8>   <== NEVER TAKEN
 2005020:	80 a2 40 01 	cmp  %o1, %g1                                  
                          char                     queues[5])         
{                                                                     
  queues[0] = rtems_fdisk_segment_queue_present (&fd->available, sc) ? 'A' : '-';
  queues[1] = rtems_fdisk_segment_queue_present (&fd->used, sc)      ? 'U' : '-';
  queues[2] = rtems_fdisk_segment_queue_present (&fd->erase, sc)     ? 'E' : '-';
  queues[3] = rtems_fdisk_segment_queue_present (&fd->failed, sc)    ? 'F' : '-';
 2005024:	10 80 00 0c 	b  2005054 <rtems_fdisk_queue_status+0xf4>     
 2005028:	82 10 20 2d 	mov  0x2d, %g1                                 
rtems_fdisk_segment_queue_present (rtems_fdisk_segment_ctl_queue* queue,
                                   rtems_fdisk_segment_ctl*       sc) 
{                                                                     
  rtems_fdisk_segment_ctl*  it = queue->head;                         
                                                                      
  while (it)                                                          
 200502c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2005030:	02 80 00 08 	be  2005050 <rtems_fdisk_queue_status+0xf0>    <== NOT EXECUTED
 2005034:	80 a2 40 01 	cmp  %o1, %g1                                  <== NOT EXECUTED
  {                                                                   
    if (it == sc)                                                     
 2005038:	32 bf ff fd 	bne,a   200502c <rtems_fdisk_queue_status+0xcc><== NOT EXECUTED
 200503c:	c2 00 40 00 	ld  [ %g1 ], %g1                               <== NOT EXECUTED
                          char                     queues[5])         
{                                                                     
  queues[0] = rtems_fdisk_segment_queue_present (&fd->available, sc) ? 'A' : '-';
  queues[1] = rtems_fdisk_segment_queue_present (&fd->used, sc)      ? 'U' : '-';
  queues[2] = rtems_fdisk_segment_queue_present (&fd->erase, sc)     ? 'E' : '-';
  queues[3] = rtems_fdisk_segment_queue_present (&fd->failed, sc)    ? 'F' : '-';
 2005040:	82 10 20 46 	mov  0x46, %g1                                 <== NOT EXECUTED
  queues[4] = '\0';                                                   
 2005044:	c0 2a a0 04 	clrb  [ %o2 + 4 ]                              <== NOT EXECUTED
 2005048:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 200504c:	c2 2a a0 03 	stb  %g1, [ %o2 + 3 ]                          <== NOT EXECUTED
                          char                     queues[5])         
{                                                                     
  queues[0] = rtems_fdisk_segment_queue_present (&fd->available, sc) ? 'A' : '-';
  queues[1] = rtems_fdisk_segment_queue_present (&fd->used, sc)      ? 'U' : '-';
  queues[2] = rtems_fdisk_segment_queue_present (&fd->erase, sc)     ? 'E' : '-';
  queues[3] = rtems_fdisk_segment_queue_present (&fd->failed, sc)    ? 'F' : '-';
 2005050:	82 10 20 2d 	mov  0x2d, %g1                                 <== NOT EXECUTED
  queues[4] = '\0';                                                   
 2005054:	c0 2a a0 04 	clrb  [ %o2 + 4 ]                              
 2005058:	81 c3 e0 08 	retl                                           
 200505c:	c2 2a a0 03 	stb  %g1, [ %o2 + 3 ]                          
                                                                      

02006170 <rtems_fdisk_recover_block_mappings>: /** * Recover the block mappings from the devices. */ static int rtems_fdisk_recover_block_mappings (rtems_flashdisk* fd) {
 2006170:	9d e3 bf 90 	save  %sp, -112, %sp                           
  rtems_fdisk_segment_queue_init (&fd->failed);                       
                                                                      
  /*                                                                  
   * Clear the lock mappings.                                         
   */                                                                 
  memset (fd->blocks, 0, fd->block_count * sizeof (rtems_fdisk_block_ctl));
 2006174:	d4 06 20 1c 	ld  [ %i0 + 0x1c ], %o2                        
 2006178:	d0 06 20 18 	ld  [ %i0 + 0x18 ], %o0                        
 * Initialise the segment control queue.                              
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_init (rtems_fdisk_segment_ctl_queue* queue) 
{                                                                     
  queue->head = queue->tail = 0;                                      
 200617c:	c0 26 20 38 	clr  [ %i0 + 0x38 ]                            
 2006180:	c0 26 20 34 	clr  [ %i0 + 0x34 ]                            
  queue->count = 0;                                                   
 2006184:	c0 26 20 3c 	clr  [ %i0 + 0x3c ]                            
 * Initialise the segment control queue.                              
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_init (rtems_fdisk_segment_ctl_queue* queue) 
{                                                                     
  queue->head = queue->tail = 0;                                      
 2006188:	c0 26 20 44 	clr  [ %i0 + 0x44 ]                            
 200618c:	c0 26 20 40 	clr  [ %i0 + 0x40 ]                            
  queue->count = 0;                                                   
 2006190:	c0 26 20 48 	clr  [ %i0 + 0x48 ]                            
 * Initialise the segment control queue.                              
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_init (rtems_fdisk_segment_ctl_queue* queue) 
{                                                                     
  queue->head = queue->tail = 0;                                      
 2006194:	c0 26 20 50 	clr  [ %i0 + 0x50 ]                            
 2006198:	c0 26 20 4c 	clr  [ %i0 + 0x4c ]                            
  queue->count = 0;                                                   
 200619c:	c0 26 20 54 	clr  [ %i0 + 0x54 ]                            
 * Initialise the segment control queue.                              
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_init (rtems_fdisk_segment_ctl_queue* queue) 
{                                                                     
  queue->head = queue->tail = 0;                                      
 20061a0:	c0 26 20 5c 	clr  [ %i0 + 0x5c ]                            
 20061a4:	c0 26 20 58 	clr  [ %i0 + 0x58 ]                            
  queue->count = 0;                                                   
 20061a8:	c0 26 20 60 	clr  [ %i0 + 0x60 ]                            
  rtems_fdisk_segment_queue_init (&fd->failed);                       
                                                                      
  /*                                                                  
   * Clear the lock mappings.                                         
   */                                                                 
  memset (fd->blocks, 0, fd->block_count * sizeof (rtems_fdisk_block_ctl));
 20061ac:	92 10 20 00 	clr  %o1                                       
 20061b0:	40 00 79 c1 	call  20248b4 <memset>                         
 20061b4:	95 2a a0 03 	sll  %o2, 3, %o2                               
  /*                                                                  
   * Scan each segment or each device recovering the valid pages.     
   */                                                                 
  fd->erased_blocks = 0;                                              
  fd->starvation_threshold = 0;                                       
  for (device = 0; device < fd->device_count; device++)               
 20061b8:	c6 06 20 30 	ld  [ %i0 + 0x30 ], %g3                        
  memset (fd->blocks, 0, fd->block_count * sizeof (rtems_fdisk_block_ctl));
                                                                      
  /*                                                                  
   * Scan each segment or each device recovering the valid pages.     
   */                                                                 
  fd->erased_blocks = 0;                                              
 20061bc:	c0 26 20 28 	clr  [ %i0 + 0x28 ]                            
  fd->starvation_threshold = 0;                                       
 20061c0:	c0 26 20 24 	clr  [ %i0 + 0x24 ]                            
  for (device = 0; device < fd->device_count; device++)               
 20061c4:	80 a0 e0 00 	cmp  %g3, 0                                    
 20061c8:	02 80 00 82 	be  20063d0 <rtems_fdisk_recover_block_mappings+0x260><== NEVER TAKEN
 20061cc:	ae 10 00 18 	mov  %i0, %l7                                  
 20061d0:	c4 06 20 2c 	ld  [ %i0 + 0x2c ], %g2                        
      rtems_fdisk_page_desc*          pd;                             
      uint32_t                        page;                           
      int                             ret;                            
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "recover-block-mappings:%02d-%03d", device, segment);
 20061d4:	25 00 80 ce 	sethi  %hi(0x2033800), %l2                     
            ++fd->erased_blocks;                                      
          }                                                           
          else                                                        
          {                                                           
#if RTEMS_FDISK_TRACE                                                 
            rtems_fdisk_warning (fd, "page not blank: %d-%d-%d",      
 20061d8:	29 00 80 ce 	sethi  %hi(0x2033800), %l4                     
            ret = rtems_fdisk_seg_write_page_desc (fd, sc,            
                                                   page, pd);         
                                                                      
            if (ret)                                                  
            {                                                         
              rtems_fdisk_error ("forcing page to used failed: %d-%d-%d",
 20061dc:	2d 00 80 ce 	sethi  %hi(0x2033800), %l6                     
               * each block so we can tell which is the later block when
               * duplicates appear. A power down with a failed wirte could cause
               * a duplicate.                                         
               */                                                     
              const rtems_fdisk_segment_ctl* bsc = fd->blocks[pd->block].segment;
              rtems_fdisk_error ("duplicate block: %d-%d-%d: " \      
 20061e0:	27 00 80 ce 	sethi  %hi(0x2033800), %l3                     
          else if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_ACTIVE))
          {                                                           
            if (pd->block >= fd->block_count)                         
            {                                                         
#if RTEMS_FDISK_TRACE                                                 
              rtems_fdisk_warning (fd,                                
 20061e4:	2b 00 80 ce 	sethi  %hi(0x2033800), %l5                     
  /*                                                                  
   * Scan each segment or each device recovering the valid pages.     
   */                                                                 
  fd->erased_blocks = 0;                                              
  fd->starvation_threshold = 0;                                       
  for (device = 0; device < fd->device_count; device++)               
 20061e8:	a2 10 20 00 	clr  %l1                                       
 20061ec:	b2 10 20 00 	clr  %i1                                       
      rtems_fdisk_page_desc*          pd;                             
      uint32_t                        page;                           
      int                             ret;                            
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "recover-block-mappings:%02d-%03d", device, segment);
 20061f0:	a4 14 a2 b0 	or  %l2, 0x2b0, %l2                            
            ++fd->erased_blocks;                                      
          }                                                           
          else                                                        
          {                                                           
#if RTEMS_FDISK_TRACE                                                 
            rtems_fdisk_warning (fd, "page not blank: %d-%d-%d",      
 20061f4:	a8 15 23 20 	or  %l4, 0x320, %l4                            
            ret = rtems_fdisk_seg_write_page_desc (fd, sc,            
                                                   page, pd);         
                                                                      
            if (ret)                                                  
            {                                                         
              rtems_fdisk_error ("forcing page to used failed: %d-%d-%d",
 20061f8:	ac 15 a3 40 	or  %l6, 0x340, %l6                            
               * each block so we can tell which is the later block when
               * duplicates appear. A power down with a failed wirte could cause
               * a duplicate.                                         
               */                                                     
              const rtems_fdisk_segment_ctl* bsc = fd->blocks[pd->block].segment;
              rtems_fdisk_error ("duplicate block: %d-%d-%d: " \      
 20061fc:	a6 14 e3 98 	or  %l3, 0x398, %l3                            
          else if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_ACTIVE))
          {                                                           
            if (pd->block >= fd->block_count)                         
            {                                                         
#if RTEMS_FDISK_TRACE                                                 
              rtems_fdisk_warning (fd,                                
 2006200:	aa 15 63 68 	or  %l5, 0x368, %l5                            
  fd->erased_blocks = 0;                                              
  fd->starvation_threshold = 0;                                       
  for (device = 0; device < fd->device_count; device++)               
  {                                                                   
    uint32_t segment;                                                 
    for (segment = 0; segment < fd->devices[device].segment_count; segment++)
 2006204:	82 00 80 11 	add  %g2, %l1, %g1                             
 2006208:	c8 00 60 04 	ld  [ %g1 + 4 ], %g4                           
 200620c:	a0 10 20 00 	clr  %l0                                       
 2006210:	80 a1 20 00 	cmp  %g4, 0                                    
 2006214:	02 80 00 6b 	be  20063c0 <rtems_fdisk_recover_block_mappings+0x250><== NEVER TAKEN
 2006218:	b4 10 20 00 	clr  %i2                                       
    {                                                                 
      rtems_fdisk_segment_ctl*        sc = &fd->devices[device].segments[segment];
 200621c:	f6 00 40 00 	ld  [ %g1 ], %i3                               
      rtems_fdisk_page_desc*          pd;                             
      uint32_t                        page;                           
      int                             ret;                            
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "recover-block-mappings:%02d-%03d", device, segment);
 2006220:	94 10 00 19 	mov  %i1, %o2                                  
  for (device = 0; device < fd->device_count; device++)               
  {                                                                   
    uint32_t segment;                                                 
    for (segment = 0; segment < fd->devices[device].segment_count; segment++)
    {                                                                 
      rtems_fdisk_segment_ctl*        sc = &fd->devices[device].segments[segment];
 2006224:	b6 06 c0 10 	add  %i3, %l0, %i3                             
      const rtems_fdisk_segment_desc* sd = sc->descriptor;            
 2006228:	fa 06 e0 04 	ld  [ %i3 + 4 ], %i5                           
      rtems_fdisk_page_desc*          pd;                             
      uint32_t                        page;                           
      int                             ret;                            
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "recover-block-mappings:%02d-%03d", device, segment);
 200622c:	96 10 00 1a 	mov  %i2, %o3                                  
 2006230:	92 10 00 12 	mov  %l2, %o1                                  
 2006234:	7f ff fb a9 	call  20050d8 <rtems_fdisk_info>               
 2006238:	90 10 00 17 	mov  %l7, %o0                                  
 */                                                                   
static uint32_t                                                       
rtems_fdisk_pages_in_segment (const rtems_fdisk_segment_desc* sd,     
                              uint32_t                        page_size)
{                                                                     
  return sd->size / page_size;                                        
 200623c:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "recover-block-mappings:%02d-%03d", device, segment);
#endif                                                                
                                                                      
      sc->pages_desc = rtems_fdisk_page_desc_pages (sd, fd->block_size);
 2006240:	f8 05 e0 14 	ld  [ %l7 + 0x14 ], %i4                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_pages_in_segment (const rtems_fdisk_segment_desc* sd,     
                              uint32_t                        page_size)
{                                                                     
  return sd->size / page_size;                                        
 2006244:	7f ff f1 14 	call  2002694 <.udiv>                          
 2006248:	92 10 00 1c 	mov  %i4, %o1                                  
rtems_fdisk_page_desc_pages (const rtems_fdisk_segment_desc* sd,      
                             uint32_t                        page_size)
{                                                                     
  uint32_t pages = rtems_fdisk_pages_in_segment (sd, page_size);      
  uint32_t bytes = pages * sizeof (rtems_fdisk_page_desc);            
  return ((bytes - 1) / page_size) + 1;                               
 200624c:	92 10 00 1c 	mov  %i4, %o1                                  
 */                                                                   
static uint32_t                                                       
rtems_fdisk_pages_in_segment (const rtems_fdisk_segment_desc* sd,     
                              uint32_t                        page_size)
{                                                                     
  return sd->size / page_size;                                        
 2006250:	ba 10 00 08 	mov  %o0, %i5                                  
static uint32_t                                                       
rtems_fdisk_page_desc_pages (const rtems_fdisk_segment_desc* sd,      
                             uint32_t                        page_size)
{                                                                     
  uint32_t pages = rtems_fdisk_pages_in_segment (sd, page_size);      
  uint32_t bytes = pages * sizeof (rtems_fdisk_page_desc);            
 2006254:	91 2a 20 03 	sll  %o0, 3, %o0                               
  return ((bytes - 1) / page_size) + 1;                               
 2006258:	7f ff f1 0f 	call  2002694 <.udiv>                          
 200625c:	90 02 3f ff 	add  %o0, -1, %o0                              
#endif                                                                
                                                                      
      sc->pages_desc = rtems_fdisk_page_desc_pages (sd, fd->block_size);
      sc->pages =                                                     
        rtems_fdisk_pages_in_segment (sd, fd->block_size) - sc->pages_desc;
      if (sc->pages > fd->starvation_threshold)                       
 2006260:	c4 05 e0 24 	ld  [ %l7 + 0x24 ], %g2                        
rtems_fdisk_page_desc_pages (const rtems_fdisk_segment_desc* sd,      
                             uint32_t                        page_size)
{                                                                     
  uint32_t pages = rtems_fdisk_pages_in_segment (sd, page_size);      
  uint32_t bytes = pages * sizeof (rtems_fdisk_page_desc);            
  return ((bytes - 1) / page_size) + 1;                               
 2006264:	90 02 20 01 	inc  %o0                                       
      rtems_fdisk_info (fd, "recover-block-mappings:%02d-%03d", device, segment);
#endif                                                                
                                                                      
      sc->pages_desc = rtems_fdisk_page_desc_pages (sd, fd->block_size);
      sc->pages =                                                     
        rtems_fdisk_pages_in_segment (sd, fd->block_size) - sc->pages_desc;
 2006268:	82 27 40 08 	sub  %i5, %o0, %g1                             
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "recover-block-mappings:%02d-%03d", device, segment);
#endif                                                                
                                                                      
      sc->pages_desc = rtems_fdisk_page_desc_pages (sd, fd->block_size);
 200626c:	d0 26 e0 18 	st  %o0, [ %i3 + 0x18 ]                        
      sc->pages =                                                     
        rtems_fdisk_pages_in_segment (sd, fd->block_size) - sc->pages_desc;
      if (sc->pages > fd->starvation_threshold)                       
 2006270:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006274:	08 80 00 03 	bleu  2006280 <rtems_fdisk_recover_block_mappings+0x110>
 2006278:	c2 26 e0 14 	st  %g1, [ %i3 + 0x14 ]                        
        fd->starvation_threshold = sc->pages;                         
 200627c:	c2 25 e0 24 	st  %g1, [ %l7 + 0x24 ]                        
      sc->pages_used   = 0;                                           
      sc->pages_bad    = 0;                                           
                                                                      
      sc->failed = false;                                             
                                                                      
      if (!sc->page_descriptors)                                      
 2006280:	fa 06 e0 10 	ld  [ %i3 + 0x10 ], %i5                        
      sc->pages =                                                     
        rtems_fdisk_pages_in_segment (sd, fd->block_size) - sc->pages_desc;
      if (sc->pages > fd->starvation_threshold)                       
        fd->starvation_threshold = sc->pages;                         
                                                                      
      sc->pages_active = 0;                                           
 2006284:	c0 26 e0 1c 	clr  [ %i3 + 0x1c ]                            
      sc->pages_used   = 0;                                           
 2006288:	c0 26 e0 20 	clr  [ %i3 + 0x20 ]                            
      sc->pages_bad    = 0;                                           
 200628c:	c0 26 e0 24 	clr  [ %i3 + 0x24 ]                            
                                                                      
      sc->failed = false;                                             
 2006290:	c0 26 e0 28 	clr  [ %i3 + 0x28 ]                            
                                                                      
      if (!sc->page_descriptors)                                      
 2006294:	80 a7 60 00 	cmp  %i5, 0                                    
 2006298:	02 80 00 94 	be  20064e8 <rtems_fdisk_recover_block_mappings+0x378><== ALWAYS TAKEN
 200629c:	92 10 00 1c 	mov  %i4, %o1                                  
 20062a0:	7f ff f0 c3 	call  20025ac <.umul>                          <== NOT EXECUTED
 20062a4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20062a8:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
       * descriptors.                                                 
       *                                                              
       * @todo It may be better to ask the driver to get these value  
       *       so NAND flash could be better supported.               
       */                                                             
      ret = rtems_fdisk_seg_read (fd, sc, 0, (void*) pd,              
 20062ac:	90 10 00 17 	mov  %l7, %o0                                  
 20062b0:	92 10 00 1b 	mov  %i3, %o1                                  
 20062b4:	94 10 20 00 	clr  %o2                                       
 20062b8:	7f ff fb cc 	call  20051e8 <rtems_fdisk_seg_read>           
 20062bc:	96 10 00 1d 	mov  %i5, %o3                                  
                                  sc->pages_desc * fd->block_size);   
                                                                      
      if (ret)                                                        
 20062c0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 20062c4:	12 80 00 95 	bne  2006518 <rtems_fdisk_recover_block_mappings+0x3a8><== NEVER TAKEN
 20062c8:	01 00 00 00 	nop                                            
       * are active and how many are used.                            
       *                                                              
       * If the page is active see if the block is with-in range and  
       * if the block is a duplicate.                                 
       */                                                             
      for (page = 0; page < sc->pages; page++, pd++)                  
 20062cc:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        
 20062d0:	80 a0 a0 00 	cmp  %g2, 0                                    
 20062d4:	12 80 00 0a 	bne  20062fc <rtems_fdisk_recover_block_mappings+0x18c><== ALWAYS TAKEN
 20062d8:	b8 10 20 00 	clr  %i4                                       
      }                                                               
                                                                      
      /*                                                              
       * Place the segment on to the correct queue.                   
       */                                                             
      rtems_fdisk_queue_segment (fd, sc);                             
 20062dc:	10 80 00 2f 	b  2006398 <rtems_fdisk_recover_block_mappings+0x228><== NOT EXECUTED
 20062e0:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
        }                                                             
        else                                                          
        {                                                             
          if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_USED))
          {                                                           
            sc->pages_used++;                                         
 20062e4:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 20062e8:	c2 26 e0 20 	st  %g1, [ %i3 + 0x20 ]                        <== NOT EXECUTED
       * are active and how many are used.                            
       *                                                              
       * If the page is active see if the block is with-in range and  
       * if the block is a duplicate.                                 
       */                                                             
      for (page = 0; page < sc->pages; page++, pd++)                  
 20062ec:	b8 07 20 01 	inc  %i4                                       
 20062f0:	80 a0 80 1c 	cmp  %g2, %i4                                  
 20062f4:	08 80 00 28 	bleu  2006394 <rtems_fdisk_recover_block_mappings+0x224>
 20062f8:	ba 07 60 08 	add  %i5, 8, %i5                               
static bool                                                           
rtems_fdisk_page_desc_erased (const rtems_fdisk_page_desc* pd)        
{                                                                     
  return ((pd->crc == 0xffff) &&                                      
          (pd->flags == 0xffff) &&                                    
          (pd->block == 0xffffffff)) ? true : false;                  
 20062fc:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2006300:	80 a0 7f ff 	cmp  %g1, -1                                   
 2006304:	22 80 00 35 	be,a   20063d8 <rtems_fdisk_recover_block_mappings+0x268><== ALWAYS TAKEN
 2006308:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 * only set a flag by changing it from 1 to 0.                        
 */                                                                   
static bool                                                           
rtems_fdisk_page_desc_flags_set (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  return (pd->flags & flags) == 0 ? true : false;                     
 200630c:	c2 17 60 02 	lduh  [ %i5 + 2 ], %g1                         <== NOT EXECUTED
            sc->pages_used++;                                         
          }                                                           
        }                                                             
        else                                                          
        {                                                             
          if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_USED))
 2006310:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
 2006314:	22 bf ff f4 	be,a   20062e4 <rtems_fdisk_recover_block_mappings+0x174><== NOT EXECUTED
 2006318:	c2 06 e0 20 	ld  [ %i3 + 0x20 ], %g1                        <== NOT EXECUTED
          {                                                           
            sc->pages_used++;                                         
          }                                                           
          else if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_ACTIVE))
 200631c:	80 88 60 01 	btst  1, %g1                                   <== NOT EXECUTED
 2006320:	32 80 00 43 	bne,a   200642c <rtems_fdisk_recover_block_mappings+0x2bc><== NOT EXECUTED
 2006324:	c2 06 e0 24 	ld  [ %i3 + 0x24 ], %g1                        <== NOT EXECUTED
          {                                                           
            if (pd->block >= fd->block_count)                         
 2006328:	da 07 60 04 	ld  [ %i5 + 4 ], %o5                           <== NOT EXECUTED
 200632c:	c2 05 e0 1c 	ld  [ %l7 + 0x1c ], %g1                        <== NOT EXECUTED
 2006330:	80 a3 40 01 	cmp  %o5, %g1                                  <== NOT EXECUTED
 2006334:	1a 80 00 57 	bcc  2006490 <rtems_fdisk_recover_block_mappings+0x320><== NOT EXECUTED
 2006338:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
                                   "invalid block number: %d-%d-%d: block: %d",
                                   device, segment, page, pd->block); 
#endif                                                                
              sc->pages_bad++;                                        
            }                                                         
            else if (fd->blocks[pd->block].segment)                   
 200633c:	c6 05 e0 18 	ld  [ %l7 + 0x18 ], %g3                        <== NOT EXECUTED
 2006340:	9b 2b 60 03 	sll  %o5, 3, %o5                               <== NOT EXECUTED
 2006344:	c2 00 c0 0d 	ld  [ %g3 + %o5 ], %g1                         <== NOT EXECUTED
 2006348:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200634c:	02 80 00 5b 	be  20064b8 <rtems_fdisk_recover_block_mappings+0x348><== NOT EXECUTED
 2006350:	88 00 c0 0d 	add  %g3, %o5, %g4                             <== NOT EXECUTED
               * each block so we can tell which is the later block when
               * duplicates appear. A power down with a failed wirte could cause
               * a duplicate.                                         
               */                                                     
              const rtems_fdisk_segment_ctl* bsc = fd->blocks[pd->block].segment;
              rtems_fdisk_error ("duplicate block: %d-%d-%d: " \      
 2006354:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           <== NOT EXECUTED
 2006358:	d4 00 60 0c 	ld  [ %g1 + 0xc ], %o2                         <== NOT EXECUTED
 200635c:	d6 01 20 04 	ld  [ %g4 + 4 ], %o3                           <== NOT EXECUTED
 2006360:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
 2006364:	f8 23 a0 5c 	st  %i4, [ %sp + 0x5c ]                        <== NOT EXECUTED
 2006368:	98 10 00 19 	mov  %i1, %o4                                  <== NOT EXECUTED
 200636c:	7f ff fc 57 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2006370:	9a 10 00 1a 	mov  %i2, %o5                                  <== NOT EXECUTED
                                 "duplicate: %d-%d-%d",               
                                 bsc->device, bsc->segment,           
                                 fd->blocks[pd->block].page,          
                                 device, segment, page);              
              sc->pages_bad++;                                        
 2006374:	c2 06 e0 24 	ld  [ %i3 + 0x24 ], %g1                        <== NOT EXECUTED
 2006378:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        <== NOT EXECUTED
 200637c:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2006380:	c2 26 e0 24 	st  %g1, [ %i3 + 0x24 ]                        <== NOT EXECUTED
       * are active and how many are used.                            
       *                                                              
       * If the page is active see if the block is with-in range and  
       * if the block is a duplicate.                                 
       */                                                             
      for (page = 0; page < sc->pages; page++, pd++)                  
 2006384:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
 2006388:	80 a0 80 1c 	cmp  %g2, %i4                                  <== NOT EXECUTED
 200638c:	18 bf ff dc 	bgu  20062fc <rtems_fdisk_recover_block_mappings+0x18c><== NOT EXECUTED
 2006390:	ba 07 60 08 	add  %i5, 8, %i5                               <== NOT EXECUTED
      }                                                               
                                                                      
      /*                                                              
       * Place the segment on to the correct queue.                   
       */                                                             
      rtems_fdisk_queue_segment (fd, sc);                             
 2006394:	90 10 00 17 	mov  %l7, %o0                                  
 2006398:	7f ff fc f4 	call  2005768 <rtems_fdisk_queue_segment>      
 200639c:	92 10 00 1b 	mov  %i3, %o1                                  
  fd->erased_blocks = 0;                                              
  fd->starvation_threshold = 0;                                       
  for (device = 0; device < fd->device_count; device++)               
  {                                                                   
    uint32_t segment;                                                 
    for (segment = 0; segment < fd->devices[device].segment_count; segment++)
 20063a0:	c4 05 e0 2c 	ld  [ %l7 + 0x2c ], %g2                        
 20063a4:	b4 06 a0 01 	inc  %i2                                       
 20063a8:	82 00 80 11 	add  %g2, %l1, %g1                             
 20063ac:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
 20063b0:	80 a0 c0 1a 	cmp  %g3, %i2                                  
 20063b4:	18 bf ff 9a 	bgu  200621c <rtems_fdisk_recover_block_mappings+0xac>
 20063b8:	a0 04 20 30 	add  %l0, 0x30, %l0                            
 20063bc:	c6 05 e0 30 	ld  [ %l7 + 0x30 ], %g3                        
  /*                                                                  
   * Scan each segment or each device recovering the valid pages.     
   */                                                                 
  fd->erased_blocks = 0;                                              
  fd->starvation_threshold = 0;                                       
  for (device = 0; device < fd->device_count; device++)               
 20063c0:	b2 06 60 01 	inc  %i1                                       
 20063c4:	80 a0 c0 19 	cmp  %g3, %i1                                  
 20063c8:	18 bf ff 8f 	bgu  2006204 <rtems_fdisk_recover_block_mappings+0x94><== NEVER TAKEN
 20063cc:	a2 04 60 0c 	add  %l1, 0xc, %l1                             
       */                                                             
      rtems_fdisk_queue_segment (fd, sc);                             
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
 20063d0:	81 c7 e0 08 	ret                                            
 20063d4:	91 e8 20 00 	restore  %g0, 0, %o0                           
static bool                                                           
rtems_fdisk_page_desc_erased (const rtems_fdisk_page_desc* pd)        
{                                                                     
  return ((pd->crc == 0xffff) &&                                      
          (pd->flags == 0xffff) &&                                    
          (pd->block == 0xffffffff)) ? true : false;                  
 20063d8:	80 a0 7f ff 	cmp  %g1, -1                                   
 20063dc:	32 bf ff cd 	bne,a   2006310 <rtems_fdisk_recover_block_mappings+0x1a0><== NEVER TAKEN
 20063e0:	c2 17 60 02 	lduh  [ %i5 + 2 ], %g1                         <== NOT EXECUTED
rtems_fdisk_seg_blank_check_page (const rtems_flashdisk*   fd,        
                                  rtems_fdisk_segment_ctl* sc,        
                                  uint32_t                 page)      
{                                                                     
  return rtems_fdisk_seg_blank_check (fd, sc,                         
                                      page * fd->block_size, fd->block_size);
 20063e4:	f0 05 e0 14 	ld  [ %l7 + 0x14 ], %i0                        
        if (rtems_fdisk_page_desc_erased (pd))                        
        {                                                             
          /*                                                          
           * Is the page erased ?                                     
           */                                                         
          ret = rtems_fdisk_seg_blank_check_page (fd, sc,             
 20063e8:	d0 06 e0 18 	ld  [ %i3 + 0x18 ], %o0                        
static int                                                            
rtems_fdisk_seg_blank_check_page (const rtems_flashdisk*   fd,        
                                  rtems_fdisk_segment_ctl* sc,        
                                  uint32_t                 page)      
{                                                                     
  return rtems_fdisk_seg_blank_check (fd, sc,                         
 20063ec:	92 10 00 18 	mov  %i0, %o1                                  
 20063f0:	7f ff f0 6f 	call  20025ac <.umul>                          
 20063f4:	90 07 00 08 	add  %i4, %o0, %o0                             
 20063f8:	92 10 00 1b 	mov  %i3, %o1                                  
 20063fc:	94 10 00 08 	mov  %o0, %o2                                  
 2006400:	96 10 00 18 	mov  %i0, %o3                                  
 2006404:	7f ff fb 9b 	call  2005270 <rtems_fdisk_seg_blank_check>    
 2006408:	90 10 00 17 	mov  %l7, %o0                                  
           * Is the page erased ?                                     
           */                                                         
          ret = rtems_fdisk_seg_blank_check_page (fd, sc,             
                                                  page + sc->pages_desc);
                                                                      
          if (ret == 0)                                               
 200640c:	80 a2 20 00 	cmp  %o0, 0                                    
 2006410:	32 80 00 0a 	bne,a   2006438 <rtems_fdisk_recover_block_mappings+0x2c8><== NEVER TAKEN
 2006414:	da 07 60 04 	ld  [ %i5 + 4 ], %o5                           <== NOT EXECUTED
          {                                                           
            ++fd->erased_blocks;                                      
 2006418:	c2 05 e0 28 	ld  [ %l7 + 0x28 ], %g1                        
 200641c:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        
 2006420:	82 00 60 01 	inc  %g1                                       
 2006424:	10 bf ff b2 	b  20062ec <rtems_fdisk_recover_block_mappings+0x17c>
 2006428:	c2 25 e0 28 	st  %g1, [ %l7 + 0x28 ]                        
               */                                                     
              sc->pages_active++;                                     
            }                                                         
          }                                                           
          else                                                        
            sc->pages_bad++;                                          
 200642c:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2006430:	10 bf ff af 	b  20062ec <rtems_fdisk_recover_block_mappings+0x17c><== NOT EXECUTED
 2006434:	c2 26 e0 24 	st  %g1, [ %i3 + 0x24 ]                        <== NOT EXECUTED
            ++fd->erased_blocks;                                      
          }                                                           
          else                                                        
          {                                                           
#if RTEMS_FDISK_TRACE                                                 
            rtems_fdisk_warning (fd, "page not blank: %d-%d-%d",      
 2006438:	92 10 00 14 	mov  %l4, %o1                                  <== NOT EXECUTED
 200643c:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 2006440:	96 10 00 1a 	mov  %i2, %o3                                  <== NOT EXECUTED
 2006444:	98 10 00 1c 	mov  %i4, %o4                                  <== NOT EXECUTED
 2006448:	7f ff fb fe 	call  2005440 <rtems_fdisk_warning>            <== NOT EXECUTED
 200644c:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
 * Set the flags. Setting means clear the bit to 0.                   
 */                                                                   
static void                                                           
rtems_fdisk_page_desc_set_flags (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  pd->flags &= ~flags;                                                
 2006450:	c2 17 60 02 	lduh  [ %i5 + 2 ], %g1                         <== NOT EXECUTED
            rtems_fdisk_warning (fd, "page not blank: %d-%d-%d",      
                                 device, segment, page, pd->block);   
#endif                                                                
            rtems_fdisk_page_desc_set_flags (pd, RTEMS_FDISK_PAGE_USED);
                                                                      
            ret = rtems_fdisk_seg_write_page_desc (fd, sc,            
 2006454:	90 10 00 17 	mov  %l7, %o0                                  <== NOT EXECUTED
 * Set the flags. Setting means clear the bit to 0.                   
 */                                                                   
static void                                                           
rtems_fdisk_page_desc_set_flags (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  pd->flags &= ~flags;                                                
 2006458:	82 08 7f fd 	and  %g1, -3, %g1                              <== NOT EXECUTED
            rtems_fdisk_warning (fd, "page not blank: %d-%d-%d",      
                                 device, segment, page, pd->block);   
#endif                                                                
            rtems_fdisk_page_desc_set_flags (pd, RTEMS_FDISK_PAGE_USED);
                                                                      
            ret = rtems_fdisk_seg_write_page_desc (fd, sc,            
 200645c:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 * Set the flags. Setting means clear the bit to 0.                   
 */                                                                   
static void                                                           
rtems_fdisk_page_desc_set_flags (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  pd->flags &= ~flags;                                                
 2006460:	c2 37 60 02 	sth  %g1, [ %i5 + 2 ]                          <== NOT EXECUTED
            rtems_fdisk_warning (fd, "page not blank: %d-%d-%d",      
                                 device, segment, page, pd->block);   
#endif                                                                
            rtems_fdisk_page_desc_set_flags (pd, RTEMS_FDISK_PAGE_USED);
                                                                      
            ret = rtems_fdisk_seg_write_page_desc (fd, sc,            
 2006464:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 2006468:	7f ff fb c9 	call  200538c <rtems_fdisk_seg_write_page_desc><== NOT EXECUTED
 200646c:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
                                                   page, pd);         
                                                                      
            if (ret)                                                  
 2006470:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2006474:	12 80 00 17 	bne  20064d0 <rtems_fdisk_recover_block_mappings+0x360><== NOT EXECUTED
 2006478:	90 10 00 16 	mov  %l6, %o0                                  <== NOT EXECUTED
            {                                                         
              rtems_fdisk_error ("forcing page to used failed: %d-%d-%d",
                                 device, segment, page);              
            }                                                         
                                                                      
            sc->pages_used++;                                         
 200647c:	c2 06 e0 20 	ld  [ %i3 + 0x20 ], %g1                        <== NOT EXECUTED
 2006480:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        <== NOT EXECUTED
 2006484:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2006488:	10 bf ff 99 	b  20062ec <rtems_fdisk_recover_block_mappings+0x17c><== NOT EXECUTED
 200648c:	c2 26 e0 20 	st  %g1, [ %i3 + 0x20 ]                        <== NOT EXECUTED
          else if (rtems_fdisk_page_desc_flags_set (pd, RTEMS_FDISK_PAGE_ACTIVE))
          {                                                           
            if (pd->block >= fd->block_count)                         
            {                                                         
#if RTEMS_FDISK_TRACE                                                 
              rtems_fdisk_warning (fd,                                
 2006490:	92 10 00 15 	mov  %l5, %o1                                  <== NOT EXECUTED
 2006494:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 2006498:	96 10 00 1a 	mov  %i2, %o3                                  <== NOT EXECUTED
 200649c:	7f ff fb e9 	call  2005440 <rtems_fdisk_warning>            <== NOT EXECUTED
 20064a0:	98 10 00 1c 	mov  %i4, %o4                                  <== NOT EXECUTED
                                   "invalid block number: %d-%d-%d: block: %d",
                                   device, segment, page, pd->block); 
#endif                                                                
              sc->pages_bad++;                                        
 20064a4:	c2 06 e0 24 	ld  [ %i3 + 0x24 ], %g1                        <== NOT EXECUTED
 20064a8:	c4 06 e0 14 	ld  [ %i3 + 0x14 ], %g2                        <== NOT EXECUTED
 20064ac:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 20064b0:	10 bf ff 8f 	b  20062ec <rtems_fdisk_recover_block_mappings+0x17c><== NOT EXECUTED
 20064b4:	c2 26 e0 24 	st  %g1, [ %i3 + 0x24 ]                        <== NOT EXECUTED
              fd->blocks[pd->block].page    = page;                   
                                                                      
              /*                                                      
               * The page is active.                                  
               */                                                     
              sc->pages_active++;                                     
 20064b8:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        <== NOT EXECUTED
            {                                                         
              /**                                                     
               * @todo                                                
               * Add start up crc checks here.                        
               */                                                     
              fd->blocks[pd->block].segment = sc;                     
 20064bc:	f6 20 c0 0d 	st  %i3, [ %g3 + %o5 ]                         <== NOT EXECUTED
              fd->blocks[pd->block].page    = page;                   
 20064c0:	f8 21 20 04 	st  %i4, [ %g4 + 4 ]                           <== NOT EXECUTED
                                                                      
              /*                                                      
               * The page is active.                                  
               */                                                     
              sc->pages_active++;                                     
 20064c4:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 20064c8:	10 bf ff 89 	b  20062ec <rtems_fdisk_recover_block_mappings+0x17c><== NOT EXECUTED
 20064cc:	c2 26 e0 1c 	st  %g1, [ %i3 + 0x1c ]                        <== NOT EXECUTED
            ret = rtems_fdisk_seg_write_page_desc (fd, sc,            
                                                   page, pd);         
                                                                      
            if (ret)                                                  
            {                                                         
              rtems_fdisk_error ("forcing page to used failed: %d-%d-%d",
 20064d0:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20064d4:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 20064d8:	7f ff fb fc 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 20064dc:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
                                 device, segment, page);              
            }                                                         
                                                                      
            sc->pages_used++;                                         
 20064e0:	10 bf ff e8 	b  2006480 <rtems_fdisk_recover_block_mappings+0x310><== NOT EXECUTED
 20064e4:	c2 06 e0 20 	ld  [ %i3 + 0x20 ], %g1                        <== NOT EXECUTED
      sc->pages_bad    = 0;                                           
                                                                      
      sc->failed = false;                                             
                                                                      
      if (!sc->page_descriptors)                                      
        sc->page_descriptors = malloc (sc->pages_desc * fd->block_size);
 20064e8:	7f ff f0 31 	call  20025ac <.umul>                          
 20064ec:	01 00 00 00 	nop                                            
 20064f0:	40 00 0b 1a 	call  2009158 <malloc>                         
 20064f4:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
 20064f8:	d0 26 e0 10 	st  %o0, [ %i3 + 0x10 ]                        
 20064fc:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
      if (!sc->page_descriptors)                                      
 2006500:	80 a2 20 00 	cmp  %o0, 0                                    
 2006504:	12 bf ff 6a 	bne  20062ac <rtems_fdisk_recover_block_mappings+0x13c><== ALWAYS TAKEN
 2006508:	d8 07 bf fc 	ld  [ %fp + -4 ], %o4                          
        rtems_fdisk_abort ("no memory for page descriptors");         
 200650c:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
 2006510:	40 00 06 55 	call  2007e64 <rtems_fdisk_abort.constprop.1>  <== NOT EXECUTED
 2006514:	90 12 22 90 	or  %o0, 0x290, %o0	! 2033a90 <__FUNCTION__.7063+0x920><== NOT EXECUTED
      ret = rtems_fdisk_seg_read (fd, sc, 0, (void*) pd,              
                                  sc->pages_desc * fd->block_size);   
                                                                      
      if (ret)                                                        
      {                                                               
        rtems_fdisk_error ("recover-block-mappings:%02d-%03d: " \     
 2006518:	40 00 7d b2 	call  2025be0 <strerror>                       <== NOT EXECUTED
 200651c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2006520:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2006524:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2006528:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 200652c:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
 2006530:	98 10 00 18 	mov  %i0, %o4                                  <== NOT EXECUTED
 2006534:	7f ff fb e5 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2006538:	90 12 22 d8 	or  %o0, 0x2d8, %o0                            <== NOT EXECUTED
                           "read page desc failed: %s (%d)",          
                           device, segment, strerror (ret), ret);     
        return ret;                                                   
 200653c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006540:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02005a58 <rtems_fdisk_recycle_segment>: static int rtems_fdisk_recycle_segment (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* ssc, rtems_fdisk_segment_ctl* dsc, uint32_t *pages) {
 2005a58:	9d e3 bf 78 	save  %sp, -136, %sp                           
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
 2005a5c:	c6 06 60 14 	ld  [ %i1 + 0x14 ], %g3                        
 2005a60:	c0 27 bf f8 	clr  [ %fp + -8 ]                              
 2005a64:	80 a0 e0 00 	cmp  %g3, 0                                    
 2005a68:	02 80 00 7f 	be  2005c64 <rtems_fdisk_recycle_segment+0x20c><== NEVER TAKEN
 2005a6c:	a4 10 20 00 	clr  %l2                                       
      /*                                                              
       * Get new destination segment if necessary.                    
       */                                                             
      dst_pages = rtems_fdisk_seg_pages_available (dsc);              
      if (dst_pages == 0)                                             
        dsc = rtems_fdisk_seg_most_available (&fd->available);        
 2005a70:	82 06 20 34 	add  %i0, 0x34, %g1                            
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
 2005a74:	b8 10 20 00 	clr  %i4                                       
      /*                                                              
       * Get new destination segment if necessary.                    
       */                                                             
      dst_pages = rtems_fdisk_seg_pages_available (dsc);              
      if (dst_pages == 0)                                             
        dsc = rtems_fdisk_seg_most_available (&fd->available);        
 2005a78:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
  {                                                                   
    rtems_fdisk_page_desc* spd = &ssc->page_descriptors[spage];       
 2005a7c:	e2 06 60 10 	ld  [ %i1 + 0x10 ], %l1                        
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
                                                                      
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
 2005a80:	a1 2f 20 03 	sll  %i4, 3, %l0                               
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
  {                                                                   
    rtems_fdisk_page_desc* spd = &ssc->page_descriptors[spage];       
                                                                      
    if (!dsc && ssc->pages_active > 0)                                
 2005a84:	80 a6 a0 00 	cmp  %i2, 0                                    
 2005a88:	02 80 00 8d 	be  2005cbc <rtems_fdisk_recycle_segment+0x264>
 2005a8c:	ac 04 40 10 	add  %l1, %l0, %l6                             
 * only set a flag by changing it from 1 to 0.                        
 */                                                                   
static bool                                                           
rtems_fdisk_page_desc_flags_set (rtems_fdisk_page_desc* pd, uint16_t flags)
{                                                                     
  return (pd->flags & flags) == 0 ? true : false;                     
 2005a90:	c4 15 a0 02 	lduh  [ %l6 + 2 ], %g2                         
    {                                                                 
      rtems_fdisk_error ("recycle: no available dst segment");        
      return EIO;                                                     
    }                                                                 
                                                                      
    if (rtems_fdisk_page_desc_flags_set (spd, RTEMS_FDISK_PAGE_ACTIVE) &&
 2005a94:	80 88 a0 01 	btst  1, %g2                                   
 2005a98:	32 80 00 6b 	bne,a   2005c44 <rtems_fdisk_recycle_segment+0x1ec><== NEVER TAKEN
 2005a9c:	c4 04 40 10 	ld  [ %l1 + %l0 ], %g2                         <== NOT EXECUTED
 2005aa0:	80 88 a0 02 	btst  2, %g2                                   
 2005aa4:	22 80 00 68 	be,a   2005c44 <rtems_fdisk_recycle_segment+0x1ec>
 2005aa8:	c4 04 40 10 	ld  [ %l1 + %l0 ], %g2                         
rtems_fdisk_seg_next_available_page (rtems_fdisk_segment_ctl* sc)     
{                                                                     
  rtems_fdisk_page_desc* pd = &sc->page_descriptors[0];               
  uint32_t               page;                                        
                                                                      
  for (page = 0; page < sc->pages; page++, pd++)                      
 2005aac:	de 06 a0 14 	ld  [ %i2 + 0x14 ], %o7                        
 2005ab0:	80 a3 e0 00 	cmp  %o7, 0                                    
 2005ab4:	02 80 00 8d 	be  2005ce8 <rtems_fdisk_recycle_segment+0x290><== NEVER TAKEN
 2005ab8:	ee 06 a0 10 	ld  [ %i2 + 0x10 ], %l7                        
 2005abc:	84 10 00 17 	mov  %l7, %g2                                  
 2005ac0:	10 80 00 05 	b  2005ad4 <rtems_fdisk_recycle_segment+0x7c>  
 2005ac4:	ba 10 20 00 	clr  %i5                                       
 2005ac8:	80 a7 40 0f 	cmp  %i5, %o7                                  
 2005acc:	02 80 00 87 	be  2005ce8 <rtems_fdisk_recycle_segment+0x290><== NEVER TAKEN
 2005ad0:	84 00 a0 08 	add  %g2, 8, %g2                               
static bool                                                           
rtems_fdisk_page_desc_erased (const rtems_fdisk_page_desc* pd)        
{                                                                     
  return ((pd->crc == 0xffff) &&                                      
          (pd->flags == 0xffff) &&                                    
          (pd->block == 0xffffffff)) ? true : false;                  
 2005ad4:	c8 00 80 00 	ld  [ %g2 ], %g4                               
 2005ad8:	80 a1 3f ff 	cmp  %g4, -1                                   
 2005adc:	32 bf ff fb 	bne,a   2005ac8 <rtems_fdisk_recycle_segment+0x70>
 2005ae0:	ba 07 60 01 	inc  %i5                                       
 2005ae4:	c8 00 a0 04 	ld  [ %g2 + 4 ], %g4                           
 2005ae8:	80 a1 3f ff 	cmp  %g4, -1                                   
 2005aec:	32 bf ff f7 	bne,a   2005ac8 <rtems_fdisk_recycle_segment+0x70><== NEVER TAKEN
 2005af0:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
      uint32_t               dst_pages;                               
      rtems_fdisk_page_desc* dpd;                                     
      uint32_t               dpage;                                   
                                                                      
      dpage = rtems_fdisk_seg_next_available_page (dsc);              
      dpd   = &dsc->page_descriptors[dpage];                          
 2005af4:	83 2f 60 03 	sll  %i5, 3, %g1                               
 2005af8:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
                                                                      
      active++;                                                       
 2005afc:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
                                                                      
      if (dpage >= dsc->pages)                                        
 2005b00:	80 a7 40 0f 	cmp  %i5, %o7                                  
      uint32_t               dpage;                                   
                                                                      
      dpage = rtems_fdisk_seg_next_available_page (dsc);              
      dpd   = &dsc->page_descriptors[dpage];                          
                                                                      
      active++;                                                       
 2005b04:	82 00 60 01 	inc  %g1                                       
 2005b08:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
      uint32_t               dst_pages;                               
      rtems_fdisk_page_desc* dpd;                                     
      uint32_t               dpage;                                   
                                                                      
      dpage = rtems_fdisk_seg_next_available_page (dsc);              
      dpd   = &dsc->page_descriptors[dpage];                          
 2005b0c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
                                                                      
      active++;                                                       
                                                                      
      if (dpage >= dsc->pages)                                        
 2005b10:	1a 80 00 76 	bcc  2005ce8 <rtems_fdisk_recycle_segment+0x290><== NEVER TAKEN
 2005b14:	a6 05 c0 01 	add  %l7, %g1, %l3                             
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return EIO;                                                   
      }                                                               
                                                                      
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "recycle: %02d-%03d-%03d=>%02d-%03d-%03d",
 2005b18:	da 06 a0 08 	ld  [ %i2 + 8 ], %o5                           
 2005b1c:	c4 06 a0 0c 	ld  [ %i2 + 0xc ], %g2                         
 2005b20:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
 2005b24:	d6 06 60 0c 	ld  [ %i1 + 0xc ], %o3                         
 2005b28:	98 10 00 1c 	mov  %i4, %o4                                  
 2005b2c:	c4 23 a0 5c 	st  %g2, [ %sp + 0x5c ]                        
 2005b30:	13 00 80 ce 	sethi  %hi(0x2033800), %o1                     
 2005b34:	fa 23 a0 60 	st  %i5, [ %sp + 0x60 ]                        
 2005b38:	92 12 60 58 	or  %o1, 0x58, %o1                             
 2005b3c:	7f ff fd 67 	call  20050d8 <rtems_fdisk_info>               
 2005b40:	90 10 00 18 	mov  %i0, %o0                                  
                        ssc->device, ssc->segment, spage,             
                        dsc->device, dsc->segment, dpage);            
#endif                                                                
      ret = rtems_fdisk_seg_copy_page (fd, ssc,                       
 2005b44:	c8 06 a0 18 	ld  [ %i2 + 0x18 ], %g4                        
                           rtems_fdisk_segment_ctl* dst_sc,           
                           uint32_t                 dst_page)         
{                                                                     
  int ret;                                                            
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-copy-page: %02d-%03d~%03d=>%02d-%03d~%03d",
 2005b48:	da 06 a0 08 	ld  [ %i2 + 8 ], %o5                           
 2005b4c:	de 06 a0 0c 	ld  [ %i2 + 0xc ], %o7                         
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "recycle: %02d-%03d-%03d=>%02d-%03d-%03d",
                        ssc->device, ssc->segment, spage,             
                        dsc->device, dsc->segment, dpage);            
#endif                                                                
      ret = rtems_fdisk_seg_copy_page (fd, ssc,                       
 2005b50:	c4 06 60 18 	ld  [ %i1 + 0x18 ], %g2                        
                           rtems_fdisk_segment_ctl* dst_sc,           
                           uint32_t                 dst_page)         
{                                                                     
  int ret;                                                            
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-copy-page: %02d-%03d~%03d=>%02d-%03d~%03d",
 2005b54:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
 2005b58:	d6 06 60 0c 	ld  [ %i1 + 0xc ], %o3                         
#if RTEMS_FDISK_TRACE                                                 
      rtems_fdisk_info (fd, "recycle: %02d-%03d-%03d=>%02d-%03d-%03d",
                        ssc->device, ssc->segment, spage,             
                        dsc->device, dsc->segment, dpage);            
#endif                                                                
      ret = rtems_fdisk_seg_copy_page (fd, ssc,                       
 2005b5c:	a8 07 00 02 	add  %i4, %g2, %l4                             
 2005b60:	aa 07 40 04 	add  %i5, %g4, %l5                             
                           rtems_fdisk_segment_ctl* dst_sc,           
                           uint32_t                 dst_page)         
{                                                                     
  int ret;                                                            
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-copy-page: %02d-%03d~%03d=>%02d-%03d~%03d",
 2005b64:	de 23 a0 5c 	st  %o7, [ %sp + 0x5c ]                        
 2005b68:	98 10 00 14 	mov  %l4, %o4                                  
 2005b6c:	13 00 80 ce 	sethi  %hi(0x2033800), %o1                     
 2005b70:	ea 23 a0 60 	st  %l5, [ %sp + 0x60 ]                        
 2005b74:	92 12 60 80 	or  %o1, 0x80, %o1                             
 2005b78:	7f ff fd 7a 	call  2005160 <rtems_fdisk_printf>             
 2005b7c:	90 10 00 18 	mov  %i0, %o0                                  
                           rtems_fdisk_segment_ctl* sc,               
                           uint32_t                 page,             
                           void*                    buffer)           
{                                                                     
  return rtems_fdisk_seg_read (fd, sc,                                
                               page * fd->block_size, buffer, fd->block_size);
 2005b80:	d8 06 20 14 	ld  [ %i0 + 0x14 ], %o4                        
rtems_fdisk_seg_read_page (const rtems_flashdisk*   fd,               
                           rtems_fdisk_segment_ctl* sc,               
                           uint32_t                 page,             
                           void*                    buffer)           
{                                                                     
  return rtems_fdisk_seg_read (fd, sc,                                
 2005b84:	90 10 00 14 	mov  %l4, %o0                                  
 2005b88:	92 10 00 0c 	mov  %o4, %o1                                  
 2005b8c:	7f ff f2 88 	call  20025ac <.umul>                          
 2005b90:	d8 27 bf ec 	st  %o4, [ %fp + -20 ]                         
 2005b94:	d6 06 20 68 	ld  [ %i0 + 0x68 ], %o3                        
 2005b98:	d8 07 bf ec 	ld  [ %fp + -20 ], %o4                         
 2005b9c:	94 10 00 08 	mov  %o0, %o2                                  
 2005ba0:	92 10 00 19 	mov  %i1, %o1                                  
 2005ba4:	7f ff fd 91 	call  20051e8 <rtems_fdisk_seg_read>           
 2005ba8:	90 10 00 18 	mov  %i0, %o0                                  
                      src_sc->device, src_sc->segment, src_page,      
                      dst_sc->device, dst_sc->segment, dst_page);     
#endif                                                                
  ret = rtems_fdisk_seg_read_page (fd, src_sc, src_page,              
                                   fd->copy_buffer);                  
  if (ret)                                                            
 2005bac:	84 92 20 00 	orcc  %o0, 0, %g2                              
 2005bb0:	22 80 00 6a 	be,a   2005d58 <rtems_fdisk_recycle_segment+0x300><== ALWAYS TAKEN
 2005bb4:	d6 06 20 68 	ld  [ %i0 + 0x68 ], %o3                        
                                       spage + ssc->pages_desc,       
                                       dsc,                           
                                       dpage + dsc->pages_desc);      
      if (ret)                                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d-%03d=>" \              
 2005bb8:	e2 06 a0 08 	ld  [ %i2 + 8 ], %l1                           <== NOT EXECUTED
 2005bbc:	e0 06 a0 0c 	ld  [ %i2 + 0xc ], %l0                         <== NOT EXECUTED
 2005bc0:	e4 06 60 0c 	ld  [ %i1 + 0xc ], %l2                         <== NOT EXECUTED
 2005bc4:	f6 06 60 08 	ld  [ %i1 + 8 ], %i3                           <== NOT EXECUTED
 2005bc8:	90 10 00 02 	mov  %g2, %o0                                  <== NOT EXECUTED
 2005bcc:	40 00 80 05 	call  2025be0 <strerror>                       <== NOT EXECUTED
 2005bd0:	c4 27 bf f0 	st  %g2, [ %fp + -16 ]                         <== NOT EXECUTED
 2005bd4:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         <== NOT EXECUTED
 2005bd8:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        <== NOT EXECUTED
 2005bdc:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 2005be0:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
 2005be4:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
 2005be8:	98 10 00 11 	mov  %l1, %o4                                  <== NOT EXECUTED
 2005bec:	9a 10 00 10 	mov  %l0, %o5                                  <== NOT EXECUTED
 2005bf0:	fa 23 a0 5c 	st  %i5, [ %sp + 0x5c ]                        <== NOT EXECUTED
 2005bf4:	c4 23 a0 64 	st  %g2, [ %sp + 0x64 ]                        <== NOT EXECUTED
 2005bf8:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2005bfc:	90 12 20 b0 	or  %o0, 0xb0, %o0                             <== NOT EXECUTED
                                             dsc,                     
                                             dpage, dpd);             
                                                                      
      if (ret)                                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d-%03d=>"   \            
 2005c00:	7f ff fe 32 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2005c04:	01 00 00 00 	nop                                            <== NOT EXECUTED
                           "%02d-%03d-%03d: copy pd failed: %s (%d)", 
                           ssc->device, ssc->segment, spage,          
                           dsc->device, dsc->segment, dpage,          
                           strerror (ret), ret);                      
        rtems_fdisk_queue_segment (fd, dsc);                          
 2005c08:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2005c0c:	7f ff fe d7 	call  2005768 <rtems_fdisk_queue_segment>      <== NOT EXECUTED
 2005c10:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
rtems_fdisk_segment_queue_push_head (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = queue->head;                                           
 2005c14:	c6 06 20 40 	ld  [ %i0 + 0x40 ], %g3                        <== NOT EXECUTED
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
 2005c18:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        <== NOT EXECUTED
rtems_fdisk_segment_queue_push_head (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = queue->head;                                           
 2005c1c:	c6 26 40 00 	st  %g3, [ %i1 ]                               <== NOT EXECUTED
    queue->head = sc;                                                 
 2005c20:	f2 26 20 40 	st  %i1, [ %i0 + 0x40 ]                        <== NOT EXECUTED
                                                                      
    if (queue->tail == 0)                                             
 2005c24:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2005c28:	02 80 00 98 	be  2005e88 <rtems_fdisk_recycle_segment+0x430><== NOT EXECUTED
 2005c2c:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         <== NOT EXECUTED
      queue->tail = sc;                                               
    queue->count++;                                                   
 2005c30:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        <== NOT EXECUTED
 2005c34:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2005c38:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        <== NOT EXECUTED
  }                                                                   
                                                                      
  ret = rtems_fdisk_erase_segment (fd, ssc);                          
                                                                      
  return ret;                                                         
}                                                                     
 2005c3c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005c40:	91 e8 00 02 	restore  %g0, %g2, %o0                         <== NOT EXECUTED
static bool                                                           
rtems_fdisk_page_desc_erased (const rtems_fdisk_page_desc* pd)        
{                                                                     
  return ((pd->crc == 0xffff) &&                                      
          (pd->flags == 0xffff) &&                                    
          (pd->block == 0xffffffff)) ? true : false;                  
 2005c44:	80 a0 bf ff 	cmp  %g2, -1                                   
 2005c48:	22 80 00 16 	be,a   2005ca0 <rtems_fdisk_recycle_segment+0x248><== NEVER TAKEN
 2005c4c:	c2 05 a0 04 	ld  [ %l6 + 4 ], %g1                           <== NOT EXECUTED
    {                                                                 
      --fd->erased_blocks;                                            
    }                                                                 
    else                                                              
    {                                                                 
      used++;                                                         
 2005c50:	a4 04 a0 01 	inc  %l2                                       
  int      ret;                                                       
  uint32_t spage;                                                     
  uint32_t used = 0;                                                  
  uint32_t active = 0;                                                
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
 2005c54:	b8 07 20 01 	inc  %i4                                       
 2005c58:	80 a0 c0 1c 	cmp  %g3, %i4                                  
 2005c5c:	38 bf ff 89 	bgu,a   2005a80 <rtems_fdisk_recycle_segment+0x28>
 2005c60:	e2 06 60 10 	ld  [ %i1 + 0x10 ], %l1                        
      used++;                                                         
    }                                                                 
  }                                                                   
                                                                      
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "ssc end: %d-%d: p=%ld, a=%ld, u=%ld",      
 2005c64:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
 2005c68:	d6 06 60 0c 	ld  [ %i1 + 0xc ], %o3                         
 2005c6c:	da 07 bf f8 	ld  [ %fp + -8 ], %o5                          
 2005c70:	e4 23 a0 5c 	st  %l2, [ %sp + 0x5c ]                        
 2005c74:	90 10 00 18 	mov  %i0, %o0                                  
 2005c78:	13 00 80 ce 	sethi  %hi(0x2033800), %o1                     
 2005c7c:	98 10 00 1b 	mov  %i3, %o4                                  
 2005c80:	7f ff fd 38 	call  2005160 <rtems_fdisk_printf>             
 2005c84:	92 12 61 40 	or  %o1, 0x140, %o1                            
                      ssc->device, ssc->segment,                      
                      pages, active, used);                           
#endif                                                                
  if (ssc->pages_active != 0)                                         
 2005c88:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
 2005c8c:	80 a2 60 00 	cmp  %o1, 0                                    
 2005c90:	12 80 00 69 	bne  2005e34 <rtems_fdisk_recycle_segment+0x3dc><== NEVER TAKEN
 2005c94:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     
  {                                                                   
    rtems_fdisk_error ("compacting: ssc pages not 0: %d",             
                       ssc->pages_active);                            
  }                                                                   
                                                                      
  ret = rtems_fdisk_erase_segment (fd, ssc);                          
 2005c98:	7f ff fe 2b 	call  2005544 <rtems_fdisk_erase_segment>      
 2005c9c:	81 e8 00 00 	restore                                        
static bool                                                           
rtems_fdisk_page_desc_erased (const rtems_fdisk_page_desc* pd)        
{                                                                     
  return ((pd->crc == 0xffff) &&                                      
          (pd->flags == 0xffff) &&                                    
          (pd->block == 0xffffffff)) ? true : false;                  
 2005ca0:	80 a0 7f ff 	cmp  %g1, -1                                   <== NOT EXECUTED
 2005ca4:	32 bf ff ec 	bne,a   2005c54 <rtems_fdisk_recycle_segment+0x1fc><== NOT EXECUTED
 2005ca8:	a4 04 a0 01 	inc  %l2                                       <== NOT EXECUTED
                                                                      
      (*pages)--;                                                     
    }                                                                 
    else if (rtems_fdisk_page_desc_erased (spd))                      
    {                                                                 
      --fd->erased_blocks;                                            
 2005cac:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== NOT EXECUTED
 2005cb0:	82 00 7f ff 	add  %g1, -1, %g1                              <== NOT EXECUTED
 2005cb4:	10 bf ff e8 	b  2005c54 <rtems_fdisk_recycle_segment+0x1fc> <== NOT EXECUTED
 2005cb8:	c2 26 20 28 	st  %g1, [ %i0 + 0x28 ]                        <== NOT EXECUTED
                                                                      
  for (spage = 0; spage < ssc->pages; spage++)                        
  {                                                                   
    rtems_fdisk_page_desc* spd = &ssc->page_descriptors[spage];       
                                                                      
    if (!dsc && ssc->pages_active > 0)                                
 2005cbc:	c4 06 60 1c 	ld  [ %i1 + 0x1c ], %g2                        
 2005cc0:	80 a0 a0 00 	cmp  %g2, 0                                    
 2005cc4:	22 bf ff 74 	be,a   2005a94 <rtems_fdisk_recycle_segment+0x3c><== ALWAYS TAKEN
 2005cc8:	c4 15 a0 02 	lduh  [ %l6 + 2 ], %g2                         
    {                                                                 
      rtems_fdisk_error ("recycle: no available dst segment");        
      return EIO;                                                     
 2005ccc:	84 10 20 05 	mov  5, %g2                                    <== NOT EXECUTED
  {                                                                   
    rtems_fdisk_page_desc* spd = &ssc->page_descriptors[spage];       
                                                                      
    if (!dsc && ssc->pages_active > 0)                                
    {                                                                 
      rtems_fdisk_error ("recycle: no available dst segment");        
 2005cd0:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
 2005cd4:	c4 27 bf f0 	st  %g2, [ %fp + -16 ]                         <== NOT EXECUTED
 2005cd8:	7f ff fd fc 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2005cdc:	90 12 20 00 	mov  %o0, %o0                                  <== NOT EXECUTED
      return EIO;                                                     
 2005ce0:	10 bf ff d7 	b  2005c3c <rtems_fdisk_recycle_segment+0x1e4> <== NOT EXECUTED
 2005ce4:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         <== NOT EXECUTED
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
                                                                      
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
 2005ce8:	c4 06 a0 1c 	ld  [ %i2 + 0x1c ], %g2                        <== NOT EXECUTED
 2005cec:	c2 06 a0 20 	ld  [ %i2 + 0x20 ], %g1                        <== NOT EXECUTED
 2005cf0:	d6 06 a0 24 	ld  [ %i2 + 0x24 ], %o3                        <== NOT EXECUTED
                                                                      
      active++;                                                       
                                                                      
      if (dpage >= dsc->pages)                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d: " \                   
 2005cf4:	d2 06 a0 08 	ld  [ %i2 + 8 ], %o1                           <== NOT EXECUTED
 2005cf8:	d4 06 a0 0c 	ld  [ %i2 + 0xc ], %o2                         <== NOT EXECUTED
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
                                                                      
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
 2005cfc:	96 02 c0 02 	add  %o3, %g2, %o3                             <== NOT EXECUTED
                                                                      
      active++;                                                       
                                                                      
      if (dpage >= dsc->pages)                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d: " \                   
 2005d00:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
      rtems_fdisk_segment_queue_push_tail (&fd->available, sc);       
  }                                                                   
}                                                                     
                                                                      
static int                                                            
rtems_fdisk_recycle_segment (rtems_flashdisk*         fd,             
 2005d04:	96 02 c0 01 	add  %o3, %g1, %o3                             <== NOT EXECUTED
                                                                      
      active++;                                                       
                                                                      
      if (dpage >= dsc->pages)                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d: " \                   
 2005d08:	96 23 c0 0b 	sub  %o7, %o3, %o3                             <== NOT EXECUTED
 2005d0c:	7f ff fd ef 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2005d10:	90 12 20 28 	or  %o0, 0x28, %o0                             <== NOT EXECUTED
                           "no page desc available: %d",              
                           dsc->device, dsc->segment,                 
                           rtems_fdisk_seg_pages_available (dsc));    
        dsc->failed = true;                                           
 2005d14:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
        rtems_fdisk_queue_segment (fd, dsc);                          
 2005d18:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d: " \                   
                           "no page desc available: %d",              
                           dsc->device, dsc->segment,                 
                           rtems_fdisk_seg_pages_available (dsc));    
        dsc->failed = true;                                           
 2005d1c:	c2 26 a0 28 	st  %g1, [ %i2 + 0x28 ]                        <== NOT EXECUTED
        rtems_fdisk_queue_segment (fd, dsc);                          
 2005d20:	7f ff fe 92 	call  2005768 <rtems_fdisk_queue_segment>      <== NOT EXECUTED
 2005d24:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
rtems_fdisk_segment_queue_push_head (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = queue->head;                                           
 2005d28:	c4 06 20 40 	ld  [ %i0 + 0x40 ], %g2                        <== NOT EXECUTED
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
 2005d2c:	c2 06 20 44 	ld  [ %i0 + 0x44 ], %g1                        <== NOT EXECUTED
rtems_fdisk_segment_queue_push_head (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
  {                                                                   
    sc->next = queue->head;                                           
 2005d30:	c4 26 40 00 	st  %g2, [ %i1 ]                               <== NOT EXECUTED
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
 2005d34:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2005d38:	02 80 00 56 	be  2005e90 <rtems_fdisk_recycle_segment+0x438><== NOT EXECUTED
 2005d3c:	f2 26 20 40 	st  %i1, [ %i0 + 0x40 ]                        <== NOT EXECUTED
      queue->tail = sc;                                               
    queue->count++;                                                   
 2005d40:	c2 06 20 48 	ld  [ %i0 + 0x48 ], %g1                        <== NOT EXECUTED
                           dsc->device, dsc->segment,                 
                           rtems_fdisk_seg_pages_available (dsc));    
        dsc->failed = true;                                           
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return EIO;                                                   
 2005d44:	84 10 20 05 	mov  5, %g2                                    <== NOT EXECUTED
    sc->next = queue->head;                                           
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
      queue->tail = sc;                                               
    queue->count++;                                                   
 2005d48:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2005d4c:	c2 26 20 48 	st  %g1, [ %i0 + 0x48 ]                        <== NOT EXECUTED
  }                                                                   
                                                                      
  ret = rtems_fdisk_erase_segment (fd, ssc);                          
                                                                      
  return ret;                                                         
}                                                                     
 2005d50:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005d54:	91 e8 00 02 	restore  %g0, %g2, %o0                         <== NOT EXECUTED
#endif                                                                
  ret = rtems_fdisk_seg_read_page (fd, src_sc, src_page,              
                                   fd->copy_buffer);                  
  if (ret)                                                            
    return ret;                                                       
  return rtems_fdisk_seg_write_page (fd, dst_sc, dst_page,            
 2005d58:	90 10 00 18 	mov  %i0, %o0                                  
 2005d5c:	92 10 00 1a 	mov  %i2, %o1                                  
 2005d60:	7f ff fd 9c 	call  20053d0 <rtems_fdisk_seg_write_page>     
 2005d64:	94 10 00 15 	mov  %l5, %o2                                  
#endif                                                                
      ret = rtems_fdisk_seg_copy_page (fd, ssc,                       
                                       spage + ssc->pages_desc,       
                                       dsc,                           
                                       dpage + dsc->pages_desc);      
      if (ret)                                                        
 2005d68:	84 92 20 00 	orcc  %o0, 0, %g2                              
 2005d6c:	12 bf ff 93 	bne  2005bb8 <rtems_fdisk_recycle_segment+0x160><== NEVER TAKEN
 2005d70:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      *dpd = *spd;                                                    
 2005d74:	c4 04 40 10 	ld  [ %l1 + %l0 ], %g2                         
                                                                      
      ret = rtems_fdisk_seg_write_page_desc (fd,                      
 2005d78:	90 10 00 18 	mov  %i0, %o0                                  
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      *dpd = *spd;                                                    
 2005d7c:	c4 25 c0 01 	st  %g2, [ %l7 + %g1 ]                         
 2005d80:	c4 05 a0 04 	ld  [ %l6 + 4 ], %g2                           
                                                                      
      ret = rtems_fdisk_seg_write_page_desc (fd,                      
 2005d84:	92 10 00 1a 	mov  %i2, %o1                                  
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      *dpd = *spd;                                                    
 2005d88:	c4 24 e0 04 	st  %g2, [ %l3 + 4 ]                           
                                                                      
      ret = rtems_fdisk_seg_write_page_desc (fd,                      
 2005d8c:	94 10 00 1d 	mov  %i5, %o2                                  
 2005d90:	7f ff fd 7f 	call  200538c <rtems_fdisk_seg_write_page_desc>
 2005d94:	96 10 00 13 	mov  %l3, %o3                                  
                                             dsc,                     
                                             dpage, dpd);             
                                                                      
      if (ret)                                                        
 2005d98:	84 92 20 00 	orcc  %o0, 0, %g2                              
 2005d9c:	32 80 00 2a 	bne,a   2005e44 <rtems_fdisk_recycle_segment+0x3ec><== NEVER TAKEN
 2005da0:	e2 06 a0 08 	ld  [ %i2 + 8 ], %l1                           <== NOT EXECUTED
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      dsc->pages_active++;                                            
 2005da4:	c4 06 a0 1c 	ld  [ %i2 + 0x1c ], %g2                        
       * We do the stats to make sure everything is as it should      
       * be.                                                          
       */                                                             
                                                                      
      ssc->pages_active--;                                            
      ssc->pages_used++;                                              
 2005da8:	c6 06 60 20 	ld  [ %i1 + 0x20 ], %g3                        
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      dsc->pages_active++;                                            
 2005dac:	84 00 a0 01 	inc  %g2                                       
       */                                                             
                                                                      
      ssc->pages_active--;                                            
      ssc->pages_used++;                                              
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
 2005db0:	c2 05 a0 04 	ld  [ %l6 + 4 ], %g1                           
        rtems_fdisk_queue_segment (fd, dsc);                          
        rtems_fdisk_segment_queue_push_head (&fd->used, ssc);         
        return ret;                                                   
      }                                                               
                                                                      
      dsc->pages_active++;                                            
 2005db4:	c4 26 a0 1c 	st  %g2, [ %i2 + 0x1c ]                        
       */                                                             
                                                                      
      ssc->pages_active--;                                            
      ssc->pages_used++;                                              
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
 2005db8:	c4 06 20 18 	ld  [ %i0 + 0x18 ], %g2                        
       * segment will be erased. Power down could be a problem.       
       * We do the stats to make sure everything is as it should      
       * be.                                                          
       */                                                             
                                                                      
      ssc->pages_active--;                                            
 2005dbc:	c8 06 60 1c 	ld  [ %i1 + 0x1c ], %g4                        
      ssc->pages_used++;                                              
 2005dc0:	86 00 e0 01 	inc  %g3                                       
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
 2005dc4:	83 28 60 03 	sll  %g1, 3, %g1                               
       * We do the stats to make sure everything is as it should      
       * be.                                                          
       */                                                             
                                                                      
      ssc->pages_active--;                                            
      ssc->pages_used++;                                              
 2005dc8:	c6 26 60 20 	st  %g3, [ %i1 + 0x20 ]                        
       * segment will be erased. Power down could be a problem.       
       * We do the stats to make sure everything is as it should      
       * be.                                                          
       */                                                             
                                                                      
      ssc->pages_active--;                                            
 2005dcc:	88 01 3f ff 	add  %g4, -1, %g4                              
      ssc->pages_used++;                                              
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
 2005dd0:	86 00 80 01 	add  %g2, %g1, %g3                             
       * segment will be erased. Power down could be a problem.       
       * We do the stats to make sure everything is as it should      
       * be.                                                          
       */                                                             
                                                                      
      ssc->pages_active--;                                            
 2005dd4:	c8 26 60 1c 	st  %g4, [ %i1 + 0x1c ]                        
      ssc->pages_used++;                                              
                                                                      
      fd->blocks[spd->block].segment = dsc;                           
 2005dd8:	f4 20 80 01 	st  %i2, [ %g2 + %g1 ]                         
      fd->blocks[spd->block].page    = dpage;                         
 2005ddc:	fa 20 e0 04 	st  %i5, [ %g3 + 4 ]                           
                                                                      
      /*                                                              
       * Place the segment on to the correct queue.                   
       */                                                             
      rtems_fdisk_queue_segment (fd, dsc);                            
 2005de0:	90 10 00 18 	mov  %i0, %o0                                  
 2005de4:	7f ff fe 61 	call  2005768 <rtems_fdisk_queue_segment>      
 2005de8:	92 10 00 1a 	mov  %i2, %o1                                  
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 2005dec:	c8 06 a0 20 	ld  [ %i2 + 0x20 ], %g4                        
 2005df0:	c2 06 a0 1c 	ld  [ %i2 + 0x1c ], %g1                        
 2005df4:	c6 06 a0 24 	ld  [ %i2 + 0x24 ], %g3                        
                                                                      
      /*                                                              
       * Get new destination segment if necessary.                    
       */                                                             
      dst_pages = rtems_fdisk_seg_pages_available (dsc);              
      if (dst_pages == 0)                                             
 2005df8:	c4 06 a0 14 	ld  [ %i2 + 0x14 ], %g2                        
 * active, used and bad pages.                                        
 */                                                                   
static uint32_t                                                       
rtems_fdisk_seg_pages_available (const rtems_fdisk_segment_ctl* sc)   
{                                                                     
  return sc->pages - (sc->pages_active + sc->pages_used + sc->pages_bad);
 2005dfc:	82 01 00 01 	add  %g4, %g1, %g1                             
 2005e00:	82 00 40 03 	add  %g1, %g3, %g1                             
                                                                      
      /*                                                              
       * Get new destination segment if necessary.                    
       */                                                             
      dst_pages = rtems_fdisk_seg_pages_available (dsc);              
      if (dst_pages == 0)                                             
 2005e04:	80 a0 80 01 	cmp  %g2, %g1                                  
 2005e08:	02 80 00 07 	be  2005e24 <rtems_fdisk_recycle_segment+0x3cc>
 2005e0c:	01 00 00 00 	nop                                            
        dsc = rtems_fdisk_seg_most_available (&fd->available);        
                                                                      
      (*pages)--;                                                     
 2005e10:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2005e14:	82 00 7f ff 	add  %g1, -1, %g1                              
 2005e18:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
      return EIO;                                                     
    }                                                                 
                                                                      
    if (rtems_fdisk_page_desc_flags_set (spd, RTEMS_FDISK_PAGE_ACTIVE) &&
        !rtems_fdisk_page_desc_flags_set (spd, RTEMS_FDISK_PAGE_USED))
    {                                                                 
 2005e1c:	10 bf ff 8e 	b  2005c54 <rtems_fdisk_recycle_segment+0x1fc> 
 2005e20:	c6 06 60 14 	ld  [ %i1 + 0x14 ], %g3                        
      /*                                                              
       * Get new destination segment if necessary.                    
       */                                                             
      dst_pages = rtems_fdisk_seg_pages_available (dsc);              
      if (dst_pages == 0)                                             
        dsc = rtems_fdisk_seg_most_available (&fd->available);        
 2005e24:	7f ff fc 8f 	call  2005060 <rtems_fdisk_seg_most_available> 
 2005e28:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 2005e2c:	10 bf ff f9 	b  2005e10 <rtems_fdisk_recycle_segment+0x3b8> 
 2005e30:	b4 10 00 08 	mov  %o0, %i2                                  
                      ssc->device, ssc->segment,                      
                      pages, active, used);                           
#endif                                                                
  if (ssc->pages_active != 0)                                         
  {                                                                   
    rtems_fdisk_error ("compacting: ssc pages not 0: %d",             
 2005e34:	7f ff fd a5 	call  20054c8 <rtems_fdisk_error>              <== NOT EXECUTED
 2005e38:	90 12 21 68 	or  %o0, 0x168, %o0                            <== NOT EXECUTED
                       ssc->pages_active);                            
  }                                                                   
                                                                      
  ret = rtems_fdisk_erase_segment (fd, ssc);                          
 2005e3c:	7f ff fd c2 	call  2005544 <rtems_fdisk_erase_segment>      <== NOT EXECUTED
 2005e40:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                             dsc,                     
                                             dpage, dpd);             
                                                                      
      if (ret)                                                        
      {                                                               
        rtems_fdisk_error ("recycle: %02d-%03d-%03d=>"   \            
 2005e44:	e0 06 a0 0c 	ld  [ %i2 + 0xc ], %l0                         <== NOT EXECUTED
 2005e48:	e4 06 60 0c 	ld  [ %i1 + 0xc ], %l2                         <== NOT EXECUTED
 2005e4c:	f6 06 60 08 	ld  [ %i1 + 8 ], %i3                           <== NOT EXECUTED
 2005e50:	40 00 7f 64 	call  2025be0 <strerror>                       <== NOT EXECUTED
 2005e54:	c4 27 bf f0 	st  %g2, [ %fp + -16 ]                         <== NOT EXECUTED
 2005e58:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         <== NOT EXECUTED
 2005e5c:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        <== NOT EXECUTED
 2005e60:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 2005e64:	11 00 80 ce 	sethi  %hi(0x2033800), %o0                     <== NOT EXECUTED
 2005e68:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
 2005e6c:	98 10 00 11 	mov  %l1, %o4                                  <== NOT EXECUTED
 2005e70:	9a 10 00 10 	mov  %l0, %o5                                  <== NOT EXECUTED
 2005e74:	fa 23 a0 5c 	st  %i5, [ %sp + 0x5c ]                        <== NOT EXECUTED
 2005e78:	c4 23 a0 64 	st  %g2, [ %sp + 0x64 ]                        <== NOT EXECUTED
 2005e7c:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2005e80:	10 bf ff 60 	b  2005c00 <rtems_fdisk_recycle_segment+0x1a8> <== NOT EXECUTED
 2005e84:	90 12 20 f8 	or  %o0, 0xf8, %o0                             <== NOT EXECUTED
  {                                                                   
    sc->next = queue->head;                                           
    queue->head = sc;                                                 
                                                                      
    if (queue->tail == 0)                                             
      queue->tail = sc;                                               
 2005e88:	10 bf ff 6a 	b  2005c30 <rtems_fdisk_recycle_segment+0x1d8> <== NOT EXECUTED
 2005e8c:	f2 26 20 44 	st  %i1, [ %i0 + 0x44 ]                        <== NOT EXECUTED
 2005e90:	10 bf ff ac 	b  2005d40 <rtems_fdisk_recycle_segment+0x2e8> <== NOT EXECUTED
 2005e94:	f2 26 20 44 	st  %i1, [ %i0 + 0x44 ]                        <== NOT EXECUTED
                                                                      

020052f4 <rtems_fdisk_seg_write>: rtems_fdisk_seg_write (const rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc, uint32_t offset, const void* buffer, uint32_t size) {
 20052f4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int ret;                                                            
  uint32_t                           device;                          
  uint32_t                           segment;                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
 20052f8:	e0 06 60 08 	ld  [ %i1 + 8 ], %l0                           
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 20052fc:	c4 06 20 2c 	ld  [ %i0 + 0x2c ], %g2                        
 2005300:	87 2c 20 04 	sll  %l0, 4, %g3                               
  uint32_t                           device;                          
  uint32_t                           segment;                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
  segment = sc->segment;                                              
 2005304:	fa 06 60 0c 	ld  [ %i1 + 0xc ], %i5                         
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 2005308:	83 2c 20 02 	sll  %l0, 2, %g1                               
 200530c:	82 20 c0 01 	sub  %g3, %g1, %g1                             
 2005310:	86 00 80 01 	add  %g2, %g1, %g3                             
 2005314:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
  segment = sc->segment;                                              
  sd = rtems_fdisk_seg_descriptor (fd, device, segment);              
  ops = fd->devices[device].descriptor->flash_ops;                    
 2005318:	c6 00 e0 08 	ld  [ %g3 + 8 ], %g3                           
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 200531c:	85 2f 60 04 	sll  %i5, 4, %g2                               
  const rtems_fdisk_segment_desc*    sd;                              
  const rtems_fdisk_driver_handlers* ops;                             
  device = sc->device;                                                
  segment = sc->segment;                                              
  sd = rtems_fdisk_seg_descriptor (fd, device, segment);              
  ops = fd->devices[device].descriptor->flash_ops;                    
 2005320:	e2 00 e0 08 	ld  [ %g3 + 8 ], %l1                           
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 2005324:	87 2f 60 06 	sll  %i5, 6, %g3                               
 2005328:	84 20 c0 02 	sub  %g3, %g2, %g2                             
 200532c:	82 00 40 02 	add  %g1, %g2, %g1                             
  device = sc->device;                                                
  segment = sc->segment;                                              
  sd = rtems_fdisk_seg_descriptor (fd, device, segment);              
  ops = fd->devices[device].descriptor->flash_ops;                    
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-write: %02d-%03d: o=%08x s=%d",      
 2005330:	94 10 00 10 	mov  %l0, %o2                                  
 2005334:	96 10 00 1d 	mov  %i5, %o3                                  
 2005338:	98 10 00 1a 	mov  %i2, %o4                                  
 200533c:	9a 10 00 1c 	mov  %i4, %o5                                  
 2005340:	90 10 00 18 	mov  %i0, %o0                                  
 2005344:	13 00 80 cd 	sethi  %hi(0x2033400), %o1                     
static const rtems_fdisk_segment_desc*                                
rtems_fdisk_seg_descriptor (const rtems_flashdisk* fd,                
                            uint32_t               device,            
                            uint32_t               segment)           
{                                                                     
  return fd->devices[device].segments[segment].descriptor;            
 2005348:	f0 00 60 04 	ld  [ %g1 + 4 ], %i0                           
  device = sc->device;                                                
  segment = sc->segment;                                              
  sd = rtems_fdisk_seg_descriptor (fd, device, segment);              
  ops = fd->devices[device].descriptor->flash_ops;                    
#if RTEMS_FDISK_TRACE                                                 
  rtems_fdisk_printf (fd, "  seg-write: %02d-%03d: o=%08x s=%d",      
 200534c:	7f ff ff 85 	call  2005160 <rtems_fdisk_printf>             
 2005350:	92 12 63 28 	or  %o1, 0x328, %o1                            
                      device, segment, offset, size);                 
#endif                                                                
  ret = ops->write (sd, device, segment, offset, buffer, size);       
 2005354:	c2 04 60 04 	ld  [ %l1 + 4 ], %g1                           
 2005358:	90 10 00 18 	mov  %i0, %o0                                  
 200535c:	92 10 00 10 	mov  %l0, %o1                                  
 2005360:	94 10 00 1d 	mov  %i5, %o2                                  
 2005364:	96 10 00 1a 	mov  %i2, %o3                                  
 2005368:	98 10 00 1b 	mov  %i3, %o4                                  
 200536c:	9f c0 40 00 	call  %g1                                      
 2005370:	9a 10 00 1c 	mov  %i4, %o5                                  
  if (ret)                                                            
 2005374:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2005378:	02 80 00 03 	be  2005384 <rtems_fdisk_seg_write+0x90>       <== ALWAYS TAKEN
 200537c:	82 10 20 01 	mov  1, %g1                                    
    sc->failed = true;                                                
 2005380:	c2 26 60 28 	st  %g1, [ %i1 + 0x28 ]                        <== NOT EXECUTED
                                                                      
  return ret;                                                         
}                                                                     
 2005384:	81 c7 e0 08 	ret                                            
 2005388:	81 e8 00 00 	restore                                        
                                                                      

020053d0 <rtems_fdisk_seg_write_page>: static int rtems_fdisk_seg_write_page (rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc, uint32_t page, const void* buffer) {
 20053d0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
 20053d4:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 20053d8:	80 88 60 08 	btst  8, %g1                                   
 20053dc:	22 80 00 0f 	be,a   2005418 <rtems_fdisk_seg_write_page+0x48><== NEVER TAKEN
 20053e0:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== NOT EXECUTED
rtems_fdisk_seg_blank_check_page (const rtems_flashdisk*   fd,        
                                  rtems_fdisk_segment_ctl* sc,        
                                  uint32_t                 page)      
{                                                                     
  return rtems_fdisk_seg_blank_check (fd, sc,                         
                                      page * fd->block_size, fd->block_size);
 20053e4:	fa 06 20 14 	ld  [ %i0 + 0x14 ], %i5                        
static int                                                            
rtems_fdisk_seg_blank_check_page (const rtems_flashdisk*   fd,        
                                  rtems_fdisk_segment_ctl* sc,        
                                  uint32_t                 page)      
{                                                                     
  return rtems_fdisk_seg_blank_check (fd, sc,                         
 20053e8:	90 10 00 1a 	mov  %i2, %o0                                  
 20053ec:	7f ff f4 70 	call  20025ac <.umul>                          
 20053f0:	92 10 00 1d 	mov  %i5, %o1                                  
 20053f4:	92 10 00 19 	mov  %i1, %o1                                  
 20053f8:	94 10 00 08 	mov  %o0, %o2                                  
 20053fc:	96 10 00 1d 	mov  %i5, %o3                                  
 2005400:	7f ff ff 9c 	call  2005270 <rtems_fdisk_seg_blank_check>    
 2005404:	90 10 00 18 	mov  %i0, %o0                                  
                            const void*              buffer)          
{                                                                     
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
  {                                                                   
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
 2005408:	80 a2 20 00 	cmp  %o0, 0                                    
 200540c:	12 80 00 0b 	bne  2005438 <rtems_fdisk_seg_write_page+0x68> <== NEVER TAKEN
 2005410:	01 00 00 00 	nop                                            
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
 2005414:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
  return rtems_fdisk_seg_write (fd, sc,                               
                                page * fd->block_size, buffer, fd->block_size);
 2005418:	f8 06 20 14 	ld  [ %i0 + 0x14 ], %i4                        
  {                                                                   
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
 200541c:	82 00 7f ff 	add  %g1, -1, %g1                              
  return rtems_fdisk_seg_write (fd, sc,                               
 2005420:	90 10 00 1a 	mov  %i2, %o0                                  
  {                                                                   
    int ret = rtems_fdisk_seg_blank_check_page (fd, sc, page);        
    if (ret)                                                          
      return ret;                                                     
  }                                                                   
  --fd->erased_blocks;                                                
 2005424:	c2 26 20 28 	st  %g1, [ %i0 + 0x28 ]                        
  return rtems_fdisk_seg_write (fd, sc,                               
 2005428:	7f ff f4 61 	call  20025ac <.umul>                          
 200542c:	92 10 00 1c 	mov  %i4, %o1                                  
 2005430:	7f ff ff b1 	call  20052f4 <rtems_fdisk_seg_write>          
 2005434:	95 e8 00 08 	restore  %g0, %o0, %o2                         
                                page * fd->block_size, buffer, fd->block_size);
}                                                                     
 2005438:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200543c:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

0200538c <rtems_fdisk_seg_write_page_desc>: static int rtems_fdisk_seg_write_page_desc (const rtems_flashdisk* fd, rtems_fdisk_segment_ctl* sc, uint32_t page, const rtems_fdisk_page_desc* page_desc) {
 200538c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t offset = page * sizeof (rtems_fdisk_page_desc);            
  if ((fd->flags & RTEMS_FDISK_BLANK_CHECK_BEFORE_WRITE))             
 2005390:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2005394:	80 88 60 08 	btst  8, %g1                                   
 2005398:	02 80 00 0a 	be  20053c0 <rtems_fdisk_seg_write_page_desc+0x34><== NEVER TAKEN
 200539c:	b5 2e a0 03 	sll  %i2, 3, %i2                               
  {                                                                   
    int ret = rtems_fdisk_seg_blank_check (fd, sc,                    
 20053a0:	90 10 00 18 	mov  %i0, %o0                                  
 20053a4:	92 10 00 19 	mov  %i1, %o1                                  
 20053a8:	94 10 00 1a 	mov  %i2, %o2                                  
 20053ac:	7f ff ff b1 	call  2005270 <rtems_fdisk_seg_blank_check>    
 20053b0:	96 10 20 08 	mov  8, %o3                                    
                                           offset,                    
                                           sizeof (rtems_fdisk_page_desc));
    if (ret)                                                          
 20053b4:	80 a2 20 00 	cmp  %o0, 0                                    
 20053b8:	12 80 00 04 	bne  20053c8 <rtems_fdisk_seg_write_page_desc+0x3c><== NEVER TAKEN
 20053bc:	01 00 00 00 	nop                                            
      return ret;                                                     
  }                                                                   
  return rtems_fdisk_seg_write (fd, sc, offset,                       
 20053c0:	7f ff ff cd 	call  20052f4 <rtems_fdisk_seg_write>          
 20053c4:	99 e8 20 08 	restore  %g0, 8, %o4                           
                                page_desc, sizeof (rtems_fdisk_page_desc));
}                                                                     
 20053c8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20053cc:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

020056c0 <rtems_fdisk_segment_queue_insert_before>: static void rtems_fdisk_segment_queue_insert_before (rtems_fdisk_segment_ctl_queue* queue, rtems_fdisk_segment_ctl* item, rtems_fdisk_segment_ctl* sc) { if (item)
 20056c0:	80 a2 60 00 	cmp  %o1, 0                                    
 20056c4:	02 80 00 12 	be  200570c <rtems_fdisk_segment_queue_insert_before+0x4c><== NEVER TAKEN
 20056c8:	80 a2 a0 00 	cmp  %o2, 0                                    
  {                                                                   
    rtems_fdisk_segment_ctl** prev = &queue->head;                    
    rtems_fdisk_segment_ctl*  it = queue->head;                       
 20056cc:	c4 02 00 00 	ld  [ %o0 ], %g2                               
                                                                      
    while (it)                                                        
 20056d0:	80 a0 a0 00 	cmp  %g2, 0                                    
 20056d4:	02 80 00 0d 	be  2005708 <rtems_fdisk_segment_queue_insert_before+0x48><== NEVER TAKEN
 20056d8:	80 a2 40 02 	cmp  %o1, %g2                                  
    {                                                                 
      if (item == it)                                                 
 20056dc:	32 80 00 08 	bne,a   20056fc <rtems_fdisk_segment_queue_insert_before+0x3c>
 20056e0:	c2 00 80 00 	ld  [ %g2 ], %g1                               
                                         rtems_fdisk_segment_ctl*       item,
                                         rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (item)                                                           
  {                                                                   
    rtems_fdisk_segment_ctl** prev = &queue->head;                    
 20056e4:	10 80 00 18 	b  2005744 <rtems_fdisk_segment_queue_insert_before+0x84>
 20056e8:	84 10 00 08 	mov  %o0, %g2                                  
    rtems_fdisk_segment_ctl*  it = queue->head;                       
                                                                      
    while (it)                                                        
    {                                                                 
      if (item == it)                                                 
 20056ec:	22 80 00 17 	be,a   2005748 <rtems_fdisk_segment_queue_insert_before+0x88><== ALWAYS TAKEN
 20056f0:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
 20056f4:	84 10 00 01 	mov  %g1, %g2                                  <== NOT EXECUTED
        queue->count++;                                               
        return;                                                       
      }                                                               
                                                                      
      prev = &it->next;                                               
      it = it->next;                                                  
 20056f8:	c2 00 80 00 	ld  [ %g2 ], %g1                               <== NOT EXECUTED
  if (item)                                                           
  {                                                                   
    rtems_fdisk_segment_ctl** prev = &queue->head;                    
    rtems_fdisk_segment_ctl*  it = queue->head;                       
                                                                      
    while (it)                                                        
 20056fc:	80 a0 60 00 	cmp  %g1, 0                                    
 2005700:	12 bf ff fb 	bne  20056ec <rtems_fdisk_segment_queue_insert_before+0x2c><== ALWAYS TAKEN
 2005704:	80 a2 40 01 	cmp  %o1, %g1                                  
 */                                                                   
static void                                                           
rtems_fdisk_segment_queue_push_tail (rtems_fdisk_segment_ctl_queue* queue,
                                     rtems_fdisk_segment_ctl*       sc)
{                                                                     
  if (sc)                                                             
 2005708:	80 a2 a0 00 	cmp  %o2, 0                                    <== NOT EXECUTED
 200570c:	02 80 00 0c 	be  200573c <rtems_fdisk_segment_queue_insert_before+0x7c><== NOT EXECUTED
 2005710:	01 00 00 00 	nop                                            <== NOT EXECUTED
  {                                                                   
    sc->next = 0;                                                     
                                                                      
    if (queue->head)                                                  
 2005714:	c2 02 00 00 	ld  [ %o0 ], %g1                               <== NOT EXECUTED
 2005718:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200571c:	02 80 00 10 	be  200575c <rtems_fdisk_segment_queue_insert_before+0x9c><== NOT EXECUTED
 2005720:	c0 22 80 00 	clr  [ %o2 ]                                   <== NOT EXECUTED
    {                                                                 
      queue->tail->next = sc;                                         
 2005724:	c2 02 20 04 	ld  [ %o0 + 4 ], %g1                           <== NOT EXECUTED
 2005728:	d4 20 40 00 	st  %o2, [ %g1 ]                               <== NOT EXECUTED
      queue->tail       = sc;                                         
 200572c:	d4 22 20 04 	st  %o2, [ %o0 + 4 ]                           <== NOT EXECUTED
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
    }                                                                 
                                                                      
    queue->count++;                                                   
 2005730:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           <== NOT EXECUTED
 2005734:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2005738:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           <== NOT EXECUTED
 200573c:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2005740:	01 00 00 00 	nop                                            <== NOT EXECUTED
    {                                                                 
      if (item == it)                                                 
      {                                                               
        sc->next = item;                                              
        *prev = sc;                                                   
        queue->count++;                                               
 2005744:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
                                                                      
    while (it)                                                        
    {                                                                 
      if (item == it)                                                 
      {                                                               
        sc->next = item;                                              
 2005748:	d2 22 80 00 	st  %o1, [ %o2 ]                               
        *prev = sc;                                                   
 200574c:	d4 20 80 00 	st  %o2, [ %g2 ]                               
        queue->count++;                                               
 2005750:	82 00 60 01 	inc  %g1                                       
        return;                                                       
 2005754:	81 c3 e0 08 	retl                                           
 2005758:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
      queue->tail->next = sc;                                         
      queue->tail       = sc;                                         
    }                                                                 
    else                                                              
    {                                                                 
      queue->head = queue->tail = sc;                                 
 200575c:	d4 22 20 04 	st  %o2, [ %o0 + 4 ]                           <== NOT EXECUTED
 2005760:	10 bf ff f4 	b  2005730 <rtems_fdisk_segment_queue_insert_before+0x70><== NOT EXECUTED
 2005764:	d4 22 00 00 	st  %o2, [ %o0 ]                               <== NOT EXECUTED
                                                                      

02004edc <rtems_fdisk_segment_queue_remove>: static void rtems_fdisk_segment_queue_remove (rtems_fdisk_segment_ctl_queue* queue, rtems_fdisk_segment_ctl* sc) { rtems_fdisk_segment_ctl* prev = 0; rtems_fdisk_segment_ctl* it = queue->head;
 2004edc:	c4 02 00 00 	ld  [ %o0 ], %g2                               
                                                                      
  /*                                                                  
   * Do not change sc->next as sc could be on another queue.          
   */                                                                 
                                                                      
  while (it)                                                          
 2004ee0:	80 a0 a0 00 	cmp  %g2, 0                                    
 2004ee4:	02 80 00 0d 	be  2004f18 <rtems_fdisk_segment_queue_remove+0x3c>
 2004ee8:	80 a0 80 09 	cmp  %g2, %o1                                  
  {                                                                   
    if (sc == it)                                                     
 2004eec:	32 80 00 08 	bne,a   2004f0c <rtems_fdisk_segment_queue_remove+0x30>
 2004ef0:	c2 00 80 00 	ld  [ %g2 ], %g1                               
    {                                                                 
      if (prev == 0)                                                  
      {                                                               
        queue->head = sc->next;                                       
 2004ef4:	10 80 00 16 	b  2004f4c <rtems_fdisk_segment_queue_remove+0x70>
 2004ef8:	c2 02 40 00 	ld  [ %o1 ], %g1                               
   * Do not change sc->next as sc could be on another queue.          
   */                                                                 
                                                                      
  while (it)                                                          
  {                                                                   
    if (sc == it)                                                     
 2004efc:	22 80 00 09 	be,a   2004f20 <rtems_fdisk_segment_queue_remove+0x44>
 2004f00:	c6 02 40 00 	ld  [ %o1 ], %g3                               
 2004f04:	84 10 00 01 	mov  %g1, %g2                                  
      queue->count--;                                                 
      break;                                                          
    }                                                                 
                                                                      
    prev = it;                                                        
    it = it->next;                                                    
 2004f08:	c2 00 80 00 	ld  [ %g2 ], %g1                               
                                                                      
  /*                                                                  
   * Do not change sc->next as sc could be on another queue.          
   */                                                                 
                                                                      
  while (it)                                                          
 2004f0c:	80 a0 60 00 	cmp  %g1, 0                                    
 2004f10:	12 bf ff fb 	bne  2004efc <rtems_fdisk_segment_queue_remove+0x20>
 2004f14:	80 a2 40 01 	cmp  %o1, %g1                                  
 2004f18:	81 c3 e0 08 	retl                                           
 2004f1c:	01 00 00 00 	nop                                            
          queue->tail = 0;                                            
      }                                                               
      else                                                            
      {                                                               
        prev->next = sc->next;                                        
        if (queue->tail == sc)                                        
 2004f20:	c2 02 20 04 	ld  [ %o0 + 4 ], %g1                           
 2004f24:	80 a0 40 09 	cmp  %g1, %o1                                  
 2004f28:	02 80 00 07 	be  2004f44 <rtems_fdisk_segment_queue_remove+0x68><== ALWAYS TAKEN
 2004f2c:	c6 20 80 00 	st  %g3, [ %g2 ]                               
          queue->tail = prev;                                         
      }                                                               
      sc->next = 0;                                                   
      queue->count--;                                                 
 2004f30:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
      {                                                               
        prev->next = sc->next;                                        
        if (queue->tail == sc)                                        
          queue->tail = prev;                                         
      }                                                               
      sc->next = 0;                                                   
 2004f34:	c0 22 40 00 	clr  [ %o1 ]                                   
      queue->count--;                                                 
 2004f38:	82 00 7f ff 	add  %g1, -1, %g1                              
      break;                                                          
 2004f3c:	81 c3 e0 08 	retl                                           
 2004f40:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
      }                                                               
      else                                                            
      {                                                               
        prev->next = sc->next;                                        
        if (queue->tail == sc)                                        
          queue->tail = prev;                                         
 2004f44:	10 bf ff fb 	b  2004f30 <rtems_fdisk_segment_queue_remove+0x54>
 2004f48:	c4 22 20 04 	st  %g2, [ %o0 + 4 ]                           
    if (sc == it)                                                     
    {                                                                 
      if (prev == 0)                                                  
      {                                                               
        queue->head = sc->next;                                       
        if (queue->head == 0)                                         
 2004f4c:	80 a0 60 00 	cmp  %g1, 0                                    
 2004f50:	12 bf ff f8 	bne  2004f30 <rtems_fdisk_segment_queue_remove+0x54>
 2004f54:	c2 22 00 00 	st  %g1, [ %o0 ]                               
          queue->tail = 0;                                            
 2004f58:	10 bf ff f6 	b  2004f30 <rtems_fdisk_segment_queue_remove+0x54>
 2004f5c:	c0 22 20 04 	clr  [ %o0 + 4 ]                               
                                                                      

02005440 <rtems_fdisk_warning>: * @param ... The arguments for the format text. * @return int The number of bytes written to the output. */ static int rtems_fdisk_warning (const rtems_flashdisk* fd, const char *format, ...) {
 2005440:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  int ret = 0;                                                        
  if (fd->info_level >= 1)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
 2005444:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        <== NOT EXECUTED
 2005448:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        <== NOT EXECUTED
 200544c:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        <== NOT EXECUTED
 2005450:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_fdisk_warning (const rtems_flashdisk* fd, const char *format, ...)
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 1)                                            
 2005454:	c2 06 20 6c 	ld  [ %i0 + 0x6c ], %g1                        <== NOT EXECUTED
 2005458:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 200545c:	02 80 00 19 	be  20054c0 <rtems_fdisk_warning+0x80>         <== NOT EXECUTED
 2005460:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:warning:");                               
 2005464:	3b 00 80 e2 	sethi  %hi(0x2038800), %i5                     <== NOT EXECUTED
 2005468:	c2 07 62 10 	ld  [ %i5 + 0x210 ], %g1	! 2038a10 <_impure_ptr><== NOT EXECUTED
 200546c:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 2005470:	d6 00 60 08 	ld  [ %g1 + 8 ], %o3                           <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 1)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
 2005474:	82 07 a0 4c 	add  %fp, 0x4c, %g1                            <== NOT EXECUTED
    fprintf (stdout, "fdisk:warning:");                               
 2005478:	94 10 20 0e 	mov  0xe, %o2                                  <== NOT EXECUTED
{                                                                     
  int ret = 0;                                                        
  if (fd->info_level >= 1)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
 200547c:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
    fprintf (stdout, "fdisk:warning:");                               
 2005480:	11 00 80 cd 	sethi  %hi(0x2033400), %o0                     <== NOT EXECUTED
 2005484:	40 00 7b f5 	call  2024458 <fwrite>                         <== NOT EXECUTED
 2005488:	90 12 23 50 	or  %o0, 0x350, %o0	! 2033750 <__FUNCTION__.7063+0x5e0><== NOT EXECUTED
    ret =  vfprintf (stdout, format, args);                           
 200548c:	c2 07 62 10 	ld  [ %i5 + 0x210 ], %g1                       <== NOT EXECUTED
 2005490:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 2005494:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
 2005498:	40 00 9c 95 	call  202c6ec <vfprintf>                       <== NOT EXECUTED
 200549c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
    fprintf (stdout, "\n");                                           
 20054a0:	c2 07 62 10 	ld  [ %i5 + 0x210 ], %g1                       <== NOT EXECUTED
  if (fd->info_level >= 1)                                            
  {                                                                   
    va_list args;                                                     
    va_start (args, format);                                          
    fprintf (stdout, "fdisk:warning:");                               
    ret =  vfprintf (stdout, format, args);                           
 20054a4:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
    fprintf (stdout, "\n");                                           
 20054a8:	d2 00 60 08 	ld  [ %g1 + 8 ], %o1                           <== NOT EXECUTED
 20054ac:	40 00 7a 0a 	call  2023cd4 <fputc>                          <== NOT EXECUTED
 20054b0:	90 10 20 0a 	mov  0xa, %o0                                  <== NOT EXECUTED
    fflush (stdout);                                                  
 20054b4:	c2 07 62 10 	ld  [ %i5 + 0x210 ], %g1                       <== NOT EXECUTED
 20054b8:	40 00 78 f9 	call  202389c <fflush>                         <== NOT EXECUTED
 20054bc:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
    va_end (args);                                                    
  }                                                                   
  return ret;                                                         
}                                                                     
 20054c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20054c4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200cdc8 <rtems_filesystem_check_access>: int eval_flags, mode_t node_mode, uid_t node_uid, gid_t node_gid ) {
 200cdc8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  mode_t perm_flags = eval_flags & RTEMS_FS_PERMS_RWX;                
  uid_t task_uid = geteuid();                                         
 200cdcc:	7f ff fe fa 	call  200c9b4 <geteuid>                        
 200cdd0:	b0 0e 20 07 	and  %i0, 7, %i0                               
                                                                      
  if (task_uid == 0 || task_uid == node_uid) {                        
 200cdd4:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 200cdd8:	91 32 20 10 	srl  %o0, 0x10, %o0                            
 200cddc:	80 a2 00 1a 	cmp  %o0, %i2                                  
 200cde0:	12 80 00 08 	bne  200ce00 <rtems_filesystem_check_access+0x38>
 200cde4:	80 a2 20 00 	cmp  %o0, 0                                    
    perm_flags <<= RTEMS_FS_USR_SHIFT;                                
 200cde8:	b1 2e 20 06 	sll  %i0, 6, %i0                               
    } else {                                                          
      perm_flags <<= RTEMS_FS_OTH_SHIFT;                              
    }                                                                 
  }                                                                   
                                                                      
  return (perm_flags & node_mode) == perm_flags;                      
 200cdec:	b0 2e 00 19 	andn  %i0, %i1, %i0                            
}                                                                     
 200cdf0:	80 a0 00 18 	cmp  %g0, %i0                                  
 200cdf4:	b0 60 3f ff 	subx  %g0, -1, %i0                             
 200cdf8:	81 c7 e0 08 	ret                                            
 200cdfc:	81 e8 00 00 	restore                                        
)                                                                     
{                                                                     
  mode_t perm_flags = eval_flags & RTEMS_FS_PERMS_RWX;                
  uid_t task_uid = geteuid();                                         
                                                                      
  if (task_uid == 0 || task_uid == node_uid) {                        
 200ce00:	22 bf ff fb 	be,a   200cdec <rtems_filesystem_check_access+0x24>
 200ce04:	b1 2e 20 06 	sll  %i0, 6, %i0                               
    perm_flags <<= RTEMS_FS_USR_SHIFT;                                
  } else {                                                            
    gid_t task_gid = getegid();                                       
 200ce08:	7f ff fe e7 	call  200c9a4 <getegid>                        
 200ce0c:	01 00 00 00 	nop                                            
                                                                      
    if (task_gid == 0 || task_gid == node_gid) {                      
 200ce10:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 200ce14:	91 32 20 10 	srl  %o0, 0x10, %o0                            
 200ce18:	80 a2 00 1b 	cmp  %o0, %i3                                  
 200ce1c:	12 80 00 08 	bne  200ce3c <rtems_filesystem_check_access+0x74>
 200ce20:	80 a2 20 00 	cmp  %o0, 0                                    
      perm_flags <<= RTEMS_FS_GRP_SHIFT;                              
 200ce24:	b1 2e 20 03 	sll  %i0, 3, %i0                               
    } else {                                                          
      perm_flags <<= RTEMS_FS_OTH_SHIFT;                              
    }                                                                 
  }                                                                   
                                                                      
  return (perm_flags & node_mode) == perm_flags;                      
 200ce28:	b0 2e 00 19 	andn  %i0, %i1, %i0                            
}                                                                     
 200ce2c:	80 a0 00 18 	cmp  %g0, %i0                                  
 200ce30:	b0 60 3f ff 	subx  %g0, -1, %i0                             
 200ce34:	81 c7 e0 08 	ret                                            
 200ce38:	81 e8 00 00 	restore                                        
  if (task_uid == 0 || task_uid == node_uid) {                        
    perm_flags <<= RTEMS_FS_USR_SHIFT;                                
  } else {                                                            
    gid_t task_gid = getegid();                                       
                                                                      
    if (task_gid == 0 || task_gid == node_gid) {                      
 200ce3c:	32 bf ff ed 	bne,a   200cdf0 <rtems_filesystem_check_access+0x28><== ALWAYS TAKEN
 200ce40:	b0 2e 00 19 	andn  %i0, %i1, %i0                            
      perm_flags <<= RTEMS_FS_GRP_SHIFT;                              
 200ce44:	10 bf ff f9 	b  200ce28 <rtems_filesystem_check_access+0x60><== NOT EXECUTED
 200ce48:	b1 2e 20 03 	sll  %i0, 3, %i0                               <== NOT EXECUTED
                                                                      

02004f90 <rtems_filesystem_do_unmount>: } void rtems_filesystem_do_unmount( rtems_filesystem_mount_table_entry_t *mt_entry ) {
 2004f90:	9d e3 bf a0 	save  %sp, -96, %sp                            
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
 2004f94:	3b 00 80 79 	sethi  %hi(0x201e400), %i5                     
 2004f98:	d0 07 63 20 	ld  [ %i5 + 0x320 ], %o0	! 201e720 <rtems_libio_semaphore>
 2004f9c:	92 10 20 00 	clr  %o1                                       
 2004fa0:	40 00 0b 80 	call  2007da0 <rtems_semaphore_obtain>         
 2004fa4:	94 10 20 00 	clr  %o2                                       
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 2004fa8:	c4 06 00 00 	ld  [ %i0 ], %g2                               
  previous       = the_node->previous;                                
 2004fac:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 2004fb0:	d0 07 63 20 	ld  [ %i5 + 0x320 ], %o0                       
  next->previous = previous;                                          
 2004fb4:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
 2004fb8:	40 00 0b ca 	call  2007ee0 <rtems_semaphore_release>        
 2004fbc:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  rtems_filesystem_mt_lock();                                         
  rtems_chain_extract_unprotected(&mt_entry->mt_node);                
  rtems_filesystem_mt_unlock();                                       
  rtems_filesystem_global_location_release(mt_entry->mt_point_node);  
 2004fc0:	40 00 00 6d 	call  2005174 <rtems_filesystem_global_location_release>
 2004fc4:	d0 06 20 20 	ld  [ %i0 + 0x20 ], %o0                        
  (*mt_entry->ops->fsunmount_me_h)(mt_entry);                         
 2004fc8:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2004fcc:	c2 00 60 3c 	ld  [ %g1 + 0x3c ], %g1                        
 2004fd0:	9f c0 40 00 	call  %g1                                      
 2004fd4:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  if (mt_entry->unmount_task != 0) {                                  
 2004fd8:	d0 06 20 3c 	ld  [ %i0 + 0x3c ], %o0                        
 2004fdc:	80 a2 20 00 	cmp  %o0, 0                                    
 2004fe0:	02 80 00 07 	be  2004ffc <rtems_filesystem_do_unmount+0x6c> <== NEVER TAKEN
 2004fe4:	01 00 00 00 	nop                                            
    rtems_status_code sc =                                            
 2004fe8:	40 00 0a 2b 	call  2007894 <rtems_event_send>               
 2004fec:	92 10 20 02 	mov  2, %o1	! 2 <PROM_START+0x2>               
      rtems_event_send(mt_entry->unmount_task, RTEMS_FILESYSTEM_UNMOUNT_EVENT);
    if (sc != RTEMS_SUCCESSFUL) {                                     
 2004ff0:	80 a2 20 00 	cmp  %o0, 0                                    
 2004ff4:	32 80 00 04 	bne,a   2005004 <rtems_filesystem_do_unmount+0x74><== NEVER TAKEN
 2004ff8:	11 37 ab 6f 	sethi  %hi(0xdeadbc00), %o0                    <== NOT EXECUTED
      rtems_fatal_error_occurred(0xdeadbeef);                         
    }                                                                 
  }                                                                   
                                                                      
  free(mt_entry);                                                     
 2004ffc:	7f ff fa 3a 	call  20038e4 <free>                           
 2005000:	81 e8 00 00 	restore                                        
                                                                      
  if (mt_entry->unmount_task != 0) {                                  
    rtems_status_code sc =                                            
      rtems_event_send(mt_entry->unmount_task, RTEMS_FILESYSTEM_UNMOUNT_EVENT);
    if (sc != RTEMS_SUCCESSFUL) {                                     
      rtems_fatal_error_occurred(0xdeadbeef);                         
 2005004:	40 00 0d 34 	call  20084d4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2005008:	90 12 22 ef 	or  %o0, 0x2ef, %o0                            <== NOT EXECUTED
                                                                      

0200d078 <rtems_filesystem_eval_path_eat_delimiter>: void rtems_filesystem_eval_path_eat_delimiter( rtems_filesystem_eval_path_context_t *ctx ) { const char *current = ctx->path;
 200d078:	c2 02 00 00 	ld  [ %o0 ], %g1                               
  const char *end = current + ctx->pathlen;                           
 200d07c:	c6 02 20 04 	ld  [ %o0 + 4 ], %g3                           
 200d080:	86 00 40 03 	add  %g1, %g3, %g3                             
                                                                      
  while (current != end && rtems_filesystem_is_delimiter(*current)) { 
 200d084:	80 a0 40 03 	cmp  %g1, %g3                                  
 200d088:	32 80 00 08 	bne,a   200d0a8 <rtems_filesystem_eval_path_eat_delimiter+0x30><== ALWAYS TAKEN
 200d08c:	c4 48 40 00 	ldsb  [ %g1 ], %g2                             
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
 200d090:	10 80 00 0d 	b  200d0c4 <rtems_filesystem_eval_path_eat_delimiter+0x4c><== NOT EXECUTED
 200d094:	86 20 c0 01 	sub  %g3, %g1, %g3                             <== NOT EXECUTED
)                                                                     
{                                                                     
  const char *current = ctx->path;                                    
  const char *end = current + ctx->pathlen;                           
                                                                      
  while (current != end && rtems_filesystem_is_delimiter(*current)) { 
 200d098:	80 a0 c0 01 	cmp  %g3, %g1                                  
 200d09c:	22 80 00 0a 	be,a   200d0c4 <rtems_filesystem_eval_path_eat_delimiter+0x4c>
 200d0a0:	86 20 c0 01 	sub  %g3, %g1, %g3                             
  gid_t node_gid                                                      
);                                                                    
                                                                      
static inline bool rtems_filesystem_is_delimiter(char c)              
{                                                                     
  return c == '/' || c == '\\';                                       
 200d0a4:	c4 48 40 00 	ldsb  [ %g1 ], %g2                             
 200d0a8:	80 a0 a0 5c 	cmp  %g2, 0x5c                                 
 200d0ac:	22 bf ff fb 	be,a   200d098 <rtems_filesystem_eval_path_eat_delimiter+0x20>
 200d0b0:	82 00 60 01 	inc  %g1                                       
 200d0b4:	80 a0 a0 2f 	cmp  %g2, 0x2f                                 
 200d0b8:	22 bf ff f8 	be,a   200d098 <rtems_filesystem_eval_path_eat_delimiter+0x20>
 200d0bc:	82 00 60 01 	inc  %g1                                       
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
 200d0c0:	86 20 c0 01 	sub  %g3, %g1, %g3                             
                                                                      
  while (current != end && rtems_filesystem_is_delimiter(*current)) { 
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
 200d0c4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  ctx->pathlen = (size_t) (end - current);                            
 200d0c8:	81 c3 e0 08 	retl                                           
 200d0cc:	c6 22 20 04 	st  %g3, [ %o0 + 4 ]                           
                                                                      

0200ce80 <rtems_filesystem_eval_path_generic>: void rtems_filesystem_eval_path_generic( rtems_filesystem_eval_path_context_t *ctx, void *arg, const rtems_filesystem_eval_path_generic_config *config ) {
 200ce80:	9d e3 bf a0 	save  %sp, -96, %sp                            
            } else {                                                  
              /* This is the root file system */                      
              status = (*config->eval_token)(ctx, arg, ".", 1);       
            }                                                         
          } else {                                                    
            status = (*config->eval_token)(ctx, arg, "..", 2);        
 200ce84:	03 00 80 72 	sethi  %hi(0x201c800), %g1                     
              rtems_filesystem_eval_path_error(ctx, EINVAL);          
              status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;       
            }                                                         
          }                                                           
        } else if (rtems_filesystem_is_parent_directory(token, tokenlen)) {
          rtems_filesystem_location_info_t *currentloc =              
 200ce88:	b6 06 20 18 	add  %i0, 0x18, %i3                            
            } else {                                                  
              /* This is the root file system */                      
              status = (*config->eval_token)(ctx, arg, ".", 1);       
            }                                                         
          } else {                                                    
            status = (*config->eval_token)(ctx, arg, "..", 2);        
 200ce8c:	a2 10 61 c0 	or  %g1, 0x1c0, %l1                            
                ¤tloc->mt_entry->mt_point_node                  
              );                                                      
              status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;       
            } else {                                                  
              /* This is the root file system */                      
              status = (*config->eval_token)(ctx, arg, ".", 1);       
 200ce90:	03 00 80 71 	sethi  %hi(0x201c400), %g1                     
 200ce94:	a0 10 61 28 	or  %g1, 0x128, %l0	! 201c528 <rtems_filesystem_default_pathconf+0x4c>
  rtems_filesystem_eval_path_context_t *ctx,                          
  const char **token,                                                 
  size_t *tokenlen                                                    
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_next_token(ctx);                         
 200ce98:	40 00 00 8e 	call  200d0d0 <rtems_filesystem_eval_path_next_token>
 200ce9c:	90 10 00 18 	mov  %i0, %o0                                  
  *token = ctx->token;                                                
  *tokenlen = ctx->tokenlen;                                          
 200cea0:	fa 06 20 0c 	ld  [ %i0 + 0xc ], %i5                         
    const char *token;                                                
    size_t tokenlen;                                                  
                                                                      
    rtems_filesystem_eval_path_get_next_token(ctx, &token, &tokenlen);
                                                                      
    if (tokenlen > 0) {                                               
 200cea4:	80 a7 60 00 	cmp  %i5, 0                                    
 200cea8:	02 80 00 18 	be  200cf08 <rtems_filesystem_eval_path_generic+0x88>
 200ceac:	f8 06 20 08 	ld  [ %i0 + 8 ], %i4                           
      if ((*config->is_directory)(ctx, arg)) {                        
 200ceb0:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 200ceb4:	90 10 00 18 	mov  %i0, %o0                                  
 200ceb8:	9f c0 40 00 	call  %g1                                      
 200cebc:	92 10 00 19 	mov  %i1, %o1                                  
 200cec0:	80 8a 20 ff 	btst  0xff, %o0                                
 200cec4:	02 80 00 13 	be  200cf10 <rtems_filesystem_eval_path_generic+0x90>
 200cec8:	80 a7 60 01 	cmp  %i5, 1                                    
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
 200cecc:	02 80 00 23 	be  200cf58 <rtems_filesystem_eval_path_generic+0xd8>
 200ced0:	80 a7 60 02 	cmp  %i5, 2                                    
static inline bool rtems_filesystem_is_parent_directory(              
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 2 && token [0] == '.' && token [1] == '.';       
 200ced4:	22 80 00 2f 	be,a   200cf90 <rtems_filesystem_eval_path_generic+0x110>
 200ced8:	c2 4f 00 00 	ldsb  [ %i4 ], %g1                             
            }                                                         
          } else {                                                    
            status = (*config->eval_token)(ctx, arg, "..", 2);        
          }                                                           
        } else {                                                      
          status = (*config->eval_token)(ctx, arg, token, tokenlen);  
 200cedc:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 200cee0:	90 10 00 18 	mov  %i0, %o0                                  
 200cee4:	92 10 00 19 	mov  %i1, %o1                                  
 200cee8:	94 10 00 1c 	mov  %i4, %o2                                  
 200ceec:	9f c0 40 00 	call  %g1                                      
 200cef0:	96 10 00 1d 	mov  %i5, %o3                                  
        }                                                             
                                                                      
        if (status == RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY) {  
 200cef4:	80 a2 20 02 	cmp  %o0, 2                                    
 200cef8:	02 80 00 08 	be  200cf18 <rtems_filesystem_eval_path_generic+0x98>
 200cefc:	80 a2 20 00 	cmp  %o0, 0                                    
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
    RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;                      
                                                                      
  while (status == RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE) {     
 200cf00:	02 bf ff e6 	be  200ce98 <rtems_filesystem_eval_path_generic+0x18>
 200cf04:	01 00 00 00 	nop                                            
 200cf08:	81 c7 e0 08 	ret                                            
 200cf0c:	81 e8 00 00 	restore                                        
              rtems_filesystem_eval_path_error(ctx, ENOENT);          
            }                                                         
          }                                                           
        }                                                             
      } else {                                                        
        rtems_filesystem_eval_path_error(ctx, ENOTDIR);               
 200cf10:	7f ff de af 	call  20049cc <rtems_filesystem_eval_path_error>
 200cf14:	93 e8 20 14 	restore  %g0, 0x14, %o1                        
        } else {                                                      
          status = (*config->eval_token)(ctx, arg, token, tokenlen);  
        }                                                             
                                                                      
        if (status == RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY) {  
          if (rtems_filesystem_eval_path_has_path(ctx)) {             
 200cf18:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200cf1c:	80 a0 60 00 	cmp  %g1, 0                                    
 200cf20:	02 bf ff fa 	be  200cf08 <rtems_filesystem_eval_path_generic+0x88>
 200cf24:	01 00 00 00 	nop                                            
            int eval_flags;                                           
                                                                      
            rtems_filesystem_eval_path_eat_delimiter(ctx);            
 200cf28:	40 00 00 54 	call  200d078 <rtems_filesystem_eval_path_eat_delimiter>
 200cf2c:	90 10 00 18 	mov  %i0, %o0                                  
            eval_flags = rtems_filesystem_eval_path_get_flags(ctx);   
            if (                                                      
              (eval_flags & RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS) == 0 
 200cf30:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
          if (rtems_filesystem_eval_path_has_path(ctx)) {             
            int eval_flags;                                           
                                                                      
            rtems_filesystem_eval_path_eat_delimiter(ctx);            
            eval_flags = rtems_filesystem_eval_path_get_flags(ctx);   
            if (                                                      
 200cf34:	80 88 60 80 	btst  0x80, %g1                                
 200cf38:	02 80 00 06 	be  200cf50 <rtems_filesystem_eval_path_generic+0xd0>
 200cf3c:	01 00 00 00 	nop                                            
              (eval_flags & RTEMS_FS_ACCEPT_RESIDUAL_DELIMITERS) == 0 
                || rtems_filesystem_eval_path_has_path(ctx)           
 200cf40:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200cf44:	80 a0 60 00 	cmp  %g1, 0                                    
 200cf48:	02 bf ff f0 	be  200cf08 <rtems_filesystem_eval_path_generic+0x88>
 200cf4c:	01 00 00 00 	nop                                            
            ) {                                                       
              rtems_filesystem_eval_path_error(ctx, ENOENT);          
 200cf50:	7f ff de 9f 	call  20049cc <rtems_filesystem_eval_path_error>
 200cf54:	93 e8 20 02 	restore  %g0, 2, %o1                           
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
 200cf58:	c2 4f 00 00 	ldsb  [ %i4 ], %g1                             
 200cf5c:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 200cf60:	32 bf ff e0 	bne,a   200cee0 <rtems_filesystem_eval_path_generic+0x60>
 200cf64:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
    rtems_filesystem_eval_path_get_next_token(ctx, &token, &tokenlen);
                                                                      
    if (tokenlen > 0) {                                               
      if ((*config->is_directory)(ctx, arg)) {                        
        if (rtems_filesystem_is_current_directory(token, tokenlen)) { 
          if (rtems_filesystem_eval_path_has_path(ctx)) {             
 200cf68:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 200cf6c:	80 a0 60 00 	cmp  %g1, 0                                    
 200cf70:	32 80 00 2c 	bne,a   200d020 <rtems_filesystem_eval_path_generic+0x1a0>
 200cf74:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
            status = (*config->eval_token)(ctx, arg, ".", 1);         
          } else {                                                    
            int eval_flags = rtems_filesystem_eval_path_get_flags(ctx);
                                                                      
            if ((eval_flags & RTEMS_FS_REJECT_TERMINAL_DOT) == 0) {   
 200cf78:	c4 06 20 10 	ld  [ %i0 + 0x10 ], %g2                        
 200cf7c:	80 88 a1 00 	btst  0x100, %g2                               
 200cf80:	22 80 00 28 	be,a   200d020 <rtems_filesystem_eval_path_generic+0x1a0>
 200cf84:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
              status = (*config->eval_token)(ctx, arg, ".", 1);       
            } else {                                                  
              rtems_filesystem_eval_path_error(ctx, EINVAL);          
 200cf88:	7f ff de 91 	call  20049cc <rtems_filesystem_eval_path_error>
 200cf8c:	93 e8 20 16 	restore  %g0, 0x16, %o1                        
static inline bool rtems_filesystem_is_parent_directory(              
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 2 && token [0] == '.' && token [1] == '.';       
 200cf90:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 200cf94:	32 bf ff d3 	bne,a   200cee0 <rtems_filesystem_eval_path_generic+0x60>
 200cf98:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 200cf9c:	c2 4f 20 01 	ldsb  [ %i4 + 1 ], %g1                         
 200cfa0:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 200cfa4:	32 bf ff cf 	bne,a   200cee0 <rtems_filesystem_eval_path_generic+0x60><== NEVER TAKEN
 200cfa8:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           <== NOT EXECUTED
  const rtems_filesystem_eval_path_context_t *ctx,                    
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
  const rtems_filesystem_location_info_t *rootloc = &ctx->rootloc->location;
 200cfac:	d2 06 20 30 	ld  [ %i0 + 0x30 ], %o1                        
static bool is_eval_path_root(                                        
  const rtems_filesystem_eval_path_context_t *ctx,                    
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
 200cfb0:	c4 06 20 2c 	ld  [ %i0 + 0x2c ], %g2                        
  const rtems_filesystem_location_info_t *rootloc = &ctx->rootloc->location;
                                                                      
  return mt_entry == rootloc->mt_entry                                
    && (*mt_entry->ops->are_nodes_equal_h)( loc, rootloc );           
 200cfb4:	c2 02 60 14 	ld  [ %o1 + 0x14 ], %g1                        
 200cfb8:	80 a0 80 01 	cmp  %g2, %g1                                  
 200cfbc:	22 80 00 27 	be,a   200d058 <rtems_filesystem_eval_path_generic+0x1d8>
 200cfc0:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
  const rtems_filesystem_location_info_t *mt_fs_root =                
    &mt_entry->mt_fs_root->location;                                  
                                                                      
  return (*mt_entry->ops->are_nodes_equal_h)( loc, mt_fs_root );      
 200cfc4:	c2 00 a0 0c 	ld  [ %g2 + 0xc ], %g1                         
 200cfc8:	d2 00 a0 24 	ld  [ %g2 + 0x24 ], %o1                        
 200cfcc:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 200cfd0:	9f c0 40 00 	call  %g1                                      
 200cfd4:	90 10 00 1b 	mov  %i3, %o0                                  
            rtems_filesystem_eval_path_get_currentloc( ctx );         
                                                                      
          if (is_eval_path_root(ctx, currentloc)) {                   
            /* This prevents the escape from a chroot() environment */
            status = (*config->eval_token)(ctx, arg, ".", 1);         
          } else if (is_fs_root(currentloc)) {                        
 200cfd8:	80 8a 20 ff 	btst  0xff, %o0                                
 200cfdc:	22 80 00 18 	be,a   200d03c <rtems_filesystem_eval_path_generic+0x1bc>
 200cfe0:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
            if (currentloc->mt_entry->mt_point_node != NULL) {        
 200cfe4:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
 200cfe8:	c4 00 60 20 	ld  [ %g1 + 0x20 ], %g2                        
 200cfec:	80 a0 a0 00 	cmp  %g2, 0                                    
 200cff0:	22 80 00 0c 	be,a   200d020 <rtems_filesystem_eval_path_generic+0x1a0><== NEVER TAKEN
 200cff4:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           <== NOT EXECUTED
                                                                      
static inline void rtems_filesystem_eval_path_put_back_token(         
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  size_t tokenlen = ctx->tokenlen;                                    
 200cff8:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         
                                                                      
  ctx->path -= tokenlen;                                              
 200cffc:	c6 06 00 00 	ld  [ %i0 ], %g3                               
  ctx->pathlen += tokenlen;                                           
 200d000:	c8 06 20 04 	ld  [ %i0 + 4 ], %g4                           
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  size_t tokenlen = ctx->tokenlen;                                    
                                                                      
  ctx->path -= tokenlen;                                              
 200d004:	86 20 c0 02 	sub  %g3, %g2, %g3                             
  ctx->pathlen += tokenlen;                                           
  ctx->tokenlen = 0;                                                  
 200d008:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
)                                                                     
{                                                                     
  size_t tokenlen = ctx->tokenlen;                                    
                                                                      
  ctx->path -= tokenlen;                                              
  ctx->pathlen += tokenlen;                                           
 200d00c:	84 01 00 02 	add  %g4, %g2, %g2                             
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  size_t tokenlen = ctx->tokenlen;                                    
                                                                      
  ctx->path -= tokenlen;                                              
 200d010:	c6 26 00 00 	st  %g3, [ %i0 ]                               
  ctx->pathlen += tokenlen;                                           
 200d014:	c4 26 20 04 	st  %g2, [ %i0 + 4 ]                           
              rtems_filesystem_eval_path_put_back_token(ctx);         
              rtems_filesystem_eval_path_restart(                     
 200d018:	7f ff df 7c 	call  2004e08 <rtems_filesystem_eval_path_restart>
 200d01c:	93 e8 60 20 	restore  %g1, 0x20, %o1                        
          rtems_filesystem_location_info_t *currentloc =              
            rtems_filesystem_eval_path_get_currentloc( ctx );         
                                                                      
          if (is_eval_path_root(ctx, currentloc)) {                   
            /* This prevents the escape from a chroot() environment */
            status = (*config->eval_token)(ctx, arg, ".", 1);         
 200d020:	90 10 00 18 	mov  %i0, %o0                                  
 200d024:	92 10 00 19 	mov  %i1, %o1                                  
 200d028:	94 10 00 10 	mov  %l0, %o2                                  
 200d02c:	9f c0 40 00 	call  %g1                                      
 200d030:	96 10 20 01 	mov  1, %o3                                    
          }                                                           
        } else {                                                      
          status = (*config->eval_token)(ctx, arg, token, tokenlen);  
        }                                                             
                                                                      
        if (status == RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY) {  
 200d034:	10 bf ff b1 	b  200cef8 <rtems_filesystem_eval_path_generic+0x78>
 200d038:	80 a2 20 02 	cmp  %o0, 2                                    
            } else {                                                  
              /* This is the root file system */                      
              status = (*config->eval_token)(ctx, arg, ".", 1);       
            }                                                         
          } else {                                                    
            status = (*config->eval_token)(ctx, arg, "..", 2);        
 200d03c:	90 10 00 18 	mov  %i0, %o0                                  
 200d040:	92 10 00 19 	mov  %i1, %o1                                  
 200d044:	94 10 00 11 	mov  %l1, %o2                                  
 200d048:	9f c0 40 00 	call  %g1                                      
 200d04c:	96 10 20 02 	mov  2, %o3                                    
          }                                                           
        } else {                                                      
          status = (*config->eval_token)(ctx, arg, token, tokenlen);  
        }                                                             
                                                                      
        if (status == RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY) {  
 200d050:	10 bf ff aa 	b  200cef8 <rtems_filesystem_eval_path_generic+0x78>
 200d054:	80 a2 20 02 	cmp  %o0, 2                                    
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
  const rtems_filesystem_location_info_t *rootloc = &ctx->rootloc->location;
                                                                      
  return mt_entry == rootloc->mt_entry                                
    && (*mt_entry->ops->are_nodes_equal_h)( loc, rootloc );           
 200d058:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 200d05c:	9f c0 40 00 	call  %g1                                      
 200d060:	90 10 00 1b 	mov  %i3, %o0                                  
 200d064:	80 8a 20 ff 	btst  0xff, %o0                                
 200d068:	32 bf ff ee 	bne,a   200d020 <rtems_filesystem_eval_path_generic+0x1a0>
 200d06c:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 200d070:	10 bf ff d5 	b  200cfc4 <rtems_filesystem_eval_path_generic+0x144>
 200d074:	c4 06 20 2c 	ld  [ %i0 + 0x2c ], %g2                        
                                                                      

0200d0d0 <rtems_filesystem_eval_path_next_token>: void rtems_filesystem_eval_path_eat_delimiter( rtems_filesystem_eval_path_context_t *ctx ) { const char *current = ctx->path;
 200d0d0:	c2 02 00 00 	ld  [ %o0 ], %g1                               
  const char *end = current + ctx->pathlen;                           
 200d0d4:	c8 02 20 04 	ld  [ %o0 + 4 ], %g4                           
 200d0d8:	88 00 40 04 	add  %g1, %g4, %g4                             
                                                                      
  while (current != end && rtems_filesystem_is_delimiter(*current)) { 
 200d0dc:	80 a0 40 04 	cmp  %g1, %g4                                  
 200d0e0:	22 80 00 10 	be,a   200d120 <rtems_filesystem_eval_path_next_token+0x50>
 200d0e4:	88 21 00 01 	sub  %g4, %g1, %g4                             
 200d0e8:	c4 48 40 00 	ldsb  [ %g1 ], %g2                             
 200d0ec:	80 a0 a0 2f 	cmp  %g2, 0x2f                                 
 200d0f0:	22 80 00 08 	be,a   200d110 <rtems_filesystem_eval_path_next_token+0x40>
 200d0f4:	82 00 60 01 	inc  %g1                                       
 200d0f8:	10 80 00 38 	b  200d1d8 <rtems_filesystem_eval_path_next_token+0x108>
 200d0fc:	80 a0 a0 5c 	cmp  %g2, 0x5c                                 
 200d100:	80 a0 a0 5c 	cmp  %g2, 0x5c                                 
 200d104:	12 80 00 26 	bne  200d19c <rtems_filesystem_eval_path_next_token+0xcc>
 200d108:	80 a0 a0 2f 	cmp  %g2, 0x2f                                 
    ++current;                                                        
 200d10c:	82 00 60 01 	inc  %g1                                       
)                                                                     
{                                                                     
  const char *current = ctx->path;                                    
  const char *end = current + ctx->pathlen;                           
                                                                      
  while (current != end && rtems_filesystem_is_delimiter(*current)) { 
 200d110:	80 a1 00 01 	cmp  %g4, %g1                                  
 200d114:	32 bf ff fb 	bne,a   200d100 <rtems_filesystem_eval_path_next_token+0x30>
 200d118:	c4 48 40 00 	ldsb  [ %g1 ], %g2                             
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
 200d11c:	88 21 00 01 	sub  %g4, %g1, %g4                             
                                                                      
  while (current != end && rtems_filesystem_is_delimiter(*current)) { 
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
 200d120:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  ctx->pathlen = (size_t) (end - current);                            
 200d124:	c8 22 20 04 	st  %g4, [ %o0 + 4 ]                           
}                                                                     
                                                                      
static void next_token(rtems_filesystem_eval_path_context_t *ctx)     
{                                                                     
  const char *begin = ctx->path;                                      
  const char *end = begin + ctx->pathlen;                             
 200d128:	88 00 40 04 	add  %g1, %g4, %g4                             
  const char *current = begin;                                        
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
 200d12c:	80 a1 00 01 	cmp  %g4, %g1                                  
 200d130:	02 80 00 27 	be  200d1cc <rtems_filesystem_eval_path_next_token+0xfc>
 200d134:	9a 10 00 01 	mov  %g1, %o5                                  
 200d138:	c4 48 40 00 	ldsb  [ %g1 ], %g2                             
 200d13c:	80 a0 a0 5c 	cmp  %g2, 0x5c                                 
 200d140:	02 80 00 23 	be  200d1cc <rtems_filesystem_eval_path_next_token+0xfc><== NEVER TAKEN
 200d144:	80 a0 a0 2f 	cmp  %g2, 0x2f                                 
 200d148:	02 80 00 22 	be  200d1d0 <rtems_filesystem_eval_path_next_token+0x100><== NEVER TAKEN
 200d14c:	84 10 00 01 	mov  %g1, %g2                                  
    ++current;                                                        
 200d150:	10 80 00 08 	b  200d170 <rtems_filesystem_eval_path_next_token+0xa0>
 200d154:	84 00 a0 01 	inc  %g2                                       
{                                                                     
  const char *begin = ctx->path;                                      
  const char *end = begin + ctx->pathlen;                             
  const char *current = begin;                                        
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
 200d158:	80 a0 e0 5c 	cmp  %g3, 0x5c                                 
 200d15c:	02 80 00 14 	be  200d1ac <rtems_filesystem_eval_path_next_token+0xdc>
 200d160:	80 a0 e0 2f 	cmp  %g3, 0x2f                                 
 200d164:	02 80 00 13 	be  200d1b0 <rtems_filesystem_eval_path_next_token+0xe0>
 200d168:	9a 10 00 02 	mov  %g2, %o5                                  
    ++current;                                                        
 200d16c:	84 00 a0 01 	inc  %g2                                       
{                                                                     
  const char *begin = ctx->path;                                      
  const char *end = begin + ctx->pathlen;                             
  const char *current = begin;                                        
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
 200d170:	80 a1 00 02 	cmp  %g4, %g2                                  
 200d174:	32 bf ff f9 	bne,a   200d158 <rtems_filesystem_eval_path_next_token+0x88>
 200d178:	c6 48 80 00 	ldsb  [ %g2 ], %g3                             
 200d17c:	9a 10 00 04 	mov  %g4, %o5                                  
 200d180:	86 21 00 01 	sub  %g4, %g1, %g3                             
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
 200d184:	88 21 00 0d 	sub  %g4, %o5, %g4                             
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
 200d188:	c4 22 00 00 	st  %g2, [ %o0 ]                               
  ctx->pathlen = (size_t) (end - current);                            
 200d18c:	c8 22 20 04 	st  %g4, [ %o0 + 4 ]                           
  ctx->token = begin;                                                 
 200d190:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
  ctx->tokenlen = (size_t) (current - begin);                         
 200d194:	81 c3 e0 08 	retl                                           
 200d198:	c6 22 20 0c 	st  %g3, [ %o0 + 0xc ]                         
)                                                                     
{                                                                     
  const char *current = ctx->path;                                    
  const char *end = current + ctx->pathlen;                           
                                                                      
  while (current != end && rtems_filesystem_is_delimiter(*current)) { 
 200d19c:	22 bf ff dd 	be,a   200d110 <rtems_filesystem_eval_path_next_token+0x40>
 200d1a0:	82 00 60 01 	inc  %g1                                       
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
 200d1a4:	10 bf ff df 	b  200d120 <rtems_filesystem_eval_path_next_token+0x50>
 200d1a8:	88 21 00 01 	sub  %g4, %g1, %g4                             
 200d1ac:	9a 10 00 02 	mov  %g2, %o5                                  
 200d1b0:	86 20 80 01 	sub  %g2, %g1, %g3                             
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
 200d1b4:	88 21 00 0d 	sub  %g4, %o5, %g4                             
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
 200d1b8:	c4 22 00 00 	st  %g2, [ %o0 ]                               
  ctx->pathlen = (size_t) (end - current);                            
 200d1bc:	c8 22 20 04 	st  %g4, [ %o0 + 4 ]                           
  ctx->token = begin;                                                 
 200d1c0:	c2 22 20 08 	st  %g1, [ %o0 + 8 ]                           
  ctx->tokenlen = (size_t) (current - begin);                         
 200d1c4:	81 c3 e0 08 	retl                                           
 200d1c8:	c6 22 20 0c 	st  %g3, [ %o0 + 0xc ]                         
{                                                                     
  const char *begin = ctx->path;                                      
  const char *end = begin + ctx->pathlen;                             
  const char *current = begin;                                        
                                                                      
  while (current != end && !rtems_filesystem_is_delimiter(*current)) {
 200d1cc:	84 10 00 01 	mov  %g1, %g2                                  
 200d1d0:	10 bf ff ed 	b  200d184 <rtems_filesystem_eval_path_next_token+0xb4>
 200d1d4:	86 10 20 00 	clr  %g3                                       
)                                                                     
{                                                                     
  const char *current = ctx->path;                                    
  const char *end = current + ctx->pathlen;                           
                                                                      
  while (current != end && rtems_filesystem_is_delimiter(*current)) { 
 200d1d8:	22 bf ff ce 	be,a   200d110 <rtems_filesystem_eval_path_next_token+0x40>
 200d1dc:	82 00 60 01 	inc  %g1                                       
    ++current;                                                        
  }                                                                   
                                                                      
  ctx->path = current;                                                
  ctx->pathlen = (size_t) (end - current);                            
 200d1e0:	10 bf ff d0 	b  200d120 <rtems_filesystem_eval_path_next_token+0x50>
 200d1e4:	88 21 00 01 	sub  %g4, %g1, %g4                             
                                                                      

02004e6c <rtems_filesystem_eval_path_recursive>: void rtems_filesystem_eval_path_recursive( rtems_filesystem_eval_path_context_t *ctx, const char *path, size_t pathlen ) {
 2004e6c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (pathlen > 0) {                                                  
 2004e70:	80 a6 a0 00 	cmp  %i2, 0                                    
 2004e74:	02 80 00 22 	be  2004efc <rtems_filesystem_eval_path_recursive+0x90><== NEVER TAKEN
 2004e78:	ba 10 00 18 	mov  %i0, %i5                                  
    if (ctx->recursionlevel < RTEMS_FILESYSTEM_SYMLOOP_MAX) {         
 2004e7c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2004e80:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 2004e84:	14 80 00 25 	bg  2004f18 <rtems_filesystem_eval_path_recursive+0xac>
 2004e88:	01 00 00 00 	nop                                            
  gid_t node_gid                                                      
);                                                                    
                                                                      
static inline bool rtems_filesystem_is_delimiter(char c)              
{                                                                     
  return c == '/' || c == '\\';                                       
 2004e8c:	c4 4e 40 00 	ldsb  [ %i1 ], %g2                             
      const char *saved_path = ctx->path;                             
 2004e90:	f6 06 00 00 	ld  [ %i0 ], %i3                               
      size_t saved_pathlen = ctx->pathlen;                            
                                                                      
      if (rtems_filesystem_is_delimiter(path [0])) {                  
 2004e94:	80 a0 a0 5c 	cmp  %g2, 0x5c                                 
 2004e98:	02 80 00 1b 	be  2004f04 <rtems_filesystem_eval_path_recursive+0x98><== NEVER TAKEN
 2004e9c:	f8 06 20 04 	ld  [ %i0 + 4 ], %i4                           
 2004ea0:	80 a0 a0 2f 	cmp  %g2, 0x2f                                 
 2004ea4:	02 80 00 19 	be  2004f08 <rtems_filesystem_eval_path_recursive+0x9c>
 2004ea8:	90 10 00 1d 	mov  %i5, %o0                                  
      }                                                               
                                                                      
      ctx->path = path;                                               
      ctx->pathlen = pathlen;                                         
                                                                      
      ++ctx->recursionlevel;                                          
 2004eac:	82 00 60 01 	inc  %g1                                       
                                                                      
      if (rtems_filesystem_is_delimiter(path [0])) {                  
        rtems_filesystem_eval_path_restart(ctx, &ctx->rootloc);       
      }                                                               
                                                                      
      ctx->path = path;                                               
 2004eb0:	f2 27 40 00 	st  %i1, [ %i5 ]                               
      ctx->pathlen = pathlen;                                         
 2004eb4:	f4 27 60 04 	st  %i2, [ %i5 + 4 ]                           
                                                                      
      ++ctx->recursionlevel;                                          
 2004eb8:	c2 27 60 14 	st  %g1, [ %i5 + 0x14 ]                        
      while (ctx->pathlen > 0) {                                      
        (*ctx->currentloc.mt_entry->ops->eval_path_h)(ctx);           
 2004ebc:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
 2004ec0:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 2004ec4:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 2004ec8:	9f c0 40 00 	call  %g1                                      
 2004ecc:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
      ctx->path = path;                                               
      ctx->pathlen = pathlen;                                         
                                                                      
      ++ctx->recursionlevel;                                          
      while (ctx->pathlen > 0) {                                      
 2004ed0:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 2004ed4:	80 a0 60 00 	cmp  %g1, 0                                    
 2004ed8:	32 bf ff fa 	bne,a   2004ec0 <rtems_filesystem_eval_path_recursive+0x54>
 2004edc:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
        (*ctx->currentloc.mt_entry->ops->eval_path_h)(ctx);           
      }                                                               
      --ctx->recursionlevel;                                          
 2004ee0:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
                                                                      
      ctx->path = saved_path;                                         
 2004ee4:	f6 27 40 00 	st  %i3, [ %i5 ]                               
                                                                      
      ++ctx->recursionlevel;                                          
      while (ctx->pathlen > 0) {                                      
        (*ctx->currentloc.mt_entry->ops->eval_path_h)(ctx);           
      }                                                               
      --ctx->recursionlevel;                                          
 2004ee8:	82 00 7f ff 	add  %g1, -1, %g1                              
                                                                      
      ctx->path = saved_path;                                         
      ctx->pathlen = saved_pathlen;                                   
 2004eec:	f8 27 60 04 	st  %i4, [ %i5 + 4 ]                           
                                                                      
      ++ctx->recursionlevel;                                          
      while (ctx->pathlen > 0) {                                      
        (*ctx->currentloc.mt_entry->ops->eval_path_h)(ctx);           
      }                                                               
      --ctx->recursionlevel;                                          
 2004ef0:	c2 27 60 14 	st  %g1, [ %i5 + 0x14 ]                        
 2004ef4:	81 c7 e0 08 	ret                                            
 2004ef8:	81 e8 00 00 	restore                                        
      ctx->pathlen = saved_pathlen;                                   
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error(ctx, ENOENT);                    
 2004efc:	7f ff fe b4 	call  20049cc <rtems_filesystem_eval_path_error><== NOT EXECUTED
 2004f00:	93 e8 20 02 	restore  %g0, 2, %o1                           <== NOT EXECUTED
    if (ctx->recursionlevel < RTEMS_FILESYSTEM_SYMLOOP_MAX) {         
      const char *saved_path = ctx->path;                             
      size_t saved_pathlen = ctx->pathlen;                            
                                                                      
      if (rtems_filesystem_is_delimiter(path [0])) {                  
        rtems_filesystem_eval_path_restart(ctx, &ctx->rootloc);       
 2004f04:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2004f08:	7f ff ff c0 	call  2004e08 <rtems_filesystem_eval_path_restart>
 2004f0c:	92 07 60 30 	add  %i5, 0x30, %o1                            
 2004f10:	10 bf ff e7 	b  2004eac <rtems_filesystem_eval_path_recursive+0x40>
 2004f14:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
      --ctx->recursionlevel;                                          
                                                                      
      ctx->path = saved_path;                                         
      ctx->pathlen = saved_pathlen;                                   
    } else {                                                          
      rtems_filesystem_eval_path_error(ctx, ELOOP);                   
 2004f18:	7f ff fe ad 	call  20049cc <rtems_filesystem_eval_path_error>
 2004f1c:	93 e8 20 5c 	restore  %g0, 0x5c, %o1                        
                                                                      

02004cd4 <rtems_filesystem_eval_path_start_with_parent>: const char *path, int eval_flags, rtems_filesystem_location_info_t *parentloc, int parent_eval_flags ) {
 2004cd4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t pathlen = strlen(path);                                      
 2004cd8:	40 00 34 22 	call  2011d60 <strlen>                         
 2004cdc:	90 10 00 19 	mov  %i1, %o0                                  
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
static size_t get_parentpathlen(const char *path, size_t pathlen)     
{                                                                     
  while (pathlen > 0) {                                               
 2004ce0:	80 a2 20 00 	cmp  %o0, 0                                    
 2004ce4:	02 80 00 32 	be  2004dac <rtems_filesystem_eval_path_start_with_parent+0xd8>
 2004ce8:	92 10 00 19 	mov  %i1, %o1                                  
    size_t i = pathlen - 1;                                           
 2004cec:	94 02 3f ff 	add  %o0, -1, %o2                              
  gid_t node_gid                                                      
);                                                                    
                                                                      
static inline bool rtems_filesystem_is_delimiter(char c)              
{                                                                     
  return c == '/' || c == '\\';                                       
 2004cf0:	c2 4e 40 0a 	ldsb  [ %i1 + %o2 ], %g1                       
                                                                      
    if (rtems_filesystem_is_delimiter(path [i])) {                    
 2004cf4:	80 a0 60 5c 	cmp  %g1, 0x5c                                 
 2004cf8:	02 80 00 2a 	be  2004da0 <rtems_filesystem_eval_path_start_with_parent+0xcc><== NEVER TAKEN
 2004cfc:	80 a0 60 2f 	cmp  %g1, 0x2f                                 
 2004d00:	12 80 00 08 	bne  2004d20 <rtems_filesystem_eval_path_start_with_parent+0x4c>
 2004d04:	80 a2 a0 00 	cmp  %o2, 0                                    
 2004d08:	10 80 00 27 	b  2004da4 <rtems_filesystem_eval_path_start_with_parent+0xd0>
 2004d0c:	94 10 00 08 	mov  %o0, %o2                                  
 2004d10:	02 80 00 0b 	be  2004d3c <rtems_filesystem_eval_path_start_with_parent+0x68>
 2004d14:	a0 22 00 0a 	sub  %o0, %o2, %l0                             
#include <rtems/libio_.h>                                             
                                                                      
static size_t get_parentpathlen(const char *path, size_t pathlen)     
{                                                                     
  while (pathlen > 0) {                                               
    size_t i = pathlen - 1;                                           
 2004d18:	94 10 00 01 	mov  %g1, %o2                                  
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
static size_t get_parentpathlen(const char *path, size_t pathlen)     
{                                                                     
  while (pathlen > 0) {                                               
 2004d1c:	80 a2 a0 00 	cmp  %o2, 0                                    
 2004d20:	02 80 00 1a 	be  2004d88 <rtems_filesystem_eval_path_start_with_parent+0xb4>
 2004d24:	82 02 bf ff 	add  %o2, -1, %g1                              
 2004d28:	c4 4e 40 01 	ldsb  [ %i1 + %g1 ], %g2                       
    size_t i = pathlen - 1;                                           
                                                                      
    if (rtems_filesystem_is_delimiter(path [i])) {                    
 2004d2c:	80 a0 a0 5c 	cmp  %g2, 0x5c                                 
 2004d30:	12 bf ff f8 	bne  2004d10 <rtems_filesystem_eval_path_start_with_parent+0x3c><== ALWAYS TAKEN
 2004d34:	80 a0 a0 2f 	cmp  %g2, 0x2f                                 
 2004d38:	a0 22 00 0a 	sub  %o0, %o2, %l0                             <== NOT EXECUTED
      parentpath = ".";                                               
      parentpathlen = 1;                                              
      name = path;                                                    
      namelen = pathlen;                                              
    } else {                                                          
      name = path + parentpathlen;                                    
 2004d3c:	ba 06 40 0a 	add  %i1, %o2, %i5                             
  rtems_filesystem_location_info_t *parentloc,                        
  int parent_eval_flags                                               
)                                                                     
{                                                                     
  size_t pathlen = strlen(path);                                      
  const char *parentpath = path;                                      
 2004d40:	92 10 00 19 	mov  %i1, %o1                                  
  currentloc = eval_path_start(                                       
    ctx,                                                              
    parentpath,                                                       
    parentpathlen,                                                    
    parent_eval_flags,                                                
    &rtems_filesystem_root,                                           
 2004d44:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2004d48:	da 00 60 e8 	ld  [ %g1 + 0xe8 ], %o5	! 201dce8 <rtems_current_user_env>
      name = path + parentpathlen;                                    
      namelen = pathlen - parentpathlen;                              
    }                                                                 
  }                                                                   
                                                                      
  currentloc = eval_path_start(                                       
 2004d4c:	96 10 00 1c 	mov  %i4, %o3                                  
 2004d50:	98 03 60 04 	add  %o5, 4, %o4                               
 2004d54:	7f ff ff 7a 	call  2004b3c <eval_path_start>                
 2004d58:	90 10 00 18 	mov  %i0, %o0                                  
 2004d5c:	92 10 00 08 	mov  %o0, %o1                                  
    parent_eval_flags,                                                
    &rtems_filesystem_root,                                           
    &rtems_filesystem_current                                         
  );                                                                  
                                                                      
  rtems_filesystem_location_clone(parentloc, currentloc);             
 2004d60:	40 00 1e c8 	call  200c880 <rtems_filesystem_location_clone>
 2004d64:	90 10 00 1b 	mov  %i3, %o0                                  
                                                                      
  ctx->path = name;                                                   
  ctx->pathlen = namelen;                                             
  ctx->flags = eval_flags;                                            
                                                                      
  rtems_filesystem_eval_path_continue(ctx);                           
 2004d68:	90 10 00 18 	mov  %i0, %o0                                  
    &rtems_filesystem_current                                         
  );                                                                  
                                                                      
  rtems_filesystem_location_clone(parentloc, currentloc);             
                                                                      
  ctx->path = name;                                                   
 2004d6c:	fa 26 00 00 	st  %i5, [ %i0 ]                               
  ctx->pathlen = namelen;                                             
 2004d70:	e0 26 20 04 	st  %l0, [ %i0 + 4 ]                           
  ctx->flags = eval_flags;                                            
 2004d74:	f4 26 20 10 	st  %i2, [ %i0 + 0x10 ]                        
                                                                      
  rtems_filesystem_eval_path_continue(ctx);                           
 2004d78:	7f ff ff 54 	call  2004ac8 <rtems_filesystem_eval_path_continue>
 2004d7c:	b0 06 20 18 	add  %i0, 0x18, %i0                            
 2004d80:	81 c7 e0 08 	ret                                            
 2004d84:	81 e8 00 00 	restore                                        
  size_t namelen = 0;                                                 
  const rtems_filesystem_location_info_t *currentloc = NULL;          
                                                                      
  if (pathlen > 0) {                                                  
    if (parentpathlen == 0) {                                         
      parentpath = ".";                                               
 2004d88:	13 00 80 71 	sethi  %hi(0x201c400), %o1                     
                                                                      
#include <rtems/libio_.h>                                             
                                                                      
static size_t get_parentpathlen(const char *path, size_t pathlen)     
{                                                                     
  while (pathlen > 0) {                                               
 2004d8c:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
  if (pathlen > 0) {                                                  
    if (parentpathlen == 0) {                                         
      parentpath = ".";                                               
      parentpathlen = 1;                                              
      name = path;                                                    
 2004d90:	ba 10 00 19 	mov  %i1, %i5                                  
  const rtems_filesystem_location_info_t *currentloc = NULL;          
                                                                      
  if (pathlen > 0) {                                                  
    if (parentpathlen == 0) {                                         
      parentpath = ".";                                               
      parentpathlen = 1;                                              
 2004d94:	94 10 20 01 	mov  1, %o2                                    
  size_t namelen = 0;                                                 
  const rtems_filesystem_location_info_t *currentloc = NULL;          
                                                                      
  if (pathlen > 0) {                                                  
    if (parentpathlen == 0) {                                         
      parentpath = ".";                                               
 2004d98:	10 bf ff eb 	b  2004d44 <rtems_filesystem_eval_path_start_with_parent+0x70>
 2004d9c:	92 12 61 28 	or  %o1, 0x128, %o1                            
static size_t get_parentpathlen(const char *path, size_t pathlen)     
{                                                                     
  while (pathlen > 0) {                                               
    size_t i = pathlen - 1;                                           
                                                                      
    if (rtems_filesystem_is_delimiter(path [i])) {                    
 2004da0:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2004da4:	10 bf ff e6 	b  2004d3c <rtems_filesystem_eval_path_start_with_parent+0x68>
 2004da8:	a0 10 20 00 	clr  %l0                                       
{                                                                     
  size_t pathlen = strlen(path);                                      
  const char *parentpath = path;                                      
  size_t parentpathlen = get_parentpathlen(path, pathlen);            
  const char *name = NULL;                                            
  size_t namelen = 0;                                                 
 2004dac:	a0 10 20 00 	clr  %l0                                       
)                                                                     
{                                                                     
  size_t pathlen = strlen(path);                                      
  const char *parentpath = path;                                      
  size_t parentpathlen = get_parentpathlen(path, pathlen);            
  const char *name = NULL;                                            
 2004db0:	ba 10 20 00 	clr  %i5                                       
    }                                                                 
                                                                      
    pathlen = i;                                                      
  }                                                                   
                                                                      
  return 0;                                                           
 2004db4:	10 bf ff e4 	b  2004d44 <rtems_filesystem_eval_path_start_with_parent+0x70>
 2004db8:	94 10 20 00 	clr  %o2                                       
                                                                      

0200cbe4 <rtems_filesystem_get_mount_handler>: rtems_filesystem_fsmount_me_t rtems_filesystem_get_mount_handler( const char *type ) {
 200cbe4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  find_arg fa = {                                                     
 200cbe8:	f0 27 bf f8 	st  %i0, [ %fp + -8 ]                          
 200cbec:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
                                                                      
rtems_filesystem_fsmount_me_t                                         
rtems_filesystem_get_mount_handler(                                   
  const char *type                                                    
)                                                                     
{                                                                     
 200cbf0:	82 10 00 18 	mov  %i0, %g1                                  
  find_arg fa = {                                                     
    .type = type,                                                     
    .mount_h = NULL                                                   
  };                                                                  
                                                                      
  if ( type != NULL ) {                                               
 200cbf4:	80 a0 60 00 	cmp  %g1, 0                                    
 200cbf8:	02 80 00 07 	be  200cc14 <rtems_filesystem_get_mount_handler+0x30><== NEVER TAKEN
 200cbfc:	b0 10 20 00 	clr  %i0                                       
    rtems_filesystem_iterate( find_handler, &fa );                    
 200cc00:	92 07 bf f8 	add  %fp, -8, %o1                              
 200cc04:	11 00 80 32 	sethi  %hi(0x200c800), %o0                     
 200cc08:	7f ff ff c9 	call  200cb2c <rtems_filesystem_iterate>       
 200cc0c:	90 12 22 f8 	or  %o0, 0x2f8, %o0	! 200caf8 <find_handler>   
 200cc10:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          
  }                                                                   
                                                                      
  return fa.mount_h;                                                  
}                                                                     
 200cc14:	81 c7 e0 08 	ret                                            
 200cc18:	81 e8 00 00 	restore                                        
                                                                      

020051f4 <rtems_filesystem_global_location_obtain>: } rtems_filesystem_global_location_t *rtems_filesystem_global_location_obtain( rtems_filesystem_global_location_t *const *global_loc_ptr ) {
 20051f4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_filesystem_mt_entry_declare_lock_context(lock_context);       
  rtems_filesystem_global_location_t *global_loc;                     
                                                                      
  if (deferred_released_global_locations != NULL) {                   
 20051f8:	37 00 80 78 	sethi  %hi(0x201e000), %i3                     
 20051fc:	c2 06 e3 a8 	ld  [ %i3 + 0x3a8 ], %g1	! 201e3a8 <deferred_released_global_locations>
 2005200:	80 a0 60 00 	cmp  %g1, 0                                    
 2005204:	02 80 00 20 	be  2005284 <rtems_filesystem_global_location_obtain+0x90>
 2005208:	01 00 00 00 	nop                                            
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 200520c:	39 00 80 7a 	sethi  %hi(0x201e800), %i4                     
 2005210:	c2 07 20 b0 	ld  [ %i4 + 0xb0 ], %g1	! 201e8b0 <_Thread_Dispatch_disable_level>
 2005214:	82 00 60 01 	inc  %g1                                       
 2005218:	c2 27 20 b0 	st  %g1, [ %i4 + 0xb0 ]                        
    return _Thread_Dispatch_disable_level;                            
 200521c:	c2 07 20 b0 	ld  [ %i4 + 0xb0 ], %g1                        
                                                                      
  do {                                                                
    int count = 0;                                                    
                                                                      
    _Thread_Disable_dispatch();                                       
    current = deferred_released_global_locations;                     
 2005220:	fa 06 e3 a8 	ld  [ %i3 + 0x3a8 ], %i5                       
    if (current != NULL) {                                            
 2005224:	80 a7 60 00 	cmp  %i5, 0                                    
 2005228:	02 80 00 15 	be  200527c <rtems_filesystem_global_location_obtain+0x88><== NEVER TAKEN
 200522c:	01 00 00 00 	nop                                            
 2005230:	b6 16 e3 a8 	or  %i3, 0x3a8, %i3                            
 2005234:	b8 17 20 b0 	or  %i4, 0xb0, %i4                             
      deferred_released_global_locations = current->deferred_released_next;
 2005238:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      count = current->deferred_released_count;                       
 200523c:	f4 07 60 20 	ld  [ %i5 + 0x20 ], %i2                        
    int count = 0;                                                    
                                                                      
    _Thread_Disable_dispatch();                                       
    current = deferred_released_global_locations;                     
    if (current != NULL) {                                            
      deferred_released_global_locations = current->deferred_released_next;
 2005240:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
      count = current->deferred_released_count;                       
      current->deferred_released_next = NULL;                         
 2005244:	c0 27 60 1c 	clr  [ %i5 + 0x1c ]                            
      current->deferred_released_count = 0;                           
    }                                                                 
    _Thread_Enable_dispatch();                                        
 2005248:	40 00 15 a6 	call  200a8e0 <_Thread_Enable_dispatch>        
 200524c:	c0 27 60 20 	clr  [ %i5 + 0x20 ]                            
                                                                      
    if (current != NULL) {                                            
      release_with_count(current, count);                             
 2005250:	90 10 00 1d 	mov  %i5, %o0                                  
 2005254:	7f ff ff 9d 	call  20050c8 <release_with_count>             
 2005258:	92 10 00 1a 	mov  %i2, %o1                                  
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 200525c:	c2 07 00 00 	ld  [ %i4 ], %g1                               
 2005260:	82 00 60 01 	inc  %g1                                       
 2005264:	c2 27 00 00 	st  %g1, [ %i4 ]                               
    return _Thread_Dispatch_disable_level;                            
 2005268:	c2 07 00 00 	ld  [ %i4 ], %g1                               
                                                                      
  do {                                                                
    int count = 0;                                                    
                                                                      
    _Thread_Disable_dispatch();                                       
    current = deferred_released_global_locations;                     
 200526c:	fa 06 c0 00 	ld  [ %i3 ], %i5                               
    if (current != NULL) {                                            
 2005270:	80 a7 60 00 	cmp  %i5, 0                                    
 2005274:	32 bf ff f2 	bne,a   200523c <rtems_filesystem_global_location_obtain+0x48><== NEVER TAKEN
 2005278:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        <== NOT EXECUTED
      deferred_released_global_locations = current->deferred_released_next;
      count = current->deferred_released_count;                       
      current->deferred_released_next = NULL;                         
      current->deferred_released_count = 0;                           
    }                                                                 
    _Thread_Enable_dispatch();                                        
 200527c:	40 00 15 99 	call  200a8e0 <_Thread_Enable_dispatch>        
 2005280:	01 00 00 00 	nop                                            
                                                                      
  if (deferred_released_global_locations != NULL) {                   
    deferred_release();                                               
  }                                                                   
                                                                      
  rtems_filesystem_mt_entry_lock(lock_context);                       
 2005284:	7f ff f5 38 	call  2002764 <sparc_disable_interrupts>       
 2005288:	01 00 00 00 	nop                                            
 200528c:	ba 10 00 08 	mov  %o0, %i5                                  
  global_loc = *global_loc_ptr;                                       
 2005290:	f0 06 00 00 	ld  [ %i0 ], %i0                               
  if (global_loc == NULL || !global_loc->location.mt_entry->mounted) {
 2005294:	80 a6 20 00 	cmp  %i0, 0                                    
 2005298:	02 80 00 07 	be  20052b4 <rtems_filesystem_global_location_obtain+0xc0>
 200529c:	01 00 00 00 	nop                                            
 20052a0:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 20052a4:	c2 08 60 28 	ldub  [ %g1 + 0x28 ], %g1                      
 20052a8:	80 a0 60 00 	cmp  %g1, 0                                    
 20052ac:	32 80 00 08 	bne,a   20052cc <rtems_filesystem_global_location_obtain+0xd8>
 20052b0:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
    global_loc = &rtems_filesystem_global_location_null;              
    errno = ENXIO;                                                    
 20052b4:	40 00 2d 50 	call  20107f4 <__errno>                        
 20052b8:	31 00 80 77 	sethi  %hi(0x201dc00), %i0                     
 20052bc:	82 10 20 06 	mov  6, %g1                                    
 20052c0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  }                                                                   
                                                                      
  rtems_filesystem_mt_entry_lock(lock_context);                       
  global_loc = *global_loc_ptr;                                       
  if (global_loc == NULL || !global_loc->location.mt_entry->mounted) {
    global_loc = &rtems_filesystem_global_location_null;              
 20052c4:	b0 16 21 18 	or  %i0, 0x118, %i0                            
    errno = ENXIO;                                                    
  }                                                                   
  ++global_loc->reference_count;                                      
 20052c8:	c2 06 20 18 	ld  [ %i0 + 0x18 ], %g1                        
 20052cc:	82 00 60 01 	inc  %g1                                       
 20052d0:	c2 26 20 18 	st  %g1, [ %i0 + 0x18 ]                        
  rtems_filesystem_mt_entry_unlock(lock_context);                     
 20052d4:	7f ff f5 28 	call  2002774 <sparc_enable_interrupts>        
 20052d8:	90 10 00 1d 	mov  %i5, %o0                                  
 20052dc:	81 c7 e0 08 	ret                                            
 20052e0:	81 e8 00 00 	restore                                        
                                                                      

020035bc <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 ) {
 20035bc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv = 0;                                                         
  const rtems_filesystem_mount_configuration *root_config =           
    &rtems_filesystem_root_configuration;                             
                                                                      
  rv = mount(                                                         
 20035c0:	05 00 80 6e 	sethi  %hi(0x201b800), %g2                     
 20035c4:	82 10 a0 d8 	or  %g2, 0xd8, %g1	! 201b8d8 <rtems_filesystem_root_configuration>
 20035c8:	d0 00 a0 d8 	ld  [ %g2 + 0xd8 ], %o0                        
 20035cc:	d2 00 60 04 	ld  [ %g1 + 4 ], %o1                           
 20035d0:	d4 00 60 08 	ld  [ %g1 + 8 ], %o2                           
 20035d4:	d6 00 60 0c 	ld  [ %g1 + 0xc ], %o3                         
 20035d8:	40 00 02 42 	call  2003ee0 <mount>                          
 20035dc:	d8 00 60 10 	ld  [ %g1 + 0x10 ], %o4                        
    root_config->target,                                              
    root_config->filesystemtype,                                      
    root_config->options,                                             
    root_config->data                                                 
  );                                                                  
  if ( rv != 0 )                                                      
 20035e0:	80 a2 20 00 	cmp  %o0, 0                                    
 20035e4:	12 80 00 0a 	bne  200360c <rtems_filesystem_initialize+0x50><== NEVER TAKEN
 20035e8:	92 10 21 ff 	mov  0x1ff, %o1                                
   *                                                                  
   *  NOTE: UNIX root is 755 and owned by root/root (0/0).  It is actually
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  rv = mkdir( "/dev", 0777);                                          
 20035ec:	11 00 80 6f 	sethi  %hi(0x201bc00), %o0                     
 20035f0:	40 00 01 f3 	call  2003dbc <mkdir>                          
 20035f4:	90 12 23 b0 	or  %o0, 0x3b0, %o0	! 201bfb0 <IMFS_node_control_default+0x18>
  if ( rv != 0 )                                                      
 20035f8:	80 a2 20 00 	cmp  %o0, 0                                    
 20035fc:	12 80 00 07 	bne  2003618 <rtems_filesystem_initialize+0x5c><== NEVER TAKEN
 2003600:	11 2a f3 40 	sethi  %hi(0xabcd0000), %o0                    
 2003604:	81 c7 e0 08 	ret                                            
 2003608:	81 e8 00 00 	restore                                        
    root_config->filesystemtype,                                      
    root_config->options,                                             
    root_config->data                                                 
  );                                                                  
  if ( rv != 0 )                                                      
    rtems_fatal_error_occurred( 0xABCD0002 );                         
 200360c:	11 2a f3 40 	sethi  %hi(0xabcd0000), %o0                    <== NOT EXECUTED
 2003610:	40 00 13 b1 	call  20084d4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2003614:	90 12 20 02 	or  %o0, 2, %o0	! abcd0002 <RAM_END+0xa98d0002><== NOT EXECUTED
   *        created that way by the IMFS.                             
   */                                                                 
                                                                      
  rv = mkdir( "/dev", 0777);                                          
  if ( rv != 0 )                                                      
    rtems_fatal_error_occurred( 0xABCD0003 );                         
 2003618:	40 00 13 af 	call  20084d4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 200361c:	90 12 20 03 	or  %o0, 3, %o0                                <== NOT EXECUTED
                                                                      

0200cb2c <rtems_filesystem_iterate>: bool rtems_filesystem_iterate( rtems_per_filesystem_routine routine, void *routine_arg ) {
 200cb2c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
 200cb30:	3b 00 80 6e 	sethi  %hi(0x201b800), %i5                     
 200cb34:	c2 07 60 ec 	ld  [ %i5 + 0xec ], %g1	! 201b8ec <rtems_filesystem_table>
 200cb38:	80 a0 60 00 	cmp  %g1, 0                                    
 200cb3c:	12 80 00 06 	bne  200cb54 <rtems_filesystem_iterate+0x28>   <== ALWAYS TAKEN
 200cb40:	ba 17 60 ec 	or  %i5, 0xec, %i5                             
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
 200cb44:	10 80 00 0e 	b  200cb7c <rtems_filesystem_iterate+0x50>     <== NOT EXECUTED
 200cb48:	35 00 80 79 	sethi  %hi(0x201e400), %i2                     <== NOT EXECUTED
 200cb4c:	12 80 00 24 	bne  200cbdc <rtems_filesystem_iterate+0xb0>   
 200cb50:	01 00 00 00 	nop                                            
    stop = (*routine)( table_entry, routine_arg );                    
 200cb54:	90 10 00 1d 	mov  %i5, %o0                                  
 200cb58:	9f c6 00 00 	call  %i0                                      
 200cb5c:	92 10 00 19 	mov  %i1, %o1                                  
    ++table_entry;                                                    
 200cb60:	ba 07 60 08 	add  %i5, 8, %i5                               
{                                                                     
  const rtems_filesystem_table_t *table_entry = &rtems_filesystem_table [0];
  rtems_chain_node *node = NULL;                                      
  bool stop = false;                                                  
                                                                      
  while ( table_entry->type && !stop ) {                              
 200cb64:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 200cb68:	80 a0 60 00 	cmp  %g1, 0                                    
 200cb6c:	12 bf ff f8 	bne  200cb4c <rtems_filesystem_iterate+0x20>   
 200cb70:	b8 8a 20 ff 	andcc  %o0, 0xff, %i4                          
    stop = (*routine)( table_entry, routine_arg );                    
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
 200cb74:	12 80 00 1a 	bne  200cbdc <rtems_filesystem_iterate+0xb0>   
 200cb78:	35 00 80 79 	sethi  %hi(0x201e400), %i2                     
 200cb7c:	d0 06 a3 20 	ld  [ %i2 + 0x320 ], %o0	! 201e720 <rtems_libio_semaphore>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200cb80:	37 00 80 77 	sethi  %hi(0x201dc00), %i3                     
 200cb84:	92 10 20 00 	clr  %o1                                       
 200cb88:	7f ff ec 86 	call  2007da0 <rtems_semaphore_obtain>         
 200cb8c:	94 10 20 00 	clr  %o2                                       
 200cb90:	fa 06 e1 80 	ld  [ %i3 + 0x180 ], %i5                       
 200cb94:	b6 16 e1 80 	or  %i3, 0x180, %i3                            
    rtems_libio_lock();                                               
    for (                                                             
 200cb98:	b6 06 e0 04 	add  %i3, 4, %i3                               
 200cb9c:	80 a7 40 1b 	cmp  %i5, %i3                                  
 200cba0:	12 80 00 05 	bne  200cbb4 <rtems_filesystem_iterate+0x88>   
 200cba4:	b8 10 20 00 	clr  %i4                                       
 200cba8:	30 80 00 0b 	b,a   200cbd4 <rtems_filesystem_iterate+0xa8>  
      node = rtems_chain_first( &filesystem_chain );                  
      !rtems_chain_is_tail( &filesystem_chain, node ) && !stop;       
 200cbac:	12 80 00 0a 	bne  200cbd4 <rtems_filesystem_iterate+0xa8>   <== NEVER TAKEN
 200cbb0:	01 00 00 00 	nop                                            
      node = rtems_chain_next( node )                                 
    ) {                                                               
      const filesystem_node *fsn = (filesystem_node *) node;          
                                                                      
      stop = (*routine)( &fsn->entry, routine_arg );                  
 200cbb4:	90 07 60 08 	add  %i5, 8, %o0                               
 200cbb8:	9f c6 00 00 	call  %i0                                      
 200cbbc:	92 10 00 19 	mov  %i1, %o1                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Next(                         
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->next;                                              
 200cbc0:	fa 07 40 00 	ld  [ %i5 ], %i5                               
    ++table_entry;                                                    
  }                                                                   
                                                                      
  if ( !stop ) {                                                      
    rtems_libio_lock();                                               
    for (                                                             
 200cbc4:	80 a7 40 1b 	cmp  %i5, %i3                                  
 200cbc8:	12 bf ff f9 	bne  200cbac <rtems_filesystem_iterate+0x80>   
 200cbcc:	b8 8a 20 ff 	andcc  %o0, 0xff, %i4                          
 200cbd0:	b8 0a 20 ff 	and  %o0, 0xff, %i4                            
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 200cbd4:	7f ff ec c3 	call  2007ee0 <rtems_semaphore_release>        
 200cbd8:	d0 06 a3 20 	ld  [ %i2 + 0x320 ], %o0                       
    }                                                                 
    rtems_libio_unlock();                                             
  }                                                                   
                                                                      
  return stop;                                                        
}                                                                     
 200cbdc:	81 c7 e0 08 	ret                                            
 200cbe0:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
                                                                      

02005010 <rtems_filesystem_location_remove_from_mt_entry>: } void rtems_filesystem_location_remove_from_mt_entry( rtems_filesystem_location_info_t *loc ) {
 2005010:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_filesystem_mt_entry_declare_lock_context(lock_context);       
  bool do_unmount;                                                    
                                                                      
  rtems_filesystem_mt_entry_lock(lock_context);                       
 2005014:	7f ff f5 d4 	call  2002764 <sparc_disable_interrupts>       
 2005018:	01 00 00 00 	nop                                            
  rtems_chain_extract_unprotected(&loc->mt_entry_node);               
  do_unmount = rtems_filesystem_is_ready_for_unmount(loc->mt_entry);  
 200501c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 2005020:	c6 06 00 00 	ld  [ %i0 ], %g3                               
  previous       = the_node->previous;                                
 2005024:	c4 06 20 04 	ld  [ %i0 + 4 ], %g2                           
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  bool ready = !mt_entry->mounted                                     
    && rtems_chain_has_only_one_node( &mt_entry->location_chain )     
    && mt_entry->mt_fs_root->reference_count == 1;                    
 2005028:	c8 08 60 28 	ldub  [ %g1 + 0x28 ], %g4                      
  next->previous = previous;                                          
 200502c:	c4 20 e0 04 	st  %g2, [ %g3 + 4 ]                           
  previous->next = next;                                              
 2005030:	c6 20 80 00 	st  %g3, [ %g2 ]                               
 2005034:	80 a1 20 00 	cmp  %g4, 0                                    
 2005038:	12 80 00 07 	bne  2005054 <rtems_filesystem_location_remove_from_mt_entry+0x44>
 200503c:	ba 10 20 00 	clr  %i5                                       
static inline bool rtems_filesystem_is_ready_for_unmount(             
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  bool ready = !mt_entry->mounted                                     
    && rtems_chain_has_only_one_node( &mt_entry->location_chain )     
 2005040:	c6 00 60 14 	ld  [ %g1 + 0x14 ], %g3                        
 2005044:	c4 00 60 1c 	ld  [ %g1 + 0x1c ], %g2                        
 2005048:	80 a0 c0 02 	cmp  %g3, %g2                                  
 200504c:	22 80 00 0b 	be,a   2005078 <rtems_filesystem_location_remove_from_mt_entry+0x68>
 2005050:	c4 00 60 24 	ld  [ %g1 + 0x24 ], %g2                        
  rtems_filesystem_mt_entry_unlock(lock_context);                     
 2005054:	7f ff f5 c8 	call  2002774 <sparc_enable_interrupts>        
 2005058:	01 00 00 00 	nop                                            
                                                                      
  if (do_unmount) {                                                   
 200505c:	80 8f 60 ff 	btst  0xff, %i5                                
 2005060:	32 80 00 04 	bne,a   2005070 <rtems_filesystem_location_remove_from_mt_entry+0x60><== NEVER TAKEN
 2005064:	f0 06 20 14 	ld  [ %i0 + 0x14 ], %i0                        <== NOT EXECUTED
 2005068:	81 c7 e0 08 	ret                                            
 200506c:	81 e8 00 00 	restore                                        
    rtems_filesystem_do_unmount(loc->mt_entry);                       
 2005070:	7f ff ff c8 	call  2004f90 <rtems_filesystem_do_unmount>    <== NOT EXECUTED
 2005074:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    && mt_entry->mt_fs_root->reference_count == 1;                    
 2005078:	c4 00 a0 18 	ld  [ %g2 + 0x18 ], %g2                        
 200507c:	80 a0 a0 01 	cmp  %g2, 1                                    
 2005080:	12 bf ff f5 	bne  2005054 <rtems_filesystem_location_remove_from_mt_entry+0x44><== ALWAYS TAKEN
 2005084:	84 00 60 14 	add  %g1, 0x14, %g2                            
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 );                        
 2005088:	86 00 60 18 	add  %g1, 0x18, %g3                            <== NOT EXECUTED
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 200508c:	c0 20 60 18 	clr  [ %g1 + 0x18 ]                            <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2005090:	c6 20 60 14 	st  %g3, [ %g1 + 0x14 ]                        <== NOT EXECUTED
  head->previous = NULL;                                              
  tail->previous = head;                                              
 2005094:	c4 20 60 1c 	st  %g2, [ %g1 + 0x1c ]                        <== NOT EXECUTED
                                                                      
static inline bool rtems_filesystem_is_ready_for_unmount(             
  rtems_filesystem_mount_table_entry_t *mt_entry                      
)                                                                     
{                                                                     
  bool ready = !mt_entry->mounted                                     
 2005098:	10 bf ff ef 	b  2005054 <rtems_filesystem_location_remove_from_mt_entry+0x44><== NOT EXECUTED
 200509c:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
                                                                      

020052e4 <rtems_filesystem_location_transform_to_global>: } rtems_filesystem_global_location_t *rtems_filesystem_location_transform_to_global( rtems_filesystem_location_info_t *loc ) {
 20052e4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_filesystem_global_location_t *global_loc = malloc(sizeof(*global_loc));
 20052e8:	7f ff fa 73 	call  2003cb4 <malloc>                         
 20052ec:	90 10 20 24 	mov  0x24, %o0                                 
                                                                      
  if (global_loc != NULL) {                                           
 20052f0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20052f4:	02 80 00 0c 	be  2005324 <rtems_filesystem_location_transform_to_global+0x40><== NEVER TAKEN
 20052f8:	82 10 20 01 	mov  1, %g1                                    
    global_loc->reference_count = 1;                                  
    global_loc->deferred_released_next = NULL;                        
    global_loc->deferred_released_count = 0;                          
    rtems_filesystem_location_copy(&global_loc->location, loc);       
 20052fc:	92 10 00 18 	mov  %i0, %o1                                  
)                                                                     
{                                                                     
  rtems_filesystem_global_location_t *global_loc = malloc(sizeof(*global_loc));
                                                                      
  if (global_loc != NULL) {                                           
    global_loc->reference_count = 1;                                  
 2005300:	c2 27 60 18 	st  %g1, [ %i5 + 0x18 ]                        
    global_loc->deferred_released_next = NULL;                        
 2005304:	c0 27 60 1c 	clr  [ %i5 + 0x1c ]                            
    global_loc->deferred_released_count = 0;                          
    rtems_filesystem_location_copy(&global_loc->location, loc);       
 2005308:	7f ff ff 06 	call  2004f20 <rtems_filesystem_location_copy> 
 200530c:	c0 27 60 20 	clr  [ %i5 + 0x20 ]                            
    rtems_filesystem_location_remove_from_mt_entry(loc);              
 2005310:	90 10 00 18 	mov  %i0, %o0                                  
 2005314:	7f ff ff 3f 	call  2005010 <rtems_filesystem_location_remove_from_mt_entry>
 2005318:	b0 10 00 1d 	mov  %i5, %i0                                  
    global_loc = rtems_filesystem_global_location_obtain_null();      
    errno = ENOMEM;                                                   
  }                                                                   
                                                                      
  return global_loc;                                                  
}                                                                     
 200531c:	81 c7 e0 08 	ret                                            
 2005320:	81 e8 00 00 	restore                                        
    global_loc->deferred_released_next = NULL;                        
    global_loc->deferred_released_count = 0;                          
    rtems_filesystem_location_copy(&global_loc->location, loc);       
    rtems_filesystem_location_remove_from_mt_entry(loc);              
  } else {                                                            
    rtems_filesystem_location_free(loc);                              
 2005324:	40 00 1d 69 	call  200c8c8 <rtems_filesystem_location_free> <== NOT EXECUTED
 2005328:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
static inline rtems_filesystem_global_location_t *                    
rtems_filesystem_global_location_obtain_null(void)                    
{                                                                     
  rtems_filesystem_global_location_t *global_loc = NULL;              
                                                                      
  return rtems_filesystem_global_location_obtain( &global_loc );      
 200532c:	90 07 bf fc 	add  %fp, -4, %o0                              <== NOT EXECUTED
 2005330:	7f ff ff b1 	call  20051f4 <rtems_filesystem_global_location_obtain><== NOT EXECUTED
 2005334:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
    global_loc = rtems_filesystem_global_location_obtain_null();      
    errno = ENOMEM;                                                   
 2005338:	40 00 2d 2f 	call  20107f4 <__errno>                        <== NOT EXECUTED
 200533c:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
 2005340:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 2005344:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return global_loc;                                                  
}                                                                     
 2005348:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200534c:	91 e8 00 1d 	restore  %g0, %i5, %o0                         <== NOT EXECUTED
                                                                      

02003dd8 <rtems_filesystem_mknod>: const char *name, size_t namelen, mode_t mode, dev_t dev ) {
 2003dd8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
 2003ddc:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2003de0:	c2 00 60 e8 	ld  [ %g1 + 0xe8 ], %g1	! 201dce8 <rtems_current_user_env>
                                                                      
  switch (mode & S_IFMT) {                                            
 2003de4:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
  dev_t dev                                                           
)                                                                     
{                                                                     
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
 2003de8:	d6 00 60 08 	ld  [ %g1 + 8 ], %o3                           
                                                                      
  switch (mode & S_IFMT) {                                            
 2003dec:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
  dev_t dev                                                           
)                                                                     
{                                                                     
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
 2003df0:	96 2e c0 0b 	andn  %i3, %o3, %o3                            
                                                                      
  switch (mode & S_IFMT) {                                            
 2003df4:	82 0a c0 01 	and  %o3, %g1, %g1                             
 2003df8:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003dfc:	22 80 00 18 	be,a   2003e5c <rtems_filesystem_mknod+0x84>   
 2003e00:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2003e04:	08 80 00 0f 	bleu  2003e40 <rtems_filesystem_mknod+0x68>    
 2003e08:	05 00 00 04 	sethi  %hi(0x1000), %g2                        
 2003e0c:	05 00 00 18 	sethi  %hi(0x6000), %g2                        
 2003e10:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003e14:	02 80 00 11 	be  2003e58 <rtems_filesystem_mknod+0x80>      
 2003e18:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
 2003e1c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003e20:	22 80 00 0f 	be,a   2003e5c <rtems_filesystem_mknod+0x84>   <== ALWAYS TAKEN
 2003e24:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
    case S_IFDIR:                                                     
    case S_IFIFO:                                                     
    case S_IFREG:                                                     
      break;                                                          
    default:                                                          
      errno = EINVAL;                                                 
 2003e28:	40 00 32 73 	call  20107f4 <__errno>                        
 2003e2c:	b0 10 3f ff 	mov  -1, %i0                                   
 2003e30:	82 10 20 16 	mov  0x16, %g1                                 
 2003e34:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2003e38:	81 c7 e0 08 	ret                                            
 2003e3c:	81 e8 00 00 	restore                                        
{                                                                     
  int rv = 0;                                                         
                                                                      
  mode &= ~rtems_filesystem_umask;                                    
                                                                      
  switch (mode & S_IFMT) {                                            
 2003e40:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003e44:	02 80 00 05 	be  2003e58 <rtems_filesystem_mknod+0x80>      
 2003e48:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
 2003e4c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003e50:	12 bf ff f6 	bne  2003e28 <rtems_filesystem_mknod+0x50>     
 2003e54:	01 00 00 00 	nop                                            
      rv = -1;                                                        
      break;                                                          
  }                                                                   
                                                                      
  if ( rv == 0 ) {                                                    
    const rtems_filesystem_operations_table *ops = parentloc->mt_entry->ops;
 2003e58:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
                                                                      
    rv = (*ops->mknod_h)( parentloc, name, namelen, mode, dev );      
 2003e5c:	90 10 00 18 	mov  %i0, %o0                                  
 2003e60:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 2003e64:	92 10 00 19 	mov  %i1, %o1                                  
 2003e68:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
 2003e6c:	94 10 00 1a 	mov  %i2, %o2                                  
 2003e70:	98 10 00 1c 	mov  %i4, %o4                                  
 2003e74:	9f c0 40 00 	call  %g1                                      
 2003e78:	9a 10 00 1d 	mov  %i5, %o5                                  
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 2003e7c:	81 c7 e0 08 	ret                                            
 2003e80:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

0200cce8 <rtems_filesystem_unregister>: int rtems_filesystem_unregister( const char *type ) {
 200cce8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
 200ccec:	80 a6 20 00 	cmp  %i0, 0                                    
 200ccf0:	02 80 00 29 	be  200cd94 <rtems_filesystem_unregister+0xac> 
 200ccf4:	37 00 80 79 	sethi  %hi(0x201e400), %i3                     
 */                                                                   
#include <rtems/userenv.h>                                            
                                                                      
static inline void rtems_libio_lock( void )                           
{                                                                     
  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
 200ccf8:	d0 06 e3 20 	ld  [ %i3 + 0x320 ], %o0	! 201e720 <rtems_libio_semaphore>
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 200ccfc:	39 00 80 77 	sethi  %hi(0x201dc00), %i4                     
 200cd00:	92 10 20 00 	clr  %o1                                       
 200cd04:	7f ff ec 27 	call  2007da0 <rtems_semaphore_obtain>         
 200cd08:	94 10 20 00 	clr  %o2                                       
 200cd0c:	fa 07 21 80 	ld  [ %i4 + 0x180 ], %i5                       
 200cd10:	b8 17 21 80 	or  %i4, 0x180, %i4                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  rtems_libio_lock();                                                 
  for (                                                               
 200cd14:	b8 07 20 04 	add  %i4, 4, %i4                               
 200cd18:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200cd1c:	32 80 00 08 	bne,a   200cd3c <rtems_filesystem_unregister+0x54>
 200cd20:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           
}                                                                     
                                                                      
static inline void rtems_libio_unlock( void )                         
{                                                                     
  rtems_semaphore_release( rtems_libio_semaphore );                   
 200cd24:	10 80 00 14 	b  200cd74 <rtems_filesystem_unregister+0x8c>  
 200cd28:	d0 06 e3 20 	ld  [ %i3 + 0x320 ], %o0                       
 200cd2c:	80 a7 40 1c 	cmp  %i5, %i4                                  
 200cd30:	02 80 00 11 	be  200cd74 <rtems_filesystem_unregister+0x8c> <== ALWAYS TAKEN
 200cd34:	d0 06 e3 20 	ld  [ %i3 + 0x320 ], %o0                       
    !rtems_chain_is_tail( &filesystem_chain, node );                  
    node = rtems_chain_next( node )                                   
  ) {                                                                 
    filesystem_node *fsn = (filesystem_node *) node;                  
                                                                      
    if ( strcmp( fsn->entry.type, type ) == 0 ) {                     
 200cd38:	d0 07 60 08 	ld  [ %i5 + 8 ], %o0                           <== NOT EXECUTED
 200cd3c:	40 00 12 3e 	call  2011634 <strcmp>                         
 200cd40:	92 10 00 18 	mov  %i0, %o1                                  
 200cd44:	80 a2 20 00 	cmp  %o0, 0                                    
 200cd48:	32 bf ff f9 	bne,a   200cd2c <rtems_filesystem_unregister+0x44>
 200cd4c:	fa 07 40 00 	ld  [ %i5 ], %i5                               
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 200cd50:	40 00 04 67 	call  200deec <_Chain_Extract>                 
 200cd54:	90 10 00 1d 	mov  %i5, %o0                                  
      rtems_chain_extract( node );                                    
      free( fsn );                                                    
 200cd58:	7f ff da e3 	call  20038e4 <free>                           
 200cd5c:	90 10 00 1d 	mov  %i5, %o0                                  
 200cd60:	d0 06 e3 20 	ld  [ %i3 + 0x320 ], %o0                       
 200cd64:	7f ff ec 5f 	call  2007ee0 <rtems_semaphore_release>        
 200cd68:	b0 10 20 00 	clr  %i0                                       
 200cd6c:	81 c7 e0 08 	ret                                            
 200cd70:	81 e8 00 00 	restore                                        
 200cd74:	7f ff ec 5b 	call  2007ee0 <rtems_semaphore_release>        
 200cd78:	b0 10 3f ff 	mov  -1, %i0                                   
      return 0;                                                       
    }                                                                 
  }                                                                   
  rtems_libio_unlock();                                               
                                                                      
  rtems_set_errno_and_return_minus_one( ENOENT );                     
 200cd7c:	40 00 0e 9e 	call  20107f4 <__errno>                        
 200cd80:	01 00 00 00 	nop                                            
 200cd84:	82 10 20 02 	mov  2, %g1	! 2 <PROM_START+0x2>               
 200cd88:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 200cd8c:	81 c7 e0 08 	ret                                            
 200cd90:	81 e8 00 00 	restore                                        
)                                                                     
{                                                                     
  rtems_chain_node *node = NULL;                                      
                                                                      
  if ( type == NULL ) {                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 200cd94:	40 00 0e 98 	call  20107f4 <__errno>                        
 200cd98:	b0 10 3f ff 	mov  -1, %i0                                   
 200cd9c:	82 10 20 16 	mov  0x16, %g1                                 
 200cda0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 200cda4:	81 c7 e0 08 	ret                                            
 200cda8:	81 e8 00 00 	restore                                        
                                                                      

02008680 <rtems_fsmount>: ) /*-------------------------------------------------------------------------*\ | Return Value: | | 0, if success, -1 and errno if failed | \*=========================================================================*/ {
 2008680:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
          rc = tmp_rc;                                                
        }                                                             
      }                                                               
      else {                                                          
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNT_OK)) {      
          fprintf(stdout,"fsmount: mounting of \"%s\" to"             
 2008684:	27 00 81 95 	sethi  %hi(0x2065400), %l3                     <== NOT EXECUTED
 )                                                                    
/*-------------------------------------------------------------------------*\
  | Return Value:                                                             |
  |    0, if success, -1 and errno if failed                                  |
  \*=========================================================================*/
{                                                                     
 2008688:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
                     fstab_ptr->type,                                 
                     fstab_ptr->options,                              
                     NULL);                                           
      if (tmp_rc != 0) {                                              
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNT_FAILED)) {  
          fprintf(stdout,"fsmount: mounting of \"%s\" to"             
 200868c:	25 00 81 95 	sethi  %hi(0x2065400), %l2                     <== NOT EXECUTED
     */                                                               
    if (tmp_rc == 0) {                                                
      tmp_rc = rtems_mkdir(fstab_ptr->target, S_IRWXU | S_IRWXG | S_IRWXO);
      if (tmp_rc != 0) {                                              
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNTPNT_CRTERR)) {
          fprintf(stdout,"fsmount: creation of mount point \"%s\" failed: %s\n",
 2008690:	23 00 81 95 	sethi  %hi(0x2065400), %l1                     <== NOT EXECUTED
  \*=========================================================================*/
{                                                                     
  int rc = 0;                                                         
  int tmp_rc;                                                         
  size_t fstab_idx = 0;                                               
  bool terminate = false;                                             
 2008694:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
  |    0, if success, -1 and errno if failed                                  |
  \*=========================================================================*/
{                                                                     
  int rc = 0;                                                         
  int tmp_rc;                                                         
  size_t fstab_idx = 0;                                               
 2008698:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
/*-------------------------------------------------------------------------*\
  | Return Value:                                                             |
  |    0, if success, -1 and errno if failed                                  |
  \*=========================================================================*/
{                                                                     
  int rc = 0;                                                         
 200869c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
          rc = tmp_rc;                                                
        }                                                             
      }                                                               
      else {                                                          
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNT_OK)) {      
          fprintf(stdout,"fsmount: mounting of \"%s\" to"             
 20086a0:	21 00 81 c9 	sethi  %hi(0x2072400), %l0                     <== NOT EXECUTED
 20086a4:	a6 14 e3 20 	or  %l3, 0x320, %l3                            <== NOT EXECUTED
                     fstab_ptr->type,                                 
                     fstab_ptr->options,                              
                     NULL);                                           
      if (tmp_rc != 0) {                                              
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNT_FAILED)) {  
          fprintf(stdout,"fsmount: mounting of \"%s\" to"             
 20086a8:	a4 14 a2 f0 	or  %l2, 0x2f0, %l2                            <== NOT EXECUTED
     */                                                               
    if (tmp_rc == 0) {                                                
      tmp_rc = rtems_mkdir(fstab_ptr->target, S_IRWXU | S_IRWXG | S_IRWXO);
      if (tmp_rc != 0) {                                              
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNTPNT_CRTERR)) {
          fprintf(stdout,"fsmount: creation of mount point \"%s\" failed: %s\n",
 20086ac:	a2 14 62 b8 	or  %l1, 0x2b8, %l1                            <== NOT EXECUTED
  bool terminate = false;                                             
                                                                      
  /*                                                                  
   * scan through all fstab entries;                                  
   */                                                                 
  while (!terminate &&                                                
 20086b0:	80 a7 00 19 	cmp  %i4, %i1                                  <== NOT EXECUTED
 20086b4:	1a 80 00 1a 	bcc  200871c <rtems_fsmount+0x9c>              <== NOT EXECUTED
 20086b8:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 20086bc:	82 18 60 01 	xor  %g1, 1, %g1                               <== NOT EXECUTED
 20086c0:	80 88 60 ff 	btst  0xff, %g1                                <== NOT EXECUTED
 20086c4:	02 80 00 16 	be  200871c <rtems_fsmount+0x9c>               <== NOT EXECUTED
 20086c8:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
    tmp_rc = 0;                                                       
    /*                                                                
     * create mount point                                             
     */                                                               
    if (tmp_rc == 0) {                                                
      tmp_rc = rtems_mkdir(fstab_ptr->target, S_IRWXU | S_IRWXG | S_IRWXO);
 20086cc:	d0 07 60 04 	ld  [ %i5 + 4 ], %o0                           <== NOT EXECUTED
 20086d0:	40 00 08 2f 	call  200a78c <rtems_mkdir>                    <== NOT EXECUTED
 20086d4:	92 10 21 ff 	mov  0x1ff, %o1                                <== NOT EXECUTED
      if (tmp_rc != 0) {                                              
 20086d8:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 20086dc:	22 80 00 15 	be,a   2008730 <rtems_fsmount+0xb0>            <== NOT EXECUTED
 20086e0:	d0 07 40 00 	ld  [ %i5 ], %o0                               <== NOT EXECUTED
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNTPNT_CRTERR)) {
 20086e4:	c2 17 60 10 	lduh  [ %i5 + 0x10 ], %g1                      <== NOT EXECUTED
 20086e8:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
 20086ec:	12 80 00 24 	bne  200877c <rtems_fsmount+0xfc>              <== NOT EXECUTED
 20086f0:	c2 04 20 00 	ld  [ %l0 ], %g1                               <== NOT EXECUTED
          fprintf(stdout,"fsmount: creation of mount point \"%s\" failed: %s\n",
                  fstab_ptr->target,                                  
                  strerror(errno));                                   
        }                                                             
        if (0 != (fstab_ptr->abort_reasons & FSMOUNT_MNTPNT_CRTERR)) {
 20086f4:	c2 17 60 12 	lduh  [ %i5 + 0x12 ], %g1                      <== NOT EXECUTED
 20086f8:	80 88 60 02 	btst  2, %g1                                   <== NOT EXECUTED
 20086fc:	22 80 00 1d 	be,a   2008770 <rtems_fsmount+0xf0>            <== NOT EXECUTED
 2008700:	ba 07 60 14 	add  %i5, 0x14, %i5                            <== NOT EXECUTED
 2008704:	b0 10 00 1b 	mov  %i3, %i0                                  <== NOT EXECUTED
          terminate = true;                                           
 2008708:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
  bool terminate = false;                                             
                                                                      
  /*                                                                  
   * scan through all fstab entries;                                  
   */                                                                 
  while (!terminate &&                                                
 200870c:	80 a7 00 19 	cmp  %i4, %i1                                  <== NOT EXECUTED
 2008710:	2a bf ff ec 	bcs,a   20086c0 <rtems_fsmount+0x40>           <== NOT EXECUTED
 2008714:	82 18 60 01 	xor  %g1, 1, %g1                               <== NOT EXECUTED
    if (!terminate) {                                                 
      fstab_ptr++;                                                    
      fstab_idx++;                                                    
    }                                                                 
  }                                                                   
  if (fail_idx != NULL) {                                             
 2008718:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 200871c:	02 80 00 2d 	be  20087d0 <rtems_fsmount+0x150>              <== NOT EXECUTED
 2008720:	01 00 00 00 	nop                                            <== NOT EXECUTED
    *fail_idx = fstab_idx;                                            
 2008724:	f8 26 80 00 	st  %i4, [ %i2 ]                               <== NOT EXECUTED
 2008728:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200872c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * mount device to given mount point                              
     */                                                               
    if (tmp_rc == 0) {                                                
      tmp_rc = mount(fstab_ptr->source,                               
 2008730:	d2 07 60 04 	ld  [ %i5 + 4 ], %o1                           <== NOT EXECUTED
 2008734:	d4 07 60 08 	ld  [ %i5 + 8 ], %o2                           <== NOT EXECUTED
 2008738:	d6 07 60 0c 	ld  [ %i5 + 0xc ], %o3                         <== NOT EXECUTED
 200873c:	40 00 05 21 	call  2009bc0 <mount>                          <== NOT EXECUTED
 2008740:	98 10 20 00 	clr  %o4                                       <== NOT EXECUTED
                     fstab_ptr->target,                               
                     fstab_ptr->type,                                 
                     fstab_ptr->options,                              
                     NULL);                                           
      if (tmp_rc != 0) {                                              
 2008744:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 2008748:	02 80 00 19 	be  20087ac <rtems_fsmount+0x12c>              <== NOT EXECUTED
 200874c:	c2 17 60 10 	lduh  [ %i5 + 0x10 ], %g1                      <== NOT EXECUTED
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNT_FAILED)) {  
 2008750:	80 88 60 04 	btst  4, %g1                                   <== NOT EXECUTED
 2008754:	12 80 00 21 	bne  20087d8 <rtems_fsmount+0x158>             <== NOT EXECUTED
 2008758:	c2 04 20 00 	ld  [ %l0 ], %g1                               <== NOT EXECUTED
                  " \"%s\" failed: %s\n",                             
                  fstab_ptr->source,                                  
                  fstab_ptr->target,                                  
                  strerror(errno));                                   
        }                                                             
        if (0 != (fstab_ptr->abort_reasons & FSMOUNT_MNT_FAILED)) {   
 200875c:	c2 17 60 12 	lduh  [ %i5 + 0x12 ], %g1                      <== NOT EXECUTED
 2008760:	80 88 60 04 	btst  4, %g1                                   <== NOT EXECUTED
 2008764:	32 bf ff e9 	bne,a   2008708 <rtems_fsmount+0x88>           <== NOT EXECUTED
 2008768:	b0 10 00 1b 	mov  %i3, %i0                                  <== NOT EXECUTED
    }                                                                 
    /*                                                                
     * proceed to next entry                                          
     */                                                               
    if (!terminate) {                                                 
      fstab_ptr++;                                                    
 200876c:	ba 07 60 14 	add  %i5, 0x14, %i5                            <== NOT EXECUTED
      fstab_idx++;                                                    
 2008770:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
 2008774:	10 bf ff cf 	b  20086b0 <rtems_fsmount+0x30>                <== NOT EXECUTED
 2008778:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
     */                                                               
    if (tmp_rc == 0) {                                                
      tmp_rc = rtems_mkdir(fstab_ptr->target, S_IRWXU | S_IRWXG | S_IRWXO);
      if (tmp_rc != 0) {                                              
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNTPNT_CRTERR)) {
          fprintf(stdout,"fsmount: creation of mount point \"%s\" failed: %s\n",
 200877c:	e8 07 60 04 	ld  [ %i5 + 4 ], %l4                           <== NOT EXECUTED
                  fstab_ptr->target,                                  
                  strerror(errno));                                   
 2008780:	40 01 00 62 	call  2048908 <__errno>                        <== NOT EXECUTED
 2008784:	ea 00 60 08 	ld  [ %g1 + 8 ], %l5                           <== NOT EXECUTED
     */                                                               
    if (tmp_rc == 0) {                                                
      tmp_rc = rtems_mkdir(fstab_ptr->target, S_IRWXU | S_IRWXG | S_IRWXO);
      if (tmp_rc != 0) {                                              
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNTPNT_CRTERR)) {
          fprintf(stdout,"fsmount: creation of mount point \"%s\" failed: %s\n",
 2008788:	40 01 1b f8 	call  204f768 <strerror>                       <== NOT EXECUTED
 200878c:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 2008790:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 2008794:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2008798:	94 10 00 14 	mov  %l4, %o2                                  <== NOT EXECUTED
 200879c:	40 01 03 14 	call  20493ec <fprintf>                        <== NOT EXECUTED
 20087a0:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
                  fstab_ptr->target,                                  
                  strerror(errno));                                   
        }                                                             
        if (0 != (fstab_ptr->abort_reasons & FSMOUNT_MNTPNT_CRTERR)) {
 20087a4:	10 bf ff d5 	b  20086f8 <rtems_fsmount+0x78>                <== NOT EXECUTED
 20087a8:	c2 17 60 12 	lduh  [ %i5 + 0x12 ], %g1                      <== NOT EXECUTED
          terminate = true;                                           
          rc = tmp_rc;                                                
        }                                                             
      }                                                               
      else {                                                          
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNT_OK)) {      
 20087ac:	80 88 60 01 	btst  1, %g1                                   <== NOT EXECUTED
 20087b0:	12 80 00 18 	bne  2008810 <rtems_fsmount+0x190>             <== NOT EXECUTED
 20087b4:	c2 04 20 00 	ld  [ %l0 ], %g1                               <== NOT EXECUTED
          fprintf(stdout,"fsmount: mounting of \"%s\" to"             
                  " \"%s\" succeeded\n",                              
                  fstab_ptr->source,                                  
                  fstab_ptr->target);                                 
        }                                                             
        if (0 != (fstab_ptr->abort_reasons & FSMOUNT_MNT_OK)) {       
 20087b8:	c2 17 60 12 	lduh  [ %i5 + 0x12 ], %g1                      <== NOT EXECUTED
 20087bc:	80 88 60 01 	btst  1, %g1                                   <== NOT EXECUTED
 20087c0:	22 bf ff ec 	be,a   2008770 <rtems_fsmount+0xf0>            <== NOT EXECUTED
 20087c4:	ba 07 60 14 	add  %i5, 0x14, %i5                            <== NOT EXECUTED
          fprintf(stdout,"fsmount: creation of mount point \"%s\" failed: %s\n",
                  fstab_ptr->target,                                  
                  strerror(errno));                                   
        }                                                             
        if (0 != (fstab_ptr->abort_reasons & FSMOUNT_MNTPNT_CRTERR)) {
          terminate = true;                                           
 20087c8:	10 bf ff d1 	b  200870c <rtems_fsmount+0x8c>                <== NOT EXECUTED
 20087cc:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
  }                                                                   
  if (fail_idx != NULL) {                                             
    *fail_idx = fstab_idx;                                            
  }                                                                   
  return rc;                                                          
}                                                                     
 20087d0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20087d4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                     fstab_ptr->type,                                 
                     fstab_ptr->options,                              
                     NULL);                                           
      if (tmp_rc != 0) {                                              
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNT_FAILED)) {  
          fprintf(stdout,"fsmount: mounting of \"%s\" to"             
 20087d8:	ea 07 40 00 	ld  [ %i5 ], %l5                               <== NOT EXECUTED
 20087dc:	ec 00 60 08 	ld  [ %g1 + 8 ], %l6                           <== NOT EXECUTED
                  " \"%s\" failed: %s\n",                             
                  fstab_ptr->source,                                  
                  fstab_ptr->target,                                  
                  strerror(errno));                                   
 20087e0:	40 01 00 4a 	call  2048908 <__errno>                        <== NOT EXECUTED
 20087e4:	e8 07 60 04 	ld  [ %i5 + 4 ], %l4                           <== NOT EXECUTED
                     fstab_ptr->type,                                 
                     fstab_ptr->options,                              
                     NULL);                                           
      if (tmp_rc != 0) {                                              
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNT_FAILED)) {  
          fprintf(stdout,"fsmount: mounting of \"%s\" to"             
 20087e8:	40 01 1b e0 	call  204f768 <strerror>                       <== NOT EXECUTED
 20087ec:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 20087f0:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
 20087f4:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
 20087f8:	94 10 00 15 	mov  %l5, %o2                                  <== NOT EXECUTED
 20087fc:	90 10 00 16 	mov  %l6, %o0                                  <== NOT EXECUTED
 2008800:	40 01 02 fb 	call  20493ec <fprintf>                        <== NOT EXECUTED
 2008804:	96 10 00 14 	mov  %l4, %o3                                  <== NOT EXECUTED
                  " \"%s\" failed: %s\n",                             
                  fstab_ptr->source,                                  
                  fstab_ptr->target,                                  
                  strerror(errno));                                   
        }                                                             
        if (0 != (fstab_ptr->abort_reasons & FSMOUNT_MNT_FAILED)) {   
 2008808:	10 bf ff d6 	b  2008760 <rtems_fsmount+0xe0>                <== NOT EXECUTED
 200880c:	c2 17 60 12 	lduh  [ %i5 + 0x12 ], %g1                      <== NOT EXECUTED
          rc = tmp_rc;                                                
        }                                                             
      }                                                               
      else {                                                          
        if (0 != (fstab_ptr->report_reasons & FSMOUNT_MNT_OK)) {      
          fprintf(stdout,"fsmount: mounting of \"%s\" to"             
 2008810:	d4 07 40 00 	ld  [ %i5 ], %o2                               <== NOT EXECUTED
 2008814:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
 2008818:	d6 07 60 04 	ld  [ %i5 + 4 ], %o3                           <== NOT EXECUTED
 200881c:	40 01 02 f4 	call  20493ec <fprintf>                        <== NOT EXECUTED
 2008820:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
                  " \"%s\" succeeded\n",                              
                  fstab_ptr->source,                                  
                  fstab_ptr->target);                                 
        }                                                             
        if (0 != (fstab_ptr->abort_reasons & FSMOUNT_MNT_OK)) {       
 2008824:	10 bf ff e6 	b  20087bc <rtems_fsmount+0x13c>               <== NOT EXECUTED
 2008828:	c2 17 60 12 	lduh  [ %i5 + 0x12 ], %g1                      <== NOT EXECUTED
                                                                      

02004124 <rtems_gxx_key_create>: int rtems_gxx_key_create (__gthread_key_t *key, void (*dtor) (void *)) {
 2004124:	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 ) );
 2004128:	40 00 01 22 	call  20045b0 <malloc>                         
 200412c:	90 10 20 08 	mov  8, %o0                                    
  *key = new_key;                                                     
  new_key->val  = NULL;                                               
 2004130:	c0 22 00 00 	clr  [ %o0 ]                                   
   * 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 ) );
  *key = new_key;                                                     
 2004134:	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 ) );
 2004138:	ba 10 00 08 	mov  %o0, %i5                                  
  *key = new_key;                                                     
  new_key->val  = NULL;                                               
  new_key->dtor = dtor;                                               
 200413c:	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 );
 2004140:	92 10 00 1d 	mov  %i5, %o1                                  
 2004144:	90 10 20 00 	clr  %o0                                       
 2004148:	94 10 00 19 	mov  %i1, %o2                                  
 200414c:	40 00 12 e4 	call  2008cdc <rtems_task_variable_add>        
 2004150:	b0 10 20 00 	clr  %i0                                       
  if ( status == RTEMS_SUCCESSFUL )                                   
 2004154:	80 a2 20 00 	cmp  %o0, 0                                    
 2004158:	02 80 00 04 	be  2004168 <rtems_gxx_key_create+0x44>        <== ALWAYS TAKEN
 200415c:	90 10 00 1d 	mov  %i5, %o0                                  
    return 0;                                                         
                                                                      
  free( new_key );                                                    
 2004160:	7f ff ff 7d 	call  2003f54 <free>                           <== NOT EXECUTED
 2004164:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
  return -1;                                                          
}                                                                     
 2004168:	81 c7 e0 08 	ret                                            
 200416c:	81 e8 00 00 	restore                                        
                                                                      

0200417c <rtems_gxx_key_delete>: int rtems_gxx_key_delete (__gthread_key_t key) {
 200417c:	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 );    
 2004180:	90 10 20 00 	clr  %o0                                       
 2004184:	40 00 13 08 	call  2008da4 <rtems_task_variable_delete>     
 2004188:	92 10 00 18 	mov  %i0, %o1                                  
  if ( status == RTEMS_SUCCESSFUL ) {                                 
 200418c:	80 a2 20 00 	cmp  %o0, 0                                    
 2004190:	12 80 00 06 	bne  20041a8 <rtems_gxx_key_delete+0x2c>       <== NEVER TAKEN
 2004194:	80 a6 20 00 	cmp  %i0, 0                                    
    /* Hmm - hopefully all tasks using this key have gone away... */  
    if ( key ) free( *(void **)key );                                 
 2004198:	02 80 00 04 	be  20041a8 <rtems_gxx_key_delete+0x2c>        <== NEVER TAKEN
 200419c:	01 00 00 00 	nop                                            
 20041a0:	7f ff ff 6d 	call  2003f54 <free>                           
 20041a4:	d0 06 00 00 	ld  [ %i0 ], %o0                               
    return 0;                                                         
  }                                                                   
  key = NULL;                                                         
  return 0;                                                           
}                                                                     
 20041a8:	81 c7 e0 08 	ret                                            
 20041ac:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

020040b4 <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)) {
 20040b4:	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 ) {                    
 20040b8:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 20040bc:	80 a0 60 00 	cmp  %g1, 0                                    
 20040c0:	02 80 00 04 	be  20040d0 <rtems_gxx_once+0x1c>              
 20040c4:	92 10 21 00 	mov  0x100, %o1                                
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
 20040c8:	81 c7 e0 08 	ret                                            
 20040cc:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
 20040d0:	94 07 bf fc 	add  %fp, -4, %o2                              
 20040d4:	40 00 12 78 	call  2008ab4 <rtems_task_mode>                
 20040d8:	90 10 21 00 	mov  0x100, %o0                                
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
 20040dc:	c2 06 00 00 	ld  [ %i0 ], %g1                               
      *(volatile __gthread_once_t *)once = 1;                         
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 20040e0:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
 20040e4:	92 10 21 00 	mov  0x100, %o1                                
  if ( *(volatile __gthread_once_t *)once == 0 ) {                    
    rtems_mode saveMode;                                              
    __gthread_once_t o;                                               
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
 20040e8:	80 a0 60 00 	cmp  %g1, 0                                    
 20040ec:	12 80 00 0a 	bne  2004114 <rtems_gxx_once+0x60>             <== NEVER TAKEN
 20040f0:	94 07 bf fc 	add  %fp, -4, %o2                              
      *(volatile __gthread_once_t *)once = 1;                         
 20040f4:	82 10 20 01 	mov  1, %g1                                    
 20040f8:	c2 26 00 00 	st  %g1, [ %i0 ]                               
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 20040fc:	40 00 12 6e 	call  2008ab4 <rtems_task_mode>                
 2004100:	b0 10 20 00 	clr  %i0                                       
    if ( o == 0 )                                                     
      (*func)();                                                      
 2004104:	9f c6 40 00 	call  %i1                                      
 2004108:	01 00 00 00 	nop                                            
  }                                                                   
  return 0;                                                           
}                                                                     
 200410c:	81 c7 e0 08 	ret                                            
 2004110:	81 e8 00 00 	restore                                        
                                                                      
    rtems_task_mode(RTEMS_NO_PREEMPT, RTEMS_PREEMPT_MASK, &saveMode); 
    if ( (o = *(volatile __gthread_once_t *)once) == 0 ) {            
      *(volatile __gthread_once_t *)once = 1;                         
    }                                                                 
    rtems_task_mode(saveMode, RTEMS_PREEMPT_MASK, &saveMode);         
 2004114:	40 00 12 68 	call  2008ab4 <rtems_task_mode>                <== NOT EXECUTED
 2004118:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    if ( o == 0 )                                                     
      (*func)();                                                      
  }                                                                   
  return 0;                                                           
}                                                                     
 200411c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2004120:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02004218 <rtems_gxx_setspecific>: #endif return p; } int rtems_gxx_setspecific(__gthread_key_t key, const void *ptr) {
 2004218:	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 );
 200421c:	d4 06 20 04 	ld  [ %i0 + 4 ], %o2                           
 2004220:	90 10 20 00 	clr  %o0                                       
 2004224:	40 00 12 ae 	call  2008cdc <rtems_task_variable_add>        
 2004228:	92 10 00 18 	mov  %i0, %o1                                  
  if ( status == RTEMS_SUCCESSFUL ) {                                 
 200422c:	80 a2 20 00 	cmp  %o0, 0                                    
 2004230:	12 80 00 05 	bne  2004244 <rtems_gxx_setspecific+0x2c>      <== NEVER TAKEN
 2004234:	01 00 00 00 	nop                                            
    /* now let's set the proper value */                              
    key->val =  (void *)ptr;                                          
 2004238:	f2 26 00 00 	st  %i1, [ %i0 ]                               
    return 0;                                                         
 200423c:	81 c7 e0 08 	ret                                            
 2004240:	91 e8 20 00 	restore  %g0, 0, %o0                           
  }                                                                   
  return -1;                                                          
}                                                                     
 2004244:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2004248:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
                                                                      

020080b8 <rtems_heap_allocate_aligned_with_boundary>: void *rtems_heap_allocate_aligned_with_boundary( size_t size, uintptr_t alignment, uintptr_t boundary ) {
 20080b8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (                                                                
 20080bc:	03 00 80 96 	sethi  %hi(0x2025800), %g1                     
 20080c0:	c2 00 60 30 	ld  [ %g1 + 0x30 ], %g1	! 2025830 <_System_state_Current>
void *rtems_heap_allocate_aligned_with_boundary(                      
  size_t size,                                                        
  uintptr_t alignment,                                                
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
 20080c4:	ba 10 00 18 	mov  %i0, %i5                                  
 20080c8:	b8 10 00 19 	mov  %i1, %i4                                  
  if (                                                                
 20080cc:	80 a0 60 03 	cmp  %g1, 3                                    
 20080d0:	02 80 00 08 	be  20080f0 <rtems_heap_allocate_aligned_with_boundary+0x38><== ALWAYS TAKEN
 20080d4:	b6 10 00 1a 	mov  %i2, %i3                                  
      && !malloc_is_system_state_OK()                                 
  ) {                                                                 
    return NULL;                                                      
  }                                                                   
                                                                      
  malloc_deferred_frees_process();                                    
 20080d8:	7f ff fb d1 	call  200701c <malloc_deferred_frees_process>  
 20080dc:	b2 10 00 1d 	mov  %i5, %i1                                  
                                                                      
  /* FIXME: Statistics, boundary checks */                            
                                                                      
  return _Protected_heap_Allocate_aligned_with_boundary(              
 20080e0:	03 00 80 90 	sethi  %hi(0x2024000), %g1                     
 20080e4:	f0 00 61 10 	ld  [ %g1 + 0x110 ], %i0	! 2024110 <RTEMS_Malloc_Heap>
 20080e8:	40 00 18 fd 	call  200e4dc <_Protected_heap_Allocate_aligned_with_boundary>
 20080ec:	95 e8 00 1c 	restore  %g0, %i4, %o2                         
  uintptr_t boundary                                                  
)                                                                     
{                                                                     
  if (                                                                
    _System_state_Is_up( _System_state_Get() )                        
      && !malloc_is_system_state_OK()                                 
 20080f0:	7f ff fb b7 	call  2006fcc <malloc_is_system_state_OK>      
 20080f4:	01 00 00 00 	nop                                            
 20080f8:	80 8a 20 ff 	btst  0xff, %o0                                
 20080fc:	12 bf ff f7 	bne  20080d8 <rtems_heap_allocate_aligned_with_boundary+0x20>
 2008100:	b0 10 20 00 	clr  %i0                                       
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment,                                                        
    boundary                                                          
  );                                                                  
}                                                                     
 2008104:	81 c7 e0 08 	ret                                            
 2008108:	81 e8 00 00 	restore                                        
                                                                      

020052c4 <rtems_ide_part_table_free>: * N/A */ void rtems_ide_part_table_free(rtems_disk_desc_t *disk_desc) { partition_table_free( disk_desc );
 20052c4:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 20052c8:	7f ff fe bb 	call  2004db4 <partition_table_free>           <== NOT EXECUTED
 20052cc:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

020052d0 <rtems_ide_part_table_get>: * RTEMS_INTERNAL_ERROR otherwise */ rtems_status_code rtems_ide_part_table_get(const char *dev_name, rtems_disk_desc_t *disk_desc) { return partition_table_get( dev_name, disk_desc );
 20052d0:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 20052d4:	7f ff ff 89 	call  20050f8 <partition_table_get>            <== NOT EXECUTED
 20052d8:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

020052dc <rtems_ide_part_table_initialize>: * RTEMS_NO_MEMOTY if cannot have not enough memory, * RTEMS_INTERNAL_ERROR if other error occurs. */ rtems_status_code rtems_ide_part_table_initialize(const char *dev_name) {
 20052dc:	9d e3 bf 88 	save  %sp, -120, %sp                           
    rtems_part_desc_t          *part_desc;                            
                                                                      
    /* logical device name /dev/hdxyy */                              
    char                        name[RTEMS_IDE_PARTITION_DEV_NAME_LENGTH_MAX];
                                                                      
    disk_desc = (rtems_disk_desc_t *) calloc(1, sizeof(rtems_disk_desc_t));
 20052e0:	90 10 20 01 	mov  1, %o0                                    
 20052e4:	92 10 21 28 	mov  0x128, %o1                                
 20052e8:	40 00 02 1b 	call  2005b54 <calloc>                         
 20052ec:	b2 10 00 18 	mov  %i0, %i1                                  
    if (disk_desc == NULL)                                            
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
 20052f0:	b0 10 20 1a 	mov  0x1a, %i0                                 
                                                                      
    /* logical device name /dev/hdxyy */                              
    char                        name[RTEMS_IDE_PARTITION_DEV_NAME_LENGTH_MAX];
                                                                      
    disk_desc = (rtems_disk_desc_t *) calloc(1, sizeof(rtems_disk_desc_t));
    if (disk_desc == NULL)                                            
 20052f4:	80 a2 20 00 	cmp  %o0, 0                                    
 20052f8:	02 80 00 33 	be  20053c4 <rtems_ide_part_table_initialize+0xe8><== NEVER TAKEN
 20052fc:	b4 10 00 08 	mov  %o0, %i2                                  
    {                                                                 
        return RTEMS_NO_MEMORY;                                       
    }                                                                 
                                                                      
    /* get partition table */                                         
    rc = partition_table_get(dev_name, disk_desc);                    
 2005300:	90 10 00 19 	mov  %i1, %o0                                  
 2005304:	7f ff ff 7d 	call  20050f8 <partition_table_get>            
 2005308:	92 10 00 1a 	mov  %i2, %o1                                  
    if (rc != RTEMS_SUCCESSFUL)                                       
 200530c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2005310:	12 80 00 36 	bne  20053e8 <rtems_ide_part_table_initialize+0x10c><== NEVER TAKEN
 2005314:	ba 10 20 00 	clr  %i5                                       
     */                                                               
                                                                      
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
 2005318:	c2 06 a0 24 	ld  [ %i2 + 0x24 ], %g1                        
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
 200531c:	b6 07 bf f0 	add  %fp, -16, %i3                             
 2005320:	21 00 80 96 	sethi  %hi(0x2025800), %l0                     
                                                                      
        rc = rtems_disk_create_log(dev, disk_desc->dev, part_desc->start,
                                   part_desc->size, name);            
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            fprintf(stdout,"Cannot create device %s, error code %d\n", name, rc);
 2005324:	27 00 80 96 	sethi  %hi(0x2025800), %l3                     
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
 2005328:	a0 14 21 60 	or  %l0, 0x160, %l0                            
     */                                                               
                                                                      
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
 200532c:	80 a7 40 01 	cmp  %i5, %g1                                  
    /* To avoid device numbers conflicts we have to use for logic disk the same
     * device major number as ATA device has, and minor number that equals to
     * sum of logic disk partition number and the minor number of physical disk
     */                                                               
                                                                      
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
 2005330:	e4 06 80 00 	ld  [ %i2 ], %l2                               
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
 2005334:	ba 07 60 01 	inc  %i5                                       
    /* To avoid device numbers conflicts we have to use for logic disk the same
     * device major number as ATA device has, and minor number that equals to
     * sum of logic disk partition number and the minor number of physical disk
     */                                                               
                                                                      
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
 2005338:	e2 06 a0 04 	ld  [ %i2 + 4 ], %l1                           
 *      RTEMS_SUCCESSFUL if success,                                  
 *      RTEMS_NO_MEMOTY if cannot have not enough memory,             
 *      RTEMS_INTERNAL_ERROR if other error occurs.                   
 */                                                                   
rtems_status_code                                                     
rtems_ide_part_table_initialize(const char *dev_name)                 
 200533c:	b8 06 a0 28 	add  %i2, 0x28, %i4                            
                                                                      
        rc = rtems_disk_create_log(dev, disk_desc->dev, part_desc->start,
                                   part_desc->size, name);            
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            fprintf(stdout,"Cannot create device %s, error code %d\n", name, rc);
 2005340:	29 00 80 9e 	sethi  %hi(0x2027800), %l4                     
 2005344:	a6 14 e1 68 	or  %l3, 0x168, %l3                            
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
 2005348:	92 10 00 10 	mov  %l0, %o1                                  
 200534c:	94 10 00 19 	mov  %i1, %o2                                  
 2005350:	90 10 00 1b 	mov  %i3, %o0                                  
     */                                                               
                                                                      
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
 2005354:	16 80 00 1a 	bge  20053bc <rtems_ide_part_table_initialize+0xe0><== NEVER TAKEN
 2005358:	96 10 00 1d 	mov  %i5, %o3                                  
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
 200535c:	40 00 48 17 	call  20173b8 <sprintf>                        
 2005360:	01 00 00 00 	nop                                            
        dev = rtems_filesystem_make_dev_t(major, ++minor);            
                                                                      
        part_desc = disk_desc->partitions[part_num];                  
 2005364:	c2 07 00 00 	ld  [ %i4 ], %g1                               
        if (part_desc == NULL)                                        
        {                                                             
            continue;                                                 
        }                                                             
                                                                      
        rc = rtems_disk_create_log(dev, disk_desc->dev, part_desc->start,
 2005368:	90 10 00 12 	mov  %l2, %o0                                  
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
        dev = rtems_filesystem_make_dev_t(major, ++minor);            
                                                                      
        part_desc = disk_desc->partitions[part_num];                  
        if (part_desc == NULL)                                        
 200536c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005370:	02 80 00 0a 	be  2005398 <rtems_ide_part_table_initialize+0xbc>
 2005374:	92 07 40 11 	add  %i5, %l1, %o1                             
        {                                                             
            continue;                                                 
        }                                                             
                                                                      
        rc = rtems_disk_create_log(dev, disk_desc->dev, part_desc->start,
 2005378:	d8 00 60 04 	ld  [ %g1 + 4 ], %o4                           
 200537c:	da 00 60 08 	ld  [ %g1 + 8 ], %o5                           
 2005380:	d4 1e 80 00 	ldd  [ %i2 ], %o2                              
 2005384:	7f ff fd 47 	call  20048a0 <rtems_disk_create_log>          
 2005388:	f6 23 a0 5c 	st  %i3, [ %sp + 0x5c ]                        
                                   part_desc->size, name);            
        if (rc != RTEMS_SUCCESSFUL)                                   
 200538c:	96 92 20 00 	orcc  %o0, 0, %o3                              
 2005390:	12 80 00 0f 	bne  20053cc <rtems_ide_part_table_initialize+0xf0><== NEVER TAKEN
 2005394:	c2 05 21 70 	ld  [ %l4 + 0x170 ], %g1                       
 2005398:	b8 07 20 04 	add  %i4, 4, %i4                               
     */                                                               
                                                                      
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
 200539c:	c2 06 a0 24 	ld  [ %i2 + 0x24 ], %g1                        
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
 20053a0:	92 10 00 10 	mov  %l0, %o1                                  
     */                                                               
                                                                      
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
 20053a4:	80 a7 40 01 	cmp  %i5, %g1                                  
    {                                                                 
        sprintf(name, "%s%d", dev_name, part_num + 1);                
 20053a8:	94 10 00 19 	mov  %i1, %o2                                  
 20053ac:	ba 07 60 01 	inc  %i5                                       
 20053b0:	90 10 00 1b 	mov  %i3, %o0                                  
     */                                                               
                                                                      
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
 20053b4:	06 bf ff ea 	bl  200535c <rtems_ide_part_table_initialize+0x80>
 20053b8:	96 10 00 1d 	mov  %i5, %o3                                  
            fprintf(stdout,"Cannot create device %s, error code %d\n", name, rc);
            continue;                                                 
        }                                                             
    }                                                                 
                                                                      
    partition_table_free(disk_desc);                                  
 20053bc:	7f ff fe 7e 	call  2004db4 <partition_table_free>           
 20053c0:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
    return RTEMS_SUCCESSFUL;                                          
}                                                                     
 20053c4:	81 c7 e0 08 	ret                                            
 20053c8:	81 e8 00 00 	restore                                        
                                                                      
        rc = rtems_disk_create_log(dev, disk_desc->dev, part_desc->start,
                                   part_desc->size, name);            
        if (rc != RTEMS_SUCCESSFUL)                                   
        {                                                             
            fprintf(stdout,"Cannot create device %s, error code %d\n", name, rc);
 20053cc:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
 20053d0:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
 20053d4:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 20053d8:	40 00 45 6a 	call  2016980 <fprintf>                        <== NOT EXECUTED
 20053dc:	b8 07 20 04 	add  %i4, 4, %i4                               <== NOT EXECUTED
     */                                                               
                                                                      
    rtems_filesystem_split_dev_t (disk_desc->dev, major, minor);      
                                                                      
    /* create logical disks on the physical one */                    
    for (part_num = 0; part_num < disk_desc->last_log_id; part_num++) 
 20053e0:	10 bf ff f0 	b  20053a0 <rtems_ide_part_table_initialize+0xc4><== NOT EXECUTED
 20053e4:	c2 06 a0 24 	ld  [ %i2 + 0x24 ], %g1                        <== NOT EXECUTED
                                                                      
    /* get partition table */                                         
    rc = partition_table_get(dev_name, disk_desc);                    
    if (rc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
        free(disk_desc);                                              
 20053e8:	40 00 02 ad 	call  2005e9c <free>                           <== NOT EXECUTED
 20053ec:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 20053f0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20053f4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02009950 <rtems_io_register_driver>: rtems_status_code rtems_io_register_driver( rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major ) {
 2009950:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
 2009954:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
 2009958:	c4 00 63 88 	ld  [ %g1 + 0x388 ], %g2	! 2023388 <_Per_CPU_Information+0x8>
rtems_status_code rtems_io_register_driver(                           
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
 200995c:	ba 10 00 18 	mov  %i0, %i5                                  
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
 2009960:	03 00 80 8d 	sethi  %hi(0x2023400), %g1                     
rtems_status_code rtems_io_register_driver(                           
  rtems_device_major_number         major,                            
  const rtems_driver_address_table *driver_table,                     
  rtems_device_major_number        *registered_major                  
)                                                                     
{                                                                     
 2009964:	86 10 00 19 	mov  %i1, %g3                                  
  rtems_device_major_number major_limit = _IO_Number_of_drivers;      
 2009968:	c8 00 63 c4 	ld  [ %g1 + 0x3c4 ], %g4                       
                                                                      
  if ( rtems_interrupt_is_in_progress() )                             
 200996c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009970:	12 80 00 20 	bne  20099f0 <rtems_io_register_driver+0xa0>   
 2009974:	b0 10 20 12 	mov  0x12, %i0                                 
    return RTEMS_CALLED_FROM_ISR;                                     
                                                                      
  if ( registered_major == NULL )                                     
 2009978:	80 a6 a0 00 	cmp  %i2, 0                                    
 200997c:	02 80 00 22 	be  2009a04 <rtems_io_register_driver+0xb4>    
 2009980:	80 a6 60 00 	cmp  %i1, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  /* Set it to an invalid value */                                    
  *registered_major = major_limit;                                    
                                                                      
  if ( driver_table == NULL )                                         
 2009984:	02 80 00 20 	be  2009a04 <rtems_io_register_driver+0xb4>    
 2009988:	c8 26 80 00 	st  %g4, [ %i2 ]                               
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 200998c:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 2009990:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009994:	22 80 00 19 	be,a   20099f8 <rtems_io_register_driver+0xa8> 
 2009998:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( major >= major_limit )                                         
 200999c:	80 a1 00 1d 	cmp  %g4, %i5                                  
 20099a0:	08 80 00 14 	bleu  20099f0 <rtems_io_register_driver+0xa0>  
 20099a4:	b0 10 20 0a 	mov  0xa, %i0                                  
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 20099a8:	05 00 80 8b 	sethi  %hi(0x2022c00), %g2                     
 20099ac:	c8 00 a2 50 	ld  [ %g2 + 0x250 ], %g4	! 2022e50 <_Thread_Dispatch_disable_level>
 20099b0:	88 01 20 01 	inc  %g4                                       
 20099b4:	c8 20 a2 50 	st  %g4, [ %g2 + 0x250 ]                       
    return _Thread_Dispatch_disable_level;                            
 20099b8:	c4 00 a2 50 	ld  [ %g2 + 0x250 ], %g2                       
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( major == 0 ) {                                                 
 20099bc:	80 a7 60 00 	cmp  %i5, 0                                    
 20099c0:	02 80 00 13 	be  2009a0c <rtems_io_register_driver+0xbc>    
 20099c4:	39 00 80 8d 	sethi  %hi(0x2023400), %i4                     
      _Thread_Enable_dispatch();                                      
      return sc;                                                      
    }                                                                 
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
 20099c8:	c8 07 23 c8 	ld  [ %i4 + 0x3c8 ], %g4	! 20237c8 <_IO_Driver_address_table>
 20099cc:	85 2f 60 03 	sll  %i5, 3, %g2                               
 20099d0:	b7 2f 60 05 	sll  %i5, 5, %i3                               
 20099d4:	82 26 c0 02 	sub  %i3, %g2, %g1                             
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 20099d8:	f2 01 00 01 	ld  [ %g4 + %g1 ], %i1                         
 20099dc:	80 a6 60 00 	cmp  %i1, 0                                    
 20099e0:	02 80 00 3a 	be  2009ac8 <rtems_io_register_driver+0x178>   
 20099e4:	82 01 00 01 	add  %g4, %g1, %g1                             
    major = *registered_major;                                        
  } else {                                                            
    rtems_driver_address_table *const table = _IO_Driver_address_table + major;
                                                                      
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
 20099e8:	40 00 08 6a 	call  200bb90 <_Thread_Enable_dispatch>        
 20099ec:	b0 10 20 0c 	mov  0xc, %i0                                  
      return RTEMS_RESOURCE_IN_USE;                                   
 20099f0:	81 c7 e0 08 	ret                                            
 20099f4:	81 e8 00 00 	restore                                        
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 20099f8:	80 a0 a0 00 	cmp  %g2, 0                                    
 20099fc:	12 bf ff e9 	bne  20099a0 <rtems_io_register_driver+0x50>   
 2009a00:	80 a1 00 1d 	cmp  %g4, %i5                                  
                                                                      
  if ( driver_table == NULL )                                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( rtems_io_is_empty_table( driver_table ) )                      
    return RTEMS_INVALID_ADDRESS;                                     
 2009a04:	81 c7 e0 08 	ret                                            
 2009a08:	91 e8 20 09 	restore  %g0, 9, %o0                           
                                                                      
static rtems_status_code rtems_io_obtain_major_number(                
  rtems_device_major_number *major                                    
)                                                                     
{                                                                     
  rtems_device_major_number n = _IO_Number_of_drivers;                
 2009a0c:	c8 00 63 c4 	ld  [ %g1 + 0x3c4 ], %g4                       
  rtems_device_major_number m = 0;                                    
                                                                      
  /* major is error checked by caller */                              
                                                                      
  for ( m = 0; m < n; ++m ) {                                         
 2009a10:	80 a1 20 00 	cmp  %g4, 0                                    
 2009a14:	02 80 00 33 	be  2009ae0 <rtems_io_register_driver+0x190>   <== NEVER TAKEN
 2009a18:	c2 07 23 c8 	ld  [ %i4 + 0x3c8 ], %g1                       
 2009a1c:	30 80 00 04 	b,a   2009a2c <rtems_io_register_driver+0xdc>  
 2009a20:	80 a7 40 04 	cmp  %i5, %g4                                  
 2009a24:	02 80 00 24 	be  2009ab4 <rtems_io_register_driver+0x164>   
 2009a28:	82 00 60 18 	add  %g1, 0x18, %g1                            
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 2009a2c:	c4 00 40 00 	ld  [ %g1 ], %g2                               
 2009a30:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009a34:	32 bf ff fb 	bne,a   2009a20 <rtems_io_register_driver+0xd0>
 2009a38:	ba 07 60 01 	inc  %i5                                       
 2009a3c:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 2009a40:	80 a0 a0 00 	cmp  %g2, 0                                    
 2009a44:	32 bf ff f7 	bne,a   2009a20 <rtems_io_register_driver+0xd0>
 2009a48:	ba 07 60 01 	inc  %i5                                       
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
 2009a4c:	fa 26 80 00 	st  %i5, [ %i2 ]                               
 2009a50:	85 2f 60 03 	sll  %i5, 3, %g2                               
                                                                      
  if ( m != n )                                                       
 2009a54:	80 a1 00 1d 	cmp  %g4, %i5                                  
 2009a58:	02 80 00 18 	be  2009ab8 <rtems_io_register_driver+0x168>   <== NEVER TAKEN
 2009a5c:	b7 2f 60 05 	sll  %i5, 5, %i3                               
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
 2009a60:	c8 00 c0 00 	ld  [ %g3 ], %g4                               
 2009a64:	c2 07 23 c8 	ld  [ %i4 + 0x3c8 ], %g1                       
 2009a68:	84 26 c0 02 	sub  %i3, %g2, %g2                             
 2009a6c:	c8 20 40 02 	st  %g4, [ %g1 + %g2 ]                         
 2009a70:	c8 00 e0 04 	ld  [ %g3 + 4 ], %g4                           
 2009a74:	82 00 40 02 	add  %g1, %g2, %g1                             
 2009a78:	c8 20 60 04 	st  %g4, [ %g1 + 4 ]                           
 2009a7c:	c4 00 e0 08 	ld  [ %g3 + 8 ], %g2                           
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 2009a80:	b2 10 20 00 	clr  %i1                                       
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
 2009a84:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
 2009a88:	c4 00 e0 0c 	ld  [ %g3 + 0xc ], %g2                         
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 2009a8c:	b4 10 20 00 	clr  %i2                                       
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
 2009a90:	c4 20 60 0c 	st  %g2, [ %g1 + 0xc ]                         
 2009a94:	c4 00 e0 10 	ld  [ %g3 + 0x10 ], %g2                        
                                                                      
  _Thread_Enable_dispatch();                                          
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 2009a98:	b0 10 00 1d 	mov  %i5, %i0                                  
    }                                                                 
                                                                      
    *registered_major = major;                                        
  }                                                                   
                                                                      
  _IO_Driver_address_table [major] = *driver_table;                   
 2009a9c:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
 2009aa0:	c4 00 e0 14 	ld  [ %g3 + 0x14 ], %g2                        
                                                                      
  _Thread_Enable_dispatch();                                          
 2009aa4:	40 00 08 3b 	call  200bb90 <_Thread_Enable_dispatch>        
 2009aa8:	c4 20 60 14 	st  %g2, [ %g1 + 0x14 ]                        
                                                                      
  return rtems_io_initialize( major, 0, NULL );                       
 2009aac:	40 00 22 81 	call  20124b0 <rtems_io_initialize>            
 2009ab0:	81 e8 00 00 	restore                                        
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
 2009ab4:	fa 26 80 00 	st  %i5, [ %i2 ]                               
                                                                      
  if ( major == 0 ) {                                                 
    rtems_status_code sc = rtems_io_obtain_major_number( registered_major );
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
      _Thread_Enable_dispatch();                                      
 2009ab8:	40 00 08 36 	call  200bb90 <_Thread_Enable_dispatch>        
 2009abc:	b0 10 20 05 	mov  5, %i0                                    
      return sc;                                                      
 2009ac0:	81 c7 e0 08 	ret                                            
 2009ac4:	81 e8 00 00 	restore                                        
                                                                      
static inline bool rtems_io_is_empty_table(                           
  const rtems_driver_address_table *table                             
)                                                                     
{                                                                     
  return table->initialization_entry == NULL && table->open_entry == NULL;
 2009ac8:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2009acc:	80 a0 60 00 	cmp  %g1, 0                                    
 2009ad0:	12 bf ff c6 	bne  20099e8 <rtems_io_register_driver+0x98>   
 2009ad4:	01 00 00 00 	nop                                            
    if ( !rtems_io_is_empty_table( table ) ) {                        
      _Thread_Enable_dispatch();                                      
      return RTEMS_RESOURCE_IN_USE;                                   
    }                                                                 
                                                                      
    *registered_major = major;                                        
 2009ad8:	10 bf ff e2 	b  2009a60 <rtems_io_register_driver+0x110>    
 2009adc:	fa 26 80 00 	st  %i5, [ %i2 ]                               
    if ( rtems_io_is_empty_table( table ) )                           
      break;                                                          
  }                                                                   
                                                                      
  /* Assigns invalid value in case of failure */                      
  *major = m;                                                         
 2009ae0:	10 bf ff f6 	b  2009ab8 <rtems_io_register_driver+0x168>    <== NOT EXECUTED
 2009ae4:	c0 26 80 00 	clr  [ %i2 ]                                   <== NOT EXECUTED
                                                                      

0200ab54 <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) {
 200ab54:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t             i;                                             
  uint32_t             api_index;                                     
  Thread_Control      *the_thread;                                    
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
 200ab58:	80 a6 20 00 	cmp  %i0, 0                                    
 200ab5c:	02 80 00 20 	be  200abdc <rtems_iterate_over_all_threads+0x88><== NEVER TAKEN
 200ab60:	37 00 80 84 	sethi  %hi(0x2021000), %i3                     
 200ab64:	b6 16 e2 88 	or  %i3, 0x288, %i3	! 2021288 <_Objects_Information_table+0x4>
#endif                                                                
                                                                      
#include <rtems/system.h>                                             
#include <rtems/score/thread.h>                                       
                                                                      
void rtems_iterate_over_all_threads(rtems_per_thread_routine routine) 
 200ab68:	b4 06 e0 0c 	add  %i3, 0xc, %i2                             
    #if !defined(RTEMS_POSIX_API) || defined(RTEMS_DEBUG)             
      if ( !_Objects_Information_table[ api_index ] )                 
        continue;                                                     
    #endif                                                            
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
 200ab6c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 200ab70:	f8 00 60 04 	ld  [ %g1 + 4 ], %i4                           
    if ( !information )                                               
 200ab74:	80 a7 20 00 	cmp  %i4, 0                                    
 200ab78:	22 80 00 16 	be,a   200abd0 <rtems_iterate_over_all_threads+0x7c>
 200ab7c:	b6 06 e0 04 	add  %i3, 4, %i3                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 200ab80:	c2 17 20 10 	lduh  [ %i4 + 0x10 ], %g1                      
 200ab84:	86 90 60 00 	orcc  %g1, 0, %g3                              
 200ab88:	22 80 00 12 	be,a   200abd0 <rtems_iterate_over_all_threads+0x7c>
 200ab8c:	b6 06 e0 04 	add  %i3, 4, %i3                               
 200ab90:	ba 10 20 01 	mov  1, %i5                                    
      the_thread = (Thread_Control *)information->local_table[ i ];   
 200ab94:	c4 07 20 1c 	ld  [ %i4 + 0x1c ], %g2                        
 200ab98:	83 2f 60 02 	sll  %i5, 2, %g1                               
 200ab9c:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         
                                                                      
      if ( !the_thread )                                              
 200aba0:	90 90 60 00 	orcc  %g1, 0, %o0                              
 200aba4:	02 80 00 05 	be  200abb8 <rtems_iterate_over_all_threads+0x64>
 200aba8:	ba 07 60 01 	inc  %i5                                       
	continue;                                                            
                                                                      
      (*routine)(the_thread);                                         
 200abac:	9f c6 00 00 	call  %i0                                      
 200abb0:	01 00 00 00 	nop                                            
 200abb4:	c6 17 20 10 	lduh  [ %i4 + 0x10 ], %g3                      
                                                                      
    information = _Objects_Information_table[ api_index ][ 1 ];       
    if ( !information )                                               
      continue;                                                       
                                                                      
    for ( i=1 ; i <= information->maximum ; i++ ) {                   
 200abb8:	83 28 e0 10 	sll  %g3, 0x10, %g1                            
 200abbc:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 200abc0:	80 a0 40 1d 	cmp  %g1, %i5                                  
 200abc4:	3a bf ff f5 	bcc,a   200ab98 <rtems_iterate_over_all_threads+0x44>
 200abc8:	c4 07 20 1c 	ld  [ %i4 + 0x1c ], %g2                        
 200abcc:	b6 06 e0 04 	add  %i3, 4, %i3                               
  Objects_Information *information;                                   
                                                                      
  if ( !routine )                                                     
    return;                                                           
                                                                      
  for ( api_index = 1 ; api_index <= OBJECTS_APIS_LAST ; api_index++ ) {
 200abd0:	80 a6 c0 1a 	cmp  %i3, %i2                                  
 200abd4:	32 bf ff e7 	bne,a   200ab70 <rtems_iterate_over_all_threads+0x1c>
 200abd8:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 200abdc:	81 c7 e0 08 	ret                                            
 200abe0:	81 e8 00 00 	restore                                        
                                                                      

02003a44 <rtems_libio_init>: * * Called by BSP startup code to initialize the libio subsystem. */ void rtems_libio_init( void ) {
 2003a44:	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)                                  
 2003a48:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2003a4c:	fa 00 60 00 	ld  [ %g1 ], %i5                               
 2003a50:	80 a7 60 00 	cmp  %i5, 0                                    
 2003a54:	02 80 00 1b 	be  2003ac0 <rtems_libio_init+0x7c>            <== NEVER TAKEN
 2003a58:	92 10 20 01 	mov  1, %o1                                    
    {                                                                 
        rtems_libio_iops = (rtems_libio_t *) calloc(rtems_libio_number_iops,
 2003a5c:	90 10 00 1d 	mov  %i5, %o0                                  
 2003a60:	7f ff fe f1 	call  2003624 <calloc>                         
 2003a64:	92 10 20 38 	mov  0x38, %o1                                 
 2003a68:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
                                                    sizeof(rtems_libio_t));
        if (rtems_libio_iops == NULL)                                 
 2003a6c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003a70:	02 80 00 28 	be  2003b10 <rtems_libio_init+0xcc>            
 2003a74:	d0 20 63 18 	st  %o0, [ %g1 + 0x318 ]                       
            rtems_fatal_error_occurred(RTEMS_NO_MEMORY);              
                                                                      
        iop = rtems_libio_iop_freelist = rtems_libio_iops;            
 2003a78:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)  
 2003a7c:	80 a7 60 01 	cmp  %i5, 1                                    
 2003a80:	08 80 00 0e 	bleu  2003ab8 <rtems_libio_init+0x74>          
 2003a84:	d0 20 63 1c 	st  %o0, [ %g1 + 0x31c ]                       
 2003a88:	82 10 00 08 	mov  %o0, %g1                                  
 2003a8c:	84 10 20 01 	mov  1, %g2                                    
          iop->data1 = iop + 1;                                       
 2003a90:	82 00 60 38 	add  %g1, 0x38, %g1                            
                                                    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++)  
 2003a94:	84 00 a0 01 	inc  %g2                                       
 2003a98:	80 a0 80 1d 	cmp  %g2, %i5                                  
 2003a9c:	12 bf ff fd 	bne  2003a90 <rtems_libio_init+0x4c>           
 2003aa0:	c2 20 7f f8 	st  %g1, [ %g1 + -8 ]                          
 *  rtems_libio_init                                                  
 *                                                                    
 *  Called by BSP startup code to initialize the libio subsystem.     
 */                                                                   
                                                                      
void rtems_libio_init( void )                                         
 2003aa4:	84 00 bf ff 	add  %g2, -1, %g2                              
 2003aa8:	83 28 a0 03 	sll  %g2, 3, %g1                               
 2003aac:	85 28 a0 06 	sll  %g2, 6, %g2                               
 2003ab0:	84 20 80 01 	sub  %g2, %g1, %g2                             
 2003ab4:	90 02 00 02 	add  %o0, %g2, %o0                             
            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;                                            
 2003ab8:	c0 22 20 30 	clr  [ %o0 + 0x30 ]                            
  /*                                                                  
   *  Create the binary semaphore used to provide mutual exclusion    
   *  on the IOP Table.                                               
   */                                                                 
                                                                      
  rc = rtems_semaphore_create(                                        
 2003abc:	92 10 20 01 	mov  1, %o1                                    
 2003ac0:	11 13 10 92 	sethi  %hi(0x4c424800), %o0                    
 2003ac4:	94 10 20 54 	mov  0x54, %o2                                 
 2003ac8:	90 12 21 4f 	or  %o0, 0x14f, %o0                            
 2003acc:	96 10 20 00 	clr  %o3                                       
 2003ad0:	19 00 80 79 	sethi  %hi(0x201e400), %o4                     
 2003ad4:	40 00 10 0a 	call  2007afc <rtems_semaphore_create>         
 2003ad8:	98 13 23 20 	or  %o4, 0x320, %o4	! 201e720 <rtems_libio_semaphore>
    1,                                                                
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
 2003adc:	80 a2 20 00 	cmp  %o0, 0                                    
 2003ae0:	12 80 00 0a 	bne  2003b08 <rtems_libio_init+0xc4>           <== NEVER TAKEN
 2003ae4:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
                                                                      
  /*                                                                  
   *  Initialize the base file system infrastructure.                 
   */                                                                 
                                                                      
  if (rtems_fs_init_helper)                                           
 2003ae8:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1	! 201dc04 <rtems_fs_init_helper>
 2003aec:	80 a0 60 00 	cmp  %g1, 0                                    
 2003af0:	02 80 00 04 	be  2003b00 <rtems_libio_init+0xbc>            
 2003af4:	01 00 00 00 	nop                                            
     (* rtems_fs_init_helper)();                                      
 2003af8:	9f c0 40 00 	call  %g1                                      
 2003afc:	01 00 00 00 	nop                                            
 2003b00:	81 c7 e0 08 	ret                                            
 2003b04:	81 e8 00 00 	restore                                        
    RTEMS_BINARY_SEMAPHORE | RTEMS_INHERIT_PRIORITY | RTEMS_PRIORITY, 
    RTEMS_NO_PRIORITY,                                                
    &rtems_libio_semaphore                                            
  );                                                                  
  if ( rc != RTEMS_SUCCESSFUL )                                       
    rtems_fatal_error_occurred( rc );                                 
 2003b08:	40 00 12 73 	call  20084d4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2003b0c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    if (rtems_libio_number_iops > 0)                                  
    {                                                                 
        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);              
 2003b10:	40 00 12 71 	call  20084d4 <rtems_fatal_error_occurred>     
 2003b14:	90 10 20 1a 	mov  0x1a, %o0	! 1a <PROM_START+0x1a>          
                                                                      

0202cd00 <rtems_libio_set_private_env>: } rtems_status_code rtems_libio_set_private_env(void) {
 202cd00:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id self_task_id = rtems_task_self();                          
 202cd04:	7f ff 86 22 	call  200e58c <rtems_task_self>                
 202cd08:	37 00 81 c6 	sethi  %hi(0x2071800), %i3                     
  rtems_user_env_t *old_env = rtems_current_user_env;                 
 202cd0c:	fa 06 e3 7c 	ld  [ %i3 + 0x37c ], %i5	! 2071b7c <rtems_current_user_env>
  bool uses_global_env = old_env == &rtems_global_user_env;           
  bool uses_shared_env = old_env->task_id != self_task_id;            
 202cd10:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
                                                                      
  if (uses_global_env || uses_shared_env) {                           
 202cd14:	80 a0 40 08 	cmp  %g1, %o0                                  
 202cd18:	12 80 00 07 	bne  202cd34 <rtems_libio_set_private_env+0x34>
 202cd1c:	b8 10 00 08 	mov  %o0, %i4                                  
rtems_status_code rtems_libio_set_private_env(void)                   
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id self_task_id = rtems_task_self();                          
  rtems_user_env_t *old_env = rtems_current_user_env;                 
  bool uses_global_env = old_env == &rtems_global_user_env;           
 202cd20:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 202cd24:	82 10 63 80 	or  %g1, 0x380, %g1	! 2071b80 <rtems_global_user_env>
  bool uses_shared_env = old_env->task_id != self_task_id;            
                                                                      
  if (uses_global_env || uses_shared_env) {                           
 202cd28:	80 a7 40 01 	cmp  %i5, %g1                                  
 202cd2c:	12 80 00 2a 	bne  202cdd4 <rtems_libio_set_private_env+0xd4><== ALWAYS TAKEN
 202cd30:	b0 10 20 00 	clr  %i0                                       
    rtems_user_env_t *new_env = calloc(1, sizeof(*new_env));          
 202cd34:	90 10 20 01 	mov  1, %o0                                    
 202cd38:	92 10 20 2c 	mov  0x2c, %o1                                 
 202cd3c:	7f ff 70 93 	call  2008f88 <calloc>                         
 202cd40:	b0 10 20 1a 	mov  0x1a, %i0                                 
                                                                      
    if (new_env != NULL) {                                            
 202cd44:	80 a2 20 00 	cmp  %o0, 0                                    
 202cd48:	02 80 00 23 	be  202cdd4 <rtems_libio_set_private_env+0xd4> 
 202cd4c:	b4 10 00 08 	mov  %o0, %i2                                  
      *new_env = *old_env;                                            
 202cd50:	92 10 00 1d 	mov  %i5, %o1                                  
 202cd54:	40 00 7c 2c 	call  204be04 <memcpy>                         
 202cd58:	94 10 20 2c 	mov  0x2c, %o2                                 
      new_env->reference_count = 1;                                   
 202cd5c:	82 10 20 01 	mov  1, %g1                                    
      new_env->task_id = self_task_id;                                
      new_env->root_directory =                                       
        rtems_filesystem_global_location_obtain(&old_env->root_directory);
 202cd60:	90 07 60 04 	add  %i5, 4, %o0                               
  if (uses_global_env || uses_shared_env) {                           
    rtems_user_env_t *new_env = calloc(1, sizeof(*new_env));          
                                                                      
    if (new_env != NULL) {                                            
      *new_env = *old_env;                                            
      new_env->reference_count = 1;                                   
 202cd64:	c2 26 a0 28 	st  %g1, [ %i2 + 0x28 ]                        
      new_env->task_id = self_task_id;                                
      new_env->root_directory =                                       
        rtems_filesystem_global_location_obtain(&old_env->root_directory);
 202cd68:	7f ff 79 3f 	call  200b264 <rtems_filesystem_global_location_obtain>
 202cd6c:	f8 26 a0 24 	st  %i4, [ %i2 + 0x24 ]                        
                                                                      
    if (new_env != NULL) {                                            
      *new_env = *old_env;                                            
      new_env->reference_count = 1;                                   
      new_env->task_id = self_task_id;                                
      new_env->root_directory =                                       
 202cd70:	d0 26 a0 04 	st  %o0, [ %i2 + 4 ]                           
        rtems_filesystem_global_location_obtain(&old_env->root_directory);
      new_env->current_directory =                                    
        rtems_filesystem_global_location_obtain(&old_env->current_directory);
 202cd74:	7f ff 79 3c 	call  200b264 <rtems_filesystem_global_location_obtain>
 202cd78:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
static inline bool rtems_filesystem_location_is_null(                 
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  return loc->handlers == &rtems_filesystem_null_handlers;            
 202cd7c:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
      *new_env = *old_env;                                            
      new_env->reference_count = 1;                                   
      new_env->task_id = self_task_id;                                
      new_env->root_directory =                                       
        rtems_filesystem_global_location_obtain(&old_env->root_directory);
      new_env->current_directory =                                    
 202cd80:	d0 26 80 00 	st  %o0, [ %i2 ]                               
        rtems_filesystem_global_location_obtain(&old_env->current_directory);
                                                                      
      if (                                                            
 202cd84:	c4 00 60 10 	ld  [ %g1 + 0x10 ], %g2                        
 202cd88:	03 00 81 97 	sethi  %hi(0x2065c00), %g1                     
 202cd8c:	82 10 62 04 	or  %g1, 0x204, %g1	! 2065e04 <rtems_filesystem_null_handlers>
 202cd90:	80 a0 80 01 	cmp  %g2, %g1                                  
 202cd94:	22 80 00 0e 	be,a   202cdcc <rtems_libio_set_private_env+0xcc>
 202cd98:	b0 10 20 0d 	mov  0xd, %i0                                  
        !rtems_filesystem_global_location_is_null(new_env->root_directory)
          && !rtems_filesystem_global_location_is_null(new_env->current_directory)
 202cd9c:	c4 02 20 10 	ld  [ %o0 + 0x10 ], %g2                        
 202cda0:	80 a0 80 01 	cmp  %g2, %g1                                  
 202cda4:	02 80 00 0e 	be  202cddc <rtems_libio_set_private_env+0xdc> <== NEVER TAKEN
 202cda8:	90 10 20 00 	clr  %o0                                       
      ) {                                                             
        sc = rtems_task_variable_add(                                 
 202cdac:	92 16 e3 7c 	or  %i3, 0x37c, %o1                            
 202cdb0:	15 00 80 b3 	sethi  %hi(0x202cc00), %o2                     
 202cdb4:	40 00 08 19 	call  202ee18 <rtems_task_variable_add>        
 202cdb8:	94 12 a0 8c 	or  %o2, 0x8c, %o2	! 202cc8c <free_user_env>   
          RTEMS_SELF,                                                 
          (void **) &rtems_current_user_env,                          
          free_user_env                                               
        );                                                            
        if (sc == RTEMS_SUCCESSFUL) {                                 
 202cdbc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 202cdc0:	02 80 00 09 	be  202cde4 <rtems_libio_set_private_env+0xe4> 
 202cdc4:	01 00 00 00 	nop                                            
          free_user_env_protected(old_env);                           
          rtems_current_user_env = new_env;                           
        } else {                                                      
          sc = RTEMS_TOO_MANY;                                        
 202cdc8:	b0 10 20 05 	mov  5, %i0	! 5 <PROM_START+0x5>               
      } else {                                                        
        sc = RTEMS_UNSATISFIED;                                       
      }                                                               
                                                                      
      if (sc != RTEMS_SUCCESSFUL) {                                   
        free_user_env(new_env);                                       
 202cdcc:	7f ff ff b0 	call  202cc8c <free_user_env>                  
 202cdd0:	90 10 00 1a 	mov  %i2, %o0                                  
      sc = RTEMS_NO_MEMORY;                                           
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
 202cdd4:	81 c7 e0 08 	ret                                            
 202cdd8:	81 e8 00 00 	restore                                        
          rtems_current_user_env = new_env;                           
        } else {                                                      
          sc = RTEMS_TOO_MANY;                                        
        }                                                             
      } else {                                                        
        sc = RTEMS_UNSATISFIED;                                       
 202cddc:	10 bf ff fc 	b  202cdcc <rtems_libio_set_private_env+0xcc>  <== NOT EXECUTED
 202cde0:	b0 10 20 0d 	mov  0xd, %i0                                  <== NOT EXECUTED
          RTEMS_SELF,                                                 
          (void **) &rtems_current_user_env,                          
          free_user_env                                               
        );                                                            
        if (sc == RTEMS_SUCCESSFUL) {                                 
          free_user_env_protected(old_env);                           
 202cde4:	7f ff ff bd 	call  202ccd8 <free_user_env_protected>        
 202cde8:	90 10 00 1d 	mov  %i5, %o0                                  
          rtems_current_user_env = new_env;                           
 202cdec:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 202cdf0:	f4 20 63 7c 	st  %i2, [ %g1 + 0x37c ]	! 2071b7c <rtems_current_user_env>
 202cdf4:	81 c7 e0 08 	ret                                            
 202cdf8:	81 e8 00 00 	restore                                        
                                                                      

0202cdfc <rtems_libio_share_private_env>: return sc; } rtems_status_code rtems_libio_share_private_env(rtems_id task_id) {
 202cdfc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_id self_task_id = rtems_task_self();                          
 202ce00:	7f ff 85 e3 	call  200e58c <rtems_task_self>                
 202ce04:	01 00 00 00 	nop                                            
                                                                      
  if (task_id != RTEMS_SELF && self_task_id != task_id) {             
 202ce08:	80 a2 00 18 	cmp  %o0, %i0                                  
 202ce0c:	12 80 00 04 	bne  202ce1c <rtems_libio_share_private_env+0x20>
 202ce10:	80 a6 20 00 	cmp  %i0, 0                                    
  return sc;                                                          
}                                                                     
                                                                      
rtems_status_code rtems_libio_share_private_env(rtems_id task_id)     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
 202ce14:	81 c7 e0 08 	ret                                            
 202ce18:	91 e8 20 00 	restore  %g0, 0, %o0                           
  rtems_id self_task_id = rtems_task_self();                          
                                                                      
  if (task_id != RTEMS_SELF && self_task_id != task_id) {             
 202ce1c:	02 bf ff fe 	be  202ce14 <rtems_libio_share_private_env+0x18>
 202ce20:	03 00 81 d7 	sethi  %hi(0x2075c00), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 202ce24:	c4 00 61 90 	ld  [ %g1 + 0x190 ], %g2	! 2075d90 <_Thread_Dispatch_disable_level>
 202ce28:	84 00 a0 01 	inc  %g2                                       
 202ce2c:	c4 20 61 90 	st  %g2, [ %g1 + 0x190 ]                       
    return _Thread_Dispatch_disable_level;                            
 202ce30:	c2 00 61 90 	ld  [ %g1 + 0x190 ], %g1                       
    /*                                                                
     * We have to disable the thread dispatching to prevent deletion of the
     * environment in the meantime.                                   
     */                                                               
    _Thread_Disable_dispatch();                                       
    sc = rtems_task_variable_get(                                     
 202ce34:	3b 00 81 c6 	sethi  %hi(0x2071800), %i5                     
 202ce38:	90 10 00 18 	mov  %i0, %o0                                  
 202ce3c:	92 17 63 7c 	or  %i5, 0x37c, %o1                            
 202ce40:	40 00 08 56 	call  202ef98 <rtems_task_variable_get>        
 202ce44:	94 07 bf fc 	add  %fp, -4, %o2                              
      task_id,                                                        
      (void *) &rtems_current_user_env,                               
      (void *) &env                                                   
    );                                                                
    if (sc == RTEMS_SUCCESSFUL) {                                     
 202ce48:	80 a2 20 00 	cmp  %o0, 0                                    
 202ce4c:	12 80 00 14 	bne  202ce9c <rtems_libio_share_private_env+0xa0>
 202ce50:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
      ++env->reference_count;                                         
 202ce54:	c4 00 60 28 	ld  [ %g1 + 0x28 ], %g2                        
 202ce58:	84 00 a0 01 	inc  %g2                                       
    } else {                                                          
      sc = RTEMS_UNSATISFIED;                                         
    }                                                                 
    _Thread_Enable_dispatch();                                        
 202ce5c:	7f ff 90 38 	call  2010f3c <_Thread_Enable_dispatch>        
 202ce60:	c4 20 60 28 	st  %g2, [ %g1 + 0x28 ]                        
                                                                      
    if (sc == RTEMS_SUCCESSFUL) {                                     
      sc = rtems_task_variable_add(                                   
 202ce64:	90 10 20 00 	clr  %o0                                       
 202ce68:	92 17 63 7c 	or  %i5, 0x37c, %o1                            
 202ce6c:	15 00 80 b3 	sethi  %hi(0x202cc00), %o2                     
 202ce70:	40 00 07 ea 	call  202ee18 <rtems_task_variable_add>        
 202ce74:	94 12 a0 8c 	or  %o2, 0x8c, %o2	! 202cc8c <free_user_env>   
        RTEMS_SELF,                                                   
        (void **) &rtems_current_user_env,                            
        free_user_env                                                 
      );                                                              
      if (sc == RTEMS_SUCCESSFUL) {                                   
 202ce78:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 202ce7c:	12 80 00 0c 	bne  202ceac <rtems_libio_share_private_env+0xb0><== NEVER TAKEN
 202ce80:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
        free_user_env_protected(rtems_current_user_env);              
 202ce84:	7f ff ff 95 	call  202ccd8 <free_user_env_protected>        
 202ce88:	d0 07 63 7c 	ld  [ %i5 + 0x37c ], %o0                       
        rtems_current_user_env = env;                                 
 202ce8c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 202ce90:	c2 27 63 7c 	st  %g1, [ %i5 + 0x37c ]                       
 202ce94:	81 c7 e0 08 	ret                                            
 202ce98:	81 e8 00 00 	restore                                        
    if (sc == RTEMS_SUCCESSFUL) {                                     
      ++env->reference_count;                                         
    } else {                                                          
      sc = RTEMS_UNSATISFIED;                                         
    }                                                                 
    _Thread_Enable_dispatch();                                        
 202ce9c:	7f ff 90 28 	call  2010f3c <_Thread_Enable_dispatch>        
 202cea0:	b0 10 20 0d 	mov  0xd, %i0                                  
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
 202cea4:	81 c7 e0 08 	ret                                            
 202cea8:	81 e8 00 00 	restore                                        
      );                                                              
      if (sc == RTEMS_SUCCESSFUL) {                                   
        free_user_env_protected(rtems_current_user_env);              
        rtems_current_user_env = env;                                 
      } else {                                                        
        free_user_env_protected(env);                                 
 202ceac:	7f ff ff 8b 	call  202ccd8 <free_user_env_protected>        <== NOT EXECUTED
 202ceb0:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 202ceb4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202ceb8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0200c9f8 <rtems_libio_to_fcntl_flags>: * * Convert RTEMS internal flags to UNIX fnctl(2) flags */ int rtems_libio_to_fcntl_flags( uint32_t flags ) {
 200c9f8:	82 10 00 08 	mov  %o0, %g1                                  
  int fcntl_flags = 0;                                                
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
 200c9fc:	84 08 60 06 	and  %g1, 6, %g2                               
 200ca00:	80 a0 a0 06 	cmp  %g2, 6                                    
 200ca04:	02 80 00 05 	be  200ca18 <rtems_libio_to_fcntl_flags+0x20>  
 200ca08:	90 10 20 02 	mov  2, %o0                                    
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
 200ca0c:	80 88 60 02 	btst  2, %g1                                   
 200ca10:	02 80 00 0e 	be  200ca48 <rtems_libio_to_fcntl_flags+0x50>  <== NEVER TAKEN
 200ca14:	90 10 20 00 	clr  %o0                                       
    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 ) {     
 200ca18:	80 88 60 01 	btst  1, %g1                                   
 200ca1c:	02 80 00 04 	be  200ca2c <rtems_libio_to_fcntl_flags+0x34>  
 200ca20:	80 88 62 00 	btst  0x200, %g1                               
    fcntl_flags |= O_NONBLOCK;                                        
 200ca24:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 200ca28:	90 12 00 02 	or  %o0, %g2, %o0                              
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_APPEND) == LIBIO_FLAGS_APPEND ) {         
 200ca2c:	32 80 00 02 	bne,a   200ca34 <rtems_libio_to_fcntl_flags+0x3c>
 200ca30:	90 12 20 08 	or  %o0, 8, %o0                                
    fcntl_flags |= O_APPEND;                                          
  }                                                                   
                                                                      
  if ( (flags & LIBIO_FLAGS_CREATE) == LIBIO_FLAGS_CREATE ) {         
 200ca34:	80 88 64 00 	btst  0x400, %g1                               
 200ca38:	32 80 00 02 	bne,a   200ca40 <rtems_libio_to_fcntl_flags+0x48>
 200ca3c:	90 12 22 00 	or  %o0, 0x200, %o0                            
    fcntl_flags |= O_CREAT;                                           
  }                                                                   
                                                                      
  return fcntl_flags;                                                 
}                                                                     
 200ca40:	81 c3 e0 08 	retl                                           
 200ca44:	01 00 00 00 	nop                                            
                                                                      
  if ( (flags & LIBIO_FLAGS_READ_WRITE) == LIBIO_FLAGS_READ_WRITE ) { 
    fcntl_flags |= O_RDWR;                                            
  } else if ( (flags & LIBIO_FLAGS_READ) == LIBIO_FLAGS_READ) {       
    fcntl_flags |= O_RDONLY;                                          
  } else if ( (flags & LIBIO_FLAGS_WRITE) == LIBIO_FLAGS_WRITE) {     
 200ca48:	91 30 60 02 	srl  %g1, 2, %o0                               <== NOT EXECUTED
 200ca4c:	10 bf ff f3 	b  200ca18 <rtems_libio_to_fcntl_flags+0x20>   <== NOT EXECUTED
 200ca50:	90 0a 20 01 	and  %o0, 1, %o0                               <== NOT EXECUTED
                                                                      

0202cebc <rtems_libio_use_global_env>: return sc; } void rtems_libio_use_global_env(void) {
 202cebc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
  rtems_user_env_t *env = rtems_current_user_env;                     
  bool uses_private_env = env != &rtems_global_user_env;              
                                                                      
  if (uses_private_env) {                                             
 202cec0:	3b 00 81 c6 	sethi  %hi(0x2071800), %i5                     
 202cec4:	c2 07 63 7c 	ld  [ %i5 + 0x37c ], %g1	! 2071b7c <rtems_current_user_env>
 202cec8:	39 00 81 c6 	sethi  %hi(0x2071800), %i4                     
 202cecc:	b8 17 23 80 	or  %i4, 0x380, %i4	! 2071b80 <rtems_global_user_env>
 202ced0:	80 a0 40 1c 	cmp  %g1, %i4                                  
 202ced4:	02 80 00 08 	be  202cef4 <rtems_libio_use_global_env+0x38>  
 202ced8:	92 17 63 7c 	or  %i5, 0x37c, %o1                            
    sc = rtems_task_variable_delete(                                  
 202cedc:	40 00 08 01 	call  202eee0 <rtems_task_variable_delete>     
 202cee0:	90 10 20 00 	clr  %o0                                       
      RTEMS_SELF,                                                     
      (void **) &rtems_current_user_env                               
    );                                                                
    if (sc != RTEMS_SUCCESSFUL) {                                     
 202cee4:	80 a2 20 00 	cmp  %o0, 0                                    
 202cee8:	12 80 00 05 	bne  202cefc <rtems_libio_use_global_env+0x40> <== NEVER TAKEN
 202ceec:	11 37 ab 6f 	sethi  %hi(0xdeadbc00), %o0                    
      rtems_fatal_error_occurred(0xdeadbeef);                         
    }                                                                 
                                                                      
    rtems_current_user_env = &rtems_global_user_env;                  
 202cef0:	f8 27 63 7c 	st  %i4, [ %i5 + 0x37c ]                       
 202cef4:	81 c7 e0 08 	ret                                            
 202cef8:	81 e8 00 00 	restore                                        
    sc = rtems_task_variable_delete(                                  
      RTEMS_SELF,                                                     
      (void **) &rtems_current_user_env                               
    );                                                                
    if (sc != RTEMS_SUCCESSFUL) {                                     
      rtems_fatal_error_occurred(0xdeadbeef);                         
 202cefc:	7f ff 86 56 	call  200e854 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 202cf00:	90 12 22 ef 	or  %o0, 0x2ef, %o0                            <== NOT EXECUTED
                                                                      

020099bc <rtems_malloc_statistics_at_free>: * size and thus we skip updating the statistics. */ static void rtems_malloc_statistics_at_free( void *pointer ) {
 20099bc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  uintptr_t size;                                                     
                                                                      
  if (_Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &size) ) {
 20099c0:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 20099c4:	d0 00 62 24 	ld  [ %g1 + 0x224 ], %o0	! 2071a24 <RTEMS_Malloc_Heap>
 20099c8:	92 10 00 18 	mov  %i0, %o1                                  
 20099cc:	40 00 1a 2c 	call  201027c <_Protected_heap_Get_block_size> 
 20099d0:	94 07 bf fc 	add  %fp, -4, %o2                              
 20099d4:	80 8a 20 ff 	btst  0xff, %o0                                
 20099d8:	02 80 00 08 	be  20099f8 <rtems_malloc_statistics_at_free+0x3c><== NEVER TAKEN
 20099dc:	03 00 81 d7 	sethi  %hi(0x2075c00), %g1                     
    MSBUMP(lifetime_freed, size);                                     
 20099e0:	c8 07 bf fc 	ld  [ %fp + -4 ], %g4                          
 20099e4:	82 10 60 10 	or  %g1, 0x10, %g1                             
 20099e8:	c4 18 60 28 	ldd  [ %g1 + 0x28 ], %g2                       
 20099ec:	86 80 c0 04 	addcc  %g3, %g4, %g3                           
 20099f0:	84 40 a0 00 	addx  %g2, 0, %g2                              
 20099f4:	c4 38 60 28 	std  %g2, [ %g1 + 0x28 ]                       
 20099f8:	81 c7 e0 08 	ret                                            
 20099fc:	81 e8 00 00 	restore                                        
                                                                      

02009a00 <rtems_malloc_statistics_at_malloc>: } static void rtems_malloc_statistics_at_malloc( void *pointer ) {
 2009a00:	9d e3 bf 98 	save  %sp, -104, %sp                           
  uintptr_t actual_size = 0;                                          
  uint32_t current_depth;                                             
  rtems_malloc_statistics_t *s = &rtems_malloc_statistics;            
                                                                      
  if ( !pointer )                                                     
 2009a04:	80 a6 20 00 	cmp  %i0, 0                                    
 2009a08:	02 80 00 14 	be  2009a58 <rtems_malloc_statistics_at_malloc+0x58><== NEVER TAKEN
 2009a0c:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
 2009a10:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 2009a14:	d0 00 62 24 	ld  [ %g1 + 0x224 ], %o0	! 2071a24 <RTEMS_Malloc_Heap>
 2009a18:	92 10 00 18 	mov  %i0, %o1                                  
 2009a1c:	40 00 1a 18 	call  201027c <_Protected_heap_Get_block_size> 
 2009a20:	94 07 bf fc 	add  %fp, -4, %o2                              
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
 2009a24:	03 00 81 d7 	sethi  %hi(0x2075c00), %g1                     
 2009a28:	f8 07 bf fc 	ld  [ %fp + -4 ], %i4                          
 2009a2c:	82 10 60 10 	or  %g1, 0x10, %g1                             
 2009a30:	c4 18 60 20 	ldd  [ %g1 + 0x20 ], %g2                       
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
 2009a34:	fa 00 60 2c 	ld  [ %g1 + 0x2c ], %i5                        
  if (current_depth > s->max_depth)                                   
 2009a38:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
  if ( !pointer )                                                     
    return;                                                           
                                                                      
  _Protected_heap_Get_block_size(RTEMS_Malloc_Heap, pointer, &actual_size);
                                                                      
  MSBUMP(lifetime_allocated, actual_size);                            
 2009a3c:	86 80 c0 1c 	addcc  %g3, %i4, %g3                           
 2009a40:	84 40 a0 00 	addx  %g2, 0, %g2                              
 2009a44:	c4 38 60 20 	std  %g2, [ %g1 + 0x20 ]                       
                                                                      
  current_depth = (uint32_t) (s->lifetime_allocated - s->lifetime_freed);
 2009a48:	84 20 c0 1d 	sub  %g3, %i5, %g2                             
  if (current_depth > s->max_depth)                                   
 2009a4c:	80 a0 80 04 	cmp  %g2, %g4                                  
 2009a50:	38 80 00 02 	bgu,a   2009a58 <rtems_malloc_statistics_at_malloc+0x58>
 2009a54:	c4 20 60 18 	st  %g2, [ %g1 + 0x18 ]                        
 2009a58:	81 c7 e0 08 	ret                                            
 2009a5c:	81 e8 00 00 	restore                                        
                                                                      

020110fc <rtems_memalign>: int rtems_memalign( void **pointer, size_t alignment, size_t size ) {
 20110fc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void *return_this;                                                  
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
 2011100:	ba 96 20 00 	orcc  %i0, 0, %i5                              
 2011104:	02 80 00 21 	be  2011188 <rtems_memalign+0x8c>              
 2011108:	03 00 80 8b 	sethi  %hi(0x2022c00), %g1                     
  *pointer = NULL;                                                    
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
 201110c:	c2 00 63 90 	ld  [ %g1 + 0x390 ], %g1	! 2022f90 <_System_state_Current>
 2011110:	80 a0 60 03 	cmp  %g1, 3                                    
 2011114:	02 80 00 18 	be  2011174 <rtems_memalign+0x78>              
 2011118:	c0 27 40 00 	clr  [ %i5 ]                                   
    return EINVAL;                                                    
                                                                      
  /*                                                                  
   *  If some free's have been deferred, then do them now.            
   */                                                                 
  malloc_deferred_frees_process();                                    
 201111c:	7f ff cf 85 	call  2004f30 <malloc_deferred_frees_process>  
 2011120:	b0 10 20 0c 	mov  0xc, %i0                                  
  Heap_Control *heap,                                                 
  uintptr_t size,                                                     
  uintptr_t alignment                                                 
)                                                                     
{                                                                     
  return                                                              
 2011124:	03 00 80 88 	sethi  %hi(0x2022000), %g1                     
 2011128:	d0 00 60 a4 	ld  [ %g1 + 0xa4 ], %o0	! 20220a4 <RTEMS_Malloc_Heap>
 201112c:	92 10 00 1a 	mov  %i2, %o1                                  
 2011130:	94 10 00 19 	mov  %i1, %o2                                  
 2011134:	7f ff e7 b3 	call  200b000 <_Protected_heap_Allocate_aligned_with_boundary>
 2011138:	96 10 20 00 	clr  %o3                                       
  return_this = _Protected_heap_Allocate_aligned(                     
    RTEMS_Malloc_Heap,                                                
    size,                                                             
    alignment                                                         
  );                                                                  
  if ( !return_this )                                                 
 201113c:	80 a2 20 00 	cmp  %o0, 0                                    
 2011140:	02 80 00 14 	be  2011190 <rtems_memalign+0x94>              
 2011144:	b8 10 00 08 	mov  %o0, %i4                                  
    return ENOMEM;                                                    
                                                                      
  /*                                                                  
   *  If configured, update the more involved statistics              
   */                                                                 
  if ( rtems_malloc_statistics_helpers )                              
 2011148:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
 201114c:	c2 00 60 64 	ld  [ %g1 + 0x64 ], %g1	! 2022864 <rtems_malloc_statistics_helpers>
 2011150:	80 a0 60 00 	cmp  %g1, 0                                    
 2011154:	22 80 00 06 	be,a   201116c <rtems_memalign+0x70>           
 2011158:	f8 27 40 00 	st  %i4, [ %i5 ]                               
    (*rtems_malloc_statistics_helpers->at_malloc)(pointer);           
 201115c:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2011160:	9f c0 40 00 	call  %g1                                      
 2011164:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  *pointer = return_this;                                             
 2011168:	f8 27 40 00 	st  %i4, [ %i5 ]                               
  return 0;                                                           
}                                                                     
 201116c:	81 c7 e0 08 	ret                                            
 2011170:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  /*                                                                  
   *  Do not attempt to allocate memory if not in correct system state.
   */                                                                 
  if ( _System_state_Is_up(_System_state_Get()) &&                    
       !malloc_is_system_state_OK() )                                 
 2011174:	7f ff cf 5b 	call  2004ee0 <malloc_is_system_state_OK>      
 2011178:	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()) &&                    
 201117c:	80 8a 20 ff 	btst  0xff, %o0                                
 2011180:	12 bf ff e7 	bne  201111c <rtems_memalign+0x20>             <== ALWAYS TAKEN
 2011184:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   *  Parameter error checks                                          
   */                                                                 
  if ( !pointer )                                                     
    return EINVAL;                                                    
 2011188:	81 c7 e0 08 	ret                                            
 201118c:	91 e8 20 16 	restore  %g0, 0x16, %o0                        
 2011190:	81 c7 e0 08 	ret                                            
 2011194:	81 e8 00 00 	restore                                        
                                                                      

0200a78c <rtems_mkdir>: return (retval); } int rtems_mkdir(const char *path, mode_t mode) {
 200a78c:	9d e3 bf 58 	save  %sp, -168, %sp                           
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
 200a790:	40 01 12 5e 	call  204f108 <strdup>                         
 200a794:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  if (dup_path != NULL) {                                             
 200a798:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 200a79c:	02 80 00 69 	be  200a940 <rtems_mkdir+0x1b4>                
 200a7a0:	01 00 00 00 	nop                                            
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
 200a7a4:	c2 0e c0 00 	ldub  [ %i3 ], %g1                             
 200a7a8:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 200a7ac:	85 38 60 18 	sra  %g1, 0x18, %g2                            
 200a7b0:	80 a0 a0 2f 	cmp  %g2, 0x2f                                 
 200a7b4:	02 80 00 57 	be  200a910 <rtems_mkdir+0x184>                
 200a7b8:	ba 10 00 1b 	mov  %i3, %i5                                  
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
 200a7bc:	83 38 60 18 	sra  %g1, 0x18, %g1                            
  char *p;                                                            
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
 200a7c0:	b4 10 20 00 	clr  %i2                                       
 200a7c4:	84 10 20 01 	mov  1, %g2                                    
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
 200a7c8:	b0 10 20 2f 	mov  0x2f, %i0                                 
    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)) {                            
 200a7cc:	23 00 00 3c 	sethi  %hi(0xf000), %l1                        
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
 200a7d0:	80 a0 60 00 	cmp  %g1, 0                                    
 200a7d4:	02 80 00 0b 	be  200a800 <rtems_mkdir+0x74>                 <== NEVER TAKEN
 200a7d8:	21 00 00 10 	sethi  %hi(0x4000), %l0                        
      last = 1;                                                       
    else if (p[0] != '/')                                             
 200a7dc:	80 a0 60 2f 	cmp  %g1, 0x2f                                 
 200a7e0:	22 80 00 2f 	be,a   200a89c <rtems_mkdir+0x110>             
 200a7e4:	c2 4f 60 01 	ldsb  [ %i5 + 1 ], %g1                         
 200a7e8:	c2 0f 60 01 	ldub  [ %i5 + 1 ], %g1                         
 200a7ec:	83 28 60 18 	sll  %g1, 0x18, %g1                            
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
 200a7f0:	83 38 60 18 	sra  %g1, 0x18, %g1                            
 200a7f4:	80 a0 60 00 	cmp  %g1, 0                                    
 200a7f8:	12 bf ff f9 	bne  200a7dc <rtems_mkdir+0x50>                
 200a7fc:	ba 07 60 01 	inc  %i5                                       
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
 200a800:	c0 2f 40 00 	clrb  [ %i5 ]                                  
 200a804:	b8 10 20 01 	mov  1, %i4                                    
    if (!last && p[1] == '\0')                                        
      last = 1;                                                       
    if (first) {                                                      
 200a808:	80 a0 a0 00 	cmp  %g2, 0                                    
 200a80c:	12 80 00 1d 	bne  200a880 <rtems_mkdir+0xf4>                
 200a810:	01 00 00 00 	nop                                            
      oumask = umask(0);                                              
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
 200a814:	80 a7 20 00 	cmp  %i4, 0                                    
 200a818:	12 80 00 0a 	bne  200a840 <rtems_mkdir+0xb4>                
 200a81c:	90 10 00 1b 	mov  %i3, %o0                                  
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
 200a820:	7f ff fc 9f 	call  2009a9c <mkdir>                          
 200a824:	92 10 21 ff 	mov  0x1ff, %o1                                
 200a828:	80 a2 20 00 	cmp  %o0, 0                                    
 200a82c:	06 80 00 20 	bl  200a8ac <rtems_mkdir+0x120>                
 200a830:	01 00 00 00 	nop                                            
        retval = 0;                                                   
        break;                                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
 200a834:	f0 2f 40 00 	stb  %i0, [ %i5 ]                              
 200a838:	10 bf ff ec 	b  200a7e8 <rtems_mkdir+0x5c>                  
 200a83c:	84 10 20 00 	clr  %g2                                       
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
 200a840:	40 00 0a 7e 	call  200d238 <umask>                          
 200a844:	90 10 00 1a 	mov  %i2, %o0                                  
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
 200a848:	90 10 00 1b 	mov  %i3, %o0                                  
 200a84c:	7f ff fc 94 	call  2009a9c <mkdir>                          
 200a850:	92 10 00 19 	mov  %i1, %o1                                  
 200a854:	80 a2 20 00 	cmp  %o0, 0                                    
 200a858:	06 80 00 15 	bl  200a8ac <rtems_mkdir+0x120>                
 200a85c:	01 00 00 00 	nop                                            
 200a860:	ba 10 20 01 	mov  1, %i5	! 1 <PROM_START+0x1>               
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
 200a864:	7f ff fa aa 	call  200930c <free>                           
 200a868:	90 10 00 1b 	mov  %i3, %o0                                  
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
 200a86c:	80 a7 60 00 	cmp  %i5, 0                                    
 200a870:	02 80 00 34 	be  200a940 <rtems_mkdir+0x1b4>                <== NEVER TAKEN
 200a874:	b0 10 20 00 	clr  %i0                                       
}                                                                     
 200a878:	81 c7 e0 08 	ret                                            
 200a87c:	81 e8 00 00 	restore                                        
       *    mkdir [-m mode] dir                                       
       *                                                              
       * We change the user's umask and then restore it,              
       * instead of doing chmod's.                                    
       */                                                             
      oumask = umask(0);                                              
 200a880:	40 00 0a 6e 	call  200d238 <umask>                          
 200a884:	90 10 20 00 	clr  %o0                                       
 200a888:	b4 10 00 08 	mov  %o0, %i2                                  
      numask = oumask & ~(S_IWUSR | S_IXUSR);                         
      (void)umask(numask);                                            
 200a88c:	40 00 0a 6b 	call  200d238 <umask>                          
 200a890:	90 0a 3f 3f 	and  %o0, -193, %o0                            
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
 200a894:	10 bf ff e1 	b  200a818 <rtems_mkdir+0x8c>                  
 200a898:	80 a7 20 00 	cmp  %i4, 0                                    
  for (first = 1, last = 0; !last ; ++p) {                            
    if (p[0] == '\0')                                                 
      last = 1;                                                       
    else if (p[0] != '/')                                             
      continue;                                                       
    *p = '\0';                                                        
 200a89c:	c0 2f 40 00 	clrb  [ %i5 ]                                  
 200a8a0:	80 a0 00 01 	cmp  %g0, %g1                                  
 200a8a4:	10 bf ff d9 	b  200a808 <rtems_mkdir+0x7c>                  
 200a8a8:	b8 60 3f ff 	subx  %g0, -1, %i4                             
      first = 0;                                                      
    }                                                                 
    if (last)                                                         
      (void)umask(oumask);                                            
    if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
      if (errno == EEXIST || errno == EISDIR) {                       
 200a8ac:	40 00 f8 17 	call  2048908 <__errno>                        
 200a8b0:	01 00 00 00 	nop                                            
 200a8b4:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200a8b8:	80 a0 60 11 	cmp  %g1, 0x11                                 
 200a8bc:	02 80 00 08 	be  200a8dc <rtems_mkdir+0x150>                
 200a8c0:	90 10 00 1b 	mov  %i3, %o0                                  
 200a8c4:	40 00 f8 11 	call  2048908 <__errno>                        
 200a8c8:	01 00 00 00 	nop                                            
 200a8cc:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200a8d0:	80 a0 60 15 	cmp  %g1, 0x15                                 
 200a8d4:	12 80 00 28 	bne  200a974 <rtems_mkdir+0x1e8>               <== ALWAYS TAKEN
 200a8d8:	90 10 00 1b 	mov  %i3, %o0                                  
        if (stat(path, &sb) < 0) {                                    
 200a8dc:	40 00 00 2f 	call  200a998 <stat>                           
 200a8e0:	92 07 bf b8 	add  %fp, -72, %o1                             
 200a8e4:	80 a2 20 00 	cmp  %o0, 0                                    
 200a8e8:	06 80 00 23 	bl  200a974 <rtems_mkdir+0x1e8>                <== NEVER TAKEN
 200a8ec:	c2 07 bf c4 	ld  [ %fp + -60 ], %g1                         
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
 200a8f0:	82 08 40 11 	and  %g1, %l1, %g1                             
 200a8f4:	80 a0 40 10 	cmp  %g1, %l0                                  
 200a8f8:	12 80 00 0a 	bne  200a920 <rtems_mkdir+0x194>               
 200a8fc:	80 a7 20 00 	cmp  %i4, 0                                    
          else                                                        
            errno = ENOTDIR;                                          
          retval = 0;                                                 
          break;                                                      
        }                                                             
        if (last)                                                     
 200a900:	22 bf ff ce 	be,a   200a838 <rtems_mkdir+0xac>              
 200a904:	f0 2f 40 00 	stb  %i0, [ %i5 ]                              
          retval = 2;                                                 
 200a908:	10 bf ff d7 	b  200a864 <rtems_mkdir+0xd8>                  
 200a90c:	ba 10 20 02 	mov  2, %i5                                    
 200a910:	c2 0e e0 01 	ldub  [ %i3 + 1 ], %g1                         
                                                                      
  p = path;                                                           
  oumask = 0;                                                         
  retval = 1;                                                         
  if (p[0] == '/')    /* Skip leading '/'. */                         
    ++p;                                                              
 200a914:	ba 06 e0 01 	add  %i3, 1, %i5                               
 200a918:	10 bf ff a9 	b  200a7bc <rtems_mkdir+0x30>                  
 200a91c:	83 28 60 18 	sll  %g1, 0x18, %g1                            
      if (errno == EEXIST || errno == EISDIR) {                       
        if (stat(path, &sb) < 0) {                                    
          retval = 0;                                                 
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
 200a920:	02 80 00 0a 	be  200a948 <rtems_mkdir+0x1bc>                
 200a924:	01 00 00 00 	nop                                            
            errno = EEXIST;                                           
 200a928:	40 00 f7 f8 	call  2048908 <__errno>                        
 200a92c:	01 00 00 00 	nop                                            
 200a930:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 200a934:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
 200a938:	7f ff fa 75 	call  200930c <free>                           
 200a93c:	90 10 00 1b 	mov  %i3, %o0                                  
  }                                                                   
                                                                      
  return success != 0 ? 0 : -1;                                       
 200a940:	81 c7 e0 08 	ret                                            
 200a944:	91 e8 3f ff 	restore  %g0, -1, %o0                          
          break;                                                      
        } else if (!S_ISDIR(sb.st_mode)) {                            
          if (last)                                                   
            errno = EEXIST;                                           
          else                                                        
            errno = ENOTDIR;                                          
 200a948:	40 00 f7 f0 	call  2048908 <__errno>                        
 200a94c:	01 00 00 00 	nop                                            
 200a950:	82 10 20 14 	mov  0x14, %g1	! 14 <PROM_START+0x14>          
 200a954:	c2 22 00 00 	st  %g1, [ %o0 ]                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
    (void)umask(oumask);                                              
 200a958:	40 00 0a 38 	call  200d238 <umask>                          
 200a95c:	90 10 00 1a 	mov  %i2, %o0                                  
  int success = 0;                                                    
  char *dup_path = strdup(path);                                      
                                                                      
  if (dup_path != NULL) {                                             
    success = build(dup_path, mode);                                  
    free(dup_path);                                                   
 200a960:	90 10 00 1b 	mov  %i3, %o0                                  
 200a964:	7f ff fa 6a 	call  200930c <free>                           
 200a968:	b0 10 3f ff 	mov  -1, %i0                                   
 200a96c:	81 c7 e0 08 	ret                                            
 200a970:	81 e8 00 00 	restore                                        
      }                                                               
    }                                                                 
    if (!last)                                                        
        *p = '/';                                                     
  }                                                                   
  if (!first && !last)                                                
 200a974:	80 a7 20 00 	cmp  %i4, 0                                    
 200a978:	02 bf ff f8 	be  200a958 <rtems_mkdir+0x1cc>                <== NEVER TAKEN
 200a97c:	90 10 00 1b 	mov  %i3, %o0                                  
 200a980:	30 bf ff f9 	b,a   200a964 <rtems_mkdir+0x1d8>              
                                                                      

0202372c <rtems_nvdisk_error>: * @param ... The arguments for the format text. * @return int The number of bytes written to the output. */ static int rtems_nvdisk_error (const char *format, ...) {
 202372c:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "nvdisk:error:");                                  
 2023730:	21 00 81 c9 	sethi  %hi(0x2072400), %l0                     <== NOT EXECUTED
 2023734:	c2 04 20 00 	ld  [ %l0 ], %g1                               <== NOT EXECUTED
static int                                                            
rtems_nvdisk_error (const char *format, ...)                          
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
 2023738:	f2 27 a0 48 	st  %i1, [ %fp + 0x48 ]                        <== NOT EXECUTED
 202373c:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        <== NOT EXECUTED
 2023740:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        <== NOT EXECUTED
 2023744:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        <== NOT EXECUTED
 2023748:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        <== NOT EXECUTED
  fprintf (stderr, "nvdisk:error:");                                  
 202374c:	d6 00 60 0c 	ld  [ %g1 + 0xc ], %o3                         <== NOT EXECUTED
static int                                                            
rtems_nvdisk_error (const char *format, ...)                          
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
 2023750:	82 07 a0 48 	add  %fp, 0x48, %g1                            <== NOT EXECUTED
  fprintf (stderr, "nvdisk:error:");                                  
 2023754:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
static int                                                            
rtems_nvdisk_error (const char *format, ...)                          
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
 2023758:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          <== NOT EXECUTED
  fprintf (stderr, "nvdisk:error:");                                  
 202375c:	94 10 20 0d 	mov  0xd, %o2                                  <== NOT EXECUTED
 2023760:	11 00 81 a3 	sethi  %hi(0x2068c00), %o0                     <== NOT EXECUTED
 2023764:	40 00 9b d8 	call  204a6c4 <fwrite>                         <== NOT EXECUTED
 2023768:	90 12 23 f8 	or  %o0, 0x3f8, %o0	! 2068ff8 <msdos_ops+0x58> <== NOT EXECUTED
  ret =  vfprintf (stderr, format, args);                             
 202376c:	c2 04 20 00 	ld  [ %l0 ], %g1                               <== NOT EXECUTED
 2023770:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 2023774:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         <== NOT EXECUTED
 2023778:	40 00 d8 40 	call  2059878 <vfprintf>                       <== NOT EXECUTED
 202377c:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
  fprintf (stderr, "\n");                                             
 2023780:	c2 04 20 00 	ld  [ %l0 ], %g1                               <== NOT EXECUTED
{                                                                     
  int ret;                                                            
  va_list args;                                                       
  va_start (args, format);                                            
  fprintf (stderr, "nvdisk:error:");                                  
  ret =  vfprintf (stderr, format, args);                             
 2023784:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
  fprintf (stderr, "\n");                                             
 2023788:	d2 00 60 0c 	ld  [ %g1 + 0xc ], %o1                         <== NOT EXECUTED
 202378c:	40 00 97 34 	call  204945c <fputc>                          <== NOT EXECUTED
 2023790:	90 10 20 0a 	mov  0xa, %o0                                  <== NOT EXECUTED
  fflush (stderr);                                                    
 2023794:	c2 04 20 00 	ld  [ %l0 ], %g1                               <== NOT EXECUTED
 2023798:	40 00 95 5f 	call  2048d14 <fflush>                         <== NOT EXECUTED
 202379c:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         <== NOT EXECUTED
  va_end (args);                                                      
  return ret;                                                         
}                                                                     
 20237a0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20237a4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020237a8 <rtems_nvdisk_get_device>: /** * Map a block to a device. */ static rtems_nvdisk_device_ctl* rtems_nvdisk_get_device (rtems_nvdisk* nvd, uint32_t block) {
 20237a8:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  uint32_t device;                                                    
                                                                      
  if (block >= nvd->block_count)                                      
 20237ac:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        <== NOT EXECUTED
 20237b0:	80 a0 40 19 	cmp  %g1, %i1                                  <== NOT EXECUTED
 20237b4:	08 80 00 1d 	bleu  2023828 <rtems_nvdisk_get_device+0x80>   <== NOT EXECUTED
 20237b8:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
  {                                                                   
    rtems_nvdisk_error ("read-block: bad block: %d", block);          
    return NULL;                                                      
  }                                                                   
                                                                      
  for (device = 0; device < nvd->device_count; device++)              
 20237bc:	c8 06 20 18 	ld  [ %i0 + 0x18 ], %g4                        <== NOT EXECUTED
 20237c0:	80 a1 20 00 	cmp  %g4, 0                                    <== NOT EXECUTED
 20237c4:	02 80 00 13 	be  2023810 <rtems_nvdisk_get_device+0x68>     <== NOT EXECUTED
 20237c8:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 20237cc:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        <== NOT EXECUTED
  {                                                                   
    rtems_nvdisk_device_ctl* dc = &nvd->devices[device];              
    if ((block >= dc->block_base) &&                                  
 20237d0:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         <== NOT EXECUTED
 20237d4:	80 a6 40 03 	cmp  %i1, %g3                                  <== NOT EXECUTED
 20237d8:	0a 80 00 09 	bcs  20237fc <rtems_nvdisk_get_device+0x54>    <== NOT EXECUTED
 20237dc:	b0 10 00 01 	mov  %g1, %i0                                  <== NOT EXECUTED
        (block < (dc->block_base + dc->pages - dc->pages_desc)))      
 20237e0:	f8 00 60 04 	ld  [ %g1 + 4 ], %i4                           <== NOT EXECUTED
 20237e4:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           <== NOT EXECUTED
 20237e8:	86 00 c0 1c 	add  %g3, %i4, %g3                             <== NOT EXECUTED
 20237ec:	86 20 c0 1d 	sub  %g3, %i5, %g3                             <== NOT EXECUTED
  }                                                                   
                                                                      
  for (device = 0; device < nvd->device_count; device++)              
  {                                                                   
    rtems_nvdisk_device_ctl* dc = &nvd->devices[device];              
    if ((block >= dc->block_base) &&                                  
 20237f0:	80 a6 40 03 	cmp  %i1, %g3                                  <== NOT EXECUTED
 20237f4:	0a 80 00 11 	bcs  2023838 <rtems_nvdisk_get_device+0x90>    <== NOT EXECUTED
 20237f8:	01 00 00 00 	nop                                            <== NOT EXECUTED
  {                                                                   
    rtems_nvdisk_error ("read-block: bad block: %d", block);          
    return NULL;                                                      
  }                                                                   
                                                                      
  for (device = 0; device < nvd->device_count; device++)              
 20237fc:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 2023800:	80 a0 80 04 	cmp  %g2, %g4                                  <== NOT EXECUTED
 2023804:	12 bf ff f3 	bne  20237d0 <rtems_nvdisk_get_device+0x28>    <== NOT EXECUTED
 2023808:	82 00 60 14 	add  %g1, 0x14, %g1                            <== NOT EXECUTED
    if ((block >= dc->block_base) &&                                  
        (block < (dc->block_base + dc->pages - dc->pages_desc)))      
      return dc;                                                      
  }                                                                   
                                                                      
  rtems_nvdisk_error ("map-block:%d: no device/page map found", block);
 202380c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2023810:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
                                                                      
  return NULL;                                                        
 2023814:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    if ((block >= dc->block_base) &&                                  
        (block < (dc->block_base + dc->pages - dc->pages_desc)))      
      return dc;                                                      
  }                                                                   
                                                                      
  rtems_nvdisk_error ("map-block:%d: no device/page map found", block);
 2023818:	7f ff ff c5 	call  202372c <rtems_nvdisk_error>             <== NOT EXECUTED
 202381c:	90 12 20 28 	or  %o0, 0x28, %o0                             <== NOT EXECUTED
                                                                      
  return NULL;                                                        
}                                                                     
 2023820:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2023824:	81 e8 00 00 	restore                                        <== NOT EXECUTED
{                                                                     
  uint32_t device;                                                    
                                                                      
  if (block >= nvd->block_count)                                      
  {                                                                   
    rtems_nvdisk_error ("read-block: bad block: %d", block);          
 2023828:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
    return NULL;                                                      
 202382c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
{                                                                     
  uint32_t device;                                                    
                                                                      
  if (block >= nvd->block_count)                                      
  {                                                                   
    rtems_nvdisk_error ("read-block: bad block: %d", block);          
 2023830:	7f ff ff bf 	call  202372c <rtems_nvdisk_error>             <== NOT EXECUTED
 2023834:	90 12 20 08 	or  %o0, 8, %o0                                <== NOT EXECUTED
    return NULL;                                                      
 2023838:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202383c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02023e70 <rtems_nvdisk_initialize>: */ rtems_device_driver rtems_nvdisk_initialize (rtems_device_major_number major, rtems_device_minor_number minor, void* arg __attribute__((unused))) {
 2023e70:	9d e3 bf 88 	save  %sp, -120, %sp                           <== NOT EXECUTED
  const rtems_nvdisk_config* c = rtems_nvdisk_configuration;          
  rtems_nvdisk*              nvd;                                     
  rtems_status_code          sc;                                      
                                                                      
  sc = rtems_disk_io_initialize ();                                   
 2023e74:	7f ff 91 a9 	call  2008518 <rtems_disk_io_initialize>       <== NOT EXECUTED
 2023e78:	a4 10 00 18 	mov  %i0, %l2                                  <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2023e7c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2023e80:	02 80 00 04 	be  2023e90 <rtems_nvdisk_initialize+0x20>     <== NOT EXECUTED
 2023e84:	01 00 00 00 	nop                                            <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_nvdisk_count = rtems_nvdisk_configuration_size;               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2023e88:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2023e8c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
static rtems_status_code                                              
rtems_nvdisk_crc16_gen_factors (uint16_t pattern)                     
{                                                                     
  uint32_t b;                                                         
                                                                      
  rtems_nvdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);       
 2023e90:	7f ff 96 89 	call  20098b4 <malloc>                         <== NOT EXECUTED
 2023e94:	90 10 22 00 	mov  0x200, %o0                                <== NOT EXECUTED
 2023e98:	03 00 81 d5 	sethi  %hi(0x2075400), %g1                     <== NOT EXECUTED
 2023e9c:	d0 20 61 fc 	st  %o0, [ %g1 + 0x1fc ]	! 20755fc <rtems_nvdisk_crc16_factor><== NOT EXECUTED
  if (!rtems_nvdisk_crc16_factor)                                     
 2023ea0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2023ea4:	02 bf ff f9 	be  2023e88 <rtems_nvdisk_initialize+0x18>     <== NOT EXECUTED
 2023ea8:	b0 10 20 1a 	mov  0x1a, %i0                                 <== NOT EXECUTED
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
    for (i = 8; i--;)                                                 
      v = v & 1 ? (v >> 1) ^ pattern : v >> 1;                        
 2023eac:	09 3f ff e1 	sethi  %hi(0xffff8400), %g4                    <== NOT EXECUTED
rtems_nvdisk_crc16_gen_factors (uint16_t pattern)                     
{                                                                     
  uint32_t b;                                                         
                                                                      
  rtems_nvdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);       
  if (!rtems_nvdisk_crc16_factor)                                     
 2023eb0:	86 10 20 00 	clr  %g3                                       <== NOT EXECUTED
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
    for (i = 8; i--;)                                                 
      v = v & 1 ? (v >> 1) ^ pattern : v >> 1;                        
 2023eb4:	88 11 20 08 	or  %g4, 8, %g4                                <== NOT EXECUTED
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
 2023eb8:	82 10 00 03 	mov  %g3, %g1                                  <== NOT EXECUTED
 2023ebc:	84 10 20 08 	mov  8, %g2                                    <== NOT EXECUTED
    for (i = 8; i--;)                                                 
      v = v & 1 ? (v >> 1) ^ pattern : v >> 1;                        
 2023ec0:	80 88 60 01 	btst  1, %g1                                   <== NOT EXECUTED
 2023ec4:	83 28 60 10 	sll  %g1, 0x10, %g1                            <== NOT EXECUTED
 2023ec8:	02 80 00 03 	be  2023ed4 <rtems_nvdisk_initialize+0x64>     <== NOT EXECUTED
 2023ecc:	83 30 60 11 	srl  %g1, 0x11, %g1                            <== NOT EXECUTED
 2023ed0:	82 18 40 04 	xor  %g1, %g4, %g1                             <== NOT EXECUTED
                                                                      
  for (b = 0; b < 256; b++)                                           
  {                                                                   
    uint32_t i;                                                       
    uint16_t v = b;                                                   
    for (i = 8; i--;)                                                 
 2023ed4:	84 80 bf ff 	addcc  %g2, -1, %g2                            <== NOT EXECUTED
 2023ed8:	12 bf ff fb 	bne  2023ec4 <rtems_nvdisk_initialize+0x54>    <== NOT EXECUTED
 2023edc:	80 88 60 01 	btst  1, %g1                                   <== NOT EXECUTED
 * @param major NV disk major device number.                          
 * @param minor Minor device number, not applicable.                  
 * @param arg Initialization argument, not applicable.                
 */                                                                   
rtems_device_driver                                                   
rtems_nvdisk_initialize (rtems_device_major_number major,             
 2023ee0:	85 28 e0 01 	sll  %g3, 1, %g2                               <== NOT EXECUTED
                                                                      
  rtems_nvdisk_crc16_factor = malloc (sizeof (uint16_t) * 256);       
  if (!rtems_nvdisk_crc16_factor)                                     
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (b = 0; b < 256; b++)                                           
 2023ee4:	86 00 e0 01 	inc  %g3                                       <== NOT EXECUTED
 2023ee8:	80 a0 e1 00 	cmp  %g3, 0x100                                <== NOT EXECUTED
 2023eec:	12 bf ff f3 	bne  2023eb8 <rtems_nvdisk_initialize+0x48>    <== NOT EXECUTED
 2023ef0:	c2 32 00 02 	sth  %g1, [ %o0 + %g2 ]                        <== NOT EXECUTED
                                                                      
  sc = rtems_nvdisk_crc16_gen_factors (0x8408);                       
  if (sc != RTEMS_SUCCESSFUL)                                         
      return sc;                                                      
                                                                      
  rtems_nvdisks = calloc (rtems_nvdisk_configuration_size,            
 2023ef4:	29 00 81 c6 	sethi  %hi(0x2071800), %l4                     <== NOT EXECUTED
 2023ef8:	f6 05 20 d0 	ld  [ %l4 + 0xd0 ], %i3	! 20718d0 <rtems_nvdisk_configuration_size><== NOT EXECUTED
 2023efc:	92 10 20 28 	mov  0x28, %o1                                 <== NOT EXECUTED
 2023f00:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2023f04:	7f ff 94 21 	call  2008f88 <calloc>                         <== NOT EXECUTED
 2023f08:	27 00 81 d5 	sethi  %hi(0x2075400), %l3                     <== NOT EXECUTED
 2023f0c:	d0 24 e1 f4 	st  %o0, [ %l3 + 0x1f4 ]	! 20755f4 <rtems_nvdisks><== NOT EXECUTED
                          sizeof (rtems_nvdisk));                     
                                                                      
  if (!rtems_nvdisks)                                                 
 2023f10:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2023f14:	02 bf ff dd 	be  2023e88 <rtems_nvdisk_initialize+0x18>     <== NOT EXECUTED
 2023f18:	b0 10 20 1a 	mov  0x1a, %i0                                 <== NOT EXECUTED
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_nvdisk_configuration_size; minor++, c++)
 2023f1c:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2023f20:	02 80 00 66 	be  20240b8 <rtems_nvdisk_initialize+0x248>    <== NOT EXECUTED
 2023f24:	21 00 81 93 	sethi  %hi(0x2064c00), %l0                     <== NOT EXECUTED
 2023f28:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2023f2c:	a0 14 22 f8 	or  %l0, 0x2f8, %l0                            <== NOT EXECUTED
 2023f30:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
  {                                                                   
    char     name[] = RTEMS_NVDISK_DEVICE_BASE_NAME "a";              
 2023f34:	03 00 00 18 	sethi  %hi(0x6000), %g1                        <== NOT EXECUTED
 2023f38:	82 10 61 00 	or  %g1, 0x100, %g1	! 6100 <PROM_START+0x6100> <== NOT EXECUTED
    nvd->minor        = minor;                                        
    nvd->flags        = c->flags;                                     
    nvd->block_size   = c->block_size;                                
    nvd->info_level   = c->info_level;                                
                                                                      
    nvd->devices = calloc (c->device_count, sizeof (rtems_nvdisk_device_ctl));
 2023f3c:	f4 04 20 04 	ld  [ %l0 + 4 ], %i2                           <== NOT EXECUTED
  if (!rtems_nvdisks)                                                 
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_nvdisk_configuration_size; minor++, c++)
  {                                                                   
    char     name[] = RTEMS_NVDISK_DEVICE_BASE_NAME "a";              
 2023f40:	c2 37 bf f8 	sth  %g1, [ %fp + -8 ]                         <== NOT EXECUTED
                                                                      
    name [sizeof(RTEMS_NVDISK_DEVICE_BASE_NAME)] += minor;            
                                                                      
    nvd->major        = major;                                        
    nvd->minor        = minor;                                        
    nvd->flags        = c->flags;                                     
 2023f44:	c4 04 20 0c 	ld  [ %l0 + 0xc ], %g2                         <== NOT EXECUTED
    nvd->block_size   = c->block_size;                                
 2023f48:	f6 04 00 00 	ld  [ %l0 ], %i3                               <== NOT EXECUTED
    nvd->info_level   = c->info_level;                                
 2023f4c:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        <== NOT EXECUTED
    uint32_t device;                                                  
    uint32_t blocks = 0;                                              
                                                                      
    nvd = &rtems_nvdisks[minor];                                      
                                                                      
    name [sizeof(RTEMS_NVDISK_DEVICE_BASE_NAME)] += minor;            
 2023f50:	e2 2f bf f9 	stb  %l1, [ %fp + -7 ]                         <== NOT EXECUTED
  if (!rtems_nvdisks)                                                 
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_nvdisk_configuration_size; minor++, c++)
  {                                                                   
    char     name[] = RTEMS_NVDISK_DEVICE_BASE_NAME "a";              
 2023f54:	39 0b d9 19 	sethi  %hi(0x2f646400), %i4                    <== NOT EXECUTED
 2023f58:	3b 0b db 9d 	sethi  %hi(0x2f6e7400), %i5                    <== NOT EXECUTED
 2023f5c:	b8 17 21 76 	or  %i4, 0x176, %i4                            <== NOT EXECUTED
 2023f60:	ba 17 62 64 	or  %i5, 0x264, %i5                            <== NOT EXECUTED
 2023f64:	f8 3f bf f0 	std  %i4, [ %fp + -16 ]                        <== NOT EXECUTED
    dev_t    dev = rtems_filesystem_make_dev_t (major, minor);        
    uint32_t device;                                                  
    uint32_t blocks = 0;                                              
                                                                      
    nvd = &rtems_nvdisks[minor];                                      
 2023f68:	b2 02 00 18 	add  %o0, %i0, %i1                             <== NOT EXECUTED
                                                                      
    name [sizeof(RTEMS_NVDISK_DEVICE_BASE_NAME)] += minor;            
                                                                      
    nvd->major        = major;                                        
 2023f6c:	e4 22 00 18 	st  %l2, [ %o0 + %i0 ]                         <== NOT EXECUTED
    nvd->minor        = minor;                                        
 2023f70:	e2 26 60 04 	st  %l1, [ %i1 + 4 ]                           <== NOT EXECUTED
    nvd->flags        = c->flags;                                     
 2023f74:	c4 26 60 08 	st  %g2, [ %i1 + 8 ]                           <== NOT EXECUTED
    nvd->block_size   = c->block_size;                                
 2023f78:	f6 26 60 0c 	st  %i3, [ %i1 + 0xc ]                         <== NOT EXECUTED
    nvd->info_level   = c->info_level;                                
 2023f7c:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        <== NOT EXECUTED
                                                                      
    nvd->devices = calloc (c->device_count, sizeof (rtems_nvdisk_device_ctl));
 2023f80:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 2023f84:	7f ff 94 01 	call  2008f88 <calloc>                         <== NOT EXECUTED
 2023f88:	92 10 20 14 	mov  0x14, %o1                                 <== NOT EXECUTED
    if (!nvd->devices)                                                
 2023f8c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2023f90:	02 80 00 48 	be  20240b0 <rtems_nvdisk_initialize+0x240>    <== NOT EXECUTED
 2023f94:	d0 26 60 14 	st  %o0, [ %i1 + 0x14 ]                        <== NOT EXECUTED
      return RTEMS_NO_MEMORY;                                         
                                                                      
    for (device = 0; device < c->device_count; device++)              
 2023f98:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 2023f9c:	02 80 00 1a 	be  2024004 <rtems_nvdisk_initialize+0x194>    <== NOT EXECUTED
 2023fa0:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
 2023fa4:	ec 04 20 08 	ld  [ %l0 + 8 ], %l6                           <== NOT EXECUTED
 2023fa8:	aa 10 00 08 	mov  %o0, %l5                                  <== NOT EXECUTED
 2023fac:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
 */                                                                   
static uint32_t                                                       
rtems_nvdisk_pages_in_device (const rtems_nvdisk*             nvd,    
                              const rtems_nvdisk_device_desc* dd)     
{                                                                     
  return dd->size / nvd->block_size;                                  
 2023fb0:	d0 05 a0 08 	ld  [ %l6 + 8 ], %o0                           <== NOT EXECUTED
 2023fb4:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2023fb8:	40 00 f7 39 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2023fbc:	f8 25 40 00 	st  %i4, [ %l5 ]                               <== NOT EXECUTED
rtems_nvdisk_page_desc_pages (const rtems_nvdisk*             nvd,    
                              const rtems_nvdisk_device_desc* dd)     
{                                                                     
  uint32_t pages = rtems_nvdisk_pages_in_device (nvd, dd);            
  uint32_t bytes = pages * sizeof (uint16_t);                         
  return ((bytes - 1) / nvd->block_size) + 1;                         
 2023fc0:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
    for (device = 0; device < c->device_count; device++)              
    {                                                                 
      rtems_nvdisk_device_ctl* dc = &nvd->devices[device];            
                                                                      
      dc->device     = device;                                        
      dc->pages      = rtems_nvdisk_pages_in_device (nvd, &c->devices[device]);
 2023fc4:	d0 25 60 04 	st  %o0, [ %l5 + 4 ]                           <== NOT EXECUTED
 */                                                                   
static uint32_t                                                       
rtems_nvdisk_pages_in_device (const rtems_nvdisk*             nvd,    
                              const rtems_nvdisk_device_desc* dd)     
{                                                                     
  return dd->size / nvd->block_size;                                  
 2023fc8:	ae 10 00 08 	mov  %o0, %l7                                  <== NOT EXECUTED
static uint32_t                                                       
rtems_nvdisk_page_desc_pages (const rtems_nvdisk*             nvd,    
                              const rtems_nvdisk_device_desc* dd)     
{                                                                     
  uint32_t pages = rtems_nvdisk_pages_in_device (nvd, dd);            
  uint32_t bytes = pages * sizeof (uint16_t);                         
 2023fcc:	91 2a 20 01 	sll  %o0, 1, %o0                               <== NOT EXECUTED
  return ((bytes - 1) / nvd->block_size) + 1;                         
 2023fd0:	40 00 f7 33 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2023fd4:	90 02 3f ff 	add  %o0, -1, %o0                              <== NOT EXECUTED
      rtems_nvdisk_device_ctl* dc = &nvd->devices[device];            
                                                                      
      dc->device     = device;                                        
      dc->pages      = rtems_nvdisk_pages_in_device (nvd, &c->devices[device]);
      dc->pages_desc = rtems_nvdisk_page_desc_pages (nvd, &c->devices[device]);
      dc->block_base = blocks;                                        
 2023fd8:	fa 25 60 0c 	st  %i5, [ %l5 + 0xc ]                         <== NOT EXECUTED
rtems_nvdisk_page_desc_pages (const rtems_nvdisk*             nvd,    
                              const rtems_nvdisk_device_desc* dd)     
{                                                                     
  uint32_t pages = rtems_nvdisk_pages_in_device (nvd, dd);            
  uint32_t bytes = pages * sizeof (uint16_t);                         
  return ((bytes - 1) / nvd->block_size) + 1;                         
 2023fdc:	90 02 20 01 	inc  %o0                                       <== NOT EXECUTED
      dc->pages_desc = rtems_nvdisk_page_desc_pages (nvd, &c->devices[device]);
      dc->block_base = blocks;                                        
                                                                      
      blocks += dc->pages - dc->pages_desc;                           
                                                                      
      dc->descriptor = &c->devices[device];                           
 2023fe0:	ec 25 60 10 	st  %l6, [ %l5 + 0x10 ]                        <== NOT EXECUTED
    {                                                                 
      rtems_nvdisk_device_ctl* dc = &nvd->devices[device];            
                                                                      
      dc->device     = device;                                        
      dc->pages      = rtems_nvdisk_pages_in_device (nvd, &c->devices[device]);
      dc->pages_desc = rtems_nvdisk_page_desc_pages (nvd, &c->devices[device]);
 2023fe4:	d0 25 60 08 	st  %o0, [ %l5 + 8 ]                           <== NOT EXECUTED
      dc->block_base = blocks;                                        
                                                                      
      blocks += dc->pages - dc->pages_desc;                           
 2023fe8:	88 25 c0 08 	sub  %l7, %o0, %g4                             <== NOT EXECUTED
                                                                      
    nvd->devices = calloc (c->device_count, sizeof (rtems_nvdisk_device_ctl));
    if (!nvd->devices)                                                
      return RTEMS_NO_MEMORY;                                         
                                                                      
    for (device = 0; device < c->device_count; device++)              
 2023fec:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
      dc->device     = device;                                        
      dc->pages      = rtems_nvdisk_pages_in_device (nvd, &c->devices[device]);
      dc->pages_desc = rtems_nvdisk_page_desc_pages (nvd, &c->devices[device]);
      dc->block_base = blocks;                                        
                                                                      
      blocks += dc->pages - dc->pages_desc;                           
 2023ff0:	ba 07 40 04 	add  %i5, %g4, %i5                             <== NOT EXECUTED
 2023ff4:	aa 05 60 14 	add  %l5, 0x14, %l5                            <== NOT EXECUTED
                                                                      
    nvd->devices = calloc (c->device_count, sizeof (rtems_nvdisk_device_ctl));
    if (!nvd->devices)                                                
      return RTEMS_NO_MEMORY;                                         
                                                                      
    for (device = 0; device < c->device_count; device++)              
 2023ff8:	80 a7 00 1a 	cmp  %i4, %i2                                  <== NOT EXECUTED
 2023ffc:	12 bf ff ed 	bne  2023fb0 <rtems_nvdisk_initialize+0x140>   <== NOT EXECUTED
 2024000:	ac 05 a0 10 	add  %l6, 0x10, %l6                            <== NOT EXECUTED
      blocks += dc->pages - dc->pages_desc;                           
                                                                      
      dc->descriptor = &c->devices[device];                           
    }                                                                 
                                                                      
    nvd->block_count  = blocks;                                       
 2024004:	fa 26 60 10 	st  %i5, [ %i1 + 0x10 ]                        <== NOT EXECUTED
    nvd->device_count = c->device_count;                              
 2024008:	f4 26 60 18 	st  %i2, [ %i1 + 0x18 ]                        <== NOT EXECUTED
                                                                      
    sc = rtems_disk_create_phys(dev, c->block_size, blocks,           
 202400c:	82 07 bf f0 	add  %fp, -16, %g1                             <== NOT EXECUTED
 2024010:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 2024014:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        <== NOT EXECUTED
 2024018:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 202401c:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 2024020:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
 2024024:	19 00 80 8e 	sethi  %hi(0x2023800), %o4                     <== NOT EXECUTED
 2024028:	9a 10 20 00 	clr  %o5                                       <== NOT EXECUTED
 202402c:	7f ff 90 9b 	call  2008298 <rtems_disk_create_phys>         <== NOT EXECUTED
 2024030:	98 13 20 40 	or  %o4, 0x40, %o4                             <== NOT EXECUTED
                                rtems_nvdisk_ioctl, NULL, name);      
    if (sc != RTEMS_SUCCESSFUL)                                       
 2024034:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 2024038:	12 80 00 18 	bne  2024098 <rtems_nvdisk_initialize+0x228>   <== NOT EXECUTED
 202403c:	39 00 81 a4 	sethi  %hi(0x2069000), %i4                     <== NOT EXECUTED
    {                                                                 
      rtems_nvdisk_error ("disk create phy failed");                  
      return sc;                                                      
    }                                                                 
                                                                      
    sc = rtems_semaphore_create (rtems_build_name ('N', 'V', 'D', 'K'), 1,
 2024040:	d0 07 20 b8 	ld  [ %i4 + 0xb8 ], %o0	! 20690b8 <msdos_ops+0x118><== NOT EXECUTED
 2024044:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 2024048:	94 10 20 54 	mov  0x54, %o2                                 <== NOT EXECUTED
 202404c:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
 2024050:	7f ff a7 17 	call  200dcac <rtems_semaphore_create>         <== NOT EXECUTED
 2024054:	98 06 60 20 	add  %i1, 0x20, %o4                            <== NOT EXECUTED
                                 RTEMS_PRIORITY | RTEMS_BINARY_SEMAPHORE |
                                 RTEMS_INHERIT_PRIORITY, 0, &nvd->lock);
    if (sc != RTEMS_SUCCESSFUL)                                       
 2024058:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 202405c:	12 80 00 09 	bne  2024080 <rtems_nvdisk_initialize+0x210>   <== NOT EXECUTED
 2024060:	a2 04 60 01 	inc  %l1                                       <== NOT EXECUTED
                          sizeof (rtems_nvdisk));                     
                                                                      
  if (!rtems_nvdisks)                                                 
    return RTEMS_NO_MEMORY;                                           
                                                                      
  for (minor = 0; minor < rtems_nvdisk_configuration_size; minor++, c++)
 2024064:	f6 05 20 d0 	ld  [ %l4 + 0xd0 ], %i3                        <== NOT EXECUTED
 2024068:	a0 04 20 14 	add  %l0, 0x14, %l0                            <== NOT EXECUTED
 202406c:	80 a6 c0 11 	cmp  %i3, %l1                                  <== NOT EXECUTED
 2024070:	08 80 00 12 	bleu  20240b8 <rtems_nvdisk_initialize+0x248>  <== NOT EXECUTED
 2024074:	b0 06 20 28 	add  %i0, 0x28, %i0                            <== NOT EXECUTED
 2024078:	10 bf ff af 	b  2023f34 <rtems_nvdisk_initialize+0xc4>      <== NOT EXECUTED
 202407c:	d0 04 e1 f4 	ld  [ %l3 + 0x1f4 ], %o0                       <== NOT EXECUTED
    sc = rtems_semaphore_create (rtems_build_name ('N', 'V', 'D', 'K'), 1,
                                 RTEMS_PRIORITY | RTEMS_BINARY_SEMAPHORE |
                                 RTEMS_INHERIT_PRIORITY, 0, &nvd->lock);
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
      rtems_nvdisk_error ("disk lock create failed");                 
 2024080:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
    {                                                                 
      rtems_nvdisk_error ("disk create phy failed");                  
      return sc;                                                      
    }                                                                 
                                                                      
    sc = rtems_semaphore_create (rtems_build_name ('N', 'V', 'D', 'K'), 1,
 2024084:	b0 10 00 1b 	mov  %i3, %i0                                  <== NOT EXECUTED
                                 RTEMS_PRIORITY | RTEMS_BINARY_SEMAPHORE |
                                 RTEMS_INHERIT_PRIORITY, 0, &nvd->lock);
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
      rtems_nvdisk_error ("disk lock create failed");                 
 2024088:	7f ff fd a9 	call  202372c <rtems_nvdisk_error>             <== NOT EXECUTED
 202408c:	90 12 20 a0 	or  %o0, 0xa0, %o0                             <== NOT EXECUTED
 2024090:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024094:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    sc = rtems_disk_create_phys(dev, c->block_size, blocks,           
                                rtems_nvdisk_ioctl, NULL, name);      
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
      rtems_nvdisk_error ("disk create phy failed");                  
 2024098:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
    }                                                                 
                                                                      
    nvd->block_count  = blocks;                                       
    nvd->device_count = c->device_count;                              
                                                                      
    sc = rtems_disk_create_phys(dev, c->block_size, blocks,           
 202409c:	b0 10 00 1b 	mov  %i3, %i0                                  <== NOT EXECUTED
                                rtems_nvdisk_ioctl, NULL, name);      
    if (sc != RTEMS_SUCCESSFUL)                                       
    {                                                                 
      rtems_nvdisk_error ("disk create phy failed");                  
 20240a0:	7f ff fd a3 	call  202372c <rtems_nvdisk_error>             <== NOT EXECUTED
 20240a4:	90 12 20 88 	or  %o0, 0x88, %o0                             <== NOT EXECUTED
 20240a8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20240ac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    nvd->block_size   = c->block_size;                                
    nvd->info_level   = c->info_level;                                
                                                                      
    nvd->devices = calloc (c->device_count, sizeof (rtems_nvdisk_device_ctl));
    if (!nvd->devices)                                                
      return RTEMS_NO_MEMORY;                                         
 20240b0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20240b4:	91 e8 20 1a 	restore  %g0, 0x1a, %o0                        <== NOT EXECUTED
      rtems_nvdisk_error ("disk lock create failed");                 
      return sc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rtems_nvdisk_count = rtems_nvdisk_configuration_size;               
 20240b8:	03 00 81 d5 	sethi  %hi(0x2075400), %g1                     <== NOT EXECUTED
 20240bc:	f6 20 61 f8 	st  %i3, [ %g1 + 0x1f8 ]	! 20755f8 <rtems_nvdisk_count><== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 20240c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20240c4:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

02023840 <rtems_nvdisk_ioctl>: * @param argp IOCTL argument. * @retval The IOCTL return value */ static int rtems_nvdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp) {
 2023840:	9d e3 bf 88 	save  %sp, -120, %sp                           <== NOT EXECUTED
  dev_t                     dev = rtems_disk_get_device_identifier (dd);
  rtems_device_minor_number minor = rtems_filesystem_dev_minor_t (dev);
  rtems_blkdev_request*     r = argp;                                 
  rtems_status_code         sc;                                       
                                                                      
  if (minor >= rtems_nvdisk_count)                                    
 2023844:	05 00 81 d5 	sethi  %hi(0x2075400), %g2                     <== NOT EXECUTED
  dev_t device                                                        
)                                                                     
{                                                                     
  union __rtems_dev_t temp;                                           
                                                                      
  temp.device = device;                                               
 2023848:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           <== NOT EXECUTED
 202384c:	c4 00 a1 f8 	ld  [ %g2 + 0x1f8 ], %g2                       <== NOT EXECUTED
 2023850:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2023854:	08 80 01 0f 	bleu  2023c90 <rtems_nvdisk_ioctl+0x450>       <== NOT EXECUTED
 2023858:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        <== NOT EXECUTED
  {                                                                   
    errno = ENODEV;                                                   
    return -1;                                                        
  }                                                                   
                                                                      
  if (rtems_nvdisks[minor].device_count == 0)                         
 202385c:	23 00 81 d5 	sethi  %hi(0x2075400), %l1                     <== NOT EXECUTED
 2023860:	c4 04 61 f4 	ld  [ %l1 + 0x1f4 ], %g2	! 20755f4 <rtems_nvdisks><== NOT EXECUTED
 2023864:	a1 28 60 03 	sll  %g1, 3, %l0                               <== NOT EXECUTED
 2023868:	83 28 60 05 	sll  %g1, 5, %g1                               <== NOT EXECUTED
 202386c:	82 04 00 01 	add  %l0, %g1, %g1                             <== NOT EXECUTED
 2023870:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         <== NOT EXECUTED
 2023874:	82 00 80 01 	add  %g2, %g1, %g1                             <== NOT EXECUTED
 2023878:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        <== NOT EXECUTED
 202387c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2023880:	02 80 01 04 	be  2023c90 <rtems_nvdisk_ioctl+0x450>         <== NOT EXECUTED
 2023884:	01 00 00 00 	nop                                            <== NOT EXECUTED
  {                                                                   
    errno = ENODEV;                                                   
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
 2023888:	40 00 94 20 	call  2048908 <__errno>                        <== NOT EXECUTED
 202388c:	01 00 00 00 	nop                                            <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain (rtems_nvdisks[minor].lock, RTEMS_WAIT, 0);
 2023890:	c2 04 61 f4 	ld  [ %l1 + 0x1f4 ], %g1                       <== NOT EXECUTED
 2023894:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         <== NOT EXECUTED
  {                                                                   
    errno = ENODEV;                                                   
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
 2023898:	c0 22 00 00 	clr  [ %o0 ]                                   <== NOT EXECUTED
                                                                      
  sc = rtems_semaphore_obtain (rtems_nvdisks[minor].lock, RTEMS_WAIT, 0);
 202389c:	82 00 40 02 	add  %g1, %g2, %g1                             <== NOT EXECUTED
 20238a0:	d0 00 60 20 	ld  [ %g1 + 0x20 ], %o0                        <== NOT EXECUTED
 20238a4:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 20238a8:	7f ff a9 c7 	call  200dfc4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 20238ac:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 20238b0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20238b4:	12 80 00 1c 	bne  2023924 <rtems_nvdisk_ioctl+0xe4>         <== NOT EXECUTED
 20238b8:	01 00 00 00 	nop                                            <== NOT EXECUTED
    errno = EIO;                                                      
  else                                                                
  {                                                                   
    errno = 0;                                                        
 20238bc:	40 00 94 13 	call  2048908 <__errno>                        <== NOT EXECUTED
 20238c0:	01 00 00 00 	nop                                            <== NOT EXECUTED
    switch (req)                                                      
 20238c4:	03 08 00 10 	sethi  %hi(0x20004000), %g1                    <== NOT EXECUTED
 20238c8:	84 10 62 82 	or  %g1, 0x282, %g2	! 20004282 <RAM_END+0x1dc04282><== NOT EXECUTED
 20238cc:	80 a6 40 02 	cmp  %i1, %g2                                  <== NOT EXECUTED
 20238d0:	02 80 00 49 	be  20239f4 <rtems_nvdisk_ioctl+0x1b4>         <== NOT EXECUTED
 20238d4:	c0 22 00 00 	clr  [ %o0 ]                                   <== NOT EXECUTED
 20238d8:	05 30 06 10 	sethi  %hi(0xc0184000), %g2                    <== NOT EXECUTED
 20238dc:	84 10 a2 01 	or  %g2, 0x201, %g2	! c0184201 <RAM_END+0xbdd84201><== NOT EXECUTED
 20238e0:	80 a6 40 02 	cmp  %i1, %g2                                  <== NOT EXECUTED
 20238e4:	02 80 00 4a 	be  2023a0c <rtems_nvdisk_ioctl+0x1cc>         <== NOT EXECUTED
 20238e8:	82 10 62 80 	or  %g1, 0x280, %g1                            <== NOT EXECUTED
 20238ec:	80 a6 40 01 	cmp  %i1, %g1                                  <== NOT EXECUTED
 20238f0:	02 80 00 18 	be  2023950 <rtems_nvdisk_ioctl+0x110>         <== NOT EXECUTED
 20238f4:	d4 07 a0 4c 	ld  [ %fp + 0x4c ], %o2                        <== NOT EXECUTED
      case RTEMS_NVDISK_IOCTL_INFO_LEVEL:                             
        rtems_nvdisks[minor].info_level = (uintptr_t) argp;           
        break;                                                        
                                                                      
      default:                                                        
        rtems_blkdev_ioctl (dd, req, argp);                           
 20238f8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20238fc:	40 00 12 c7 	call  2028418 <rtems_blkdev_ioctl>             <== NOT EXECUTED
 2023900:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2023904:	c6 07 bf f4 	ld  [ %fp + -12 ], %g3                         <== NOT EXECUTED
 2023908:	f6 04 61 f4 	ld  [ %l1 + 0x1f4 ], %i3                       <== NOT EXECUTED
 202390c:	b6 06 c0 03 	add  %i3, %g3, %i3                             <== NOT EXECUTED
        break;                                                        
    }                                                                 
                                                                      
    sc = rtems_semaphore_release (rtems_nvdisks[minor].lock);         
 2023910:	7f ff a9 fd 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2023914:	d0 06 e0 20 	ld  [ %i3 + 0x20 ], %o0                        <== NOT EXECUTED
    if (sc != RTEMS_SUCCESSFUL)                                       
 2023918:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 202391c:	02 80 00 06 	be  2023934 <rtems_nvdisk_ioctl+0xf4>          <== NOT EXECUTED
 2023920:	01 00 00 00 	nop                                            <== NOT EXECUTED
      errno = EIO;                                                    
 2023924:	40 00 93 f9 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023928:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202392c:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 2023930:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return errno == 0 ? 0 : -1;                                         
 2023934:	40 00 93 f5 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023938:	01 00 00 00 	nop                                            <== NOT EXECUTED
 202393c:	c2 02 00 00 	ld  [ %o0 ], %g1                               <== NOT EXECUTED
 2023940:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
 2023944:	b0 60 20 00 	subx  %g0, 0, %i0                              <== NOT EXECUTED
 2023948:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202394c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
            break;                                                    
        }                                                             
        break;                                                        
                                                                      
      case RTEMS_NVDISK_IOCTL_ERASE_DISK:                             
        errno = rtems_nvdisk_erase_disk (&rtems_nvdisks[minor]);      
 2023950:	40 00 93 ee 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023954:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2023958:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
 202395c:	f6 04 61 f4 	ld  [ %l1 + 0x1f4 ], %i3                       <== NOT EXECUTED
 2023960:	b6 06 c0 01 	add  %i3, %g1, %i3                             <== NOT EXECUTED
                                                                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_info (nvd, "erase-disk");                              
#endif                                                                
                                                                      
  for (device = 0; device < nvd->device_count; device++)              
 2023964:	c6 06 e0 18 	ld  [ %i3 + 0x18 ], %g3                        <== NOT EXECUTED
 2023968:	80 a0 e0 00 	cmp  %g3, 0                                    <== NOT EXECUTED
 202396c:	02 80 01 3e 	be  2023e64 <rtems_nvdisk_ioctl+0x624>         <== NOT EXECUTED
 2023970:	a4 10 00 08 	mov  %o0, %l2                                  <== NOT EXECUTED
  {                                                                   
    rtems_nvdisk_device_ctl* dc = &nvd->devices[device];              
    uint32_t                 page;                                    
    for (page = 0; page < (dc->pages - dc->pages_desc); page++)       
    {                                                                 
      int ret = rtems_nvdisk_write_checksum (nvd, dc->device, page, 0xffff);
 2023974:	35 00 00 3f 	sethi  %hi(0xfc00), %i2                        <== NOT EXECUTED
                                                                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_info (nvd, "erase-disk");                              
#endif                                                                
                                                                      
  for (device = 0; device < nvd->device_count; device++)              
 2023978:	b2 10 20 00 	clr  %i1                                       <== NOT EXECUTED
 202397c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  {                                                                   
    rtems_nvdisk_device_ctl* dc = &nvd->devices[device];              
    uint32_t                 page;                                    
    for (page = 0; page < (dc->pages - dc->pages_desc); page++)       
    {                                                                 
      int ret = rtems_nvdisk_write_checksum (nvd, dc->device, page, 0xffff);
 2023980:	b4 16 a3 ff 	or  %i2, 0x3ff, %i2                            <== NOT EXECUTED
  rtems_nvdisk_info (nvd, "erase-disk");                              
#endif                                                                
                                                                      
  for (device = 0; device < nvd->device_count; device++)              
  {                                                                   
    rtems_nvdisk_device_ctl* dc = &nvd->devices[device];              
 2023984:	f8 06 e0 14 	ld  [ %i3 + 0x14 ], %i4                        <== NOT EXECUTED
 2023988:	b8 07 00 19 	add  %i4, %i1, %i4                             <== NOT EXECUTED
    uint32_t                 page;                                    
    for (page = 0; page < (dc->pages - dc->pages_desc); page++)       
 202398c:	c4 07 20 08 	ld  [ %i4 + 8 ], %g2                           <== NOT EXECUTED
 2023990:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           <== NOT EXECUTED
 2023994:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2023998:	02 80 00 aa 	be  2023c40 <rtems_nvdisk_ioctl+0x400>         <== NOT EXECUTED
 202399c:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
    {                                                                 
      int ret = rtems_nvdisk_write_checksum (nvd, dc->device, page, 0xffff);
 20239a0:	10 80 00 09 	b  20239c4 <rtems_nvdisk_ioctl+0x184>          <== NOT EXECUTED
 20239a4:	d2 07 00 00 	ld  [ %i4 ], %o1                               <== NOT EXECUTED
                                                                      
  for (device = 0; device < nvd->device_count; device++)              
  {                                                                   
    rtems_nvdisk_device_ctl* dc = &nvd->devices[device];              
    uint32_t                 page;                                    
    for (page = 0; page < (dc->pages - dc->pages_desc); page++)       
 20239a8:	c2 07 20 08 	ld  [ %i4 + 8 ], %g1                           <== NOT EXECUTED
 20239ac:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 20239b0:	82 20 80 01 	sub  %g2, %g1, %g1                             <== NOT EXECUTED
 20239b4:	80 a7 40 01 	cmp  %i5, %g1                                  <== NOT EXECUTED
 20239b8:	3a 80 00 a2 	bcc,a   2023c40 <rtems_nvdisk_ioctl+0x400>     <== NOT EXECUTED
 20239bc:	c6 06 e0 18 	ld  [ %i3 + 0x18 ], %g3                        <== NOT EXECUTED
    {                                                                 
      int ret = rtems_nvdisk_write_checksum (nvd, dc->device, page, 0xffff);
 20239c0:	d2 07 00 00 	ld  [ %i4 ], %o1                               <== NOT EXECUTED
 20239c4:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 20239c8:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 20239cc:	7f ff ff 45 	call  20236e0 <rtems_nvdisk_write_checksum>    <== NOT EXECUTED
 20239d0:	96 10 00 1a 	mov  %i2, %o3                                  <== NOT EXECUTED
      if (ret)                                                        
 20239d4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20239d8:	22 bf ff f4 	be,a   20239a8 <rtems_nvdisk_ioctl+0x168>      <== NOT EXECUTED
 20239dc:	c4 07 20 04 	ld  [ %i4 + 4 ], %g2                           <== NOT EXECUTED
 20239e0:	f6 04 61 f4 	ld  [ %l1 + 0x1f4 ], %i3                       <== NOT EXECUTED
 20239e4:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         <== NOT EXECUTED
            break;                                                    
        }                                                             
        break;                                                        
                                                                      
      case RTEMS_NVDISK_IOCTL_ERASE_DISK:                             
        errno = rtems_nvdisk_erase_disk (&rtems_nvdisks[minor]);      
 20239e8:	d0 24 80 00 	st  %o0, [ %l2 ]                               <== NOT EXECUTED
        break;                                                        
 20239ec:	10 bf ff c9 	b  2023910 <rtems_nvdisk_ioctl+0xd0>           <== NOT EXECUTED
 20239f0:	b6 06 c0 02 	add  %i3, %g2, %i3                             <== NOT EXECUTED
                                                                      
      case RTEMS_NVDISK_IOCTL_INFO_LEVEL:                             
        rtems_nvdisks[minor].info_level = (uintptr_t) argp;           
 20239f4:	f6 04 61 f4 	ld  [ %l1 + 0x1f4 ], %i3                       <== NOT EXECUTED
 20239f8:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
 20239fc:	c4 07 a0 4c 	ld  [ %fp + 0x4c ], %g2                        <== NOT EXECUTED
 2023a00:	b6 06 c0 01 	add  %i3, %g1, %i3                             <== NOT EXECUTED
        break;                                                        
 2023a04:	10 bf ff c3 	b  2023910 <rtems_nvdisk_ioctl+0xd0>           <== NOT EXECUTED
 2023a08:	c4 26 e0 24 	st  %g2, [ %i3 + 0x24 ]                        <== NOT EXECUTED
  {                                                                   
    errno = 0;                                                        
    switch (req)                                                      
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        switch (r->req)                                               
 2023a0c:	c6 07 a0 4c 	ld  [ %fp + 0x4c ], %g3                        <== NOT EXECUTED
 2023a10:	c2 00 c0 00 	ld  [ %g3 ], %g1                               <== NOT EXECUTED
 2023a14:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2023a18:	12 80 00 94 	bne  2023c68 <rtems_nvdisk_ioctl+0x428>        <== NOT EXECUTED
 2023a1c:	80 a0 60 01 	cmp  %g1, 1                                    <== NOT EXECUTED
        {                                                             
          case RTEMS_BLKDEV_REQ_READ:                                 
            errno = rtems_nvdisk_read (&rtems_nvdisks[minor], r);     
 2023a20:	40 00 93 ba 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023a24:	25 00 00 3f 	sethi  %hi(0xfc00), %l2                        <== NOT EXECUTED
 2023a28:	c4 07 a0 4c 	ld  [ %fp + 0x4c ], %g2                        <== NOT EXECUTED
 2023a2c:	f8 04 61 f4 	ld  [ %l1 + 0x1f4 ], %i4                       <== NOT EXECUTED
 2023a30:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
 2023a34:	fa 00 a0 10 	ld  [ %g2 + 0x10 ], %i5                        <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_nvdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)  
 2023a38:	86 10 20 01 	mov  1, %g3                                    <== NOT EXECUTED
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        switch (r->req)                                               
        {                                                             
          case RTEMS_BLKDEV_REQ_READ:                                 
            errno = rtems_nvdisk_read (&rtems_nvdisks[minor], r);     
 2023a3c:	d0 27 bf ec 	st  %o0, [ %fp + -20 ]                         <== NOT EXECUTED
 2023a40:	b8 07 00 01 	add  %i4, %g1, %i4                             <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_nvdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)  
 2023a44:	b2 00 a0 28 	add  %g2, 0x28, %i1                            <== NOT EXECUTED
 2023a48:	c6 27 bf f0 	st  %g3, [ %fp + -16 ]                         <== NOT EXECUTED
  ret = rtems_nvdisk_read_checksum (nvd, dc->device, page, &crc);     
                                                                      
  if (ret)                                                            
    return ret;                                                       
                                                                      
  if (crc == 0xffff)                                                  
 2023a4c:	a4 14 a3 ff 	or  %l2, 0x3ff, %l2                            <== NOT EXECUTED
                                                                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_info (nvd, "read: blocks=%d", req->bufnum);            
#endif                                                                
                                                                      
  for (bufs = 0; (ret == 0) && (bufs < req->bufnum); bufs++, sg++)    
 2023a50:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         <== NOT EXECUTED
 2023a54:	82 00 bf ff 	add  %g2, -1, %g1                              <== NOT EXECUTED
 2023a58:	80 a0 40 1d 	cmp  %g1, %i5                                  <== NOT EXECUTED
 2023a5c:	1a 80 01 00 	bcc  2023e5c <rtems_nvdisk_ioctl+0x61c>        <== NOT EXECUTED
 2023a60:	ac 10 20 00 	clr  %l6                                       <== NOT EXECUTED
  {                                                                   
    uint8_t* data;                                                    
    uint32_t nvb;                                                     
    uint32_t b;                                                       
    nvb = sg->length / nvd->block_size;                               
 2023a64:	d0 06 7f f4 	ld  [ %i1 + -12 ], %o0                         <== NOT EXECUTED
 2023a68:	40 00 f8 8d 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2023a6c:	d2 07 20 0c 	ld  [ %i4 + 0xc ], %o1                         <== NOT EXECUTED
    data = sg->buffer;                                                
 2023a70:	f0 06 7f f8 	ld  [ %i1 + -8 ], %i0                          <== NOT EXECUTED
    for (b = 0; b < nvb; b++, data += nvd->block_size)                
 2023a74:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2023a78:	02 80 00 6d 	be  2023c2c <rtems_nvdisk_ioctl+0x3ec>         <== NOT EXECUTED
 2023a7c:	a6 10 00 08 	mov  %o0, %l3                                  <== NOT EXECUTED
 2023a80:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
    {                                                                 
      ret = rtems_nvdisk_read_block (nvd, sg->block + b, data);       
 2023a84:	fa 06 7f f0 	ld  [ %i1 + -16 ], %i5                         <== NOT EXECUTED
  uint32_t                 page;                                      
  uint16_t                 crc;                                       
  uint16_t                 cs;                                        
  int                      ret;                                       
                                                                      
  dc = rtems_nvdisk_get_device (nvd, block);                          
 2023a88:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    uint32_t b;                                                       
    nvb = sg->length / nvd->block_size;                               
    data = sg->buffer;                                                
    for (b = 0; b < nvb; b++, data += nvd->block_size)                
    {                                                                 
      ret = rtems_nvdisk_read_block (nvd, sg->block + b, data);       
 2023a8c:	ba 06 c0 1d 	add  %i3, %i5, %i5                             <== NOT EXECUTED
  uint32_t                 page;                                      
  uint16_t                 crc;                                       
  uint16_t                 cs;                                        
  int                      ret;                                       
                                                                      
  dc = rtems_nvdisk_get_device (nvd, block);                          
 2023a90:	7f ff ff 46 	call  20237a8 <rtems_nvdisk_get_device>        <== NOT EXECUTED
 2023a94:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
                                                                      
  if (!dc)                                                            
 2023a98:	ae 92 20 00 	orcc  %o0, 0, %l7                              <== NOT EXECUTED
 2023a9c:	02 80 00 58 	be  2023bfc <rtems_nvdisk_ioctl+0x3bc>         <== NOT EXECUTED
 2023aa0:	98 07 bf fe 	add  %fp, -2, %o4                              <== NOT EXECUTED
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_info (nvd, " read-block:%d=>%02d-%03d, cs:%04x",       
                     block, dc->device, page, crc);                   
#endif                                                                
                                                                      
  ret = rtems_nvdisk_read_checksum (nvd, dc->device, page, &crc);     
 2023aa4:	d0 05 c0 00 	ld  [ %l7 ], %o0                               <== NOT EXECUTED
 * Get the descriptor for a device.                                   
 */                                                                   
static const rtems_nvdisk_device_desc*                                
rtems_nvdisk_device_descriptor (const rtems_nvdisk* nvd, uint32_t device)
{                                                                     
  return nvd->devices[device].descriptor;                             
 2023aa8:	c4 07 20 14 	ld  [ %i4 + 0x14 ], %g2                        <== NOT EXECUTED
 2023aac:	87 2a 20 02 	sll  %o0, 2, %g3                               <== NOT EXECUTED
 2023ab0:	83 2a 20 04 	sll  %o0, 4, %g1                               <== NOT EXECUTED
 2023ab4:	82 00 c0 01 	add  %g3, %g1, %g1                             <== NOT EXECUTED
 2023ab8:	82 00 80 01 	add  %g2, %g1, %g1                             <== NOT EXECUTED
 2023abc:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        <== NOT EXECUTED
 */                                                                   
static uint32_t                                                       
rtems_nvdisk_get_page (rtems_nvdisk_device_ctl* dc,                   
                       uint32_t                 block)                
{                                                                     
  return block - dc->block_base;                                      
 2023ac0:	c4 05 e0 0c 	ld  [ %l7 + 0xc ], %g2                         <== NOT EXECUTED
  ops = nvd->devices[device].descriptor->nv_ops;                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_printf (nvd, "  dev-read: %02d-%08x: s=%d",            
                      device, offset, size);                          
#endif                                                                
  return ops->read (device, dd->flags, dd->base, offset, buffer, size);
 2023ac4:	c6 00 60 0c 	ld  [ %g1 + 0xc ], %g3                         <== NOT EXECUTED
 2023ac8:	d2 00 40 00 	ld  [ %g1 ], %o1                               <== NOT EXECUTED
 2023acc:	c6 00 c0 00 	ld  [ %g3 ], %g3                               <== NOT EXECUTED
 2023ad0:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           <== NOT EXECUTED
 */                                                                   
static uint32_t                                                       
rtems_nvdisk_get_page (rtems_nvdisk_device_ctl* dc,                   
                       uint32_t                 block)                
{                                                                     
  return block - dc->block_base;                                      
 2023ad4:	a8 27 40 02 	sub  %i5, %g2, %l4                             <== NOT EXECUTED
  ops = nvd->devices[device].descriptor->nv_ops;                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_printf (nvd, "  dev-read: %02d-%08x: s=%d",            
                      device, offset, size);                          
#endif                                                                
  return ops->read (device, dd->flags, dd->base, offset, buffer, size);
 2023ad8:	97 2d 20 01 	sll  %l4, 1, %o3                               <== NOT EXECUTED
 2023adc:	9f c0 c0 00 	call  %g3                                      <== NOT EXECUTED
 2023ae0:	9a 10 20 02 	mov  2, %o5                                    <== NOT EXECUTED
                     block, dc->device, page, crc);                   
#endif                                                                
                                                                      
  ret = rtems_nvdisk_read_checksum (nvd, dc->device, page, &crc);     
                                                                      
  if (ret)                                                            
 2023ae4:	ac 92 20 00 	orcc  %o0, 0, %l6                              <== NOT EXECUTED
 2023ae8:	12 80 00 39 	bne  2023bcc <rtems_nvdisk_ioctl+0x38c>        <== NOT EXECUTED
 2023aec:	c2 17 bf fe 	lduh  [ %fp + -2 ], %g1                        <== NOT EXECUTED
    return ret;                                                       
                                                                      
  if (crc == 0xffff)                                                  
 2023af0:	80 a0 40 12 	cmp  %g1, %l2                                  <== NOT EXECUTED
 2023af4:	22 80 00 44 	be,a   2023c04 <rtems_nvdisk_ioctl+0x3c4>      <== NOT EXECUTED
 2023af8:	d4 07 20 0c 	ld  [ %i4 + 0xc ], %o2                         <== NOT EXECUTED
#endif                                                                
    memset (buffer, 0, nvd->block_size);                              
    return 0;                                                         
  }                                                                   
                                                                      
  ret = rtems_nvdisk_read_page (nvd, dc->device, page + dc->pages_desc, buffer);
 2023afc:	ec 05 c0 00 	ld  [ %l7 ], %l6                               <== NOT EXECUTED
 * Get the descriptor for a device.                                   
 */                                                                   
static const rtems_nvdisk_device_desc*                                
rtems_nvdisk_device_descriptor (const rtems_nvdisk* nvd, uint32_t device)
{                                                                     
  return nvd->devices[device].descriptor;                             
 2023b00:	c8 07 20 14 	ld  [ %i4 + 0x14 ], %g4                        <== NOT EXECUTED
 2023b04:	9f 2d a0 02 	sll  %l6, 2, %o7                               <== NOT EXECUTED
 2023b08:	87 2d a0 04 	sll  %l6, 4, %g3                               <== NOT EXECUTED
 2023b0c:	86 03 c0 03 	add  %o7, %g3, %g3                             <== NOT EXECUTED
 2023b10:	86 01 00 03 	add  %g4, %g3, %g3                             <== NOT EXECUTED
 2023b14:	c6 00 e0 10 	ld  [ %g3 + 0x10 ], %g3                        <== NOT EXECUTED
                        uint32_t            device,                   
                        uint32_t            page,                     
                        void*               buffer)                   
{                                                                     
  return rtems_nvdisk_device_read (nvd, device,                       
                                   page * nvd->block_size, buffer,    
 2023b18:	f4 07 20 0c 	ld  [ %i4 + 0xc ], %i2                         <== NOT EXECUTED
#endif                                                                
    memset (buffer, 0, nvd->block_size);                              
    return 0;                                                         
  }                                                                   
                                                                      
  ret = rtems_nvdisk_read_page (nvd, dc->device, page + dc->pages_desc, buffer);
 2023b1c:	d0 05 e0 08 	ld  [ %l7 + 8 ], %o0                           <== NOT EXECUTED
  ops = nvd->devices[device].descriptor->nv_ops;                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_printf (nvd, "  dev-read: %02d-%08x: s=%d",            
                      device, offset, size);                          
#endif                                                                
  return ops->read (device, dd->flags, dd->base, offset, buffer, size);
 2023b20:	ea 00 e0 0c 	ld  [ %g3 + 0xc ], %l5                         <== NOT EXECUTED
 2023b24:	e0 00 c0 00 	ld  [ %g3 ], %l0                               <== NOT EXECUTED
 2023b28:	ee 00 e0 04 	ld  [ %g3 + 4 ], %l7                           <== NOT EXECUTED
rtems_nvdisk_read_page (const rtems_nvdisk* nvd,                      
                        uint32_t            device,                   
                        uint32_t            page,                     
                        void*               buffer)                   
{                                                                     
  return rtems_nvdisk_device_read (nvd, device,                       
 2023b2c:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2023b30:	7f ff 7d 0d 	call  2002f64 <.umul>                          <== NOT EXECUTED
 2023b34:	90 05 00 08 	add  %l4, %o0, %o0                             <== NOT EXECUTED
  ops = nvd->devices[device].descriptor->nv_ops;                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_printf (nvd, "  dev-read: %02d-%08x: s=%d",            
                      device, offset, size);                          
#endif                                                                
  return ops->read (device, dd->flags, dd->base, offset, buffer, size);
 2023b38:	c4 05 40 00 	ld  [ %l5 ], %g2                               <== NOT EXECUTED
rtems_nvdisk_read_page (const rtems_nvdisk* nvd,                      
                        uint32_t            device,                   
                        uint32_t            page,                     
                        void*               buffer)                   
{                                                                     
  return rtems_nvdisk_device_read (nvd, device,                       
 2023b3c:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
  ops = nvd->devices[device].descriptor->nv_ops;                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_printf (nvd, "  dev-read: %02d-%08x: s=%d",            
                      device, offset, size);                          
#endif                                                                
  return ops->read (device, dd->flags, dd->base, offset, buffer, size);
 2023b40:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 2023b44:	90 10 00 16 	mov  %l6, %o0                                  <== NOT EXECUTED
 2023b48:	94 10 00 17 	mov  %l7, %o2                                  <== NOT EXECUTED
 2023b4c:	98 10 00 18 	mov  %i0, %o4                                  <== NOT EXECUTED
 2023b50:	9f c0 80 00 	call  %g2                                      <== NOT EXECUTED
 2023b54:	9a 10 00 1a 	mov  %i2, %o5                                  <== NOT EXECUTED
    return 0;                                                         
  }                                                                   
                                                                      
  ret = rtems_nvdisk_read_page (nvd, dc->device, page + dc->pages_desc, buffer);
                                                                      
  if (ret)                                                            
 2023b58:	ac 92 20 00 	orcc  %o0, 0, %l6                              <== NOT EXECUTED
 2023b5c:	12 80 00 1d 	bne  2023bd0 <rtems_nvdisk_ioctl+0x390>        <== NOT EXECUTED
 2023b60:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
    return ret;                                                       
                                                                      
  cs = rtems_nvdisk_page_checksum (buffer, nvd->block_size);          
 2023b64:	da 07 20 0c 	ld  [ %i4 + 0xc ], %o5                         <== NOT EXECUTED
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2023b68:	80 a3 60 00 	cmp  %o5, 0                                    <== NOT EXECUTED
 2023b6c:	02 80 00 0e 	be  2023ba4 <rtems_nvdisk_ioctl+0x364>         <== NOT EXECUTED
 2023b70:	84 10 3f ff 	mov  -1, %g2                                   <== NOT EXECUTED
 2023b74:	03 00 81 d5 	sethi  %hi(0x2075400), %g1                     <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_nvdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)  
 2023b78:	88 06 00 0d 	add  %i0, %o5, %g4                             <== NOT EXECUTED
 2023b7c:	de 00 61 fc 	ld  [ %g1 + 0x1fc ], %o7                       <== NOT EXECUTED
 2023b80:	82 10 00 18 	mov  %i0, %g1                                  <== NOT EXECUTED
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
    cs = rtems_nvdisk_calc_crc16 (cs, *buffer);                       
 2023b84:	c6 08 40 00 	ldub  [ %g1 ], %g3                             <== NOT EXECUTED
 2023b88:	84 08 a0 ff 	and  %g2, 0xff, %g2                            <== NOT EXECUTED
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2023b8c:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
    cs = rtems_nvdisk_calc_crc16 (cs, *buffer);                       
 2023b90:	84 18 80 03 	xor  %g2, %g3, %g2                             <== NOT EXECUTED
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2023b94:	80 a0 40 04 	cmp  %g1, %g4                                  <== NOT EXECUTED
    cs = rtems_nvdisk_calc_crc16 (cs, *buffer);                       
 2023b98:	85 28 a0 01 	sll  %g2, 1, %g2                               <== NOT EXECUTED
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2023b9c:	12 bf ff fa 	bne  2023b84 <rtems_nvdisk_ioctl+0x344>        <== NOT EXECUTED
 2023ba0:	c4 13 c0 02 	lduh  [ %o7 + %g2 ], %g2                       <== NOT EXECUTED
  if (ret)                                                            
    return ret;                                                       
                                                                      
  cs = rtems_nvdisk_page_checksum (buffer, nvd->block_size);          
                                                                      
  if (cs != crc)                                                      
 2023ba4:	d6 17 bf fe 	lduh  [ %fp + -2 ], %o3                        <== NOT EXECUTED
 2023ba8:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 2023bac:	95 30 a0 10 	srl  %g2, 0x10, %o2                            <== NOT EXECUTED
 2023bb0:	80 a2 80 0b 	cmp  %o2, %o3                                  <== NOT EXECUTED
 2023bb4:	02 80 00 18 	be  2023c14 <rtems_nvdisk_ioctl+0x3d4>         <== NOT EXECUTED
 2023bb8:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
  {                                                                   
    rtems_nvdisk_error ("read-block: crc failure: %d: buffer:%04x page:%04x",
 2023bbc:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2023bc0:	90 12 20 50 	or  %o0, 0x50, %o0                             <== NOT EXECUTED
 2023bc4:	7f ff fe da 	call  202372c <rtems_nvdisk_error>             <== NOT EXECUTED
 2023bc8:	ac 10 20 05 	mov  5, %l6                                    <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 2023bcc:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
  req->req_done (req->done_arg, req->status);                         
 2023bd0:	c6 07 a0 4c 	ld  [ %fp + 0x4c ], %g3                        <== NOT EXECUTED
 2023bd4:	c4 00 e0 04 	ld  [ %g3 + 4 ], %g2                           <== NOT EXECUTED
 2023bd8:	d0 00 e0 08 	ld  [ %g3 + 8 ], %o0                           <== NOT EXECUTED
 2023bdc:	9f c0 80 00 	call  %g2                                      <== NOT EXECUTED
 2023be0:	d2 20 e0 0c 	st  %o1, [ %g3 + 0xc ]                         <== NOT EXECUTED
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        switch (r->req)                                               
        {                                                             
          case RTEMS_BLKDEV_REQ_READ:                                 
            errno = rtems_nvdisk_read (&rtems_nvdisks[minor], r);     
 2023be4:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         <== NOT EXECUTED
 2023be8:	f6 04 61 f4 	ld  [ %l1 + 0x1f4 ], %i3                       <== NOT EXECUTED
 2023bec:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         <== NOT EXECUTED
 2023bf0:	ec 20 40 00 	st  %l6, [ %g1 ]                               <== NOT EXECUTED
            break;                                                    
 2023bf4:	10 bf ff 47 	b  2023910 <rtems_nvdisk_ioctl+0xd0>           <== NOT EXECUTED
 2023bf8:	b6 06 c0 02 	add  %i3, %g2, %i3                             <== NOT EXECUTED
  int                      ret;                                       
                                                                      
  dc = rtems_nvdisk_get_device (nvd, block);                          
                                                                      
  if (!dc)                                                            
    return EIO;                                                       
 2023bfc:	10 bf ff f4 	b  2023bcc <rtems_nvdisk_ioctl+0x38c>          <== NOT EXECUTED
 2023c00:	ac 10 20 05 	mov  5, %l6                                    <== NOT EXECUTED
  if (crc == 0xffff)                                                  
  {                                                                   
#if RTEMS_NVDISK_TRACE                                                
    rtems_nvdisk_warning (nvd, "read-block: crc not set: %d", block); 
#endif                                                                
    memset (buffer, 0, nvd->block_size);                              
 2023c04:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2023c08:	40 00 a1 0e 	call  204c040 <memset>                         <== NOT EXECUTED
 2023c0c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2023c10:	da 07 20 0c 	ld  [ %i4 + 0xc ], %o5                         <== NOT EXECUTED
    uint8_t* data;                                                    
    uint32_t nvb;                                                     
    uint32_t b;                                                       
    nvb = sg->length / nvd->block_size;                               
    data = sg->buffer;                                                
    for (b = 0; b < nvb; b++, data += nvd->block_size)                
 2023c14:	b6 06 e0 01 	inc  %i3                                       <== NOT EXECUTED
 2023c18:	80 a6 c0 13 	cmp  %i3, %l3                                  <== NOT EXECUTED
 2023c1c:	12 bf ff 9a 	bne  2023a84 <rtems_nvdisk_ioctl+0x244>        <== NOT EXECUTED
 2023c20:	b0 06 00 0d 	add  %i0, %o5, %i0                             <== NOT EXECUTED
 2023c24:	c2 07 a0 4c 	ld  [ %fp + 0x4c ], %g1                        <== NOT EXECUTED
 2023c28:	fa 00 60 10 	ld  [ %g1 + 0x10 ], %i5                        <== NOT EXECUTED
 2023c2c:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         <== NOT EXECUTED
 2023c30:	b2 06 60 10 	add  %i1, 0x10, %i1                            <== NOT EXECUTED
 2023c34:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
 2023c38:	10 bf ff 86 	b  2023a50 <rtems_nvdisk_ioctl+0x210>          <== NOT EXECUTED
 2023c3c:	c4 27 bf f0 	st  %g2, [ %fp + -16 ]                         <== NOT EXECUTED
                                                                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_info (nvd, "erase-disk");                              
#endif                                                                
                                                                      
  for (device = 0; device < nvd->device_count; device++)              
 2023c40:	b0 06 20 01 	inc  %i0                                       <== NOT EXECUTED
 2023c44:	80 a6 00 03 	cmp  %i0, %g3                                  <== NOT EXECUTED
 2023c48:	0a bf ff 4f 	bcs  2023984 <rtems_nvdisk_ioctl+0x144>        <== NOT EXECUTED
 2023c4c:	b2 06 60 14 	add  %i1, 0x14, %i1                            <== NOT EXECUTED
 2023c50:	f6 04 61 f4 	ld  [ %l1 + 0x1f4 ], %i3                       <== NOT EXECUTED
 2023c54:	c6 07 bf f4 	ld  [ %fp + -12 ], %g3                         <== NOT EXECUTED
      if (ret)                                                        
        return ret;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
 2023c58:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2023c5c:	b6 06 c0 03 	add  %i3, %g3, %i3                             <== NOT EXECUTED
            break;                                                    
        }                                                             
        break;                                                        
                                                                      
      case RTEMS_NVDISK_IOCTL_ERASE_DISK:                             
        errno = rtems_nvdisk_erase_disk (&rtems_nvdisks[minor]);      
 2023c60:	10 bf ff 2c 	b  2023910 <rtems_nvdisk_ioctl+0xd0>           <== NOT EXECUTED
 2023c64:	d0 24 80 00 	st  %o0, [ %l2 ]                               <== NOT EXECUTED
  {                                                                   
    errno = 0;                                                        
    switch (req)                                                      
    {                                                                 
      case RTEMS_BLKIO_REQUEST:                                       
        switch (r->req)                                               
 2023c68:	02 80 00 10 	be  2023ca8 <rtems_nvdisk_ioctl+0x468>         <== NOT EXECUTED
 2023c6c:	01 00 00 00 	nop                                            <== NOT EXECUTED
          case RTEMS_BLKDEV_REQ_WRITE:                                
            errno = rtems_nvdisk_write (&rtems_nvdisks[minor], r);    
            break;                                                    
                                                                      
          default:                                                    
            errno = EINVAL;                                           
 2023c70:	40 00 93 26 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023c74:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2023c78:	c6 07 bf f4 	ld  [ %fp + -12 ], %g3                         <== NOT EXECUTED
 2023c7c:	f6 04 61 f4 	ld  [ %l1 + 0x1f4 ], %i3                       <== NOT EXECUTED
 2023c80:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 2023c84:	b6 06 c0 03 	add  %i3, %g3, %i3                             <== NOT EXECUTED
            break;                                                    
 2023c88:	10 bf ff 22 	b  2023910 <rtems_nvdisk_ioctl+0xd0>           <== NOT EXECUTED
 2023c8c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (rtems_nvdisks[minor].device_count == 0)                         
  {                                                                   
    errno = ENODEV;                                                   
 2023c90:	40 00 93 1e 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023c94:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2023c98:	82 10 20 13 	mov  0x13, %g1                                 <== NOT EXECUTED
 2023c9c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
    return -1;                                                        
 2023ca0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2023ca4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
          case RTEMS_BLKDEV_REQ_READ:                                 
            errno = rtems_nvdisk_read (&rtems_nvdisks[minor], r);     
            break;                                                    
                                                                      
          case RTEMS_BLKDEV_REQ_WRITE:                                
            errno = rtems_nvdisk_write (&rtems_nvdisks[minor], r);    
 2023ca8:	40 00 93 18 	call  2048908 <__errno>                        <== NOT EXECUTED
 2023cac:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2023cb0:	c6 07 a0 4c 	ld  [ %fp + 0x4c ], %g3                        <== NOT EXECUTED
 2023cb4:	ec 04 61 f4 	ld  [ %l1 + 0x1f4 ], %l6                       <== NOT EXECUTED
 2023cb8:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         <== NOT EXECUTED
 2023cbc:	fa 00 e0 10 	ld  [ %g3 + 0x10 ], %i5                        <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_nvdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)  
 2023cc0:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
          case RTEMS_BLKDEV_REQ_READ:                                 
            errno = rtems_nvdisk_read (&rtems_nvdisks[minor], r);     
            break;                                                    
                                                                      
          case RTEMS_BLKDEV_REQ_WRITE:                                
            errno = rtems_nvdisk_write (&rtems_nvdisks[minor], r);    
 2023cc4:	d0 27 bf ec 	st  %o0, [ %fp + -20 ]                         <== NOT EXECUTED
 2023cc8:	ac 05 80 01 	add  %l6, %g1, %l6                             <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_nvdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)  
 2023ccc:	b2 00 e0 28 	add  %g3, 0x28, %i1                            <== NOT EXECUTED
 2023cd0:	c4 27 bf f0 	st  %g2, [ %fp + -16 ]                         <== NOT EXECUTED
                                                                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_info (nvd, "write: blocks=%d", req->bufnum);           
#endif                                                                
                                                                      
  for (bufs = 0; (ret == 0) && (bufs < req->bufnum); bufs++, sg++)    
 2023cd4:	c4 07 bf f0 	ld  [ %fp + -16 ], %g2                         <== NOT EXECUTED
 2023cd8:	82 00 bf ff 	add  %g2, -1, %g1                              <== NOT EXECUTED
 2023cdc:	80 a0 40 1d 	cmp  %g1, %i5                                  <== NOT EXECUTED
 2023ce0:	1a 80 00 3e 	bcc  2023dd8 <rtems_nvdisk_ioctl+0x598>        <== NOT EXECUTED
 2023ce4:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
  {                                                                   
    uint8_t* data;                                                    
    uint32_t nvb;                                                     
    uint32_t b;                                                       
    nvb = sg->length / nvd->block_size;                               
 2023ce8:	d0 06 7f f4 	ld  [ %i1 + -12 ], %o0                         <== NOT EXECUTED
 2023cec:	40 00 f7 ec 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2023cf0:	d2 05 a0 0c 	ld  [ %l6 + 0xc ], %o1                         <== NOT EXECUTED
    data = sg->buffer;                                                
 2023cf4:	f8 06 7f f8 	ld  [ %i1 + -8 ], %i4                          <== NOT EXECUTED
    for (b = 0; b < nvb; b++, data += nvd->block_size)                
 2023cf8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2023cfc:	02 80 00 51 	be  2023e40 <rtems_nvdisk_ioctl+0x600>         <== NOT EXECUTED
 2023d00:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
 2023d04:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
    {                                                                 
      ret = rtems_nvdisk_write_block (nvd, sg->block + b, data);      
 2023d08:	ee 06 7f f0 	ld  [ %i1 + -16 ], %l7                         <== NOT EXECUTED
  rtems_nvdisk_device_ctl* dc;                                        
  uint32_t                 page;                                      
  uint16_t                 cs;                                        
  int                      ret;                                       
                                                                      
  dc = rtems_nvdisk_get_device (nvd, block);                          
 2023d0c:	90 10 00 16 	mov  %l6, %o0                                  <== NOT EXECUTED
    uint32_t b;                                                       
    nvb = sg->length / nvd->block_size;                               
    data = sg->buffer;                                                
    for (b = 0; b < nvb; b++, data += nvd->block_size)                
    {                                                                 
      ret = rtems_nvdisk_write_block (nvd, sg->block + b, data);      
 2023d10:	ae 06 c0 17 	add  %i3, %l7, %l7                             <== NOT EXECUTED
  rtems_nvdisk_device_ctl* dc;                                        
  uint32_t                 page;                                      
  uint16_t                 cs;                                        
  int                      ret;                                       
                                                                      
  dc = rtems_nvdisk_get_device (nvd, block);                          
 2023d14:	7f ff fe a5 	call  20237a8 <rtems_nvdisk_get_device>        <== NOT EXECUTED
 2023d18:	92 10 00 17 	mov  %l7, %o1                                  <== NOT EXECUTED
                                                                      
  if (!dc)                                                            
 2023d1c:	aa 92 20 00 	orcc  %o0, 0, %l5                              <== NOT EXECUTED
 2023d20:	22 80 00 2e 	be,a   2023dd8 <rtems_nvdisk_ioctl+0x598>      <== NOT EXECUTED
 2023d24:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
 */                                                                   
static uint32_t                                                       
rtems_nvdisk_get_page (rtems_nvdisk_device_ctl* dc,                   
                       uint32_t                 block)                
{                                                                     
  return block - dc->block_base;                                      
 2023d28:	c2 05 60 0c 	ld  [ %l5 + 0xc ], %g1                         <== NOT EXECUTED
  if (!dc)                                                            
    return EIO;                                                       
                                                                      
  page = rtems_nvdisk_get_page (dc, block);                           
                                                                      
  cs = rtems_nvdisk_page_checksum (buffer, nvd->block_size);          
 2023d2c:	e8 05 a0 0c 	ld  [ %l6 + 0xc ], %l4                         <== NOT EXECUTED
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2023d30:	80 a5 20 00 	cmp  %l4, 0                                    <== NOT EXECUTED
 2023d34:	02 80 00 48 	be  2023e54 <rtems_nvdisk_ioctl+0x614>         <== NOT EXECUTED
 2023d38:	ae 25 c0 01 	sub  %l7, %g1, %l7                             <== NOT EXECUTED
 2023d3c:	07 00 81 d5 	sethi  %hi(0x2075400), %g3                     <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_nvdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)  
 2023d40:	82 10 00 1c 	mov  %i4, %g1                                  <== NOT EXECUTED
 2023d44:	c8 00 e1 fc 	ld  [ %g3 + 0x1fc ], %g4                       <== NOT EXECUTED
 * Calculate the checksum of a page.                                  
 */                                                                   
static uint16_t                                                       
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
 2023d48:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
 * @param req IOCTL request code.                                     
 * @param argp IOCTL argument.                                        
 * @retval The IOCTL return value                                     
 */                                                                   
static int                                                            
rtems_nvdisk_ioctl (rtems_disk_device *dd, uint32_t req, void* argp)  
 2023d4c:	86 07 00 14 	add  %i4, %l4, %g3                             <== NOT EXECUTED
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
    cs = rtems_nvdisk_calc_crc16 (cs, *buffer);                       
 2023d50:	c4 08 40 00 	ldub  [ %g1 ], %g2                             <== NOT EXECUTED
 2023d54:	ba 0f 60 ff 	and  %i5, 0xff, %i5                            <== NOT EXECUTED
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2023d58:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
    cs = rtems_nvdisk_calc_crc16 (cs, *buffer);                       
 2023d5c:	ba 1f 40 02 	xor  %i5, %g2, %i5                             <== NOT EXECUTED
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2023d60:	80 a0 40 03 	cmp  %g1, %g3                                  <== NOT EXECUTED
    cs = rtems_nvdisk_calc_crc16 (cs, *buffer);                       
 2023d64:	bb 2f 60 01 	sll  %i5, 1, %i5                               <== NOT EXECUTED
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
  uint32_t i;                                                         
                                                                      
  for (i = 0; i < page_size; i++, buffer++)                           
 2023d68:	12 bf ff fa 	bne  2023d50 <rtems_nvdisk_ioctl+0x510>        <== NOT EXECUTED
 2023d6c:	fa 11 00 1d 	lduh  [ %g4 + %i5 ], %i5                       <== NOT EXECUTED
                                                                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_info (nvd, " write-block:%d=>%02d-%03d", block, dc->device, page);
#endif                                                                
                                                                      
  ret = rtems_nvdisk_write_page (nvd, dc->device, page + dc->pages_desc, buffer);
 2023d70:	e4 05 40 00 	ld  [ %l5 ], %l2                               <== NOT EXECUTED
 * Get the descriptor for a device.                                   
 */                                                                   
static const rtems_nvdisk_device_desc*                                
rtems_nvdisk_device_descriptor (const rtems_nvdisk* nvd, uint32_t device)
{                                                                     
  return nvd->devices[device].descriptor;                             
 2023d74:	c6 05 a0 14 	ld  [ %l6 + 0x14 ], %g3                        <== NOT EXECUTED
 2023d78:	89 2c a0 02 	sll  %l2, 2, %g4                               <== NOT EXECUTED
 2023d7c:	85 2c a0 04 	sll  %l2, 4, %g2                               <== NOT EXECUTED
 2023d80:	84 01 00 02 	add  %g4, %g2, %g2                             <== NOT EXECUTED
 2023d84:	84 00 c0 02 	add  %g3, %g2, %g2                             <== NOT EXECUTED
 2023d88:	c4 00 a0 10 	ld  [ %g2 + 0x10 ], %g2                        <== NOT EXECUTED
                                                                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_info (nvd, " write-block:%d=>%02d-%03d", block, dc->device, page);
#endif                                                                
                                                                      
  ret = rtems_nvdisk_write_page (nvd, dc->device, page + dc->pages_desc, buffer);
 2023d8c:	d0 05 60 08 	ld  [ %l5 + 8 ], %o0                           <== NOT EXECUTED
  ops = nvd->devices[device].descriptor->nv_ops;                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_printf (nvd, "  dev-write: %02d-%08x: s=%d",           
                      device, offset, size);                          
#endif                                                                
  return ops->write (device, dd->flags, dd->base, offset, buffer, size);
 2023d90:	e0 00 a0 0c 	ld  [ %g2 + 0xc ], %l0                         <== NOT EXECUTED
 2023d94:	f4 00 80 00 	ld  [ %g2 ], %i2                               <== NOT EXECUTED
 2023d98:	e6 00 a0 04 	ld  [ %g2 + 4 ], %l3                           <== NOT EXECUTED
rtems_nvdisk_write_page (const rtems_nvdisk* nvd,                     
                         uint32_t            device,                  
                         uint32_t            page,                    
                         const void*         buffer)                  
{                                                                     
  return rtems_nvdisk_device_write (nvd, device,                      
 2023d9c:	92 10 00 14 	mov  %l4, %o1                                  <== NOT EXECUTED
 2023da0:	7f ff 7c 71 	call  2002f64 <.umul>                          <== NOT EXECUTED
 2023da4:	90 05 c0 08 	add  %l7, %o0, %o0                             <== NOT EXECUTED
  ops = nvd->devices[device].descriptor->nv_ops;                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_printf (nvd, "  dev-write: %02d-%08x: s=%d",           
                      device, offset, size);                          
#endif                                                                
  return ops->write (device, dd->flags, dd->base, offset, buffer, size);
 2023da8:	c4 04 20 04 	ld  [ %l0 + 4 ], %g2                           <== NOT EXECUTED
rtems_nvdisk_write_page (const rtems_nvdisk* nvd,                     
                         uint32_t            device,                  
                         uint32_t            page,                    
                         const void*         buffer)                  
{                                                                     
  return rtems_nvdisk_device_write (nvd, device,                      
 2023dac:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
  ops = nvd->devices[device].descriptor->nv_ops;                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_printf (nvd, "  dev-write: %02d-%08x: s=%d",           
                      device, offset, size);                          
#endif                                                                
  return ops->write (device, dd->flags, dd->base, offset, buffer, size);
 2023db0:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2023db4:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 2023db8:	94 10 00 13 	mov  %l3, %o2                                  <== NOT EXECUTED
 2023dbc:	98 10 00 1c 	mov  %i4, %o4                                  <== NOT EXECUTED
 2023dc0:	9f c0 80 00 	call  %g2                                      <== NOT EXECUTED
 2023dc4:	9a 10 00 14 	mov  %l4, %o5                                  <== NOT EXECUTED
  rtems_nvdisk_info (nvd, " write-block:%d=>%02d-%03d", block, dc->device, page);
#endif                                                                
                                                                      
  ret = rtems_nvdisk_write_page (nvd, dc->device, page + dc->pages_desc, buffer);
                                                                      
  if (ret)                                                            
 2023dc8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2023dcc:	22 80 00 0e 	be,a   2023e04 <rtems_nvdisk_ioctl+0x5c4>      <== NOT EXECUTED
 2023dd0:	d2 05 40 00 	ld  [ %l5 ], %o1                               <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 2023dd4:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
  req->req_done (req->done_arg, req->status);                         
 2023dd8:	c6 07 a0 4c 	ld  [ %fp + 0x4c ], %g3                        <== NOT EXECUTED
 2023ddc:	c2 00 e0 04 	ld  [ %g3 + 4 ], %g1                           <== NOT EXECUTED
 2023de0:	d0 00 e0 08 	ld  [ %g3 + 8 ], %o0                           <== NOT EXECUTED
 2023de4:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2023de8:	d2 20 e0 0c 	st  %o1, [ %g3 + 0xc ]                         <== NOT EXECUTED
          case RTEMS_BLKDEV_REQ_READ:                                 
            errno = rtems_nvdisk_read (&rtems_nvdisks[minor], r);     
            break;                                                    
                                                                      
          case RTEMS_BLKDEV_REQ_WRITE:                                
            errno = rtems_nvdisk_write (&rtems_nvdisks[minor], r);    
 2023dec:	c2 07 bf ec 	ld  [ %fp + -20 ], %g1                         <== NOT EXECUTED
 2023df0:	f6 04 61 f4 	ld  [ %l1 + 0x1f4 ], %i3                       <== NOT EXECUTED
 2023df4:	c4 07 bf f4 	ld  [ %fp + -12 ], %g2                         <== NOT EXECUTED
 2023df8:	c0 20 40 00 	clr  [ %g1 ]                                   <== NOT EXECUTED
            break;                                                    
 2023dfc:	10 bf fe c5 	b  2023910 <rtems_nvdisk_ioctl+0xd0>           <== NOT EXECUTED
 2023e00:	b6 06 c0 02 	add  %i3, %g2, %i3                             <== NOT EXECUTED
  ret = rtems_nvdisk_write_page (nvd, dc->device, page + dc->pages_desc, buffer);
                                                                      
  if (ret)                                                            
    return ret;                                                       
                                                                      
  return rtems_nvdisk_write_checksum (nvd, dc->device, page, cs);     
 2023e04:	97 2f 60 10 	sll  %i5, 0x10, %o3                            <== NOT EXECUTED
 2023e08:	90 10 00 16 	mov  %l6, %o0                                  <== NOT EXECUTED
 2023e0c:	94 10 00 17 	mov  %l7, %o2                                  <== NOT EXECUTED
 2023e10:	7f ff fe 34 	call  20236e0 <rtems_nvdisk_write_checksum>    <== NOT EXECUTED
 2023e14:	97 32 e0 10 	srl  %o3, 0x10, %o3                            <== NOT EXECUTED
    nvb = sg->length / nvd->block_size;                               
    data = sg->buffer;                                                
    for (b = 0; b < nvb; b++, data += nvd->block_size)                
    {                                                                 
      ret = rtems_nvdisk_write_block (nvd, sg->block + b, data);      
      if (ret)                                                        
 2023e18:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2023e1c:	12 bf ff ef 	bne  2023dd8 <rtems_nvdisk_ioctl+0x598>        <== NOT EXECUTED
 2023e20:	92 10 20 1b 	mov  0x1b, %o1                                 <== NOT EXECUTED
    uint8_t* data;                                                    
    uint32_t nvb;                                                     
    uint32_t b;                                                       
    nvb = sg->length / nvd->block_size;                               
    data = sg->buffer;                                                
    for (b = 0; b < nvb; b++, data += nvd->block_size)                
 2023e24:	c2 05 a0 0c 	ld  [ %l6 + 0xc ], %g1                         <== NOT EXECUTED
 2023e28:	b6 06 e0 01 	inc  %i3                                       <== NOT EXECUTED
 2023e2c:	80 a6 c0 18 	cmp  %i3, %i0                                  <== NOT EXECUTED
 2023e30:	12 bf ff b6 	bne  2023d08 <rtems_nvdisk_ioctl+0x4c8>        <== NOT EXECUTED
 2023e34:	b8 07 00 01 	add  %i4, %g1, %i4                             <== NOT EXECUTED
 2023e38:	c2 07 a0 4c 	ld  [ %fp + 0x4c ], %g1                        <== NOT EXECUTED
 2023e3c:	fa 00 60 10 	ld  [ %g1 + 0x10 ], %i5                        <== NOT EXECUTED
 2023e40:	c6 07 bf f0 	ld  [ %fp + -16 ], %g3                         <== NOT EXECUTED
 2023e44:	b2 06 60 10 	add  %i1, 0x10, %i1                            <== NOT EXECUTED
 2023e48:	86 00 e0 01 	inc  %g3                                       <== NOT EXECUTED
 2023e4c:	10 bf ff a2 	b  2023cd4 <rtems_nvdisk_ioctl+0x494>          <== NOT EXECUTED
 2023e50:	c6 27 bf f0 	st  %g3, [ %fp + -16 ]                         <== NOT EXECUTED
 * Calculate the checksum of a page.                                  
 */                                                                   
static uint16_t                                                       
rtems_nvdisk_page_checksum (const uint8_t* buffer, uint32_t page_size)
{                                                                     
  uint16_t cs = 0xffff;                                               
 2023e54:	10 bf ff c7 	b  2023d70 <rtems_nvdisk_ioctl+0x530>          <== NOT EXECUTED
 2023e58:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
      if (ret)                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  req->status = ret ? RTEMS_IO_ERROR : RTEMS_SUCCESSFUL;              
 2023e5c:	10 bf ff 5d 	b  2023bd0 <rtems_nvdisk_ioctl+0x390>          <== NOT EXECUTED
 2023e60:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
      if (ret)                                                        
        return ret;                                                   
    }                                                                 
  }                                                                   
                                                                      
  return 0;                                                           
 2023e64:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
            break;                                                    
        }                                                             
        break;                                                        
                                                                      
      case RTEMS_NVDISK_IOCTL_ERASE_DISK:                             
        errno = rtems_nvdisk_erase_disk (&rtems_nvdisks[minor]);      
 2023e68:	10 bf fe aa 	b  2023910 <rtems_nvdisk_ioctl+0xd0>           <== NOT EXECUTED
 2023e6c:	d0 24 80 00 	st  %o0, [ %l2 ]                               <== NOT EXECUTED
                                                                      

02024110 <rtems_nvdisk_sram_read>: uint32_t flags __attribute__((unused)), void* base, uint32_t offset, void* buffer, size_t size) {
 2024110:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  memcpy (buffer, (base + offset), size);                             
  return 0;                                                           
}                                                                     
 2024114:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                        void*    base,                                
                        uint32_t offset,                              
                        void*    buffer,                              
                        size_t   size)                                
{                                                                     
  memcpy (buffer, (base + offset), size);                             
 2024118:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 202411c:	92 06 80 1b 	add  %i2, %i3, %o1                             <== NOT EXECUTED
 2024120:	40 00 9f 39 	call  204be04 <memcpy>                         <== NOT EXECUTED
 2024124:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
  return 0;                                                           
}                                                                     
 2024128:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202412c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020240c8 <rtems_nvdisk_sram_verify>: uint32_t flags __attribute__((unused)), void* base, uint32_t offset, const void* buffer, size_t size) {
 20240c8:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  return memcmp ((base + offset), buffer, size) == 0 ? 0 : EIO;       
 20240cc:	90 06 80 1b 	add  %i2, %i3, %o0                             <== NOT EXECUTED
 20240d0:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 20240d4:	40 00 9f 22 	call  204bd5c <memcmp>                         <== NOT EXECUTED
 20240d8:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 20240dc:	80 a0 00 08 	cmp  %g0, %o0                                  <== NOT EXECUTED
 20240e0:	b0 60 20 00 	subx  %g0, 0, %i0                              <== NOT EXECUTED
}                                                                     
 20240e4:	b0 0e 20 05 	and  %i0, 5, %i0                               <== NOT EXECUTED
 20240e8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20240ec:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020240f0 <rtems_nvdisk_sram_write>: uint32_t flags __attribute__((unused)), void* base, uint32_t offset, const void* buffer, size_t size) {
 20240f0:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  memcpy ((base + offset), buffer, size);                             
  return 0;                                                           
}                                                                     
 20240f4:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                         void*       base,                            
                         uint32_t    offset,                          
                         const void* buffer,                          
                         size_t      size)                            
{                                                                     
  memcpy ((base + offset), buffer, size);                             
 20240f8:	90 06 80 1b 	add  %i2, %i3, %o0                             <== NOT EXECUTED
 20240fc:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2024100:	40 00 9f 41 	call  204be04 <memcpy>                         <== NOT EXECUTED
 2024104:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
  return 0;                                                           
}                                                                     
 2024108:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202410c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020236e0 <rtems_nvdisk_write_checksum>: static int rtems_nvdisk_write_checksum (const rtems_nvdisk* nvd, uint32_t device, uint32_t page, const uint16_t cs) {
 20236e0:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
 * Get the descriptor for a device.                                   
 */                                                                   
static const rtems_nvdisk_device_desc*                                
rtems_nvdisk_device_descriptor (const rtems_nvdisk* nvd, uint32_t device)
{                                                                     
  return nvd->devices[device].descriptor;                             
 20236e4:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        <== NOT EXECUTED
 20236e8:	87 2e 60 02 	sll  %i1, 2, %g3                               <== NOT EXECUTED
 20236ec:	85 2e 60 04 	sll  %i1, 4, %g2                               <== NOT EXECUTED
 20236f0:	84 00 c0 02 	add  %g3, %g2, %g2                             <== NOT EXECUTED
 20236f4:	82 00 40 02 	add  %g1, %g2, %g1                             <== NOT EXECUTED
 20236f8:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        <== NOT EXECUTED
static int                                                            
rtems_nvdisk_write_checksum (const rtems_nvdisk* nvd,                 
                             uint32_t            device,              
                             uint32_t            page,                
                             const uint16_t      cs)                  
{                                                                     
 20236fc:	f6 37 a0 50 	sth  %i3, [ %fp + 0x50 ]                       <== NOT EXECUTED
  ops = nvd->devices[device].descriptor->nv_ops;                      
#if RTEMS_NVDISK_TRACE                                                
  rtems_nvdisk_printf (nvd, "  dev-write: %02d-%08x: s=%d",           
                      device, offset, size);                          
#endif                                                                
  return ops->write (device, dd->flags, dd->base, offset, buffer, size);
 2023700:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         <== NOT EXECUTED
 2023704:	d2 00 40 00 	ld  [ %g1 ], %o1                               <== NOT EXECUTED
 2023708:	c4 00 a0 04 	ld  [ %g2 + 4 ], %g2                           <== NOT EXECUTED
 202370c:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           <== NOT EXECUTED
 2023710:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 2023714:	97 2e a0 01 	sll  %i2, 1, %o3                               <== NOT EXECUTED
 2023718:	98 07 a0 50 	add  %fp, 0x50, %o4                            <== NOT EXECUTED
 202371c:	9f c0 80 00 	call  %g2                                      <== NOT EXECUTED
 2023720:	9a 10 20 02 	mov  2, %o5                                    <== NOT EXECUTED
                             const uint16_t      cs)                  
{                                                                     
  return rtems_nvdisk_device_write (nvd, device,                      
                                    page * sizeof (uint16_t),         
                                    &cs, sizeof (uint16_t));          
}                                                                     
 2023724:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2023728:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

02009778 <rtems_object_get_class_information>: rtems_status_code rtems_object_get_class_information( int the_api, int the_class, rtems_object_api_class_information *info ) {
 2009778:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int                  i;                                             
                                                                      
  /*                                                                  
   * Validate parameters and look up information structure.           
   */                                                                 
  if ( !info )                                                        
 200977c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2009780:	02 80 00 21 	be  2009804 <rtems_object_get_class_information+0x8c>
 2009784:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  obj_info = _Objects_Get_information( the_api, the_class );          
 2009788:	93 2e 60 10 	sll  %i1, 0x10, %o1                            
 200978c:	90 10 00 18 	mov  %i0, %o0                                  
 2009790:	40 00 07 a7 	call  200b62c <_Objects_Get_information>       
 2009794:	93 32 60 10 	srl  %o1, 0x10, %o1                            
  if ( !obj_info )                                                    
 2009798:	80 a2 20 00 	cmp  %o0, 0                                    
 200979c:	02 80 00 1a 	be  2009804 <rtems_object_get_class_information+0x8c>
 20097a0:	82 10 20 0a 	mov  0xa, %g1                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
 20097a4:	c8 12 20 10 	lduh  [ %o0 + 0x10 ], %g4                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
 20097a8:	c6 02 20 08 	ld  [ %o0 + 8 ], %g3                           
  info->maximum_id  = obj_info->maximum_id;                           
 20097ac:	c4 02 20 0c 	ld  [ %o0 + 0xc ], %g2                         
  info->auto_extend = obj_info->auto_extend;                          
 20097b0:	c2 0a 20 12 	ldub  [ %o0 + 0x12 ], %g1                      
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  /*                                                                  
   * Return information about this object class to the user.          
   */                                                                 
  info->minimum_id  = obj_info->minimum_id;                           
 20097b4:	c6 26 80 00 	st  %g3, [ %i2 ]                               
  info->maximum_id  = obj_info->maximum_id;                           
 20097b8:	c4 26 a0 04 	st  %g2, [ %i2 + 4 ]                           
  info->auto_extend = obj_info->auto_extend;                          
 20097bc:	c2 2e a0 0c 	stb  %g1, [ %i2 + 0xc ]                        
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
 20097c0:	80 a1 20 00 	cmp  %g4, 0                                    
 20097c4:	02 80 00 12 	be  200980c <rtems_object_get_class_information+0x94><== NEVER TAKEN
 20097c8:	c8 26 a0 08 	st  %g4, [ %i2 + 8 ]                           
 20097cc:	fa 02 20 1c 	ld  [ %o0 + 0x1c ], %i5                        
 20097d0:	86 10 20 01 	mov  1, %g3                                    
 20097d4:	82 10 20 01 	mov  1, %g1                                    
 20097d8:	84 10 20 00 	clr  %g2                                       
    if ( !obj_info->local_table[i] )                                  
 20097dc:	87 28 e0 02 	sll  %g3, 2, %g3                               
 20097e0:	c6 07 40 03 	ld  [ %i5 + %g3 ], %g3                         
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
 20097e4:	82 00 60 01 	inc  %g1                                       
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
 20097e8:	80 a0 00 03 	cmp  %g0, %g3                                  
 20097ec:	84 60 bf ff 	subx  %g2, -1, %g2                             
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
 20097f0:	80 a1 00 01 	cmp  %g4, %g1                                  
 20097f4:	1a bf ff fa 	bcc  20097dc <rtems_object_get_class_information+0x64>
 20097f8:	86 10 00 01 	mov  %g1, %g3                                  
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
 20097fc:	c4 26 a0 10 	st  %g2, [ %i2 + 0x10 ]                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2009800:	82 10 20 00 	clr  %g1                                       
}                                                                     
 2009804:	81 c7 e0 08 	ret                                            
 2009808:	91 e8 00 01 	restore  %g0, %g1, %o0                         
  info->minimum_id  = obj_info->minimum_id;                           
  info->maximum_id  = obj_info->maximum_id;                           
  info->auto_extend = obj_info->auto_extend;                          
  info->maximum     = obj_info->maximum;                              
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
 200980c:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2009810:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
                                                                      
  for ( unallocated=0, i=1 ; i <= info->maximum ; i++ )               
    if ( !obj_info->local_table[i] )                                  
      unallocated++;                                                  
                                                                      
  info->unallocated = unallocated;                                    
 2009814:	10 bf ff fc 	b  2009804 <rtems_object_get_class_information+0x8c><== NOT EXECUTED
 2009818:	c4 26 a0 10 	st  %g2, [ %i2 + 0x10 ]                        <== NOT EXECUTED
                                                                      

02009238 <rtems_partition_create>: uint32_t length, uint32_t buffer_size, rtems_attribute attribute_set, rtems_id *id ) {
 2009238:	9d e3 bf a0 	save  %sp, -96, %sp                            
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
 200923c:	80 a6 20 00 	cmp  %i0, 0                                    
 2009240:	12 80 00 04 	bne  2009250 <rtems_partition_create+0x18>     
 2009244:	82 10 20 03 	mov  3, %g1                                    
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2009248:	81 c7 e0 08 	ret                                            
 200924c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
  register Partition_Control *the_partition;                          
                                                                      
  if ( !rtems_is_name_valid( name ) )                                 
    return RTEMS_INVALID_NAME;                                        
                                                                      
  if ( !starting_address )                                            
 2009250:	80 a6 60 00 	cmp  %i1, 0                                    
 2009254:	02 bf ff fd 	be  2009248 <rtems_partition_create+0x10>      
 2009258:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !id )                                                          
 200925c:	80 a7 60 00 	cmp  %i5, 0                                    
 2009260:	02 bf ff fa 	be  2009248 <rtems_partition_create+0x10>      <== NEVER TAKEN
 2009264:	80 a6 e0 00 	cmp  %i3, 0                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( length == 0 || buffer_size == 0 || length < buffer_size ||     
 2009268:	02 bf ff f8 	be  2009248 <rtems_partition_create+0x10>      
 200926c:	82 10 20 08 	mov  8, %g1                                    
 2009270:	80 a6 a0 00 	cmp  %i2, 0                                    
 2009274:	02 bf ff f5 	be  2009248 <rtems_partition_create+0x10>      
 2009278:	80 a6 80 1b 	cmp  %i2, %i3                                  
 200927c:	0a bf ff f3 	bcs  2009248 <rtems_partition_create+0x10>     
 2009280:	80 8e e0 07 	btst  7, %i3                                   
 2009284:	12 bf ff f1 	bne  2009248 <rtems_partition_create+0x10>     
 2009288:	80 8e 60 07 	btst  7, %i1                                   
         !_Partition_Is_buffer_size_aligned( buffer_size ) )          
    return RTEMS_INVALID_SIZE;                                        
                                                                      
  if ( !_Addresses_Is_aligned( starting_address ) )                   
 200928c:	12 bf ff ef 	bne  2009248 <rtems_partition_create+0x10>     
 2009290:	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++;                                 
 2009294:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
 2009298:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 20233a0 <_Thread_Dispatch_disable_level>
 200929c:	84 00 a0 01 	inc  %g2                                       
 20092a0:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
    return _Thread_Dispatch_disable_level;                            
 20092a4:	c2 00 63 a0 	ld  [ %g1 + 0x3a0 ], %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 );
 20092a8:	23 00 80 8c 	sethi  %hi(0x2023000), %l1                     
 20092ac:	40 00 07 58 	call  200b00c <_Objects_Allocate>              
 20092b0:	90 14 61 9c 	or  %l1, 0x19c, %o0	! 202319c <_Partition_Information>
                                                                      
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
 20092b4:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 20092b8:	02 80 00 1a 	be  2009320 <rtems_partition_create+0xe8>      
 20092bc:	92 10 00 1b 	mov  %i3, %o1                                  
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
  the_partition->length                = length;                      
  the_partition->buffer_size           = buffer_size;                 
  the_partition->attribute_set         = attribute_set;               
 20092c0:	f8 24 20 1c 	st  %i4, [ %l0 + 0x1c ]                        
    _Thread_Enable_dispatch();                                        
    return RTEMS_TOO_MANY;                                            
  }                                                                   
#endif                                                                
                                                                      
  the_partition->starting_address      = starting_address;            
 20092c4:	f2 24 20 10 	st  %i1, [ %l0 + 0x10 ]                        
  the_partition->length                = length;                      
 20092c8:	f4 24 20 14 	st  %i2, [ %l0 + 0x14 ]                        
  the_partition->buffer_size           = buffer_size;                 
 20092cc:	f6 24 20 18 	st  %i3, [ %l0 + 0x18 ]                        
  the_partition->attribute_set         = attribute_set;               
  the_partition->number_of_used_blocks = 0;                           
 20092d0:	c0 24 20 20 	clr  [ %l0 + 0x20 ]                            
                                                                      
  _Chain_Initialize( &the_partition->Memory, starting_address,        
                        length / buffer_size, buffer_size );          
 20092d4:	40 00 48 b0 	call  201b594 <.udiv>                          
 20092d8:	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,        
 20092dc:	92 10 00 19 	mov  %i1, %o1                                  
                        length / buffer_size, buffer_size );          
 20092e0:	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,        
 20092e4:	96 10 00 1b 	mov  %i3, %o3                                  
 20092e8:	b8 04 20 24 	add  %l0, 0x24, %i4                            
 20092ec:	40 00 04 8d 	call  200a520 <_Chain_Initialize>              
 20092f0:	90 10 00 1c 	mov  %i4, %o0                                  
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 20092f4:	c4 14 20 0a 	lduh  [ %l0 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 20092f8:	a2 14 61 9c 	or  %l1, 0x19c, %l1                            
 20092fc:	c6 04 60 1c 	ld  [ %l1 + 0x1c ], %g3                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  Objects_Name         name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2009300:	c2 04 20 08 	ld  [ %l0 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2009304:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2009308:	e0 20 c0 02 	st  %l0, [ %g3 + %g2 ]                         
    information,                                                      
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  the_object->name = name;                                            
 200930c:	f0 24 20 0c 	st  %i0, [ %l0 + 0xc ]                         
      name,                                                           
      0                  /* Not used */                               
    );                                                                
#endif                                                                
                                                                      
  _Thread_Enable_dispatch();                                          
 2009310:	40 00 0c a7 	call  200c5ac <_Thread_Enable_dispatch>        
 2009314:	c2 27 40 00 	st  %g1, [ %i5 ]                               
  return RTEMS_SUCCESSFUL;                                            
 2009318:	10 bf ff cc 	b  2009248 <rtems_partition_create+0x10>       
 200931c:	82 10 20 00 	clr  %g1                                       
  _Thread_Disable_dispatch();               /* prevents deletion */   
                                                                      
  the_partition = _Partition_Allocate();                              
                                                                      
  if ( !the_partition ) {                                             
    _Thread_Enable_dispatch();                                        
 2009320:	40 00 0c a3 	call  200c5ac <_Thread_Enable_dispatch>        
 2009324:	01 00 00 00 	nop                                            
    return RTEMS_TOO_MANY;                                            
 2009328:	10 bf ff c8 	b  2009248 <rtems_partition_create+0x10>       
 200932c:	82 10 20 05 	mov  5, %g1	! 5 <PROM_START+0x5>               
                                                                      

0201593c <rtems_partition_return_buffer>: rtems_status_code rtems_partition_return_buffer( rtems_id id, void *buffer ) {
 201593c:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get (              
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Partition_Control *)                                        
 2015940:	11 00 80 f2 	sethi  %hi(0x203c800), %o0                     
 2015944:	92 10 00 18 	mov  %i0, %o1                                  
 2015948:	90 12 23 24 	or  %o0, 0x324, %o0                            
 201594c:	40 00 15 13 	call  201ad98 <_Objects_Get>                   
 2015950:	94 07 bf fc 	add  %fp, -4, %o2                              
  register Partition_Control *the_partition;                          
  Objects_Locations           location;                               
                                                                      
  the_partition = _Partition_Get( id, &location );                    
  switch ( location ) {                                               
 2015954:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2015958:	80 a0 60 00 	cmp  %g1, 0                                    
 201595c:	12 80 00 19 	bne  20159c0 <rtems_partition_return_buffer+0x84>
 2015960:	ba 10 00 08 	mov  %o0, %i5                                  
)                                                                     
{                                                                     
  void *starting;                                                     
  void *ending;                                                       
                                                                      
  starting = the_partition->starting_address;                         
 2015964:	d0 02 20 10 	ld  [ %o0 + 0x10 ], %o0                        
 2015968:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 201596c:	82 02 00 01 	add  %o0, %g1, %g1                             
  ending   = _Addresses_Add_offset( starting, the_partition->length );
                                                                      
  return (                                                            
    _Addresses_Is_in_range( the_buffer, starting, ending ) &&         
 2015970:	80 a6 40 01 	cmp  %i1, %g1                                  
 2015974:	18 80 00 15 	bgu  20159c8 <rtems_partition_return_buffer+0x8c><== NEVER TAKEN
 2015978:	80 a6 40 08 	cmp  %i1, %o0                                  
 201597c:	0a 80 00 13 	bcs  20159c8 <rtems_partition_return_buffer+0x8c>
 2015980:	01 00 00 00 	nop                                            
  offset = (uint32_t) _Addresses_Subtract(                            
    the_buffer,                                                       
    the_partition->starting_address                                   
  );                                                                  
                                                                      
  return ((offset % the_partition->buffer_size) == 0);                
 2015984:	d2 07 60 18 	ld  [ %i5 + 0x18 ], %o1                        
 2015988:	40 00 5b 17 	call  202c5e4 <.urem>                          
 201598c:	90 26 40 08 	sub  %i1, %o0, %o0                             
                                                                      
  starting = the_partition->starting_address;                         
  ending   = _Addresses_Add_offset( starting, the_partition->length );
                                                                      
  return (                                                            
    _Addresses_Is_in_range( the_buffer, starting, ending ) &&         
 2015990:	80 a2 20 00 	cmp  %o0, 0                                    
 2015994:	12 80 00 0d 	bne  20159c8 <rtems_partition_return_buffer+0x8c>
 2015998:	90 07 60 24 	add  %i5, 0x24, %o0                            
RTEMS_INLINE_ROUTINE void _Partition_Free_buffer (                    
  Partition_Control *the_partition,                                   
  Chain_Node        *the_buffer                                       
)                                                                     
{                                                                     
  _Chain_Append( &the_partition->Memory, the_buffer );                
 201599c:	40 00 0c fa 	call  2018d84 <_Chain_Append>                  
 20159a0:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
 20159a4:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
 20159a8:	b0 10 20 00 	clr  %i0                                       
  switch ( location ) {                                               
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( _Partition_Is_buffer_valid( buffer, the_partition ) ) {    
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
 20159ac:	82 00 7f ff 	add  %g1, -1, %g1                              
        _Thread_Enable_dispatch();                                    
 20159b0:	40 00 19 04 	call  201bdc0 <_Thread_Enable_dispatch>        
 20159b4:	c2 27 60 20 	st  %g1, [ %i5 + 0x20 ]                        
 20159b8:	81 c7 e0 08 	ret                                            
 20159bc:	81 e8 00 00 	restore                                        
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
 20159c0:	81 c7 e0 08 	ret                                            
 20159c4:	91 e8 20 04 	restore  %g0, 4, %o0                           
        _Partition_Free_buffer( the_partition, buffer );              
        the_partition->number_of_used_blocks -= 1;                    
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
 20159c8:	40 00 18 fe 	call  201bdc0 <_Thread_Enable_dispatch>        
 20159cc:	b0 10 20 09 	mov  9, %i0                                    
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 20159d0:	81 c7 e0 08 	ret                                            
 20159d4:	81 e8 00 00 	restore                                        
                                                                      

02045634 <rtems_rate_monotonic_period>: rtems_status_code rtems_rate_monotonic_period( rtems_id id, rtems_interval length ) {
 2045634:	9d e3 bf 98 	save  %sp, -104, %sp                           
 2045638:	11 00 81 da 	sethi  %hi(0x2076800), %o0                     
 204563c:	92 10 00 18 	mov  %i0, %o1                                  
 2045640:	90 12 21 30 	or  %o0, 0x130, %o0                            
 2045644:	7f ff 2a 54 	call  200ff94 <_Objects_Get>                   
 2045648:	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 ) {                                               
 204564c:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2045650:	80 a0 60 00 	cmp  %g1, 0                                    
 2045654:	12 80 00 0d 	bne  2045688 <rtems_rate_monotonic_period+0x54>
 2045658:	ba 10 00 08 	mov  %o0, %i5                                  
    case OBJECTS_LOCAL:                                               
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
 204565c:	c4 02 20 40 	ld  [ %o0 + 0x40 ], %g2                        
 2045660:	39 00 81 d8 	sethi  %hi(0x2076000), %i4                     
 2045664:	b8 17 22 c0 	or  %i4, 0x2c0, %i4	! 20762c0 <_Per_CPU_Information>
 2045668:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
 204566c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2045670:	02 80 00 08 	be  2045690 <rtems_rate_monotonic_period+0x5c> 
 2045674:	80 a6 60 00 	cmp  %i1, 0                                    
        _Thread_Enable_dispatch();                                    
 2045678:	7f ff 2e 31 	call  2010f3c <_Thread_Enable_dispatch>        
 204567c:	b0 10 20 17 	mov  0x17, %i0                                 
 2045680:	81 c7 e0 08 	ret                                            
 2045684:	81 e8 00 00 	restore                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2045688:	81 c7 e0 08 	ret                                            
 204568c:	91 e8 20 04 	restore  %g0, 4, %o0                           
      if ( !_Thread_Is_executing( the_period->owner ) ) {             
        _Thread_Enable_dispatch();                                    
        return RTEMS_NOT_OWNER_OF_RESOURCE;                           
      }                                                               
                                                                      
      if ( length == RTEMS_PERIOD_STATUS ) {                          
 2045690:	12 80 00 0e 	bne  20456c8 <rtems_rate_monotonic_period+0x94>
 2045694:	01 00 00 00 	nop                                            
        switch ( the_period->state ) {                                
 2045698:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 204569c:	80 a0 60 04 	cmp  %g1, 4                                    
 20456a0:	18 80 00 06 	bgu  20456b8 <rtems_rate_monotonic_period+0x84><== NEVER TAKEN
 20456a4:	b0 10 20 00 	clr  %i0                                       
 20456a8:	83 28 60 02 	sll  %g1, 2, %g1                               
 20456ac:	05 00 81 bf 	sethi  %hi(0x206fc00), %g2                     
 20456b0:	84 10 a0 c4 	or  %g2, 0xc4, %g2	! 206fcc4 <CSWTCH.23>       
 20456b4:	f0 00 80 01 	ld  [ %g2 + %g1 ], %i0                         
          id,                                                         
          NULL                                                        
        );                                                            
                                                                      
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
 20456b8:	7f ff 2e 21 	call  2010f3c <_Thread_Enable_dispatch>        
 20456bc:	01 00 00 00 	nop                                            
 20456c0:	81 c7 e0 08 	ret                                            
 20456c4:	81 e8 00 00 	restore                                        
        }                                                             
        _Thread_Enable_dispatch();                                    
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
 20456c8:	7f fe fa d4 	call  2004218 <sparc_disable_interrupts>       
 20456cc:	01 00 00 00 	nop                                            
 20456d0:	b4 10 00 08 	mov  %o0, %i2                                  
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
 20456d4:	f6 07 60 38 	ld  [ %i5 + 0x38 ], %i3                        
 20456d8:	80 a6 e0 00 	cmp  %i3, 0                                    
 20456dc:	02 80 00 1c 	be  204574c <rtems_rate_monotonic_period+0x118>
 20456e0:	80 a6 e0 02 	cmp  %i3, 2                                    
        _Watchdog_Insert_ticks( &the_period->Timer, length );         
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
 20456e4:	02 80 00 2e 	be  204579c <rtems_rate_monotonic_period+0x168>
 20456e8:	80 a6 e0 04 	cmp  %i3, 4                                    
                                                                      
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
                                                                      
      if ( the_period->state == RATE_MONOTONIC_EXPIRED ) {            
 20456ec:	12 bf ff e5 	bne  2045680 <rtems_rate_monotonic_period+0x4c><== NEVER TAKEN
 20456f0:	b0 10 20 04 	mov  4, %i0                                    
        /*                                                            
         *  Update statistics from the concluding period              
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
 20456f4:	7f ff ff 60 	call  2045474 <_Rate_monotonic_Update_statistics>
 20456f8:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
        _ISR_Enable( level );                                         
 20456fc:	7f fe fa cb 	call  2004228 <sparc_enable_interrupts>        
 2045700:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
 2045704:	82 10 20 02 	mov  2, %g1                                    
 2045708:	92 07 60 10 	add  %i5, 0x10, %o1                            
 204570c:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
        the_period->next_length = length;                             
 2045710:	f2 27 60 3c 	st  %i1, [ %i5 + 0x3c ]                        
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2045714:	f2 27 60 1c 	st  %i1, [ %i5 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2045718:	11 00 81 d7 	sethi  %hi(0x2075c00), %o0                     
 204571c:	7f ff 31 8a 	call  2011d44 <_Watchdog_Insert>               
 2045720:	90 12 22 38 	or  %o0, 0x238, %o0	! 2075e38 <_Watchdog_Ticks_chain>
 2045724:	d0 07 60 40 	ld  [ %i5 + 0x40 ], %o0                        
 2045728:	d2 07 60 3c 	ld  [ %i5 + 0x3c ], %o1                        
 204572c:	03 00 81 c6 	sethi  %hi(0x2071800), %g1                     
 2045730:	c2 00 62 5c 	ld  [ %g1 + 0x25c ], %g1	! 2071a5c <_Scheduler+0x34>
 2045734:	9f c0 40 00 	call  %g1                                      
 2045738:	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();                                    
 204573c:	7f ff 2e 00 	call  2010f3c <_Thread_Enable_dispatch>        
 2045740:	01 00 00 00 	nop                                            
 2045744:	81 c7 e0 08 	ret                                            
 2045748:	81 e8 00 00 	restore                                        
        return( return_value );                                       
      }                                                               
                                                                      
      _ISR_Disable( level );                                          
      if ( the_period->state == RATE_MONOTONIC_INACTIVE ) {           
        _ISR_Enable( level );                                         
 204574c:	7f fe fa b7 	call  2004228 <sparc_enable_interrupts>        
 2045750:	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 );            
 2045754:	90 10 00 1d 	mov  %i5, %o0                                  
 2045758:	7f ff ff 96 	call  20455b0 <_Rate_monotonic_Initiate_statistics>
 204575c:	f2 27 60 3c 	st  %i1, [ %i5 + 0x3c ]                        
                                                                      
        the_period->state = RATE_MONOTONIC_ACTIVE;                    
 2045760:	82 10 20 02 	mov  2, %g1                                    
 2045764:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2045768:	03 00 81 16 	sethi  %hi(0x2045800), %g1                     
 204576c:	82 10 60 10 	or  %g1, 0x10, %g1	! 2045810 <_Rate_monotonic_Timeout>
  the_watchdog->id        = id;                                       
 2045770:	f0 27 60 30 	st  %i0, [ %i5 + 0x30 ]                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2045774:	92 07 60 10 	add  %i5, 0x10, %o1                            
 2045778:	11 00 81 d7 	sethi  %hi(0x2075c00), %o0                     
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 204577c:	c0 27 60 18 	clr  [ %i5 + 0x18 ]                            
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2045780:	90 12 22 38 	or  %o0, 0x238, %o0                            
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2045784:	c0 27 60 34 	clr  [ %i5 + 0x34 ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2045788:	c2 27 60 2c 	st  %g1, [ %i5 + 0x2c ]                        
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 204578c:	f2 27 60 1c 	st  %i1, [ %i5 + 0x1c ]                        
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2045790:	7f ff 31 6d 	call  2011d44 <_Watchdog_Insert>               
 2045794:	b0 10 20 00 	clr  %i0                                       
 2045798:	30 bf ff c8 	b,a   20456b8 <rtems_rate_monotonic_period+0x84>
                                                                      
      if ( the_period->state == RATE_MONOTONIC_ACTIVE ) {             
        /*                                                            
         *  Update statistics from the concluding period.             
         */                                                           
        _Rate_monotonic_Update_statistics( the_period );              
 204579c:	7f ff ff 36 	call  2045474 <_Rate_monotonic_Update_statistics>
 20457a0:	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;         
 20457a4:	82 10 20 01 	mov  1, %g1                                    
        the_period->next_length = length;                             
 20457a8:	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;         
 20457ac:	c2 27 60 38 	st  %g1, [ %i5 + 0x38 ]                        
        the_period->next_length = length;                             
                                                                      
        _ISR_Enable( level );                                         
 20457b0:	7f fe fa 9e 	call  2004228 <sparc_enable_interrupts>        
 20457b4:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
        _Thread_Executing->Wait.id = the_period->Object.id;           
 20457b8:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
 20457bc:	c4 07 60 08 	ld  [ %i5 + 8 ], %g2                           
        _Thread_Set_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 20457c0:	90 10 00 01 	mov  %g1, %o0                                  
 20457c4:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
 20457c8:	7f ff 30 3d 	call  20118bc <_Thread_Set_state>              
 20457cc:	c4 20 60 20 	st  %g2, [ %g1 + 0x20 ]                        
                                                                      
        /*                                                            
         *  Did the watchdog timer expire while we were actually blocking
         *  on it?                                                    
         */                                                           
        _ISR_Disable( level );                                        
 20457d0:	7f fe fa 92 	call  2004218 <sparc_disable_interrupts>       
 20457d4:	01 00 00 00 	nop                                            
          local_state = the_period->state;                            
 20457d8:	f4 07 60 38 	ld  [ %i5 + 0x38 ], %i2                        
          the_period->state = RATE_MONOTONIC_ACTIVE;                  
 20457dc:	f6 27 60 38 	st  %i3, [ %i5 + 0x38 ]                        
        _ISR_Enable( level );                                         
 20457e0:	7f fe fa 92 	call  2004228 <sparc_enable_interrupts>        
 20457e4:	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 )   
 20457e8:	80 a6 a0 03 	cmp  %i2, 3                                    
 20457ec:	22 80 00 06 	be,a   2045804 <rtems_rate_monotonic_period+0x1d0>
 20457f0:	d0 07 20 0c 	ld  [ %i4 + 0xc ], %o0                         
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
                                                                      
        _Thread_Enable_dispatch();                                    
 20457f4:	7f ff 2d d2 	call  2010f3c <_Thread_Enable_dispatch>        
 20457f8:	b0 10 20 00 	clr  %i0                                       
 20457fc:	81 c7 e0 08 	ret                                            
 2045800:	81 e8 00 00 	restore                                        
        /*                                                            
         *  If it did, then we want to unblock ourself and continue as
         *  if nothing happen.  The period was reset in the timeout routine.
         */                                                           
        if ( local_state == RATE_MONOTONIC_EXPIRED_WHILE_BLOCKING )   
          _Thread_Clear_state( _Thread_Executing, STATES_WAITING_FOR_PERIOD );
 2045804:	7f ff 2c db 	call  2010b70 <_Thread_Clear_state>            
 2045808:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
 204580c:	30 bf ff fa 	b,a   20457f4 <rtems_rate_monotonic_period+0x1c0>
                                                                      

0202e7c0 <rtems_rate_monotonic_report_statistics_with_plugin>: */ void rtems_rate_monotonic_report_statistics_with_plugin( void *context, rtems_printk_plugin_t print ) {
 202e7c0:	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 )                                                       
 202e7c4:	80 a6 60 00 	cmp  %i1, 0                                    
 202e7c8:	02 80 00 48 	be  202e8e8 <rtems_rate_monotonic_report_statistics_with_plugin+0x128><== NEVER TAKEN
 202e7cc:	90 10 00 18 	mov  %i0, %o0                                  
    return;                                                           
                                                                      
  (*print)( context, "Period information by period\n" );              
 202e7d0:	13 00 81 ab 	sethi  %hi(0x206ac00), %o1                     
 202e7d4:	9f c6 40 00 	call  %i1                                      
 202e7d8:	92 12 61 00 	or  %o1, 0x100, %o1	! 206ad00 <_TOD_Days_per_month+0x68>
  #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                          
    (*print)( context, "--- CPU times are in seconds ---\n" );        
 202e7dc:	90 10 00 18 	mov  %i0, %o0                                  
 202e7e0:	13 00 81 ab 	sethi  %hi(0x206ac00), %o1                     
 202e7e4:	9f c6 40 00 	call  %i1                                      
 202e7e8:	92 12 61 20 	or  %o1, 0x120, %o1	! 206ad20 <_TOD_Days_per_month+0x88>
    (*print)( context, "--- Wall times are in seconds ---\n" );       
 202e7ec:	90 10 00 18 	mov  %i0, %o0                                  
 202e7f0:	13 00 81 ab 	sethi  %hi(0x206ac00), %o1                     
 202e7f4:	9f c6 40 00 	call  %i1                                      
 202e7f8:	92 12 61 48 	or  %o1, 0x148, %o1	! 206ad48 <_TOD_Days_per_month+0xb0>
  Be sure to test the various cases.                                  
  (*print)( context,"\                                                
1234567890123456789012345678901234567890123456789012345678901234567890123456789\
\n");                                                                 
*/                                                                    
  (*print)( context, "   ID     OWNER COUNT MISSED     "              
 202e7fc:	90 10 00 18 	mov  %i0, %o0                                  
 202e800:	13 00 81 ab 	sethi  %hi(0x206ac00), %o1                     
 202e804:	9f c6 40 00 	call  %i1                                      
 202e808:	92 12 61 70 	or  %o1, 0x170, %o1	! 206ad70 <_TOD_Days_per_month+0xd8>
       #ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__                     
          "          "                                                
       #endif                                                         
          "   WALL TIME\n"                                            
  );                                                                  
  (*print)( context, "                               "                
 202e80c:	90 10 00 18 	mov  %i0, %o0                                  
 202e810:	13 00 81 ab 	sethi  %hi(0x206ac00), %o1                     
 202e814:	9f c6 40 00 	call  %i1                                      
 202e818:	92 12 61 c0 	or  %o1, 0x1c0, %o1	! 206adc0 <_TOD_Days_per_month+0x128>
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 202e81c:	39 00 81 da 	sethi  %hi(0x2076800), %i4                     
 202e820:	b8 17 21 30 	or  %i4, 0x130, %i4	! 2076930 <_Rate_monotonic_Information>
 202e824:	fa 07 20 08 	ld  [ %i4 + 8 ], %i5                           
 202e828:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
 202e82c:	80 a7 40 01 	cmp  %i5, %g1                                  
 202e830:	18 80 00 2e 	bgu  202e8e8 <rtems_rate_monotonic_report_statistics_with_plugin+0x128><== NEVER TAKEN
 202e834:	35 00 81 ab 	sethi  %hi(0x206ac00), %i2                     
      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,                                              
 202e838:	27 00 81 ab 	sethi  %hi(0x206ac00), %l3                     
      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,                                              
 202e83c:	25 00 81 ab 	sethi  %hi(0x206ac00), %l2                     
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 202e840:	37 00 81 b0 	sethi  %hi(0x206c000), %i3                     
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202e844:	b4 16 a2 10 	or  %i2, 0x210, %i2                            
      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,                                              
 202e848:	a6 14 e2 28 	or  %l3, 0x228, %l3                            
      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,                                              
 202e84c:	a4 14 a2 48 	or  %l2, 0x248, %l2                            
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
      (*print)( context, "\n" );                                      
 202e850:	10 80 00 06 	b  202e868 <rtems_rate_monotonic_report_statistics_with_plugin+0xa8>
 202e854:	b6 16 e2 e8 	or  %i3, 0x2e8, %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 ;                   
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
 202e858:	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 ;                   
 202e85c:	80 a0 40 1d 	cmp  %g1, %i5                                  
 202e860:	0a 80 00 22 	bcs  202e8e8 <rtems_rate_monotonic_report_statistics_with_plugin+0x128>
 202e864:	01 00 00 00 	nop                                            
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
    status = rtems_rate_monotonic_get_statistics( id, &the_stats );   
 202e868:	90 10 00 1d 	mov  %i5, %o0                                  
 202e86c:	40 00 5a 20 	call  20450ec <rtems_rate_monotonic_get_statistics>
 202e870:	92 07 bf c8 	add  %fp, -56, %o1                             
    if ( status != RTEMS_SUCCESSFUL )                                 
 202e874:	80 a2 20 00 	cmp  %o0, 0                                    
 202e878:	32 bf ff f8 	bne,a   202e858 <rtems_rate_monotonic_report_statistics_with_plugin+0x98>
 202e87c:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
    #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 );      
 202e880:	92 07 bf b0 	add  %fp, -80, %o1                             
 202e884:	40 00 5a 8c 	call  20452b4 <rtems_rate_monotonic_get_status>
 202e888:	90 10 00 1d 	mov  %i5, %o0                                  
    #endif                                                            
                                                                      
    rtems_object_get_name( the_status.owner, sizeof(name), name );    
 202e88c:	d0 07 bf b0 	ld  [ %fp + -80 ], %o0                         
 202e890:	94 07 bf a0 	add  %fp, -96, %o2                             
 202e894:	7f ff 7d 03 	call  200dca0 <rtems_object_get_name>          
 202e898:	92 10 20 05 	mov  5, %o1                                    
                                                                      
    /*                                                                
     *  Print part of report line that is not dependent on granularity
     */                                                               
    (*print)( context,                                                
 202e89c:	d8 1f bf c8 	ldd  [ %fp + -56 ], %o4                        
 202e8a0:	92 10 00 1a 	mov  %i2, %o1                                  
 202e8a4:	94 10 00 1d 	mov  %i5, %o2                                  
 202e8a8:	90 10 00 18 	mov  %i0, %o0                                  
 202e8ac:	9f c6 40 00 	call  %i1                                      
 202e8b0:	96 07 bf a0 	add  %fp, -96, %o3                             
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 202e8b4:	c2 07 bf c8 	ld  [ %fp + -56 ], %g1                         
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
 202e8b8:	94 07 bf a8 	add  %fp, -88, %o2                             
 202e8bc:	90 07 bf e0 	add  %fp, -32, %o0                             
    );                                                                
                                                                      
    /*                                                                
     *  If the count is zero, don't print statistics                  
     */                                                               
    if (the_stats.count == 0) {                                       
 202e8c0:	80 a0 60 00 	cmp  %g1, 0                                    
 202e8c4:	12 80 00 0b 	bne  202e8f0 <rtems_rate_monotonic_report_statistics_with_plugin+0x130>
 202e8c8:	92 10 00 1b 	mov  %i3, %o1                                  
      (*print)( context, "\n" );                                      
 202e8cc:	9f c6 40 00 	call  %i1                                      
 202e8d0:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  /*                                                                  
   * Cycle through all possible ids and try to report on each one.  If it
   * is a period that is inactive, we just get an error back.  No big deal.
   */                                                                 
  for ( id=_Rate_monotonic_Information.minimum_id ;                   
 202e8d4:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
        id <= _Rate_monotonic_Information.maximum_id ;                
        id++ ) {                                                      
 202e8d8:	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 ;                   
 202e8dc:	80 a0 40 1d 	cmp  %g1, %i5                                  
 202e8e0:	1a bf ff e3 	bcc  202e86c <rtems_rate_monotonic_report_statistics_with_plugin+0xac><== ALWAYS TAKEN
 202e8e4:	90 10 00 1d 	mov  %i5, %o0                                  
 202e8e8:	81 c7 e0 08 	ret                                            
 202e8ec:	81 e8 00 00 	restore                                        
      struct timespec  cpu_average;                                   
      struct timespec *min_cpu = &the_stats.min_cpu_time;             
      struct timespec *max_cpu = &the_stats.max_cpu_time;             
      struct timespec *total_cpu = &the_stats.total_cpu_time;         
                                                                      
      _Timespec_Divide_by_integer( total_cpu, the_stats.count, &cpu_average );
 202e8f0:	40 00 05 68 	call  202fe90 <_Timespec_Divide_by_integer>    
 202e8f4:	92 10 00 01 	mov  %g1, %o1                                  
      (*print)( context,                                              
 202e8f8:	d0 07 bf d4 	ld  [ %fp + -44 ], %o0                         
 202e8fc:	40 00 cc ea 	call  2061ca4 <.div>                           
 202e900:	92 10 23 e8 	mov  0x3e8, %o1                                
 202e904:	aa 10 00 08 	mov  %o0, %l5                                  
 202e908:	d0 07 bf dc 	ld  [ %fp + -36 ], %o0                         
 202e90c:	40 00 cc e6 	call  2061ca4 <.div>                           
 202e910:	92 10 23 e8 	mov  0x3e8, %o1                                
 202e914:	c2 07 bf a8 	ld  [ %fp + -88 ], %g1                         
 202e918:	a2 10 00 08 	mov  %o0, %l1                                  
 202e91c:	d0 07 bf ac 	ld  [ %fp + -84 ], %o0                         
 202e920:	e0 07 bf d0 	ld  [ %fp + -48 ], %l0                         
 202e924:	e8 07 bf d8 	ld  [ %fp + -40 ], %l4                         
 202e928:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 202e92c:	40 00 cc de 	call  2061ca4 <.div>                           
 202e930:	92 10 23 e8 	mov  0x3e8, %o1                                
 202e934:	96 10 00 15 	mov  %l5, %o3                                  
 202e938:	98 10 00 14 	mov  %l4, %o4                                  
 202e93c:	9a 10 00 11 	mov  %l1, %o5                                  
 202e940:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 202e944:	92 10 00 13 	mov  %l3, %o1                                  
 202e948:	94 10 00 10 	mov  %l0, %o2                                  
 202e94c:	9f c6 40 00 	call  %i1                                      
 202e950:	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);
 202e954:	d2 07 bf c8 	ld  [ %fp + -56 ], %o1                         
 202e958:	94 07 bf a8 	add  %fp, -88, %o2                             
 202e95c:	40 00 05 4d 	call  202fe90 <_Timespec_Divide_by_integer>    
 202e960:	90 07 bf f8 	add  %fp, -8, %o0                              
      (*print)( context,                                              
 202e964:	d0 07 bf ec 	ld  [ %fp + -20 ], %o0                         
 202e968:	40 00 cc cf 	call  2061ca4 <.div>                           
 202e96c:	92 10 23 e8 	mov  0x3e8, %o1                                
 202e970:	a8 10 00 08 	mov  %o0, %l4                                  
 202e974:	d0 07 bf f4 	ld  [ %fp + -12 ], %o0                         
 202e978:	40 00 cc cb 	call  2061ca4 <.div>                           
 202e97c:	92 10 23 e8 	mov  0x3e8, %o1                                
 202e980:	c2 07 bf a8 	ld  [ %fp + -88 ], %g1                         
 202e984:	a0 10 00 08 	mov  %o0, %l0                                  
 202e988:	d0 07 bf ac 	ld  [ %fp + -84 ], %o0                         
 202e98c:	ea 07 bf e8 	ld  [ %fp + -24 ], %l5                         
 202e990:	e2 07 bf f0 	ld  [ %fp + -16 ], %l1                         
 202e994:	92 10 23 e8 	mov  0x3e8, %o1                                
 202e998:	40 00 cc c3 	call  2061ca4 <.div>                           
 202e99c:	c2 23 a0 5c 	st  %g1, [ %sp + 0x5c ]                        
 202e9a0:	92 10 00 12 	mov  %l2, %o1                                  
 202e9a4:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        
 202e9a8:	94 10 00 15 	mov  %l5, %o2                                  
 202e9ac:	90 10 00 18 	mov  %i0, %o0                                  
 202e9b0:	96 10 00 14 	mov  %l4, %o3                                  
 202e9b4:	98 10 00 11 	mov  %l1, %o4                                  
 202e9b8:	9f c6 40 00 	call  %i1                                      
 202e9bc:	9a 10 00 10 	mov  %l0, %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 ;                   
 202e9c0:	10 bf ff a6 	b  202e858 <rtems_rate_monotonic_report_statistics_with_plugin+0x98>
 202e9c4:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
                                                                      

0202e9e0 <rtems_rate_monotonic_reset_all_statistics>: /* * rtems_rate_monotonic_reset_all_statistics */ void rtems_rate_monotonic_reset_all_statistics( void ) {
 202e9e0:	9d e3 bf a0 	save  %sp, -96, %sp                            
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 202e9e4:	03 00 81 d7 	sethi  %hi(0x2075c00), %g1                     
 202e9e8:	c4 00 61 90 	ld  [ %g1 + 0x190 ], %g2	! 2075d90 <_Thread_Dispatch_disable_level>
 202e9ec:	84 00 a0 01 	inc  %g2                                       
 202e9f0:	c4 20 61 90 	st  %g2, [ %g1 + 0x190 ]                       
    return _Thread_Dispatch_disable_level;                            
 202e9f4:	c2 00 61 90 	ld  [ %g1 + 0x190 ], %g1                       
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
 202e9f8:	39 00 81 da 	sethi  %hi(0x2076800), %i4                     
 202e9fc:	b8 17 21 30 	or  %i4, 0x130, %i4	! 2076930 <_Rate_monotonic_Information>
 202ea00:	fa 07 20 08 	ld  [ %i4 + 8 ], %i5                           
 202ea04:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
 202ea08:	80 a7 40 01 	cmp  %i5, %g1                                  
 202ea0c:	18 80 00 09 	bgu  202ea30 <rtems_rate_monotonic_reset_all_statistics+0x50><== NEVER TAKEN
 202ea10:	01 00 00 00 	nop                                            
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
      (void) rtems_rate_monotonic_reset_statistics( id );             
 202ea14:	40 00 00 09 	call  202ea38 <rtems_rate_monotonic_reset_statistics>
 202ea18:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
 202ea1c:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
          id <= _Rate_monotonic_Information.maximum_id ;              
          id++ ) {                                                    
 202ea20:	ba 07 60 01 	inc  %i5                                       
                                                                      
    /*                                                                
     * Cycle through all possible ids and try to reset each one.  If it
     * is a period that is inactive, we just get an error back.  No big deal.
     */                                                               
    for ( id=_Rate_monotonic_Information.minimum_id ;                 
 202ea24:	80 a0 40 1d 	cmp  %g1, %i5                                  
 202ea28:	1a bf ff fb 	bcc  202ea14 <rtems_rate_monotonic_reset_all_statistics+0x34>
 202ea2c:	01 00 00 00 	nop                                            
    }                                                                 
                                                                      
  /*                                                                  
   *  Done so exit thread dispatching disabled critical section.      
   */                                                                 
  _Thread_Enable_dispatch();                                          
 202ea30:	7f ff 89 43 	call  2010f3c <_Thread_Enable_dispatch>        
 202ea34:	81 e8 00 00 	restore                                        
                                                                      

02008fe0 <rtems_rbheap_allocate>: return big_enough; } void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size) {
 2008fe0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  void *ptr = NULL;                                                   
  rtems_chain_control *free_chain = &control->free_chunk_chain;       
  rtems_rbtree_control *chunk_tree = &control->chunk_tree;            
  uintptr_t alignment = control->alignment;                           
 2008fe4:	fa 06 20 30 	ld  [ %i0 + 0x30 ], %i5                        
                                                                      
#include <stdlib.h>                                                   
                                                                      
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
 2008fe8:	90 10 00 19 	mov  %i1, %o0                                  
 2008fec:	40 00 47 3b 	call  201acd8 <.urem>                          
 2008ff0:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
  if (excess > 0) {                                                   
 2008ff4:	80 a2 20 00 	cmp  %o0, 0                                    
 2008ff8:	02 80 00 26 	be  2009090 <rtems_rbheap_allocate+0xb0>       <== ALWAYS TAKEN
 2008ffc:	b6 10 00 19 	mov  %i1, %i3                                  
    value += alignment - excess;                                      
 2009000:	ba 06 40 1d 	add  %i1, %i5, %i5                             <== NOT EXECUTED
 2009004:	b6 27 40 08 	sub  %i5, %o0, %i3                             <== NOT EXECUTED
 2009008:	80 a6 c0 19 	cmp  %i3, %i1                                  <== NOT EXECUTED
 200900c:	82 60 3f ff 	subx  %g0, -1, %g1                             <== NOT EXECUTED
  rtems_chain_control *free_chain = &control->free_chunk_chain;       
  rtems_rbtree_control *chunk_tree = &control->chunk_tree;            
  uintptr_t alignment = control->alignment;                           
  uintptr_t aligned_size = align_up(alignment, size);                 
                                                                      
  if (size > 0 && size <= aligned_size) {                             
 2009010:	80 88 60 ff 	btst  0xff, %g1                                
 2009014:	02 80 00 1d 	be  2009088 <rtems_rbheap_allocate+0xa8>       <== NEVER TAKEN
 2009018:	80 a6 60 00 	cmp  %i1, 0                                    
 200901c:	02 80 00 1b 	be  2009088 <rtems_rbheap_allocate+0xa8>       
 2009020:	82 06 20 04 	add  %i0, 4, %g1                               
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 2009024:	fa 06 00 00 	ld  [ %i0 ], %i5                               
{                                                                     
  rtems_chain_node *current = rtems_chain_first(free_chain);          
  const rtems_chain_node *tail = rtems_chain_tail(free_chain);        
  rtems_rbheap_chunk *big_enough = NULL;                              
                                                                      
  while (current != tail && big_enough == NULL) {                     
 2009028:	80 a7 40 01 	cmp  %i5, %g1                                  
 200902c:	02 80 00 17 	be  2009088 <rtems_rbheap_allocate+0xa8>       
 2009030:	01 00 00 00 	nop                                            
    rtems_rbheap_chunk *free_chunk = (rtems_rbheap_chunk *) current;  
                                                                      
    if (free_chunk->size >= size) {                                   
 2009034:	f8 07 60 1c 	ld  [ %i5 + 0x1c ], %i4                        
 2009038:	80 a6 c0 1c 	cmp  %i3, %i4                                  
 200903c:	38 80 00 10 	bgu,a   200907c <rtems_rbheap_allocate+0x9c>   
 2009040:	fa 07 40 00 	ld  [ %i5 ], %i5                               
  uintptr_t aligned_size = align_up(alignment, size);                 
                                                                      
  if (size > 0 && size <= aligned_size) {                             
    rtems_rbheap_chunk *free_chunk = search_free_chunk(free_chain, aligned_size);
                                                                      
    if (free_chunk != NULL) {                                         
 2009044:	80 a7 60 00 	cmp  %i5, 0                                    
 2009048:	02 80 00 10 	be  2009088 <rtems_rbheap_allocate+0xa8>       <== NEVER TAKEN
 200904c:	80 a7 00 1b 	cmp  %i4, %i3                                  
      uintptr_t free_size = free_chunk->size;                         
                                                                      
      if (free_size > aligned_size) {                                 
 2009050:	18 80 00 12 	bgu  2009098 <rtems_rbheap_allocate+0xb8>      
 2009054:	01 00 00 00 	nop                                            
)                                                                     
{                                                                     
  Chain_Node *next;                                                   
  Chain_Node *previous;                                               
                                                                      
  next           = the_node->next;                                    
 2009058:	c4 07 40 00 	ld  [ %i5 ], %g2                               
  previous       = the_node->previous;                                
 200905c:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
          ptr = (void *) new_chunk->begin;                            
        }                                                             
      } else {                                                        
        rtems_chain_extract_unprotected(&free_chunk->chain_node);     
        rtems_chain_set_off_chain(&free_chunk->chain_node);           
        ptr = (void *) free_chunk->begin;                             
 2009060:	f0 07 60 18 	ld  [ %i5 + 0x18 ], %i0                        
  next->previous = previous;                                          
 2009064:	c2 20 a0 04 	st  %g1, [ %g2 + 4 ]                           
  previous->next = next;                                              
 2009068:	c4 20 40 00 	st  %g2, [ %g1 ]                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 200906c:	c0 27 60 04 	clr  [ %i5 + 4 ]                               
 2009070:	c0 27 40 00 	clr  [ %i5 ]                                   
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return ptr;                                                         
}                                                                     
 2009074:	81 c7 e0 08 	ret                                            
 2009078:	81 e8 00 00 	restore                                        
{                                                                     
  rtems_chain_node *current = rtems_chain_first(free_chain);          
  const rtems_chain_node *tail = rtems_chain_tail(free_chain);        
  rtems_rbheap_chunk *big_enough = NULL;                              
                                                                      
  while (current != tail && big_enough == NULL) {                     
 200907c:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2009080:	32 bf ff ee 	bne,a   2009038 <rtems_rbheap_allocate+0x58>   <== NEVER TAKEN
 2009084:	f8 07 60 1c 	ld  [ %i5 + 0x1c ], %i4                        <== NOT EXECUTED
  return big_enough;                                                  
}                                                                     
                                                                      
void *rtems_rbheap_allocate(rtems_rbheap_control *control, size_t size)
{                                                                     
  void *ptr = NULL;                                                   
 2009088:	81 c7 e0 08 	ret                                            
 200908c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
                                                                      
  if (excess > 0) {                                                   
 2009090:	10 bf ff e0 	b  2009010 <rtems_rbheap_allocate+0x30>        
 2009094:	82 10 20 01 	mov  1, %g1                                    
                                                                      
    if (free_chunk != NULL) {                                         
      uintptr_t free_size = free_chunk->size;                         
                                                                      
      if (free_size > aligned_size) {                                 
        rtems_rbheap_chunk *new_chunk = get_chunk(control);           
 2009098:	7f ff ff 46 	call  2008db0 <get_chunk>                      
 200909c:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
        if (new_chunk != NULL) {                                      
 20090a0:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 20090a4:	02 bf ff f9 	be  2009088 <rtems_rbheap_allocate+0xa8>       <== NEVER TAKEN
 20090a8:	b8 27 00 1b 	sub  %i4, %i3, %i4                             
          uintptr_t new_free_size = free_size - aligned_size;         
                                                                      
          free_chunk->size = new_free_size;                           
          new_chunk->begin = free_chunk->begin + new_free_size;       
 20090ac:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
        rtems_rbheap_chunk *new_chunk = get_chunk(control);           
                                                                      
        if (new_chunk != NULL) {                                      
          uintptr_t new_free_size = free_size - aligned_size;         
                                                                      
          free_chunk->size = new_free_size;                           
 20090b0:	f8 27 60 1c 	st  %i4, [ %i5 + 0x1c ]                        
          new_chunk->begin = free_chunk->begin + new_free_size;       
          new_chunk->size = aligned_size;                             
 20090b4:	f6 26 a0 1c 	st  %i3, [ %i2 + 0x1c ]                        
                                                                      
        if (new_chunk != NULL) {                                      
          uintptr_t new_free_size = free_size - aligned_size;         
                                                                      
          free_chunk->size = new_free_size;                           
          new_chunk->begin = free_chunk->begin + new_free_size;       
 20090b8:	b8 07 00 01 	add  %i4, %g1, %i4                             
 20090bc:	c0 26 a0 04 	clr  [ %i2 + 4 ]                               
 20090c0:	f8 26 a0 18 	st  %i4, [ %i2 + 0x18 ]                        
 20090c4:	c0 26 80 00 	clr  [ %i2 ]                                   
static void insert_into_tree(                                         
  rtems_rbtree_control *tree,                                         
  rtems_rbheap_chunk *chunk                                           
)                                                                     
{                                                                     
  _RBTree_Insert_unprotected(tree, &chunk->tree_node);                
 20090c8:	90 06 20 18 	add  %i0, 0x18, %o0                            
 20090cc:	40 00 07 0f 	call  200ad08 <_RBTree_Insert_unprotected>     
 20090d0:	92 06 a0 08 	add  %i2, 8, %o1                               
          free_chunk->size = new_free_size;                           
          new_chunk->begin = free_chunk->begin + new_free_size;       
          new_chunk->size = aligned_size;                             
          rtems_chain_set_off_chain(&new_chunk->chain_node);          
          insert_into_tree(chunk_tree, new_chunk);                    
          ptr = (void *) new_chunk->begin;                            
 20090d4:	f0 06 a0 18 	ld  [ %i2 + 0x18 ], %i0                        
 20090d8:	81 c7 e0 08 	ret                                            
 20090dc:	81 e8 00 00 	restore                                        
                                                                      

02009224 <rtems_rbheap_extend_descriptors_with_malloc>: /* Do nothing */ } void rtems_rbheap_extend_descriptors_with_malloc(rtems_rbheap_control *control) {
 2009224:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_rbheap_chunk *chunk = malloc(sizeof(*chunk));                 
 2009228:	7f ff ec 86 	call  2004440 <malloc>                         <== NOT EXECUTED
 200922c:	90 10 20 20 	mov  0x20, %o0                                 <== NOT EXECUTED
                                                                      
  if (chunk != NULL) {                                                
 2009230:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2009234:	02 80 00 07 	be  2009250 <rtems_rbheap_extend_descriptors_with_malloc+0x2c><== NOT EXECUTED
 2009238:	84 06 20 0c 	add  %i0, 0xc, %g2                             <== NOT EXECUTED
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 200923c:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         <== NOT EXECUTED
  after_node->next      = the_node;                                   
 2009240:	d0 26 20 0c 	st  %o0, [ %i0 + 0xc ]                         <== NOT EXECUTED
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 2009244:	c4 22 20 04 	st  %g2, [ %o0 + 4 ]                           <== NOT EXECUTED
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
  the_node->next        = before_node;                                
 2009248:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
  before_node->previous = the_node;                                   
 200924c:	d0 20 60 04 	st  %o0, [ %g1 + 4 ]                           <== NOT EXECUTED
 2009250:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2009254:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020090e0 <rtems_rbheap_free>: _RBTree_Extract_unprotected(chunk_tree, &b->tree_node); } } rtems_status_code rtems_rbheap_free(rtems_rbheap_control *control, void *ptr) {
 20090e0:	9d e3 bf 80 	save  %sp, -128, %sp                           
 20090e4:	b4 10 00 18 	mov  %i0, %i2                                  
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (ptr != NULL) {                                                  
 20090e8:	80 a6 60 00 	cmp  %i1, 0                                    
 20090ec:	02 80 00 2a 	be  2009194 <rtems_rbheap_free+0xb4>           
 20090f0:	b0 10 20 00 	clr  %i0                                       
RTEMS_INLINE_ROUTINE RBTree_Node *_RBTree_Find_unprotected(           
    RBTree_Control *the_rbtree,                                       
    RBTree_Node *the_node                                             
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
 20090f4:	fa 06 a0 1c 	ld  [ %i2 + 0x1c ], %i5                        
                                                                      
#define NULL_PAGE rtems_rbheap_chunk_of_node(NULL)                    
                                                                      
static rtems_rbheap_chunk *find(rtems_rbtree_control *chunk_tree, uintptr_t key)
{                                                                     
  rtems_rbheap_chunk chunk = { .begin = key };                        
 20090f8:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
 20090fc:	c0 27 bf e0 	clr  [ %fp + -32 ]                             
 2009100:	c0 27 bf e4 	clr  [ %fp + -28 ]                             
 2009104:	c0 27 bf e8 	clr  [ %fp + -24 ]                             
 2009108:	c0 27 bf ec 	clr  [ %fp + -20 ]                             
 200910c:	c0 27 bf f0 	clr  [ %fp + -16 ]                             
 2009110:	c0 27 bf f4 	clr  [ %fp + -12 ]                             
 2009114:	f2 27 bf f8 	st  %i1, [ %fp + -8 ]                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
 2009118:	80 a7 60 00 	cmp  %i5, 0                                    
 200911c:	02 80 00 3e 	be  2009214 <rtems_rbheap_free+0x134>          <== NEVER TAKEN
 2009120:	b8 06 a0 18 	add  %i2, 0x18, %i4                            
 2009124:	b6 10 20 00 	clr  %i3                                       
    compare_result = the_rbtree->compare_function(the_node, iter_node);
 2009128:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
 200912c:	92 10 00 1d 	mov  %i5, %o1                                  
 2009130:	9f c0 40 00 	call  %g1                                      
 2009134:	90 07 bf e8 	add  %fp, -24, %o0                             
                                                                      
RTEMS_INLINE_ROUTINE bool _RBTree_Is_greater(                         
  int compare_result                                                  
)                                                                     
{                                                                     
  return compare_result > 0;                                          
 2009138:	83 3a 20 1f 	sra  %o0, 0x1f, %g1                            
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
    compare_result = the_rbtree->compare_function(the_node, iter_node);
    if ( _RBTree_Is_equal( compare_result ) ) {                       
 200913c:	80 a2 20 00 	cmp  %o0, 0                                    
                                                                      
RTEMS_INLINE_ROUTINE bool _RBTree_Is_greater(                         
  int compare_result                                                  
)                                                                     
{                                                                     
  return compare_result > 0;                                          
 2009140:	82 20 40 08 	sub  %g1, %o0, %g1                             
 2009144:	83 30 60 1f 	srl  %g1, 0x1f, %g1                            
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir =                                            
      (RBTree_Direction) _RBTree_Is_greater( compare_result );        
    iter_node = iter_node->child[dir];                                
 2009148:	83 28 60 02 	sll  %g1, 2, %g1                               
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
    compare_result = the_rbtree->compare_function(the_node, iter_node);
    if ( _RBTree_Is_equal( compare_result ) ) {                       
 200914c:	12 80 00 06 	bne  2009164 <rtems_rbheap_free+0x84>          
 2009150:	82 07 40 01 	add  %i5, %g1, %g1                             
      found = iter_node;                                              
      if ( the_rbtree->is_unique )                                    
 2009154:	c4 0f 20 14 	ldub  [ %i4 + 0x14 ], %g2                      
 2009158:	80 a0 a0 00 	cmp  %g2, 0                                    
 200915c:	12 80 00 10 	bne  200919c <rtems_rbheap_free+0xbc>          <== ALWAYS TAKEN
 2009160:	b6 10 00 1d 	mov  %i5, %i3                                  
        break;                                                        
    }                                                                 
                                                                      
    RBTree_Direction dir =                                            
      (RBTree_Direction) _RBTree_Is_greater( compare_result );        
    iter_node = iter_node->child[dir];                                
 2009164:	fa 00 60 04 	ld  [ %g1 + 4 ], %i5                           
    )                                                                 
{                                                                     
  RBTree_Node* iter_node = the_rbtree->root;                          
  RBTree_Node* found = NULL;                                          
  int compare_result;                                                 
  while (iter_node) {                                                 
 2009168:	80 a7 60 00 	cmp  %i5, 0                                    
 200916c:	32 bf ff f0 	bne,a   200912c <rtems_rbheap_free+0x4c>       
 2009170:	c2 07 20 10 	ld  [ %i4 + 0x10 ], %g1                        
                                                                      
  return rtems_rbheap_chunk_of_node(                                  
 2009174:	ba 06 ff f8 	add  %i3, -8, %i5                              
  if (ptr != NULL) {                                                  
    rtems_chain_control *free_chain = &control->free_chunk_chain;     
    rtems_rbtree_control *chunk_tree = &control->chunk_tree;          
    rtems_rbheap_chunk *chunk = find(chunk_tree, (uintptr_t) ptr);    
                                                                      
    if (chunk != NULL_PAGE) {                                         
 2009178:	80 a7 7f f8 	cmp  %i5, -8                                   
 200917c:	02 80 00 06 	be  2009194 <rtems_rbheap_free+0xb4>           
 2009180:	b0 10 20 04 	mov  4, %i0                                    
 */                                                                   
RTEMS_INLINE_ROUTINE bool _Chain_Is_node_off_chain(                   
  const Chain_Node *node                                              
)                                                                     
{                                                                     
  return (node->next == NULL) && (node->previous == NULL);            
 2009184:	c2 06 ff f8 	ld  [ %i3 + -8 ], %g1                          
 2009188:	80 a0 60 00 	cmp  %g1, 0                                    
 200918c:	02 80 00 06 	be  20091a4 <rtems_rbheap_free+0xc4>           
 2009190:	b0 10 20 0e 	mov  0xe, %i0                                  
      sc = RTEMS_INVALID_ID;                                          
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
 2009194:	81 c7 e0 08 	ret                                            
 2009198:	81 e8 00 00 	restore                                        
                                                                      
static rtems_rbheap_chunk *find(rtems_rbtree_control *chunk_tree, uintptr_t key)
{                                                                     
  rtems_rbheap_chunk chunk = { .begin = key };                        
                                                                      
  return rtems_rbheap_chunk_of_node(                                  
 200919c:	10 bf ff f7 	b  2009178 <rtems_rbheap_free+0x98>            
 20091a0:	ba 06 ff f8 	add  %i3, -8, %i5                              
 20091a4:	c2 06 ff fc 	ld  [ %i3 + -4 ], %g1                          
 20091a8:	80 a0 60 00 	cmp  %g1, 0                                    
 20091ac:	12 bf ff fa 	bne  2009194 <rtems_rbheap_free+0xb4>          <== NEVER TAKEN
 20091b0:	92 10 20 00 	clr  %o1                                       
static rtems_rbheap_chunk *get_next(                                  
  const rtems_rbheap_chunk *chunk,                                    
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return rtems_rbheap_chunk_of_node(                                  
 20091b4:	40 00 07 a4 	call  200b044 <_RBTree_Next_unprotected>       
 20091b8:	90 10 00 1b 	mov  %i3, %o0                                  
 20091bc:	92 10 20 01 	mov  1, %o1                                    
 20091c0:	b2 10 00 08 	mov  %o0, %i1                                  
 20091c4:	40 00 07 a0 	call  200b044 <_RBTree_Next_unprotected>       
 20091c8:	90 10 00 1b 	mov  %i3, %o0                                  
    if (chunk != NULL_PAGE) {                                         
      if (!rtems_rbheap_is_chunk_free(chunk)) {                       
        rtems_rbheap_chunk *pred = get_next(chunk, RBT_LEFT);         
        rtems_rbheap_chunk *succ = get_next(chunk, RBT_RIGHT);        
                                                                      
        check_and_merge(free_chain, chunk_tree, chunk, succ);         
 20091cc:	92 10 00 1c 	mov  %i4, %o1                                  
static rtems_rbheap_chunk *get_next(                                  
  const rtems_rbheap_chunk *chunk,                                    
  RBTree_Direction dir                                                
)                                                                     
{                                                                     
  return rtems_rbheap_chunk_of_node(                                  
 20091d0:	96 02 3f f8 	add  %o0, -8, %o3                              
    if (chunk != NULL_PAGE) {                                         
      if (!rtems_rbheap_is_chunk_free(chunk)) {                       
        rtems_rbheap_chunk *pred = get_next(chunk, RBT_LEFT);         
        rtems_rbheap_chunk *succ = get_next(chunk, RBT_RIGHT);        
                                                                      
        check_and_merge(free_chain, chunk_tree, chunk, succ);         
 20091d4:	94 10 00 1d 	mov  %i5, %o2                                  
 20091d8:	7f ff ff 10 	call  2008e18 <check_and_merge>                
 20091dc:	90 10 00 1a 	mov  %i2, %o0                                  
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 20091e0:	c2 06 80 00 	ld  [ %i2 ], %g1                               
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 20091e4:	f4 26 ff fc 	st  %i2, [ %i3 + -4 ]                          
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 20091e8:	fa 26 80 00 	st  %i5, [ %i2 ]                               
  the_node->next        = before_node;                                
 20091ec:	c2 26 ff f8 	st  %g1, [ %i3 + -8 ]                          
  before_node->previous = the_node;                                   
 20091f0:	fa 20 60 04 	st  %i5, [ %g1 + 4 ]                           
        add_to_chain(free_chain, chunk);                              
        check_and_merge(free_chain, chunk_tree, chunk, pred);         
 20091f4:	90 10 00 1a 	mov  %i2, %o0                                  
 20091f8:	92 10 00 1c 	mov  %i4, %o1                                  
 20091fc:	94 10 00 1d 	mov  %i5, %o2                                  
 2009200:	96 06 7f f8 	add  %i1, -8, %o3                              
 2009204:	7f ff ff 05 	call  2008e18 <check_and_merge>                
 2009208:	b0 10 20 00 	clr  %i0                                       
 200920c:	81 c7 e0 08 	ret                                            
 2009210:	81 e8 00 00 	restore                                        
      sc = RTEMS_INVALID_ID;                                          
    }                                                                 
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
 2009214:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2009218:	91 e8 20 04 	restore  %g0, 4, %o0                           <== NOT EXECUTED
                                                                      

02008eb0 <rtems_rbheap_initialize>: uintptr_t area_size, uintptr_t alignment, rtems_rbheap_extend_descriptors extend_descriptors, void *handler_arg ) {
 2008eb0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
                                                                      
  if (alignment > 0) {                                                
 2008eb4:	80 a6 e0 00 	cmp  %i3, 0                                    
 2008eb8:	12 80 00 04 	bne  2008ec8 <rtems_rbheap_initialize+0x18>    
 2008ebc:	82 10 20 0a 	mov  0xa, %g1                                  
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
 2008ec0:	81 c7 e0 08 	ret                                            
 2008ec4:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      
#include <stdlib.h>                                                   
                                                                      
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
 2008ec8:	90 10 00 19 	mov  %i1, %o0                                  
 2008ecc:	92 10 00 1b 	mov  %i3, %o1                                  
 2008ed0:	40 00 47 82 	call  201acd8 <.urem>                          
 2008ed4:	b4 06 40 1a 	add  %i1, %i2, %i2                             
                                                                      
  if (excess > 0) {                                                   
 2008ed8:	80 a2 20 00 	cmp  %o0, 0                                    
 2008edc:	32 80 00 09 	bne,a   2008f00 <rtems_rbheap_initialize+0x50> 
 2008ee0:	a0 06 40 1b 	add  %i1, %i3, %l0                             
 2008ee4:	82 10 20 01 	mov  1, %g1                                    
    uintptr_t begin = (uintptr_t) area_begin;                         
    uintptr_t end = begin + area_size;                                
    uintptr_t aligned_begin = align_up(alignment, begin);             
    uintptr_t aligned_end = align_down(alignment, end);               
                                                                      
    if (begin < end && begin <= aligned_begin && aligned_begin < aligned_end) {
 2008ee8:	80 88 60 ff 	btst  0xff, %g1                                
 2008eec:	12 80 00 0b 	bne  2008f18 <rtems_rbheap_initialize+0x68>    <== ALWAYS TAKEN
 2008ef0:	a0 10 00 19 	mov  %i1, %l0                                  
        insert_into_tree(chunk_tree, first);                          
      } else {                                                        
        sc = RTEMS_NO_MEMORY;                                         
      }                                                               
    } else {                                                          
      sc = RTEMS_INVALID_ADDRESS;                                     
 2008ef4:	82 10 20 09 	mov  9, %g1                                    <== NOT EXECUTED
  } else {                                                            
    sc = RTEMS_INVALID_NUMBER;                                        
  }                                                                   
                                                                      
  return sc;                                                          
}                                                                     
 2008ef8:	81 c7 e0 08 	ret                                            
 2008efc:	91 e8 00 01 	restore  %g0, %g1, %o0                         
static uintptr_t align_up(uintptr_t alignment, uintptr_t value)       
{                                                                     
  uintptr_t excess = value % alignment;                               
                                                                      
  if (excess > 0) {                                                   
    value += alignment - excess;                                      
 2008f00:	a0 24 00 08 	sub  %l0, %o0, %l0                             
 2008f04:	80 a4 00 19 	cmp  %l0, %i1                                  
 2008f08:	82 60 3f ff 	subx  %g0, -1, %g1                             
    uintptr_t begin = (uintptr_t) area_begin;                         
    uintptr_t end = begin + area_size;                                
    uintptr_t aligned_begin = align_up(alignment, begin);             
    uintptr_t aligned_end = align_down(alignment, end);               
                                                                      
    if (begin < end && begin <= aligned_begin && aligned_begin < aligned_end) {
 2008f0c:	80 88 60 ff 	btst  0xff, %g1                                
 2008f10:	02 bf ff fa 	be  2008ef8 <rtems_rbheap_initialize+0x48>     
 2008f14:	82 10 20 09 	mov  9, %g1                                    
 2008f18:	80 a6 40 1a 	cmp  %i1, %i2                                  
 2008f1c:	1a bf ff f7 	bcc  2008ef8 <rtems_rbheap_initialize+0x48>    
 2008f20:	82 10 20 09 	mov  9, %g1                                    
  return value;                                                       
}                                                                     
                                                                      
static uintptr_t align_down(uintptr_t alignment, uintptr_t value)     
{                                                                     
  uintptr_t excess = value % alignment;                               
 2008f24:	90 10 00 1a 	mov  %i2, %o0                                  
 2008f28:	40 00 47 6c 	call  201acd8 <.urem>                          
 2008f2c:	92 10 00 1b 	mov  %i3, %o1                                  
                                                                      
  return value - excess;                                              
 2008f30:	b4 26 80 08 	sub  %i2, %o0, %i2                             
    uintptr_t begin = (uintptr_t) area_begin;                         
    uintptr_t end = begin + area_size;                                
    uintptr_t aligned_begin = align_up(alignment, begin);             
    uintptr_t aligned_end = align_down(alignment, end);               
                                                                      
    if (begin < end && begin <= aligned_begin && aligned_begin < aligned_end) {
 2008f34:	80 a4 00 1a 	cmp  %l0, %i2                                  
 2008f38:	1a bf ff e2 	bcc  2008ec0 <rtems_rbheap_initialize+0x10>    
 2008f3c:	82 10 20 09 	mov  9, %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 );                        
 2008f40:	82 06 20 04 	add  %i0, 4, %g1                               
                                                                      
  head->next = tail;                                                  
 2008f44:	c2 26 00 00 	st  %g1, [ %i0 ]                               
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 );                        
 2008f48:	82 06 20 0c 	add  %i0, 0xc, %g1                             
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 2008f4c:	c2 26 20 14 	st  %g1, [ %i0 + 0x14 ]                        
  the_rbtree->permanent_null   = NULL;                                
  the_rbtree->root             = NULL;                                
  the_rbtree->first[0]         = NULL;                                
  the_rbtree->first[1]         = NULL;                                
  the_rbtree->compare_function = compare_function;                    
  the_rbtree->is_unique        = is_unique;                           
 2008f50:	82 10 20 01 	mov  1, %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 );                        
 2008f54:	84 06 20 10 	add  %i0, 0x10, %g2                            
 2008f58:	c2 2e 20 2c 	stb  %g1, [ %i0 + 0x2c ]                       
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
  the_rbtree->root             = NULL;                                
  the_rbtree->first[0]         = NULL;                                
  the_rbtree->first[1]         = NULL;                                
  the_rbtree->compare_function = compare_function;                    
 2008f5c:	03 00 80 23 	sethi  %hi(0x2008c00), %g1                     
 2008f60:	82 10 61 a0 	or  %g1, 0x1a0, %g1	! 2008da0 <chunk_compare>  
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 2008f64:	c0 26 20 04 	clr  [ %i0 + 4 ]                               
 2008f68:	c2 26 20 28 	st  %g1, [ %i0 + 0x28 ]                        
  tail->previous = head;                                              
 2008f6c:	f0 26 20 08 	st  %i0, [ %i0 + 8 ]                           
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 2008f70:	c0 26 20 10 	clr  [ %i0 + 0x10 ]                            
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 2008f74:	c4 26 20 0c 	st  %g2, [ %i0 + 0xc ]                         
    RBTree_Control          *the_rbtree,                              
    RBTree_Compare_function  compare_function,                        
    bool                     is_unique                                
    )                                                                 
{                                                                     
  the_rbtree->permanent_null   = NULL;                                
 2008f78:	c0 26 20 18 	clr  [ %i0 + 0x18 ]                            
  the_rbtree->root             = NULL;                                
 2008f7c:	c0 26 20 1c 	clr  [ %i0 + 0x1c ]                            
  the_rbtree->first[0]         = NULL;                                
 2008f80:	c0 26 20 20 	clr  [ %i0 + 0x20 ]                            
  the_rbtree->first[1]         = NULL;                                
 2008f84:	c0 26 20 24 	clr  [ %i0 + 0x24 ]                            
      rtems_rbheap_chunk *first = NULL;                               
                                                                      
      rtems_chain_initialize_empty(free_chain);                       
      rtems_chain_initialize_empty(&control->spare_descriptor_chain); 
      rtems_rbtree_initialize_empty(chunk_tree, chunk_compare, true); 
      control->alignment = alignment;                                 
 2008f88:	f6 26 20 30 	st  %i3, [ %i0 + 0x30 ]                        
      control->handler_arg = handler_arg;                             
 2008f8c:	fa 26 20 38 	st  %i5, [ %i0 + 0x38 ]                        
      control->extend_descriptors = extend_descriptors;               
 2008f90:	f8 26 20 34 	st  %i4, [ %i0 + 0x34 ]                        
                                                                      
      first = get_chunk(control);                                     
 2008f94:	7f ff ff 87 	call  2008db0 <get_chunk>                      
 2008f98:	90 10 00 18 	mov  %i0, %o0                                  
        first->begin = aligned_begin;                                 
        first->size = aligned_end - aligned_begin;                    
        add_to_chain(free_chain, first);                              
        insert_into_tree(chunk_tree, first);                          
      } else {                                                        
        sc = RTEMS_NO_MEMORY;                                         
 2008f9c:	82 10 20 1a 	mov  0x1a, %g1                                 
      control->alignment = alignment;                                 
      control->handler_arg = handler_arg;                             
      control->extend_descriptors = extend_descriptors;               
                                                                      
      first = get_chunk(control);                                     
      if (first != NULL) {                                            
 2008fa0:	80 a2 20 00 	cmp  %o0, 0                                    
 2008fa4:	02 bf ff c7 	be  2008ec0 <rtems_rbheap_initialize+0x10>     
 2008fa8:	92 10 00 08 	mov  %o0, %o1                                  
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
  before_node           = after_node->next;                           
 2008fac:	c2 06 00 00 	ld  [ %i0 ], %g1                               
        first->begin = aligned_begin;                                 
        first->size = aligned_end - aligned_begin;                    
 2008fb0:	b4 26 80 10 	sub  %i2, %l0, %i2                             
      control->handler_arg = handler_arg;                             
      control->extend_descriptors = extend_descriptors;               
                                                                      
      first = get_chunk(control);                                     
      if (first != NULL) {                                            
        first->begin = aligned_begin;                                 
 2008fb4:	e0 22 20 18 	st  %l0, [ %o0 + 0x18 ]                        
        first->size = aligned_end - aligned_begin;                    
 2008fb8:	f4 22 20 1c 	st  %i2, [ %o0 + 0x1c ]                        
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  Chain_Node *before_node;                                            
                                                                      
  the_node->previous    = after_node;                                 
 2008fbc:	f0 22 20 04 	st  %i0, [ %o0 + 4 ]                           
  before_node           = after_node->next;                           
  after_node->next      = the_node;                                   
 2008fc0:	d0 26 00 00 	st  %o0, [ %i0 ]                               
  the_node->next        = before_node;                                
 2008fc4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  before_node->previous = the_node;                                   
 2008fc8:	d0 20 60 04 	st  %o0, [ %g1 + 4 ]                           
static void insert_into_tree(                                         
  rtems_rbtree_control *tree,                                         
  rtems_rbheap_chunk *chunk                                           
)                                                                     
{                                                                     
  _RBTree_Insert_unprotected(tree, &chunk->tree_node);                
 2008fcc:	92 02 60 08 	add  %o1, 8, %o1                               
 2008fd0:	40 00 07 4e 	call  200ad08 <_RBTree_Insert_unprotected>     
 2008fd4:	90 06 20 18 	add  %i0, 0x18, %o0                            
  uintptr_t alignment,                                                
  rtems_rbheap_extend_descriptors extend_descriptors,                 
  void *handler_arg                                                   
)                                                                     
{                                                                     
  rtems_status_code sc = RTEMS_SUCCESSFUL;                            
 2008fd8:	10 bf ff ba 	b  2008ec0 <rtems_rbheap_initialize+0x10>      
 2008fdc:	82 10 20 00 	clr  %g1                                       
                                                                      

02048008 <rtems_rfs_bitmap_create_search>: int rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control) {
 2048008:	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);                     
 204800c:	90 10 00 18 	mov  %i0, %o0                                  
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_create_search (rtems_rfs_bitmap_control* control)    
{                                                                     
 2048010:	ba 10 00 18 	mov  %i0, %i5                                  
  rtems_rfs_bitmap_map map;                                           
  size_t               size;                                          
  rtems_rfs_bitmap_bit bit;                                           
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2048014:	7f ff fe 32 	call  20478dc <rtems_rfs_bitmap_load_map>      
 2048018:	92 07 bf fc 	add  %fp, -4, %o1                              
  if (rc > 0)                                                         
 204801c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2048020:	24 80 00 04 	ble,a   2048030 <rtems_rfs_bitmap_create_search+0x28><== ALWAYS TAKEN
 2048024:	de 07 60 14 	ld  [ %i5 + 0x14 ], %o7                        
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2048028:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204802c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
 2048030:	f8 07 60 0c 	ld  [ %i5 + 0xc ], %i4                         
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
 2048034:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
 2048038:	82 10 3f ff 	mov  -1, %g1                                   
 204803c:	c2 23 c0 00 	st  %g1, [ %o7 ]                               
 2048040:	f4 07 bf fc 	ld  [ %fp + -4 ], %i2                          
    return rc;                                                        
                                                                      
  control->free = 0;                                                  
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
 2048044:	b2 10 20 00 	clr  %i1                                       
                                                                      
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);                 
 2048048:	98 10 20 20 	mov  0x20, %o4                                 
 204804c:	9a 10 3f ff 	mov  -1, %o5                                   
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
 2048050:	80 a7 20 00 	cmp  %i4, 0                                    
 2048054:	02 80 00 20 	be  20480d4 <rtems_rfs_bitmap_create_search+0xcc><== NEVER TAKEN
 2048058:	b6 10 20 01 	mov  1, %i3                                    
  {                                                                   
    rtems_rfs_bitmap_element bits;                                    
    int                      available;                               
    if (size < rtems_rfs_bitmap_element_bits ())                      
 204805c:	80 a7 20 1f 	cmp  %i4, 0x1f                                 
 2048060:	38 80 00 1f 	bgu,a   20480dc <rtems_rfs_bitmap_create_search+0xd4>
 2048064:	c6 06 80 00 	ld  [ %i2 ], %g3                               
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
 2048068:	c2 06 80 00 	ld  [ %i2 ], %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);                 
 204806c:	86 23 00 1c 	sub  %o4, %i4, %g3                             
    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;                                               
 2048070:	88 10 00 1c 	mov  %i4, %g4                                  
                                                                      
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);                 
 2048074:	87 33 40 03 	srl  %o5, %g3, %g3                             
    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;                                               
 2048078:	b0 10 00 1c 	mov  %i4, %i0                                  
{                                                                     
  /*                                                                  
   * Use the normal bit operators because we do not change the bits just merge
   * the 2 separate parts.                                            
   */                                                                 
  bits1 &= mask;                                                      
 204807c:	86 08 c0 01 	and  %g3, %g1, %g3                             
    {                                                                 
      bits      = *map;                                               
      available = rtems_rfs_bitmap_element_bits ();                   
    }                                                                 
                                                                      
    if (rtems_rfs_bitmap_match (bits, RTEMS_RFS_BITMAP_ELEMENT_SET))  
 2048080:	80 a0 e0 00 	cmp  %g3, 0                                    
 2048084:	02 80 00 0e 	be  20480bc <rtems_rfs_bitmap_create_search+0xb4>
 2048088:	80 a6 60 20 	cmp  %i1, 0x20                                 
 204808c:	82 10 20 00 	clr  %g1                                       
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2048090:	85 2e c0 01 	sll  %i3, %g1, %g2                             
      rtems_rfs_bitmap_set (*search_map, bit);                        
    else                                                              
    {                                                                 
      int b;                                                          
      for (b = 0; b < available; b++)                                 
        if (!rtems_rfs_bitmap_test (bits, b))                         
 2048094:	80 88 80 03 	btst  %g2, %g3                                 
 2048098:	02 80 00 05 	be  20480ac <rtems_rfs_bitmap_create_search+0xa4>
 204809c:	82 00 60 01 	inc  %g1                                       
          control->free++;                                            
 20480a0:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
 20480a4:	84 00 a0 01 	inc  %g2                                       
 20480a8:	c4 27 60 10 	st  %g2, [ %i5 + 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++)                                 
 20480ac:	80 a1 00 01 	cmp  %g4, %g1                                  
 20480b0:	14 bf ff f9 	bg  2048094 <rtems_rfs_bitmap_create_search+0x8c>
 20480b4:	85 2e c0 01 	sll  %i3, %g1, %g2                             
          control->free++;                                            
    }                                                                 
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
 20480b8:	80 a6 60 20 	cmp  %i1, 0x20                                 
 20480bc:	02 80 00 0b 	be  20480e8 <rtems_rfs_bitmap_create_search+0xe0><== NEVER TAKEN
 20480c0:	b8 27 00 18 	sub  %i4, %i0, %i4                             
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
    }                                                                 
    else                                                              
      bit++;                                                          
 20480c4:	b2 06 60 01 	inc  %i1                                       
  search_map = control->search_bits;                                  
  size = control->size;                                               
  bit = 0;                                                            
                                                                      
  *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                       
  while (size)                                                        
 20480c8:	80 a7 20 00 	cmp  %i4, 0                                    
 20480cc:	12 bf ff e4 	bne  204805c <rtems_rfs_bitmap_create_search+0x54>
 20480d0:	b4 06 a0 04 	add  %i2, 4, %i2                               
    else                                                              
      bit++;                                                          
    map++;                                                            
  }                                                                   
                                                                      
  return 0;                                                           
 20480d4:	81 c7 e0 08 	ret                                            
 20480d8:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                     rtems_rfs_bitmap_mask_section (0, size));
      available = size;                                               
    }                                                                 
    else                                                              
    {                                                                 
      bits      = *map;                                               
 20480dc:	b0 10 20 20 	mov  0x20, %i0                                 
      available = rtems_rfs_bitmap_element_bits ();                   
 20480e0:	10 bf ff e8 	b  2048080 <rtems_rfs_bitmap_create_search+0x78>
 20480e4:	88 10 20 20 	mov  0x20, %g4                                 
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
 20480e8:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
                                                                      
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
 20480ec:	b2 10 20 00 	clr  %i1                                       <== NOT EXECUTED
      search_map++;                                                   
      *search_map = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                   
 20480f0:	c2 23 e0 04 	st  %g1, [ %o7 + 4 ]                           <== NOT EXECUTED
    size -= available;                                                
                                                                      
    if (bit == rtems_rfs_bitmap_element_bits ())                      
    {                                                                 
      bit = 0;                                                        
      search_map++;                                                   
 20480f4:	10 bf ff f5 	b  20480c8 <rtems_rfs_bitmap_create_search+0xc0><== NOT EXECUTED
 20480f8:	9e 03 e0 04 	add  %o7, 4, %o7                               <== NOT EXECUTED
                                                                      

020478dc <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) {
 20478dc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
 20478e0:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 * @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)             
{                                                                     
 20478e4:	ba 10 00 18 	mov  %i0, %i5                                  
  int rc;                                                             
                                                                      
  if (!control->buffer)                                               
 20478e8:	80 a0 60 00 	cmp  %g1, 0                                    
 20478ec:	02 80 00 0f 	be  2047928 <rtems_rfs_bitmap_load_map+0x4c>   <== NEVER TAKEN
 20478f0:	b0 10 20 06 	mov  6, %i0                                    
    return ENXIO;                                                     
                                                                      
  *map = NULL;                                                        
 20478f4:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  rc = rtems_rfs_buffer_handle_request (control->fs,                  
 20478f8:	d4 07 60 08 	ld  [ %i5 + 8 ], %o2                           
 20478fc:	d0 07 60 04 	ld  [ %i5 + 4 ], %o0                           
 2047900:	d2 07 40 00 	ld  [ %i5 ], %o1                               
 2047904:	7f ff d4 07 	call  203c920 <rtems_rfs_buffer_handle_request>
 2047908:	96 10 20 01 	mov  1, %o3                                    
                                        control->buffer,              
                                        control->block,               
                                        true);                        
  if (rc)                                                             
 204790c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2047910:	12 80 00 06 	bne  2047928 <rtems_rfs_bitmap_load_map+0x4c>  <== NEVER TAKEN
 2047914:	01 00 00 00 	nop                                            
    return rc;                                                        
                                                                      
  *map = rtems_rfs_buffer_data (control->buffer);                     
 2047918:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 204791c:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 2047920:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
 2047924:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  return 0;                                                           
}                                                                     
 2047928:	81 c7 e0 08 	ret                                            
 204792c:	81 e8 00 00 	restore                                        
                                                                      

02047f20 <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) {
 2047f20:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int                  rc = 0;                                        
                                                                      
  /*                                                                  
   * By default we assume the allocation failed.                      
   */                                                                 
  *allocated = false;                                                 
 2047f24:	c0 2e 80 00 	clrb  [ %i2 ]                                  
   * of bits from the original seed above then below. That is search from the
   * seed up then from the seed down a window number of bits, then repeat the
   * process from the window distance from the seed, again above then 
   * below. Keep moving out until all bits have been searched.        
   */                                                                 
  upper_seed = seed;                                                  
 2047f28:	ba 10 00 19 	mov  %i1, %i5                                  
   * 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))          
 2047f2c:	80 a7 60 00 	cmp  %i5, 0                                    
 2047f30:	06 80 00 1f 	bl  2047fac <rtems_rfs_bitmap_map_alloc+0x8c>  <== NEVER TAKEN
 2047f34:	80 a6 60 00 	cmp  %i1, 0                                    
 2047f38:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2047f3c:	80 a7 40 01 	cmp  %i5, %g1                                  
 2047f40:	1a 80 00 1b 	bcc  2047fac <rtems_rfs_bitmap_map_alloc+0x8c> 
 2047f44:	80 a6 60 00 	cmp  %i1, 0                                    
    /*                                                                
     * Search up first so bits allocated in succession are grouped together.
     */                                                               
    if (upper_seed < control->size)                                   
    {                                                                 
      *bit = upper_seed;                                              
 2047f48:	fa 26 c0 00 	st  %i5, [ %i3 ]                               
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
 2047f4c:	90 10 00 18 	mov  %i0, %o0                                  
 2047f50:	92 10 00 1b 	mov  %i3, %o1                                  
 2047f54:	94 10 00 1a 	mov  %i2, %o2                                  
 2047f58:	7f ff fe 76 	call  2047930 <rtems_rfs_search_map_for_clear_bit.constprop.1>
 2047f5c:	96 10 20 01 	mov  1, %o3                                    
                                               window, 1);            
      if ((rc > 0) || *allocated)                                     
 2047f60:	80 a2 20 00 	cmp  %o0, 0                                    
 2047f64:	14 80 00 27 	bg  2048000 <rtems_rfs_bitmap_map_alloc+0xe0>  <== NEVER TAKEN
 2047f68:	01 00 00 00 	nop                                            
 2047f6c:	c2 0e 80 00 	ldub  [ %i2 ], %g1                             
 2047f70:	80 a0 60 00 	cmp  %g1, 0                                    
 2047f74:	12 80 00 23 	bne  2048000 <rtems_rfs_bitmap_map_alloc+0xe0> 
 2047f78:	80 a6 60 00 	cmp  %i1, 0                                    
        break;                                                        
    }                                                                 
                                                                      
    if (lower_seed >= 0)                                              
 2047f7c:	36 80 00 15 	bge,a   2047fd0 <rtems_rfs_bitmap_map_alloc+0xb0><== ALWAYS TAKEN
 2047f80:	f2 26 c0 00 	st  %i1, [ %i3 ]                               
                                                                      
    /*                                                                
     * 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)                                   
 2047f84:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         <== NOT EXECUTED
 2047f88:	80 a0 40 1d 	cmp  %g1, %i5                                  
 2047f8c:	38 80 00 02 	bgu,a   2047f94 <rtems_rfs_bitmap_map_alloc+0x74><== ALWAYS TAKEN
 2047f90:	ba 07 68 00 	add  %i5, 0x800, %i5                           
      upper_seed += window;                                           
    if (lower_seed >= 0)                                              
 2047f94:	80 a6 60 00 	cmp  %i1, 0                                    
 2047f98:	06 bf ff e5 	bl  2047f2c <rtems_rfs_bitmap_map_alloc+0xc>   <== NEVER TAKEN
 2047f9c:	80 a7 60 00 	cmp  %i5, 0                                    
   * 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))          
 2047fa0:	16 bf ff e6 	bge  2047f38 <rtems_rfs_bitmap_map_alloc+0x18> <== ALWAYS TAKEN
 2047fa4:	b2 06 78 00 	add  %i1, -2048, %i1                           
         || ((lower_seed >= 0) && (lower_seed < control->size)))      
 2047fa8:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 2047fac:	06 80 00 15 	bl  2048000 <rtems_rfs_bitmap_map_alloc+0xe0>  
 2047fb0:	01 00 00 00 	nop                                            
 2047fb4:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
 2047fb8:	80 a6 40 01 	cmp  %i1, %g1                                  
 2047fbc:	1a 80 00 11 	bcc  2048000 <rtems_rfs_bitmap_map_alloc+0xe0> <== ALWAYS TAKEN
 2047fc0:	80 a0 40 1d 	cmp  %g1, %i5                                  
  {                                                                   
    /*                                                                
     * Search up first so bits allocated in succession are grouped together.
     */                                                               
    if (upper_seed < control->size)                                   
 2047fc4:	38 bf ff e2 	bgu,a   2047f4c <rtems_rfs_bitmap_map_alloc+0x2c><== NOT EXECUTED
 2047fc8:	fa 26 c0 00 	st  %i5, [ %i3 ]                               <== NOT EXECUTED
        break;                                                        
    }                                                                 
                                                                      
    if (lower_seed >= 0)                                              
    {                                                                 
      *bit = lower_seed;                                              
 2047fcc:	f2 26 c0 00 	st  %i1, [ %i3 ]                               <== NOT EXECUTED
      rc = rtems_rfs_search_map_for_clear_bit (control, bit, allocated,
 2047fd0:	90 10 00 18 	mov  %i0, %o0                                  
 2047fd4:	92 10 00 1b 	mov  %i3, %o1                                  
 2047fd8:	94 10 00 1a 	mov  %i2, %o2                                  
 2047fdc:	7f ff fe 55 	call  2047930 <rtems_rfs_search_map_for_clear_bit.constprop.1>
 2047fe0:	96 10 3f ff 	mov  -1, %o3                                   
                                               window, -1);           
      if ((rc > 0) || *allocated)                                     
 2047fe4:	80 a2 20 00 	cmp  %o0, 0                                    
 2047fe8:	14 80 00 06 	bg  2048000 <rtems_rfs_bitmap_map_alloc+0xe0>  <== NEVER TAKEN
 2047fec:	01 00 00 00 	nop                                            
 2047ff0:	c2 0e 80 00 	ldub  [ %i2 ], %g1                             
 2047ff4:	80 a0 60 00 	cmp  %g1, 0                                    
 2047ff8:	22 bf ff e4 	be,a   2047f88 <rtems_rfs_bitmap_map_alloc+0x68>
 2047ffc:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
    if (lower_seed >= 0)                                              
      lower_seed -= window;                                           
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2048000:	81 c7 e0 08 	ret                                            
 2048004:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02047cd0 <rtems_rfs_bitmap_map_clear>: } int rtems_rfs_bitmap_map_clear (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
 2047cd0:	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);                     
 2047cd4:	92 07 bf fc 	add  %fp, -4, %o1                              
 2047cd8:	7f ff ff 01 	call  20478dc <rtems_rfs_bitmap_load_map>      
 2047cdc:	90 10 00 18 	mov  %i0, %o0                                  
  if (rc > 0)                                                         
 2047ce0:	80 a2 20 00 	cmp  %o0, 0                                    
 2047ce4:	24 80 00 04 	ble,a   2047cf4 <rtems_rfs_bitmap_map_clear+0x24><== ALWAYS TAKEN
 2047ce8:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
  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);                      
  control->free++;                                                    
  return 0;                                                           
}                                                                     
 2047cec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047cf0:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
  int                  offset;                                        
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
 2047cf4:	80 a6 40 01 	cmp  %i1, %g1                                  
 2047cf8:	1a bf ff fd 	bcc  2047cec <rtems_rfs_bitmap_map_clear+0x1c> <== NEVER TAKEN
 2047cfc:	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);
 2047d00:	f8 07 bf fc 	ld  [ %fp + -4 ], %i4                          
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map        = control->search_bits;                           
 2047d04:	c6 06 20 14 	ld  [ %i0 + 0x14 ], %g3                        
  index             = rtems_rfs_bitmap_map_index (bit);               
 2047d08:	89 3e 60 05 	sra  %i1, 5, %g4                               
  offset            = rtems_rfs_bitmap_map_offset (bit);              
  map[index]        = rtems_rfs_bitmap_clear (map[index], 1 << offset);
 2047d0c:	bb 29 20 02 	sll  %g4, 2, %i5                               
 */                                                                   
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);                  
 2047d10:	f6 07 00 1d 	ld  [ %i4 + %i5 ], %i3                         
  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);
 2047d14:	82 10 20 01 	mov  1, %g1                                    
  bit               = index;                                          
  index             = rtems_rfs_bitmap_map_index (bit);               
 2047d18:	85 3e 60 0a 	sra  %i1, 0xa, %g2                             
  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);
 2047d1c:	b3 28 40 19 	sll  %g1, %i1, %i1                             
  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);
 2047d20:	85 28 a0 02 	sll  %g2, 2, %g2                               
 */                                                                   
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);                  
 2047d24:	b2 16 c0 19 	or  %i3, %i1, %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);
 2047d28:	f2 27 00 1d 	st  %i1, [ %i4 + %i5 ]                         
 */                                                                   
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);                  
 2047d2c:	f6 00 c0 02 	ld  [ %g3 + %g2 ], %i3                         
  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);                      
 2047d30:	f8 06 00 00 	ld  [ %i0 ], %i4                               
  control->free++;                                                    
 2047d34:	fa 06 20 10 	ld  [ %i0 + 0x10 ], %i5                        
  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);
 2047d38:	89 28 40 04 	sll  %g1, %g4, %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);                  
 2047d3c:	88 16 c0 04 	or  %i3, %g4, %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);
 2047d40:	c8 20 c0 02 	st  %g4, [ %g3 + %g2 ]                         
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
 2047d44:	c2 2f 00 00 	stb  %g1, [ %i4 ]                              
  control->free++;                                                    
  return 0;                                                           
 2047d48:	90 10 20 00 	clr  %o0                                       
  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);                      
  control->free++;                                                    
 2047d4c:	82 07 60 01 	add  %i5, 1, %g1                               
 2047d50:	c2 26 20 10 	st  %g1, [ %i0 + 0x10 ]                        
  return 0;                                                           
}                                                                     
 2047d54:	81 c7 e0 08 	ret                                            
 2047d58:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02047e5c <rtems_rfs_bitmap_map_clear_all>: int rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control) {
 2047e5c:	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);                     
 2047e60:	90 10 00 18 	mov  %i0, %o0                                  
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_clear_all (rtems_rfs_bitmap_control* control)    
{                                                                     
 2047e64:	b8 10 00 18 	mov  %i0, %i4                                  
  rtems_rfs_bitmap_bit last_search_bit;                               
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2047e68:	7f ff fe 9d 	call  20478dc <rtems_rfs_bitmap_load_map>      
 2047e6c:	92 07 bf fc 	add  %fp, -4, %o1                              
  if (rc > 0)                                                         
 2047e70:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2047e74:	24 80 00 04 	ble,a   2047e84 <rtems_rfs_bitmap_map_clear_all+0x28><== ALWAYS TAKEN
 2047e78:	c6 07 20 0c 	ld  [ %i4 + 0xc ], %g3                         
                            rtems_rfs_bitmap_mask (last_search_bit)); 
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
                                                                      
  return 0;                                                           
}                                                                     
 2047e7c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047e80:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 2047e84:	fa 07 bf fc 	ld  [ %fp + -4 ], %i5                          
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2047e88:	86 00 ff ff 	add  %g3, -1, %g3                              
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
 2047e8c:	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);               
 2047e90:	87 30 e0 05 	srl  %g3, 5, %g3                               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
 2047e94:	82 10 20 00 	clr  %g1                                       
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2047e98:	88 00 e0 01 	add  %g3, 1, %g4                               
                                                                      
  control->free = elements;                                           
 2047e9c:	c8 27 20 10 	st  %g4, [ %i4 + 0x10 ]                        
                                                                      
  for (e = 0; e < elements; e++)                                      
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;                          
 2047ea0:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2047ea4:	b6 10 3f ff 	mov  -1, %i3                                   
 2047ea8:	f6 27 40 02 	st  %i3, [ %i5 + %g2 ]                         
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = elements;                                           
                                                                      
  for (e = 0; e < elements; e++)                                      
 2047eac:	82 00 60 01 	inc  %g1                                       
 2047eb0:	80 a0 40 04 	cmp  %g1, %g4                                  
 2047eb4:	12 bf ff fb 	bne  2047ea0 <rtems_rfs_bitmap_map_clear_all+0x44>
 2047eb8:	84 10 00 01 	mov  %g1, %g2                                  
   * 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)                                           
 2047ebc:	82 88 60 1f 	andcc  %g1, 0x1f, %g1                          
 2047ec0:	02 80 00 04 	be  2047ed0 <rtems_rfs_bitmap_map_clear_all+0x74>
 2047ec4:	ba 10 3f ff 	mov  -1, %i5                                   
 2047ec8:	82 20 00 01 	neg  %g1                                       
 2047ecc:	bb 37 40 01 	srl  %i5, %g1, %i5                             
    last_search_bit = rtems_rfs_bitmap_element_bits ();               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
 2047ed0:	87 30 e0 05 	srl  %g3, 5, %g3                               
 2047ed4:	c8 07 20 14 	ld  [ %i4 + 0x14 ], %g4                        
                                                                      
  for (e = 0; e < (elements - 1); e++)                                
 2047ed8:	84 10 20 00 	clr  %g2                                       
 2047edc:	80 a0 e0 00 	cmp  %g3, 0                                    
 2047ee0:	02 80 00 09 	be  2047f04 <rtems_rfs_bitmap_map_clear_all+0xa8><== ALWAYS TAKEN
 2047ee4:	82 10 20 00 	clr  %g1                                       
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_CLEAR;         
 2047ee8:	85 28 a0 02 	sll  %g2, 2, %g2                               <== NOT EXECUTED
 2047eec:	b6 10 3f ff 	mov  -1, %i3                                   <== NOT EXECUTED
 2047ef0:	f6 21 00 02 	st  %i3, [ %g4 + %g2 ]                         <== 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++)                                
 2047ef4:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2047ef8:	80 a0 40 03 	cmp  %g1, %g3                                  <== NOT EXECUTED
 2047efc:	12 bf ff fb 	bne  2047ee8 <rtems_rfs_bitmap_map_clear_all+0x8c><== NOT EXECUTED
 2047f00:	84 10 00 01 	mov  %g1, %g2                                  <== NOT EXECUTED
  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);                      
 2047f04:	c2 07 00 00 	ld  [ %i4 ], %g1                               
  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] =                                
 2047f08:	87 28 e0 02 	sll  %g3, 2, %g3                               
 2047f0c:	fa 21 00 03 	st  %i5, [ %g4 + %g3 ]                         
    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);                      
 2047f10:	84 10 20 01 	mov  1, %g2                                    
 2047f14:	c4 28 40 00 	stb  %g2, [ %g1 ]                              
                                                                      
  return 0;                                                           
}                                                                     
 2047f18:	81 c7 e0 08 	ret                                            
 2047f1c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      

02047c40 <rtems_rfs_bitmap_map_set>: int rtems_rfs_bitmap_map_set (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit) {
 2047c40:	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);                     
 2047c44:	92 07 bf fc 	add  %fp, -4, %o1                              
 2047c48:	7f ff ff 25 	call  20478dc <rtems_rfs_bitmap_load_map>      
 2047c4c:	90 10 00 18 	mov  %i0, %o0                                  
  if (rc > 0)                                                         
 2047c50:	80 a2 20 00 	cmp  %o0, 0                                    
 2047c54:	24 80 00 04 	ble,a   2047c64 <rtems_rfs_bitmap_map_set+0x24><== ALWAYS TAKEN
 2047c58:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
    search_map[index] = rtems_rfs_bitmap_set (search_map[index], 1 << offset);
    control->free--;                                                  
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
  }                                                                   
  return 0;                                                           
}                                                                     
 2047c5c:	81 c7 e0 08 	ret                                            
 2047c60:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  int                  offset;                                        
  int                 rc;                                             
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
 2047c64:	80 a6 40 01 	cmp  %i1, %g1                                  
 2047c68:	1a bf ff fd 	bcc  2047c5c <rtems_rfs_bitmap_map_set+0x1c>   <== NEVER TAKEN
 2047c6c:	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);        
 2047c70:	c8 07 bf fc 	ld  [ %fp + -4 ], %g4                          
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
  index      = rtems_rfs_bitmap_map_index (bit);                      
 2047c74:	bb 3e 60 05 	sra  %i1, 5, %i5                               
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
 2047c78:	87 2f 60 02 	sll  %i5, 2, %g3                               
 */                                                                   
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);                    
 2047c7c:	c4 01 00 03 	ld  [ %g4 + %g3 ], %g2                         
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
    return EINVAL;                                                    
  search_map = control->search_bits;                                  
 2047c80:	f8 06 20 14 	ld  [ %i0 + 0x14 ], %i4                        
  index      = rtems_rfs_bitmap_map_index (bit);                      
  offset     = rtems_rfs_bitmap_map_offset (bit);                     
  map[index] = rtems_rfs_bitmap_set (map[index], 1 << offset);        
 2047c84:	82 10 20 01 	mov  1, %g1                                    
 2047c88:	b7 28 40 19 	sll  %g1, %i1, %i3                             
 */                                                                   
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);                    
 2047c8c:	84 28 80 1b 	andn  %g2, %i3, %g2                            
  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);        
 2047c90:	c4 21 00 03 	st  %g2, [ %g4 + %g3 ]                         
  if (rtems_rfs_bitmap_match(map[index], RTEMS_RFS_BITMAP_ELEMENT_SET))
 2047c94:	80 a0 a0 00 	cmp  %g2, 0                                    
 2047c98:	12 bf ff f1 	bne  2047c5c <rtems_rfs_bitmap_map_set+0x1c>   <== ALWAYS TAKEN
 2047c9c:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    bit = index;                                                      
    index  = rtems_rfs_bitmap_map_index (bit);                        
 2047ca0:	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);
 2047ca4:	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);                    
 2047ca8:	c8 07 00 19 	ld  [ %i4 + %i1 ], %g4                         <== NOT EXECUTED
  {                                                                   
    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);
    control->free--;                                                  
 2047cac:	c6 06 20 10 	ld  [ %i0 + 0x10 ], %g3                        <== NOT EXECUTED
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
 2047cb0:	c4 06 00 00 	ld  [ %i0 ], %g2                               <== 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);
 2047cb4:	bb 28 40 1d 	sll  %g1, %i5, %i5                             <== 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);                    
 2047cb8:	ba 29 00 1d 	andn  %g4, %i5, %i5                            <== 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);
 2047cbc:	fa 27 00 19 	st  %i5, [ %i4 + %i1 ]                         <== NOT EXECUTED
    control->free--;                                                  
 2047cc0:	86 00 ff ff 	add  %g3, -1, %g3                              <== NOT EXECUTED
 2047cc4:	c6 26 20 10 	st  %g3, [ %i0 + 0x10 ]                        <== NOT EXECUTED
    rtems_rfs_buffer_mark_dirty (control->buffer);                    
 2047cc8:	10 bf ff e5 	b  2047c5c <rtems_rfs_bitmap_map_set+0x1c>     <== NOT EXECUTED
 2047ccc:	c2 28 80 00 	stb  %g1, [ %g2 ]                              <== NOT EXECUTED
                                                                      

02047dc0 <rtems_rfs_bitmap_map_set_all>: int rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control) {
 2047dc0:	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);                     
 2047dc4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control)      
{                                                                     
 2047dc8:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
  rtems_rfs_bitmap_map map;                                           
  size_t               elements;                                      
  int                  e;                                             
  int                  rc;                                            
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2047dcc:	7f ff fe c4 	call  20478dc <rtems_rfs_bitmap_load_map>      <== NOT EXECUTED
 2047dd0:	92 07 bf fc 	add  %fp, -4, %o1                              <== NOT EXECUTED
  if (rc > 0)                                                         
 2047dd4:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 2047dd8:	24 80 00 04 	ble,a   2047de8 <rtems_rfs_bitmap_map_set_all+0x28><== NOT EXECUTED
 2047ddc:	f8 07 60 0c 	ld  [ %i5 + 0xc ], %i4                         <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
                                                                      
  return 0;                                                           
}                                                                     
 2047de0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047de4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 2047de8:	c8 07 bf fc 	ld  [ %fp + -4 ], %g4                          <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2047dec:	b8 07 3f ff 	add  %i4, -1, %i4                              <== NOT EXECUTED
                                                                      
  control->free = 0;                                                  
 2047df0:	c0 27 60 10 	clr  [ %i5 + 0x10 ]                            <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
 2047df4:	b9 37 20 05 	srl  %i4, 5, %i4                               <== NOT EXECUTED
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
 2047df8:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control)      
 2047dfc:	86 07 20 01 	add  %i4, 1, %g3                               <== NOT EXECUTED
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
 2047e00:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
 2047e04:	85 28 a0 02 	sll  %g2, 2, %g2                               <== NOT EXECUTED
 2047e08:	c0 21 00 02 	clr  [ %g4 + %g2 ]                             <== NOT EXECUTED
                                                                      
  elements = rtems_rfs_bitmap_elements (control->size);               
                                                                      
  control->free = 0;                                                  
                                                                      
  for (e = 0; e < elements; e++)                                      
 2047e0c:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2047e10:	80 a0 40 03 	cmp  %g1, %g3                                  <== NOT EXECUTED
 2047e14:	12 bf ff fc 	bne  2047e04 <rtems_rfs_bitmap_map_set_all+0x44><== NOT EXECUTED
 2047e18:	84 10 00 01 	mov  %g1, %g2                                  <== NOT EXECUTED
 2047e1c:	c8 07 60 14 	ld  [ %i5 + 0x14 ], %g4                        <== NOT EXECUTED
    map[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;                            
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
 2047e20:	87 37 20 05 	srl  %i4, 5, %g3                               <== NOT EXECUTED
                                                                      
  for (e = 0; e < elements; e++)                                      
 2047e24:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
  return 0;                                                           
}                                                                     
                                                                      
int                                                                   
rtems_rfs_bitmap_map_set_all (rtems_rfs_bitmap_control* control)      
 2047e28:	86 00 e0 01 	inc  %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++)                                      
 2047e2c:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
 2047e30:	85 28 a0 02 	sll  %g2, 2, %g2                               <== NOT EXECUTED
 2047e34:	c0 21 00 02 	clr  [ %g4 + %g2 ]                             <== 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++)                                      
 2047e38:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
 2047e3c:	80 a0 40 03 	cmp  %g1, %g3                                  <== NOT EXECUTED
 2047e40:	12 bf ff fc 	bne  2047e30 <rtems_rfs_bitmap_map_set_all+0x70><== NOT EXECUTED
 2047e44:	84 10 00 01 	mov  %g1, %g2                                  <== NOT EXECUTED
    control->search_bits[e] = RTEMS_RFS_BITMAP_ELEMENT_SET;           
                                                                      
  rtems_rfs_buffer_mark_dirty (control->buffer);                      
 2047e48:	c2 07 40 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
 2047e4c:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 2047e50:	c4 28 40 00 	stb  %g2, [ %g1 ]                              <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 2047e54:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047e58:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

02047d5c <rtems_rfs_bitmap_map_test>: int rtems_rfs_bitmap_map_test (rtems_rfs_bitmap_control* control, rtems_rfs_bitmap_bit bit, bool* state) {
 2047d5c:	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);                     
 2047d60:	92 07 bf fc 	add  %fp, -4, %o1                              <== NOT EXECUTED
 2047d64:	7f ff fe de 	call  20478dc <rtems_rfs_bitmap_load_map>      <== NOT EXECUTED
 2047d68:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  if (rc > 0)                                                         
 2047d6c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2047d70:	24 80 00 04 	ble,a   2047d80 <rtems_rfs_bitmap_map_test+0x24><== NOT EXECUTED
 2047d74:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         <== 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;                                                           
}                                                                     
 2047d78:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047d7c:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
  int                  index;                                         
  int                  rc;                                            
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
  if (rc > 0)                                                         
    return rc;                                                        
  if (bit >= control->size)                                           
 2047d80:	80 a6 40 01 	cmp  %i1, %g1                                  <== NOT EXECUTED
 2047d84:	1a bf ff fd 	bcc  2047d78 <rtems_rfs_bitmap_map_test+0x1c>  <== NOT EXECUTED
 2047d88:	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);                     
 2047d8c:	c4 07 bf fc 	ld  [ %fp + -4 ], %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);                           
 2047d90:	83 3e 60 05 	sra  %i1, 5, %g1                               <== NOT EXECUTED
  *state = rtems_rfs_bitmap_test (map[index], bit);                   
 2047d94:	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);                     
 2047d98:	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;                                                           
 2047d9c:	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);                     
 2047da0:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 2047da4:	b3 28 80 19 	sll  %g2, %i1, %i1                             <== NOT EXECUTED
 2047da8:	b2 0e 40 01 	and  %i1, %g1, %i1                             <== NOT EXECUTED
 2047dac:	80 a0 00 19 	cmp  %g0, %i1                                  <== NOT EXECUTED
 2047db0:	82 60 3f ff 	subx  %g0, -1, %g1                             <== NOT EXECUTED
 2047db4:	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;                                                           
}                                                                     
 2047db8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047dbc:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

02047c08 <rtems_rfs_bitmap_mask>: 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);
 2047c08:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
 2047c0c:	90 20 00 08 	neg  %o0                                       <== NOT EXECUTED
  return mask;                                                        
}                                                                     
 2047c10:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2047c14:	91 30 40 08 	srl  %g1, %o0, %o0                             <== NOT EXECUTED
                                                                      

02047c18 <rtems_rfs_bitmap_mask_section>: rtems_rfs_bitmap_element rtems_rfs_bitmap_mask_section (unsigned int start, unsigned int end) {
 2047c18:	82 10 00 08 	mov  %o0, %g1                                  <== NOT EXECUTED
  rtems_rfs_bitmap_element mask = 0;                                  
  if (end > start)                                                    
 2047c1c:	80 a2 40 01 	cmp  %o1, %g1                                  <== NOT EXECUTED
 2047c20:	08 80 00 06 	bleu  2047c38 <rtems_rfs_bitmap_mask_section+0x20><== NOT EXECUTED
 2047c24:	90 10 20 00 	clr  %o0                                       <== 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);                 
 2047c28:	92 20 40 09 	sub  %g1, %o1, %o1                             <== NOT EXECUTED
 2047c2c:	90 10 3f ff 	mov  -1, %o0                                   <== NOT EXECUTED
 2047c30:	91 32 00 09 	srl  %o0, %o1, %o0                             <== NOT EXECUTED
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;              
 2047c34:	91 2a 00 01 	sll  %o0, %g1, %o0                             <== NOT EXECUTED
  return mask;                                                        
}                                                                     
 2047c38:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
                                                                      

020480fc <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) {
 20480fc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  size_t elements = rtems_rfs_bitmap_elements (size);                 
 2048100:	82 06 ff ff 	add  %i3, -1, %g1                              
  control->buffer = buffer;                                           
  control->fs = fs;                                                   
  control->block = block;                                             
  control->size = size;                                               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
 2048104:	83 30 60 0a 	srl  %g1, 0xa, %g1                             
                       size_t                    size,                
                       rtems_rfs_buffer_block    block)               
{                                                                     
  size_t elements = rtems_rfs_bitmap_elements (size);                 
                                                                      
  control->buffer = buffer;                                           
 2048108:	f4 26 00 00 	st  %i2, [ %i0 ]                               
  control->fs = fs;                                                   
  control->block = block;                                             
  control->size = size;                                               
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
 204810c:	90 00 60 01 	add  %g1, 1, %o0                               
                       rtems_rfs_buffer_block    block)               
{                                                                     
  size_t elements = rtems_rfs_bitmap_elements (size);                 
                                                                      
  control->buffer = buffer;                                           
  control->fs = fs;                                                   
 2048110:	f2 26 20 04 	st  %i1, [ %i0 + 4 ]                           
  control->block = block;                                             
 2048114:	f8 26 20 08 	st  %i4, [ %i0 + 8 ]                           
  control->size = size;                                               
 2048118:	f6 26 20 0c 	st  %i3, [ %i0 + 0xc ]                         
                                                                      
  elements = rtems_rfs_bitmap_elements (elements);                    
  control->search_bits = malloc (elements * sizeof (rtems_rfs_bitmap_element));
 204811c:	7f ff 05 e6 	call  20098b4 <malloc>                         
 2048120:	91 2a 20 02 	sll  %o0, 2, %o0                               
                                                                      
  if (!control->search_bits)                                          
 2048124:	80 a2 20 00 	cmp  %o0, 0                                    
 2048128:	02 80 00 04 	be  2048138 <rtems_rfs_bitmap_open+0x3c>       <== NEVER TAKEN
 204812c:	d0 26 20 14 	st  %o0, [ %i0 + 0x14 ]                        
    return ENOMEM;                                                    
                                                                      
  return rtems_rfs_bitmap_create_search (control);                    
 2048130:	7f ff ff b6 	call  2048008 <rtems_rfs_bitmap_create_search> 
 2048134:	81 e8 00 00 	restore                                        
}                                                                     
 2048138:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204813c:	91 e8 20 0c 	restore  %g0, 0xc, %o0                         <== NOT EXECUTED
                                                                      

0203b730 <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) {
 203b730:	9d e3 bf a0 	save  %sp, -96, %sp                            
                                                                      
  /*                                                                  
   * 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);     
 203b734:	96 10 20 01 	mov  1, %o3                                    
 203b738:	90 10 00 18 	mov  %i0, %o0                                  
 203b73c:	92 10 00 19 	mov  %i1, %o1                                  
 203b740:	40 00 04 78 	call  203c920 <rtems_rfs_buffer_handle_request>
 203b744:	94 10 00 1a 	mov  %i2, %o2                                  
  if (rc > 0)                                                         
 203b748:	80 a2 20 00 	cmp  %o0, 0                                    
 203b74c:	24 80 00 04 	ble,a   203b75c <rtems_rfs_block_find_indirect+0x2c><== ALWAYS TAKEN
 203b750:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
    *result = 0;                                                      
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 203b754:	81 c7 e0 08 	ret                                            
 203b758:	91 e8 00 08 	restore  %g0, %o0, %o0                         
   */                                                                 
  rc = rtems_rfs_buffer_handle_request (fs, buffer, block, true);     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  *result = rtems_rfs_block_get_number (buffer, offset);              
 203b75c:	83 2e e0 02 	sll  %i3, 2, %g1                               
 203b760:	c6 00 a0 1c 	ld  [ %g2 + 0x1c ], %g3                        
  if ((*result + 1) == 0)                                             
    *result = 0;                                                      
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
 203b764:	c8 06 20 04 	ld  [ %i0 + 4 ], %g4                           
   */                                                                 
  rc = rtems_rfs_buffer_handle_request (fs, buffer, block, true);     
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  *result = rtems_rfs_block_get_number (buffer, offset);              
 203b768:	fa 08 c0 01 	ldub  [ %g3 + %g1 ], %i5                       
 203b76c:	84 00 c0 01 	add  %g3, %g1, %g2                             
 203b770:	c2 08 a0 03 	ldub  [ %g2 + 3 ], %g1                         
 203b774:	c6 08 a0 01 	ldub  [ %g2 + 1 ], %g3                         
 203b778:	c4 08 a0 02 	ldub  [ %g2 + 2 ], %g2                         
 203b77c:	bb 2f 60 18 	sll  %i5, 0x18, %i5                            
 203b780:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203b784:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203b788:	82 10 40 1d 	or  %g1, %i5, %g1                              
 203b78c:	82 10 40 03 	or  %g1, %g3, %g1                              
 203b790:	82 10 40 02 	or  %g1, %g2, %g1                              
  if ((*result + 1) == 0)                                             
    *result = 0;                                                      
 203b794:	84 38 00 01 	xnor  %g0, %g1, %g2                            
 203b798:	80 a0 00 02 	cmp  %g0, %g2                                  
 203b79c:	84 60 20 00 	subx  %g0, 0, %g2                              
 203b7a0:	82 08 40 02 	and  %g1, %g2, %g1                             
 203b7a4:	c2 27 00 00 	st  %g1, [ %i4 ]                               
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
 203b7a8:	80 a1 00 01 	cmp  %g4, %g1                                  
 203b7ac:	18 bf ff ea 	bgu  203b754 <rtems_rfs_block_find_indirect+0x24><== ALWAYS TAKEN
 203b7b0:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_FIND))                 
 203b7b4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203b7b8:	7f ff ad b3 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203b7bc:	13 00 00 04 	sethi  %hi(0x1000), %o1                        <== NOT EXECUTED
 203b7c0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203b7c4:	32 80 00 06 	bne,a   203b7dc <rtems_rfs_block_find_indirect+0xac><== NOT EXECUTED
 203b7c8:	d2 07 00 00 	ld  [ %i4 ], %o1                               <== NOT EXECUTED
      printf ("rtems-rfs: block-find: invalid block in table:"        
              " block=%" PRId32 ", indirect=%" PRId32 "/%d\n", *result, block, offset);
    *result = 0;                                                      
 203b7cc:	c0 27 00 00 	clr  [ %i4 ]                                   <== NOT EXECUTED
 203b7d0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 203b7d4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b7d8:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
    *result = 0;                                                      
                                                                      
  if (*result >= rtems_rfs_fs_blocks (fs))                            
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_FIND))                 
      printf ("rtems-rfs: block-find: invalid block in table:"        
 203b7dc:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 203b7e0:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203b7e4:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
 203b7e8:	40 00 46 87 	call  204d204 <printf>                         <== NOT EXECUTED
 203b7ec:	90 12 20 00 	mov  %o0, %o0                                  <== NOT EXECUTED
              " block=%" PRId32 ", indirect=%" PRId32 "/%d\n", *result, block, offset);
    *result = 0;                                                      
 203b7f0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203b7f4:	10 bf ff f8 	b  203b7d4 <rtems_rfs_block_find_indirect+0xa4><== NOT EXECUTED
 203b7f8:	c0 27 00 00 	clr  [ %i4 ]                                   <== NOT EXECUTED
                                                                      

0203b85c <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) {
 203b85c:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  if (pos == 0)                                                       
 203b860:	80 96 40 1a 	orcc  %i1, %i2, %g0                            <== NOT EXECUTED
 203b864:	02 80 00 11 	be  203b8a8 <rtems_rfs_block_get_block_size+0x4c><== NOT EXECUTED
 203b868:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
    rtems_rfs_block_set_size_zero (size);                             
  else                                                                
  {                                                                   
    size->count  = pos / rtems_rfs_fs_block_size (fs) + 1;            
 203b86c:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           <== NOT EXECUTED
 203b870:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
 203b874:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 203b878:	40 00 9c a5 	call  2062b0c <__udivdi3>                      <== NOT EXECUTED
 203b87c:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 203b880:	92 02 60 01 	inc  %o1                                       <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
 203b884:	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;            
 203b888:	d2 26 c0 00 	st  %o1, [ %i3 ]                               <== NOT EXECUTED
    size->offset = pos % rtems_rfs_fs_block_size (fs);                
 203b88c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 203b890:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 203b894:	40 00 9d 72 	call  2062e5c <__umoddi3>                      <== NOT EXECUTED
 203b898:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
 203b89c:	d2 26 e0 04 	st  %o1, [ %i3 + 4 ]                           <== NOT EXECUTED
 203b8a0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b8a4:	81 e8 00 00 	restore                                        <== 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;                                                    
 203b8a8:	c0 26 c0 00 	clr  [ %i3 ]                                   <== NOT EXECUTED
  size->offset = 0;                                                   
 203b8ac:	c0 26 e0 04 	clr  [ %i3 + 4 ]                               <== NOT EXECUTED
 203b8b0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b8b4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0203ba94 <rtems_rfs_block_map_close>: int rtems_rfs_block_map_close (rtems_rfs_file_system* fs, rtems_rfs_block_map* map) {
 203ba94:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
 203ba98:	c2 0e 40 00 	ldub  [ %i1 ], %g1                             
}                                                                     
                                                                      
int                                                                   
rtems_rfs_block_map_close (rtems_rfs_file_system* fs,                 
                           rtems_rfs_block_map*   map)                
{                                                                     
 203ba9c:	ba 10 00 18 	mov  %i0, %i5                                  
  int rc = 0;                                                         
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
 203baa0:	80 a0 60 00 	cmp  %g1, 0                                    
 203baa4:	02 80 00 0b 	be  203bad0 <rtems_rfs_block_map_close+0x3c>   
 203baa8:	b0 10 20 00 	clr  %i0                                       
 203baac:	d2 06 60 04 	ld  [ %i1 + 4 ], %o1                           
 203bab0:	80 a2 60 00 	cmp  %o1, 0                                    
 203bab4:	22 80 00 08 	be,a   203bad4 <rtems_rfs_block_map_close+0x40><== NEVER TAKEN
 203bab8:	92 06 60 38 	add  %i1, 0x38, %o1                            <== NOT EXECUTED
  {                                                                   
    brc = rtems_rfs_inode_load (fs, map->inode);                      
 203babc:	40 00 16 bc 	call  20415ac <rtems_rfs_inode_load>           
 203bac0:	90 10 00 1d 	mov  %i5, %o0                                  
    if (brc > 0)                                                      
 203bac4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203bac8:	04 80 00 11 	ble  203bb0c <rtems_rfs_block_map_close+0x78>  <== ALWAYS TAKEN
 203bacc:	b8 10 00 19 	mov  %i1, %i4                                  
 */                                                                   
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);                       
 203bad0:	92 06 60 38 	add  %i1, 0x38, %o1                            
                                                                      
      map->dirty = false;                                             
    }                                                                 
  }                                                                   
                                                                      
  map->inode = NULL;                                                  
 203bad4:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
 203bad8:	40 00 03 18 	call  203c738 <rtems_rfs_buffer_handle_release>
 203badc:	90 10 00 1d 	mov  %i5, %o0                                  
 203bae0:	90 10 00 1d 	mov  %i5, %o0                                  
  handle->dirty = false;                                              
 203bae4:	c0 2e 60 38 	clrb  [ %i1 + 0x38 ]                           
  handle->bnum  = 0;                                                  
 203bae8:	c0 26 60 3c 	clr  [ %i1 + 0x3c ]                            
  handle->buffer = NULL;                                              
 203baec:	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);                       
 203baf0:	40 00 03 12 	call  203c738 <rtems_rfs_buffer_handle_release>
 203baf4:	92 06 60 44 	add  %i1, 0x44, %o1                            
  handle->dirty = false;                                              
 203baf8:	c0 2e 60 44 	clrb  [ %i1 + 0x44 ]                           
  handle->bnum  = 0;                                                  
 203bafc:	c0 26 60 48 	clr  [ %i1 + 0x48 ]                            
  handle->buffer = NULL;                                              
 203bb00:	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;                                                          
}                                                                     
 203bb04:	81 c7 e0 08 	ret                                            
 203bb08:	81 e8 00 00 	restore                                        
  int brc;                                                            
                                                                      
  if (map->dirty && map->inode)                                       
  {                                                                   
    brc = rtems_rfs_inode_load (fs, map->inode);                      
    if (brc > 0)                                                      
 203bb0c:	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);                      
 203bb10:	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]);    
 203bb14:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 203bb18:	c4 07 20 24 	ld  [ %i4 + 0x24 ], %g2                        
 * @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);       
 203bb1c:	f6 00 60 0c 	ld  [ %g1 + 0xc ], %i3                         
 203bb20:	86 01 20 06 	add  %g4, 6, %g3                               
 203bb24:	87 28 e0 02 	sll  %g3, 2, %g3                               
 203bb28:	b6 06 c0 03 	add  %i3, %g3, %i3                             
 203bb2c:	b5 30 a0 18 	srl  %g2, 0x18, %i2                            
 203bb30:	f4 2e e0 04 	stb  %i2, [ %i3 + 4 ]                          
 203bb34:	f6 00 60 0c 	ld  [ %g1 + 0xc ], %i3                         
 203bb38:	b5 30 a0 10 	srl  %g2, 0x10, %i2                            
 203bb3c:	b6 06 c0 03 	add  %i3, %g3, %i3                             
 203bb40:	f4 2e e0 05 	stb  %i2, [ %i3 + 5 ]                          
 203bb44:	f6 00 60 0c 	ld  [ %g1 + 0xc ], %i3                         
 203bb48:	b5 30 a0 08 	srl  %g2, 8, %i2                               
 203bb4c:	b6 06 c0 03 	add  %i3, %g3, %i3                             
 203bb50:	f4 2e e0 06 	stb  %i2, [ %i3 + 6 ]                          
 203bb54:	f6 00 60 0c 	ld  [ %g1 + 0xc ], %i3                         
                                                                      
    if (rc == 0)                                                      
    {                                                                 
      int b;                                                          
                                                                      
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
 203bb58:	88 01 20 01 	inc  %g4                                       
 203bb5c:	86 06 c0 03 	add  %i3, %g3, %g3                             
 203bb60:	c4 28 e0 07 	stb  %g2, [ %g3 + 7 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 203bb64:	f0 28 60 10 	stb  %i0, [ %g1 + 0x10 ]                       
 203bb68:	b8 07 20 04 	add  %i4, 4, %i4                               
 203bb6c:	80 a1 20 05 	cmp  %g4, 5                                    
 203bb70:	12 bf ff e9 	bne  203bb14 <rtems_rfs_block_map_close+0x80>  
 203bb74:	82 10 20 01 	mov  1, %g1                                    
        rtems_rfs_inode_set_block (map->inode, b, map->blocks[b]);    
      rtems_rfs_inode_set_block_count (map->inode, map->size.count);  
 203bb78:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
 203bb7c:	c6 06 60 08 	ld  [ %i1 + 8 ], %g3                           
 * @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);      
 203bb80:	c8 00 a0 0c 	ld  [ %g2 + 0xc ], %g4                         
 203bb84:	b9 30 e0 18 	srl  %g3, 0x18, %i4                            
 203bb88:	f8 29 20 0c 	stb  %i4, [ %g4 + 0xc ]                        
 203bb8c:	c8 00 a0 0c 	ld  [ %g2 + 0xc ], %g4                         
 203bb90:	b9 30 e0 10 	srl  %g3, 0x10, %i4                            
 203bb94:	f8 29 20 0d 	stb  %i4, [ %g4 + 0xd ]                        
 203bb98:	c8 00 a0 0c 	ld  [ %g2 + 0xc ], %g4                         
 203bb9c:	b9 30 e0 08 	srl  %g3, 8, %i4                               
 203bba0:	f8 29 20 0e 	stb  %i4, [ %g4 + 0xe ]                        
 203bba4:	c8 00 a0 0c 	ld  [ %g2 + 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);            
 203bba8:	90 10 00 1d 	mov  %i5, %o0                                  
 203bbac:	c6 29 20 0f 	stb  %g3, [ %g4 + 0xf ]                        
      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);
 203bbb0:	c8 06 60 04 	ld  [ %i1 + 4 ], %g4                           
 */                                                                   
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);    
 203bbb4:	f6 0e 60 0e 	ldub  [ %i1 + 0xe ], %i3                       
 203bbb8:	f8 01 20 0c 	ld  [ %g4 + 0xc ], %i4                         
 */                                                                   
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);      
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 203bbbc:	c2 28 a0 10 	stb  %g1, [ %g2 + 0x10 ]                       
 */                                                                   
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);    
 203bbc0:	c6 06 60 0c 	ld  [ %i1 + 0xc ], %g3                         
 203bbc4:	f6 2f 20 0a 	stb  %i3, [ %i4 + 0xa ]                        
 203bbc8:	c4 01 20 0c 	ld  [ %g4 + 0xc ], %g2                         
      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);            
 203bbcc:	94 10 20 01 	mov  1, %o2                                    
 203bbd0:	c6 28 a0 0b 	stb  %g3, [ %g2 + 0xb ]                        
                                                                      
      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);
 203bbd4:	c6 06 60 04 	ld  [ %i1 + 4 ], %g3                           
 203bbd8:	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);
 203bbdc:	f8 00 e0 0c 	ld  [ %g3 + 0xc ], %i4                         
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);    
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 203bbe0:	c2 29 20 10 	stb  %g1, [ %g4 + 0x10 ]                       
 * @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);
 203bbe4:	89 30 a0 18 	srl  %g2, 0x18, %g4                            
 203bbe8:	c8 2f 20 30 	stb  %g4, [ %i4 + 0x30 ]                       
 203bbec:	c8 00 e0 0c 	ld  [ %g3 + 0xc ], %g4                         
 203bbf0:	b9 30 a0 10 	srl  %g2, 0x10, %i4                            
 203bbf4:	f8 29 20 31 	stb  %i4, [ %g4 + 0x31 ]                       
 203bbf8:	c8 00 e0 0c 	ld  [ %g3 + 0xc ], %g4                         
 203bbfc:	b9 30 a0 08 	srl  %g2, 8, %i4                               
 203bc00:	f8 29 20 32 	stb  %i4, [ %g4 + 0x32 ]                       
 203bc04:	c8 00 e0 0c 	ld  [ %g3 + 0xc ], %g4                         
 203bc08:	c4 29 20 33 	stb  %g2, [ %g4 + 0x33 ]                       
      rtems_rfs_inode_set_last_data_block (map->inode, map->last_data_block);
 203bc0c:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
 203bc10:	c8 06 60 20 	ld  [ %i1 + 0x20 ], %g4                        
 * @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);
 203bc14:	f8 00 a0 0c 	ld  [ %g2 + 0xc ], %i4                         
 */                                                                   
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);
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 203bc18:	c2 28 e0 10 	stb  %g1, [ %g3 + 0x10 ]                       
 * @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);
 203bc1c:	87 31 20 18 	srl  %g4, 0x18, %g3                            
 203bc20:	c6 2f 20 34 	stb  %g3, [ %i4 + 0x34 ]                       
 203bc24:	c6 00 a0 0c 	ld  [ %g2 + 0xc ], %g3                         
 203bc28:	b9 31 20 10 	srl  %g4, 0x10, %i4                            
 203bc2c:	f8 28 e0 35 	stb  %i4, [ %g3 + 0x35 ]                       
 203bc30:	c6 00 a0 0c 	ld  [ %g2 + 0xc ], %g3                         
 203bc34:	b9 31 20 08 	srl  %g4, 8, %i4                               
 203bc38:	f8 28 e0 36 	stb  %i4, [ %g3 + 0x36 ]                       
 203bc3c:	c6 00 a0 0c 	ld  [ %g2 + 0xc ], %g3                         
 203bc40:	c8 28 e0 37 	stb  %g4, [ %g3 + 0x37 ]                       
                                                                      
      brc = rtems_rfs_inode_unload (fs, map->inode, true);            
 203bc44:	d2 06 60 04 	ld  [ %i1 + 4 ], %o1                           
 203bc48:	40 00 16 bd 	call  204173c <rtems_rfs_inode_unload>         
 203bc4c:	c2 28 a0 10 	stb  %g1, [ %g2 + 0x10 ]                       
      if (brc > 0)                                                    
        rc = brc;                                                     
                                                                      
      map->dirty = false;                                             
 203bc50:	c0 2e 40 00 	clrb  [ %i1 ]                                  
 203bc54:	82 38 00 08 	xnor  %g0, %o0, %g1                            
 203bc58:	83 38 60 1f 	sra  %g1, 0x1f, %g1                            
 203bc5c:	10 bf ff 9d 	b  203bad0 <rtems_rfs_block_map_close+0x3c>    
 203bc60:	b0 0a 00 01 	and  %o0, %g1, %i0                             
                                                                      

0203bc64 <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) {
 203bc64:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int rc = 0;                                                         
                                                                      
  *block = 0;                                                         
 203bc68:	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))          
 203bc6c:	fa 06 80 00 	ld  [ %i2 ], %i5                               
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)               
{                                                                     
 203bc70:	a0 10 00 18 	mov  %i0, %l0                                  
  *block = 0;                                                         
                                                                      
  /*                                                                  
   * Range checking here makes the remaining logic simpler.           
   */                                                                 
  if (rtems_rfs_block_pos_block_past_end (bpos, &map->size))          
 203bc74:	80 a7 60 00 	cmp  %i5, 0                                    
 203bc78:	02 80 00 05 	be  203bc8c <rtems_rfs_block_map_find+0x28>    
 203bc7c:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           
 203bc80:	80 a7 20 00 	cmp  %i4, 0                                    
 203bc84:	02 80 00 4b 	be  203bdb0 <rtems_rfs_block_map_find+0x14c>   <== NEVER TAKEN
 203bc88:	b0 10 20 06 	mov  6, %i0                                    
 203bc8c:	80 a7 40 1c 	cmp  %i5, %i4                                  
 203bc90:	1a 80 00 48 	bcc  203bdb0 <rtems_rfs_block_map_find+0x14c>  
 203bc94:	b0 10 20 06 	mov  6, %i0                                    
    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))         
 203bc98:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
 203bc9c:	80 a7 40 01 	cmp  %i5, %g1                                  
 203bca0:	22 80 00 14 	be,a   203bcf0 <rtems_rfs_block_map_find+0x8c> 
 203bca4:	c2 06 60 18 	ld  [ %i1 + 0x18 ], %g1                        
    /*                                                                
     * 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)                    
 203bca8:	80 a7 20 05 	cmp  %i4, 5                                    
 203bcac:	38 80 00 16 	bgu,a   203bd04 <rtems_rfs_block_map_find+0xa0>
 203bcb0:	e2 04 20 34 	ld  [ %l0 + 0x34 ], %l1                        
    {                                                                 
      *block = map->blocks[bpos->bno];                                
 203bcb4:	ba 07 60 08 	add  %i5, 8, %i5                               
 203bcb8:	bb 2f 60 02 	sll  %i5, 2, %i5                               
 203bcbc:	ba 06 40 1d 	add  %i1, %i5, %i5                             
 203bcc0:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
 203bcc4:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
  {                                                                   
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
 203bcc8:	c6 06 a0 08 	ld  [ %i2 + 8 ], %g3                           
 203bccc:	c2 06 a0 04 	ld  [ %i2 + 4 ], %g1                           
 203bcd0:	c4 06 80 00 	ld  [ %i2 ], %g2                               
 203bcd4:	c6 26 60 18 	st  %g3, [ %i1 + 0x18 ]                        
 203bcd8:	c4 26 60 10 	st  %g2, [ %i1 + 0x10 ]                        
 203bcdc:	c2 26 60 14 	st  %g1, [ %i1 + 0x14 ]                        
    map->bpos.block = *block;                                         
 203bce0:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 203bce4:	c2 26 60 18 	st  %g1, [ %i1 + 0x18 ]                        
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 203bce8:	81 c7 e0 08 	ret                                            
 203bcec:	91 e8 20 00 	restore  %g0, 0, %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))         
 203bcf0:	80 a0 60 00 	cmp  %g1, 0                                    
 203bcf4:	02 bf ff ee 	be  203bcac <rtems_rfs_block_map_find+0x48>    
 203bcf8:	80 a7 20 05 	cmp  %i4, 5                                    
     * 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)                    
    {                                                                 
      *block = map->blocks[bpos->bno];                                
 203bcfc:	10 bf ff f3 	b  203bcc8 <rtems_rfs_block_map_find+0x64>     
 203bd00:	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;                      
 203bd04:	90 10 00 1d 	mov  %i5, %o0                                  
 203bd08:	40 00 98 91 	call  2061f4c <.urem>                          
 203bd0c:	92 10 00 11 	mov  %l1, %o1                                  
      singly = bpos->bno / fs->blocks_per_block;                      
 203bd10:	92 10 00 11 	mov  %l1, %o1                                  
       * 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;                      
 203bd14:	a6 10 00 08 	mov  %o0, %l3                                  
      singly = bpos->bno / fs->blocks_per_block;                      
 203bd18:	40 00 97 e1 	call  2061c9c <.udiv>                          
 203bd1c:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
 203bd20:	c2 04 20 38 	ld  [ %l0 + 0x38 ], %g1                        
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = bpos->bno % fs->blocks_per_block;                      
      singly = bpos->bno / fs->blocks_per_block;                      
 203bd24:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
                                                                      
      if (map->size.count <= fs->block_map_singly_blocks)             
 203bd28:	80 a0 40 1c 	cmp  %g1, %i4                                  
 203bd2c:	1a 80 00 23 	bcc  203bdb8 <rtems_rfs_block_map_find+0x154>  <== ALWAYS TAKEN
 203bd30:	ba 10 00 08 	mov  %o0, %i5                                  
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
 203bd34:	40 00 98 86 	call  2061f4c <.urem>                          <== NOT EXECUTED
 203bd38:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
 203bd3c:	c2 04 20 3c 	ld  [ %l0 + 0x3c ], %g1                        <== NOT EXECUTED
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
        singly %= fs->blocks_per_block;                               
 203bd40:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          <== NOT EXECUTED
 203bd44:	a4 10 00 08 	mov  %o0, %l2                                  <== NOT EXECUTED
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
 203bd48:	80 a0 40 1c 	cmp  %g1, %i4                                  <== NOT EXECUTED
 203bd4c:	08 80 00 19 	bleu  203bdb0 <rtems_rfs_block_map_find+0x14c> <== NOT EXECUTED
 203bd50:	b0 10 20 06 	mov  6, %i0                                    <== NOT EXECUTED
        /*                                                            
         * The map is doubly indirect.                                
         */                                                           
        rtems_rfs_block_no doubly;                                    
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
 203bd54:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 203bd58:	40 00 97 d1 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 203bd5c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
        singly %= fs->blocks_per_block;                               
                                                                      
        if (map->size.count < fs->block_map_doubly_blocks)            
        {                                                             
          rc = rtems_rfs_block_find_indirect (fs,                     
 203bd60:	90 02 20 08 	add  %o0, 8, %o0                               <== NOT EXECUTED
 203bd64:	83 2a 20 02 	sll  %o0, 2, %g1                               <== NOT EXECUTED
 203bd68:	82 06 40 01 	add  %i1, %g1, %g1                             <== NOT EXECUTED
 203bd6c:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           <== NOT EXECUTED
 203bd70:	92 06 60 44 	add  %i1, 0x44, %o1                            <== NOT EXECUTED
 203bd74:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 203bd78:	96 10 00 12 	mov  %l2, %o3                                  <== NOT EXECUTED
 203bd7c:	7f ff fe 6d 	call  203b730 <rtems_rfs_block_find_indirect>  <== NOT EXECUTED
 203bd80:	98 07 bf fc 	add  %fp, -4, %o4                              <== NOT EXECUTED
                                              &map->doubly_buffer,    
                                              map->blocks[doubly],    
                                              singly, &singly);       
          if (rc == 0)                                                
 203bd84:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 203bd88:	12 80 00 0a 	bne  203bdb0 <rtems_rfs_block_map_find+0x14c>  <== NOT EXECUTED
 203bd8c:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
          {                                                           
            rc = rtems_rfs_block_find_indirect (fs,                   
 203bd90:	90 10 00 10 	mov  %l0, %o0                                  
 203bd94:	92 06 60 38 	add  %i1, 0x38, %o1                            
 203bd98:	96 10 00 13 	mov  %l3, %o3                                  
 203bd9c:	7f ff fe 65 	call  203b730 <rtems_rfs_block_find_indirect>  
 203bda0:	98 10 00 1b 	mov  %i3, %o4                                  
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (rc == 0)                                                        
 203bda4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203bda8:	22 bf ff c9 	be,a   203bccc <rtems_rfs_block_map_find+0x68> <== ALWAYS TAKEN
 203bdac:	c6 06 a0 08 	ld  [ %i2 + 8 ], %g3                           
    rtems_rfs_block_copy_bpos (&map->bpos, bpos);                     
    map->bpos.block = *block;                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 203bdb0:	81 c7 e0 08 	ret                                            
 203bdb4:	81 e8 00 00 	restore                                        
      {                                                               
        /*                                                            
         * This is a single indirect table of blocks anchored off a slot in the
         * inode.                                                     
         */                                                           
        rc = rtems_rfs_block_find_indirect (fs,                       
 203bdb8:	82 02 20 08 	add  %o0, 8, %g1                               
 203bdbc:	83 28 60 02 	sll  %g1, 2, %g1                               
 203bdc0:	82 06 40 01 	add  %i1, %g1, %g1                             
 203bdc4:	10 bf ff f3 	b  203bd90 <rtems_rfs_block_map_find+0x12c>    
 203bdc8:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           
                                                                      

0203be74 <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) {
 203be74:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
 203be78:	90 10 20 00 	clr  %o0                                       
 203be7c:	7f ff ac 02 	call  2026e84 <rtems_rfs_trace>                
 203be80:	13 00 00 08 	sethi  %hi(0x2000), %o1                        
 203be84:	80 8a 20 ff 	btst  0xff, %o0                                
 203be88:	32 80 00 cf 	bne,a   203c1c4 <rtems_rfs_block_map_grow+0x350><== NEVER TAKEN
 203be8c:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           <== NOT EXECUTED
    printf ("rtems-rfs: block-map-grow: entry: blocks=%zd count=%" PRIu32 "\n",
            blocks, map->size.count);                                 
                                                                      
  if ((map->size.count + blocks) >= rtems_rfs_fs_max_block_map_blocks (fs))
 203be90:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           
 203be94:	c2 06 20 3c 	ld  [ %i0 + 0x3c ], %g1                        
 203be98:	84 06 80 02 	add  %i2, %g2, %g2                             
 203be9c:	80 a0 80 01 	cmp  %g2, %g1                                  
 203bea0:	0a 80 00 04 	bcs  203beb0 <rtems_rfs_block_map_grow+0x3c>   <== ALWAYS TAKEN
 203bea4:	ba 10 20 1b 	mov  0x1b, %i5                                 
    map->last_data_block = block;                                     
    map->dirty = true;                                                
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 203bea8:	81 c7 e0 08 	ret                                            
 203beac:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      
  /*                                                                  
   * 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++)                                        
 203beb0:	80 a6 a0 00 	cmp  %i2, 0                                    
 203beb4:	02 80 00 de 	be  203c22c <rtems_rfs_block_map_grow+0x3b8>   <== NEVER TAKEN
 203beb8:	b8 10 20 00 	clr  %i4                                       
 203bebc:	d2 06 60 20 	ld  [ %i1 + 0x20 ], %o1                        
            return rc;                                                
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
 203bec0:	a2 10 20 01 	mov  1, %l1                                    
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
 203bec4:	a6 06 60 44 	add  %i1, 0x44, %l3                            
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203bec8:	10 80 00 11 	b  203bf0c <rtems_rfs_block_map_grow+0x98>     
 203becc:	a4 06 60 38 	add  %i1, 0x38, %l2                            
                                       false, &block);                
    if (rc > 0)                                                       
      return rc;                                                      
                                                                      
    if (map->size.count < RTEMS_RFS_INODE_BLOCKS)                     
      map->blocks[map->size.count] = block;                           
 203bed0:	82 07 60 08 	add  %i5, 8, %g1                               
 203bed4:	83 28 60 02 	sll  %g1, 2, %g1                               
 203bed8:	82 06 40 01 	add  %i1, %g1, %g1                             
 203bedc:	d2 20 60 04 	st  %o1, [ %g1 + 4 ]                           
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
    }                                                                 
                                                                      
    map->size.count++;                                                
 203bee0:	ba 07 60 01 	inc  %i5                                       
    map->size.offset = 0;                                             
 203bee4:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
                                                                      
    if (b == 0)                                                       
 203bee8:	80 a7 20 00 	cmp  %i4, 0                                    
 203beec:	12 80 00 03 	bne  203bef8 <rtems_rfs_block_map_grow+0x84>   <== NEVER TAKEN
 203bef0:	fa 26 60 08 	st  %i5, [ %i1 + 8 ]                           
      *new_block = block;                                             
 203bef4:	d2 26 c0 00 	st  %o1, [ %i3 ]                               
    map->last_data_block = block;                                     
    map->dirty = true;                                                
 203bef8:	e2 2e 40 00 	stb  %l1, [ %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++)                                        
 203befc:	b8 07 20 01 	inc  %i4                                       
 203bf00:	80 a7 00 1a 	cmp  %i4, %i2                                  
 203bf04:	02 80 00 ca 	be  203c22c <rtems_rfs_block_map_grow+0x3b8>   <== ALWAYS TAKEN
 203bf08:	d2 26 60 20 	st  %o1, [ %i1 + 0x20 ]                        
    /*                                                                
     * 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,      
 203bf0c:	90 10 00 18 	mov  %i0, %o0                                  
 203bf10:	94 10 20 00 	clr  %o2                                       
 203bf14:	40 00 14 56 	call  204106c <rtems_rfs_group_bitmap_alloc>   
 203bf18:	96 07 bf f8 	add  %fp, -8, %o3                              
                                       false, &block);                
    if (rc > 0)                                                       
 203bf1c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203bf20:	14 bf ff e2 	bg  203bea8 <rtems_rfs_block_map_grow+0x34>    
 203bf24:	01 00 00 00 	nop                                            
      return rc;                                                      
                                                                      
    if (map->size.count < RTEMS_RFS_INODE_BLOCKS)                     
 203bf28:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           
 203bf2c:	80 a7 60 04 	cmp  %i5, 4                                    
 203bf30:	08 bf ff e8 	bleu  203bed0 <rtems_rfs_block_map_grow+0x5c>  
 203bf34:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
       * 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;                
 203bf38:	e0 06 20 34 	ld  [ %i0 + 0x34 ], %l0                        
 203bf3c:	90 10 00 1d 	mov  %i5, %o0                                  
 203bf40:	40 00 98 03 	call  2061f4c <.urem>                          
 203bf44:	92 10 00 10 	mov  %l0, %o1                                  
      singly = map->size.count / fs->blocks_per_block;                
 203bf48:	92 10 00 10 	mov  %l0, %o1                                  
       * 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;                
 203bf4c:	a8 10 00 08 	mov  %o0, %l4                                  
      singly = map->size.count / fs->blocks_per_block;                
 203bf50:	40 00 97 53 	call  2061c9c <.udiv>                          
 203bf54:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
      if (map->size.count < fs->block_map_singly_blocks)              
 203bf58:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        
 203bf5c:	80 a7 40 01 	cmp  %i5, %g1                                  
 203bf60:	1a 80 00 31 	bcc  203c024 <rtems_rfs_block_map_grow+0x1b0>  <== NEVER TAKEN
 203bf64:	aa 10 00 08 	mov  %o0, %l5                                  
         * 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) ||                                          
 203bf68:	80 a5 20 00 	cmp  %l4, 0                                    
 203bf6c:	02 80 00 06 	be  203bf84 <rtems_rfs_block_map_grow+0x110>   <== NEVER TAKEN
 203bf70:	80 a5 20 05 	cmp  %l4, 5                                    
 203bf74:	12 80 00 8a 	bne  203c19c <rtems_rfs_block_map_grow+0x328>  
 203bf78:	80 a2 20 00 	cmp  %o0, 0                                    
 203bf7c:	12 80 00 89 	bne  203c1a0 <rtems_rfs_block_map_grow+0x32c>  <== NEVER TAKEN
 203bf80:	82 05 60 08 	add  %l5, 8, %g1                               
        {                                                             
          /*                                                          
           * Upping is when we move from direct to singly indirect.   
           */                                                         
          bool upping;                                                
          upping = map->size.count == RTEMS_RFS_INODE_BLOCKS;         
 203bf84:	ba 1f 60 05 	xor  %i5, 5, %i5                               
          rc = rtems_rfs_block_map_indirect_alloc (fs, map,           
 203bf88:	80 a0 00 1d 	cmp  %g0, %i5                                  
                                                   &map->singly_buffer,
                                                   &map->blocks[singly],
 203bf8c:	96 05 60 08 	add  %l5, 8, %o3                               
          /*                                                          
           * 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,           
 203bf90:	90 10 00 18 	mov  %i0, %o0                                  
                                                   &map->singly_buffer,
                                                   &map->blocks[singly],
 203bf94:	97 2a e0 02 	sll  %o3, 2, %o3                               
          /*                                                          
           * 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,           
 203bf98:	92 10 00 19 	mov  %i1, %o1                                  
                                                   &map->singly_buffer,
                                                   &map->blocks[singly],
 203bf9c:	96 06 40 0b 	add  %i1, %o3, %o3                             
          /*                                                          
           * 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,           
 203bfa0:	94 10 00 12 	mov  %l2, %o2                                  
 203bfa4:	96 02 e0 04 	add  %o3, 4, %o3                               
 203bfa8:	7f ff fd 8f 	call  203b5e4 <rtems_rfs_block_map_indirect_alloc>
 203bfac:	98 60 3f ff 	subx  %g0, -1, %o4                             
 203bfb0:	ba 10 00 08 	mov  %o0, %i5                                  
          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)                                                 
 203bfb4:	80 a7 60 00 	cmp  %i5, 0                                    
 203bfb8:	14 80 00 a1 	bg  203c23c <rtems_rfs_block_map_grow+0x3c8>   <== NEVER TAKEN
 203bfbc:	d4 07 bf f8 	ld  [ %fp + -8 ], %o2                          
            return rc;                                                
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_block_set_number (&map->singly_buffer, direct, block);
 203bfc0:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        
 203bfc4:	c4 0f bf f8 	ldub  [ %fp + -8 ], %g2                        
 203bfc8:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
 203bfcc:	91 2d 20 02 	sll  %l4, 2, %o0                               
 203bfd0:	c4 28 40 08 	stb  %g2, [ %g1 + %o0 ]                        
 203bfd4:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        
 203bfd8:	c4 17 bf f8 	lduh  [ %fp + -8 ], %g2                        
 203bfdc:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
 203bfe0:	82 00 40 08 	add  %g1, %o0, %g1                             
 203bfe4:	c4 28 60 01 	stb  %g2, [ %g1 + 1 ]                          
 203bfe8:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        
 203bfec:	c4 07 bf f8 	ld  [ %fp + -8 ], %g2                          
 203bff0:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
 203bff4:	85 30 a0 08 	srl  %g2, 8, %g2                               
 203bff8:	82 00 40 08 	add  %g1, %o0, %g1                             
 203bffc:	c4 28 60 02 	stb  %g2, [ %g1 + 2 ]                          
 203c000:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        
 203c004:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
 203c008:	90 00 40 08 	add  %g1, %o0, %o0                             
 203c00c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 203c010:	c2 2a 20 03 	stb  %g1, [ %o0 + 3 ]                          
 203c014:	e2 2e 60 38 	stb  %l1, [ %i1 + 0x38 ]                       
 203c018:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           
 203c01c:	10 bf ff b1 	b  203bee0 <rtems_rfs_block_map_grow+0x6c>     
 203c020:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
         * Doubly indirect tables are being used.                     
         */                                                           
        rtems_rfs_block_no doubly;                                    
        rtems_rfs_block_no singly_block;                              
                                                                      
        doubly  = singly / fs->blocks_per_block;                      
 203c024:	40 00 97 1e 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 203c028:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
        singly %= fs->blocks_per_block;                               
 203c02c:	92 10 00 10 	mov  %l0, %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;                      
 203c030:	ac 10 00 08 	mov  %o0, %l6                                  <== NOT EXECUTED
        singly %= fs->blocks_per_block;                               
 203c034:	40 00 97 c6 	call  2061f4c <.urem>                          <== NOT EXECUTED
 203c038:	90 10 00 15 	mov  %l5, %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)                                              
 203c03c:	80 a5 20 00 	cmp  %l4, 0                                    <== NOT EXECUTED
 203c040:	12 80 00 38 	bne  203c120 <rtems_rfs_block_map_grow+0x2ac>  <== NOT EXECUTED
 203c044:	a0 10 00 08 	mov  %o0, %l0                                  <== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_indirect_alloc (fs, map,           
 203c048:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203c04c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 203c050:	94 10 00 12 	mov  %l2, %o2                                  <== NOT EXECUTED
 203c054:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
 203c058:	7f ff fd 63 	call  203b5e4 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
 203c05c:	98 10 20 00 	clr  %o4                                       <== NOT EXECUTED
                                                   &map->singly_buffer,
                                                   &singly_block,     
                                                   false);            
          if (rc > 0)                                                 
 203c060:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 203c064:	14 80 00 75 	bg  203c238 <rtems_rfs_block_map_grow+0x3c4>   <== NOT EXECUTED
 203c068:	80 a4 20 00 	cmp  %l0, 0                                    <== 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) ||                                        
 203c06c:	02 80 00 06 	be  203c084 <rtems_rfs_block_map_grow+0x210>   <== NOT EXECUTED
 203c070:	80 a4 20 05 	cmp  %l0, 5                                    <== NOT EXECUTED
 203c074:	12 80 00 5a 	bne  203c1dc <rtems_rfs_block_map_grow+0x368>  <== NOT EXECUTED
 203c078:	80 a5 a0 00 	cmp  %l6, 0                                    <== NOT EXECUTED
 203c07c:	12 80 00 59 	bne  203c1e0 <rtems_rfs_block_map_grow+0x36c>  <== NOT EXECUTED
 203c080:	82 05 a0 08 	add  %l6, 8, %g1                               <== NOT EXECUTED
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
 203c084:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           <== NOT EXECUTED
 203c088:	c2 06 20 38 	ld  [ %i0 + 0x38 ], %g1                        <== NOT EXECUTED
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
                                                     &map->doubly_buffer,
                                                     &map->blocks[doubly],
 203c08c:	96 05 a0 08 	add  %l6, 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;  
 203c090:	82 18 80 01 	xor  %g2, %g1, %g1                             <== NOT EXECUTED
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
 203c094:	80 a0 00 01 	cmp  %g0, %g1                                  <== NOT EXECUTED
                                                     &map->doubly_buffer,
                                                     &map->blocks[doubly],
 203c098:	97 2a e0 02 	sll  %o3, 2, %o3                               <== NOT EXECUTED
          if ((singly == 0) ||                                        
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
 203c09c:	98 60 3f ff 	subx  %g0, -1, %o4                             <== NOT EXECUTED
                                                     &map->doubly_buffer,
                                                     &map->blocks[doubly],
 203c0a0:	96 06 40 0b 	add  %i1, %o3, %o3                             <== NOT EXECUTED
          if ((singly == 0) ||                                        
              ((doubly == 0) && (singly == RTEMS_RFS_INODE_BLOCKS)))  
          {                                                           
            bool upping;                                              
            upping = map->size.count == fs->block_map_singly_blocks;  
            rc = rtems_rfs_block_map_indirect_alloc (fs, map,         
 203c0a4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203c0a8:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 203c0ac:	94 10 00 13 	mov  %l3, %o2                                  <== NOT EXECUTED
 203c0b0:	7f ff fd 4d 	call  203b5e4 <rtems_rfs_block_map_indirect_alloc><== NOT EXECUTED
 203c0b4:	96 02 e0 04 	add  %o3, 4, %o3                               <== NOT EXECUTED
                                                     &map->doubly_buffer,
                                                     &map->blocks[doubly],
                                                     upping);         
            if (rc > 0)                                               
 203c0b8:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 203c0bc:	14 80 00 54 	bg  203c20c <rtems_rfs_block_map_grow+0x398>   <== NOT EXECUTED
 203c0c0:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
              rtems_rfs_group_bitmap_free (fs, false, block);         
              return rc;                                              
            }                                                         
          }                                                           
                                                                      
          rtems_rfs_block_set_number (&map->doubly_buffer,            
 203c0c4:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 203c0c8:	c4 0f bf fc 	ldub  [ %fp + -4 ], %g2                        <== NOT EXECUTED
 203c0cc:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
 203c0d0:	a1 2c 20 02 	sll  %l0, 2, %l0                               <== NOT EXECUTED
 203c0d4:	c4 28 40 10 	stb  %g2, [ %g1 + %l0 ]                        <== NOT EXECUTED
 203c0d8:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 203c0dc:	c4 17 bf fc 	lduh  [ %fp + -4 ], %g2                        <== NOT EXECUTED
 203c0e0:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
 203c0e4:	82 00 40 10 	add  %g1, %l0, %g1                             <== NOT EXECUTED
 203c0e8:	c4 28 60 01 	stb  %g2, [ %g1 + 1 ]                          <== NOT EXECUTED
 203c0ec:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 203c0f0:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          <== NOT EXECUTED
 203c0f4:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
 203c0f8:	85 30 a0 08 	srl  %g2, 8, %g2                               <== NOT EXECUTED
 203c0fc:	82 00 40 10 	add  %g1, %l0, %g1                             <== NOT EXECUTED
 203c100:	c4 28 60 02 	stb  %g2, [ %g1 + 2 ]                          <== NOT EXECUTED
 203c104:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 203c108:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        <== NOT EXECUTED
 203c10c:	a0 00 40 10 	add  %g1, %l0, %l0                             <== NOT EXECUTED
 203c110:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 203c114:	c2 2c 20 03 	stb  %g1, [ %l0 + 3 ]                          <== NOT EXECUTED
 203c118:	10 bf ff aa 	b  203bfc0 <rtems_rfs_block_map_grow+0x14c>    <== NOT EXECUTED
 203c11c:	e2 2e 60 44 	stb  %l1, [ %i1 + 0x44 ]                       <== NOT EXECUTED
                                      singly,                         
                                      singly_block);                  
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,                   
 203c120:	ac 05 a0 08 	add  %l6, 8, %l6                               <== NOT EXECUTED
 203c124:	ad 2d a0 02 	sll  %l6, 2, %l6                               <== NOT EXECUTED
 203c128:	ac 06 40 16 	add  %i1, %l6, %l6                             <== NOT EXECUTED
 203c12c:	d4 05 a0 04 	ld  [ %l6 + 4 ], %o2                           <== NOT EXECUTED
 203c130:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203c134:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
 203c138:	40 00 01 fa 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 203c13c:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
                                                &map->doubly_buffer,  
                                                map->blocks[doubly],  
                                                true);                
          if (rc > 0)                                                 
 203c140:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 203c144:	14 80 00 3d 	bg  203c238 <rtems_rfs_block_map_grow+0x3c4>   <== NOT EXECUTED
 203c148:	a1 2c 20 02 	sll  %l0, 2, %l0                               <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
 203c14c:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 203c150:	c4 00 60 1c 	ld  [ %g1 + 0x1c ], %g2                        <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203c154:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
 203c158:	c6 08 80 10 	ldub  [ %g2 + %l0 ], %g3                       <== NOT EXECUTED
 203c15c:	82 00 80 10 	add  %g2, %l0, %g1                             <== NOT EXECUTED
 203c160:	d4 08 60 03 	ldub  [ %g1 + 3 ], %o2                         <== NOT EXECUTED
 203c164:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         <== NOT EXECUTED
 203c168:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         <== NOT EXECUTED
 203c16c:	87 28 e0 18 	sll  %g3, 0x18, %g3                            <== NOT EXECUTED
 203c170:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 203c174:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 203c178:	94 12 80 03 	or  %o2, %g3, %o2                              <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203c17c:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
 203c180:	94 12 80 02 	or  %o2, %g2, %o2                              <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203c184:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
            return rc;                                                
          }                                                           
                                                                      
          singly_block = rtems_rfs_block_get_number (&map->doubly_buffer,
 203c188:	94 12 80 01 	or  %o2, %g1, %o2                              <== NOT EXECUTED
                                                     singly);         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203c18c:	40 00 01 e5 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 203c190:	d4 27 bf fc 	st  %o2, [ %fp + -4 ]                          <== NOT EXECUTED
 203c194:	10 bf ff 88 	b  203bfb4 <rtems_rfs_block_map_grow+0x140>    <== NOT EXECUTED
 203c198:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
                                                   &map->blocks[singly],
                                                   upping);           
        }                                                             
        else                                                          
        {                                                             
          rc = rtems_rfs_buffer_handle_request (fs,  &map->singly_buffer,
 203c19c:	82 05 60 08 	add  %l5, 8, %g1                               
 203c1a0:	83 28 60 02 	sll  %g1, 2, %g1                               
 203c1a4:	82 06 40 01 	add  %i1, %g1, %g1                             
 203c1a8:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           
 203c1ac:	90 10 00 18 	mov  %i0, %o0                                  
 203c1b0:	92 10 00 12 	mov  %l2, %o1                                  
 203c1b4:	40 00 01 db 	call  203c920 <rtems_rfs_buffer_handle_request>
 203c1b8:	96 10 20 01 	mov  1, %o3                                    
 203c1bc:	10 bf ff 7e 	b  203bfb4 <rtems_rfs_block_map_grow+0x140>    
 203c1c0:	ba 10 00 08 	mov  %o0, %i5                                  
                          rtems_rfs_block_no*    new_block)           
{                                                                     
  int b;                                                              
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))               
    printf ("rtems-rfs: block-map-grow: entry: blocks=%zd count=%" PRIu32 "\n",
 203c1c4:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 203c1c8:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203c1cc:	40 00 44 0e 	call  204d204 <printf>                         <== NOT EXECUTED
 203c1d0:	90 12 20 50 	or  %o0, 0x50, %o0	! 206d850 <__FUNCTION__.7829+0xb8><== NOT EXECUTED
            blocks, map->size.count);                                 
                                                                      
  if ((map->size.count + blocks) >= rtems_rfs_fs_max_block_map_blocks (fs))
 203c1d4:	10 bf ff 30 	b  203be94 <rtems_rfs_block_map_grow+0x20>     <== NOT EXECUTED
 203c1d8:	c4 06 60 08 	ld  [ %i1 + 8 ], %g2                           <== NOT EXECUTED
              return rc;                                              
            }                                                         
          }                                                           
          else                                                        
          {                                                           
            rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
 203c1dc:	82 05 a0 08 	add  %l6, 8, %g1                               <== NOT EXECUTED
 203c1e0:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 203c1e4:	82 06 40 01 	add  %i1, %g1, %g1                             <== NOT EXECUTED
 203c1e8:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           <== NOT EXECUTED
 203c1ec:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203c1f0:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
 203c1f4:	40 00 01 cb 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 203c1f8:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
                                                  map->blocks[doubly], true);
            if (rc > 0)                                               
 203c1fc:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 203c200:	24 bf ff b2 	ble,a   203c0c8 <rtems_rfs_block_map_grow+0x254><== NOT EXECUTED
 203c204:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
            {                                                         
              rtems_rfs_group_bitmap_free (fs, false, singly_block);  
 203c208:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
 203c20c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203c210:	40 00 14 26 	call  20412a8 <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 203c214:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
              rtems_rfs_group_bitmap_free (fs, false, block);         
 203c218:	d4 07 bf f8 	ld  [ %fp + -8 ], %o2                          <== NOT EXECUTED
 203c21c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203c220:	40 00 14 22 	call  20412a8 <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 203c224:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203c228:	30 bf ff 20 	b,a   203bea8 <rtems_rfs_block_map_grow+0x34>  <== NOT EXECUTED
      *new_block = block;                                             
    map->last_data_block = block;                                     
    map->dirty = true;                                                
  }                                                                   
                                                                      
  return 0;                                                           
 203c22c:	ba 10 20 00 	clr  %i5                                       
}                                                                     
 203c230:	81 c7 e0 08 	ret                                            
 203c234:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
                                                                      
          rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
                                                singly_block, true);  
          if (rc > 0)                                                 
          {                                                           
            rtems_rfs_group_bitmap_free (fs, false, block);           
 203c238:	d4 07 bf f8 	ld  [ %fp + -8 ], %o2                          <== NOT EXECUTED
 203c23c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203c240:	40 00 14 1a 	call  20412a8 <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 203c244:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203c248:	30 bf ff 18 	b,a   203bea8 <rtems_rfs_block_map_grow+0x34>  <== NOT EXECUTED
                                                                      

0203b5e4 <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) {
 203b5e4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  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);
 203b5e8:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
 203b5ec:	94 10 20 00 	clr  %o2                                       
 203b5f0:	90 10 00 18 	mov  %i0, %o0                                  
 203b5f4:	40 00 16 9e 	call  204106c <rtems_rfs_group_bitmap_alloc>   
 203b5f8:	96 07 bf fc 	add  %fp, -4, %o3                              
  if (rc > 0)                                                         
 203b5fc:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203b600:	04 80 00 04 	ble  203b610 <rtems_rfs_block_map_indirect_alloc+0x2c><== ALWAYS TAKEN
 203b604:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
}                                                                     
 203b608:	81 c7 e0 08 	ret                                            
 203b60c:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
   * slots which are cleared when upping.                             
   */                                                                 
  rc = rtems_rfs_group_bitmap_alloc (fs, map->last_map_block, false, &new_block);
  if (rc > 0)                                                         
    return rc;                                                        
  rc = rtems_rfs_buffer_handle_request (fs, buffer, new_block, false);
 203b610:	90 10 00 18 	mov  %i0, %o0                                  
 203b614:	92 10 00 1a 	mov  %i2, %o1                                  
 203b618:	40 00 04 c2 	call  203c920 <rtems_rfs_buffer_handle_request>
 203b61c:	96 10 20 00 	clr  %o3                                       
  if (rc > 0)                                                         
 203b620:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203b624:	04 80 00 08 	ble  203b644 <rtems_rfs_block_map_indirect_alloc+0x60><== ALWAYS TAKEN
 203b628:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
  {                                                                   
    rtems_rfs_group_bitmap_free (fs, false, new_block);               
 203b62c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203b630:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203b634:	40 00 17 1d 	call  20412a8 <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 203b638:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
  map->last_map_block = new_block;                                    
  return 0;                                                           
}                                                                     
 203b63c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203b640:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_group_bitmap_free (fs, false, new_block);               
    return rc;                                                        
  }                                                                   
  memset (rtems_rfs_buffer_data (buffer), 0xff, rtems_rfs_fs_block_size (fs));
 203b644:	c2 06 a0 08 	ld  [ %i2 + 8 ], %g1                           
 203b648:	d4 06 20 08 	ld  [ %i0 + 8 ], %o2                           
 203b64c:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 203b650:	40 00 42 7c 	call  204c040 <memset>                         
 203b654:	92 10 20 ff 	mov  0xff, %o1                                 
  if (upping)                                                         
 203b658:	80 a7 20 00 	cmp  %i4, 0                                    
 203b65c:	12 80 00 08 	bne  203b67c <rtems_rfs_block_map_indirect_alloc+0x98><== ALWAYS TAKEN
 203b660:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
              map->size.count);                                       
    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);                               
 203b664:	84 10 20 01 	mov  1, %g2                                    
 203b668:	c4 2e 80 00 	stb  %g2, [ %i2 ]                              
  *block = new_block;                                                 
 203b66c:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
  map->last_map_block = new_block;                                    
 203b670:	c2 26 60 1c 	st  %g1, [ %i1 + 0x1c ]                        
  return 0;                                                           
 203b674:	10 bf ff e5 	b  203b608 <rtems_rfs_block_map_indirect_alloc+0x24>
 203b678:	ba 10 20 00 	clr  %i5                                       
  }                                                                   
  memset (rtems_rfs_buffer_data (buffer), 0xff, rtems_rfs_fs_block_size (fs));
  if (upping)                                                         
  {                                                                   
    int b;                                                            
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))             
 203b67c:	90 10 20 00 	clr  %o0                                       
 203b680:	7f ff ae 01 	call  2026e84 <rtems_rfs_trace>                
 203b684:	13 00 00 08 	sethi  %hi(0x2000), %o1                        
 203b688:	80 8a 20 ff 	btst  0xff, %o0                                
 203b68c:	32 80 00 24 	bne,a   203b71c <rtems_rfs_block_map_indirect_alloc+0x138><== NEVER TAKEN
 203b690:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203b694:	84 10 00 19 	mov  %i1, %g2                                  
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)  
{                                                                     
 203b698:	82 10 20 00 	clr  %g1                                       
    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]);         
 203b69c:	ba 10 20 01 	mov  1, %i5                                    
 203b6a0:	c6 06 a0 08 	ld  [ %i2 + 8 ], %g3                           
 203b6a4:	c8 08 a0 24 	ldub  [ %g2 + 0x24 ], %g4                      
 203b6a8:	c6 00 e0 1c 	ld  [ %g3 + 0x1c ], %g3                        
 203b6ac:	c8 28 c0 01 	stb  %g4, [ %g3 + %g1 ]                        
 203b6b0:	c6 06 a0 08 	ld  [ %i2 + 8 ], %g3                           
 203b6b4:	c8 10 a0 24 	lduh  [ %g2 + 0x24 ], %g4                      
 203b6b8:	c6 00 e0 1c 	ld  [ %g3 + 0x1c ], %g3                        
 203b6bc:	86 00 c0 01 	add  %g3, %g1, %g3                             
 203b6c0:	c8 28 e0 01 	stb  %g4, [ %g3 + 1 ]                          
 203b6c4:	c6 06 a0 08 	ld  [ %i2 + 8 ], %g3                           
 203b6c8:	c8 00 a0 24 	ld  [ %g2 + 0x24 ], %g4                        
 203b6cc:	c6 00 e0 1c 	ld  [ %g3 + 0x1c ], %g3                        
 203b6d0:	89 31 20 08 	srl  %g4, 8, %g4                               
 203b6d4:	86 00 c0 01 	add  %g3, %g1, %g3                             
 203b6d8:	c8 28 e0 02 	stb  %g4, [ %g3 + 2 ]                          
 203b6dc:	c6 06 a0 08 	ld  [ %i2 + 8 ], %g3                           
 203b6e0:	c8 00 a0 24 	ld  [ %g2 + 0x24 ], %g4                        
 203b6e4:	c6 00 e0 1c 	ld  [ %g3 + 0x1c ], %g3                        
 203b6e8:	84 00 a0 04 	add  %g2, 4, %g2                               
 203b6ec:	86 00 c0 01 	add  %g3, %g1, %g3                             
 203b6f0:	c8 28 e0 03 	stb  %g4, [ %g3 + 3 ]                          
 203b6f4:	82 00 60 04 	add  %g1, 4, %g1                               
  {                                                                   
    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++)                      
 203b6f8:	80 a0 60 14 	cmp  %g1, 0x14                                 
 203b6fc:	12 bf ff e9 	bne  203b6a0 <rtems_rfs_block_map_indirect_alloc+0xbc>
 203b700:	fa 2e 80 00 	stb  %i5, [ %i2 ]                              
      rtems_rfs_block_set_number (buffer, b, map->blocks[b]);         
    memset (map->blocks, 0, sizeof (map->blocks));                    
 203b704:	90 06 60 24 	add  %i1, 0x24, %o0                            
 203b708:	92 10 20 00 	clr  %o1                                       
 203b70c:	40 00 42 4d 	call  204c040 <memset>                         
 203b710:	94 10 20 14 	mov  0x14, %o2                                 
  }                                                                   
  rtems_rfs_buffer_mark_dirty (buffer);                               
  *block = new_block;                                                 
 203b714:	10 bf ff d4 	b  203b664 <rtems_rfs_block_map_indirect_alloc+0x80>
 203b718:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
  memset (rtems_rfs_buffer_data (buffer), 0xff, rtems_rfs_fs_block_size (fs));
  if (upping)                                                         
  {                                                                   
    int b;                                                            
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_GROW))             
      printf ("rtems-rfs: block-map-grow: upping: block-count=%" PRId32 "\n",
 203b71c:	11 00 81 b5 	sethi  %hi(0x206d400), %o0                     <== NOT EXECUTED
 203b720:	40 00 46 b9 	call  204d204 <printf>                         <== NOT EXECUTED
 203b724:	90 12 23 c8 	or  %o0, 0x3c8, %o0	! 206d7c8 <__FUNCTION__.7829+0x30><== NOT EXECUTED
 203b728:	10 bf ff dc 	b  203b698 <rtems_rfs_block_map_indirect_alloc+0xb4><== NOT EXECUTED
 203b72c:	84 10 00 19 	mov  %i1, %g2                                  <== NOT EXECUTED
                                                                      

0203b530 <rtems_rfs_block_map_indirect_shrink>: rtems_rfs_block_map_indirect_shrink (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, rtems_rfs_buffer_handle* buffer, rtems_rfs_block_no indirect, rtems_rfs_block_no index) {
 203b530:	9d e3 bf a0 	save  %sp, -96, %sp                            
   * 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) ||                                                 
 203b534:	80 a7 20 00 	cmp  %i4, 0                                    
 203b538:	22 80 00 07 	be,a   203b554 <rtems_rfs_block_map_indirect_shrink+0x24><== NEVER TAKEN
 203b53c:	b6 06 e0 08 	add  %i3, 8, %i3                               <== NOT EXECUTED
 203b540:	80 a7 20 05 	cmp  %i4, 5                                    
 203b544:	02 80 00 11 	be  203b588 <rtems_rfs_block_map_indirect_shrink+0x58>
 203b548:	80 a6 e0 00 	cmp  %i3, 0                                    
                                     rtems_rfs_block_map*     map,    
                                     rtems_rfs_buffer_handle* buffer, 
                                     rtems_rfs_block_no       indirect,
                                     rtems_rfs_block_no       index)  
{                                                                     
  int rc = 0;                                                         
 203b54c:	81 c7 e0 08 	ret                                            
 203b550:	91 e8 20 00 	restore  %g0, 0, %o0                           
   * 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];         
 203b554:	b7 2e e0 02 	sll  %i3, 2, %i3                               <== NOT EXECUTED
 203b558:	b6 06 40 1b 	add  %i1, %i3, %i3                             <== NOT EXECUTED
 203b55c:	f4 06 e0 04 	ld  [ %i3 + 4 ], %i2                           <== NOT EXECUTED
    else                                                              
    {                                                                 
      /*                                                              
       * One less singly indirect block in the inode.                 
       */                                                             
      map->blocks[indirect] = 0;                                      
 203b560:	c0 26 e0 04 	clr  [ %i3 + 4 ]                               <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
 203b564:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203b568:	92 10 20 00 	clr  %o1                                       
 203b56c:	40 00 17 4f 	call  20412a8 <rtems_rfs_group_bitmap_free>    
 203b570:	94 10 00 1a 	mov  %i2, %o2                                  
    if (rc > 0)                                                       
 203b574:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203b578:	24 80 00 02 	ble,a   203b580 <rtems_rfs_block_map_indirect_shrink+0x50><== ALWAYS TAKEN
 203b57c:	f4 26 60 1c 	st  %i2, [ %i1 + 0x1c ]                        
                                                                      
    map->last_map_block = block_to_free;                              
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 203b580:	81 c7 e0 08 	ret                                            
 203b584:	81 e8 00 00 	restore                                        
   * 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) ||                                                 
 203b588:	12 bf ff f1 	bne  203b54c <rtems_rfs_block_map_indirect_shrink+0x1c><== NEVER TAKEN
 203b58c:	84 10 20 00 	clr  %g2                                       
 203b590:	c2 06 a0 08 	ld  [ %i2 + 8 ], %g1                           
      ((indirect == 0) && (index == RTEMS_RFS_INODE_BLOCKS)))         
  {                                                                   
    rtems_rfs_block_no block_to_free = map->blocks[indirect];         
 203b594:	f4 06 60 24 	ld  [ %i1 + 0x24 ], %i2                        
 203b598:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
      /*                                                              
       * 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);      
 203b59c:	c8 08 40 00 	ldub  [ %g1 ], %g4                             
 203b5a0:	f6 08 60 01 	ldub  [ %g1 + 1 ], %i3                         
 203b5a4:	f8 08 60 03 	ldub  [ %g1 + 3 ], %i4                         
 203b5a8:	fa 08 60 02 	ldub  [ %g1 + 2 ], %i5                         
 * @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,     
 203b5ac:	86 06 40 02 	add  %i1, %g2, %g3                             
      /*                                                              
       * 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);      
 203b5b0:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 203b5b4:	b7 2e e0 10 	sll  %i3, 0x10, %i3                            
 203b5b8:	bb 2f 60 08 	sll  %i5, 8, %i5                               
 203b5bc:	88 11 00 1b 	or  %g4, %i3, %g4                              
 203b5c0:	88 11 00 1c 	or  %g4, %i4, %g4                              
 203b5c4:	88 11 00 1d 	or  %g4, %i5, %g4                              
 203b5c8:	c8 20 e0 24 	st  %g4, [ %g3 + 0x24 ]                        
 203b5cc:	84 00 a0 04 	add  %g2, 4, %g2                               
    {                                                                 
      /*                                                              
       * Move to direct inode access.                                 
       */                                                             
      int b;                                                          
      for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                    
 203b5d0:	80 a0 a0 14 	cmp  %g2, 0x14                                 
 203b5d4:	12 bf ff f2 	bne  203b59c <rtems_rfs_block_map_indirect_shrink+0x6c>
 203b5d8:	82 00 60 04 	add  %g1, 4, %g1                               
       * One less singly indirect block in the inode.                 
       */                                                             
      map->blocks[indirect] = 0;                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
 203b5dc:	10 bf ff e3 	b  203b568 <rtems_rfs_block_map_indirect_shrink+0x38>
 203b5e0:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      

0203b910 <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) {
 203b910:	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;                                                 
 203b914:	c0 2e 80 00 	clrb  [ %i2 ]                                  
  map->inode = NULL;                                                  
 203b918:	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;                                                    
 203b91c:	c0 26 a0 08 	clr  [ %i2 + 8 ]                               
  size->offset = 0;                                                   
 203b920:	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;                                                      
 203b924:	c0 26 a0 10 	clr  [ %i2 + 0x10 ]                            
  bpos->boff = 0;                                                     
 203b928:	c0 26 a0 14 	clr  [ %i2 + 0x14 ]                            
  bpos->block = 0;                                                    
 203b92c:	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;                                              
 203b930:	c0 2e a0 38 	clrb  [ %i2 + 0x38 ]                           
  handle->bnum  = 0;                                                  
 203b934:	c0 26 a0 3c 	clr  [ %i2 + 0x3c ]                            
  handle->buffer = NULL;                                              
 203b938:	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;                                              
 203b93c:	c0 2e a0 44 	clrb  [ %i2 + 0x44 ]                           
  handle->bnum  = 0;                                                  
 203b940:	c0 26 a0 48 	clr  [ %i2 + 0x48 ]                            
  handle->buffer = NULL;                                              
 203b944:	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);                              
 203b948:	90 10 00 18 	mov  %i0, %o0                                  
 203b94c:	92 10 00 19 	mov  %i1, %o1                                  
 203b950:	40 00 17 17 	call  20415ac <rtems_rfs_inode_load>           
 203b954:	ba 10 00 1a 	mov  %i2, %i5                                  
  if (rc > 0)                                                         
 203b958:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 203b95c:	14 80 00 3f 	bg  203ba58 <rtems_rfs_block_map_open+0x148>   <== NEVER TAKEN
 203b960:	88 10 00 1a 	mov  %i2, %g4                                  
 203b964:	c6 06 60 0c 	ld  [ %i1 + 0xc ], %g3                         
                                                                      
  /*                                                                  
   * Extract the block and block count data from the inode into the targets
   * byte order.                                                      
   */                                                                 
  map->inode = inode;                                                 
 203b968:	f2 26 a0 04 	st  %i1, [ %i2 + 4 ]                           
  for (b = 0; b < RTEMS_RFS_INODE_BLOCKS; b++)                        
 203b96c:	82 10 20 00 	clr  %g1                                       
 203b970:	b8 00 60 06 	add  %g1, 6, %i4                               
 203b974:	b9 2f 20 02 	sll  %i4, 2, %i4                               
 203b978:	b8 00 c0 1c 	add  %g3, %i4, %i4                             
 203b97c:	de 0f 20 04 	ldub  [ %i4 + 4 ], %o7                         
 203b980:	f4 0f 20 05 	ldub  [ %i4 + 5 ], %i2                         
 203b984:	f6 0f 20 07 	ldub  [ %i4 + 7 ], %i3                         
 203b988:	f8 0f 20 06 	ldub  [ %i4 + 6 ], %i4                         
 203b98c:	85 2b e0 18 	sll  %o7, 0x18, %g2                            
 203b990:	b5 2e a0 10 	sll  %i2, 0x10, %i2                            
 203b994:	b9 2f 20 08 	sll  %i4, 8, %i4                               
 203b998:	84 10 80 1a 	or  %g2, %i2, %g2                              
 203b99c:	84 10 80 1b 	or  %g2, %i3, %g2                              
 203b9a0:	84 10 80 1c 	or  %g2, %i4, %g2                              
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
 203b9a4:	c4 21 20 24 	st  %g2, [ %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++)                        
 203b9a8:	82 00 60 01 	inc  %g1                                       
 203b9ac:	80 a0 60 05 	cmp  %g1, 5                                    
 203b9b0:	12 bf ff f0 	bne  203b970 <rtems_rfs_block_map_open+0x60>   
 203b9b4:	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);             
 203b9b8:	c8 08 e0 0f 	ldub  [ %g3 + 0xf ], %g4                       
 203b9bc:	c2 08 e0 0c 	ldub  [ %g3 + 0xc ], %g1                       
 203b9c0:	f8 08 e0 0d 	ldub  [ %g3 + 0xd ], %i4                       
 203b9c4:	c4 08 e0 0e 	ldub  [ %g3 + 0xe ], %g2                       
 203b9c8:	b9 2f 20 10 	sll  %i4, 0x10, %i4                            
 203b9cc:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203b9d0:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 203b9d4:	82 10 40 1c 	or  %g1, %i4, %g1                              
 203b9d8:	82 10 40 04 	or  %g1, %g4, %g1                              
 203b9dc:	82 10 40 02 	or  %g1, %g2, %g1                              
    map->blocks[b] = rtems_rfs_inode_get_block (inode, b);            
  map->size.count = rtems_rfs_inode_get_block_count (inode);          
 203b9e0:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           
  map->size.offset = rtems_rfs_inode_get_block_offset (inode);        
 203b9e4:	c4 08 e0 0b 	ldub  [ %g3 + 0xb ], %g2                       
 * @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);            
 203b9e8:	c2 08 e0 0a 	ldub  [ %g3 + 0xa ], %g1                       
 203b9ec:	83 28 60 08 	sll  %g1, 8, %g1                               
 203b9f0:	82 10 80 01 	or  %g2, %g1, %g1                              
 203b9f4:	c2 27 60 0c 	st  %g1, [ %i5 + 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);          
 203b9f8:	c8 08 e0 33 	ldub  [ %g3 + 0x33 ], %g4                      
 203b9fc:	c2 08 e0 30 	ldub  [ %g3 + 0x30 ], %g1                      
 203ba00:	f8 08 e0 31 	ldub  [ %g3 + 0x31 ], %i4                      
 203ba04:	c4 08 e0 32 	ldub  [ %g3 + 0x32 ], %g2                      
 203ba08:	b9 2f 20 10 	sll  %i4, 0x10, %i4                            
 203ba0c:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203ba10:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 203ba14:	82 10 40 1c 	or  %g1, %i4, %g1                              
 203ba18:	82 10 40 04 	or  %g1, %g4, %g1                              
 203ba1c:	82 10 40 02 	or  %g1, %g2, %g1                              
  map->last_map_block = rtems_rfs_inode_get_last_map_block (inode);   
 203ba20:	c2 27 60 1c 	st  %g1, [ %i5 + 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);         
 203ba24:	c2 08 e0 34 	ldub  [ %g3 + 0x34 ], %g1                      
 203ba28:	c8 08 e0 37 	ldub  [ %g3 + 0x37 ], %g4                      
 203ba2c:	c4 08 e0 36 	ldub  [ %g3 + 0x36 ], %g2                      
 203ba30:	f8 08 e0 35 	ldub  [ %g3 + 0x35 ], %i4                      
 203ba34:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 203ba38:	87 2f 20 10 	sll  %i4, 0x10, %g3                            
 203ba3c:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203ba40:	82 10 40 03 	or  %g1, %g3, %g1                              
 203ba44:	82 10 40 04 	or  %g1, %g4, %g1                              
 203ba48:	82 10 40 02 	or  %g1, %g2, %g1                              
  map->last_data_block = rtems_rfs_inode_get_last_data_block (inode); 
 203ba4c:	c2 27 60 20 	st  %g1, [ %i5 + 0x20 ]                        
                                                                      
  rc = rtems_rfs_inode_unload (fs, inode, false);                     
 203ba50:	40 00 17 3b 	call  204173c <rtems_rfs_inode_unload>         
 203ba54:	95 e8 20 00 	restore  %g0, 0, %o2                           
 */                                                                   
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);                       
 203ba58:	92 06 a0 38 	add  %i2, 0x38, %o1                            <== NOT EXECUTED
 203ba5c:	40 00 03 37 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203ba60:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203ba64:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 203ba68:	c0 2e a0 38 	clrb  [ %i2 + 0x38 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203ba6c:	c0 26 a0 3c 	clr  [ %i2 + 0x3c ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 203ba70:	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);                       
 203ba74:	92 06 a0 44 	add  %i2, 0x44, %o1                            <== NOT EXECUTED
 203ba78:	40 00 03 30 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203ba7c:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 203ba80:	c0 2e a0 44 	clrb  [ %i2 + 0x44 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203ba84:	c0 26 a0 48 	clr  [ %i2 + 0x48 ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 203ba88:	c0 26 a0 4c 	clr  [ %i2 + 0x4c ]                            <== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
 203ba8c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ba90:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0203c24c <rtems_rfs_block_map_shrink>: int rtems_rfs_block_map_shrink (rtems_rfs_file_system* fs, rtems_rfs_block_map* map, size_t blocks) {
 203c24c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
 203c250:	90 10 20 00 	clr  %o0                                       
 203c254:	13 00 00 10 	sethi  %hi(0x4000), %o1                        
 203c258:	7f ff ab 0b 	call  2026e84 <rtems_rfs_trace>                
 203c25c:	b6 10 00 18 	mov  %i0, %i3                                  
 203c260:	80 8a 20 ff 	btst  0xff, %o0                                
 203c264:	32 80 00 b0 	bne,a   203c524 <rtems_rfs_block_map_shrink+0x2d8><== NEVER TAKEN
 203c268:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           <== NOT EXECUTED
    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
            blocks, map->size.count);                                 
                                                                      
  if (map->size.count == 0)                                           
 203c26c:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           
 203c270:	80 a7 20 00 	cmp  %i4, 0                                    
 203c274:	02 80 00 a9 	be  203c518 <rtems_rfs_block_map_shrink+0x2cc> 
 203c278:	80 a6 80 1c 	cmp  %i2, %i4                                  
 203c27c:	38 80 00 02 	bgu,a   203c284 <rtems_rfs_block_map_shrink+0x38><== NEVER TAKEN
 203c280:	b4 10 00 1c 	mov  %i4, %i2                                  <== NOT EXECUTED
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
 203c284:	80 a6 a0 00 	cmp  %i2, 0                                    
 203c288:	02 80 00 98 	be  203c4e8 <rtems_rfs_block_map_shrink+0x29c> <== NEVER TAKEN
 203c28c:	a6 06 60 44 	add  %i1, 0x44, %l3                            
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203c290:	a4 06 60 38 	add  %i1, 0x38, %l2                            
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
 203c294:	10 80 00 14 	b  203c2e4 <rtems_rfs_block_map_shrink+0x98>   
 203c298:	a2 10 20 01 	mov  1, %l1                                    
    {                                                                 
      /*                                                              
       * We have less than RTEMS_RFS_INODE_BLOCKS so they are held in the
       * inode.                                                       
       */                                                             
      block_to_free = map->blocks[block];                             
 203c29c:	b9 2f 20 02 	sll  %i4, 2, %i4                               
 203c2a0:	b8 06 40 1c 	add  %i1, %i4, %i4                             
 203c2a4:	fa 07 20 04 	ld  [ %i4 + 4 ], %i5                           
      map->blocks[block] = 0;                                         
 203c2a8:	c0 27 20 04 	clr  [ %i4 + 4 ]                               
      {                                                               
        rc = EIO;                                                     
        break;                                                        
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
 203c2ac:	90 10 00 1b 	mov  %i3, %o0                                  
 203c2b0:	92 10 20 00 	clr  %o1                                       
 203c2b4:	40 00 13 fd 	call  20412a8 <rtems_rfs_group_bitmap_free>    
 203c2b8:	94 10 00 1d 	mov  %i5, %o2                                  
    if (rc > 0)                                                       
 203c2bc:	80 a2 20 00 	cmp  %o0, 0                                    
 203c2c0:	14 80 00 63 	bg  203c44c <rtems_rfs_block_map_shrink+0x200> <== NEVER TAKEN
 203c2c4:	b4 86 bf ff 	addcc  %i2, -1, %i2                            
      return rc;                                                      
    map->size.count--;                                                
 203c2c8:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           
    map->size.offset = 0;                                             
 203c2cc:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
 203c2d0:	b8 07 3f ff 	add  %i4, -1, %i4                              
    map->size.offset = 0;                                             
    map->last_data_block = block_to_free;                             
 203c2d4:	fa 26 60 20 	st  %i5, [ %i1 + 0x20 ]                        
      }                                                               
    }                                                                 
    rc = rtems_rfs_group_bitmap_free (fs, false, block_to_free);      
    if (rc > 0)                                                       
      return rc;                                                      
    map->size.count--;                                                
 203c2d8:	f8 26 60 08 	st  %i4, [ %i1 + 8 ]                           
    return 0;                                                         
                                                                      
  if (blocks > map->size.count)                                       
    blocks = map->size.count;                                         
                                                                      
  while (blocks)                                                      
 203c2dc:	02 80 00 80 	be  203c4dc <rtems_rfs_block_map_shrink+0x290> 
 203c2e0:	e2 2e 40 00 	stb  %l1, [ %i1 ]                              
  {                                                                   
    rtems_rfs_block_no block;                                         
    rtems_rfs_block_no block_to_free;                                 
    int                rc;                                            
                                                                      
    block = map->size.count - 1;                                      
 203c2e4:	ba 07 3f ff 	add  %i4, -1, %i5                              
                                                                      
    if (block < RTEMS_RFS_INODE_BLOCKS)                               
 203c2e8:	80 a7 60 04 	cmp  %i5, 4                                    
 203c2ec:	28 bf ff ec 	bleu,a   203c29c <rtems_rfs_block_map_shrink+0x50>
 203c2f0:	b8 07 20 07 	add  %i4, 7, %i4                               
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
 203c2f4:	f0 06 e0 34 	ld  [ %i3 + 0x34 ], %i0                        
 203c2f8:	90 10 00 1d 	mov  %i5, %o0                                  
 203c2fc:	40 00 97 14 	call  2061f4c <.urem>                          
 203c300:	92 10 00 18 	mov  %i0, %o1                                  
      singly = block / fs->blocks_per_block;                          
 203c304:	92 10 00 18 	mov  %i0, %o1                                  
       * table of block numbers.                                      
       */                                                             
      rtems_rfs_block_no direct;                                      
      rtems_rfs_block_no singly;                                      
                                                                      
      direct = block % fs->blocks_per_block;                          
 203c308:	a0 10 00 08 	mov  %o0, %l0                                  
      singly = block / fs->blocks_per_block;                          
 203c30c:	40 00 96 64 	call  2061c9c <.udiv>                          
 203c310:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
      if (block < fs->block_map_singly_blocks)                        
 203c314:	c2 06 e0 38 	ld  [ %i3 + 0x38 ], %g1                        
 203c318:	80 a7 40 01 	cmp  %i5, %g1                                  
 203c31c:	0a 80 00 4e 	bcs  203c454 <rtems_rfs_block_map_shrink+0x208><== ALWAYS TAKEN
 203c320:	a8 10 00 08 	mov  %o0, %l4                                  
        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)                   
 203c324:	c2 06 e0 3c 	ld  [ %i3 + 0x3c ], %g1                        <== NOT EXECUTED
 203c328:	80 a7 40 01 	cmp  %i5, %g1                                  <== NOT EXECUTED
 203c32c:	1a 80 00 6d 	bcc  203c4e0 <rtems_rfs_block_map_shrink+0x294><== NOT EXECUTED
 203c330:	80 a7 20 00 	cmp  %i4, 0                                    <== 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;                
 203c334:	40 00 96 5a 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 203c338:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
        doubly_singly = singly % fs->blocks_per_block;                
 203c33c:	92 10 00 18 	mov  %i0, %o1                                  <== 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;                
 203c340:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
        doubly_singly = singly % fs->blocks_per_block;                
 203c344:	40 00 97 02 	call  2061f4c <.urem>                          <== NOT EXECUTED
 203c348:	90 10 00 14 	mov  %l4, %o0                                  <== NOT EXECUTED
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
 203c34c:	82 07 20 08 	add  %i4, 8, %g1                               <== NOT EXECUTED
 203c350:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 203c354:	82 06 40 01 	add  %i1, %g1, %g1                             <== NOT EXECUTED
 203c358:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           <== 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;                
 203c35c:	a8 10 00 08 	mov  %o0, %l4                                  <== NOT EXECUTED
                                                                      
        rc = rtems_rfs_buffer_handle_request (fs, &map->doubly_buffer,
 203c360:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
 203c364:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 203c368:	40 00 01 6e 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 203c36c:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
                                              map->blocks[doubly], true);
        if (rc > 0)                                                   
 203c370:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203c374:	14 80 00 36 	bg  203c44c <rtems_rfs_block_map_shrink+0x200> <== NOT EXECUTED
 203c378:	85 2d 20 02 	sll  %l4, 2, %g2                               <== NOT EXECUTED
          return rc;                                                  
                                                                      
        singly = rtems_rfs_block_get_number (&map->doubly_buffer,     
 203c37c:	c2 06 60 4c 	ld  [ %i1 + 0x4c ], %g1                        <== NOT EXECUTED
 203c380:	c6 00 60 1c 	ld  [ %g1 + 0x1c ], %g3                        <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203c384:	90 10 00 1b 	mov  %i3, %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,     
 203c388:	82 00 c0 02 	add  %g3, %g2, %g1                             <== NOT EXECUTED
 203c38c:	c6 08 c0 02 	ldub  [ %g3 + %g2 ], %g3                       <== NOT EXECUTED
 203c390:	ea 08 60 03 	ldub  [ %g1 + 3 ], %l5                         <== NOT EXECUTED
 203c394:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         <== NOT EXECUTED
 203c398:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         <== NOT EXECUTED
 203c39c:	87 28 e0 18 	sll  %g3, 0x18, %g3                            <== NOT EXECUTED
 203c3a0:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 203c3a4:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 203c3a8:	aa 15 40 03 	or  %l5, %g3, %l5                              <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203c3ac:	92 10 00 12 	mov  %l2, %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,     
 203c3b0:	aa 15 40 02 	or  %l5, %g2, %l5                              <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203c3b4:	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,     
 203c3b8:	aa 15 40 01 	or  %l5, %g1, %l5                              <== NOT EXECUTED
                                             doubly_singly);          
                                                                      
        /*                                                            
         * Read the singly indirect table and get the block number.   
         */                                                           
        rc = rtems_rfs_buffer_handle_request (fs, &map->singly_buffer,
 203c3bc:	40 00 01 59 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 203c3c0:	94 10 00 15 	mov  %l5, %o2                                  <== NOT EXECUTED
                                              singly, true);          
        if (rc > 0)                                                   
 203c3c4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203c3c8:	14 80 00 21 	bg  203c44c <rtems_rfs_block_map_shrink+0x200> <== NOT EXECUTED
 203c3cc:	85 2c 20 02 	sll  %l0, 2, %g2                               <== NOT EXECUTED
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
 203c3d0:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        <== NOT EXECUTED
 203c3d4:	c6 00 60 1c 	ld  [ %g1 + 0x1c ], %g3                        <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
 203c3d8:	80 a4 20 00 	cmp  %l0, 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,
 203c3dc:	82 00 c0 02 	add  %g3, %g2, %g1                             <== NOT EXECUTED
 203c3e0:	c6 08 c0 02 	ldub  [ %g3 + %g2 ], %g3                       <== NOT EXECUTED
 203c3e4:	fa 08 60 03 	ldub  [ %g1 + 3 ], %i5                         <== NOT EXECUTED
 203c3e8:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         <== NOT EXECUTED
 203c3ec:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         <== NOT EXECUTED
 203c3f0:	87 28 e0 18 	sll  %g3, 0x18, %g3                            <== NOT EXECUTED
 203c3f4:	85 28 a0 10 	sll  %g2, 0x10, %g2                            <== NOT EXECUTED
 203c3f8:	ba 17 40 03 	or  %i5, %g3, %i5                              <== NOT EXECUTED
 203c3fc:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 203c400:	ba 17 40 02 	or  %i5, %g2, %i5                              <== NOT EXECUTED
                                                    direct);          
                                                                      
        if (direct == 0)                                              
 203c404:	12 bf ff aa 	bne  203c2ac <rtems_rfs_block_map_shrink+0x60> <== NOT EXECUTED
 203c408:	ba 17 40 01 	or  %i5, %g1, %i5                              <== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_group_bitmap_free (fs, false, singly);       
 203c40c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 203c410:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203c414:	40 00 13 a5 	call  20412a8 <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 203c418:	94 10 00 15 	mov  %l5, %o2                                  <== NOT EXECUTED
          if (rc > 0)                                                 
 203c41c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203c420:	14 80 00 0b 	bg  203c44c <rtems_rfs_block_map_shrink+0x200> <== NOT EXECUTED
 203c424:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
            return rc;                                                
                                                                      
          map->last_map_block = singly;                               
 203c428:	ea 26 60 1c 	st  %l5, [ %i1 + 0x1c ]                        <== NOT EXECUTED
                                                                      
          rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->doubly_buffer,
 203c42c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 203c430:	94 10 00 13 	mov  %l3, %o2                                  <== NOT EXECUTED
 203c434:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
 203c438:	7f ff fc 3e 	call  203b530 <rtems_rfs_block_map_indirect_shrink><== NOT EXECUTED
 203c43c:	98 10 00 14 	mov  %l4, %o4                                  <== NOT EXECUTED
                                                    doubly, doubly_singly);
          if (rc)                                                     
 203c440:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203c444:	22 bf ff 9b 	be,a   203c2b0 <rtems_rfs_block_map_shrink+0x64><== NOT EXECUTED
 203c448:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
                                                                      
  return 0;                                                           
}                                                                     
 203c44c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203c450:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== 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,
 203c454:	82 02 20 08 	add  %o0, 8, %g1                               
 203c458:	83 28 60 02 	sll  %g1, 2, %g1                               
 203c45c:	82 06 40 01 	add  %i1, %g1, %g1                             
 203c460:	d4 00 60 04 	ld  [ %g1 + 4 ], %o2                           
 203c464:	90 10 00 1b 	mov  %i3, %o0                                  
 203c468:	92 10 00 12 	mov  %l2, %o1                                  
 203c46c:	40 00 01 2d 	call  203c920 <rtems_rfs_buffer_handle_request>
 203c470:	96 10 20 01 	mov  1, %o3                                    
                                              map->blocks[singly], true);
        if (rc > 0)                                                   
 203c474:	80 a2 20 00 	cmp  %o0, 0                                    
 203c478:	14 bf ff f5 	bg  203c44c <rtems_rfs_block_map_shrink+0x200> <== NEVER TAKEN
 203c47c:	85 2c 20 02 	sll  %l0, 2, %g2                               
          return rc;                                                  
                                                                      
        block_to_free = rtems_rfs_block_get_number (&map->singly_buffer,
 203c480:	c2 06 60 40 	ld  [ %i1 + 0x40 ], %g1                        
 203c484:	c6 00 60 1c 	ld  [ %g1 + 0x1c ], %g3                        
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
 203c488:	90 10 00 1b 	mov  %i3, %o0                                  
        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,
 203c48c:	82 00 c0 02 	add  %g3, %g2, %g1                             
 203c490:	c6 08 c0 02 	ldub  [ %g3 + %g2 ], %g3                       
 203c494:	fa 08 60 03 	ldub  [ %g1 + 3 ], %i5                         
 203c498:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         
 203c49c:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         
 203c4a0:	87 28 e0 18 	sll  %g3, 0x18, %g3                            
 203c4a4:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 203c4a8:	83 28 60 08 	sll  %g1, 8, %g1                               
 203c4ac:	ba 17 40 03 	or  %i5, %g3, %i5                              
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
 203c4b0:	92 10 00 19 	mov  %i1, %o1                                  
        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,
 203c4b4:	ba 17 40 02 	or  %i5, %g2, %i5                              
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
 203c4b8:	94 10 00 12 	mov  %l2, %o2                                  
        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,
 203c4bc:	ba 17 40 01 	or  %i5, %g1, %i5                              
                                                    direct);          
                                                                      
        rc = rtems_rfs_block_map_indirect_shrink (fs, map, &map->singly_buffer,
 203c4c0:	96 10 00 14 	mov  %l4, %o3                                  
 203c4c4:	7f ff fc 1b 	call  203b530 <rtems_rfs_block_map_indirect_shrink>
 203c4c8:	98 10 00 10 	mov  %l0, %o4                                  
                                                  singly, direct);    
        if (rc)                                                       
 203c4cc:	80 a2 20 00 	cmp  %o0, 0                                    
 203c4d0:	22 bf ff 78 	be,a   203c2b0 <rtems_rfs_block_map_shrink+0x64><== ALWAYS TAKEN
 203c4d4:	90 10 00 1b 	mov  %i3, %o0                                  
 203c4d8:	30 bf ff dd 	b,a   203c44c <rtems_rfs_block_map_shrink+0x200><== NOT EXECUTED
    map->last_data_block = block_to_free;                             
    map->dirty = true;                                                
    blocks--;                                                         
  }                                                                   
                                                                      
  if (map->size.count == 0)                                           
 203c4dc:	80 a7 20 00 	cmp  %i4, 0                                    
 203c4e0:	22 80 00 17 	be,a   203c53c <rtems_rfs_block_map_shrink+0x2f0>
 203c4e4:	c0 26 60 1c 	clr  [ %i1 + 0x1c ]                            
  }                                                                   
                                                                      
  /*                                                                  
   * Keep the position inside the map.                                
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
 203c4e8:	c4 06 60 10 	ld  [ %i1 + 0x10 ], %g2                        
 203c4ec:	80 a0 80 1c 	cmp  %g2, %i4                                  
 203c4f0:	1a 80 00 14 	bcc  203c540 <rtems_rfs_block_map_shrink+0x2f4><== NEVER TAKEN
 203c4f4:	82 07 3f ff 	add  %i4, -1, %g1                              
 203c4f8:	80 a0 40 02 	cmp  %g1, %g2                                  
 203c4fc:	12 80 00 08 	bne  203c51c <rtems_rfs_block_map_shrink+0x2d0><== NEVER TAKEN
 203c500:	90 10 20 00 	clr  %o0                                       
 203c504:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 203c508:	c4 06 60 14 	ld  [ %i1 + 0x14 ], %g2                        
 203c50c:	80 a0 80 01 	cmp  %g2, %g1                                  
 203c510:	38 80 00 0e 	bgu,a   203c548 <rtems_rfs_block_map_shrink+0x2fc><== ALWAYS TAKEN
 203c514:	f8 26 60 10 	st  %i4, [ %i1 + 0x10 ]                        
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
            blocks, map->size.count);                                 
                                                                      
  if (map->size.count == 0)                                           
    return 0;                                                         
 203c518:	90 10 20 00 	clr  %o0                                       
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
                                                                      
  return 0;                                                           
}                                                                     
 203c51c:	81 c7 e0 08 	ret                                            
 203c520:	91 e8 00 08 	restore  %g0, %o0, %o0                         
rtems_rfs_block_map_shrink (rtems_rfs_file_system* fs,                
                            rtems_rfs_block_map*   map,               
                            size_t                 blocks)            
{                                                                     
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BLOCK_MAP_SHRINK))             
    printf ("rtems-rfs: block-map-shrink: entry: blocks=%zd count=%" PRIu32 "\n",
 203c524:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 203c528:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203c52c:	40 00 43 36 	call  204d204 <printf>                         <== NOT EXECUTED
 203c530:	90 12 20 88 	or  %o0, 0x88, %o0	! 206d888 <__FUNCTION__.7829+0xf0><== NOT EXECUTED
            blocks, map->size.count);                                 
                                                                      
  if (map->size.count == 0)                                           
 203c534:	10 bf ff 4f 	b  203c270 <rtems_rfs_block_map_shrink+0x24>   <== NOT EXECUTED
 203c538:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
  }                                                                   
                                                                      
  if (map->size.count == 0)                                           
  {                                                                   
    map->last_map_block = 0;                                          
    map->last_data_block = 0;                                         
 203c53c:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            
 203c540:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
                                                                      
  /*                                                                  
   * Keep the position inside the map.                                
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
 203c544:	f8 26 60 10 	st  %i4, [ %i1 + 0x10 ]                        
 203c548:	c2 26 60 14 	st  %g1, [ %i1 + 0x14 ]                        
 203c54c:	80 a0 60 00 	cmp  %g1, 0                                    
 203c550:	02 bf ff f2 	be  203c518 <rtems_rfs_block_map_shrink+0x2cc> <== ALWAYS TAKEN
 203c554:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            
 203c558:	b8 07 3f ff 	add  %i4, -1, %i4                              <== NOT EXECUTED
                                                                      
  return 0;                                                           
 203c55c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Keep the position inside the map.                                
   */                                                                 
  if (rtems_rfs_block_pos_past_end (&map->bpos, &map->size))          
    rtems_rfs_block_size_get_bpos (&map->size, &map->bpos);           
 203c560:	f8 26 60 10 	st  %i4, [ %i1 + 0x10 ]                        <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 203c564:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203c568:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

020481a8 <rtems_rfs_buffer_bdbuf_release>: int rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer, bool modified) {
 20481a8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
 20481ac:	90 10 20 00 	clr  %o0                                       
 20481b0:	7f ff 7b 35 	call  2026e84 <rtems_rfs_trace>                
 20481b4:	92 10 20 40 	mov  0x40, %o1                                 
 20481b8:	80 8a 20 ff 	btst  0xff, %o0                                
 20481bc:	02 80 00 0b 	be  20481e8 <rtems_rfs_buffer_bdbuf_release+0x40><== ALWAYS TAKEN
 20481c0:	80 a6 60 00 	cmp  %i1, 0                                    
    printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n",
 20481c4:	d2 06 20 34 	ld  [ %i0 + 0x34 ], %o1                        <== NOT EXECUTED
 20481c8:	12 80 00 18 	bne  2048228 <rtems_rfs_buffer_bdbuf_release+0x80><== NOT EXECUTED
 20481cc:	d4 06 20 18 	ld  [ %i0 + 0x18 ], %o2                        <== NOT EXECUTED
 20481d0:	17 00 81 9b 	sethi  %hi(0x2066c00), %o3                     <== NOT EXECUTED
 20481d4:	96 12 e2 e0 	or  %o3, 0x2e0, %o3	! 2066ee0 <rtems_bdpart_shell_usage+0xc40><== NOT EXECUTED
 20481d8:	11 00 81 c0 	sethi  %hi(0x2070000), %o0                     <== NOT EXECUTED
 20481dc:	40 00 14 0a 	call  204d204 <printf>                         <== NOT EXECUTED
 20481e0:	90 12 23 20 	or  %o0, 0x320, %o0	! 2070320 <msdos_map+0x110><== NOT EXECUTED
            ((intptr_t) buffer->user),                                
            buffer->block, modified ? "(modified)" : "");             
                                                                      
  if (modified)                                                       
 20481e4:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 20481e8:	02 80 00 09 	be  204820c <rtems_rfs_buffer_bdbuf_release+0x64>
 20481ec:	90 10 00 18 	mov  %i0, %o0                                  
    sc = rtems_bdbuf_release_modified (buffer);                       
 20481f0:	7f fe fa fb 	call  2006ddc <rtems_bdbuf_release_modified>   
 20481f4:	01 00 00 00 	nop                                            
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
 20481f8:	80 a0 00 08 	cmp  %g0, %o0                                  
 20481fc:	b0 60 20 00 	subx  %g0, 0, %i0                              
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 2048200:	b0 0e 20 05 	and  %i0, 5, %i0                               
 2048204:	81 c7 e0 08 	ret                                            
 2048208:	81 e8 00 00 	restore                                        
            buffer->block, modified ? "(modified)" : "");             
                                                                      
  if (modified)                                                       
    sc = rtems_bdbuf_release_modified (buffer);                       
  else                                                                
    sc = rtems_bdbuf_release (buffer);                                
 204820c:	7f fe fa bb 	call  2006cf8 <rtems_bdbuf_release>            
 2048210:	01 00 00 00 	nop                                            
int                                                                   
rtems_rfs_buffer_bdbuf_release (rtems_rfs_buffer* buffer,             
                                bool              modified)           
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
 2048214:	80 a0 00 08 	cmp  %g0, %o0                                  
 2048218:	b0 60 20 00 	subx  %g0, 0, %i0                              
#endif                                                                
    rc = EIO;                                                         
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 204821c:	b0 0e 20 05 	and  %i0, 5, %i0                               
 2048220:	81 c7 e0 08 	ret                                            
 2048224:	81 e8 00 00 	restore                                        
{                                                                     
  rtems_status_code sc;                                               
  int               rc = 0;                                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
    printf ("rtems-rfs: bdbuf-release: block=%" PRIuPTR " bdbuf=%" PRIu32 " %s\n",
 2048228:	17 00 81 c0 	sethi  %hi(0x2070000), %o3                     <== NOT EXECUTED
 204822c:	10 bf ff eb 	b  20481d8 <rtems_rfs_buffer_bdbuf_release+0x30><== NOT EXECUTED
 2048230:	96 12 e3 10 	or  %o3, 0x310, %o3	! 2070310 <msdos_map+0x100><== NOT EXECUTED
                                                                      

0203cff0 <rtems_rfs_buffer_close>: return 0; } int rtems_rfs_buffer_close (rtems_rfs_file_system* fs) {
 203cff0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
 203cff4:	90 10 20 00 	clr  %o0                                       
 203cff8:	92 10 20 10 	mov  0x10, %o1                                 
 203cffc:	7f ff a7 a2 	call  2026e84 <rtems_rfs_trace>                
 203d000:	ba 10 00 18 	mov  %i0, %i5                                  
 203d004:	80 8a 20 ff 	btst  0xff, %o0                                
 203d008:	12 80 00 15 	bne  203d05c <rtems_rfs_buffer_close+0x6c>     <== NEVER TAKEN
 203d00c:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     
                                                                      
  /*                                                                  
   * 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));
 203d010:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 203d014:	90 10 00 1d 	mov  %i5, %o0                                  
 203d018:	7f ff ff ad 	call  203cecc <rtems_rfs_buffer_setblksize>    
 203d01c:	d2 00 60 20 	ld  [ %g1 + 0x20 ], %o1                        
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))     
 203d020:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203d024:	04 80 00 07 	ble  203d040 <rtems_rfs_buffer_close+0x50>     <== ALWAYS TAKEN
 203d028:	90 10 20 00 	clr  %o0                                       
 203d02c:	7f ff a7 96 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d030:	92 10 20 10 	mov  0x10, %o1                                 <== NOT EXECUTED
 203d034:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d038:	12 80 00 1f 	bne  203d0b4 <rtems_rfs_buffer_close+0xc4>     <== NOT EXECUTED
 203d03c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    printf ("rtems-rfs: buffer-close: set media block size failed: %d: %s\n",
            rc, strerror (rc));                                       
                                                                      
  if (close (fs->device) < 0)                                         
 203d040:	7f ff 2f f6 	call  2009018 <close>                          
 203d044:	d0 07 60 0c 	ld  [ %i5 + 0xc ], %o0                         
 203d048:	80 a2 20 00 	cmp  %o0, 0                                    
 203d04c:	06 80 00 08 	bl  203d06c <rtems_rfs_buffer_close+0x7c>      <== NEVER TAKEN
 203d050:	01 00 00 00 	nop                                            
      printf ("rtems-rfs: buffer-close: file close failed: %d: %s\n", 
              rc, strerror (rc));                                     
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 203d054:	81 c7 e0 08 	ret                                            
 203d058:	81 e8 00 00 	restore                                        
rtems_rfs_buffer_close (rtems_rfs_file_system* fs)                    
{                                                                     
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))                 
    printf ("rtems-rfs: buffer-close: closing\n");                    
 203d05c:	40 00 41 02 	call  204d464 <puts>                           <== NOT EXECUTED
 203d060:	90 12 21 60 	or  %o0, 0x160, %o0                            <== 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));
 203d064:	10 bf ff ec 	b  203d014 <rtems_rfs_buffer_close+0x24>       <== NOT EXECUTED
 203d068:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        <== NOT EXECUTED
    printf ("rtems-rfs: buffer-close: set media block size failed: %d: %s\n",
            rc, strerror (rc));                                       
                                                                      
  if (close (fs->device) < 0)                                         
  {                                                                   
    rc = errno;                                                       
 203d06c:	40 00 2e 27 	call  2048908 <__errno>                        <== NOT EXECUTED
 203d070:	01 00 00 00 	nop                                            <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))               
 203d074:	92 10 20 10 	mov  0x10, %o1	! 10 <PROM_START+0x10>          <== NOT EXECUTED
    printf ("rtems-rfs: buffer-close: set media block size failed: %d: %s\n",
            rc, strerror (rc));                                       
                                                                      
  if (close (fs->device) < 0)                                         
  {                                                                   
    rc = errno;                                                       
 203d078:	f0 02 00 00 	ld  [ %o0 ], %i0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))               
 203d07c:	7f ff a7 82 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d080:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d084:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d088:	02 80 00 09 	be  203d0ac <rtems_rfs_buffer_close+0xbc>      <== NOT EXECUTED
 203d08c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: buffer-close: file close failed: %d: %s\n", 
 203d090:	40 00 49 b6 	call  204f768 <strerror>                       <== NOT EXECUTED
 203d094:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203d098:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 203d09c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203d0a0:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203d0a4:	40 00 40 58 	call  204d204 <printf>                         <== NOT EXECUTED
 203d0a8:	90 12 21 c8 	or  %o0, 0x1c8, %o0	! 206ddc8 <__FUNCTION__.7829+0x630><== NOT EXECUTED
              rc, strerror (rc));                                     
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 203d0ac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203d0b0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   * all buffers.                                                     
   */                                                                 
  rc = rtems_rfs_buffer_setblksize (fs, rtems_rfs_fs_media_block_size (fs));
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CLOSE))     
    printf ("rtems-rfs: buffer-close: set media block size failed: %d: %s\n",
 203d0b4:	40 00 49 ad 	call  204f768 <strerror>                       <== NOT EXECUTED
 203d0b8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203d0bc:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 203d0c0:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203d0c4:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203d0c8:	40 00 40 4f 	call  204d204 <printf>                         <== NOT EXECUTED
 203d0cc:	90 12 21 88 	or  %o0, 0x188, %o0	! 206dd88 <__FUNCTION__.7829+0x5f0><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  if (close (fs->device) < 0)                                         
 203d0d0:	7f ff 2f d2 	call  2009018 <close>                          <== NOT EXECUTED
 203d0d4:	d0 07 60 0c 	ld  [ %i5 + 0xc ], %o0                         <== NOT EXECUTED
 203d0d8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203d0dc:	16 bf ff f4 	bge  203d0ac <rtems_rfs_buffer_close+0xbc>     <== NOT EXECUTED
 203d0e0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 203d0e4:	30 bf ff e2 	b,a   203d06c <rtems_rfs_buffer_close+0x7c>    <== NOT EXECUTED
                                                                      

0203c738 <rtems_rfs_buffer_handle_release>: } int rtems_rfs_buffer_handle_release (rtems_rfs_file_system* fs, rtems_rfs_buffer_handle* handle) {
 203c738:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_buffer_handle_has_block (handle))                     
 203c73c:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 203c740:	80 a0 60 00 	cmp  %g1, 0                                    
 203c744:	02 80 00 13 	be  203c790 <rtems_rfs_buffer_handle_release+0x58>
 203c748:	b8 10 20 00 	clr  %i4                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))      
 203c74c:	90 10 20 00 	clr  %o0                                       
 203c750:	7f ff a9 cd 	call  2026e84 <rtems_rfs_trace>                
 203c754:	92 10 22 00 	mov  0x200, %o1                                
 203c758:	80 8a 20 ff 	btst  0xff, %o0                                
 203c75c:	32 80 00 0f 	bne,a   203c798 <rtems_rfs_buffer_handle_release+0x60><== NEVER TAKEN
 203c760:	c2 0e 40 00 	ldub  [ %i1 ], %g1                             <== 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)                           
 203c764:	d0 06 60 08 	ld  [ %i1 + 8 ], %o0                           
 203c768:	fa 02 20 30 	ld  [ %o0 + 0x30 ], %i5                        
 203c76c:	80 a7 60 00 	cmp  %i5, 0                                    
 203c770:	04 80 00 05 	ble  203c784 <rtems_rfs_buffer_handle_release+0x4c><== NEVER TAKEN
 203c774:	01 00 00 00 	nop                                            
      rtems_rfs_buffer_refs_down (handle);                            
 203c778:	ba 07 7f ff 	add  %i5, -1, %i5                              
 203c77c:	fa 22 20 30 	st  %i5, [ %o0 + 0x30 ]                        
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
 203c780:	80 a7 60 00 	cmp  %i5, 0                                    
 203c784:	02 80 00 15 	be  203c7d8 <rtems_rfs_buffer_handle_release+0xa0>
 203c788:	b8 10 20 00 	clr  %i4                                       
          rtems_chain_append (&fs->release, rtems_rfs_buffer_link (handle));
          fs->release_count++;                                        
        }                                                             
      }                                                               
    }                                                                 
    handle->buffer = NULL;                                            
 203c78c:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 203c790:	81 c7 e0 08 	ret                                            
 203c794:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
  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",
 203c798:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 203c79c:	12 80 00 28 	bne  203c83c <rtems_rfs_buffer_handle_release+0x104><== NOT EXECUTED
 203c7a0:	d2 06 60 04 	ld  [ %i1 + 4 ], %o1                           <== 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" : "");
 203c7a4:	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",
 203c7a8:	15 00 81 9b 	sethi  %hi(0x2066c00), %o2                     <== 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" : "");
 203c7ac:	d6 00 60 30 	ld  [ %g1 + 0x30 ], %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",
 203c7b0:	80 a2 e0 00 	cmp  %o3, 0                                    <== NOT EXECUTED
 203c7b4:	12 80 00 28 	bne  203c854 <rtems_rfs_buffer_handle_release+0x11c><== NOT EXECUTED
 203c7b8:	94 12 a2 e0 	or  %o2, 0x2e0, %o2                            <== NOT EXECUTED
 203c7bc:	19 00 81 b6 	sethi  %hi(0x206d800), %o4                     <== NOT EXECUTED
 203c7c0:	98 13 21 58 	or  %o4, 0x158, %o4	! 206d958 <__FUNCTION__.7829+0x1c0><== NOT EXECUTED
 203c7c4:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203c7c8:	40 00 42 8f 	call  204d204 <printf>                         <== NOT EXECUTED
 203c7cc:	90 12 21 68 	or  %o0, 0x168, %o0	! 206d968 <__FUNCTION__.7829+0x1d0><== 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)                           
 203c7d0:	10 bf ff e6 	b  203c768 <rtems_rfs_buffer_handle_release+0x30><== NOT EXECUTED
 203c7d4:	d0 06 60 08 	ld  [ %i1 + 8 ], %o0                           <== NOT EXECUTED
 203c7d8:	7f ff ca 52 	call  202f120 <_Chain_Extract>                 
 203c7dc:	01 00 00 00 	nop                                            
      rtems_rfs_buffer_refs_down (handle);                            
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
    {                                                                 
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
 203c7e0:	c4 06 20 50 	ld  [ %i0 + 0x50 ], %g2                        
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
 203c7e4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
      rtems_rfs_buffer_refs_down (handle);                            
                                                                      
    if (rtems_rfs_buffer_refs (handle) == 0)                          
    {                                                                 
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
 203c7e8:	84 00 bf ff 	add  %g2, -1, %g2                              
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
 203c7ec:	80 88 60 02 	btst  2, %g1                                   
 203c7f0:	12 80 00 1c 	bne  203c860 <rtems_rfs_buffer_handle_release+0x128>
 203c7f4:	c4 26 20 50 	st  %g2, [ %i0 + 0x50 ]                        
         * 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 +                                      
 203c7f8:	c6 06 20 70 	ld  [ %i0 + 0x70 ], %g3                        
 203c7fc:	c4 06 20 60 	ld  [ %i0 + 0x60 ], %g2                        
 203c800:	c2 06 20 40 	ld  [ %i0 + 0x40 ], %g1                        
 203c804:	84 00 c0 02 	add  %g3, %g2, %g2                             
 203c808:	80 a0 80 01 	cmp  %g2, %g1                                  
 203c80c:	1a 80 00 21 	bcc  203c890 <rtems_rfs_buffer_handle_release+0x158>
 203c810:	b8 10 00 1d 	mov  %i5, %i4                                  
          }                                                           
          buffer->user = (void*) 0;                                   
          rc = rtems_rfs_buffer_io_release (buffer, modified);        
        }                                                             
                                                                      
        if (rtems_rfs_buffer_dirty (handle))                          
 203c814:	c2 0e 40 00 	ldub  [ %i1 ], %g1                             
 203c818:	80 a0 60 00 	cmp  %g1, 0                                    
 203c81c:	02 80 00 17 	be  203c878 <rtems_rfs_buffer_handle_release+0x140>
 203c820:	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 );                               
 203c824:	7f ff 49 5e 	call  200ed9c <_Chain_Append>                  
 203c828:	90 06 20 64 	add  %i0, 0x64, %o0                            
        {                                                             
          rtems_chain_append (&fs->release_modified,                  
                              rtems_rfs_buffer_link (handle));        
          fs->release_modified_count++;                               
 203c82c:	c2 06 20 70 	ld  [ %i0 + 0x70 ], %g1                        
 203c830:	82 00 60 01 	inc  %g1                                       
 203c834:	10 bf ff d6 	b  203c78c <rtems_rfs_buffer_handle_release+0x54>
 203c838:	c2 26 20 70 	st  %g1, [ %i0 + 0x70 ]                        
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))      
      printf ("rtems-rfs: buffer-release: block=%" PRIu32 " %s refs=%d %s\n",
              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" : "");
 203c83c:	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",
 203c840:	15 00 81 b6 	sethi  %hi(0x206d800), %o2                     <== 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" : "");
 203c844:	d6 00 60 30 	ld  [ %g1 + 0x30 ], %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",
 203c848:	80 a2 e0 00 	cmp  %o3, 0                                    <== NOT EXECUTED
 203c84c:	02 bf ff dc 	be  203c7bc <rtems_rfs_buffer_handle_release+0x84><== NOT EXECUTED
 203c850:	94 12 a1 50 	or  %o2, 0x150, %o2                            <== NOT EXECUTED
 203c854:	19 00 81 9b 	sethi  %hi(0x2066c00), %o4                     <== NOT EXECUTED
 203c858:	10 bf ff db 	b  203c7c4 <rtems_rfs_buffer_handle_release+0x8c><== NOT EXECUTED
 203c85c:	98 13 22 e0 	or  %o4, 0x2e0, %o4	! 2066ee0 <rtems_bdpart_shell_usage+0xc40><== NOT EXECUTED
      rtems_chain_extract (rtems_rfs_buffer_link (handle));           
      fs->buffers_count--;                                            
                                                                      
      if (rtems_rfs_fs_no_local_cache (fs))                           
      {                                                               
        handle->buffer->user = (void*) 0;                             
 203c860:	d0 06 60 08 	ld  [ %i1 + 8 ], %o0                           
        rc = rtems_rfs_buffer_io_release (handle->buffer,             
 203c864:	d2 0e 40 00 	ldub  [ %i1 ], %o1                             
 203c868:	40 00 2e 50 	call  20481a8 <rtems_rfs_buffer_bdbuf_release> 
 203c86c:	c0 22 20 34 	clr  [ %o0 + 0x34 ]                            
 203c870:	10 bf ff c7 	b  203c78c <rtems_rfs_buffer_handle_release+0x54>
 203c874:	b8 10 00 08 	mov  %o0, %i4                                  
 203c878:	7f ff 49 49 	call  200ed9c <_Chain_Append>                  
 203c87c:	90 06 20 54 	add  %i0, 0x54, %o0                            
          fs->release_modified_count++;                               
        }                                                             
        else                                                          
        {                                                             
          rtems_chain_append (&fs->release, rtems_rfs_buffer_link (handle));
          fs->release_count++;                                        
 203c880:	c2 06 20 60 	ld  [ %i0 + 0x60 ], %g1                        
 203c884:	82 00 60 01 	inc  %g1                                       
 203c888:	10 bf ff c1 	b  203c78c <rtems_rfs_buffer_handle_release+0x54>
 203c88c:	c2 26 20 60 	st  %g1, [ %i0 + 0x60 ]                        
             fs->release_modified_count) >= fs->max_held_buffers)     
        {                                                             
          rtems_rfs_buffer* buffer;                                   
          bool              modified;                                 
                                                                      
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))
 203c890:	90 10 20 00 	clr  %o0                                       
 203c894:	7f ff a9 7c 	call  2026e84 <rtems_rfs_trace>                
 203c898:	92 10 22 00 	mov  0x200, %o1                                
 203c89c:	80 8a 20 ff 	btst  0xff, %o0                                
 203c8a0:	32 80 00 19 	bne,a   203c904 <rtems_rfs_buffer_handle_release+0x1cc><== NEVER TAKEN
 203c8a4:	d2 06 20 70 	ld  [ %i0 + 0x70 ], %o1                        <== NOT EXECUTED
            printf ("rtems-rfs: buffer-release: local cache overflow:"
                    " %" PRIu32 "\n", fs->release_count + fs->release_modified_count);
                                                                      
          if (fs->release_count > fs->release_modified_count)         
 203c8a8:	c4 06 20 60 	ld  [ %i0 + 0x60 ], %g2                        
 203c8ac:	c2 06 20 70 	ld  [ %i0 + 0x70 ], %g1                        
 203c8b0:	80 a0 80 01 	cmp  %g2, %g1                                  
 203c8b4:	08 80 00 0d 	bleu  203c8e8 <rtems_rfs_buffer_handle_release+0x1b0>
 203c8b8:	01 00 00 00 	nop                                            
 */                                                                   
RTEMS_INLINE_ROUTINE rtems_chain_node *rtems_chain_get(               
  rtems_chain_control *the_chain                                      
)                                                                     
{                                                                     
  return _Chain_Get( the_chain );                                     
 203c8bc:	7f ff 49 43 	call  200edc8 <_Chain_Get>                     
 203c8c0:	90 06 20 54 	add  %i0, 0x54, %o0                            
          {                                                           
            buffer = (rtems_rfs_buffer*) rtems_chain_get (&fs->release);
            fs->release_count--;                                      
 203c8c4:	c2 06 20 60 	ld  [ %i0 + 0x60 ], %g1                        
            modified = false;                                         
 203c8c8:	92 10 20 00 	clr  %o1                                       
                    " %" 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--;                                      
 203c8cc:	82 00 7f ff 	add  %g1, -1, %g1                              
 203c8d0:	c2 26 20 60 	st  %g1, [ %i0 + 0x60 ]                        
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
            modified = true;                                          
          }                                                           
          buffer->user = (void*) 0;                                   
 203c8d4:	c0 22 20 34 	clr  [ %o0 + 0x34 ]                            
          rc = rtems_rfs_buffer_io_release (buffer, modified);        
 203c8d8:	40 00 2e 34 	call  20481a8 <rtems_rfs_buffer_bdbuf_release> 
 203c8dc:	92 0a 60 01 	and  %o1, 1, %o1                               
 203c8e0:	10 bf ff cd 	b  203c814 <rtems_rfs_buffer_handle_release+0xdc>
 203c8e4:	b8 10 00 08 	mov  %o0, %i4                                  
 203c8e8:	7f ff 49 38 	call  200edc8 <_Chain_Get>                     
 203c8ec:	90 06 20 64 	add  %i0, 0x64, %o0                            
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
 203c8f0:	c2 06 20 70 	ld  [ %i0 + 0x70 ], %g1                        
            modified = true;                                          
 203c8f4:	92 10 20 01 	mov  1, %o1                                    
          }                                                           
          else                                                        
          {                                                           
            buffer =                                                  
              (rtems_rfs_buffer*) rtems_chain_get (&fs->release_modified);
            fs->release_modified_count--;                             
 203c8f8:	82 00 7f ff 	add  %g1, -1, %g1                              
 203c8fc:	10 bf ff f6 	b  203c8d4 <rtems_rfs_buffer_handle_release+0x19c>
 203c900:	c2 26 20 70 	st  %g1, [ %i0 + 0x70 ]                        
        {                                                             
          rtems_rfs_buffer* buffer;                                   
          bool              modified;                                 
                                                                      
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_RELEASE))
            printf ("rtems-rfs: buffer-release: local cache overflow:"
 203c904:	c2 06 20 60 	ld  [ %i0 + 0x60 ], %g1                        <== NOT EXECUTED
 203c908:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203c90c:	92 02 40 01 	add  %o1, %g1, %o1                             <== NOT EXECUTED
 203c910:	40 00 42 3d 	call  204d204 <printf>                         <== NOT EXECUTED
 203c914:	90 12 21 a0 	or  %o0, 0x1a0, %o0                            <== NOT EXECUTED
                    " %" PRIu32 "\n", fs->release_count + fs->release_modified_count);
                                                                      
          if (fs->release_count > fs->release_modified_count)         
 203c918:	10 bf ff e5 	b  203c8ac <rtems_rfs_buffer_handle_release+0x174><== NOT EXECUTED
 203c91c:	c4 06 20 60 	ld  [ %i0 + 0x60 ], %g2                        <== NOT EXECUTED
                                                                      

0203c920 <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) {
 203c920:	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))                     
 203c924:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 203c928:	80 a0 60 00 	cmp  %g1, 0                                    
 203c92c:	02 80 00 17 	be  203c988 <rtems_rfs_buffer_handle_request+0x68>
 203c930:	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))           
 203c934:	80 a6 a0 00 	cmp  %i2, 0                                    
 203c938:	02 80 00 06 	be  203c950 <rtems_rfs_buffer_handle_request+0x30><== NEVER TAKEN
 203c93c:	90 10 20 00 	clr  %o0                                       
 203c940:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 203c944:	80 a0 40 1a 	cmp  %g1, %i2                                  
 203c948:	02 80 00 40 	be  203ca48 <rtems_rfs_buffer_handle_request+0x128>
 203c94c:	01 00 00 00 	nop                                            
      return 0;                                                       
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
 203c950:	7f ff a9 4d 	call  2026e84 <rtems_rfs_trace>                
 203c954:	92 10 21 00 	mov  0x100, %o1	! 100 <PROM_START+0x100>       
 203c958:	80 8a 20 ff 	btst  0xff, %o0                                
 203c95c:	32 80 00 3d 	bne,a   203ca50 <rtems_rfs_buffer_handle_request+0x130><== NEVER TAKEN
 203c960:	d2 06 60 04 	ld  [ %i1 + 4 ], %o1                           <== NOT EXECUTED
      printf ("rtems-rfs: buffer-request: handle has buffer: %" PRIu32 "\n",
              rtems_rfs_buffer_bnum (handle));                        
                                                                      
    rc = rtems_rfs_buffer_handle_release (fs, handle);                
 203c964:	90 10 00 1d 	mov  %i5, %o0                                  
 203c968:	7f ff ff 74 	call  203c738 <rtems_rfs_buffer_handle_release>
 203c96c:	92 10 00 19 	mov  %i1, %o1                                  
    if (rc > 0)                                                       
 203c970:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203c974:	24 80 00 04 	ble,a   203c984 <rtems_rfs_buffer_handle_request+0x64><== ALWAYS TAKEN
 203c978:	c0 2e 40 00 	clrb  [ %i1 ]                                  
    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;                                                           
}                                                                     
 203c97c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203c980:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_buffer_handle_release (fs, handle);                
    if (rc > 0)                                                       
      return rc;                                                      
    handle->dirty = false;                                            
    handle->bnum = 0;                                                 
 203c984:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
 203c988:	90 10 20 00 	clr  %o0                                       
 203c98c:	7f ff a9 3e 	call  2026e84 <rtems_rfs_trace>                
 203c990:	92 10 21 00 	mov  0x100, %o1                                
 203c994:	80 8a 20 ff 	btst  0xff, %o0                                
 203c998:	32 80 00 5b 	bne,a   203cb04 <rtems_rfs_buffer_handle_request+0x1e4><== NEVER TAKEN
 203c99c:	92 10 00 1a 	mov  %i2, %o1                                  <== 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)                                              
 203c9a0:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        
 203c9a4:	80 a0 60 00 	cmp  %g1, 0                                    
 203c9a8:	12 80 00 44 	bne  203cab8 <rtems_rfs_buffer_handle_request+0x198>
 203c9ac:	90 07 60 44 	add  %i5, 0x44, %o0                            
 203c9b0:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
  /*                                                                  
   * 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) &&                            
 203c9b4:	c4 07 40 00 	ld  [ %i5 ], %g2                               
 203c9b8:	80 88 a0 02 	btst  2, %g2                                   
 203c9bc:	02 80 00 2a 	be  203ca64 <rtems_rfs_buffer_handle_request+0x144>
 203c9c0:	80 a0 60 00 	cmp  %g1, 0                                    
  }                                                                   
                                                                      
  /*                                                                  
   * If not located we request the buffer from the I/O layer.         
   */                                                                 
  if (!rtems_rfs_buffer_handle_has_block (handle))                    
 203c9c4:	02 80 00 65 	be  203cb58 <rtems_rfs_buffer_handle_request+0x238><== ALWAYS TAKEN
 203c9c8:	90 10 00 1d 	mov  %i5, %o0                                  
  }                                                                   
                                                                      
  /*                                                                  
   * Increase the reference count of the buffer.                      
   */                                                                 
  rtems_rfs_buffer_refs_up (handle);                                  
 203c9cc:	c4 00 60 30 	ld  [ %g1 + 0x30 ], %g2                        
RTEMS_INLINE_ROUTINE void rtems_chain_append(                         
  rtems_chain_control *the_chain,                                     
  rtems_chain_node    *the_node                                       
)                                                                     
{                                                                     
  _Chain_Append( the_chain, the_node );                               
 203c9d0:	92 10 00 01 	mov  %g1, %o1                                  
 203c9d4:	84 00 a0 01 	inc  %g2                                       
 203c9d8:	90 07 60 44 	add  %i5, 0x44, %o0                            
 203c9dc:	7f ff 48 f0 	call  200ed9c <_Chain_Append>                  
 203c9e0:	c4 20 60 30 	st  %g2, [ %g1 + 0x30 ]                        
  rtems_chain_append (&fs->buffers, rtems_rfs_buffer_link (handle));  
  fs->buffers_count++;                                                
 203c9e4:	c4 07 60 50 	ld  [ %i5 + 0x50 ], %g2                        
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
 203c9e8:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
  /*                                                                  
   * 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++;                                                
 203c9ec:	84 00 a0 01 	inc  %g2                                       
 203c9f0:	c4 27 60 50 	st  %g2, [ %i5 + 0x50 ]                        
                                                                      
  handle->buffer->user = (void*) ((intptr_t) block);                  
 203c9f4:	f4 20 60 34 	st  %i2, [ %g1 + 0x34 ]                        
  handle->bnum = block;                                               
 203c9f8:	f4 26 60 04 	st  %i2, [ %i1 + 4 ]                           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
 203c9fc:	90 10 20 00 	clr  %o0                                       
 203ca00:	7f ff a9 21 	call  2026e84 <rtems_rfs_trace>                
 203ca04:	92 10 21 00 	mov  0x100, %o1                                
 203ca08:	80 8a 20 ff 	btst  0xff, %o0                                
 203ca0c:	02 80 00 0f 	be  203ca48 <rtems_rfs_buffer_handle_request+0x128><== ALWAYS TAKEN
 203ca10:	80 a6 e0 00 	cmp  %i3, 0                                    
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 " bdbuf-%s=%" PRIu32 " refs=%d\n",
 203ca14:	02 80 00 41 	be  203cb18 <rtems_rfs_buffer_handle_request+0x1f8><== NOT EXECUTED
 203ca18:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
            block, read ? "read" : "get", handle->buffer->block,      
            handle->buffer->references);                              
                                                                      
  return 0;                                                           
 203ca1c:	b0 10 20 00 	clr  %i0                                       <== 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",
 203ca20:	d6 00 60 18 	ld  [ %g1 + 0x18 ], %o3                        <== NOT EXECUTED
 203ca24:	d8 00 60 30 	ld  [ %g1 + 0x30 ], %o4                        <== NOT EXECUTED
 203ca28:	15 00 81 a7 	sethi  %hi(0x2069c00), %o2                     <== NOT EXECUTED
 203ca2c:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203ca30:	94 12 a3 20 	or  %o2, 0x320, %o2                            <== NOT EXECUTED
 203ca34:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 203ca38:	40 00 41 f3 	call  204d204 <printf>                         <== NOT EXECUTED
 203ca3c:	90 12 22 b0 	or  %o0, 0x2b0, %o0                            <== NOT EXECUTED
 203ca40:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ca44:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
    /*                                                                
     * Treat block 0 as special to handle the loading of the super block.
     */                                                               
    if (block && (rtems_rfs_buffer_bnum (handle) == block))           
      return 0;                                                       
 203ca48:	81 c7 e0 08 	ret                                            
 203ca4c:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
      printf ("rtems-rfs: buffer-request: handle has buffer: %" PRIu32 "\n",
 203ca50:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203ca54:	40 00 41 ec 	call  204d204 <printf>                         <== NOT EXECUTED
 203ca58:	90 12 21 e0 	or  %o0, 0x1e0, %o0	! 206d9e0 <__FUNCTION__.7829+0x248><== NOT EXECUTED
              rtems_rfs_buffer_bnum (handle));                        
                                                                      
    rc = rtems_rfs_buffer_handle_release (fs, handle);                
 203ca5c:	10 bf ff c3 	b  203c968 <rtems_rfs_buffer_handle_request+0x48><== NOT EXECUTED
 203ca60:	90 10 00 1d 	mov  %i5, %o0                                  <== 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) &&                            
 203ca64:	32 bf ff db 	bne,a   203c9d0 <rtems_rfs_buffer_handle_request+0xb0>
 203ca68:	c4 00 60 30 	ld  [ %g1 + 0x30 ], %g2                        
      !rtems_rfs_buffer_handle_has_block (handle))                    
  {                                                                   
    /*                                                                
     * Check the local cache of released buffers.                     
     */                                                               
    if (fs->release_count)                                            
 203ca6c:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        
 203ca70:	80 a0 60 00 	cmp  %g1, 0                                    
 203ca74:	12 80 00 5a 	bne  203cbdc <rtems_rfs_buffer_handle_request+0x2bc>
 203ca78:	90 07 60 54 	add  %i5, 0x54, %o0                            
      handle->buffer = rtems_rfs_scan_chain (&fs->release,            
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
 203ca7c:	c2 07 60 70 	ld  [ %i5 + 0x70 ], %g1                        
 203ca80:	80 a0 60 00 	cmp  %g1, 0                                    
 203ca84:	02 80 00 35 	be  203cb58 <rtems_rfs_buffer_handle_request+0x238>
 203ca88:	90 10 00 1d 	mov  %i5, %o0                                  
        fs->release_modified_count)                                   
    {                                                                 
      handle->buffer = rtems_rfs_scan_chain (&fs->release_modified,   
 203ca8c:	90 07 60 64 	add  %i5, 0x64, %o0                            
 203ca90:	92 07 60 70 	add  %i5, 0x70, %o1                            
 203ca94:	7f ff fe e1 	call  203c618 <rtems_rfs_scan_chain>           
 203ca98:	94 10 00 1a 	mov  %i2, %o2                                  
 203ca9c:	d0 26 60 08 	st  %o0, [ %i1 + 8 ]                           
                                             &fs->release_modified_count,
                                             block);                  
      /*                                                              
       * If we found a buffer retain the dirty buffer state.          
       */                                                             
      if (rtems_rfs_buffer_handle_has_block (handle))                 
 203caa0:	80 a2 20 00 	cmp  %o0, 0                                    
 203caa4:	02 80 00 2c 	be  203cb54 <rtems_rfs_buffer_handle_request+0x234>
 203caa8:	82 10 00 08 	mov  %o0, %g1                                  
        rtems_rfs_buffer_mark_dirty (handle);                         
 203caac:	84 10 20 01 	mov  1, %g2                                    
 203cab0:	10 bf ff c7 	b  203c9cc <rtems_rfs_buffer_handle_request+0xac>
 203cab4:	c4 2e 40 00 	stb  %g2, [ %i1 ]                              
  if (fs->buffers_count)                                              
  {                                                                   
    /*                                                                
     * Check the active buffer list for shared buffers.               
     */                                                               
    handle->buffer = rtems_rfs_scan_chain (&fs->buffers,              
 203cab8:	92 07 60 50 	add  %i5, 0x50, %o1                            
 203cabc:	7f ff fe d7 	call  203c618 <rtems_rfs_scan_chain>           
 203cac0:	94 10 00 1a 	mov  %i2, %o2                                  
                                           &fs->buffers_count,        
                                           block);                    
    if (rtems_rfs_buffer_handle_has_block (handle) &&                 
 203cac4:	80 a2 20 00 	cmp  %o0, 0                                    
 203cac8:	02 80 00 1f 	be  203cb44 <rtems_rfs_buffer_handle_request+0x224>
 203cacc:	d0 26 60 08 	st  %o0, [ %i1 + 8 ]                           
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
 203cad0:	90 10 20 00 	clr  %o0                                       
 203cad4:	7f ff a8 ec 	call  2026e84 <rtems_rfs_trace>                
 203cad8:	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) &&                 
 203cadc:	80 8a 20 ff 	btst  0xff, %o0                                
 203cae0:	02 bf ff b5 	be  203c9b4 <rtems_rfs_buffer_handle_request+0x94><== ALWAYS TAKEN
 203cae4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
        rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))      
      printf ("rtems-rfs: buffer-request: buffer shared: refs: %d\n", 
 203cae8:	d2 00 60 30 	ld  [ %g1 + 0x30 ], %o1                        <== NOT EXECUTED
 203caec:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203caf0:	92 02 60 01 	inc  %o1                                       <== NOT EXECUTED
 203caf4:	40 00 41 c4 	call  204d204 <printf>                         <== NOT EXECUTED
 203caf8:	90 12 22 40 	or  %o0, 0x240, %o0                            <== NOT EXECUTED
 203cafc:	10 bf ff ae 	b  203c9b4 <rtems_rfs_buffer_handle_request+0x94><== NOT EXECUTED
 203cb00:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           <== NOT EXECUTED
    handle->dirty = false;                                            
    handle->bnum = 0;                                                 
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))        
    printf ("rtems-rfs: buffer-request: block=%" PRIu32 "\n", block); 
 203cb04:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203cb08:	40 00 41 bf 	call  204d204 <printf>                         <== NOT EXECUTED
 203cb0c:	90 12 22 18 	or  %o0, 0x218, %o0	! 206da18 <__FUNCTION__.7829+0x280><== 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)                                              
 203cb10:	10 bf ff a5 	b  203c9a4 <rtems_rfs_buffer_handle_request+0x84><== NOT EXECUTED
 203cb14:	c2 07 60 50 	ld  [ %i5 + 0x50 ], %g1                        <== NOT EXECUTED
  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;                                                           
 203cb18:	b0 10 20 00 	clr  %i0                                       <== 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",
 203cb1c:	d6 00 60 18 	ld  [ %g1 + 0x18 ], %o3                        <== NOT EXECUTED
 203cb20:	d8 00 60 30 	ld  [ %g1 + 0x30 ], %o4                        <== NOT EXECUTED
 203cb24:	15 00 81 b6 	sethi  %hi(0x206d800), %o2                     <== NOT EXECUTED
 203cb28:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203cb2c:	94 12 a1 d8 	or  %o2, 0x1d8, %o2                            <== NOT EXECUTED
 203cb30:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 203cb34:	40 00 41 b4 	call  204d204 <printf>                         <== NOT EXECUTED
 203cb38:	90 12 22 b0 	or  %o0, 0x2b0, %o0                            <== NOT EXECUTED
 203cb3c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203cb40:	81 e8 00 00 	restore                                        <== 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) &&                            
 203cb44:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 203cb48:	80 88 60 02 	btst  2, %g1                                   
 203cb4c:	22 bf ff c9 	be,a   203ca70 <rtems_rfs_buffer_handle_request+0x150>
 203cb50:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %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);
 203cb54:	90 10 00 1d 	mov  %i5, %o0                                  
 203cb58:	92 10 00 1a 	mov  %i2, %o1                                  
 203cb5c:	94 10 00 1b 	mov  %i3, %o2                                  
 203cb60:	40 00 2d 7e 	call  2048158 <rtems_rfs_buffer_bdbuf_request> 
 203cb64:	96 06 60 08 	add  %i1, 8, %o3                               
                                                                      
    if (rc > 0)                                                       
 203cb68:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203cb6c:	04 80 00 16 	ble  203cbc4 <rtems_rfs_buffer_handle_request+0x2a4><== ALWAYS TAKEN
 203cb70:	90 10 20 00 	clr  %o0                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))    
 203cb74:	7f ff a8 c4 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203cb78:	92 10 21 00 	mov  0x100, %o1                                <== NOT EXECUTED
 203cb7c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203cb80:	02 bf ff 7f 	be  203c97c <rtems_rfs_buffer_handle_request+0x5c><== NOT EXECUTED
 203cb84:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
        printf ("rtems-rfs: buffer-request: block=%" PRIu32 ": bdbuf-%s: %d: %s\n",
 203cb88:	02 80 00 13 	be  203cbd4 <rtems_rfs_buffer_handle_request+0x2b4><== NOT EXECUTED
 203cb8c:	3b 00 81 b6 	sethi  %hi(0x206d800), %i5                     <== NOT EXECUTED
 203cb90:	3b 00 81 a7 	sethi  %hi(0x2069c00), %i5                     <== NOT EXECUTED
 203cb94:	ba 17 63 20 	or  %i5, 0x320, %i5	! 2069f20 <rtems_rfs_rtems_eval_config+0xd48><== NOT EXECUTED
 203cb98:	40 00 4a f4 	call  204f768 <strerror>                       <== NOT EXECUTED
 203cb9c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203cba0:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 203cba4:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
 203cba8:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 203cbac:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203cbb0:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
 203cbb4:	40 00 41 94 	call  204d204 <printf>                         <== NOT EXECUTED
 203cbb8:	90 12 22 78 	or  %o0, 0x278, %o0                            <== NOT EXECUTED
 203cbbc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203cbc0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                block, read ? "read" : "get", rc, strerror (rc));     
      return rc;                                                      
    }                                                                 
                                                                      
    rtems_chain_set_off_chain (rtems_rfs_buffer_link(handle));        
 203cbc4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 203cbc8:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
 203cbcc:	10 bf ff 80 	b  203c9cc <rtems_rfs_buffer_handle_request+0xac>
 203cbd0:	c0 20 40 00 	clr  [ %g1 ]                                   
    rc = rtems_rfs_buffer_io_request (fs, block, read, &handle->buffer);
                                                                      
    if (rc > 0)                                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_HANDLE_REQUEST))    
        printf ("rtems-rfs: buffer-request: block=%" PRIu32 ": bdbuf-%s: %d: %s\n",
 203cbd4:	10 bf ff f1 	b  203cb98 <rtems_rfs_buffer_handle_request+0x278><== NOT EXECUTED
 203cbd8:	ba 17 61 d8 	or  %i5, 0x1d8, %i5                            <== NOT EXECUTED
  {                                                                   
    /*                                                                
     * Check the local cache of released buffers.                     
     */                                                               
    if (fs->release_count)                                            
      handle->buffer = rtems_rfs_scan_chain (&fs->release,            
 203cbdc:	92 07 60 60 	add  %i5, 0x60, %o1                            
 203cbe0:	7f ff fe 8e 	call  203c618 <rtems_rfs_scan_chain>           
 203cbe4:	94 10 00 1a 	mov  %i2, %o2                                  
 203cbe8:	d0 26 60 08 	st  %o0, [ %i1 + 8 ]                           
                                             &fs->release_count,      
                                             block);                  
                                                                      
    if (!rtems_rfs_buffer_handle_has_block (handle) &&                
 203cbec:	80 a2 20 00 	cmp  %o0, 0                                    
 203cbf0:	12 bf ff 77 	bne  203c9cc <rtems_rfs_buffer_handle_request+0xac>
 203cbf4:	82 10 00 08 	mov  %o0, %g1                                  
 203cbf8:	10 bf ff a2 	b  203ca80 <rtems_rfs_buffer_handle_request+0x160>
 203cbfc:	c2 07 60 70 	ld  [ %i5 + 0x70 ], %g1                        
                                                                      

0203cc00 <rtems_rfs_buffer_open>: return rc; } int rtems_rfs_buffer_open (const char* name, rtems_rfs_file_system* fs) {
 203cc00:	9d e3 bf 58 	save  %sp, -168, %sp                           
  struct stat st;                                                     
#if RTEMS_RFS_USE_LIBBLOCK                                            
  int rv;                                                             
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
 203cc04:	90 10 20 00 	clr  %o0                                       
 203cc08:	92 10 20 20 	mov  0x20, %o1                                 
 203cc0c:	7f ff a8 9e 	call  2026e84 <rtems_rfs_trace>                
 203cc10:	ba 10 00 18 	mov  %i0, %i5                                  
 203cc14:	80 8a 20 ff 	btst  0xff, %o0                                
 203cc18:	12 80 00 1b 	bne  203cc84 <rtems_rfs_buffer_open+0x84>      <== NEVER TAKEN
 203cc1c:	92 10 00 18 	mov  %i0, %o1                                  
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
                                                                      
  fs->device = open (name, O_RDWR);                                   
 203cc20:	90 10 00 1d 	mov  %i5, %o0                                  
 203cc24:	7f ff 35 89 	call  200a248 <open>                           
 203cc28:	92 10 20 02 	mov  2, %o1                                    
  if (fs->device < 0)                                                 
 203cc2c:	80 a2 20 00 	cmp  %o0, 0                                    
 203cc30:	06 80 00 1e 	bl  203cca8 <rtems_rfs_buffer_open+0xa8>       <== NEVER TAKEN
 203cc34:	d0 26 60 0c 	st  %o0, [ %i1 + 0xc ]                         
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
      printf ("rtems-rfs: buffer-open: cannot open file\n");          
    return ENXIO;                                                     
  }                                                                   
                                                                      
  if (fstat (fs->device, &st) < 0)                                    
 203cc38:	7f ff bb a1 	call  202babc <fstat>                          
 203cc3c:	92 07 bf b8 	add  %fp, -72, %o1                             
 203cc40:	80 a2 20 00 	cmp  %o0, 0                                    
 203cc44:	06 80 00 3b 	bl  203cd30 <rtems_rfs_buffer_open+0x130>      <== NEVER TAKEN
 203cc48:	c4 07 bf c4 	ld  [ %fp + -60 ], %g2                         
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  /*                                                                  
   * Is the device a block device ?                                   
   */                                                                 
  if (!S_ISBLK (st.st_mode))                                          
 203cc4c:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 203cc50:	84 08 80 01 	and  %g2, %g1, %g2                             
 203cc54:	03 00 00 18 	sethi  %hi(0x6000), %g1                        
 203cc58:	80 a0 80 01 	cmp  %g2, %g1                                  
 203cc5c:	22 80 00 1e 	be,a   203ccd4 <rtems_rfs_buffer_open+0xd4>    <== ALWAYS TAKEN
 203cc60:	d0 06 60 0c 	ld  [ %i1 + 0xc ], %o0                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
 203cc64:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203cc68:	7f ff a8 87 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203cc6c:	92 10 20 08 	mov  8, %o1                                    <== NOT EXECUTED
 203cc70:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203cc74:	32 80 00 29 	bne,a   203cd18 <rtems_rfs_buffer_open+0x118>  <== NOT EXECUTED
 203cc78:	b0 10 20 06 	mov  6, %i0                                    <== NOT EXECUTED
  fs->device = open (name, O_RDWR);                                   
  if (fs->device < 0)                                                 
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
      printf ("rtems-rfs: buffer-open: cannot open file\n");          
    return ENXIO;                                                     
 203cc7c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203cc80:	91 e8 20 06 	restore  %g0, 6, %o0                           <== NOT EXECUTED
#if RTEMS_RFS_USE_LIBBLOCK                                            
  int rv;                                                             
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
    printf ("rtems-rfs: buffer-open: opening: %s\n", name);           
 203cc84:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203cc88:	40 00 41 5f 	call  204d204 <printf>                         <== NOT EXECUTED
 203cc8c:	90 12 22 f0 	or  %o0, 0x2f0, %o0	! 206daf0 <__FUNCTION__.7829+0x358><== NOT EXECUTED
                                                                      
  fs->device = open (name, O_RDWR);                                   
 203cc90:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203cc94:	7f ff 35 6d 	call  200a248 <open>                           <== NOT EXECUTED
 203cc98:	92 10 20 02 	mov  2, %o1                                    <== NOT EXECUTED
  if (fs->device < 0)                                                 
 203cc9c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203cca0:	16 bf ff e6 	bge  203cc38 <rtems_rfs_buffer_open+0x38>      <== NOT EXECUTED
 203cca4:	d0 26 60 0c 	st  %o0, [ %i1 + 0xc ]                         <== NOT EXECUTED
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
 203cca8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203ccac:	7f ff a8 76 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203ccb0:	92 10 20 08 	mov  8, %o1                                    <== NOT EXECUTED
 203ccb4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203ccb8:	02 bf ff f1 	be  203cc7c <rtems_rfs_buffer_open+0x7c>       <== NOT EXECUTED
 203ccbc:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: cannot open file\n");          
    return ENXIO;                                                     
 203ccc0:	b0 10 20 06 	mov  6, %i0                                    <== NOT EXECUTED
                                                                      
  fs->device = open (name, O_RDWR);                                   
  if (fs->device < 0)                                                 
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
      printf ("rtems-rfs: buffer-open: cannot open file\n");          
 203ccc4:	40 00 41 e8 	call  204d464 <puts>                           <== NOT EXECUTED
 203ccc8:	90 12 23 18 	or  %o0, 0x318, %o0                            <== NOT EXECUTED
 203cccc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ccd0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 203ccd4:	94 06 60 10 	add  %i1, 0x10, %o2                            
 203ccd8:	13 10 01 10 	sethi  %hi(0x40044000), %o1                    
 203ccdc:	7f ff 31 e4 	call  200946c <ioctl>                          
 203cce0:	92 12 62 09 	or  %o1, 0x209, %o1	! 40044209 <RAM_END+0x3dc44209>
                                                                      
  /*                                                                  
   * Check that device is registred as a block device and lock it.    
   */                                                                 
  rv = rtems_disk_fd_get_disk_device (fs->device, &fs->disk);         
  if (rv != 0)                                                        
 203cce4:	80 a2 20 00 	cmp  %o0, 0                                    
 203cce8:	02 80 00 23 	be  203cd74 <rtems_rfs_buffer_open+0x174>      <== ALWAYS TAKEN
 203ccec:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
 203ccf0:	7f ff a8 65 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203ccf4:	92 10 20 08 	mov  8, %o1                                    <== NOT EXECUTED
 203ccf8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203ccfc:	02 bf ff e0 	be  203cc7c <rtems_rfs_buffer_open+0x7c>       <== NOT EXECUTED
 203cd00:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: cannot obtain the disk\n");    
    return ENXIO;                                                     
 203cd04:	b0 10 20 06 	mov  6, %i0                                    <== NOT EXECUTED
   */                                                                 
  rv = rtems_disk_fd_get_disk_device (fs->device, &fs->disk);         
  if (rv != 0)                                                        
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
      printf ("rtems-rfs: buffer-open: cannot obtain the disk\n");    
 203cd08:	40 00 41 d7 	call  204d464 <puts>                           <== NOT EXECUTED
 203cd0c:	90 12 23 b0 	or  %o0, 0x3b0, %o0                            <== NOT EXECUTED
 203cd10:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203cd14:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   * Is the device a block device ?                                   
   */                                                                 
  if (!S_ISBLK (st.st_mode))                                          
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
      printf ("rtems-rfs: buffer-open: '%s' is not a block device\n", name);
 203cd18:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203cd1c:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203cd20:	40 00 41 39 	call  204d204 <printf>                         <== NOT EXECUTED
 203cd24:	90 12 23 78 	or  %o0, 0x378, %o0	! 206db78 <__FUNCTION__.7829+0x3e0><== NOT EXECUTED
 203cd28:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203cd2c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    return ENXIO;                                                     
  }                                                                   
                                                                      
  if (fstat (fs->device, &st) < 0)                                    
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
 203cd30:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203cd34:	7f ff a8 54 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203cd38:	92 10 20 08 	mov  8, %o1                                    <== NOT EXECUTED
 203cd3c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203cd40:	02 bf ff cf 	be  203cc7c <rtems_rfs_buffer_open+0x7c>       <== NOT EXECUTED
 203cd44:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
              name, strerror (errno));                                
 203cd48:	40 00 2e f0 	call  2048908 <__errno>                        <== NOT EXECUTED
 203cd4c:	b0 10 20 06 	mov  6, %i0	! 6 <PROM_START+0x6>               <== NOT EXECUTED
  }                                                                   
                                                                      
  if (fstat (fs->device, &st) < 0)                                    
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_OPEN))                
      printf ("rtems-rfs: buffer-open: stat '%s' failed: %s\n",       
 203cd50:	40 00 4a 86 	call  204f768 <strerror>                       <== NOT EXECUTED
 203cd54:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 203cd58:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203cd5c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203cd60:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203cd64:	40 00 41 28 	call  204d204 <printf>                         <== NOT EXECUTED
 203cd68:	90 12 23 48 	or  %o0, 0x348, %o0	! 206db48 <__FUNCTION__.7829+0x3b0><== NOT EXECUTED
 203cd6c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203cd70:	81 e8 00 00 	restore                                        <== NOT EXECUTED
#else                                                                 
  fs->media_size = st.st_size;                                        
  strcat (fs->name, name);                                            
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
 203cd74:	92 10 20 20 	mov  0x20, %o1                                 
 203cd78:	7f ff a8 43 	call  2026e84 <rtems_rfs_trace>                
 203cd7c:	b0 10 20 00 	clr  %i0                                       
 203cd80:	80 8a 20 ff 	btst  0xff, %o0                                
 203cd84:	32 80 00 04 	bne,a   203cd94 <rtems_rfs_buffer_open+0x194>  <== NEVER TAKEN
 203cd88:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        <== 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;                                                           
}                                                                     
 203cd8c:	81 c7 e0 08 	ret                                            
 203cd90:	81 e8 00 00 	restore                                        
  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",
 203cd94:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203cd98:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        <== NOT EXECUTED
 203cd9c:	d4 00 60 20 	ld  [ %g1 + 0x20 ], %o2                        <== NOT EXECUTED
 203cda0:	40 00 41 19 	call  204d204 <printf>                         <== NOT EXECUTED
 203cda4:	90 12 23 e0 	or  %o0, 0x3e0, %o0                            <== NOT EXECUTED
            rtems_rfs_fs_media_blocks (fs),                           
            rtems_rfs_fs_media_block_size (fs));                      
                                                                      
  return 0;                                                           
}                                                                     
 203cda8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203cdac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0203cecc <rtems_rfs_buffer_setblksize>: return result; } int rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size) {
 203cecc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
 203ced0:	90 10 20 00 	clr  %o0                                       
  return result;                                                      
}                                                                     
                                                                      
int                                                                   
rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size)  
{                                                                     
 203ced4:	f2 27 a0 48 	st  %i1, [ %fp + 0x48 ]                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
 203ced8:	7f ff a7 eb 	call  2026e84 <rtems_rfs_trace>                
 203cedc:	92 10 24 00 	mov  0x400, %o1                                
 203cee0:	80 8a 20 ff 	btst  0xff, %o0                                
 203cee4:	12 80 00 21 	bne  203cf68 <rtems_rfs_buffer_setblksize+0x9c><== NEVER TAKEN
 203cee8:	d2 07 a0 48 	ld  [ %fp + 0x48 ], %o1                        
    printf ("rtems-rfs: buffer-setblksize: block size: %zu\n", size); 
                                                                      
  rc = rtems_rfs_buffers_release (fs);                                
 203ceec:	7f ff ff d7 	call  203ce48 <rtems_rfs_buffers_release>      
 203cef0:	90 10 00 18 	mov  %i0, %o0                                  
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
 203cef4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203cef8:	04 80 00 07 	ble  203cf14 <rtems_rfs_buffer_setblksize+0x48><== ALWAYS TAKEN
 203cefc:	90 10 20 00 	clr  %o0                                       
 203cf00:	7f ff a7 e1 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203cf04:	92 10 24 00 	mov  0x400, %o1                                <== NOT EXECUTED
 203cf08:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203cf0c:	12 80 00 20 	bne  203cf8c <rtems_rfs_buffer_setblksize+0xc0><== NOT EXECUTED
 203cf10:	01 00 00 00 	nop                                            <== NOT EXECUTED
    printf ("rtems-rfs: buffer-setblksize: buffer release failed: %d: %s\n",
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_buffer_sync (fs);                                    
 203cf14:	7f ff ff a7 	call  203cdb0 <rtems_rfs_buffer_sync>          
 203cf18:	90 10 00 18 	mov  %i0, %o0                                  
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
 203cf1c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203cf20:	04 80 00 07 	ble  203cf3c <rtems_rfs_buffer_setblksize+0x70><== ALWAYS TAKEN
 203cf24:	90 10 20 00 	clr  %o0                                       
 203cf28:	7f ff a7 d7 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203cf2c:	92 10 24 00 	mov  0x400, %o1                                <== NOT EXECUTED
 203cf30:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203cf34:	12 80 00 1e 	bne  203cfac <rtems_rfs_buffer_setblksize+0xe0><== NOT EXECUTED
 203cf38:	01 00 00 00 	nop                                            <== NOT EXECUTED
    printf ("rtems-rfs: buffer-setblksize: device sync failed: %d: %s\n",
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rc = fs->disk->ioctl (fs->disk, RTEMS_BLKIO_SETBLKSIZE, &size);     
 203cf3c:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        
 203cf40:	13 20 01 10 	sethi  %hi(0x80044000), %o1                    
 203cf44:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 203cf48:	92 12 62 04 	or  %o1, 0x204, %o1                            
 203cf4c:	9f c0 40 00 	call  %g1                                      
 203cf50:	94 07 a0 48 	add  %fp, 0x48, %o2                            
  if (rc < 0)                                                         
 203cf54:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203cf58:	06 80 00 08 	bl  203cf78 <rtems_rfs_buffer_setblksize+0xac> <== NEVER TAKEN
 203cf5c:	01 00 00 00 	nop                                            
    rc = errno;                                                       
#endif                                                                
  return rc;                                                          
}                                                                     
 203cf60:	81 c7 e0 08 	ret                                            
 203cf64:	81 e8 00 00 	restore                                        
rtems_rfs_buffer_setblksize (rtems_rfs_file_system* fs, size_t size)  
{                                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
    printf ("rtems-rfs: buffer-setblksize: block size: %zu\n", size); 
 203cf68:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203cf6c:	40 00 40 a6 	call  204d204 <printf>                         <== NOT EXECUTED
 203cf70:	90 12 20 b0 	or  %o0, 0xb0, %o0	! 206dcb0 <__FUNCTION__.7829+0x518><== NOT EXECUTED
 203cf74:	30 bf ff de 	b,a   203ceec <rtems_rfs_buffer_setblksize+0x20><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rc = fs->disk->ioctl (fs->disk, RTEMS_BLKIO_SETBLKSIZE, &size);     
  if (rc < 0)                                                         
    rc = errno;                                                       
 203cf78:	40 00 2e 64 	call  2048908 <__errno>                        <== NOT EXECUTED
 203cf7c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 203cf80:	f0 02 00 00 	ld  [ %o0 ], %i0                               <== NOT EXECUTED
#endif                                                                
  return rc;                                                          
}                                                                     
 203cf84:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203cf88:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))            
    printf ("rtems-rfs: buffer-setblksize: block size: %zu\n", size); 
                                                                      
  rc = rtems_rfs_buffers_release (fs);                                
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
    printf ("rtems-rfs: buffer-setblksize: buffer release failed: %d: %s\n",
 203cf8c:	40 00 49 f7 	call  204f768 <strerror>                       <== NOT EXECUTED
 203cf90:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203cf94:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203cf98:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203cf9c:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203cfa0:	40 00 40 99 	call  204d204 <printf>                         <== NOT EXECUTED
 203cfa4:	90 12 20 e0 	or  %o0, 0xe0, %o0	! 206dce0 <__FUNCTION__.7829+0x548><== NOT EXECUTED
 203cfa8:	30 bf ff db 	b,a   203cf14 <rtems_rfs_buffer_setblksize+0x48><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_buffer_sync (fs);                                    
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SETBLKSIZE))
    printf ("rtems-rfs: buffer-setblksize: device sync failed: %d: %s\n",
 203cfac:	40 00 49 ef 	call  204f768 <strerror>                       <== NOT EXECUTED
 203cfb0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203cfb4:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203cfb8:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203cfbc:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203cfc0:	40 00 40 91 	call  204d204 <printf>                         <== NOT EXECUTED
 203cfc4:	90 12 21 20 	or  %o0, 0x120, %o0	! 206dd20 <__FUNCTION__.7829+0x588><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rc = fs->disk->ioctl (fs->disk, RTEMS_BLKIO_SETBLKSIZE, &size);     
 203cfc8:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        <== NOT EXECUTED
 203cfcc:	13 20 01 10 	sethi  %hi(0x80044000), %o1                    <== NOT EXECUTED
 203cfd0:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        <== NOT EXECUTED
 203cfd4:	92 12 62 04 	or  %o1, 0x204, %o1                            <== NOT EXECUTED
 203cfd8:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 203cfdc:	94 07 a0 48 	add  %fp, 0x48, %o2                            <== NOT EXECUTED
  if (rc < 0)                                                         
 203cfe0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 203cfe4:	16 bf ff e8 	bge  203cf84 <rtems_rfs_buffer_setblksize+0xb8><== NOT EXECUTED
 203cfe8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 203cfec:	30 bf ff e3 	b,a   203cf78 <rtems_rfs_buffer_setblksize+0xac><== NOT EXECUTED
                                                                      

0203cdb0 <rtems_rfs_buffer_sync>: return rc; } int rtems_rfs_buffer_sync (rtems_rfs_file_system* fs) {
 203cdb0:	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))                  
 203cdb4:	90 10 20 00 	clr  %o0                                       
 203cdb8:	92 10 20 20 	mov  0x20, %o1                                 
 203cdbc:	7f ff a8 32 	call  2026e84 <rtems_rfs_trace>                
 203cdc0:	ba 10 00 18 	mov  %i0, %i5                                  
 203cdc4:	80 8a 20 ff 	btst  0xff, %o0                                
 203cdc8:	12 80 00 1c 	bne  203ce38 <rtems_rfs_buffer_sync+0x88>      <== NEVER TAKEN
 203cdcc:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     
                                                                      
  /*                                                                  
   * @todo Split in the separate files for each type.                 
   */                                                                 
#if RTEMS_RFS_USE_LIBBLOCK                                            
  sc = rtems_bdbuf_syncdev (rtems_rfs_fs_device (fs));                
 203cdd0:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
 203cdd4:	7f ff 28 78 	call  2006fb4 <rtems_bdbuf_syncdev>            
 203cdd8:	b0 10 20 00 	clr  %i0                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 203cddc:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 203cde0:	12 80 00 06 	bne  203cdf8 <rtems_rfs_buffer_sync+0x48>      <== NEVER TAKEN
 203cde4:	90 10 20 00 	clr  %o0                                       
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                
      printf ("rtems-rfs: buffer-sync: device sync failed: %s\n",     
              rtems_status_text (sc));                                
    result = EIO;                                                     
  }                                                                   
  rtems_disk_release (fs->disk);                                      
 203cde8:	7f ff 2d 79 	call  20083cc <rtems_disk_release>             
 203cdec:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
      printf ("rtems-rfs: buffer-sync: file sync failed: %d: %s\n",   
              result, strerror (result));                             
  }                                                                   
#endif                                                                
  return result;                                                      
}                                                                     
 203cdf0:	81 c7 e0 08 	ret                                            
 203cdf4:	81 e8 00 00 	restore                                        
   */                                                                 
#if RTEMS_RFS_USE_LIBBLOCK                                            
  sc = rtems_bdbuf_syncdev (rtems_rfs_fs_device (fs));                
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                
 203cdf8:	92 10 20 20 	mov  0x20, %o1                                 <== NOT EXECUTED
 203cdfc:	7f ff a8 22 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203ce00:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 203ce04:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203ce08:	02 bf ff f8 	be  203cde8 <rtems_rfs_buffer_sync+0x38>       <== NOT EXECUTED
 203ce0c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: device sync failed: %s\n",     
 203ce10:	7f ff 30 a4 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 203ce14:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 203ce18:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 203ce1c:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203ce20:	40 00 40 f9 	call  204d204 <printf>                         <== NOT EXECUTED
 203ce24:	90 12 20 30 	or  %o0, 0x30, %o0	! 206dc30 <__FUNCTION__.7829+0x498><== NOT EXECUTED
              rtems_status_text (sc));                                
    result = EIO;                                                     
  }                                                                   
  rtems_disk_release (fs->disk);                                      
 203ce28:	7f ff 2d 69 	call  20083cc <rtems_disk_release>             <== NOT EXECUTED
 203ce2c:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
      printf ("rtems-rfs: buffer-sync: file sync failed: %d: %s\n",   
              result, strerror (result));                             
  }                                                                   
#endif                                                                
  return result;                                                      
}                                                                     
 203ce30:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ce34:	81 e8 00 00 	restore                                        <== NOT EXECUTED
#if RTEMS_RFS_USE_LIBBLOCK                                            
  rtems_status_code sc;                                               
#endif                                                                
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_SYNC))                  
    printf ("rtems-rfs: buffer-sync: syncing\n");                     
 203ce38:	40 00 41 8b 	call  204d464 <puts>                           <== NOT EXECUTED
 203ce3c:	90 12 20 10 	or  %o0, 0x10, %o0                             <== 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));                
 203ce40:	10 bf ff e5 	b  203cdd4 <rtems_rfs_buffer_sync+0x24>        <== NOT EXECUTED
 203ce44:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
                                                                      

0203ce48 <rtems_rfs_buffers_release>: return rrc; } int rtems_rfs_buffers_release (rtems_rfs_file_system* fs) {
 203ce48:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
 203ce4c:	90 10 20 00 	clr  %o0                                       
 203ce50:	7f ff a8 0d 	call  2026e84 <rtems_rfs_trace>                
 203ce54:	92 10 20 40 	mov  0x40, %o1                                 
 203ce58:	80 8a 20 ff 	btst  0xff, %o0                                
 203ce5c:	32 80 00 15 	bne,a   203ceb0 <rtems_rfs_buffers_release+0x68><== NEVER TAKEN
 203ce60:	d2 06 20 50 	ld  [ %i0 + 0x50 ], %o1                        <== NOT EXECUTED
    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,                         
 203ce64:	92 06 20 60 	add  %i0, 0x60, %o1                            
 203ce68:	94 10 20 00 	clr  %o2                                       
 203ce6c:	7f ff fd c4 	call  203c57c <rtems_rfs_release_chain>        
 203ce70:	90 06 20 54 	add  %i0, 0x54, %o0                            
 203ce74:	82 38 00 08 	xnor  %g0, %o0, %g1                            
 203ce78:	83 38 60 1f 	sra  %g1, 0x1f, %g1                            
 203ce7c:	ba 10 00 08 	mov  %o0, %i5                                  
                                &fs->release_count,                   
                                false);                               
  if ((rc > 0) && (rrc == 0))                                         
    rrc = rc;                                                         
  rc = rtems_rfs_release_chain (&fs->release_modified,                
 203ce80:	92 06 20 70 	add  %i0, 0x70, %o1                            
 203ce84:	ba 0f 40 01 	and  %i5, %g1, %i5                             
 203ce88:	90 06 20 64 	add  %i0, 0x64, %o0                            
 203ce8c:	7f ff fd bc 	call  203c57c <rtems_rfs_release_chain>        
 203ce90:	94 10 20 01 	mov  1, %o2                                    
                                &fs->release_modified_count,          
                                true);                                
  if ((rc > 0) && (rrc == 0))                                         
 203ce94:	80 a7 60 00 	cmp  %i5, 0                                    
 203ce98:	12 80 00 04 	bne  203cea8 <rtems_rfs_buffers_release+0x60>  <== NEVER TAKEN
 203ce9c:	80 a2 20 00 	cmp  %o0, 0                                    
 203cea0:	34 80 00 02 	bg,a   203cea8 <rtems_rfs_buffers_release+0x60><== NEVER TAKEN
 203cea4:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
    rrc = rc;                                                         
                                                                      
  return rrc;                                                         
}                                                                     
 203cea8:	81 c7 e0 08 	ret                                            
 203ceac:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
{                                                                     
  int rrc = 0;                                                        
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_RELEASE))               
    printf ("rtems-rfs: buffers-release: active:%" PRIu32 " "         
 203ceb0:	d4 06 20 60 	ld  [ %i0 + 0x60 ], %o2                        <== NOT EXECUTED
 203ceb4:	d6 06 20 70 	ld  [ %i0 + 0x70 ], %o3                        <== NOT EXECUTED
 203ceb8:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203cebc:	40 00 40 d2 	call  204d204 <printf>                         <== NOT EXECUTED
 203cec0:	90 12 20 60 	or  %o0, 0x60, %o0	! 206dc60 <__FUNCTION__.7829+0x4c8><== 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,                         
 203cec4:	10 bf ff e9 	b  203ce68 <rtems_rfs_buffers_release+0x20>    <== NOT EXECUTED
 203cec8:	92 06 20 60 	add  %i0, 0x60, %o1                            <== NOT EXECUTED
                                                                      

0203d624 <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) {
 203d624:	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))                
 203d628:	90 10 20 00 	clr  %o0                                       
 203d62c:	7f ff a6 16 	call  2026e84 <rtems_rfs_trace>                
 203d630:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    
 203d634:	80 8a 20 ff 	btst  0xff, %o0                                
 203d638:	32 80 00 7c 	bne,a   203d828 <rtems_rfs_dir_add_entry+0x204><== NEVER TAKEN
 203d63c:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf (", len=%zd\n", length);                                   
  }                                                                   
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 203d640:	90 10 00 18 	mov  %i0, %o0                                  
 203d644:	92 10 00 19 	mov  %i1, %o1                                  
 203d648:	7f ff f8 b2 	call  203b910 <rtems_rfs_block_map_open>       
 203d64c:	94 07 bf b0 	add  %fp, -80, %o2                             
  if (rc > 0)                                                         
 203d650:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203d654:	04 80 00 04 	ble  203d664 <rtems_rfs_dir_add_entry+0x40>    <== ALWAYS TAKEN
 203d658:	29 00 00 3f 	sethi  %hi(0xfc00), %l4                        
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
 203d65c:	81 c7 e0 08 	ret                                            
 203d660:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 203d664:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203d668:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203d66c:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
 * @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;                                                      
 203d670:	c0 27 bf 98 	clr  [ %fp + -104 ]                            
  bpos->boff = 0;                                                     
 203d674:	c0 27 bf 9c 	clr  [ %fp + -100 ]                            
  bpos->block = 0;                                                    
 203d678:	c0 27 bf a0 	clr  [ %fp + -96 ]                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203d67c:	a8 15 23 ff 	or  %l4, 0x3ff, %l4                            
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
 203d680:	a6 06 e0 0a 	add  %i3, 0xa, %l3                             
    /*                                                                
     * 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);          
 203d684:	90 10 00 18 	mov  %i0, %o0                                  
 203d688:	92 07 bf b0 	add  %fp, -80, %o1                             
 203d68c:	94 07 bf 98 	add  %fp, -104, %o2                            
 203d690:	7f ff f9 75 	call  203bc64 <rtems_rfs_block_map_find>       
 203d694:	96 07 bf 94 	add  %fp, -108, %o3                            
    if (rc > 0)                                                       
 203d698:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203d69c:	04 80 00 ae 	ble  203d954 <rtems_rfs_dir_add_entry+0x330>   
 203d6a0:	80 a7 60 06 	cmp  %i5, 6                                    
    {                                                                 
      if (rc != ENXIO)                                                
 203d6a4:	12 80 00 c7 	bne  203d9c0 <rtems_rfs_dir_add_entry+0x39c>   <== NEVER TAKEN
 203d6a8:	90 10 00 18 	mov  %i0, %o0                                  
      }                                                               
                                                                      
      /*                                                              
       * We have reached the end of the directory so add a block.     
       */                                                             
      rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);            
 203d6ac:	92 07 bf b0 	add  %fp, -80, %o1                             
 203d6b0:	94 10 20 01 	mov  1, %o2                                    
 203d6b4:	7f ff f9 f0 	call  203be74 <rtems_rfs_block_map_grow>       
 203d6b8:	96 07 bf 94 	add  %fp, -108, %o3                            
      if (rc > 0)                                                     
 203d6bc:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203d6c0:	14 80 00 d1 	bg  203da04 <rtems_rfs_dir_add_entry+0x3e0>    <== NEVER TAKEN
 203d6c4:	a0 10 20 00 	clr  %l0                                       
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
 203d6c8:	c2 07 bf 98 	ld  [ %fp + -104 ], %g1                        
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
 203d6cc:	d4 07 bf 94 	ld  [ %fp + -108 ], %o2                        
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
 203d6d0:	82 00 60 01 	inc  %g1                                       
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
 203d6d4:	a0 0c 20 ff 	and  %l0, 0xff, %l0                            
      }                                                               
                                                                      
      read = false;                                                   
    }                                                                 
                                                                      
    bpos.bno++;                                                       
 203d6d8:	c2 27 bf 98 	st  %g1, [ %fp + -104 ]                        
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
 203d6dc:	90 10 00 18 	mov  %i0, %o0                                  
 203d6e0:	92 07 bf a4 	add  %fp, -92, %o1                             
 203d6e4:	7f ff fc 8f 	call  203c920 <rtems_rfs_buffer_handle_request>
 203d6e8:	96 10 00 10 	mov  %l0, %o3                                  
    if (rc > 0)                                                       
 203d6ec:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203d6f0:	14 80 00 9b 	bg  203d95c <rtems_rfs_dir_add_entry+0x338>    <== NEVER TAKEN
 203d6f4:	c2 07 bf ac 	ld  [ %fp + -84 ], %g1                         
      break;                                                          
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
 203d6f8:	80 a4 20 00 	cmp  %l0, 0                                    
 203d6fc:	02 80 00 5e 	be  203d874 <rtems_rfs_dir_add_entry+0x250>    
 203d700:	fa 00 60 1c 	ld  [ %g1 + 0x1c ], %i5                        
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
                                                                      
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 203d704:	da 06 20 08 	ld  [ %i0 + 8 ], %o5                           
 203d708:	9e 83 7f f6 	addcc  %o5, -10, %o7                           
 203d70c:	02 bf ff df 	be  203d688 <rtems_rfs_dir_add_entry+0x64>     <== NEVER TAKEN
 203d710:	90 10 00 18 	mov  %i0, %o0                                  
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 203d714:	e0 0f 60 08 	ldub  [ %i5 + 8 ], %l0                         
 203d718:	c8 0f 60 09 	ldub  [ %i5 + 9 ], %g4                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203d71c:	e4 0f 40 00 	ldub  [ %i5 ], %l2                             
 203d720:	c6 0f 60 02 	ldub  [ %i5 + 2 ], %g3                         
 203d724:	c4 0f 60 03 	ldub  [ %i5 + 3 ], %g2                         
 203d728:	c2 0f 60 01 	ldub  [ %i5 + 1 ], %g1                         
    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);                   
 203d72c:	a1 2c 20 08 	sll  %l0, 8, %l0                               
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203d730:	a5 2c a0 18 	sll  %l2, 0x18, %l2                            
    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);                   
 203d734:	a0 14 00 04 	or  %l0, %g4, %l0                              
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203d738:	87 28 e0 08 	sll  %g3, 8, %g3                               
 203d73c:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 203d740:	a4 14 80 03 	or  %l2, %g3, %l2                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203d744:	80 a4 00 14 	cmp  %l0, %l4                                  
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203d748:	a4 14 80 02 	or  %l2, %g2, %l2                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203d74c:	02 80 00 58 	be  203d8ac <rtems_rfs_dir_add_entry+0x288>    
 203d750:	a4 14 80 01 	or  %l2, %g1, %l2                              
 203d754:	10 80 00 20 	b  203d7d4 <rtems_rfs_dir_add_entry+0x1b0>     
 203d758:	a2 10 20 00 	clr  %l1                                       
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
 203d75c:	80 a4 00 01 	cmp  %l0, %g1                                  
 203d760:	1a 80 00 20 	bcc  203d7e0 <rtems_rfs_dir_add_entry+0x1bc>   <== NEVER TAKEN
 203d764:	ba 07 40 10 	add  %i5, %l0, %i5                             
 203d768:	80 a4 a0 00 	cmp  %l2, 0                                    
 203d76c:	02 80 00 1e 	be  203d7e4 <rtems_rfs_dir_add_entry+0x1c0>    <== NEVER TAKEN
 203d770:	90 10 20 00 	clr  %o0                                       
 203d774:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 203d778:	80 a0 40 12 	cmp  %g1, %l2                                  
 203d77c:	0a 80 00 1a 	bcs  203d7e4 <rtems_rfs_dir_add_entry+0x1c0>   <== NEVER TAKEN
 203d780:	01 00 00 00 	nop                                            
        rtems_rfs_block_map_close (fs, &map);                         
        return EIO;                                                   
      }                                                               
                                                                      
      entry  += elength;                                              
      offset += elength;                                              
 203d784:	a2 04 40 10 	add  %l1, %l0, %l1                             
    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))
 203d788:	80 a4 40 0f 	cmp  %l1, %o7                                  
 203d78c:	1a bf ff be 	bcc  203d684 <rtems_rfs_dir_add_entry+0x60>    <== NEVER TAKEN
 203d790:	98 10 00 11 	mov  %l1, %o4                                  
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 203d794:	e0 0f 60 08 	ldub  [ %i5 + 8 ], %l0                         
 203d798:	c8 0f 60 09 	ldub  [ %i5 + 9 ], %g4                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203d79c:	e4 0f 40 00 	ldub  [ %i5 ], %l2                             
 203d7a0:	c6 0f 60 01 	ldub  [ %i5 + 1 ], %g3                         
 203d7a4:	c4 0f 60 03 	ldub  [ %i5 + 3 ], %g2                         
 203d7a8:	c2 0f 60 02 	ldub  [ %i5 + 2 ], %g1                         
    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);                   
 203d7ac:	a1 2c 20 08 	sll  %l0, 8, %l0                               
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203d7b0:	a5 2c a0 18 	sll  %l2, 0x18, %l2                            
    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);                   
 203d7b4:	a0 14 00 04 	or  %l0, %g4, %l0                              
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203d7b8:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203d7bc:	83 28 60 08 	sll  %g1, 8, %g1                               
 203d7c0:	a4 14 80 03 	or  %l2, %g3, %l2                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203d7c4:	80 a4 00 14 	cmp  %l0, %l4                                  
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203d7c8:	a4 14 80 02 	or  %l2, %g2, %l2                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203d7cc:	02 80 00 39 	be  203d8b0 <rtems_rfs_dir_add_entry+0x28c>    
 203d7d0:	a4 14 80 01 	or  %l2, %g1, %l2                              
        }                                                             
                                                                      
        break;                                                        
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
 203d7d4:	80 a4 20 0a 	cmp  %l0, 0xa                                  
 203d7d8:	34 bf ff e1 	bg,a   203d75c <rtems_rfs_dir_add_entry+0x138> <== ALWAYS TAKEN
 203d7dc:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
 203d7e0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d7e4:	7f ff a5 a8 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d7e8:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    <== NOT EXECUTED
 203d7ec:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d7f0:	32 80 00 27 	bne,a   203d88c <rtems_rfs_dir_add_entry+0x268><== NOT EXECUTED
 203d7f4:	d2 06 60 08 	ld  [ %i1 + 8 ], %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);                       
 203d7f8:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
 203d7fc:	7f ff fb cf 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203d800:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
                  "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);                  
        rtems_rfs_block_map_close (fs, &map);                         
 203d804:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 203d808:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203d80c:	c0 27 bf a8 	clr  [ %fp + -88 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 203d810:	c0 27 bf ac 	clr  [ %fp + -84 ]                             <== NOT EXECUTED
 203d814:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203d818:	7f ff f8 9f 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 203d81c:	ba 10 20 05 	mov  5, %i5                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
 203d820:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203d824:	91 e8 00 1d 	restore  %g0, %i5, %o0                         <== 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=",       
 203d828:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203d82c:	40 00 3e 76 	call  204d204 <printf>                         <== NOT EXECUTED
 203d830:	90 12 20 d0 	or  %o0, 0xd0, %o0	! 206e0d0 <__FUNCTION__.7829+0x938><== NOT EXECUTED
            rtems_rfs_inode_ino (dir));                               
    for (c = 0; c < length; c++)                                      
 203d834:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
 203d838:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 203d83c:	02 80 00 08 	be  203d85c <rtems_rfs_dir_add_entry+0x238>    <== NOT EXECUTED
 203d840:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 203d844:	d0 4e 80 01 	ldsb  [ %i2 + %g1 ], %o0                       <== NOT EXECUTED
 203d848:	40 00 3e d9 	call  204d3ac <putchar>                        <== NOT EXECUTED
 203d84c:	ba 07 60 01 	inc  %i5                                       <== 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++)                                      
 203d850:	80 a7 40 1b 	cmp  %i5, %i3                                  <== NOT EXECUTED
 203d854:	12 bf ff fc 	bne  203d844 <rtems_rfs_dir_add_entry+0x220>   <== NOT EXECUTED
 203d858:	82 10 00 1d 	mov  %i5, %g1                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%zd\n", length);                                   
 203d85c:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 203d860:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203d864:	40 00 3e 68 	call  204d204 <printf>                         <== NOT EXECUTED
 203d868:	90 12 21 00 	or  %o0, 0x100, %o0	! 206e100 <__FUNCTION__.7829+0x968><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 203d86c:	10 bf ff 76 	b  203d644 <rtems_rfs_dir_add_entry+0x20>      <== NOT EXECUTED
 203d870:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
                                                                      
    if (!read)                                                        
      memset (entry, 0xff, rtems_rfs_fs_block_size (fs));             
 203d874:	d4 06 20 08 	ld  [ %i0 + 8 ], %o2                           
 203d878:	90 10 00 1d 	mov  %i5, %o0                                  
 203d87c:	40 00 39 f1 	call  204c040 <memset>                         
 203d880:	92 10 20 ff 	mov  0xff, %o1                                 
                                                                      
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 203d884:	10 bf ff a1 	b  203d708 <rtems_rfs_dir_add_entry+0xe4>      
 203d888:	da 06 20 08 	ld  [ %i0 + 8 ], %o5                           
      }                                                               
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
          printf ("rtems-rfs: dir-add-entry: "                        
 203d88c:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 203d890:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203d894:	96 10 00 12 	mov  %l2, %o3                                  <== NOT EXECUTED
 203d898:	98 10 00 11 	mov  %l1, %o4                                  <== NOT EXECUTED
 203d89c:	40 00 3e 5a 	call  204d204 <printf>                         <== NOT EXECUTED
 203d8a0:	90 12 21 e8 	or  %o0, 0x1e8, %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);                       
 203d8a4:	10 bf ff d6 	b  203d7fc <rtems_rfs_dir_add_entry+0x1d8>     <== NOT EXECUTED
 203d8a8:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
    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))
 203d8ac:	98 10 20 00 	clr  %o4                                       
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
      {                                                               
        if ((length + RTEMS_RFS_DIR_ENTRY_SIZE) <                     
            (rtems_rfs_fs_block_size (fs) - offset))                  
 203d8b0:	9a 23 40 0c 	sub  %o5, %o4, %o5                             
      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) <                     
 203d8b4:	80 a4 c0 0d 	cmp  %l3, %o5                                  
 203d8b8:	3a bf ff 74 	bcc,a   203d688 <rtems_rfs_dir_add_entry+0x64> <== NEVER TAKEN
 203d8bc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
            (rtems_rfs_fs_block_size (fs) - offset))                  
        {                                                             
          uint32_t hash;                                              
          hash = rtems_rfs_dir_hash (name, length);                   
 203d8c0:	92 10 00 1b 	mov  %i3, %o1                                  
 203d8c4:	40 00 2a 69 	call  2048268 <rtems_rfs_dir_hash>             
 203d8c8:	90 10 00 1a 	mov  %i2, %o0                                  
          rtems_rfs_dir_set_entry_hash (entry, hash);                 
 203d8cc:	83 32 20 08 	srl  %o0, 8, %g1                               
 203d8d0:	c2 2f 60 06 	stb  %g1, [ %i5 + 6 ]                          
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
 203d8d4:	83 37 20 10 	srl  %i4, 0x10, %g1                            
        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);                 
 203d8d8:	85 32 20 10 	srl  %o0, 0x10, %g2                            
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
 203d8dc:	c2 2f 60 01 	stb  %g1, [ %i5 + 1 ]                          
 203d8e0:	83 37 20 08 	srl  %i4, 8, %g1                               
        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);                 
 203d8e4:	87 32 20 18 	srl  %o0, 0x18, %g3                            
 203d8e8:	c4 2f 60 05 	stb  %g2, [ %i5 + 5 ]                          
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
 203d8ec:	c2 2f 60 02 	stb  %g1, [ %i5 + 2 ]                          
 203d8f0:	85 37 20 18 	srl  %i4, 0x18, %g2                            
          rtems_rfs_dir_set_entry_length (entry,                      
 203d8f4:	83 34 e0 08 	srl  %l3, 8, %g1                               
        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);                 
 203d8f8:	c6 2f 60 04 	stb  %g3, [ %i5 + 4 ]                          
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
 203d8fc:	c4 2f 40 00 	stb  %g2, [ %i5 ]                              
          rtems_rfs_dir_set_entry_length (entry,                      
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
 203d900:	94 10 00 1b 	mov  %i3, %o2                                  
 203d904:	92 10 00 1a 	mov  %i2, %o1                                  
        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);                 
 203d908:	d0 2f 60 07 	stb  %o0, [ %i5 + 7 ]                          
          rtems_rfs_dir_set_entry_ino (entry, ino);                   
 203d90c:	f8 2f 60 03 	stb  %i4, [ %i5 + 3 ]                          
          rtems_rfs_dir_set_entry_length (entry,                      
 203d910:	e6 2f 60 09 	stb  %l3, [ %i5 + 9 ]                          
 203d914:	c2 2f 60 08 	stb  %g1, [ %i5 + 8 ]                          
                                          RTEMS_RFS_DIR_ENTRY_SIZE + length);
          memcpy (entry + RTEMS_RFS_DIR_ENTRY_SIZE, name, length);    
 203d918:	40 00 39 3b 	call  204be04 <memcpy>                         
 203d91c:	90 07 60 0a 	add  %i5, 0xa, %o0                             
          rtems_rfs_buffer_mark_dirty (&buffer);                      
 203d920:	82 10 20 01 	mov  1, %g1                                    
 203d924:	92 07 bf a4 	add  %fp, -92, %o1                             
 203d928:	90 10 00 18 	mov  %i0, %o0                                  
 203d92c:	7f ff fb 83 	call  203c738 <rtems_rfs_buffer_handle_release>
 203d930:	c2 2f bf a4 	stb  %g1, [ %fp + -92 ]                        
          rtems_rfs_buffer_handle_close (fs, &buffer);                
          rtems_rfs_block_map_close (fs, &map);                       
 203d934:	90 10 00 18 	mov  %i0, %o0                                  
  handle->dirty = false;                                              
 203d938:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203d93c:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203d940:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
 203d944:	92 07 bf b0 	add  %fp, -80, %o1                             
 203d948:	7f ff f8 53 	call  203ba94 <rtems_rfs_block_map_close>      
 203d94c:	ba 10 20 00 	clr  %i5                                       
 203d950:	30 bf ff 43 	b,a   203d65c <rtems_rfs_dir_add_entry+0x38>   
  while (true)                                                        
  {                                                                   
    rtems_rfs_block_no block;                                         
    uint8_t*           entry;                                         
    int                offset;                                        
    bool               read = true;                                   
 203d954:	10 bf ff 5d 	b  203d6c8 <rtems_rfs_dir_add_entry+0xa4>      
 203d958:	a0 10 20 01 	mov  1, %l0                                    
    bpos.bno++;                                                       
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, read);  
    if (rc > 0)                                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))            
 203d95c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d960:	7f ff a5 49 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d964:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    <== NOT EXECUTED
 203d968:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d96c:	22 80 00 0c 	be,a   203d99c <rtems_rfs_dir_add_entry+0x378> <== NOT EXECUTED
 203d970:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
        printf ("rtems-rfs: dir-add-entry: "                          
 203d974:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 203d978:	40 00 47 7c 	call  204f768 <strerror>                       <== NOT EXECUTED
 203d97c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203d980:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 203d984:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203d988:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 203d98c:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203d990:	40 00 3e 1d 	call  204d204 <printf>                         <== NOT EXECUTED
 203d994:	90 12 21 a0 	or  %o0, 0x1a0, %o0	! 206e1a0 <__FUNCTION__.7829+0xa08><== 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);                       
 203d998:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
 203d99c:	7f ff fb 67 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203d9a0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      offset += elength;                                              
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
 203d9a4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 203d9a8:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203d9ac:	c0 27 bf a8 	clr  [ %fp + -88 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 203d9b0:	c0 27 bf ac 	clr  [ %fp + -84 ]                             <== NOT EXECUTED
 203d9b4:	7f ff f8 38 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 203d9b8:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203d9bc:	30 bf ff 28 	b,a   203d65c <rtems_rfs_dir_add_entry+0x38>   <== NOT EXECUTED
    rc = rtems_rfs_block_map_find (fs, &map, &bpos, &block);          
    if (rc > 0)                                                       
    {                                                                 
      if (rc != ENXIO)                                                
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
 203d9c0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d9c4:	7f ff a5 30 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d9c8:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    <== NOT EXECUTED
 203d9cc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d9d0:	22 bf ff f3 	be,a   203d99c <rtems_rfs_dir_add_entry+0x378> <== NOT EXECUTED
 203d9d4:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
 203d9d8:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 203d9dc:	40 00 47 63 	call  204f768 <strerror>                       <== NOT EXECUTED
 203d9e0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203d9e4:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 203d9e8:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203d9ec:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 203d9f0:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203d9f4:	40 00 3e 04 	call  204d204 <printf>                         <== NOT EXECUTED
 203d9f8:	90 12 21 10 	or  %o0, 0x110, %o0	! 206e110 <__FUNCTION__.7829+0x978><== 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);                       
 203d9fc:	10 bf ff e8 	b  203d99c <rtems_rfs_dir_add_entry+0x378>     <== NOT EXECUTED
 203da00:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
       * We have reached the end of the directory so add a block.     
       */                                                             
      rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);            
      if (rc > 0)                                                     
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_ADD_ENTRY))          
 203da04:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203da08:	7f ff a5 1f 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203da0c:	13 08 00 00 	sethi  %hi(0x20000000), %o1                    <== NOT EXECUTED
 203da10:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203da14:	22 bf ff e2 	be,a   203d99c <rtems_rfs_dir_add_entry+0x378> <== NOT EXECUTED
 203da18:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
          printf ("rtems-rfs: dir-add-entry: "                        
 203da1c:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 203da20:	40 00 47 52 	call  204f768 <strerror>                       <== NOT EXECUTED
 203da24:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203da28:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 203da2c:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203da30:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 203da34:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203da38:	40 00 3d f3 	call  204d204 <printf>                         <== NOT EXECUTED
 203da3c:	90 12 21 58 	or  %o0, 0x158, %o0	! 206e158 <__FUNCTION__.7829+0x9c0><== NOT EXECUTED
 203da40:	10 bf ff d7 	b  203d99c <rtems_rfs_dir_add_entry+0x378>     <== NOT EXECUTED
 203da44:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
                                                                      

0203da48 <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) {
 203da48:	9d e3 bf 40 	save  %sp, -192, %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))                
 203da4c:	90 10 20 00 	clr  %o0                                       
 203da50:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    
 203da54:	7f ff a5 0c 	call  2026e84 <rtems_rfs_trace>                
 203da58:	a2 10 00 18 	mov  %i0, %l1                                  
 203da5c:	80 8a 20 ff 	btst  0xff, %o0                                
 203da60:	12 80 00 0a 	bne  203da88 <rtems_rfs_dir_del_entry+0x40>    <== NEVER TAKEN
 203da64:	92 10 00 19 	mov  %i1, %o1                                  
    printf ("rtems-rfs: dir-del-entry: dir=%" PRId32 ", entry=%" PRId32 " offset=%" PRIu32 "\n",
            rtems_rfs_inode_ino (dir), ino, offset);                  
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 203da68:	90 10 00 11 	mov  %l1, %o0                                  
 203da6c:	7f ff f7 a9 	call  203b910 <rtems_rfs_block_map_open>       
 203da70:	94 07 bf b0 	add  %fp, -80, %o2                             
  if (rc > 0)                                                         
 203da74:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203da78:	04 80 00 11 	ble  203dabc <rtems_rfs_dir_del_entry+0x74>    <== ALWAYS TAKEN
 203da7c:	90 10 00 11 	mov  %l1, %o0                                  
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
 203da80:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203da84:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rtems_rfs_buffer_handle buffer;                                     
  bool                    search;                                     
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))                
    printf ("rtems-rfs: dir-del-entry: dir=%" PRId32 ", entry=%" PRId32 " offset=%" PRIu32 "\n",
 203da88:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203da8c:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 203da90:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
 203da94:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203da98:	40 00 3d db 	call  204d204 <printf>                         <== NOT EXECUTED
 203da9c:	90 12 22 40 	or  %o0, 0x240, %o0	! 206e240 <__FUNCTION__.7829+0xaa8><== NOT EXECUTED
            rtems_rfs_inode_ino (dir), ino, offset);                  
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 203daa0:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 203daa4:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 203daa8:	7f ff f7 9a 	call  203b910 <rtems_rfs_block_map_open>       <== NOT EXECUTED
 203daac:	94 07 bf b0 	add  %fp, -80, %o2                             <== NOT EXECUTED
  if (rc > 0)                                                         
 203dab0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 203dab4:	14 bf ff f3 	bg  203da80 <rtems_rfs_dir_del_entry+0x38>     <== NOT EXECUTED
 203dab8:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
 203dabc:	92 07 bf b0 	add  %fp, -80, %o1                             
 203dac0:	94 10 20 00 	clr  %o2                                       
 203dac4:	96 10 00 1b 	mov  %i3, %o3                                  
 203dac8:	7f ff f8 c1 	call  203bdcc <rtems_rfs_block_map_seek>       
 203dacc:	98 07 bf a0 	add  %fp, -96, %o4                             
  if (rc > 0)                                                         
 203dad0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203dad4:	04 80 00 09 	ble  203daf8 <rtems_rfs_dir_del_entry+0xb0>    <== ALWAYS TAKEN
 203dad8:	80 a6 20 06 	cmp  %i0, 6                                    
  {                                                                   
    if (rc == ENXIO)                                                  
 203dadc:	22 80 00 02 	be,a   203dae4 <rtems_rfs_dir_del_entry+0x9c>  <== NOT EXECUTED
 203dae0:	b0 10 20 02 	mov  2, %i0                                    <== NOT EXECUTED
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
 203dae4:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 203dae8:	7f ff f7 eb 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 203daec:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203daf0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203daf4:	81 e8 00 00 	restore                                        <== 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)                                                       
 203daf8:	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)                       
 203dafc:	29 00 00 3f 	sethi  %hi(0xfc00), %l4                        
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 203db00:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203db04:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203db08:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
 203db0c:	a6 60 3f ff 	subx  %g0, -1, %l3                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203db10:	a8 15 23 ff 	or  %l4, 0x3ff, %l4                            
  while (rc == 0)                                                     
  {                                                                   
    uint8_t* entry;                                                   
    int      eoffset;                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
 203db14:	d4 07 bf a0 	ld  [ %fp + -96 ], %o2                         
 203db18:	90 10 00 11 	mov  %l1, %o0                                  
 203db1c:	92 07 bf a4 	add  %fp, -92, %o1                             
 203db20:	7f ff fb 80 	call  203c920 <rtems_rfs_buffer_handle_request>
 203db24:	96 10 20 01 	mov  1, %o3                                    
    if (rc > 0)                                                       
 203db28:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203db2c:	14 80 00 cc 	bg  203de5c <rtems_rfs_dir_del_entry+0x414>    <== NEVER TAKEN
 203db30:	80 a4 e0 00 	cmp  %l3, 0                                    
                                                                      
    /*                                                                
     * If we are searching start at the beginning of the block. If not searching
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
 203db34:	02 80 00 63 	be  203dcc0 <rtems_rfs_dir_del_entry+0x278>    <== ALWAYS TAKEN
 203db38:	ea 04 60 08 	ld  [ %l1 + 8 ], %l5                           
 203db3c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
      eoffset = 0;                                                    
 203db40:	a4 10 20 00 	clr  %l2                                       <== NOT EXECUTED
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
 203db44:	c2 07 bf ac 	ld  [ %fp + -84 ], %g1                         
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 203db48:	9e 05 7f f6 	add  %l5, -10, %o7                             
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
                                                                      
    entry = rtems_rfs_buffer_data (&buffer) + eoffset;                
 203db4c:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
                                                                      
    while (eoffset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 203db50:	80 a3 c0 08 	cmp  %o7, %o0                                  
 203db54:	08 80 00 33 	bleu  203dc20 <rtems_rfs_dir_del_entry+0x1d8>  <== NEVER TAKEN
 203db58:	ba 00 40 08 	add  %g1, %o0, %i5                             
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 203db5c:	f8 0f 60 08 	ldub  [ %i5 + 8 ], %i4                         
 203db60:	c8 0f 60 09 	ldub  [ %i5 + 9 ], %g4                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203db64:	e0 0f 60 01 	ldub  [ %i5 + 1 ], %l0                         
 203db68:	c6 0f 60 02 	ldub  [ %i5 + 2 ], %g3                         
 203db6c:	c2 08 40 08 	ldub  [ %g1 + %o0 ], %g1                       
    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);                   
 203db70:	b9 2f 20 08 	sll  %i4, 8, %i4                               
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203db74:	c4 0f 60 03 	ldub  [ %i5 + 3 ], %g2                         
 203db78:	a1 2c 20 10 	sll  %l0, 0x10, %l0                            
    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);                   
 203db7c:	b8 17 00 04 	or  %i4, %g4, %i4                              
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203db80:	87 28 e0 08 	sll  %g3, 8, %g3                               
 203db84:	10 80 00 22 	b  203dc0c <rtems_rfs_dir_del_entry+0x1c4>     
 203db88:	83 28 60 18 	sll  %g1, 0x18, %g1                            
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
 203db8c:	80 a7 20 0a 	cmp  %i4, 0xa                                  
 203db90:	04 80 00 33 	ble  203dc5c <rtems_rfs_dir_del_entry+0x214>   <== NEVER TAKEN
 203db94:	90 10 20 00 	clr  %o0                                       
 203db98:	c2 04 60 1c 	ld  [ %l1 + 0x1c ], %g1                        
 203db9c:	80 a7 00 01 	cmp  %i4, %g1                                  
 203dba0:	1a 80 00 2f 	bcc  203dc5c <rtems_rfs_dir_del_entry+0x214>   <== NEVER TAKEN
 203dba4:	80 a4 20 00 	cmp  %l0, 0                                    
 203dba8:	02 80 00 2d 	be  203dc5c <rtems_rfs_dir_del_entry+0x214>    <== NEVER TAKEN
 203dbac:	01 00 00 00 	nop                                            
 203dbb0:	c2 04 60 14 	ld  [ %l1 + 0x14 ], %g1                        
 203dbb4:	80 a0 40 10 	cmp  %g1, %l0                                  
 203dbb8:	0a 80 00 29 	bcs  203dc5c <rtems_rfs_dir_del_entry+0x214>   <== NEVER TAKEN
 203dbbc:	80 a6 80 10 	cmp  %i2, %l0                                  
                  rtems_rfs_inode_ino (dir), elength, eino, block, eoffset);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
 203dbc0:	02 80 00 45 	be  203dcd4 <rtems_rfs_dir_del_entry+0x28c>    <== ALWAYS TAKEN
 203dbc4:	80 a4 e0 00 	cmp  %l3, 0                                    
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
        return 0;                                                     
      }                                                               
                                                                      
      if (!search)                                                    
 203dbc8:	22 80 00 33 	be,a   203dc94 <rtems_rfs_dir_del_entry+0x24c> <== NOT EXECUTED
 203dbcc:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      entry   += elength;                                             
      eoffset += elength;                                             
 203dbd0:	a4 04 80 1c 	add  %l2, %i4, %l2                             <== 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))
 203dbd4:	80 a4 80 0f 	cmp  %l2, %o7                                  <== NOT EXECUTED
 203dbd8:	1a 80 00 12 	bcc  203dc20 <rtems_rfs_dir_del_entry+0x1d8>   <== NOT EXECUTED
 203dbdc:	ba 07 40 1c 	add  %i5, %i4, %i5                             <== NOT EXECUTED
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 203dbe0:	f8 0f 60 08 	ldub  [ %i5 + 8 ], %i4                         <== NOT EXECUTED
 203dbe4:	c8 0f 60 09 	ldub  [ %i5 + 9 ], %g4                         <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203dbe8:	e0 0f 40 00 	ldub  [ %i5 ], %l0                             <== NOT EXECUTED
 203dbec:	c6 0f 60 01 	ldub  [ %i5 + 1 ], %g3                         <== NOT EXECUTED
 203dbf0:	c2 0f 60 02 	ldub  [ %i5 + 2 ], %g1                         <== NOT EXECUTED
 203dbf4:	c4 0f 60 03 	ldub  [ %i5 + 3 ], %g2                         <== NOT EXECUTED
    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);                   
 203dbf8:	b9 2f 20 08 	sll  %i4, 8, %i4                               <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203dbfc:	a1 2c 20 18 	sll  %l0, 0x18, %l0                            <== NOT EXECUTED
    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);                   
 203dc00:	b8 17 00 04 	or  %i4, %g4, %i4                              <== NOT EXECUTED
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203dc04:	87 28 e0 10 	sll  %g3, 0x10, %g3                            <== NOT EXECUTED
 203dc08:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 203dc0c:	a0 14 00 03 	or  %l0, %g3, %l0                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203dc10:	80 a7 00 14 	cmp  %i4, %l4                                  
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203dc14:	a0 14 00 02 	or  %l0, %g2, %l0                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203dc18:	12 bf ff dd 	bne  203db8c <rtems_rfs_dir_del_entry+0x144>   <== ALWAYS TAKEN
 203dc1c:	a0 14 00 01 	or  %l0, %g1, %l0                              
                                                                      
      entry   += elength;                                             
      eoffset += elength;                                             
    }                                                                 
                                                                      
    if (rc == 0)                                                      
 203dc20:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 203dc24:	12 80 00 1d 	bne  203dc98 <rtems_rfs_dir_del_entry+0x250>   <== NOT EXECUTED
 203dc28:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
 203dc2c:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 203dc30:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203dc34:	7f ff f8 83 	call  203be40 <rtems_rfs_block_map_next_block> <== NOT EXECUTED
 203dc38:	94 07 bf a0 	add  %fp, -96, %o2                             <== NOT EXECUTED
      if (rc == ENXIO)                                                
 203dc3c:	80 a2 20 06 	cmp  %o0, 6                                    <== NOT EXECUTED
 203dc40:	02 80 00 85 	be  203de54 <rtems_rfs_dir_del_entry+0x40c>    <== NOT EXECUTED
 203dc44:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
  /*                                                                  
   * Only search if the offset is 0 else we are at that position.     
   */                                                                 
  search = offset ? false : true;                                     
                                                                      
  while (rc == 0)                                                     
 203dc48:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203dc4c:	02 bf ff b3 	be  203db18 <rtems_rfs_dir_del_entry+0xd0>     <== NOT EXECUTED
 203dc50:	d4 07 bf a0 	ld  [ %fp + -96 ], %o2                         <== 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);                       
 203dc54:	10 80 00 11 	b  203dc98 <rtems_rfs_dir_del_entry+0x250>     <== NOT EXECUTED
 203dc58:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
 203dc5c:	7f ff a4 8a 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203dc60:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    <== NOT EXECUTED
 203dc64:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203dc68:	22 80 00 0b 	be,a   203dc94 <rtems_rfs_dir_del_entry+0x24c> <== NOT EXECUTED
 203dc6c:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
          printf ("rtems-rfs: dir-del-entry: "                        
 203dc70:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203dc74:	d8 07 bf a0 	ld  [ %fp + -96 ], %o4                         <== NOT EXECUTED
 203dc78:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203dc7c:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 203dc80:	90 12 22 c8 	or  %o0, 0x2c8, %o0                            <== NOT EXECUTED
 203dc84:	96 10 00 10 	mov  %l0, %o3                                  <== NOT EXECUTED
 203dc88:	40 00 3d 5f 	call  204d204 <printf>                         <== NOT EXECUTED
 203dc8c:	9a 10 00 12 	mov  %l2, %o5                                  <== NOT EXECUTED
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
        return 0;                                                     
 203dc90:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 203dc94:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
 203dc98:	7f ff fa a8 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203dc9c:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
        rc = ENOENT;                                                  
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
 203dca0:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 203dca4:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203dca8:	c0 27 bf a8 	clr  [ %fp + -88 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 203dcac:	c0 27 bf ac 	clr  [ %fp + -84 ]                             <== NOT EXECUTED
 203dcb0:	7f ff f7 79 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 203dcb4:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203dcb8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203dcbc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
     * skip to the offset in the block.                               
     */                                                               
    if (search)                                                       
      eoffset = 0;                                                    
    else                                                              
      eoffset = offset % rtems_rfs_fs_block_size (fs);                
 203dcc0:	90 10 00 1b 	mov  %i3, %o0                                  
 203dcc4:	40 00 90 a2 	call  2061f4c <.urem>                          
 203dcc8:	92 10 00 15 	mov  %l5, %o1                                  
 203dccc:	10 bf ff 9e 	b  203db44 <rtems_rfs_dir_del_entry+0xfc>      
 203dcd0:	a4 10 00 08 	mov  %o0, %l2                                  
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
      {                                                               
        uint32_t remaining;                                           
        remaining = rtems_rfs_fs_block_size (fs) - (eoffset + elength);
 203dcd4:	82 07 00 12 	add  %i4, %l2, %g1                             
        memmove (entry, entry + elength, remaining);                  
 203dcd8:	92 07 40 1c 	add  %i5, %i4, %o1                             
      }                                                               
                                                                      
      if (ino == rtems_rfs_dir_entry_ino (entry))                     
      {                                                               
        uint32_t remaining;                                           
        remaining = rtems_rfs_fs_block_size (fs) - (eoffset + elength);
 203dcdc:	aa 25 40 01 	sub  %l5, %g1, %l5                             
        memmove (entry, entry + elength, remaining);                  
 203dce0:	90 10 00 1d 	mov  %i5, %o0                                  
 203dce4:	40 00 38 85 	call  204bef8 <memmove>                        
 203dce8:	94 10 00 15 	mov  %l5, %o2                                  
        memset (entry + remaining, 0xff, elength);                    
 203dcec:	92 10 20 ff 	mov  0xff, %o1                                 
 203dcf0:	94 10 00 1c 	mov  %i4, %o2                                  
 203dcf4:	40 00 38 d3 	call  204c040 <memset>                         
 203dcf8:	90 07 40 15 	add  %i5, %l5, %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);                 
 203dcfc:	c2 0f 60 09 	ldub  [ %i5 + 9 ], %g1                         
 203dd00:	c4 0f 60 08 	ldub  [ %i5 + 8 ], %g2                         
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
 203dd04:	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);                 
 203dd08:	bb 28 a0 08 	sll  %g2, 8, %i5                               
                                                                      
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))          
 203dd0c:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    
 203dd10:	7f ff a4 5d 	call  2026e84 <rtems_rfs_trace>                
 203dd14:	ba 17 40 01 	or  %i5, %g1, %i5                              
 203dd18:	80 8a 20 ff 	btst  0xff, %o0                                
 203dd1c:	02 80 00 17 	be  203dd78 <rtems_rfs_dir_del_entry+0x330>    <== ALWAYS TAKEN
 203dd20:	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");    
 203dd24:	c2 07 bf c0 	ld  [ %fp + -64 ], %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: "                        
 203dd28:	d6 07 bf a0 	ld  [ %fp + -96 ], %o3                         <== NOT EXECUTED
 203dd2c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 203dd30:	12 80 00 05 	bne  203dd44 <rtems_rfs_dir_del_entry+0x2fc>   <== NOT EXECUTED
 203dd34:	c4 07 bf b8 	ld  [ %fp + -72 ], %g2                         <== 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");    
 203dd38:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 203dd3c:	02 80 00 3e 	be  203de34 <rtems_rfs_dir_del_entry+0x3ec>    <== NOT EXECUTED
 203dd40:	1b 00 81 b8 	sethi  %hi(0x206e000), %o5                     <== NOT EXECUTED
 203dd44:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
 203dd48:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 203dd4c:	02 80 00 3a 	be  203de34 <rtems_rfs_dir_del_entry+0x3ec>    <== NOT EXECUTED
 203dd50:	1b 00 81 b8 	sethi  %hi(0x206e000), %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: "                        
 203dd54:	1b 00 81 b8 	sethi  %hi(0x206e000), %o5                     <== NOT EXECUTED
 203dd58:	9a 13 62 38 	or  %o5, 0x238, %o5	! 206e238 <__FUNCTION__.7829+0xaa0><== NOT EXECUTED
 203dd5c:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203dd60:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 203dd64:	90 12 23 18 	or  %o0, 0x318, %o0                            <== NOT EXECUTED
 203dd68:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 203dd6c:	40 00 3d 26 	call  204d204 <printf>                         <== NOT EXECUTED
 203dd70:	98 10 00 12 	mov  %l2, %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) &&                 
 203dd74:	03 3f ff c0 	sethi  %hi(0xffff0000), %g1                    <== NOT EXECUTED
 203dd78:	ba 38 40 1d 	xnor  %g1, %i5, %i5                            
 203dd7c:	80 a7 60 00 	cmp  %i5, 0                                    
 203dd80:	12 80 00 1f 	bne  203ddfc <rtems_rfs_dir_del_entry+0x3b4>   
 203dd84:	80 a4 a0 00 	cmp  %l2, 0                                    
 203dd88:	12 80 00 1d 	bne  203ddfc <rtems_rfs_dir_del_entry+0x3b4>   <== ALWAYS TAKEN
 203dd8c:	c2 07 bf c0 	ld  [ %fp + -64 ], %g1                         
            (eoffset == 0) && rtems_rfs_block_map_last (&map))        
 203dd90:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 203dd94:	12 80 00 2a 	bne  203de3c <rtems_rfs_dir_del_entry+0x3f4>   <== NOT EXECUTED
 203dd98:	c4 07 bf b8 	ld  [ %fp + -72 ], %g2                         <== NOT EXECUTED
 203dd9c:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 203dda0:	12 80 00 28 	bne  203de40 <rtems_rfs_dir_del_entry+0x3f8>   <== NOT EXECUTED
 203dda4:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_shrink (fs, &map, 1);              
 203dda8:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 203ddac:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203ddb0:	7f ff f9 27 	call  203c24c <rtems_rfs_block_map_shrink>     <== NOT EXECUTED
 203ddb4:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
          if (rc > 0)                                                 
 203ddb8:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 203ddbc:	04 80 00 10 	ble  203ddfc <rtems_rfs_dir_del_entry+0x3b4>   <== NOT EXECUTED
 203ddc0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
          {                                                           
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))      
 203ddc4:	7f ff a4 30 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203ddc8:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    <== NOT EXECUTED
 203ddcc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203ddd0:	02 80 00 0c 	be  203de00 <rtems_rfs_dir_del_entry+0x3b8>    <== NOT EXECUTED
 203ddd4:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
              printf ("rtems-rfs: dir-del-entry: "                    
 203ddd8:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 203dddc:	40 00 46 63 	call  204f768 <strerror>                       <== NOT EXECUTED
 203dde0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203dde4:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 203dde8:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203ddec:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 203ddf0:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203ddf4:	40 00 3d 04 	call  204d204 <printf>                         <== NOT EXECUTED
 203ddf8:	90 12 23 78 	or  %o0, 0x378, %o0	! 206e378 <__FUNCTION__.7829+0xbe0><== 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);                        
 203ddfc:	82 10 20 01 	mov  1, %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);                       
 203de00:	92 07 bf a4 	add  %fp, -92, %o1                             
 203de04:	90 10 00 11 	mov  %l1, %o0                                  
 203de08:	7f ff fa 4c 	call  203c738 <rtems_rfs_buffer_handle_release>
 203de0c:	c2 2f bf a4 	stb  %g1, [ %fp + -92 ]                        
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
        return 0;                                                     
 203de10:	b0 10 20 00 	clr  %i0                                       
          }                                                           
        }                                                             
                                                                      
        rtems_rfs_buffer_mark_dirty (&buffer);                        
        rtems_rfs_buffer_handle_close (fs, &buffer);                  
        rtems_rfs_block_map_close (fs, &map);                         
 203de14:	90 10 00 11 	mov  %l1, %o0                                  
  handle->dirty = false;                                              
 203de18:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203de1c:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203de20:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
 203de24:	7f ff f7 1c 	call  203ba94 <rtems_rfs_block_map_close>      
 203de28:	92 07 bf b0 	add  %fp, -80, %o1                             
 203de2c:	81 c7 e0 08 	ret                                            
 203de30:	81 e8 00 00 	restore                                        
         *       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: "                        
 203de34:	10 bf ff ca 	b  203dd5c <rtems_rfs_dir_del_entry+0x314>     <== NOT EXECUTED
 203de38:	9a 13 62 30 	or  %o5, 0x230, %o5                            <== NOT EXECUTED
                  " offset=%d last=%s\n",                             
                  ino, elength, block, eoffset,                       
                  rtems_rfs_block_map_last (&map) ? "yes" : "no");    
                                                                      
        if ((elength == RTEMS_RFS_DIR_ENTRY_EMPTY) &&                 
            (eoffset == 0) && rtems_rfs_block_map_last (&map))        
 203de3c:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
 203de40:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 203de44:	12 bf ff ef 	bne  203de00 <rtems_rfs_dir_del_entry+0x3b8>   <== NOT EXECUTED
 203de48:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
        {                                                             
          rc = rtems_rfs_block_map_shrink (fs, &map, 1);              
 203de4c:	10 bf ff d8 	b  203ddac <rtems_rfs_dir_del_entry+0x364>     <== NOT EXECUTED
 203de50:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
                                                                      
    if (rc == 0)                                                      
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
      if (rc == ENXIO)                                                
        rc = ENOENT;                                                  
 203de54:	10 bf ff 90 	b  203dc94 <rtems_rfs_dir_del_entry+0x24c>     <== NOT EXECUTED
 203de58:	b0 10 20 02 	mov  2, %i0                                    <== NOT EXECUTED
    int      eoffset;                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
    if (rc > 0)                                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_DEL_ENTRY))            
 203de5c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203de60:	7f ff a4 09 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203de64:	13 10 00 00 	sethi  %hi(0x40000000), %o1                    <== NOT EXECUTED
 203de68:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203de6c:	22 bf ff 8b 	be,a   203dc98 <rtems_rfs_dir_del_entry+0x250> <== NOT EXECUTED
 203de70:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
        printf ("rtems-rfs: dir-del-entry: "                          
 203de74:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           <== NOT EXECUTED
 203de78:	40 00 46 3c 	call  204f768 <strerror>                       <== NOT EXECUTED
 203de7c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203de80:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203de84:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203de88:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
 203de8c:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203de90:	40 00 3c dd 	call  204d204 <printf>                         <== NOT EXECUTED
 203de94:	90 12 22 80 	or  %o0, 0x280, %o0	! 206e280 <__FUNCTION__.7829+0xae8><== 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);                       
 203de98:	10 bf ff 80 	b  203dc98 <rtems_rfs_dir_del_entry+0x250>     <== NOT EXECUTED
 203de9c:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
                                                                      

0203e260 <rtems_rfs_dir_empty>: } int rtems_rfs_dir_empty (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* dir) {
 203e260:	9d e3 bf 40 	save  %sp, -192, %sp                           
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  bool                    empty;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
 203e264:	90 10 20 00 	clr  %o0                                       
 203e268:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    
 203e26c:	7f ff a3 06 	call  2026e84 <rtems_rfs_trace>                
 203e270:	b4 10 00 18 	mov  %i0, %i2                                  
 203e274:	80 8a 20 ff 	btst  0xff, %o0                                
 203e278:	12 80 00 0a 	bne  203e2a0 <rtems_rfs_dir_empty+0x40>        <== NEVER TAKEN
 203e27c:	92 10 00 19 	mov  %i1, %o1                                  
    printf ("rtems-rfs: dir-empty: dir=%" PRId32 "\n", rtems_rfs_inode_ino (dir));
                                                                      
  empty = true;                                                       
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 203e280:	90 10 00 1a 	mov  %i2, %o0                                  
 203e284:	7f ff f5 a3 	call  203b910 <rtems_rfs_block_map_open>       
 203e288:	94 07 bf b0 	add  %fp, -80, %o2                             
  if (rc > 0)                                                         
 203e28c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203e290:	04 80 00 0f 	ble  203e2cc <rtems_rfs_dir_empty+0x6c>        <== ALWAYS TAKEN
 203e294:	90 10 00 1a 	mov  %i2, %o0                                  
    rc = ENOTEMPTY;                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
 203e298:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203e29c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rtems_rfs_block_no      block;                                      
  bool                    empty;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
    printf ("rtems-rfs: dir-empty: dir=%" PRId32 "\n", rtems_rfs_inode_ino (dir));
 203e2a0:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203e2a4:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203e2a8:	40 00 3b d7 	call  204d204 <printf>                         <== NOT EXECUTED
 203e2ac:	90 12 20 a8 	or  %o0, 0xa8, %o0	! 206e4a8 <__FUNCTION__.7829+0xd10><== NOT EXECUTED
                                                                      
  empty = true;                                                       
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 203e2b0:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 203e2b4:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 203e2b8:	7f ff f5 96 	call  203b910 <rtems_rfs_block_map_open>       <== NOT EXECUTED
 203e2bc:	94 07 bf b0 	add  %fp, -80, %o2                             <== NOT EXECUTED
  if (rc > 0)                                                         
 203e2c0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 203e2c4:	14 bf ff f5 	bg  203e298 <rtems_rfs_dir_empty+0x38>         <== NOT EXECUTED
 203e2c8:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);                
 203e2cc:	92 07 bf b0 	add  %fp, -80, %o1                             
 203e2d0:	94 10 20 00 	clr  %o2                                       
 203e2d4:	96 10 20 00 	clr  %o3                                       
 203e2d8:	7f ff f6 bd 	call  203bdcc <rtems_rfs_block_map_seek>       
 203e2dc:	98 07 bf a0 	add  %fp, -96, %o4                             
  if (rc > 0)                                                         
 203e2e0:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203e2e4:	14 80 00 7d 	bg  203e4d8 <rtems_rfs_dir_empty+0x278>        <== NEVER TAKEN
 203e2e8:	23 00 00 3f 	sethi  %hi(0xfc00), %l1                        
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
          printf ("rtems-rfs: dir-empty: "                            
 203e2ec:	21 00 81 b9 	sethi  %hi(0x206e400), %l0                     
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 203e2f0:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203e2f4:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203e2f8:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203e2fc:	a2 14 63 ff 	or  %l1, 0x3ff, %l1                            
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
          printf ("rtems-rfs: dir-empty: "                            
 203e300:	a0 14 20 c8 	or  %l0, 0xc8, %l0                             
  while (empty)                                                       
  {                                                                   
    uint8_t* entry;                                                   
    int      offset;                                                  
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
 203e304:	d4 07 bf a0 	ld  [ %fp + -96 ], %o2                         
 203e308:	90 10 00 1a 	mov  %i2, %o0                                  
 203e30c:	92 07 bf a4 	add  %fp, -92, %o1                             
 203e310:	7f ff f9 84 	call  203c920 <rtems_rfs_buffer_handle_request>
 203e314:	96 10 20 01 	mov  1, %o3                                    
    if (rc > 0)                                                       
 203e318:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203e31c:	14 80 00 4d 	bg  203e450 <rtems_rfs_dir_empty+0x1f0>        <== NEVER TAKEN
 203e320:	c2 07 bf ac 	ld  [ %fp + -84 ], %g1                         
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 203e324:	da 06 a0 08 	ld  [ %i2 + 8 ], %o5                           
 203e328:	9a 83 7f f6 	addcc  %o5, -10, %o5                           
 203e32c:	02 80 00 5f 	be  203e4a8 <rtems_rfs_dir_empty+0x248>        <== NEVER TAKEN
 203e330:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 203e334:	fa 08 60 08 	ldub  [ %g1 + 8 ], %i5                         
 203e338:	f6 08 60 09 	ldub  [ %g1 + 9 ], %i3                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203e33c:	f8 08 40 00 	ldub  [ %g1 ], %i4                             
 203e340:	c8 08 60 02 	ldub  [ %g1 + 2 ], %g4                         
 203e344:	c6 08 60 03 	ldub  [ %g1 + 3 ], %g3                         
 203e348:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         
    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);                   
 203e34c:	bb 2f 60 08 	sll  %i5, 8, %i5                               
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203e350:	b9 2f 20 18 	sll  %i4, 0x18, %i4                            
    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);                   
 203e354:	ba 17 40 1b 	or  %i5, %i3, %i5                              
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203e358:	89 29 20 08 	sll  %g4, 8, %g4                               
 203e35c:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 203e360:	b8 17 00 04 	or  %i4, %g4, %i4                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203e364:	80 a7 40 11 	cmp  %i5, %l1                                  
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203e368:	b8 17 00 03 	or  %i4, %g3, %i4                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203e36c:	02 80 00 4f 	be  203e4a8 <rtems_rfs_dir_empty+0x248>        <== NEVER TAKEN
 203e370:	b8 17 00 02 	or  %i4, %g2, %i4                              
 203e374:	10 80 00 20 	b  203e3f4 <rtems_rfs_dir_empty+0x194>         
 203e378:	b6 10 20 00 	clr  %i3                                       
      /*                                                              
       * Ignore the current (.) and parent (..) entries. Anything else means
       * the directory is not empty.                                  
       */                                                             
      if (((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 1)) ||             
           (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.')) &&               
 203e37c:	12 80 00 31 	bne  203e440 <rtems_rfs_dir_empty+0x1e0>       
 203e380:	80 a0 00 18 	cmp  %g0, %i0                                  
          ((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 2)) ||             
 203e384:	c4 08 60 0a 	ldub  [ %g1 + 0xa ], %g2                       
 203e388:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 203e38c:	12 80 00 2d 	bne  203e440 <rtems_rfs_dir_empty+0x1e0>       <== NEVER TAKEN
 203e390:	80 a0 00 18 	cmp  %g0, %i0                                  
           (entry[RTEMS_RFS_DIR_ENTRY_SIZE] != '.') ||                
 203e394:	c4 08 60 0b 	ldub  [ %g1 + 0xb ], %g2                       
 203e398:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 203e39c:	12 80 00 29 	bne  203e440 <rtems_rfs_dir_empty+0x1e0>       <== NEVER TAKEN
 203e3a0:	80 a0 00 18 	cmp  %g0, %i0                                  
        empty = false;                                                
        break;                                                        
      }                                                               
                                                                      
      entry  += elength;                                              
      offset += elength;                                              
 203e3a4:	b6 06 c0 1d 	add  %i3, %i5, %i3                             
      break;                                                          
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    offset = 0;                                                       
                                                                      
    while (offset < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 203e3a8:	80 a6 c0 0d 	cmp  %i3, %o5                                  
 203e3ac:	1a 80 00 3f 	bcc  203e4a8 <rtems_rfs_dir_empty+0x248>       <== NEVER TAKEN
 203e3b0:	82 00 40 1d 	add  %g1, %i5, %g1                             
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
 203e3b4:	fa 08 60 08 	ldub  [ %g1 + 8 ], %i5                         
 203e3b8:	de 08 60 09 	ldub  [ %g1 + 9 ], %o7                         
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203e3bc:	f8 08 40 00 	ldub  [ %g1 ], %i4                             
 203e3c0:	c8 08 60 01 	ldub  [ %g1 + 1 ], %g4                         
 203e3c4:	c6 08 60 03 	ldub  [ %g1 + 3 ], %g3                         
 203e3c8:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
    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);                   
 203e3cc:	bb 2f 60 08 	sll  %i5, 8, %i5                               
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203e3d0:	b9 2f 20 18 	sll  %i4, 0x18, %i4                            
    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);                   
 203e3d4:	ba 17 40 0f 	or  %i5, %o7, %i5                              
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203e3d8:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203e3dc:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203e3e0:	b8 17 00 04 	or  %i4, %g4, %i4                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203e3e4:	80 a7 40 11 	cmp  %i5, %l1                                  
    {                                                                 
      rtems_rfs_ino eino;                                             
      int           elength;                                          
                                                                      
      elength = rtems_rfs_dir_entry_length (entry);                   
      eino    = rtems_rfs_dir_entry_ino (entry);                      
 203e3e8:	b8 17 00 03 	or  %i4, %g3, %i4                              
                                                                      
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
 203e3ec:	02 80 00 2f 	be  203e4a8 <rtems_rfs_dir_empty+0x248>        
 203e3f0:	b8 17 00 02 	or  %i4, %g2, %i4                              
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
 203e3f4:	80 a7 60 0a 	cmp  %i5, 0xa                                  
 203e3f8:	04 80 00 21 	ble  203e47c <rtems_rfs_dir_empty+0x21c>       <== NEVER TAKEN
 203e3fc:	90 10 20 01 	mov  1, %o0                                    
 203e400:	c4 06 a0 1c 	ld  [ %i2 + 0x1c ], %g2                        
 203e404:	80 a7 40 02 	cmp  %i5, %g2                                  
 203e408:	1a 80 00 1d 	bcc  203e47c <rtems_rfs_dir_empty+0x21c>       <== NEVER TAKEN
 203e40c:	80 a7 20 00 	cmp  %i4, 0                                    
 203e410:	02 80 00 1b 	be  203e47c <rtems_rfs_dir_empty+0x21c>        <== NEVER TAKEN
 203e414:	01 00 00 00 	nop                                            
 203e418:	c4 06 a0 14 	ld  [ %i2 + 0x14 ], %g2                        
 203e41c:	80 a0 80 1c 	cmp  %g2, %i4                                  
 203e420:	0a 80 00 17 	bcs  203e47c <rtems_rfs_dir_empty+0x21c>       <== NEVER TAKEN
 203e424:	80 a7 60 0b 	cmp  %i5, 0xb                                  
                                                                      
      /*                                                              
       * Ignore the current (.) and parent (..) entries. Anything else means
       * the directory is not empty.                                  
       */                                                             
      if (((elength != (RTEMS_RFS_DIR_ENTRY_SIZE + 1)) ||             
 203e428:	12 bf ff d5 	bne  203e37c <rtems_rfs_dir_empty+0x11c>       
 203e42c:	80 a7 60 0c 	cmp  %i5, 0xc                                  
 203e430:	c4 08 60 0a 	ldub  [ %g1 + 0xa ], %g2                       
 203e434:	80 a0 a0 2e 	cmp  %g2, 0x2e                                 
 203e438:	02 bf ff db 	be  203e3a4 <rtems_rfs_dir_empty+0x144>        <== ALWAYS TAKEN
 203e43c:	80 a0 00 18 	cmp  %g0, %i0                                  
 203e440:	82 60 3f ff 	subx  %g0, -1, %g1                             
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ((rc == 0) && !empty)                                            
 203e444:	80 88 60 ff 	btst  0xff, %g1                                
 203e448:	32 80 00 02 	bne,a   203e450 <rtems_rfs_dir_empty+0x1f0>    <== ALWAYS TAKEN
 203e44c:	b0 10 20 5a 	mov  0x5a, %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);                       
 203e450:	92 07 bf a4 	add  %fp, -92, %o1                             
 203e454:	7f ff f8 b9 	call  203c738 <rtems_rfs_buffer_handle_release>
 203e458:	90 10 00 1a 	mov  %i2, %o0                                  
    rc = ENOTEMPTY;                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
 203e45c:	90 10 00 1a 	mov  %i2, %o0                                  
  handle->dirty = false;                                              
 203e460:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203e464:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203e468:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
 203e46c:	7f ff f5 8a 	call  203ba94 <rtems_rfs_block_map_close>      
 203e470:	92 07 bf b0 	add  %fp, -80, %o1                             
 203e474:	81 c7 e0 08 	ret                                            
 203e478:	81 e8 00 00 	restore                                        
      if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                       
        break;                                                        
                                                                      
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_EMPTY))              
 203e47c:	7f ff a2 82 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203e480:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203e484:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203e488:	02 80 00 09 	be  203e4ac <rtems_rfs_dir_empty+0x24c>        <== NOT EXECUTED
 203e48c:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
          printf ("rtems-rfs: dir-empty: "                            
 203e490:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203e494:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 203e498:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 203e49c:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
 203e4a0:	40 00 3b 59 	call  204d204 <printf>                         <== NOT EXECUTED
 203e4a4:	98 10 00 1b 	mov  %i3, %o4                                  <== NOT EXECUTED
      offset += elength;                                              
    }                                                                 
                                                                      
    if (empty)                                                        
    {                                                                 
      rc = rtems_rfs_block_map_next_block (fs, &map, &block);         
 203e4a8:	90 10 00 1a 	mov  %i2, %o0                                  
 203e4ac:	92 07 bf b0 	add  %fp, -80, %o1                             
 203e4b0:	7f ff f6 64 	call  203be40 <rtems_rfs_block_map_next_block> 
 203e4b4:	94 07 bf a0 	add  %fp, -96, %o2                             
      if (rc > 0)                                                     
 203e4b8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203e4bc:	04 bf ff 93 	ble  203e308 <rtems_rfs_dir_empty+0xa8>        <== NEVER TAKEN
 203e4c0:	d4 07 bf a0 	ld  [ %fp + -96 ], %o2                         
      {                                                               
        if (rc == ENXIO)                                              
          rc = 0;                                                     
 203e4c4:	82 1e 20 06 	xor  %i0, 6, %g1                               
 203e4c8:	80 a0 00 01 	cmp  %g0, %g1                                  
 203e4cc:	82 60 20 00 	subx  %g0, 0, %g1                              
 203e4d0:	10 bf ff e0 	b  203e450 <rtems_rfs_dir_empty+0x1f0>         
 203e4d4:	b0 0e 00 01 	and  %i0, %g1, %i0                             
    return rc;                                                        
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);                
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_block_map_close (fs, &map);                             
 203e4d8:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 203e4dc:	7f ff f5 6e 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 203e4e0:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203e4e4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203e4e8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02048268 <rtems_rfs_dir_hash>: */ #define initval (20010928) uint32_t rtems_rfs_dir_hash (const void *key, size_t length) {
 2048268:	9d e3 bf a0 	save  %sp, -96, %sp                            
  uint32_t a,b,c;                             /* internal state */    
  union { const void *ptr; size_t i; } u;     /* needed for Mac Powerbook G4 */
                                                                      
  /* Set up the internal state */                                     
  a = b = c = 0xdeadbeef + ((uint32_t)length) + initval;              
 204826c:	09 37 f7 c5 	sethi  %hi(0xdfdf1400), %g4                    
                                                                      
  } else {                        /* need to read the key one byte at a time */
    const uint8_t *k = (const uint8_t *)key;                          
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
 2048270:	82 10 00 18 	mov  %i0, %g1                                  
{                                                                     
  uint32_t a,b,c;                             /* internal state */    
  union { const void *ptr; size_t i; } u;     /* needed for Mac Powerbook G4 */
                                                                      
  /* Set up the internal state */                                     
  a = b = c = 0xdeadbeef + ((uint32_t)length) + initval;              
 2048274:	88 11 22 9f 	or  %g4, 0x29f, %g4                            
                                                                      
  } else {                        /* need to read the key one byte at a time */
    const uint8_t *k = (const uint8_t *)key;                          
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
 2048278:	80 a6 60 0c 	cmp  %i1, 0xc                                  
{                                                                     
  uint32_t a,b,c;                             /* internal state */    
  union { const void *ptr; size_t i; } u;     /* needed for Mac Powerbook G4 */
                                                                      
  /* Set up the internal state */                                     
  a = b = c = 0xdeadbeef + ((uint32_t)length) + initval;              
 204827c:	88 06 40 04 	add  %i1, %g4, %g4                             
                                                                      
  } else {                        /* need to read the key one byte at a time */
    const uint8_t *k = (const uint8_t *)key;                          
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
 2048280:	84 10 00 04 	mov  %g4, %g2                                  
 2048284:	08 80 00 4b 	bleu  20483b0 <rtems_rfs_dir_hash+0x148>       
 2048288:	86 10 00 04 	mov  %g4, %g3                                  
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
 204828c:	f8 08 60 0b 	ldub  [ %g1 + 0xb ], %i4                       
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
 2048290:	fa 08 60 03 	ldub  [ %g1 + 3 ], %i5                         
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
 2048294:	d8 08 60 05 	ldub  [ %g1 + 5 ], %o4                         
      b += ((uint32_t)k[6])<<16;                                      
 2048298:	d0 08 60 06 	ldub  [ %g1 + 6 ], %o0                         
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
 204829c:	d2 08 60 04 	ldub  [ %g1 + 4 ], %o1                         
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
 20482a0:	d4 08 60 07 	ldub  [ %g1 + 7 ], %o2                         
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
 20482a4:	d6 08 60 09 	ldub  [ %g1 + 9 ], %o3                         
      c += ((uint32_t)k[10])<<16;                                     
 20482a8:	f0 08 60 0a 	ldub  [ %g1 + 0xa ], %i0                       
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
 20482ac:	da 08 60 08 	ldub  [ %g1 + 8 ], %o5                         
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
 20482b0:	de 08 60 01 	ldub  [ %g1 + 1 ], %o7                         
      a += ((uint32_t)k[2])<<16;                                      
 20482b4:	f6 08 60 02 	ldub  [ %g1 + 2 ], %i3                         
    const uint8_t *k = (const uint8_t *)key;                          
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
 20482b8:	f4 08 40 00 	ldub  [ %g1 ], %i2                             
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
 20482bc:	b9 2f 20 18 	sll  %i4, 0x18, %i4                            
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
 20482c0:	bb 2f 60 18 	sll  %i5, 0x18, %i5                            
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
 20482c4:	99 2b 20 08 	sll  %o4, 8, %o4                               
      b += ((uint32_t)k[6])<<16;                                      
 20482c8:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
      b += ((uint32_t)k[7])<<24;                                      
 20482cc:	95 2a a0 18 	sll  %o2, 0x18, %o2                            
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
 20482d0:	98 03 00 08 	add  %o4, %o0, %o4                             
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
 20482d4:	97 2a e0 08 	sll  %o3, 8, %o3                               
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
 20482d8:	98 03 00 09 	add  %o4, %o1, %o4                             
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
 20482dc:	b1 2e 20 10 	sll  %i0, 0x10, %i0                            
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
 20482e0:	98 03 00 0a 	add  %o4, %o2, %o4                             
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
 20482e4:	b0 02 c0 18 	add  %o3, %i0, %i0                             
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
      b += k[4];                                                      
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
 20482e8:	84 03 00 02 	add  %o4, %g2, %g2                             
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
 20482ec:	b0 06 00 0d 	add  %i0, %o5, %i0                             
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
 20482f0:	9f 2b e0 08 	sll  %o7, 8, %o7                               
      b += ((uint32_t)k[5])<<8;                                       
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
 20482f4:	b0 06 00 1c 	add  %i0, %i4, %i0                             
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
 20482f8:	b7 2e e0 10 	sll  %i3, 0x10, %i3                            
      b += ((uint32_t)k[6])<<16;                                      
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
 20482fc:	b0 06 00 04 	add  %i0, %g4, %i0                             
    const uint8_t *k = (const uint8_t *)key;                          
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
 2048300:	b6 03 c0 1b 	add  %o7, %i3, %i3                             
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
      mix(a,b,c);                                                     
 2048304:	88 06 00 02 	add  %i0, %g2, %g4                             
 2048308:	b9 2e 20 04 	sll  %i0, 4, %i4                               
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
 204830c:	b6 06 c0 1a 	add  %i3, %i2, %i3                             
      a += ((uint32_t)k[2])<<16;                                      
 2048310:	b6 06 c0 1d 	add  %i3, %i5, %i3                             
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
      mix(a,b,c);                                                     
 2048314:	bb 36 20 1c 	srl  %i0, 0x1c, %i5                            
    while (length > 12)                                               
    {                                                                 
      a += k[0];                                                      
      a += ((uint32_t)k[1])<<8;                                       
      a += ((uint32_t)k[2])<<16;                                      
      a += ((uint32_t)k[3])<<24;                                      
 2048318:	b0 26 c0 18 	sub  %i3, %i0, %i0                             
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
      mix(a,b,c);                                                     
 204831c:	ba 17 00 1d 	or  %i4, %i5, %i5                              
 2048320:	86 06 00 03 	add  %i0, %g3, %g3                             
 2048324:	b8 18 c0 1d 	xor  %g3, %i5, %i4                             
 2048328:	86 07 00 04 	add  %i4, %g4, %g3                             
 204832c:	84 20 80 1c 	sub  %g2, %i4, %g2                             
 2048330:	bb 2f 20 06 	sll  %i4, 6, %i5                               
 2048334:	b9 37 20 1a 	srl  %i4, 0x1a, %i4                            
 2048338:	ba 17 40 1c 	or  %i5, %i4, %i5                              
 204833c:	ba 1f 40 02 	xor  %i5, %g2, %i5                             
 2048340:	84 07 40 03 	add  %i5, %g3, %g2                             
 2048344:	88 21 00 1d 	sub  %g4, %i5, %g4                             
 2048348:	b9 2f 60 08 	sll  %i5, 8, %i4                               
 204834c:	bb 37 60 18 	srl  %i5, 0x18, %i5                            
 2048350:	ba 17 00 1d 	or  %i4, %i5, %i5                              
 2048354:	88 1f 40 04 	xor  %i5, %g4, %g4                             
 2048358:	b0 01 00 02 	add  %g4, %g2, %i0                             
 204835c:	bb 29 20 10 	sll  %g4, 0x10, %i5                            
 2048360:	86 20 c0 04 	sub  %g3, %g4, %g3                             
 2048364:	89 31 20 10 	srl  %g4, 0x10, %g4                            
 2048368:	88 17 40 04 	or  %i5, %g4, %g4                              
 204836c:	86 19 00 03 	xor  %g4, %g3, %g3                             
 2048370:	bb 28 e0 13 	sll  %g3, 0x13, %i5                            
 2048374:	89 30 e0 0d 	srl  %g3, 0xd, %g4                             
 2048378:	88 17 40 04 	or  %i5, %g4, %g4                              
 204837c:	84 20 80 03 	sub  %g2, %g3, %g2                             
      length -= 12;                                                   
 2048380:	b2 06 7f f4 	add  %i1, -12, %i1                             
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
      mix(a,b,c);                                                     
 2048384:	84 19 00 02 	xor  %g4, %g2, %g2                             
 2048388:	86 00 c0 18 	add  %g3, %i0, %g3                             
 204838c:	bb 28 a0 04 	sll  %g2, 4, %i5                               
 2048390:	b0 26 00 02 	sub  %i0, %g2, %i0                             
 2048394:	89 30 a0 1c 	srl  %g2, 0x1c, %g4                            
      length -= 12;                                                   
      k += 12;                                                        
 2048398:	82 00 60 0c 	add  %g1, 0xc, %g1                             
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
      mix(a,b,c);                                                     
 204839c:	88 17 40 04 	or  %i5, %g4, %g4                              
                                                                      
  } else {                        /* need to read the key one byte at a time */
    const uint8_t *k = (const uint8_t *)key;                          
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
 20483a0:	80 a6 60 0c 	cmp  %i1, 0xc                                  
      b += ((uint32_t)k[7])<<24;                                      
      c += k[8];                                                      
      c += ((uint32_t)k[9])<<8;                                       
      c += ((uint32_t)k[10])<<16;                                     
      c += ((uint32_t)k[11])<<24;                                     
      mix(a,b,c);                                                     
 20483a4:	84 00 80 03 	add  %g2, %g3, %g2                             
                                                                      
  } else {                        /* need to read the key one byte at a time */
    const uint8_t *k = (const uint8_t *)key;                          
                                                                      
    /*--------------- all but the last block: affect some 32 bits of (a,b,c) */
    while (length > 12)                                               
 20483a8:	18 bf ff b9 	bgu  204828c <rtems_rfs_dir_hash+0x24>         <== NEVER TAKEN
 20483ac:	88 19 00 18 	xor  %g4, %i0, %g4                             
      length -= 12;                                                   
      k += 12;                                                        
    }                                                                 
                                                                      
    /*-------------------------------- last block: affect all 32 bits of (c) */
    switch(length)                   /* all the case statements fall through */
 20483b0:	b3 2e 60 02 	sll  %i1, 2, %i1                               
 20483b4:	3b 00 81 20 	sethi  %hi(0x2048000), %i5                     
 20483b8:	ba 17 62 34 	or  %i5, 0x234, %i5	! 2048234 <rtems_rfs_buffer_bdbuf_release+0x8c>
 20483bc:	fa 07 40 19 	ld  [ %i5 + %i1 ], %i5                         
 20483c0:	81 c7 40 00 	jmp  %i5                                       
 20483c4:	01 00 00 00 	nop                                            
    {                                                                 
      case 12: c+=((uint32_t)k[11])<<24;                              
 20483c8:	fa 08 60 0b 	ldub  [ %g1 + 0xb ], %i5                       
 20483cc:	bb 2f 60 18 	sll  %i5, 0x18, %i5                            
 20483d0:	88 01 00 1d 	add  %g4, %i5, %g4                             
      case 11: c+=((uint32_t)k[10])<<16;                              
 20483d4:	fa 08 60 0a 	ldub  [ %g1 + 0xa ], %i5                       
 20483d8:	bb 2f 60 10 	sll  %i5, 0x10, %i5                            
 20483dc:	88 01 00 1d 	add  %g4, %i5, %g4                             
      case 10: c+=((uint32_t)k[9])<<8;                                
 20483e0:	fa 08 60 09 	ldub  [ %g1 + 9 ], %i5                         
 20483e4:	bb 2f 60 08 	sll  %i5, 8, %i5                               
 20483e8:	88 01 00 1d 	add  %g4, %i5, %g4                             
      case 9 : c+=k[8];                                               
 20483ec:	fa 08 60 08 	ldub  [ %g1 + 8 ], %i5                         
 20483f0:	88 01 00 1d 	add  %g4, %i5, %g4                             
      case 8 : b+=((uint32_t)k[7])<<24;                               
 20483f4:	fa 08 60 07 	ldub  [ %g1 + 7 ], %i5                         
 20483f8:	bb 2f 60 18 	sll  %i5, 0x18, %i5                            
 20483fc:	84 00 80 1d 	add  %g2, %i5, %g2                             
      case 7 : b+=((uint32_t)k[6])<<16;                               
 2048400:	fa 08 60 06 	ldub  [ %g1 + 6 ], %i5                         
 2048404:	bb 2f 60 10 	sll  %i5, 0x10, %i5                            
 2048408:	84 00 80 1d 	add  %g2, %i5, %g2                             
      case 6 : b+=((uint32_t)k[5])<<8;                                
 204840c:	fa 08 60 05 	ldub  [ %g1 + 5 ], %i5                         
 2048410:	bb 2f 60 08 	sll  %i5, 8, %i5                               
 2048414:	84 00 80 1d 	add  %g2, %i5, %g2                             
      case 5 : b+=k[4];                                               
 2048418:	fa 08 60 04 	ldub  [ %g1 + 4 ], %i5                         
 204841c:	84 00 80 1d 	add  %g2, %i5, %g2                             
      case 4 : a+=((uint32_t)k[3])<<24;                               
 2048420:	fa 08 60 03 	ldub  [ %g1 + 3 ], %i5                         
 2048424:	bb 2f 60 18 	sll  %i5, 0x18, %i5                            
 2048428:	86 00 c0 1d 	add  %g3, %i5, %g3                             
      case 3 : a+=((uint32_t)k[2])<<16;                               
 204842c:	fa 08 60 02 	ldub  [ %g1 + 2 ], %i5                         
 2048430:	bb 2f 60 10 	sll  %i5, 0x10, %i5                            
 2048434:	86 00 c0 1d 	add  %g3, %i5, %g3                             
      case 2 : a+=((uint32_t)k[1])<<8;                                
 2048438:	fa 08 60 01 	ldub  [ %g1 + 1 ], %i5                         
 204843c:	bb 2f 60 08 	sll  %i5, 8, %i5                               
 2048440:	86 00 c0 1d 	add  %g3, %i5, %g3                             
      case 1 : a+=k[0];                                               
 2048444:	c2 08 40 00 	ldub  [ %g1 ], %g1                             
        break;                                                        
      case 0 : return c;                                              
    }                                                                 
  }                                                                   
                                                                      
  final(a,b,c);                                                       
 2048448:	bb 30 a0 12 	srl  %g2, 0x12, %i5                            
      case 6 : b+=((uint32_t)k[5])<<8;                                
      case 5 : b+=k[4];                                               
      case 4 : a+=((uint32_t)k[3])<<24;                               
      case 3 : a+=((uint32_t)k[2])<<16;                               
      case 2 : a+=((uint32_t)k[1])<<8;                                
      case 1 : a+=k[0];                                               
 204844c:	86 00 c0 01 	add  %g3, %g1, %g3                             
        break;                                                        
      case 0 : return c;                                              
    }                                                                 
  }                                                                   
                                                                      
  final(a,b,c);                                                       
 2048450:	83 28 a0 0e 	sll  %g2, 0xe, %g1                             
 2048454:	82 17 40 01 	or  %i5, %g1, %g1                              
 2048458:	88 19 00 02 	xor  %g4, %g2, %g4                             
 204845c:	88 21 00 01 	sub  %g4, %g1, %g4                             
 2048460:	bb 29 20 0b 	sll  %g4, 0xb, %i5                             
 2048464:	83 31 20 15 	srl  %g4, 0x15, %g1                            
 2048468:	82 17 40 01 	or  %i5, %g1, %g1                              
 204846c:	86 19 00 03 	xor  %g4, %g3, %g3                             
 2048470:	86 20 c0 01 	sub  %g3, %g1, %g3                             
 2048474:	bb 28 e0 19 	sll  %g3, 0x19, %i5                            
 2048478:	83 30 e0 07 	srl  %g3, 7, %g1                               
 204847c:	82 17 40 01 	or  %i5, %g1, %g1                              
 2048480:	84 18 c0 02 	xor  %g3, %g2, %g2                             
 2048484:	84 20 80 01 	sub  %g2, %g1, %g2                             
 2048488:	bb 28 a0 10 	sll  %g2, 0x10, %i5                            
 204848c:	83 30 a0 10 	srl  %g2, 0x10, %g1                            
 2048490:	82 17 40 01 	or  %i5, %g1, %g1                              
 2048494:	88 18 80 04 	xor  %g2, %g4, %g4                             
 2048498:	88 21 00 01 	sub  %g4, %g1, %g4                             
 204849c:	bb 29 20 04 	sll  %g4, 4, %i5                               
 20484a0:	83 31 20 1c 	srl  %g4, 0x1c, %g1                            
 20484a4:	82 17 40 01 	or  %i5, %g1, %g1                              
 20484a8:	86 19 00 03 	xor  %g4, %g3, %g3                             
 20484ac:	86 20 c0 01 	sub  %g3, %g1, %g3                             
 20484b0:	84 18 c0 02 	xor  %g3, %g2, %g2                             
 20484b4:	83 28 e0 0e 	sll  %g3, 0xe, %g1                             
 20484b8:	87 30 e0 12 	srl  %g3, 0x12, %g3                            
 20484bc:	86 10 40 03 	or  %g1, %g3, %g3                              
 20484c0:	84 20 80 03 	sub  %g2, %g3, %g2                             
 20484c4:	88 18 80 04 	xor  %g2, %g4, %g4                             
 20484c8:	b1 28 a0 18 	sll  %g2, 0x18, %i0                            
 20484cc:	85 30 a0 08 	srl  %g2, 8, %g2                               
 20484d0:	84 16 00 02 	or  %i0, %g2, %g2                              
 20484d4:	88 21 00 02 	sub  %g4, %g2, %g4                             
  return c;                                                           
}                                                                     
 20484d8:	81 c7 e0 08 	ret                                            
 20484dc:	91 e8 00 04 	restore  %g0, %g4, %o0                         
                                                                      

0203d0e8 <rtems_rfs_dir_lookup_ino>: rtems_rfs_inode_handle* inode, const char* name, int length, rtems_rfs_ino* ino, uint32_t* offset) {
 203d0e8:	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))               
 203d0ec:	90 10 20 00 	clr  %o0                                       
 203d0f0:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     
 203d0f4:	7f ff a7 64 	call  2026e84 <rtems_rfs_trace>                
 203d0f8:	a2 10 00 18 	mov  %i0, %l1                                  
 203d0fc:	80 8a 20 ff 	btst  0xff, %o0                                
 203d100:	12 80 00 1c 	bne  203d170 <rtems_rfs_dir_lookup_ino+0x88>   <== NEVER TAKEN
 203d104:	92 10 00 19 	mov  %i1, %o1                                  
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
 203d108:	c0 27 00 00 	clr  [ %i4 ]                                   
  *offset = 0;                                                        
 203d10c:	c0 27 40 00 	clr  [ %i5 ]                                   
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
 203d110:	90 10 00 11 	mov  %l1, %o0                                  
 203d114:	7f ff f9 ff 	call  203b910 <rtems_rfs_block_map_open>       
 203d118:	94 07 bf b0 	add  %fp, -80, %o2                             
  if (rc > 0)                                                         
 203d11c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203d120:	24 80 00 30 	ble,a   203d1e0 <rtems_rfs_dir_lookup_ino+0xf8><== ALWAYS TAKEN
 203d124:	92 10 00 1b 	mov  %i3, %o1                                  
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))             
 203d128:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d12c:	7f ff a7 56 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d130:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 203d134:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d138:	32 80 00 04 	bne,a   203d148 <rtems_rfs_dir_lookup_ino+0x60><== NOT EXECUTED
 203d13c:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
 203d140:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203d144:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
  if (rc > 0)                                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))             
      printf ("rtems-rfs: dir-lookup-ino: map open failed for ino %" PRIu32 ": %d: %s",
 203d148:	40 00 49 88 	call  204f768 <strerror>                       <== NOT EXECUTED
 203d14c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203d150:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203d154:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203d158:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
 203d15c:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203d160:	40 00 40 29 	call  204d204 <printf>                         <== NOT EXECUTED
 203d164:	90 12 22 48 	or  %o0, 0x248, %o0	! 206de48 <__FUNCTION__.7829+0x6b0><== NOT EXECUTED
 203d168:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203d16c:	81 e8 00 00 	restore                                        <== 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=",
 203d170:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203d174:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203d178:	40 00 40 23 	call  204d204 <printf>                         <== NOT EXECUTED
 203d17c:	90 12 22 00 	or  %o0, 0x200, %o0	! 206de00 <__FUNCTION__.7829+0x668><== NOT EXECUTED
 203d180:	b0 10 00 1a 	mov  %i2, %i0                                  <== NOT EXECUTED
            inode->ino);                                              
    for (c = 0; c < length; c++)                                      
 203d184:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 203d188:	04 80 00 08 	ble  203d1a8 <rtems_rfs_dir_lookup_ino+0xc0>   <== NOT EXECUTED
 203d18c:	a0 06 80 1b 	add  %i2, %i3, %l0                             <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 203d190:	d0 4e 00 00 	ldsb  [ %i0 ], %o0                             <== NOT EXECUTED
 203d194:	40 00 40 86 	call  204d3ac <putchar>                        <== NOT EXECUTED
 203d198:	b0 06 20 01 	inc  %i0                                       <== 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++)                                      
 203d19c:	80 a6 00 10 	cmp  %i0, %l0                                  <== NOT EXECUTED
 203d1a0:	32 bf ff fd 	bne,a   203d194 <rtems_rfs_dir_lookup_ino+0xac><== NOT EXECUTED
 203d1a4:	d0 4e 00 00 	ldsb  [ %i0 ], %o0                             <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (", len=%d\n", length);                                    
 203d1a8:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 203d1ac:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203d1b0:	40 00 40 15 	call  204d204 <printf>                         <== NOT EXECUTED
 203d1b4:	90 12 22 38 	or  %o0, 0x238, %o0	! 206de38 <__FUNCTION__.7829+0x6a0><== NOT EXECUTED
  }                                                                   
                                                                      
  *ino = RTEMS_RFS_EMPTY_INO;                                         
 203d1b8:	c0 27 00 00 	clr  [ %i4 ]                                   <== NOT EXECUTED
  *offset = 0;                                                        
 203d1bc:	c0 27 40 00 	clr  [ %i5 ]                                   <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, inode, &map);                    
 203d1c0:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 203d1c4:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 203d1c8:	7f ff f9 d2 	call  203b910 <rtems_rfs_block_map_open>       <== NOT EXECUTED
 203d1cc:	94 07 bf b0 	add  %fp, -80, %o2                             <== NOT EXECUTED
  if (rc > 0)                                                         
 203d1d0:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 203d1d4:	14 bf ff d6 	bg  203d12c <rtems_rfs_dir_lookup_ino+0x44>    <== NOT EXECUTED
 203d1d8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    uint32_t           hash;                                          
                                                                      
    /*                                                                
     * Calculate the hash of the look up string.                      
     */                                                               
    hash = rtems_rfs_dir_hash (name, length);                         
 203d1dc:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 203d1e0:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203d1e4:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203d1e8:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
 203d1ec:	40 00 2c 1f 	call  2048268 <rtems_rfs_dir_hash>             
 203d1f0:	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);              
 203d1f4:	92 07 bf b0 	add  %fp, -80, %o1                             
    uint32_t           hash;                                          
                                                                      
    /*                                                                
     * Calculate the hash of the look up string.                      
     */                                                               
    hash = rtems_rfs_dir_hash (name, length);                         
 203d1f8:	a6 10 00 08 	mov  %o0, %l3                                  
                                                                      
    /*                                                                
     * 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);              
 203d1fc:	94 10 20 00 	clr  %o2                                       
 203d200:	90 10 00 11 	mov  %l1, %o0                                  
 203d204:	96 10 20 00 	clr  %o3                                       
 203d208:	7f ff fa f1 	call  203bdcc <rtems_rfs_block_map_seek>       
 203d20c:	98 07 bf a0 	add  %fp, -96, %o4                             
    if (rc > 0)                                                       
 203d210:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203d214:	04 80 00 15 	ble  203d268 <rtems_rfs_dir_lookup_ino+0x180>  <== ALWAYS TAKEN
 203d218:	90 10 20 00 	clr  %o0                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
 203d21c:	7f ff a7 1a 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d220:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 203d224:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d228:	12 80 00 bf 	bne  203d524 <rtems_rfs_dir_lookup_ino+0x43c>  <== NOT EXECUTED
 203d22c:	01 00 00 00 	nop                                            <== NOT EXECUTED
        printf ("rtems-rfs: dir-lookup-ino: block map find failed: %d: %s\n",
                rc, strerror (rc));                                   
      if (rc == ENXIO)                                                
 203d230:	80 a6 20 06 	cmp  %i0, 6                                    <== NOT EXECUTED
 203d234:	22 80 00 02 	be,a   203d23c <rtems_rfs_dir_lookup_ino+0x154><== NOT EXECUTED
 203d238:	b0 10 20 02 	mov  2, %i0                                    <== 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);                       
 203d23c:	92 07 bf a4 	add  %fp, -92, %o1                             
 203d240:	7f ff fd 3e 	call  203c738 <rtems_rfs_buffer_handle_release>
 203d244:	90 10 00 11 	mov  %l1, %o0                                  
                rtems_rfs_inode_ino (inode), rc, strerror (rc));      
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &entries);                       
  rtems_rfs_block_map_close (fs, &map);                               
 203d248:	90 10 00 11 	mov  %l1, %o0                                  
  handle->dirty = false;                                              
 203d24c:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203d250:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203d254:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
 203d258:	7f ff fa 0f 	call  203ba94 <rtems_rfs_block_map_close>      
 203d25c:	92 07 bf b0 	add  %fp, -80, %o1                             
 203d260:	81 c7 e0 08 	ret                                            
 203d264:	81 e8 00 00 	restore                                        
    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",
 203d268:	2d 00 81 b7 	sethi  %hi(0x206dc00), %l6                     
                                                                      
        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)                     
 203d26c:	25 00 00 3f 	sethi  %hi(0xfc00), %l2                        
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 203d270:	2b 00 81 b7 	sethi  %hi(0x206dc00), %l5                     
    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",
 203d274:	ac 15 a2 c8 	or  %l6, 0x2c8, %l6                            
                                                                      
        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)                     
 203d278:	a4 14 a3 ff 	or  %l2, 0x3ff, %l2                            
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 203d27c:	aa 15 63 98 	or  %l5, 0x398, %l5                            
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
 203d280:	80 a6 20 00 	cmp  %i0, 0                                    
 203d284:	12 80 00 6b 	bne  203d430 <rtems_rfs_dir_lookup_ino+0x348>  <== NEVER TAKEN
 203d288:	c2 07 bf a0 	ld  [ %fp + -96 ], %g1                         
 203d28c:	80 a0 60 00 	cmp  %g1, 0                                    
 203d290:	02 80 00 d3 	be  203d5dc <rtems_rfs_dir_lookup_ino+0x4f4>   <== NEVER TAKEN
 203d294:	90 10 20 00 	clr  %o0                                       
    {                                                                 
      uint8_t* entry;                                                 
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
 203d298:	7f ff a6 fb 	call  2026e84 <rtems_rfs_trace>                
 203d29c:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     
 203d2a0:	80 8a 20 ff 	btst  0xff, %o0                                
 203d2a4:	32 80 00 87 	bne,a   203d4c0 <rtems_rfs_dir_lookup_ino+0x3d8><== NEVER TAKEN
 203d2a8:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
        printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " bno=%" PRId32 "\n",
                rtems_rfs_inode_ino (inode), map.bpos.bno);           
                                                                      
      rc = rtems_rfs_buffer_handle_request (fs, &entries, block, true);
 203d2ac:	d4 07 bf a0 	ld  [ %fp + -96 ], %o2                         
 203d2b0:	90 10 00 11 	mov  %l1, %o0                                  
 203d2b4:	92 07 bf a4 	add  %fp, -92, %o1                             
 203d2b8:	7f ff fd 9a 	call  203c920 <rtems_rfs_buffer_handle_request>
 203d2bc:	96 10 20 01 	mov  1, %o3                                    
      if (rc > 0)                                                     
 203d2c0:	a8 92 20 00 	orcc  %o0, 0, %l4                              
 203d2c4:	14 80 00 b3 	bg  203d590 <rtems_rfs_dir_lookup_ino+0x4a8>   <== NEVER TAKEN
 203d2c8:	c2 07 bf ac 	ld  [ %fp + -84 ], %g1                         
                                                                      
      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))
 203d2cc:	d8 04 60 08 	ld  [ %l1 + 8 ], %o4                           
       * means the entry is empty.                                    
       */                                                             
                                                                      
      entry = rtems_rfs_buffer_data (&entries);                       
                                                                      
      map.bpos.boff = 0;                                              
 203d2d0:	c0 27 bf c4 	clr  [ %fp + -60 ]                             
                                                                      
      while (map.bpos.boff < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE))
 203d2d4:	80 a3 20 0a 	cmp  %o4, 0xa                                  
 203d2d8:	12 80 00 0a 	bne  203d300 <rtems_rfs_dir_lookup_ino+0x218>  <== ALWAYS TAKEN
 203d2dc:	e0 00 60 1c 	ld  [ %g1 + 0x1c ], %l0                        
                                                                      
        map.bpos.boff += elength;                                     
        entry += elength;                                             
      }                                                               
                                                                      
      if (rc == 0)                                                    
 203d2e0:	10 80 00 47 	b  203d3fc <rtems_rfs_dir_lookup_ino+0x314>    <== NOT EXECUTED
 203d2e4:	80 a5 20 00 	cmp  %l4, 0                                    <== NOT EXECUTED
                                                                      
      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))
 203d2e8:	86 03 3f f6 	add  %o4, -10, %g3                             
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
 203d2ec:	84 05 c0 02 	add  %l7, %g2, %g2                             
 203d2f0:	c4 27 bf c4 	st  %g2, [ %fp + -60 ]                         
                                                                      
      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))
 203d2f4:	80 a0 c0 02 	cmp  %g3, %g2                                  
 203d2f8:	08 80 00 40 	bleu  203d3f8 <rtems_rfs_dir_lookup_ino+0x310> <== NEVER TAKEN
 203d2fc:	a0 04 00 17 	add  %l0, %l7, %l0                             
        uint32_t ehash;                                               
        int      elength;                                             
                                                                      
        ehash  = rtems_rfs_dir_entry_hash (entry);                    
        elength = rtems_rfs_dir_entry_length (entry);                 
        *ino = rtems_rfs_dir_entry_ino (entry);                       
 203d300:	c4 0c 00 00 	ldub  [ %l0 ], %g2                             
 203d304:	d0 0c 20 01 	ldub  [ %l0 + 1 ], %o0                         
 203d308:	d2 0c 20 03 	ldub  [ %l0 + 3 ], %o1                         
 203d30c:	d4 0c 20 02 	ldub  [ %l0 + 2 ], %o2                         
      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);                    
 203d310:	d6 0c 20 04 	ldub  [ %l0 + 4 ], %o3                         
 203d314:	c8 0c 20 05 	ldub  [ %l0 + 5 ], %g4                         
 203d318:	da 0c 20 07 	ldub  [ %l0 + 7 ], %o5                         
 203d31c:	c6 0c 20 06 	ldub  [ %l0 + 6 ], %g3                         
        elength = rtems_rfs_dir_entry_length (entry);                 
 203d320:	c2 0c 20 08 	ldub  [ %l0 + 8 ], %g1                         
 203d324:	de 0c 20 09 	ldub  [ %l0 + 9 ], %o7                         
        *ino = rtems_rfs_dir_entry_ino (entry);                       
 203d328:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 203d32c:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 203d330:	95 2a a0 08 	sll  %o2, 8, %o2                               
 203d334:	84 10 80 08 	or  %g2, %o0, %g2                              
 203d338:	84 10 80 09 	or  %g2, %o1, %g2                              
 203d33c:	84 10 80 0a 	or  %g2, %o2, %g2                              
 203d340:	c4 27 00 00 	st  %g2, [ %i4 ]                               
      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);                    
 203d344:	97 2a e0 18 	sll  %o3, 0x18, %o3                            
 203d348:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203d34c:	87 28 e0 08 	sll  %g3, 8, %g3                               
 203d350:	88 12 c0 04 	or  %o3, %g4, %g4                              
        elength = rtems_rfs_dir_entry_length (entry);                 
 203d354:	83 28 60 08 	sll  %g1, 8, %g1                               
      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);                    
 203d358:	88 11 00 0d 	or  %g4, %o5, %g4                              
        elength = rtems_rfs_dir_entry_length (entry);                 
 203d35c:	ae 10 40 0f 	or  %g1, %o7, %l7                              
        *ino = rtems_rfs_dir_entry_ino (entry);                       
                                                                      
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
 203d360:	80 a5 c0 12 	cmp  %l7, %l2                                  
 203d364:	02 80 00 25 	be  203d3f8 <rtems_rfs_dir_lookup_ino+0x310>   
 203d368:	86 11 00 03 	or  %g4, %g3, %g3                              
          break;                                                      
                                                                      
        if (rtems_rfs_dir_entry_valid (fs, elength, *ino))            
 203d36c:	80 a5 e0 0a 	cmp  %l7, 0xa                                  
 203d370:	24 80 00 34 	ble,a   203d440 <rtems_rfs_dir_lookup_ino+0x358><== NEVER TAKEN
 203d374:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d378:	de 04 60 1c 	ld  [ %l1 + 0x1c ], %o7                        
 203d37c:	80 a5 c0 0f 	cmp  %l7, %o7                                  
 203d380:	1a 80 00 2f 	bcc  203d43c <rtems_rfs_dir_lookup_ino+0x354>  <== NEVER TAKEN
 203d384:	80 a0 a0 00 	cmp  %g2, 0                                    
 203d388:	22 80 00 2e 	be,a   203d440 <rtems_rfs_dir_lookup_ino+0x358><== NEVER TAKEN
 203d38c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d390:	c8 04 60 14 	ld  [ %l1 + 0x14 ], %g4                        
 203d394:	80 a0 80 04 	cmp  %g2, %g4                                  
 203d398:	18 80 00 29 	bgu  203d43c <rtems_rfs_dir_lookup_ino+0x354>  <== NEVER TAKEN
 203d39c:	80 a0 c0 13 	cmp  %g3, %l3                                  
                    rtems_rfs_inode_ino (inode), elength, *ino, map.bpos.boff);
          rc = EIO;                                                   
          break;                                                      
        }                                                             
                                                                      
        if (ehash == hash)                                            
 203d3a0:	12 bf ff d2 	bne  203d2e8 <rtems_rfs_dir_lookup_ino+0x200>  
 203d3a4:	c4 07 bf c4 	ld  [ %fp + -60 ], %g2                         
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
 203d3a8:	90 10 20 00 	clr  %o0                                       
 203d3ac:	7f ff a6 b6 	call  2026e84 <rtems_rfs_trace>                
 203d3b0:	13 02 00 00 	sethi  %hi(0x8000000), %o1                     
 203d3b4:	80 8a 20 ff 	btst  0xff, %o0                                
 203d3b8:	32 80 00 32 	bne,a   203d480 <rtems_rfs_dir_lookup_ino+0x398><== NEVER TAKEN
 203d3bc:	c8 0c 20 01 	ldub  [ %l0 + 1 ], %g4                         <== 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)
 203d3c0:	90 04 20 0a 	add  %l0, 0xa, %o0                             
 203d3c4:	92 10 00 1a 	mov  %i2, %o1                                  
 203d3c8:	40 00 3a 65 	call  204bd5c <memcmp>                         
 203d3cc:	94 10 00 1b 	mov  %i3, %o2                                  
 203d3d0:	80 a2 20 00 	cmp  %o0, 0                                    
 203d3d4:	02 80 00 5d 	be  203d548 <rtems_rfs_dir_lookup_ino+0x460>   <== ALWAYS TAKEN
 203d3d8:	c4 07 bf c4 	ld  [ %fp + -60 ], %g2                         
 203d3dc:	d8 04 60 08 	ld  [ %l1 + 8 ], %o4                           <== NOT EXECUTED
            rtems_rfs_block_map_close (fs, &map);                     
            return 0;                                                 
          }                                                           
        }                                                             
                                                                      
        map.bpos.boff += elength;                                     
 203d3e0:	84 05 c0 02 	add  %l7, %g2, %g2                             <== NOT EXECUTED
 203d3e4:	c4 27 bf c4 	st  %g2, [ %fp + -60 ]                         <== NOT EXECUTED
                                                                      
      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))
 203d3e8:	86 03 3f f6 	add  %o4, -10, %g3                             <== NOT EXECUTED
 203d3ec:	80 a0 c0 02 	cmp  %g3, %g2                                  <== NOT EXECUTED
 203d3f0:	18 bf ff c4 	bgu  203d300 <rtems_rfs_dir_lookup_ino+0x218>  <== NOT EXECUTED
 203d3f4:	a0 04 00 17 	add  %l0, %l7, %l0                             <== NOT EXECUTED
                                                                      
        map.bpos.boff += elength;                                     
        entry += elength;                                             
      }                                                               
                                                                      
      if (rc == 0)                                                    
 203d3f8:	80 a5 20 00 	cmp  %l4, 0                                    
 203d3fc:	32 bf ff 90 	bne,a   203d23c <rtems_rfs_dir_lookup_ino+0x154><== NEVER TAKEN
 203d400:	b0 10 00 14 	mov  %l4, %i0                                  <== NOT EXECUTED
      {                                                               
        rc = rtems_rfs_block_map_next_block (fs, &map, &block);       
 203d404:	90 10 00 11 	mov  %l1, %o0                                  
 203d408:	92 07 bf b0 	add  %fp, -80, %o1                             
 203d40c:	7f ff fa 8d 	call  203be40 <rtems_rfs_block_map_next_block> 
 203d410:	94 07 bf a0 	add  %fp, -96, %o2                             
        if ((rc > 0) && (rc != ENXIO))                                
 203d414:	80 a2 20 06 	cmp  %o0, 6                                    
 203d418:	12 80 00 2f 	bne  203d4d4 <rtems_rfs_dir_lookup_ino+0x3ec>  <== NEVER TAKEN
 203d41c:	b0 10 00 08 	mov  %o0, %i0                                  
          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)                                              
 203d420:	80 a6 20 06 	cmp  %i0, 6                                    
 203d424:	12 bf ff 98 	bne  203d284 <rtems_rfs_dir_lookup_ino+0x19c>  <== NEVER TAKEN
 203d428:	80 a6 20 00 	cmp  %i0, 0                                    
          rc = ENOENT;                                                
 203d42c:	b0 10 20 02 	mov  2, %i0                                    
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
 203d430:	a8 10 00 18 	mov  %i0, %l4                                  
            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;                                                
 203d434:	10 bf ff 82 	b  203d23c <rtems_rfs_dir_lookup_ino+0x154>    
 203d438:	b0 10 00 14 	mov  %l4, %i0                                  
        if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                     
          break;                                                      
                                                                      
        if (rtems_rfs_dir_entry_valid (fs, elength, *ino))            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
 203d43c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d440:	7f ff a6 91 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d444:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 203d448:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d44c:	12 80 00 04 	bne  203d45c <rtems_rfs_dir_lookup_ino+0x374>  <== NOT EXECUTED
 203d450:	a8 10 20 05 	mov  5, %l4                                    <== 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;                                                
 203d454:	10 bf ff 7a 	b  203d23c <rtems_rfs_dir_lookup_ino+0x154>    <== NOT EXECUTED
 203d458:	b0 10 00 14 	mov  %l4, %i0                                  <== NOT EXECUTED
          break;                                                      
                                                                      
        if (rtems_rfs_dir_entry_valid (fs, elength, *ino))            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
            printf ("rtems-rfs: dir-lookup-ino: "                     
 203d45c:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203d460:	d6 07 00 00 	ld  [ %i4 ], %o3                               <== NOT EXECUTED
 203d464:	d8 07 bf c4 	ld  [ %fp + -60 ], %o4                         <== NOT EXECUTED
 203d468:	94 10 00 17 	mov  %l7, %o2                                  <== NOT EXECUTED
 203d46c:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203d470:	40 00 3f 65 	call  204d204 <printf>                         <== NOT EXECUTED
 203d474:	90 12 23 48 	or  %o0, 0x348, %o0	! 206df48 <__FUNCTION__.7829+0x7b0><== NOT EXECUTED
 203d478:	10 bf ff 71 	b  203d23c <rtems_rfs_dir_lookup_ino+0x154>    <== NOT EXECUTED
 203d47c:	b0 10 00 14 	mov  %l4, %i0                                  <== NOT EXECUTED
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            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));        
 203d480:	c4 0c 20 02 	ldub  [ %l0 + 2 ], %g2                         <== NOT EXECUTED
 203d484:	da 0c 00 00 	ldub  [ %l0 ], %o5                             <== NOT EXECUTED
 203d488:	c6 0c 20 03 	ldub  [ %l0 + 3 ], %g3                         <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 203d48c:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203d490:	d4 1f bf c0 	ldd  [ %fp + -64 ], %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));        
 203d494:	89 29 20 10 	sll  %g4, 0x10, %g4                            <== NOT EXECUTED
 203d498:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
 203d49c:	9b 2b 60 18 	sll  %o5, 0x18, %o5                            <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 203d4a0:	90 10 00 15 	mov  %l5, %o0                                  <== 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));        
 203d4a4:	9a 13 40 04 	or  %o5, %g4, %o5                              <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 203d4a8:	98 10 00 17 	mov  %l7, %o4                                  <== 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));        
 203d4ac:	9a 13 40 03 	or  %o5, %g3, %o5                              <== NOT EXECUTED
        }                                                             
                                                                      
        if (ehash == hash)                                            
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_CHECK)) 
            printf ("rtems-rfs: dir-lookup-ino: "                     
 203d4b0:	40 00 3f 55 	call  204d204 <printf>                         <== NOT EXECUTED
 203d4b4:	9a 13 40 02 	or  %o5, %g2, %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)
 203d4b8:	10 bf ff c3 	b  203d3c4 <rtems_rfs_dir_lookup_ino+0x2dc>    <== NOT EXECUTED
 203d4bc:	90 04 20 0a 	add  %l0, 0xa, %o0                             <== NOT EXECUTED
    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",
 203d4c0:	d4 07 bf c0 	ld  [ %fp + -64 ], %o2                         <== NOT EXECUTED
 203d4c4:	40 00 3f 50 	call  204d204 <printf>                         <== NOT EXECUTED
 203d4c8:	90 10 00 16 	mov  %l6, %o0                                  <== NOT EXECUTED
                rtems_rfs_inode_ino (inode), map.bpos.bno);           
                                                                      
      rc = rtems_rfs_buffer_handle_request (fs, &entries, block, true);
 203d4cc:	10 bf ff 79 	b  203d2b0 <rtems_rfs_dir_lookup_ino+0x1c8>    <== NOT EXECUTED
 203d4d0:	d4 07 bf a0 	ld  [ %fp + -96 ], %o2                         <== NOT EXECUTED
      }                                                               
                                                                      
      if (rc == 0)                                                    
      {                                                               
        rc = rtems_rfs_block_map_next_block (fs, &map, &block);       
        if ((rc > 0) && (rc != ENXIO))                                
 203d4d4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203d4d8:	04 bf ff d3 	ble  203d424 <rtems_rfs_dir_lookup_ino+0x33c>  <== NOT EXECUTED
 203d4dc:	80 a6 20 06 	cmp  %i0, 6                                    <== NOT EXECUTED
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))       
 203d4e0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d4e4:	7f ff a6 68 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d4e8:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 203d4ec:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d4f0:	22 bf ff cd 	be,a   203d424 <rtems_rfs_dir_lookup_ino+0x33c><== NOT EXECUTED
 203d4f4:	80 a6 20 06 	cmp  %i0, 6                                    <== NOT EXECUTED
            printf ("rtems-rfs: dir-lookup-ino: "                     
 203d4f8:	e0 06 60 08 	ld  [ %i1 + 8 ], %l0                           <== NOT EXECUTED
 203d4fc:	40 00 48 9b 	call  204f768 <strerror>                       <== NOT EXECUTED
 203d500:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203d504:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 203d508:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203d50c:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
 203d510:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203d514:	40 00 3f 3c 	call  204d204 <printf>                         <== NOT EXECUTED
 203d518:	90 12 20 40 	or  %o0, 0x40, %o0	! 206e040 <__FUNCTION__.7829+0x8a8><== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &entries);                   
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    while ((rc == 0) && block)                                        
 203d51c:	10 bf ff 5a 	b  203d284 <rtems_rfs_dir_lookup_ino+0x19c>    <== NOT EXECUTED
 203d520:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
     */                                                               
    rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);              
    if (rc > 0)                                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
        printf ("rtems-rfs: dir-lookup-ino: block map find failed: %d: %s\n",
 203d524:	40 00 48 91 	call  204f768 <strerror>                       <== NOT EXECUTED
 203d528:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203d52c:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 203d530:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203d534:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203d538:	40 00 3f 33 	call  204d204 <printf>                         <== NOT EXECUTED
 203d53c:	90 12 22 88 	or  %o0, 0x288, %o0	! 206de88 <__FUNCTION__.7829+0x6f0><== NOT EXECUTED
                rc, strerror (rc));                                   
      if (rc == ENXIO)                                                
 203d540:	10 bf ff 3d 	b  203d234 <rtems_rfs_dir_lookup_ino+0x14c>    <== NOT EXECUTED
 203d544:	80 a6 20 06 	cmp  %i0, 6                                    <== NOT EXECUTED
                    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);             
 203d548:	90 10 00 11 	mov  %l1, %o0                                  
 203d54c:	7f ff f8 bc 	call  203b83c <rtems_rfs_block_get_pos>        
 203d550:	92 07 bf c0 	add  %fp, -64, %o1                             
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
 203d554:	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);             
 203d558:	d2 27 40 00 	st  %o1, [ %i5 ]                               
                                                                      
            if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO_FOUND))
 203d55c:	7f ff a6 4a 	call  2026e84 <rtems_rfs_trace>                
 203d560:	13 04 00 00 	sethi  %hi(0x10000000), %o1                    
 203d564:	80 8a 20 ff 	btst  0xff, %o0                                
 203d568:	22 bf ff 36 	be,a   203d240 <rtems_rfs_dir_lookup_ino+0x158><== ALWAYS TAKEN
 203d56c:	92 07 bf a4 	add  %fp, -92, %o1                             
              printf ("rtems-rfs: dir-lookup-ino: "                   
 203d570:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203d574:	d4 07 00 00 	ld  [ %i4 ], %o2                               <== NOT EXECUTED
 203d578:	d6 07 40 00 	ld  [ %i5 ], %o3                               <== NOT EXECUTED
 203d57c:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203d580:	40 00 3f 21 	call  204d204 <printf>                         <== NOT EXECUTED
 203d584:	90 12 23 f8 	or  %o0, 0x3f8, %o0	! 206dff8 <__FUNCTION__.7829+0x860><== 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);                       
 203d588:	10 bf ff 2e 	b  203d240 <rtems_rfs_dir_lookup_ino+0x158>    <== NOT EXECUTED
 203d58c:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
                rtems_rfs_inode_ino (inode), map.bpos.bno);           
                                                                      
      rc = rtems_rfs_buffer_handle_request (fs, &entries, block, true);
      if (rc > 0)                                                     
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))         
 203d590:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203d594:	7f ff a6 3c 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d598:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 203d59c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d5a0:	22 bf ff 27 	be,a   203d23c <rtems_rfs_dir_lookup_ino+0x154><== NOT EXECUTED
 203d5a4:	b0 10 00 14 	mov  %l4, %i0                                  <== NOT EXECUTED
          printf ("rtems-rfs: dir-lookup-ino: block read, ino=%" PRIu32 " block=%" PRId32 ": %d: %s\n",
 203d5a8:	f8 06 60 08 	ld  [ %i1 + 8 ], %i4                           <== NOT EXECUTED
 203d5ac:	fa 07 bf a0 	ld  [ %fp + -96 ], %i5                         <== NOT EXECUTED
 203d5b0:	40 00 48 6e 	call  204f768 <strerror>                       <== NOT EXECUTED
 203d5b4:	90 10 00 14 	mov  %l4, %o0                                  <== NOT EXECUTED
 203d5b8:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 203d5bc:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
 203d5c0:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 203d5c4:	11 00 81 b7 	sethi  %hi(0x206dc00), %o0                     <== NOT EXECUTED
 203d5c8:	96 10 00 14 	mov  %l4, %o3                                  <== NOT EXECUTED
 203d5cc:	40 00 3f 0e 	call  204d204 <printf>                         <== NOT EXECUTED
 203d5d0:	90 12 23 00 	or  %o0, 0x300, %o0                            <== NOT EXECUTED
 203d5d4:	10 bf ff 1a 	b  203d23c <rtems_rfs_dir_lookup_ino+0x154>    <== NOT EXECUTED
 203d5d8:	b0 10 00 14 	mov  %l4, %i0                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_LOOKUP_INO))           
 203d5dc:	13 01 00 00 	sethi  %hi(0x4000000), %o1                     <== NOT EXECUTED
 203d5e0:	7f ff a6 29 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203d5e4:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 203d5e8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203d5ec:	22 bf ff 15 	be,a   203d240 <rtems_rfs_dir_lookup_ino+0x158><== NOT EXECUTED
 203d5f0:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
        printf ("rtems-rfs: dir-lookup-ino: block is 0 in ino %" PRIu32 ": %d: %s\n",
 203d5f4:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           <== NOT EXECUTED
 203d5f8:	40 00 48 5c 	call  204f768 <strerror>                       <== NOT EXECUTED
 203d5fc:	90 10 20 05 	mov  5, %o0                                    <== NOT EXECUTED
 203d600:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203d604:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203d608:	94 10 20 05 	mov  5, %o2                                    <== NOT EXECUTED
 203d60c:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
      }                                                               
    }                                                                 
                                                                      
    if ((rc == 0) && (block == 0))                                    
    {                                                                 
      rc = EIO;                                                       
 203d610:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
      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",
 203d614:	40 00 3e fc 	call  204d204 <printf>                         <== NOT EXECUTED
 203d618:	90 12 20 90 	or  %o0, 0x90, %o0                             <== NOT EXECUTED
 203d61c:	10 bf ff 09 	b  203d240 <rtems_rfs_dir_lookup_ino+0x158>    <== NOT EXECUTED
 203d620:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
                                                                      

0203dea0 <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) {
 203dea0:	9d e3 bf 40 	save  %sp, -192, %sp                           
  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))                     
 203dea4:	90 10 20 00 	clr  %o0                                       
 203dea8:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    
 203deac:	7f ff a3 f6 	call  2026e84 <rtems_rfs_trace>                
 203deb0:	a4 10 00 18 	mov  %i0, %l2                                  
 203deb4:	80 8a 20 ff 	btst  0xff, %o0                                
 203deb8:	32 80 00 27 	bne,a   203df54 <rtems_rfs_dir_read+0xb4>      <== NEVER TAKEN
 203debc:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
    printf ("rtems-rfs: dir-read: dir=%" PRId32 " offset=%" PRId64 "\n",
            rtems_rfs_inode_ino (dir), offset);                       
                                                                      
  *length = 0;                                                        
 203dec0:	c0 27 40 00 	clr  [ %i5 ]                                   
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
 203dec4:	90 10 00 12 	mov  %l2, %o0                                  
 203dec8:	92 10 00 19 	mov  %i1, %o1                                  
 203decc:	7f ff f6 91 	call  203b910 <rtems_rfs_block_map_open>       
 203ded0:	94 07 bf b0 	add  %fp, -80, %o2                             
  if (rc > 0)                                                         
 203ded4:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203ded8:	24 80 00 04 	ble,a   203dee8 <rtems_rfs_dir_read+0x48>      <== ALWAYS TAKEN
 203dedc:	e0 04 a0 08 	ld  [ %l2 + 8 ], %l0                           
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
  return rc;                                                          
}                                                                     
 203dee0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203dee4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
 203dee8:	90 10 00 1a 	mov  %i2, %o0                                  
 203deec:	a2 10 00 10 	mov  %l0, %l1                                  
 203def0:	92 10 00 1b 	mov  %i3, %o1                                  
 203def4:	a0 10 20 00 	clr  %l0                                       
 203def8:	96 10 00 11 	mov  %l1, %o3                                  
 203defc:	40 00 92 10 	call  206273c <__moddi3>                       
 203df00:	94 10 00 10 	mov  %l0, %o2                                  
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
 203df04:	92 a4 40 09 	subcc  %l1, %o1, %o1                           
 203df08:	90 64 00 08 	subx  %l0, %o0, %o0                            
 203df0c:	80 a2 20 00 	cmp  %o0, 0                                    
 203df10:	04 80 00 18 	ble  203df70 <rtems_rfs_dir_read+0xd0>         <== ALWAYS TAKEN
 203df14:	01 00 00 00 	nop                                            
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
    offset = (((offset / rtems_rfs_fs_block_size (fs)) + 1) *         
              rtems_rfs_fs_block_size (fs));                          
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
 203df18:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 203df1c:	92 07 bf b0 	add  %fp, -80, %o1                             
 203df20:	94 10 00 1a 	mov  %i2, %o2                                  
 203df24:	96 10 00 1b 	mov  %i3, %o3                                  
 203df28:	7f ff f7 a9 	call  203bdcc <rtems_rfs_block_map_seek>       
 203df2c:	98 07 bf a0 	add  %fp, -96, %o4                             
  if (rc > 0)                                                         
 203df30:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203df34:	04 80 00 26 	ble  203dfcc <rtems_rfs_dir_read+0x12c>        <== ALWAYS TAKEN
 203df38:	80 a6 20 06 	cmp  %i0, 6                                    
  {                                                                   
    if (rc == ENXIO)                                                  
 203df3c:	02 80 00 1f 	be  203dfb8 <rtems_rfs_dir_read+0x118>         <== NOT EXECUTED
 203df40:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
      rc = ENOENT;                                                    
    rtems_rfs_block_map_close (fs, &map);                             
 203df44:	7f ff f6 d4 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 203df48:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203df4c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203df50:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rtems_rfs_buffer_handle buffer;                                     
  rtems_rfs_block_no      block;                                      
  int                     rc;                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                     
    printf ("rtems-rfs: dir-read: dir=%" PRId32 " offset=%" PRId64 "\n",
 203df54:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 203df58:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203df5c:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
 203df60:	40 00 3c a9 	call  204d204 <printf>                         <== NOT EXECUTED
 203df64:	90 12 23 c0 	or  %o0, 0x3c0, %o0                            <== NOT EXECUTED
            rtems_rfs_inode_ino (dir), offset);                       
                                                                      
  *length = 0;                                                        
 203df68:	10 bf ff d7 	b  203dec4 <rtems_rfs_dir_read+0x24>           <== NOT EXECUTED
 203df6c:	c0 27 40 00 	clr  [ %i5 ]                                   <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_open (fs, dir, &map);                      
  if (rc > 0)                                                         
    return rc;                                                        
                                                                      
  if (((rtems_rfs_fs_block_size (fs) -                                
 203df70:	32 80 00 06 	bne,a   203df88 <rtems_rfs_dir_read+0xe8>      <== NEVER TAKEN
 203df74:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 203df78:	80 a2 60 0a 	cmp  %o1, 0xa                                  
 203df7c:	38 bf ff e8 	bgu,a   203df1c <rtems_rfs_dir_read+0x7c>      <== ALWAYS TAKEN
 203df80:	90 10 00 12 	mov  %l2, %o0                                  
        (offset % rtems_rfs_fs_block_size (fs))) <= RTEMS_RFS_DIR_ENTRY_SIZE))
    offset = (((offset / rtems_rfs_fs_block_size (fs)) + 1) *         
 203df84:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 203df88:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 203df8c:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 203df90:	40 00 91 00 	call  2062390 <__divdi3>                       <== NOT EXECUTED
 203df94:	96 10 00 11 	mov  %l1, %o3                                  <== NOT EXECUTED
 203df98:	96 82 60 01 	addcc  %o1, 1, %o3                             <== NOT EXECUTED
 203df9c:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 203dfa0:	94 42 20 00 	addx  %o0, 0, %o2                              <== NOT EXECUTED
 203dfa4:	40 00 90 96 	call  20621fc <__muldi3>                       <== NOT EXECUTED
 203dfa8:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 203dfac:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
 203dfb0:	10 bf ff da 	b  203df18 <rtems_rfs_dir_read+0x78>           <== NOT EXECUTED
 203dfb4:	b6 10 00 09 	mov  %o1, %i3                                  <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_block_map_seek (fs, &map, offset, &block);           
  if (rc > 0)                                                         
  {                                                                   
    if (rc == ENXIO)                                                  
      rc = ENOENT;                                                    
 203dfb8:	b0 10 20 02 	mov  2, %i0                                    <== NOT EXECUTED
    rtems_rfs_block_map_close (fs, &map);                             
 203dfbc:	7f ff f6 b6 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 203dfc0:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203dfc4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203dfc8:	81 e8 00 00 	restore                                        <== 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)                         
 203dfcc:	29 00 00 3f 	sethi  %hi(0xfc00), %l4                        
    }                                                                 
                                                                      
    *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",
 203dfd0:	2b 00 81 b9 	sethi  %hi(0x206e400), %l5                     
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 203dfd4:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203dfd8:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203dfdc:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
    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)                         
 203dfe0:	a8 15 23 ff 	or  %l4, 0x3ff, %l4                            
    }                                                                 
                                                                      
    *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",
 203dfe4:	aa 15 60 70 	or  %l5, 0x70, %l5                             
    uint8_t*      entry;                                              
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           remaining;                                          
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);  
 203dfe8:	d4 07 bf a0 	ld  [ %fp + -96 ], %o2                         
 203dfec:	96 10 20 01 	mov  1, %o3                                    
 203dff0:	92 07 bf a4 	add  %fp, -92, %o1                             
 203dff4:	7f ff fa 4b 	call  203c920 <rtems_rfs_buffer_handle_request>
 203dff8:	90 10 00 12 	mov  %l2, %o0                                  
    if (rc > 0)                                                       
 203dffc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203e000:	14 80 00 32 	bg  203e0c8 <rtems_rfs_dir_read+0x228>         <== NEVER TAKEN
 203e004:	c2 07 bf ac 	ld  [ %fp + -84 ], %g1                         
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
 203e008:	e2 07 bf c4 	ld  [ %fp + -60 ], %l1                         
      rtems_rfs_buffer_handle_close (fs, &buffer);                    
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
 203e00c:	c2 00 60 1c 	ld  [ %g1 + 0x1c ], %g1                        
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
 203e010:	90 10 20 00 	clr  %o0                                       
      rtems_rfs_block_map_close (fs, &map);                           
      return rc;                                                      
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
 203e014:	a0 00 40 11 	add  %g1, %l1, %l0                             
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
 203e018:	c4 0c 20 09 	ldub  [ %l0 + 9 ], %g2                         
 203e01c:	e6 0c 20 08 	ldub  [ %l0 + 8 ], %l3                         
    eino    = rtems_rfs_dir_entry_ino (entry);                        
 203e020:	c8 08 40 11 	ldub  [ %g1 + %l1 ], %g4                       
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
 203e024:	a7 2c e0 08 	sll  %l3, 8, %l3                               
      break;                                                          
    }                                                                 
                                                                      
    *length += rtems_rfs_fs_block_size (fs) - map.bpos.boff;          
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
 203e028:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    
    }                                                                 
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
 203e02c:	a6 14 c0 02 	or  %l3, %g2, %l3                              
    eino    = rtems_rfs_dir_entry_ino (entry);                        
 203e030:	c6 0c 20 01 	ldub  [ %l0 + 1 ], %g3                         
 203e034:	c2 0c 20 02 	ldub  [ %l0 + 2 ], %g1                         
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
 203e038:	80 a4 c0 14 	cmp  %l3, %l4                                  
 203e03c:	12 80 00 2e 	bne  203e0f4 <rtems_rfs_dir_read+0x254>        
 203e040:	c4 0c 20 03 	ldub  [ %l0 + 3 ], %g2                         
        printf ("rtems-rfs: dir-read: found off:%" PRIooff_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;          
 203e044:	c4 04 a0 08 	ld  [ %l2 + 8 ], %g2                           
 203e048:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 203e04c:	a2 20 80 11 	sub  %g2, %l1, %l1                             
 203e050:	a2 00 40 11 	add  %g1, %l1, %l1                             
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                   
 203e054:	7f ff a3 8c 	call  2026e84 <rtems_rfs_trace>                
 203e058:	e2 27 40 00 	st  %l1, [ %i5 ]                               
 203e05c:	80 8a 20 ff 	btst  0xff, %o0                                
 203e060:	12 80 00 0d 	bne  203e094 <rtems_rfs_dir_read+0x1f4>        <== NEVER TAKEN
 203e064:	90 10 00 12 	mov  %l2, %o0                                  
      printf ("rtems-rfs: dir-read: next block: off:%" PRId64 " length:%zd\n",
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
 203e068:	92 07 bf b0 	add  %fp, -80, %o1                             
 203e06c:	7f ff f7 75 	call  203be40 <rtems_rfs_block_map_next_block> 
 203e070:	94 07 bf a0 	add  %fp, -96, %o2                             
    if (rc == ENXIO)                                                  
 203e074:	80 a2 20 06 	cmp  %o0, 6                                    
 203e078:	02 80 00 13 	be  203e0c4 <rtems_rfs_dir_read+0x224>         <== ALWAYS TAKEN
 203e07c:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  /*                                                                  
   * Look for an empty entry and if this is the last block that is the end of
   * the directory.                                                   
   */                                                                 
  while (rc == 0)                                                     
 203e080:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203e084:	02 bf ff da 	be  203dfec <rtems_rfs_dir_read+0x14c>         <== NOT EXECUTED
 203e088:	d4 07 bf a0 	ld  [ %fp + -96 ], %o2                         <== 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);                       
 203e08c:	10 80 00 10 	b  203e0cc <rtems_rfs_dir_read+0x22c>          <== NOT EXECUTED
 203e090:	92 07 bf a4 	add  %fp, -92, %o1                             <== 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",
 203e094:	d6 07 40 00 	ld  [ %i5 ], %o3                               <== NOT EXECUTED
 203e098:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 203e09c:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 203e0a0:	40 00 3c 59 	call  204d204 <printf>                         <== NOT EXECUTED
 203e0a4:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
              offset, *length);                                       
                                                                      
    rc = rtems_rfs_block_map_next_block (fs, &map, &block);           
 203e0a8:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 203e0ac:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 203e0b0:	7f ff f7 64 	call  203be40 <rtems_rfs_block_map_next_block> <== NOT EXECUTED
 203e0b4:	94 07 bf a0 	add  %fp, -96, %o2                             <== NOT EXECUTED
    if (rc == ENXIO)                                                  
 203e0b8:	80 a2 20 06 	cmp  %o0, 6                                    <== NOT EXECUTED
 203e0bc:	12 bf ff f1 	bne  203e080 <rtems_rfs_dir_read+0x1e0>        <== NOT EXECUTED
 203e0c0:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
      rc = ENOENT;                                                    
 203e0c4:	b0 10 20 02 	mov  2, %i0                                    
 203e0c8:	92 07 bf a4 	add  %fp, -92, %o1                             
 203e0cc:	7f ff f9 9b 	call  203c738 <rtems_rfs_buffer_handle_release>
 203e0d0:	90 10 00 12 	mov  %l2, %o0                                  
  }                                                                   
                                                                      
  rtems_rfs_buffer_handle_close (fs, &buffer);                        
  rtems_rfs_block_map_close (fs, &map);                               
 203e0d4:	90 10 00 12 	mov  %l2, %o0                                  
  handle->dirty = false;                                              
 203e0d8:	c0 2f bf a4 	clrb  [ %fp + -92 ]                            
  handle->bnum  = 0;                                                  
 203e0dc:	c0 27 bf a8 	clr  [ %fp + -88 ]                             
  handle->buffer = NULL;                                              
 203e0e0:	c0 27 bf ac 	clr  [ %fp + -84 ]                             
 203e0e4:	7f ff f6 6c 	call  203ba94 <rtems_rfs_block_map_close>      
 203e0e8:	92 07 bf b0 	add  %fp, -80, %o1                             
  return rc;                                                          
}                                                                     
 203e0ec:	81 c7 e0 08 	ret                                            
 203e0f0:	81 e8 00 00 	restore                                        
                                                                      
    entry  = rtems_rfs_buffer_data (&buffer);                         
    entry += map.bpos.boff;                                           
                                                                      
    elength = rtems_rfs_dir_entry_length (entry);                     
    eino    = rtems_rfs_dir_entry_ino (entry);                        
 203e0f4:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 203e0f8:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
 203e0fc:	84 08 a0 ff 	and  %g2, 0xff, %g2                            
 203e100:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203e104:	82 08 60 ff 	and  %g1, 0xff, %g1                            
 203e108:	88 11 00 03 	or  %g4, %g3, %g4                              
 203e10c:	83 28 60 08 	sll  %g1, 8, %g1                               
 203e110:	84 11 00 02 	or  %g4, %g2, %g2                              
                                                                      
    if (elength != RTEMS_RFS_DIR_ENTRY_EMPTY)                         
    {                                                                 
      if (rtems_rfs_dir_entry_valid (fs, elength, eino))              
 203e114:	80 a4 e0 0a 	cmp  %l3, 0xa                                  
 203e118:	04 80 00 0d 	ble  203e14c <rtems_rfs_dir_read+0x2ac>        <== NEVER TAKEN
 203e11c:	a8 10 80 01 	or  %g2, %g1, %l4                              
 203e120:	c2 04 a0 1c 	ld  [ %l2 + 0x1c ], %g1                        
 203e124:	80 a4 c0 01 	cmp  %l3, %g1                                  
 203e128:	1a 80 00 0a 	bcc  203e150 <rtems_rfs_dir_read+0x2b0>        <== NEVER TAKEN
 203e12c:	90 10 20 00 	clr  %o0                                       
 203e130:	80 a5 20 00 	cmp  %l4, 0                                    
 203e134:	02 80 00 08 	be  203e154 <rtems_rfs_dir_read+0x2b4>         <== NEVER TAKEN
 203e138:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    
 203e13c:	c2 04 a0 14 	ld  [ %l2 + 0x14 ], %g1                        
 203e140:	80 a5 00 01 	cmp  %l4, %g1                                  
 203e144:	08 80 00 12 	bleu  203e18c <rtems_rfs_dir_read+0x2ec>       <== ALWAYS TAKEN
 203e148:	90 10 00 1c 	mov  %i4, %o0                                  
      {                                                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))               
 203e14c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203e150:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    <== NOT EXECUTED
 203e154:	7f ff a3 4c 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203e158:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 203e15c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203e160:	22 bf ff db 	be,a   203e0cc <rtems_rfs_dir_read+0x22c>      <== NOT EXECUTED
 203e164:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
          printf ("rtems-rfs: dir-read: "                             
 203e168:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 203e16c:	d8 07 bf c4 	ld  [ %fp + -60 ], %o4                         <== NOT EXECUTED
 203e170:	94 10 00 13 	mov  %l3, %o2                                  <== NOT EXECUTED
 203e174:	11 00 81 b8 	sethi  %hi(0x206e000), %o0                     <== NOT EXECUTED
 203e178:	96 10 00 14 	mov  %l4, %o3                                  <== NOT EXECUTED
 203e17c:	40 00 3c 22 	call  204d204 <printf>                         <== NOT EXECUTED
 203e180:	90 12 23 f0 	or  %o0, 0x3f0, %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);                       
 203e184:	10 bf ff d2 	b  203e0cc <rtems_rfs_dir_read+0x22c>          <== NOT EXECUTED
 203e188:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
                  rtems_rfs_inode_ino (dir), elength, eino, map.bpos.boff);
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
 203e18c:	92 10 20 00 	clr  %o1                                       
 203e190:	40 00 37 ac 	call  204c040 <memset>                         
 203e194:	94 10 21 18 	mov  0x118, %o2                                
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
                                                                      
      *length += elength;                                             
 203e198:	c2 07 40 00 	ld  [ %i5 ], %g1                               
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
      dirent->d_reclen = sizeof (struct dirent);                      
 203e19c:	84 10 21 18 	mov  0x118, %g2                                
        rc = EIO;                                                     
        break;                                                        
      }                                                               
                                                                      
      memset (dirent, 0, sizeof (struct dirent));                     
      dirent->d_off = offset;                                         
 203e1a0:	f4 3f 20 08 	std  %i2, [ %i4 + 8 ]                          
      dirent->d_reclen = sizeof (struct dirent);                      
 203e1a4:	c4 37 20 10 	sth  %g2, [ %i4 + 0x10 ]                       
                                                                      
      *length += elength;                                             
 203e1a8:	82 04 c0 01 	add  %l3, %g1, %g1                             
 203e1ac:	c2 27 40 00 	st  %g1, [ %i5 ]                               
                                                                      
      remaining = rtems_rfs_fs_block_size (fs) - (map.bpos.boff + elength);
 203e1b0:	c4 04 a0 08 	ld  [ %l2 + 8 ], %g2                           
 203e1b4:	84 20 80 11 	sub  %g2, %l1, %g2                             
 203e1b8:	84 20 80 13 	sub  %g2, %l3, %g2                             
                                                                      
      if (remaining <= RTEMS_RFS_DIR_ENTRY_SIZE)                      
 203e1bc:	80 a0 a0 0a 	cmp  %g2, 0xa                                  
 203e1c0:	14 80 00 04 	bg  203e1d0 <rtems_rfs_dir_read+0x330>         <== ALWAYS TAKEN
 203e1c4:	a6 04 ff f6 	add  %l3, -10, %l3                             
        *length += remaining;                                         
 203e1c8:	82 00 80 01 	add  %g2, %g1, %g1                             <== NOT EXECUTED
 203e1cc:	c2 27 40 00 	st  %g1, [ %i5 ]                               <== NOT EXECUTED
 203e1d0:	80 a4 e0 ff 	cmp  %l3, 0xff                                 
 203e1d4:	34 80 00 02 	bg,a   203e1dc <rtems_rfs_dir_read+0x33c>      <== NEVER TAKEN
 203e1d8:	a6 10 20 ff 	mov  0xff, %l3                                 <== NOT EXECUTED
                                                                      
      elength -= RTEMS_RFS_DIR_ENTRY_SIZE;                            
      if (elength > NAME_MAX)                                         
        elength = NAME_MAX;                                           
                                                                      
      memcpy (dirent->d_name, entry + RTEMS_RFS_DIR_ENTRY_SIZE, elength);
 203e1dc:	92 04 20 0a 	add  %l0, 0xa, %o1                             
 203e1e0:	94 10 00 13 	mov  %l3, %o2                                  
 203e1e4:	ba 07 20 14 	add  %i4, 0x14, %i5                            
 203e1e8:	40 00 37 07 	call  204be04 <memcpy>                         
 203e1ec:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
      dirent->d_ino = rtems_rfs_dir_entry_ino (entry);                
 203e1f0:	c8 0c 00 00 	ldub  [ %l0 ], %g4                             
 203e1f4:	c6 0c 20 01 	ldub  [ %l0 + 1 ], %g3                         
 203e1f8:	c4 0c 20 03 	ldub  [ %l0 + 3 ], %g2                         
 203e1fc:	c2 0c 20 02 	ldub  [ %l0 + 2 ], %g1                         
 203e200:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 203e204:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203e208:	83 28 60 08 	sll  %g1, 8, %g1                               
 203e20c:	86 11 00 03 	or  %g4, %g3, %g3                              
 203e210:	84 10 c0 02 	or  %g3, %g2, %g2                              
 203e214:	82 10 80 01 	or  %g2, %g1, %g1                              
      dirent->d_namlen = elength;                                     
 203e218:	e6 37 20 12 	sth  %l3, [ %i4 + 0x12 ]                       
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_DIR_READ))                 
 203e21c:	90 10 20 00 	clr  %o0                                       
 203e220:	13 20 00 00 	sethi  %hi(0x80000000), %o1                    
 203e224:	7f ff a3 18 	call  2026e84 <rtems_rfs_trace>                
 203e228:	c2 27 00 00 	st  %g1, [ %i4 ]                               
 203e22c:	80 8a 20 ff 	btst  0xff, %o0                                
 203e230:	22 bf ff a7 	be,a   203e0cc <rtems_rfs_dir_read+0x22c>      <== ALWAYS TAKEN
 203e234:	92 07 bf a4 	add  %fp, -92, %o1                             
        printf ("rtems-rfs: dir-read: found off:%" PRIooff_t " ino:%ld name=%s\n",
 203e238:	c4 1f 20 08 	ldd  [ %i4 + 8 ], %g2                          <== NOT EXECUTED
 203e23c:	d6 07 00 00 	ld  [ %i4 ], %o3                               <== NOT EXECUTED
 203e240:	92 10 00 02 	mov  %g2, %o1                                  <== NOT EXECUTED
 203e244:	94 10 00 03 	mov  %g3, %o2                                  <== NOT EXECUTED
 203e248:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203e24c:	98 10 00 1d 	mov  %i5, %o4                                  <== NOT EXECUTED
 203e250:	40 00 3b ed 	call  204d204 <printf>                         <== NOT EXECUTED
 203e254:	90 12 20 38 	or  %o0, 0x38, %o0                             <== NOT EXECUTED
 203e258:	10 bf ff 9d 	b  203e0cc <rtems_rfs_dir_read+0x22c>          <== NOT EXECUTED
 203e25c:	92 07 bf a4 	add  %fp, -92, %o1                             <== NOT EXECUTED
                                                                      

0203e830 <rtems_rfs_file_close>: } int rtems_rfs_file_close (rtems_rfs_file_system* fs, rtems_rfs_file_handle* handle) {
 203e830:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rrc;                                                            
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
 203e834:	90 10 20 10 	mov  0x10, %o0                                 
 203e838:	92 10 20 00 	clr  %o1                                       
 203e83c:	7f ff a1 92 	call  2026e84 <rtems_rfs_trace>                
 203e840:	ba 10 00 18 	mov  %i0, %i5                                  
 203e844:	80 8a 20 ff 	btst  0xff, %o0                                
 203e848:	32 80 00 87 	bne,a   203ea64 <rtems_rfs_file_close+0x234>   <== NEVER TAKEN
 203e84c:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        <== NOT EXECUTED
    printf ("rtems-rfs: file-close: entry: ino=%" PRId32 "\n",        
            handle->shared->inode.ino);                               
                                                                      
  if (handle->shared->references > 0)                                 
 203e850:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
 203e854:	c2 02 60 08 	ld  [ %o1 + 8 ], %g1                           
 203e858:	80 a0 60 00 	cmp  %g1, 0                                    
 203e85c:	04 80 00 04 	ble  203e86c <rtems_rfs_file_close+0x3c>       <== NEVER TAKEN
 203e860:	82 00 7f ff 	add  %g1, -1, %g1                              
    handle->shared->references--;                                     
 203e864:	c2 22 60 08 	st  %g1, [ %o1 + 8 ]                           
                                                                      
  if (handle->shared->references == 0)                                
 203e868:	80 a0 60 00 	cmp  %g1, 0                                    
 203e86c:	12 80 00 74 	bne  203ea3c <rtems_rfs_file_close+0x20c>      <== NEVER TAKEN
 203e870:	90 10 00 1d 	mov  %i5, %o0                                  
  {                                                                   
    if (!rtems_rfs_inode_is_loaded (&handle->shared->inode))          
 203e874:	c2 02 60 18 	ld  [ %o1 + 0x18 ], %g1                        
 203e878:	80 a0 60 00 	cmp  %g1, 0                                    
 203e87c:	22 80 00 a7 	be,a   203eb18 <rtems_rfs_file_close+0x2e8>    <== ALWAYS TAKEN
 203e880:	92 02 60 0c 	add  %o1, 0xc, %o1                             
    if (rrc == 0)                                                     
    {                                                                 
      /*                                                              
       * @todo This could be clever and only update if different.     
       */                                                             
      rtems_rfs_inode_set_atime (&handle->shared->inode,              
 203e884:	c4 02 60 8c 	ld  [ %o1 + 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);                  
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 203e888:	86 10 20 01 	mov  1, %g3                                    
 */                                                                   
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);                  
 203e88c:	89 30 a0 18 	srl  %g2, 0x18, %g4                            
 203e890:	c8 28 60 10 	stb  %g4, [ %g1 + 0x10 ]                       
 203e894:	c2 02 60 18 	ld  [ %o1 + 0x18 ], %g1                        
 203e898:	89 30 a0 10 	srl  %g2, 0x10, %g4                            
 203e89c:	c8 28 60 11 	stb  %g4, [ %g1 + 0x11 ]                       
 203e8a0:	c2 02 60 18 	ld  [ %o1 + 0x18 ], %g1                        
 203e8a4:	89 30 a0 08 	srl  %g2, 8, %g4                               
 203e8a8:	c8 28 60 12 	stb  %g4, [ %g1 + 0x12 ]                       
 203e8ac:	c2 02 60 18 	ld  [ %o1 + 0x18 ], %g1                        
 203e8b0:	c4 28 60 13 	stb  %g2, [ %g1 + 0x13 ]                       
                                 handle->shared->atime);              
      rtems_rfs_inode_set_mtime (&handle->shared->inode,              
 203e8b4:	c4 06 60 1c 	ld  [ %i1 + 0x1c ], %g2                        
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 203e8b8:	c6 2a 60 1c 	stb  %g3, [ %o1 + 0x1c ]                       
 203e8bc:	c2 00 a0 90 	ld  [ %g2 + 0x90 ], %g1                        
 */                                                                   
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);                  
 203e8c0:	c8 00 a0 18 	ld  [ %g2 + 0x18 ], %g4                        
 203e8c4:	b9 30 60 18 	srl  %g1, 0x18, %i4                            
 203e8c8:	f8 29 20 14 	stb  %i4, [ %g4 + 0x14 ]                       
 203e8cc:	c8 00 a0 18 	ld  [ %g2 + 0x18 ], %g4                        
 203e8d0:	b9 30 60 10 	srl  %g1, 0x10, %i4                            
 203e8d4:	f8 29 20 15 	stb  %i4, [ %g4 + 0x15 ]                       
 203e8d8:	c8 00 a0 18 	ld  [ %g2 + 0x18 ], %g4                        
 203e8dc:	b9 30 60 08 	srl  %g1, 8, %i4                               
 203e8e0:	f8 29 20 16 	stb  %i4, [ %g4 + 0x16 ]                       
 203e8e4:	c8 00 a0 18 	ld  [ %g2 + 0x18 ], %g4                        
 203e8e8:	c2 29 20 17 	stb  %g1, [ %g4 + 0x17 ]                       
                                 handle->shared->mtime);              
      rtems_rfs_inode_set_ctime (&handle->shared->inode,              
 203e8ec:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 203e8f0:	c6 28 a0 1c 	stb  %g3, [ %g2 + 0x1c ]                       
 */                                                                   
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);                  
 203e8f4:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 203e8f8:	c4 00 60 94 	ld  [ %g1 + 0x94 ], %g2                        
 203e8fc:	b9 30 a0 18 	srl  %g2, 0x18, %i4                            
 203e900:	f8 29 20 18 	stb  %i4, [ %g4 + 0x18 ]                       
 203e904:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 203e908:	b9 30 a0 10 	srl  %g2, 0x10, %i4                            
 203e90c:	f8 29 20 19 	stb  %i4, [ %g4 + 0x19 ]                       
 203e910:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 203e914:	b9 30 a0 08 	srl  %g2, 8, %i4                               
 203e918:	f8 29 20 1a 	stb  %i4, [ %g4 + 0x1a ]                       
 203e91c:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        
 203e920:	c4 29 20 1b 	stb  %g2, [ %g4 + 0x1b ]                       
                                 handle->shared->ctime);              
      if (!rtems_rfs_block_size_equal (&handle->shared->size,         
 203e924:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 203e928:	c6 28 60 1c 	stb  %g3, [ %g1 + 0x1c ]                       
 203e92c:	c4 02 60 3c 	ld  [ %o1 + 0x3c ], %g2                        
 203e930:	c2 02 60 84 	ld  [ %o1 + 0x84 ], %g1                        
 203e934:	80 a0 40 02 	cmp  %g1, %g2                                  
 203e938:	02 80 00 72 	be  203eb00 <rtems_rfs_file_close+0x2d0>       <== ALWAYS TAKEN
 203e93c:	c4 02 60 88 	ld  [ %o1 + 0x88 ], %g2                        
 */                                                                   
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);                       
 203e940:	c2 22 60 3c 	st  %g1, [ %o1 + 0x3c ]                        <== NOT EXECUTED
 203e944:	c4 22 60 40 	st  %g2, [ %o1 + 0x40 ]                        <== NOT EXECUTED
  map->dirty = true;                                                  
 203e948:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 203e94c:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 203e950:	c2 2a 60 34 	stb  %g1, [ %o1 + 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);        
 203e954:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203e958:	7f ff f4 4f 	call  203ba94 <rtems_rfs_block_map_close>      
 203e95c:	92 02 60 34 	add  %o1, 0x34, %o1                            
    if (rc > 0)                                                       
 203e960:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 203e964:	04 80 00 0a 	ble  203e98c <rtems_rfs_file_close+0x15c>      <== ALWAYS TAKEN
 203e968:	90 10 20 10 	mov  0x10, %o0                                 
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
 203e96c:	7f ff a1 46 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203e970:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203e974:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203e978:	32 80 00 57 	bne,a   203ead4 <rtems_rfs_file_close+0x2a4>   <== NOT EXECUTED
 203e97c:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        <== NOT EXECUTED
        printf ("rtems-rfs: file-close: map close error: ino=%" PRId32 ": %d: %s\n",
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
 203e980:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 203e984:	22 80 00 02 	be,a   203e98c <rtems_rfs_file_close+0x15c>    <== NOT EXECUTED
 203e988:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rc = rtems_rfs_inode_close (fs, &handle->shared->inode);          
 203e98c:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
 203e990:	90 10 00 1d 	mov  %i5, %o0                                  
 203e994:	40 00 0b ab 	call  2041840 <rtems_rfs_inode_close>          
 203e998:	92 02 60 0c 	add  %o1, 0xc, %o1                             
    if (rc > 0)                                                       
 203e99c:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 203e9a0:	04 80 00 0a 	ble  203e9c8 <rtems_rfs_file_close+0x198>      <== ALWAYS TAKEN
 203e9a4:	90 10 20 10 	mov  0x10, %o0                                 
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))               
 203e9a8:	7f ff a1 37 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203e9ac:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203e9b0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203e9b4:	32 80 00 3d 	bne,a   203eaa8 <rtems_rfs_file_close+0x278>   <== NOT EXECUTED
 203e9b8:	c2 06 60 1c 	ld  [ %i1 + 0x1c ], %g1                        <== NOT EXECUTED
        printf ("rtems-rfs: file-close: inode close error: ino=%" PRId32 ": %d: %s\n",
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
 203e9bc:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 203e9c0:	22 80 00 2f 	be,a   203ea7c <rtems_rfs_file_close+0x24c>    <== NOT EXECUTED
 203e9c4:	d0 06 60 1c 	ld  [ %i1 + 0x1c ], %o0                        <== NOT EXECUTED
 */                                                                   
RTEMS_INLINE_ROUTINE void rtems_chain_extract(                        
  rtems_chain_node *the_node                                          
)                                                                     
{                                                                     
  _Chain_Extract( the_node );                                         
 203e9c8:	7f ff c1 d6 	call  202f120 <_Chain_Extract>                 
 203e9cc:	d0 06 60 1c 	ld  [ %i1 + 0x1c ], %o0                        
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rtems_chain_extract (&handle->shared->link);                      
    free (handle->shared);                                            
 203e9d0:	7f ff 2a 4f 	call  200930c <free>                           
 203e9d4:	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);                       
 203e9d8:	90 10 00 1d 	mov  %i5, %o0                                  
 203e9dc:	7f ff f7 57 	call  203c738 <rtems_rfs_buffer_handle_release>
 203e9e0:	92 06 60 04 	add  %i1, 4, %o1                               
  handle->dirty = false;                                              
 203e9e4:	c0 2e 60 04 	clrb  [ %i1 + 4 ]                              
  handle->bnum  = 0;                                                  
 203e9e8:	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)                                                        
 203e9ec:	80 a6 20 00 	cmp  %i0, 0                                    
 203e9f0:	04 80 00 19 	ble  203ea54 <rtems_rfs_file_close+0x224>      <== ALWAYS TAKEN
 203e9f4:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                 
 203e9f8:	90 10 20 10 	mov  0x10, %o0                                 <== NOT EXECUTED
 203e9fc:	7f ff a1 22 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203ea00:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203ea04:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203ea08:	02 80 00 13 	be  203ea54 <rtems_rfs_file_close+0x224>       <== NOT EXECUTED
 203ea0c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: file-close: result: %d: %s\n", rrc, strerror (rrc));
 203ea10:	40 00 43 56 	call  204f768 <strerror>                       <== NOT EXECUTED
 203ea14:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203ea18:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 203ea1c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203ea20:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203ea24:	40 00 39 f8 	call  204d204 <printf>                         <== NOT EXECUTED
 203ea28:	90 12 22 a0 	or  %o0, 0x2a0, %o0	! 206e6a0 <__FUNCTION__.7829+0xf08><== NOT EXECUTED
  }                                                                   
                                                                      
  free (handle);                                                      
 203ea2c:	7f ff 2a 38 	call  200930c <free>                           <== NOT EXECUTED
 203ea30:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 203ea34:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ea38:	81 e8 00 00 	restore                                        <== 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);                       
 203ea3c:	92 06 60 04 	add  %i1, 4, %o1                               <== NOT EXECUTED
 203ea40:	7f ff f7 3e 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203ea44:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  handle->dirty = false;                                              
 203ea48:	c0 2e 60 04 	clrb  [ %i1 + 4 ]                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203ea4c:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
  handle->buffer = NULL;                                              
 203ea50:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             <== NOT EXECUTED
 203ea54:	7f ff 2a 2e 	call  200930c <free>                           
 203ea58:	90 10 00 19 	mov  %i1, %o0                                  
 203ea5c:	81 c7 e0 08 	ret                                            
 203ea60:	81 e8 00 00 	restore                                        
  int rc;                                                             
                                                                      
  rrc = 0;                                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_CLOSE))                   
    printf ("rtems-rfs: file-close: entry: ino=%" PRId32 "\n",        
 203ea64:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203ea68:	d2 00 60 14 	ld  [ %g1 + 0x14 ], %o1                        <== NOT EXECUTED
 203ea6c:	40 00 39 e6 	call  204d204 <printf>                         <== NOT EXECUTED
 203ea70:	90 12 21 f8 	or  %o0, 0x1f8, %o0                            <== NOT EXECUTED
            handle->shared->inode.ino);                               
                                                                      
  if (handle->shared->references > 0)                                 
 203ea74:	10 bf ff 78 	b  203e854 <rtems_rfs_file_close+0x24>         <== NOT EXECUTED
 203ea78:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        <== NOT EXECUTED
 203ea7c:	7f ff c1 a9 	call  202f120 <_Chain_Extract>                 <== NOT EXECUTED
 203ea80:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
      if (rrc == 0)                                                   
        rrc = rc;                                                     
    }                                                                 
                                                                      
    rtems_chain_extract (&handle->shared->link);                      
    free (handle->shared);                                            
 203ea84:	7f ff 2a 22 	call  200930c <free>                           <== NOT EXECUTED
 203ea88:	d0 06 60 1c 	ld  [ %i1 + 0x1c ], %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);                       
 203ea8c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203ea90:	7f ff f7 2a 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203ea94:	92 06 60 04 	add  %i1, 4, %o1                               <== NOT EXECUTED
  handle->dirty = false;                                              
 203ea98:	c0 2e 60 04 	clrb  [ %i1 + 4 ]                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203ea9c:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
  handle->buffer = NULL;                                              
 203eaa0:	10 bf ff d6 	b  203e9f8 <rtems_rfs_file_close+0x1c8>        <== NOT EXECUTED
 203eaa4:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             <== 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",
 203eaa8:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 203eaac:	40 00 43 2f 	call  204f768 <strerror>                       <== NOT EXECUTED
 203eab0:	f6 00 60 14 	ld  [ %g1 + 0x14 ], %i3                        <== NOT EXECUTED
 203eab4:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 203eab8:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203eabc:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 203eac0:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203eac4:	40 00 39 d0 	call  204d204 <printf>                         <== NOT EXECUTED
 203eac8:	90 12 22 60 	or  %o0, 0x260, %o0	! 206e660 <__FUNCTION__.7829+0xec8><== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
 203eacc:	10 bf ff bd 	b  203e9c0 <rtems_rfs_file_close+0x190>        <== NOT EXECUTED
 203ead0:	80 a6 20 00 	cmp  %i0, 0                                    <== 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",
 203ead4:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 203ead8:	40 00 43 24 	call  204f768 <strerror>                       <== NOT EXECUTED
 203eadc:	f6 00 60 14 	ld  [ %g1 + 0x14 ], %i3                        <== NOT EXECUTED
 203eae0:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 203eae4:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 203eae8:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 203eaec:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203eaf0:	40 00 39 c5 	call  204d204 <printf>                         <== NOT EXECUTED
 203eaf4:	90 12 22 20 	or  %o0, 0x220, %o0	! 206e620 <__FUNCTION__.7829+0xe88><== NOT EXECUTED
                handle->shared->inode.ino, rc, strerror (rc));        
      if (rrc == 0)                                                   
 203eaf8:	10 bf ff a3 	b  203e984 <rtems_rfs_file_close+0x154>        <== NOT EXECUTED
 203eafc:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
                                 handle->shared->atime);              
      rtems_rfs_inode_set_mtime (&handle->shared->inode,              
                                 handle->shared->mtime);              
      rtems_rfs_inode_set_ctime (&handle->shared->inode,              
                                 handle->shared->ctime);              
      if (!rtems_rfs_block_size_equal (&handle->shared->size,         
 203eb00:	c6 02 60 40 	ld  [ %o1 + 0x40 ], %g3                        
 203eb04:	80 a0 80 03 	cmp  %g2, %g3                                  
 203eb08:	12 bf ff 8e 	bne  203e940 <rtems_rfs_file_close+0x110>      <== NEVER TAKEN
 203eb0c:	b0 10 20 00 	clr  %i0                                       
                                       &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);        
 203eb10:	10 bf ff 92 	b  203e958 <rtems_rfs_file_close+0x128>        
 203eb14:	90 10 00 1d 	mov  %i5, %o0                                  
    handle->shared->references--;                                     
                                                                      
  if (handle->shared->references == 0)                                
  {                                                                   
    if (!rtems_rfs_inode_is_loaded (&handle->shared->inode))          
      rrc = rtems_rfs_inode_load (fs, &handle->shared->inode);        
 203eb18:	40 00 0a a5 	call  20415ac <rtems_rfs_inode_load>           
 203eb1c:	90 10 00 1d 	mov  %i5, %o0                                  
 203eb20:	d2 06 60 1c 	ld  [ %i1 + 0x1c ], %o1                        
                                                                      
    if (rrc == 0)                                                     
 203eb24:	80 a2 20 00 	cmp  %o0, 0                                    
 203eb28:	12 bf ff 8b 	bne  203e954 <rtems_rfs_file_close+0x124>      <== NEVER TAKEN
 203eb2c:	b0 10 00 08 	mov  %o0, %i0                                  
 203eb30:	10 bf ff 55 	b  203e884 <rtems_rfs_file_close+0x54>         
 203eb34:	c2 02 60 18 	ld  [ %o1 + 0x18 ], %g1                        
                                                                      

0203f4e0 <rtems_rfs_file_get_shared>: */ RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First( Chain_Control *the_chain ) { return _Chain_Head( the_chain )->next;
 203f4e0:	c2 02 20 74 	ld  [ %o0 + 0x74 ], %g1                        
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  const Chain_Control *the_chain,                                     
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Immutable_tail( the_chain ));            
 203f4e4:	90 02 20 78 	add  %o0, 0x78, %o0                            
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))               
 203f4e8:	80 a0 40 08 	cmp  %g1, %o0                                  
 203f4ec:	32 80 00 08 	bne,a   203f50c <rtems_rfs_file_get_shared+0x2c>
 203f4f0:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
 203f4f4:	81 c3 e0 08 	retl                                           
 203f4f8:	90 10 20 00 	clr  %o0                                       
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))               
 203f4fc:	80 a0 40 08 	cmp  %g1, %o0                                  
 203f500:	22 80 00 08 	be,a   203f520 <rtems_rfs_file_get_shared+0x40><== ALWAYS TAKEN
 203f504:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    rtems_rfs_file_shared* shared;                                    
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
 203f508:	c4 00 60 14 	ld  [ %g1 + 0x14 ], %g2                        <== NOT EXECUTED
 203f50c:	80 a0 80 09 	cmp  %g2, %o1                                  
 203f510:	32 bf ff fb 	bne,a   203f4fc <rtems_rfs_file_get_shared+0x1c>
 203f514:	c2 00 40 00 	ld  [ %g1 ], %g1                               
      return shared;                                                  
    node = rtems_chain_next (node);                                   
  }                                                                   
  return NULL;                                                        
}                                                                     
 203f518:	81 c3 e0 08 	retl                                           
 203f51c:	90 10 00 01 	mov  %g1, %o0                                  
 203f520:	81 c3 e0 08 	retl                                           
                                                                      

0203ed7c <rtems_rfs_file_io_end>: int rtems_rfs_file_io_end (rtems_rfs_file_handle* handle, size_t size, bool read) {
 203ed7c:	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))                      
 203ed80:	90 10 20 20 	mov  0x20, %o0                                 
 203ed84:	92 10 20 00 	clr  %o1                                       
 203ed88:	7f ff a0 3f 	call  2026e84 <rtems_rfs_trace>                
 203ed8c:	ba 10 00 18 	mov  %i0, %i5                                  
 203ed90:	80 8a 20 ff 	btst  0xff, %o0                                
 203ed94:	22 80 00 0c 	be,a   203edc4 <rtems_rfs_file_io_end+0x48>    <== ALWAYS TAKEN
 203ed98:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    printf ("rtems-rfs: file-io:   end: %s size=%zu\n",               
 203ed9c:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 203eda0:	12 80 00 22 	bne  203ee28 <rtems_rfs_file_io_end+0xac>      <== NOT EXECUTED
 203eda4:	13 00 81 a7 	sethi  %hi(0x2069c00), %o1                     <== NOT EXECUTED
 203eda8:	13 00 81 98 	sethi  %hi(0x2066000), %o1                     <== NOT EXECUTED
 203edac:	92 12 60 80 	or  %o1, 0x80, %o1	! 2066080 <_CPU_Trap_slot_template+0x60><== NOT EXECUTED
 203edb0:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203edb4:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 203edb8:	40 00 39 13 	call  204d204 <printf>                         <== NOT EXECUTED
 203edbc:	90 12 23 80 	or  %o0, 0x380, %o0                            <== NOT EXECUTED
            read ? "read" : "write", size);                           
                                                                      
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
 203edc0:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         <== NOT EXECUTED
 203edc4:	80 a0 60 00 	cmp  %g1, 0                                    
 203edc8:	02 80 00 1a 	be  203ee30 <rtems_rfs_file_io_end+0xb4>       <== NEVER TAKEN
 203edcc:	80 a6 a0 00 	cmp  %i2, 0                                    
  {                                                                   
    if (!read)                                                        
 203edd0:	12 80 00 8b 	bne  203effc <rtems_rfs_file_io_end+0x280>     
 203edd4:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));   
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
 203edd8:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
            read ? "read" : "write", size);                           
                                                                      
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
  {                                                                   
    if (!read)                                                        
      rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));   
 203eddc:	82 10 20 01 	mov  1, %g1                                    
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
 203ede0:	92 07 60 04 	add  %i5, 4, %o1                               
 203ede4:	7f ff f6 55 	call  203c738 <rtems_rfs_buffer_handle_release>
 203ede8:	c2 2f 60 04 	stb  %g1, [ %i5 + 4 ]                          
                                          rtems_rfs_file_buffer (handle));
    if (rc > 0)                                                       
 203edec:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203edf0:	04 80 00 11 	ble  203ee34 <rtems_rfs_file_io_end+0xb8>      <== ALWAYS TAKEN
 203edf4:	39 00 81 98 	sethi  %hi(0x2066000), %i4                     
    {                                                                 
      printf (                                                        
 203edf8:	b8 17 20 80 	or  %i4, 0x80, %i4	! 2066080 <_CPU_Trap_slot_template+0x60><== NOT EXECUTED
 203edfc:	40 00 42 5b 	call  204f768 <strerror>                       <== NOT EXECUTED
 203ee00:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203ee04:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 203ee08:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
 203ee0c:	94 10 00 19 	mov  %i1, %o2                                  <== NOT EXECUTED
 203ee10:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203ee14:	96 10 00 18 	mov  %i0, %o3                                  <== NOT EXECUTED
 203ee18:	40 00 38 fb 	call  204d204 <printf>                         <== NOT EXECUTED
 203ee1c:	90 12 23 a8 	or  %o0, 0x3a8, %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;                                                      
 203ee20:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ee24:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-io:   end: %s size=%zu\n",               
 203ee28:	10 bf ff e2 	b  203edb0 <rtems_rfs_file_io_end+0x34>        <== NOT EXECUTED
 203ee2c:	92 12 63 20 	or  %o1, 0x320, %o1                            <== NOT EXECUTED
                       bool                   read)                   
{                                                                     
  bool atime;                                                         
  bool mtime;                                                         
  bool length;                                                        
  int  rc = 0;                                                        
 203ee30:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
   * the size with the new length. The map holds the block count.     
   */                                                                 
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
 203ee34:	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;                                          
 203ee38:	c6 07 60 14 	ld  [ %i5 + 0x14 ], %g3                        
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
 203ee3c:	c4 00 60 98 	ld  [ %g1 + 0x98 ], %g2                        
   * 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;                                          
 203ee40:	b2 06 40 03 	add  %i1, %g3, %i1                             
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
 203ee44:	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 >=                                            
 203ee48:	80 a6 40 02 	cmp  %i1, %g2                                  
 203ee4c:	0a 80 00 07 	bcs  203ee68 <rtems_rfs_file_io_end+0xec>      
 203ee50:	f2 27 60 14 	st  %i1, [ %i5 + 0x14 ]                        
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
 203ee54:	c6 07 60 10 	ld  [ %i5 + 0x10 ], %g3                        
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
 203ee58:	b2 26 40 02 	sub  %i1, %g2, %i1                             
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
 203ee5c:	86 00 e0 01 	inc  %g3                                       
    handle->bpos.boff -= rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
 203ee60:	f2 27 60 14 	st  %i1, [ %i5 + 0x14 ]                        
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
  {                                                                   
    handle->bpos.bno++;                                               
 203ee64:	c6 27 60 10 	st  %g3, [ %i5 + 0x10 ]                        
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
 203ee68:	80 a6 a0 00 	cmp  %i2, 0                                    
 203ee6c:	32 80 00 11 	bne,a   203eeb0 <rtems_rfs_file_io_end+0x134>  
 203ee70:	f2 07 40 00 	ld  [ %i5 ], %i1                               
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
 203ee74:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
  }                                                                   
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
 203ee78:	80 a0 a0 00 	cmp  %g2, 0                                    
 203ee7c:	02 80 00 05 	be  203ee90 <rtems_rfs_file_io_end+0x114>      
 203ee80:	c6 00 60 3c 	ld  [ %g1 + 0x3c ], %g3                        
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
 203ee84:	80 a0 e0 00 	cmp  %g3, 0                                    
 203ee88:	22 80 00 25 	be,a   203ef1c <rtems_rfs_file_io_end+0x1a0>   <== NEVER TAKEN
 203ee8c:	c6 07 60 14 	ld  [ %i5 + 0x14 ], %g3                        <== NOT EXECUTED
 203ee90:	80 a0 c0 02 	cmp  %g3, %g2                                  
 203ee94:	28 80 00 22 	bleu,a   203ef1c <rtems_rfs_file_io_end+0x1a0> 
 203ee98:	c6 07 60 14 	ld  [ %i5 + 0x14 ], %g3                        
 203ee9c:	86 00 ff ff 	add  %g3, -1, %g3                              
 203eea0:	80 a0 80 03 	cmp  %g2, %g3                                  
 203eea4:	22 80 00 5f 	be,a   203f020 <rtems_rfs_file_io_end+0x2a4>   
 203eea8:	c6 07 60 14 	ld  [ %i5 + 0x14 ], %g3                        
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
 203eeac:	f2 07 40 00 	ld  [ %i5 ], %i1                               
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
 203eeb0:	b8 10 20 00 	clr  %i4                                       
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
 203eeb4:	b2 0e 60 01 	and  %i1, 1, %i1                               
 203eeb8:	b2 1e 60 01 	xor  %i1, 1, %i1                               
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
  length = rtems_rfs_file_update_length (handle) && length;           
 203eebc:	b6 10 20 00 	clr  %i3                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 203eec0:	90 10 20 20 	mov  0x20, %o0                                 
 203eec4:	92 10 20 00 	clr  %o1                                       
 203eec8:	7f ff 9f ef 	call  2026e84 <rtems_rfs_trace>                
 203eecc:	b2 0e 60 ff 	and  %i1, 0xff, %i1                            
 203eed0:	80 8a 20 ff 	btst  0xff, %o0                                
 203eed4:	12 80 00 22 	bne  203ef5c <rtems_rfs_file_io_end+0x1e0>     <== NEVER TAKEN
 203eed8:	80 a0 00 19 	cmp  %g0, %i1                                  
 203eedc:	b8 0f 20 ff 	and  %i4, 0xff, %i4                            
    printf ("rtems-rfs: file-io:   end: pos=%" PRIu32 ":%" PRIu32 " %c %c %c\n",
            handle->bpos.bno, handle->bpos.boff,                      
            atime ? 'A' : '-', mtime ? 'M' : '-', length ? 'L' : '-');
                                                                      
  if (atime || mtime)                                                 
 203eee0:	80 a7 20 00 	cmp  %i4, 0                                    
 203eee4:	12 80 00 33 	bne  203efb0 <rtems_rfs_file_io_end+0x234>     
 203eee8:	b6 0e e0 ff 	and  %i3, 0xff, %i3                            
 203eeec:	80 a6 60 00 	cmp  %i1, 0                                    
 203eef0:	12 80 00 30 	bne  203efb0 <rtems_rfs_file_io_end+0x234>     <== ALWAYS TAKEN
 203eef4:	80 a6 e0 00 	cmp  %i3, 0                                    
    if (read && atime)                                                
      handle->shared->atime = now;                                    
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
 203eef8:	02 80 00 17 	be  203ef54 <rtems_rfs_file_io_end+0x1d8>      
 203eefc:	01 00 00 00 	nop                                            
  {                                                                   
    handle->shared->size.count =                                      
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
 203ef00:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
 203ef04:	c6 00 60 3c 	ld  [ %g1 + 0x3c ], %g3                        
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
    handle->shared->size.offset =                                     
 203ef08:	c4 00 60 40 	ld  [ %g1 + 0x40 ], %g2                        
    if (!read && mtime)                                               
      handle->shared->mtime = now;                                    
  }                                                                   
  if (length)                                                         
  {                                                                   
    handle->shared->size.count =                                      
 203ef0c:	c6 20 60 84 	st  %g3, [ %g1 + 0x84 ]                        
      rtems_rfs_block_map_count (rtems_rfs_file_map (handle));        
    handle->shared->size.offset =                                     
 203ef10:	c4 20 60 88 	st  %g2, [ %g1 + 0x88 ]                        
 203ef14:	81 c7 e0 08 	ret                                            
 203ef18:	81 e8 00 00 	restore                                        
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
 203ef1c:	c4 07 40 00 	ld  [ %i5 ], %g2                               
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
 203ef20:	c6 20 60 40 	st  %g3, [ %g1 + 0x40 ]                        
  map->dirty = true;                                                  
 203ef24:	86 10 20 01 	mov  1, %g3                                    
 203ef28:	c6 28 60 34 	stb  %g3, [ %g1 + 0x34 ]                       
 203ef2c:	b2 08 a0 01 	and  %g2, 1, %i1                               
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
 203ef30:	b9 30 a0 01 	srl  %g2, 1, %i4                               
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
 203ef34:	b2 1e 60 01 	xor  %i1, 1, %i1                               
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
 203ef38:	b8 1f 20 01 	xor  %i4, 1, %i4                               
  length = rtems_rfs_file_update_length (handle) && length;           
 203ef3c:	b6 10 20 01 	mov  1, %i3                                    
 203ef40:	80 88 a0 04 	btst  4, %g2                                   
 203ef44:	02 bf ff df 	be  203eec0 <rtems_rfs_file_io_end+0x144>      <== ALWAYS TAKEN
 203ef48:	b8 0f 20 01 	and  %i4, 1, %i4                               
 203ef4c:	10 bf ff dd 	b  203eec0 <rtems_rfs_file_io_end+0x144>       <== NOT EXECUTED
 203ef50:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
    handle->shared->size.offset =                                     
      rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle));  
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 203ef54:	81 c7 e0 08 	ret                                            
 203ef58:	81 e8 00 00 	restore                                        
  atime  = rtems_rfs_file_update_atime (handle);                      
  mtime  = rtems_rfs_file_update_mtime (handle) && mtime;             
  length = rtems_rfs_file_update_length (handle) && length;           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-io:   end: pos=%" PRIu32 ":%" PRIu32 " %c %c %c\n",
 203ef5c:	b8 0f 20 ff 	and  %i4, 0xff, %i4                            <== NOT EXECUTED
 203ef60:	96 40 3f ff 	addx  %g0, -1, %o3                             <== NOT EXECUTED
 203ef64:	d2 07 60 10 	ld  [ %i5 + 0x10 ], %o1                        <== NOT EXECUTED
 203ef68:	80 a0 00 1c 	cmp  %g0, %i4                                  <== NOT EXECUTED
 203ef6c:	d4 07 60 14 	ld  [ %i5 + 0x14 ], %o2                        <== NOT EXECUTED
 203ef70:	98 40 3f ff 	addx  %g0, -1, %o4                             <== NOT EXECUTED
 203ef74:	b6 0e e0 ff 	and  %i3, 0xff, %i3                            <== NOT EXECUTED
 203ef78:	80 a0 00 1b 	cmp  %g0, %i3                                  <== NOT EXECUTED
 203ef7c:	96 0a ff ec 	and  %o3, -20, %o3                             <== NOT EXECUTED
 203ef80:	9a 40 3f ff 	addx  %g0, -1, %o5                             <== NOT EXECUTED
 203ef84:	98 0b 3f e0 	and  %o4, -32, %o4                             <== NOT EXECUTED
 203ef88:	9a 0b 7f e1 	and  %o5, -31, %o5                             <== NOT EXECUTED
 203ef8c:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203ef90:	96 02 e0 41 	add  %o3, 0x41, %o3                            <== NOT EXECUTED
 203ef94:	90 12 23 f0 	or  %o0, 0x3f0, %o0                            <== NOT EXECUTED
 203ef98:	98 03 20 4d 	add  %o4, 0x4d, %o4                            <== NOT EXECUTED
 203ef9c:	40 00 38 9a 	call  204d204 <printf>                         <== NOT EXECUTED
 203efa0:	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)                                                 
 203efa4:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 203efa8:	02 bf ff d2 	be  203eef0 <rtems_rfs_file_io_end+0x174>      <== NOT EXECUTED
 203efac:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
  {                                                                   
    time_t now = time (NULL);                                         
 203efb0:	40 00 58 9e 	call  2055228 <time>                           
 203efb4:	90 10 20 00 	clr  %o0                                       
    if (read && atime)                                                
 203efb8:	80 a6 60 00 	cmp  %i1, 0                                    
 203efbc:	02 80 00 06 	be  203efd4 <rtems_rfs_file_io_end+0x258>      <== NEVER TAKEN
 203efc0:	80 a7 20 00 	cmp  %i4, 0                                    
 203efc4:	80 a6 a0 00 	cmp  %i2, 0                                    
 203efc8:	32 80 00 0b 	bne,a   203eff4 <rtems_rfs_file_io_end+0x278>  
 203efcc:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      handle->shared->atime = now;                                    
    if (!read && mtime)                                               
 203efd0:	80 a7 20 00 	cmp  %i4, 0                                    
 203efd4:	02 bf ff c9 	be  203eef8 <rtems_rfs_file_io_end+0x17c>      
 203efd8:	80 a6 e0 00 	cmp  %i3, 0                                    
 203efdc:	80 a6 a0 01 	cmp  %i2, 1                                    
 203efe0:	02 bf ff c6 	be  203eef8 <rtems_rfs_file_io_end+0x17c>      <== NEVER TAKEN
 203efe4:	80 a6 e0 00 	cmp  %i3, 0                                    
      handle->shared->mtime = now;                                    
 203efe8:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 203efec:	10 bf ff c3 	b  203eef8 <rtems_rfs_file_io_end+0x17c>       
 203eff0:	d0 20 60 90 	st  %o0, [ %g1 + 0x90 ]                        
                                                                      
  if (atime || mtime)                                                 
  {                                                                   
    time_t now = time (NULL);                                         
    if (read && atime)                                                
      handle->shared->atime = now;                                    
 203eff4:	10 bf ff f7 	b  203efd0 <rtems_rfs_file_io_end+0x254>       
 203eff8:	d0 20 60 8c 	st  %o0, [ %g1 + 0x8c ]                        
                                                                      
  if (rtems_rfs_buffer_handle_has_block (&handle->buffer))            
  {                                                                   
    if (!read)                                                        
      rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));   
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
 203effc:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 203f000:	92 07 60 04 	add  %i5, 4, %o1                               
 203f004:	7f ff f5 cd 	call  203c738 <rtems_rfs_buffer_handle_release>
 203f008:	39 00 81 a7 	sethi  %hi(0x2069c00), %i4                     
                                          rtems_rfs_file_buffer (handle));
    if (rc > 0)                                                       
 203f00c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203f010:	14 bf ff 7b 	bg  203edfc <rtems_rfs_file_io_end+0x80>       <== NEVER TAKEN
 203f014:	b8 17 23 20 	or  %i4, 0x320, %i4                            
   * the size with the new length. The map holds the block count.     
   */                                                                 
  handle->bpos.boff += size;                                          
                                                                      
  if (handle->bpos.boff >=                                            
      rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))           
 203f018:	10 bf ff 88 	b  203ee38 <rtems_rfs_file_io_end+0xbc>        
 203f01c:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
                                                                      
  length = false;                                                     
  mtime = false;                                                      
                                                                      
  if (!read &&                                                        
      rtems_rfs_block_map_past_end (rtems_rfs_file_map (handle),      
 203f020:	c4 00 60 40 	ld  [ %g1 + 0x40 ], %g2                        
 203f024:	80 a0 c0 02 	cmp  %g3, %g2                                  
 203f028:	28 bf ff a2 	bleu,a   203eeb0 <rtems_rfs_file_io_end+0x134> 
 203f02c:	f2 07 40 00 	ld  [ %i5 ], %i1                               
                                         handle->bpos.boff);          
    length = true;                                                    
    mtime = true;                                                     
  }                                                                   
                                                                      
  atime  = rtems_rfs_file_update_atime (handle);                      
 203f030:	10 bf ff bc 	b  203ef20 <rtems_rfs_file_io_end+0x1a4>       
 203f034:	c4 07 40 00 	ld  [ %i5 ], %g2                               
                                                                      

0203f038 <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))
 203f038:	c2 02 20 0c 	ld  [ %o0 + 0xc ], %g1                         
 203f03c:	80 a0 60 00 	cmp  %g1, 0                                    
 203f040:	02 80 00 07 	be  203f05c <rtems_rfs_file_io_release+0x24>   <== ALWAYS TAKEN
 203f044:	92 02 20 04 	add  %o0, 4, %o1                               
    rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle), 
 203f048:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        <== NOT EXECUTED
 203f04c:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        <== NOT EXECUTED
 203f050:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 203f054:	7f ff f5 b9 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203f058:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                          rtems_rfs_file_buffer (handle));
  return rc;                                                          
}                                                                     
 203f05c:	81 c3 e0 08 	retl                                           
 203f060:	90 10 20 00 	clr  %o0                                       
                                                                      

0203eb38 <rtems_rfs_file_io_start>: int rtems_rfs_file_io_start (rtems_rfs_file_handle* handle, size_t* available, bool read) {
 203eb38:	9d e3 bf 98 	save  %sp, -104, %sp                           
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 203eb3c:	90 10 20 20 	mov  0x20, %o0                                 
 203eb40:	92 10 20 00 	clr  %o1                                       
 203eb44:	7f ff a0 d0 	call  2026e84 <rtems_rfs_trace>                
 203eb48:	ba 10 00 18 	mov  %i0, %i5                                  
 203eb4c:	80 8a 20 ff 	btst  0xff, %o0                                
 203eb50:	22 80 00 0d 	be,a   203eb84 <rtems_rfs_file_io_start+0x4c>  <== ALWAYS TAKEN
 203eb54:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
    printf ("rtems-rfs: file-io: start: %s pos=%" PRIu32 ":%" PRIu32 "\n",
 203eb58:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 203eb5c:	02 80 00 2f 	be  203ec18 <rtems_rfs_file_io_start+0xe0>     <== NOT EXECUTED
 203eb60:	13 00 81 98 	sethi  %hi(0x2066000), %o1                     <== NOT EXECUTED
 203eb64:	13 00 81 a7 	sethi  %hi(0x2069c00), %o1                     <== NOT EXECUTED
 203eb68:	92 12 63 20 	or  %o1, 0x320, %o1	! 2069f20 <rtems_rfs_rtems_eval_config+0xd48><== NOT EXECUTED
 203eb6c:	d4 07 60 10 	ld  [ %i5 + 0x10 ], %o2                        <== NOT EXECUTED
 203eb70:	d6 07 60 14 	ld  [ %i5 + 0x14 ], %o3                        <== NOT EXECUTED
 203eb74:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203eb78:	40 00 39 a3 	call  204d204 <printf>                         <== NOT EXECUTED
 203eb7c:	90 12 22 c8 	or  %o0, 0x2c8, %o0	! 206e6c8 <__FUNCTION__.7829+0xf30><== NOT EXECUTED
            read ? "read" : "write",  handle->bpos.bno, handle->bpos.boff);
                                                                      
  if (!rtems_rfs_buffer_handle_has_block (&handle->buffer))           
 203eb80:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         <== NOT EXECUTED
 203eb84:	80 a0 60 00 	cmp  %g1, 0                                    
 203eb88:	22 80 00 2c 	be,a   203ec38 <rtems_rfs_file_io_start+0x100> 
 203eb8c:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
                                          block, request_read);       
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
 203eb90:	80 a6 a0 00 	cmp  %i2, 0                                    
 203eb94:	02 80 00 0d 	be  203ebc8 <rtems_rfs_file_io_start+0x90>     
 203eb98:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
 203eb9c:	c4 00 60 44 	ld  [ %g1 + 0x44 ], %g2                        
 203eba0:	80 a0 a0 00 	cmp  %g2, 0                                    
 203eba4:	12 80 00 1f 	bne  203ec20 <rtems_rfs_file_io_start+0xe8>    
 203eba8:	c6 00 60 3c 	ld  [ %g1 + 0x3c ], %g3                        
 203ebac:	80 a0 e0 00 	cmp  %g3, 0                                    
 203ebb0:	12 80 00 1d 	bne  203ec24 <rtems_rfs_file_io_start+0xec>    <== ALWAYS TAKEN
 203ebb4:	86 00 ff ff 	add  %g3, -1, %g3                              
      && rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle)))
 203ebb8:	f8 00 60 40 	ld  [ %g1 + 0x40 ], %i4                        <== NOT EXECUTED
 203ebbc:	80 a7 20 00 	cmp  %i4, 0                                    
 203ebc0:	32 80 00 05 	bne,a   203ebd4 <rtems_rfs_file_io_start+0x9c> 
 203ebc4:	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));      
 203ebc8:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
 203ebcc:	f8 00 60 08 	ld  [ %g1 + 8 ], %i4                           
                                                                      
  *available = size - rtems_rfs_file_block_offset (handle);           
 203ebd0:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 203ebd4:	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);           
 203ebd8:	82 27 00 01 	sub  %i4, %g1, %g1                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 203ebdc:	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);           
 203ebe0:	c2 26 40 00 	st  %g1, [ %i1 ]                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 203ebe4:	7f ff a0 a8 	call  2026e84 <rtems_rfs_trace>                
 203ebe8:	b0 10 20 00 	clr  %i0                                       
 203ebec:	80 8a 20 ff 	btst  0xff, %o0                                
 203ebf0:	32 80 00 04 	bne,a   203ec00 <rtems_rfs_file_io_start+0xc8> <== NEVER TAKEN
 203ebf4:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
    printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",       
            *available, size);                                        
                                                                      
  return 0;                                                           
}                                                                     
 203ebf8:	81 c7 e0 08 	ret                                            
 203ebfc:	81 e8 00 00 	restore                                        
    size = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));      
                                                                      
  *available = size - rtems_rfs_file_block_offset (handle);           
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",       
 203ec00:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 203ec04:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203ec08:	40 00 39 7f 	call  204d204 <printf>                         <== NOT EXECUTED
 203ec0c:	90 12 23 50 	or  %o0, 0x350, %o0	! 206e750 <__FUNCTION__.7829+0xfb8><== NOT EXECUTED
            *available, size);                                        
                                                                      
  return 0;                                                           
}                                                                     
 203ec10:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ec14:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                         bool                   read)                 
{                                                                     
  size_t size;                                                        
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-io: start: %s pos=%" PRIu32 ":%" PRIu32 "\n",
 203ec18:	10 bf ff d5 	b  203eb6c <rtems_rfs_file_io_start+0x34>      <== NOT EXECUTED
 203ec1c:	92 12 60 80 	or  %o1, 0x80, %o1                             <== NOT EXECUTED
    if (rc > 0)                                                       
      return rc;                                                      
  }                                                                   
                                                                      
  if (read                                                            
      && rtems_rfs_block_map_last (rtems_rfs_file_map (handle))       
 203ec20:	86 00 ff ff 	add  %g3, -1, %g3                              
 203ec24:	80 a0 80 03 	cmp  %g2, %g3                                  
 203ec28:	32 bf ff e9 	bne,a   203ebcc <rtems_rfs_file_io_start+0x94> 
 203ec2c:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
      && rtems_rfs_block_map_size_offset (rtems_rfs_file_map (handle)))
 203ec30:	10 bf ff e3 	b  203ebbc <rtems_rfs_file_io_start+0x84>      
 203ec34:	f8 00 60 40 	ld  [ %g1 + 0x40 ], %i4                        
    bool                   request_read;                              
    int                    rc;                                        
                                                                      
    request_read = read;                                              
                                                                      
    rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),        
 203ec38:	94 07 60 10 	add  %i5, 0x10, %o2                            
 203ec3c:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 203ec40:	96 07 bf fc 	add  %fp, -4, %o3                              
 203ec44:	7f ff f4 08 	call  203bc64 <rtems_rfs_block_map_find>       
 203ec48:	92 02 60 34 	add  %o1, 0x34, %o1                            
                                   rtems_rfs_file_map (handle),       
                                   rtems_rfs_file_bpos (handle),      
                                   &block);                           
    if (rc > 0)                                                       
 203ec4c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203ec50:	04 80 00 0a 	ble  203ec78 <rtems_rfs_file_io_start+0x140>   
 203ec54:	80 a6 20 06 	cmp  %i0, 6                                    
    {                                                                 
      /*                                                              
       * Has the read reached the EOF ?                               
       */                                                             
      if (read && (rc == ENXIO))                                      
 203ec58:	32 bf ff e8 	bne,a   203ebf8 <rtems_rfs_file_io_start+0xc0> <== NEVER TAKEN
 203ec5c:	90 10 20 20 	mov  0x20, %o0                                 <== NOT EXECUTED
 203ec60:	80 a6 a0 00 	cmp  %i2, 0                                    
 203ec64:	22 80 00 2d 	be,a   203ed18 <rtems_rfs_file_io_start+0x1e0> <== ALWAYS TAKEN
 203ec68:	80 a6 20 06 	cmp  %i0, 6                                    
      {                                                               
        *available = 0;                                               
 203ec6c:	c0 26 40 00 	clr  [ %i1 ]                                   <== NOT EXECUTED
        return 0;                                                     
 203ec70:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ec74:	91 e8 20 00 	restore  %g0, 0, %o0                           <== 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 &&                                                    
 203ec78:	80 a6 a0 00 	cmp  %i2, 0                                    
 203ec7c:	12 80 00 0d 	bne  203ecb0 <rtems_rfs_file_io_start+0x178>   
 203ec80:	82 10 00 1a 	mov  %i2, %g1                                  
 203ec84:	c4 07 60 14 	ld  [ %i5 + 0x14 ], %g2                        
 203ec88:	80 a0 a0 00 	cmp  %g2, 0                                    
 203ec8c:	12 80 00 09 	bne  203ecb0 <rtems_rfs_file_io_start+0x178>   
 203ec90:	82 10 20 01 	mov  1, %g1                                    
          (rtems_rfs_file_block_offset (handle) ||                    
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
 203ec94:	c4 07 60 1c 	ld  [ %i5 + 0x1c ], %g2                        
       * 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) ||                    
 203ec98:	c6 06 40 00 	ld  [ %i1 ], %g3                               
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
 203ec9c:	c4 00 a0 98 	ld  [ %g2 + 0x98 ], %g2                        
       * 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) ||                    
 203eca0:	c4 00 a0 08 	ld  [ %g2 + 8 ], %g2                           
 203eca4:	80 a0 c0 02 	cmp  %g3, %g2                                  
 203eca8:	3a 80 00 02 	bcc,a   203ecb0 <rtems_rfs_file_io_start+0x178><== NEVER TAKEN
 203ecac:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
    }                                                                 
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                    
 203ecb0:	90 10 20 20 	mov  0x20, %o0                                 
 203ecb4:	92 10 20 00 	clr  %o1                                       
 203ecb8:	7f ff a0 73 	call  2026e84 <rtems_rfs_trace>                
 203ecbc:	b8 08 60 ff 	and  %g1, 0xff, %i4                            
 203ecc0:	80 8a 20 ff 	btst  0xff, %o0                                
 203ecc4:	22 80 00 0b 	be,a   203ecf0 <rtems_rfs_file_io_start+0x1b8> <== ALWAYS TAKEN
 203ecc8:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
      printf ("rtems-rfs: file-io: start: block=%" PRIu32 " request-read=%s\n",
 203eccc:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 203ecd0:	02 80 00 24 	be  203ed60 <rtems_rfs_file_io_start+0x228>    <== NOT EXECUTED
 203ecd4:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          <== NOT EXECUTED
 203ecd8:	15 00 81 b8 	sethi  %hi(0x206e000), %o2                     <== NOT EXECUTED
 203ecdc:	94 12 a2 30 	or  %o2, 0x230, %o2	! 206e230 <__FUNCTION__.7829+0xa98><== NOT EXECUTED
 203ece0:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203ece4:	40 00 39 48 	call  204d204 <printf>                         <== NOT EXECUTED
 203ece8:	90 12 23 18 	or  %o0, 0x318, %o0	! 206e718 <__FUNCTION__.7829+0xf80><== NOT EXECUTED
              block, request_read ? "yes" : "no");                    
                                                                      
    rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle), 
 203ecec:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        <== NOT EXECUTED
 203ecf0:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
 203ecf4:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 203ecf8:	92 07 60 04 	add  %i5, 4, %o1                               
 203ecfc:	7f ff f7 09 	call  203c920 <rtems_rfs_buffer_handle_request>
 203ed00:	96 10 00 1c 	mov  %i4, %o3                                  
                                          rtems_rfs_file_buffer (handle),
                                          block, request_read);       
    if (rc > 0)                                                       
 203ed04:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203ed08:	04 bf ff a3 	ble  203eb94 <rtems_rfs_file_io_start+0x5c>    <== ALWAYS TAKEN
 203ed0c:	80 a6 a0 00 	cmp  %i2, 0                                    
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-io: start: available=%zu (%zu)\n",       
            *available, size);                                        
                                                                      
  return 0;                                                           
}                                                                     
 203ed10:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203ed14:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      {                                                               
        *available = 0;                                               
        return 0;                                                     
      }                                                               
                                                                      
      if (rc != ENXIO)                                                
 203ed18:	12 bf ff b8 	bne  203ebf8 <rtems_rfs_file_io_start+0xc0>    <== NEVER TAKEN
 203ed1c:	90 10 20 20 	mov  0x20, %o0                                 
        return rc;                                                    
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                  
 203ed20:	7f ff a0 59 	call  2026e84 <rtems_rfs_trace>                
 203ed24:	92 10 20 00 	clr  %o1                                       
 203ed28:	80 8a 20 ff 	btst  0xff, %o0                                
 203ed2c:	12 80 00 10 	bne  203ed6c <rtems_rfs_file_io_start+0x234>   <== NEVER TAKEN
 203ed30:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     
        printf ("rtems-rfs: file-io: start: grow\n");                 
                                                                      
      rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),      
 203ed34:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
 203ed38:	94 10 20 01 	mov  1, %o2                                    
 203ed3c:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 203ed40:	96 07 bf fc 	add  %fp, -4, %o3                              
 203ed44:	7f ff f4 4c 	call  203be74 <rtems_rfs_block_map_grow>       
 203ed48:	92 02 60 34 	add  %o1, 0x34, %o1                            
                                     rtems_rfs_file_map (handle),     
                                     1, &block);                      
      if (rc > 0)                                                     
 203ed4c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203ed50:	14 bf ff aa 	bg  203ebf8 <rtems_rfs_file_io_start+0xc0>     
 203ed54:	82 10 20 00 	clr  %g1                                       
          (rtems_rfs_file_block_offset (handle) ||                    
           (*available < rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle)))))
        request_read = true;                                          
    }                                                                 
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                    
 203ed58:	10 bf ff d7 	b  203ecb4 <rtems_rfs_file_io_start+0x17c>     
 203ed5c:	90 10 20 20 	mov  0x20, %o0                                 
      printf ("rtems-rfs: file-io: start: block=%" PRIu32 " request-read=%s\n",
 203ed60:	15 00 81 b8 	sethi  %hi(0x206e000), %o2                     <== NOT EXECUTED
 203ed64:	10 bf ff df 	b  203ece0 <rtems_rfs_file_io_start+0x1a8>     <== NOT EXECUTED
 203ed68:	94 12 a2 38 	or  %o2, 0x238, %o2	! 206e238 <__FUNCTION__.7829+0xaa0><== NOT EXECUTED
                                                                      
      if (rc != ENXIO)                                                
        return rc;                                                    
                                                                      
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                  
        printf ("rtems-rfs: file-io: start: grow\n");                 
 203ed6c:	40 00 39 be 	call  204d464 <puts>                           <== NOT EXECUTED
 203ed70:	90 12 22 f8 	or  %o0, 0x2f8, %o0                            <== NOT EXECUTED
                                                                      
      rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),      
 203ed74:	10 bf ff f1 	b  203ed38 <rtems_rfs_file_io_start+0x200>     <== NOT EXECUTED
 203ed78:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        <== NOT EXECUTED
                                                                      

0203e4ec <rtems_rfs_file_open>: int rtems_rfs_file_open (rtems_rfs_file_system* fs, rtems_rfs_ino ino, int oflag, rtems_rfs_file_handle** file) {
 203e4ec:	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))                    
 203e4f0:	90 10 20 08 	mov  8, %o0                                    
 203e4f4:	92 10 20 00 	clr  %o1                                       
 203e4f8:	7f ff a2 63 	call  2026e84 <rtems_rfs_trace>                
 203e4fc:	a0 10 00 18 	mov  %i0, %l0                                  
 203e500:	80 8a 20 ff 	btst  0xff, %o0                                
 203e504:	12 80 00 2b 	bne  203e5b0 <rtems_rfs_file_open+0xc4>        <== NEVER TAKEN
 203e508:	92 10 00 19 	mov  %i1, %o1                                  
    printf ("rtems-rfs: file-open: ino=%" PRId32 "\n", ino);          
                                                                      
  *file = NULL;                                                       
 203e50c:	c0 26 c0 00 	clr  [ %i3 ]                                   
  /*                                                                  
   * 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));                   
 203e510:	90 10 20 20 	mov  0x20, %o0                                 
 203e514:	7f ff 2c e8 	call  20098b4 <malloc>                         
 203e518:	b0 10 20 0c 	mov  0xc, %i0                                  
  if (!handle)                                                        
 203e51c:	80 a2 20 00 	cmp  %o0, 0                                    
 203e520:	02 80 00 4f 	be  203e65c <rtems_rfs_file_open+0x170>        <== NEVER TAKEN
 203e524:	b8 10 00 08 	mov  %o0, %i4                                  
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_First(                        
  Chain_Control *the_chain                                            
)                                                                     
{                                                                     
  return _Chain_Head( the_chain )->next;                              
 203e528:	fa 04 20 74 	ld  [ %l0 + 0x74 ], %i5                        
    return ENOMEM;                                                    
                                                                      
  memset (handle, 0, sizeof (rtems_rfs_file_handle));                 
 203e52c:	c0 22 00 00 	clr  [ %o0 ]                                   
 203e530:	c0 22 20 04 	clr  [ %o0 + 4 ]                               
 203e534:	c0 22 20 10 	clr  [ %o0 + 0x10 ]                            
 203e538:	c0 22 20 14 	clr  [ %o0 + 0x14 ]                            
 203e53c:	c0 22 20 18 	clr  [ %o0 + 0x18 ]                            
 203e540:	c0 22 20 1c 	clr  [ %o0 + 0x1c ]                            
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
  handle->bnum  = 0;                                                  
 203e544:	c0 22 20 08 	clr  [ %o0 + 8 ]                               
RTEMS_INLINE_ROUTINE bool _Chain_Is_tail(                             
  const Chain_Control *the_chain,                                     
  const Chain_Node    *the_node                                       
)                                                                     
{                                                                     
  return (the_node == _Chain_Immutable_tail( the_chain ));            
 203e548:	84 04 20 78 	add  %l0, 0x78, %g2                            
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))               
 203e54c:	80 a7 40 02 	cmp  %i5, %g2                                  
 203e550:	12 80 00 06 	bne  203e568 <rtems_rfs_file_open+0x7c>        
 203e554:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
 203e558:	30 80 00 1b 	b,a   203e5c4 <rtems_rfs_file_open+0xd8>       
 203e55c:	80 a7 40 02 	cmp  %i5, %g2                                  
 203e560:	02 80 00 19 	be  203e5c4 <rtems_rfs_file_open+0xd8>         <== ALWAYS TAKEN
 203e564:	01 00 00 00 	nop                                            
  {                                                                   
    rtems_rfs_file_shared* shared;                                    
    shared = (rtems_rfs_file_shared*) node;                           
    if (shared->inode.ino == ino)                                     
 203e568:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 203e56c:	80 a6 40 01 	cmp  %i1, %g1                                  
 203e570:	32 bf ff fb 	bne,a   203e55c <rtems_rfs_file_open+0x70>     <== ALWAYS TAKEN
 203e574:	fa 07 40 00 	ld  [ %i5 ], %i5                               
   * the reference count and return the pointer to the data.          
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, ino);                       
  if (shared)                                                         
  {                                                                   
    shared->references++;                                             
 203e578:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
 203e57c:	90 10 20 08 	mov  8, %o0                                    <== NOT EXECUTED
   * the reference count and return the pointer to the data.          
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, ino);                       
  if (shared)                                                         
  {                                                                   
    shared->references++;                                             
 203e580:	82 00 60 01 	inc  %g1                                       <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
 203e584:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203e588:	7f ff a2 3f 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203e58c:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           <== NOT EXECUTED
 203e590:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203e594:	12 80 00 34 	bne  203e664 <rtems_rfs_file_open+0x178>       <== NOT EXECUTED
 203e598:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
  }                                                                   
                                                                      
  handle->flags  = oflag;                                             
 203e59c:	f4 27 00 00 	st  %i2, [ %i4 ]                               <== NOT EXECUTED
  handle->shared = shared;                                            
 203e5a0:	fa 27 20 1c 	st  %i5, [ %i4 + 0x1c ]                        
                                                                      
  *file = handle;                                                     
 203e5a4:	f8 26 c0 00 	st  %i4, [ %i3 ]                               
                                                                      
  return 0;                                                           
 203e5a8:	81 c7 e0 08 	ret                                            
 203e5ac:	91 e8 20 00 	restore  %g0, 0, %o0                           
  rtems_rfs_file_handle* handle;                                      
  rtems_rfs_file_shared* shared;                                      
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                    
    printf ("rtems-rfs: file-open: ino=%" PRId32 "\n", ino);          
 203e5b0:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203e5b4:	40 00 3b 14 	call  204d204 <printf>                         <== NOT EXECUTED
 203e5b8:	90 12 21 10 	or  %o0, 0x110, %o0	! 206e510 <__FUNCTION__.7829+0xd78><== NOT EXECUTED
                                                                      
  *file = NULL;                                                       
 203e5bc:	10 bf ff d5 	b  203e510 <rtems_rfs_file_open+0x24>          <== NOT EXECUTED
 203e5c0:	c0 26 c0 00 	clr  [ %i3 ]                                   <== 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));                 
 203e5c4:	7f ff 2c bc 	call  20098b4 <malloc>                         
 203e5c8:	90 10 20 9c 	mov  0x9c, %o0                                 
    if (!shared)                                                      
 203e5cc:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203e5d0:	02 80 00 46 	be  203e6e8 <rtems_rfs_file_open+0x1fc>        <== NEVER TAKEN
 203e5d4:	92 10 20 00 	clr  %o1                                       
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return ENOMEM;                                                  
    }                                                                 
                                                                      
    memset (shared, 0, sizeof (rtems_rfs_file_shared));               
 203e5d8:	40 00 36 9a 	call  204c040 <memset>                         
 203e5dc:	94 10 20 9c 	mov  0x9c, %o2                                 
                                                                      
    rc = rtems_rfs_inode_open (fs, ino, &shared->inode, true);        
 203e5e0:	a2 07 60 0c 	add  %i5, 0xc, %l1                             
 203e5e4:	90 10 00 10 	mov  %l0, %o0                                  
 203e5e8:	92 10 00 19 	mov  %i1, %o1                                  
 203e5ec:	94 10 00 11 	mov  %l1, %o2                                  
 203e5f0:	40 00 0c 1c 	call  2041660 <rtems_rfs_inode_open>           
 203e5f4:	96 10 20 01 	mov  1, %o3                                    
    if (rc > 0)                                                       
 203e5f8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203e5fc:	04 80 00 23 	ble  203e688 <rtems_rfs_file_open+0x19c>       <== ALWAYS TAKEN
 203e600:	90 10 20 08 	mov  8, %o0                                    
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
 203e604:	7f ff a2 20 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203e608:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203e60c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203e610:	02 80 00 09 	be  203e634 <rtems_rfs_file_open+0x148>        <== NOT EXECUTED
 203e614:	01 00 00 00 	nop                                            <== NOT EXECUTED
        printf ("rtems-rfs: file-open: inode open failed: %d: %s\n",  
 203e618:	40 00 44 54 	call  204f768 <strerror>                       <== NOT EXECUTED
 203e61c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203e620:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 203e624:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203e628:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203e62c:	40 00 3a f6 	call  204d204 <printf>                         <== NOT EXECUTED
 203e630:	90 12 21 58 	or  %o0, 0x158, %o0	! 206e558 <__FUNCTION__.7829+0xdc0><== NOT EXECUTED
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
        printf ("rtems-rfs: file-open: block map open failed: %d: %s\n",
                rc, strerror (rc));                                   
      rtems_rfs_inode_close (fs, &shared->inode);                     
      free (shared);                                                  
 203e634:	7f ff 2b 36 	call  200930c <free>                           <== NOT EXECUTED
 203e638:	90 10 00 1d 	mov  %i5, %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);                       
 203e63c:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 203e640:	7f ff f8 3e 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203e644:	92 07 20 04 	add  %i4, 4, %o1                               <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
 203e648:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 203e64c:	c0 2f 20 04 	clrb  [ %i4 + 4 ]                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203e650:	c0 27 20 08 	clr  [ %i4 + 8 ]                               <== NOT EXECUTED
 203e654:	7f ff 2b 2e 	call  200930c <free>                           <== NOT EXECUTED
 203e658:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             <== NOT EXECUTED
      return rc;                                                      
 203e65c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203e660:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  shared = rtems_rfs_file_get_shared (fs, ino);                       
  if (shared)                                                         
  {                                                                   
    shared->references++;                                             
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
      printf ("rtems-rfs: file-open: ino=%" PRId32 " shared\n", ino); 
 203e664:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
  handle->flags  = oflag;                                             
  handle->shared = shared;                                            
                                                                      
  *file = handle;                                                     
                                                                      
  return 0;                                                           
 203e668:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  shared = rtems_rfs_file_get_shared (fs, ino);                       
  if (shared)                                                         
  {                                                                   
    shared->references++;                                             
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
      printf ("rtems-rfs: file-open: ino=%" PRId32 " shared\n", ino); 
 203e66c:	40 00 3a e6 	call  204d204 <printf>                         <== NOT EXECUTED
 203e670:	90 12 21 30 	or  %o0, 0x130, %o0                            <== NOT EXECUTED
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
  }                                                                   
                                                                      
  handle->flags  = oflag;                                             
 203e674:	f4 27 00 00 	st  %i2, [ %i4 ]                               <== NOT EXECUTED
  handle->shared = shared;                                            
 203e678:	fa 27 20 1c 	st  %i5, [ %i4 + 0x1c ]                        <== NOT EXECUTED
                                                                      
  *file = handle;                                                     
 203e67c:	f8 26 c0 00 	st  %i4, [ %i3 ]                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
 203e680:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203e684:	81 e8 00 00 	restore                                        <== 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); 
 203e688:	90 10 00 10 	mov  %l0, %o0                                  
 203e68c:	92 10 00 11 	mov  %l1, %o1                                  
 203e690:	7f ff f4 a0 	call  203b910 <rtems_rfs_block_map_open>       
 203e694:	94 07 60 34 	add  %i5, 0x34, %o2                            
    if (rc > 0)                                                       
 203e698:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203e69c:	24 80 00 1e 	ble,a   203e714 <rtems_rfs_file_open+0x228>    <== ALWAYS TAKEN
 203e6a0:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                
 203e6a4:	90 10 20 08 	mov  8, %o0                                    <== NOT EXECUTED
 203e6a8:	7f ff a1 f7 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203e6ac:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 203e6b0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203e6b4:	22 80 00 0a 	be,a   203e6dc <rtems_rfs_file_open+0x1f0>     <== NOT EXECUTED
 203e6b8:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
        printf ("rtems-rfs: file-open: block map open failed: %d: %s\n",
 203e6bc:	40 00 44 2b 	call  204f768 <strerror>                       <== NOT EXECUTED
 203e6c0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 203e6c4:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 203e6c8:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203e6cc:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203e6d0:	40 00 3a cd 	call  204d204 <printf>                         <== NOT EXECUTED
 203e6d4:	90 12 21 90 	or  %o0, 0x190, %o0	! 206e590 <__FUNCTION__.7829+0xdf8><== NOT EXECUTED
                rc, strerror (rc));                                   
      rtems_rfs_inode_close (fs, &shared->inode);                     
 203e6d8:	92 10 00 11 	mov  %l1, %o1                                  <== NOT EXECUTED
 203e6dc:	40 00 0c 59 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 203e6e0:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 203e6e4:	30 bf ff d4 	b,a   203e634 <rtems_rfs_file_open+0x148>      <== 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);                       
 203e6e8:	92 07 20 04 	add  %i4, 4, %o1                               <== NOT EXECUTED
 203e6ec:	7f ff f8 13 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203e6f0:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
    shared = malloc (sizeof (rtems_rfs_file_shared));                 
    if (!shared)                                                      
    {                                                                 
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return ENOMEM;                                                  
 203e6f4:	b0 10 20 0c 	mov  0xc, %i0                                  <== NOT EXECUTED
     */                                                               
    shared = malloc (sizeof (rtems_rfs_file_shared));                 
    if (!shared)                                                      
    {                                                                 
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
 203e6f8:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 203e6fc:	c0 2f 20 04 	clrb  [ %i4 + 4 ]                              <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203e700:	c0 27 20 08 	clr  [ %i4 + 8 ]                               <== NOT EXECUTED
 203e704:	7f ff 2b 02 	call  200930c <free>                           <== NOT EXECUTED
 203e708:	c0 27 20 0c 	clr  [ %i4 + 0xc ]                             <== NOT EXECUTED
      return ENOMEM;                                                  
 203e70c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203e710:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      rtems_rfs_buffer_handle_close (fs, &handle->buffer);            
      free (handle);                                                  
      return rc;                                                      
    }                                                                 
                                                                      
    shared->references = 1;                                           
 203e714:	84 10 20 01 	mov  1, %g2                                    
 203e718:	c4 27 60 08 	st  %g2, [ %i5 + 8 ]                           
 * @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);             
 203e71c:	f0 08 60 0c 	ldub  [ %g1 + 0xc ], %i0                       
 203e720:	c8 08 60 0d 	ldub  [ %g1 + 0xd ], %g4                       
 203e724:	c6 08 60 0f 	ldub  [ %g1 + 0xf ], %g3                       
 203e728:	c4 08 60 0e 	ldub  [ %g1 + 0xe ], %g2                       
 203e72c:	b1 2e 20 18 	sll  %i0, 0x18, %i0                            
 203e730:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203e734:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203e738:	88 16 00 04 	or  %i0, %g4, %g4                              
 203e73c:	86 11 00 03 	or  %g4, %g3, %g3                              
 203e740:	84 10 c0 02 	or  %g3, %g2, %g2                              
    shared->size.count = rtems_rfs_inode_get_block_count (&shared->inode);
 203e744:	c4 27 60 84 	st  %g2, [ %i5 + 0x84 ]                        
    shared->size.offset = rtems_rfs_inode_get_block_offset (&shared->inode);
 203e748:	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);            
 203e74c:	c4 08 60 0a 	ldub  [ %g1 + 0xa ], %g2                       
 203e750:	90 04 20 74 	add  %l0, 0x74, %o0                            
 203e754:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203e758:	84 10 c0 02 	or  %g3, %g2, %g2                              
 203e75c:	c4 27 60 88 	st  %g2, [ %i5 + 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);                   
 203e760:	f0 08 60 10 	ldub  [ %g1 + 0x10 ], %i0                      
 203e764:	c8 08 60 11 	ldub  [ %g1 + 0x11 ], %g4                      
 203e768:	c6 08 60 13 	ldub  [ %g1 + 0x13 ], %g3                      
 203e76c:	c4 08 60 12 	ldub  [ %g1 + 0x12 ], %g2                      
 203e770:	b1 2e 20 18 	sll  %i0, 0x18, %i0                            
 203e774:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203e778:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203e77c:	88 16 00 04 	or  %i0, %g4, %g4                              
 203e780:	86 11 00 03 	or  %g4, %g3, %g3                              
 203e784:	84 10 c0 02 	or  %g3, %g2, %g2                              
    shared->atime = rtems_rfs_inode_get_atime (&shared->inode);       
 203e788:	c4 27 60 8c 	st  %g2, [ %i5 + 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);                   
 203e78c:	f0 08 60 14 	ldub  [ %g1 + 0x14 ], %i0                      
 203e790:	c8 08 60 15 	ldub  [ %g1 + 0x15 ], %g4                      
 203e794:	c6 08 60 17 	ldub  [ %g1 + 0x17 ], %g3                      
 203e798:	c4 08 60 16 	ldub  [ %g1 + 0x16 ], %g2                      
 203e79c:	b1 2e 20 18 	sll  %i0, 0x18, %i0                            
 203e7a0:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203e7a4:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203e7a8:	88 16 00 04 	or  %i0, %g4, %g4                              
 203e7ac:	86 11 00 03 	or  %g4, %g3, %g3                              
 203e7b0:	84 10 c0 02 	or  %g3, %g2, %g2                              
    shared->mtime = rtems_rfs_inode_get_mtime (&shared->inode);       
 203e7b4:	c4 27 60 90 	st  %g2, [ %i5 + 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);                   
 203e7b8:	c8 08 60 18 	ldub  [ %g1 + 0x18 ], %g4                      
 203e7bc:	c6 08 60 19 	ldub  [ %g1 + 0x19 ], %g3                      
 203e7c0:	c4 08 60 1b 	ldub  [ %g1 + 0x1b ], %g2                      
 203e7c4:	c2 08 60 1a 	ldub  [ %g1 + 0x1a ], %g1                      
 203e7c8:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 203e7cc:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203e7d0:	83 28 60 08 	sll  %g1, 8, %g1                               
 203e7d4:	86 11 00 03 	or  %g4, %g3, %g3                              
 203e7d8:	84 10 c0 02 	or  %g3, %g2, %g2                              
 203e7dc:	82 10 80 01 	or  %g2, %g1, %g1                              
 203e7e0:	92 10 00 1d 	mov  %i5, %o1                                  
    shared->ctime = rtems_rfs_inode_get_ctime (&shared->inode);       
 203e7e4:	c2 27 60 94 	st  %g1, [ %i5 + 0x94 ]                        
 203e7e8:	7f ff 41 6d 	call  200ed9c <_Chain_Append>                  
 203e7ec:	e0 27 60 98 	st  %l0, [ %i5 + 0x98 ]                        
    shared->fs = fs;                                                  
                                                                      
    rtems_chain_append (&fs->file_shares, &shared->link);             
                                                                      
    rtems_rfs_inode_unload (fs, &shared->inode, false);               
 203e7f0:	92 10 00 11 	mov  %l1, %o1                                  
 203e7f4:	94 10 20 00 	clr  %o2                                       
 203e7f8:	40 00 0b d1 	call  204173c <rtems_rfs_inode_unload>         
 203e7fc:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_OPEN))                  
 203e800:	90 10 20 08 	mov  8, %o0                                    
 203e804:	7f ff a1 a0 	call  2026e84 <rtems_rfs_trace>                
 203e808:	92 10 20 00 	clr  %o1                                       
 203e80c:	80 8a 20 ff 	btst  0xff, %o0                                
 203e810:	22 bf ff 64 	be,a   203e5a0 <rtems_rfs_file_open+0xb4>      <== ALWAYS TAKEN
 203e814:	f4 27 00 00 	st  %i2, [ %i4 ]                               
      printf ("rtems-rfs: file-open: ino=%" PRId32 " share created\n", ino);
 203e818:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 203e81c:	11 00 81 b9 	sethi  %hi(0x206e400), %o0                     <== NOT EXECUTED
 203e820:	40 00 3a 79 	call  204d204 <printf>                         <== NOT EXECUTED
 203e824:	90 12 21 c8 	or  %o0, 0x1c8, %o0	! 206e5c8 <__FUNCTION__.7829+0xe30><== NOT EXECUTED
  }                                                                   
                                                                      
  handle->flags  = oflag;                                             
 203e828:	10 bf ff 5e 	b  203e5a0 <rtems_rfs_file_open+0xb4>          <== NOT EXECUTED
 203e82c:	f4 27 00 00 	st  %i2, [ %i4 ]                               <== NOT EXECUTED
                                                                      

0203f064 <rtems_rfs_file_seek>: int rtems_rfs_file_seek (rtems_rfs_file_handle* handle, rtems_rfs_pos pos, rtems_rfs_pos* new_pos) {
 203f064:	9d e3 bf 98 	save  %sp, -104, %sp                           
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 203f068:	90 10 20 20 	mov  0x20, %o0                                 
 203f06c:	92 10 20 00 	clr  %o1                                       
 203f070:	7f ff 9f 85 	call  2026e84 <rtems_rfs_trace>                
 203f074:	ba 10 00 18 	mov  %i0, %i5                                  
 203f078:	80 8a 20 ff 	btst  0xff, %o0                                
 203f07c:	32 80 00 2b 	bne,a   203f128 <rtems_rfs_file_seek+0xc4>     <== NEVER TAKEN
 203f080:	92 10 00 19 	mov  %i1, %o1                                  <== 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),
 203f084:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
 203f088:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 203f08c:	7f ff f2 0b 	call  203b8b8 <rtems_rfs_block_get_size>       
 203f090:	92 02 60 84 	add  %o1, 0x84, %o1                            
 203f094:	80 a6 40 08 	cmp  %i1, %o0                                  
 203f098:	18 80 00 1b 	bgu  203f104 <rtems_rfs_file_seek+0xa0>        <== NEVER TAKEN
 203f09c:	01 00 00 00 	nop                                            
 203f0a0:	02 80 00 17 	be  203f0fc <rtems_rfs_file_seek+0x98>         <== ALWAYS TAKEN
 203f0a4:	80 a6 80 09 	cmp  %i2, %o1                                  
                                            handle->shared))          
  {                                                                   
    rtems_rfs_file_set_bpos (handle, pos);                            
 203f0a8:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        <== NOT EXECUTED
 203f0ac:	b8 07 60 10 	add  %i5, 0x10, %i4                            
 203f0b0:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 203f0b4:	92 10 00 19 	mov  %i1, %o1                                  
 203f0b8:	94 10 00 1a 	mov  %i2, %o2                                  
 203f0bc:	7f ff f1 d0 	call  203b7fc <rtems_rfs_block_get_bpos>       
 203f0c0:	96 10 00 1c 	mov  %i4, %o3                                  
    /*                                                                
     * If the file has a block check if it maps to the current position and it
     * does not release it. That will force us to get the block at the new
     * position when the I/O starts.                                  
     */                                                               
    if (rtems_rfs_buffer_handle_has_block (&handle->buffer))          
 203f0c4:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 203f0c8:	80 a0 60 00 	cmp  %g1, 0                                    
 203f0cc:	02 80 00 13 	be  203f118 <rtems_rfs_file_seek+0xb4>         
 203f0d0:	94 10 00 1c 	mov  %i4, %o2                                  
    {                                                                 
      rtems_rfs_buffer_block block;                                   
      int                    rc;                                      
                                                                      
      rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),      
 203f0d4:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        
 203f0d8:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 203f0dc:	96 07 bf fc 	add  %fp, -4, %o3                              
 203f0e0:	7f ff f2 e1 	call  203bc64 <rtems_rfs_block_map_find>       
 203f0e4:	92 02 60 34 	add  %o1, 0x34, %o1                            
                                     rtems_rfs_file_map (handle),     
                                     rtems_rfs_file_bpos (handle),    
                                     &block);                         
      if (rc > 0)                                                     
 203f0e8:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203f0ec:	24 80 00 15 	ble,a   203f140 <rtems_rfs_file_seek+0xdc>     <== ALWAYS TAKEN
 203f0f0:	c4 07 60 08 	ld  [ %i5 + 8 ], %g2                           
      return rc;                                                      
  }                                                                   
                                                                      
  *new_pos = pos;                                                     
  return 0;                                                           
}                                                                     
 203f0f4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203f0f8:	81 e8 00 00 	restore                                        <== 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),
 203f0fc:	28 bf ff ec 	bleu,a   203f0ac <rtems_rfs_file_seek+0x48>    
 203f100:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
  {                                                                   
    /*                                                                
     * The seek is outside the current file so release any buffer. A write will
     * extend the file.                                               
     */                                                               
    int rc = rtems_rfs_file_io_release (handle);                      
 203f104:	7f ff ff cd 	call  203f038 <rtems_rfs_file_io_release>      
 203f108:	90 10 00 1d 	mov  %i5, %o0                                  
    if (rc > 0)                                                       
 203f10c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 203f110:	14 80 00 16 	bg  203f168 <rtems_rfs_file_seek+0x104>        <== NEVER TAKEN
 203f114:	01 00 00 00 	nop                                            
      return rc;                                                      
  }                                                                   
                                                                      
  *new_pos = pos;                                                     
 203f118:	f2 26 c0 00 	st  %i1, [ %i3 ]                               
 203f11c:	f4 26 e0 04 	st  %i2, [ %i3 + 4 ]                           
  return 0;                                                           
}                                                                     
 203f120:	81 c7 e0 08 	ret                                            
 203f124:	91 e8 20 00 	restore  %g0, 0, %o0                           
rtems_rfs_file_seek (rtems_rfs_file_handle* handle,                   
                     rtems_rfs_pos          pos,                      
                     rtems_rfs_pos*         new_pos)                  
{                                                                     
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
    printf ("rtems-rfs: file-seek: new=%" PRIu64 "\n", pos);          
 203f128:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203f12c:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 203f130:	40 00 38 35 	call  204d204 <printf>                         <== NOT EXECUTED
 203f134:	90 12 20 28 	or  %o0, 0x28, %o0                             <== 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),
 203f138:	10 bf ff d4 	b  203f088 <rtems_rfs_file_seek+0x24>          <== NOT EXECUTED
 203f13c:	d2 07 60 1c 	ld  [ %i5 + 0x1c ], %o1                        <== NOT EXECUTED
                                     rtems_rfs_file_map (handle),     
                                     rtems_rfs_file_bpos (handle),    
                                     &block);                         
      if (rc > 0)                                                     
        return rc;                                                    
      if (rtems_rfs_buffer_bnum (&handle->buffer) != block)           
 203f140:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 203f144:	80 a0 80 01 	cmp  %g2, %g1                                  
 203f148:	02 bf ff f4 	be  203f118 <rtems_rfs_file_seek+0xb4>         <== ALWAYS TAKEN
 203f14c:	92 07 60 04 	add  %i5, 4, %o1                               
      {                                                               
        rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
 203f150:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        <== NOT EXECUTED
 203f154:	7f ff f5 79 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203f158:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        <== NOT EXECUTED
                                              rtems_rfs_file_buffer (handle));
        if (rc > 0)                                                   
 203f15c:	b0 92 20 00 	orcc  %o0, 0, %i0                              <== NOT EXECUTED
 203f160:	24 bf ff ef 	ble,a   203f11c <rtems_rfs_file_seek+0xb8>     <== NOT EXECUTED
 203f164:	f2 26 c0 00 	st  %i1, [ %i3 ]                               <== NOT EXECUTED
      return rc;                                                      
  }                                                                   
                                                                      
  *new_pos = pos;                                                     
  return 0;                                                           
}                                                                     
 203f168:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203f16c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0203f170 <rtems_rfs_file_set_size>: int rtems_rfs_file_set_size (rtems_rfs_file_handle* handle, rtems_rfs_pos new_size) {
 203f170:	9d e3 bf 90 	save  %sp, -112, %sp                           
  rtems_rfs_block_map* map  = rtems_rfs_file_map (handle);            
 203f174:	f6 06 20 1c 	ld  [ %i0 + 0x1c ], %i3                        
  rtems_rfs_pos        size;                                          
  int                  rc;                                            
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_FILE_IO))                      
 203f178:	90 10 20 20 	mov  0x20, %o0                                 
 203f17c:	92 10 20 00 	clr  %o1                                       
 203f180:	7f ff 9f 41 	call  2026e84 <rtems_rfs_trace>                
 203f184:	b8 10 00 19 	mov  %i1, %i4                                  
}                                                                     
                                                                      
int                                                                   
rtems_rfs_file_set_size (rtems_rfs_file_handle* handle,               
                         rtems_rfs_pos          new_size)             
{                                                                     
 203f188:	ba 10 00 1a 	mov  %i2, %i5                                  
  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))                      
 203f18c:	80 8a 20 ff 	btst  0xff, %o0                                
 203f190:	12 80 00 92 	bne  203f3d8 <rtems_rfs_file_set_size+0x268>   <== NEVER TAKEN
 203f194:	a0 06 e0 34 	add  %i3, 0x34, %l0                            
    printf ("rtems-rfs: file-set-size: size=%" PRIu64 "\n", new_size);
                                                                      
  size = rtems_rfs_file_size (handle);                                
 203f198:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        
 203f19c:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 203f1a0:	7f ff f1 c6 	call  203b8b8 <rtems_rfs_block_get_size>       
 203f1a4:	92 02 60 84 	add  %o1, 0x84, %o1                            
  /*                                                                  
   * If the file is same size do nothing else grow or shrink it ?     
   *                                                                  
   * If the file does not change size do not update the times.        
   */                                                                 
  if (size != new_size)                                               
 203f1a8:	80 a7 00 08 	cmp  %i4, %o0                                  
 203f1ac:	02 80 00 98 	be  203f40c <rtems_rfs_file_set_size+0x29c>    <== ALWAYS TAKEN
 203f1b0:	80 a7 40 09 	cmp  %i5, %o1                                  
  {                                                                   
    /*                                                                
     * Short cut for the common truncate on open call.                
     */                                                               
    if (new_size == 0)                                                
 203f1b4:	80 97 00 1d 	orcc  %i4, %i5, %g0                            <== NOT EXECUTED
 203f1b8:	22 80 00 9a 	be,a   203f420 <rtems_rfs_file_set_size+0x2b0> <== NOT EXECUTED
 203f1bc:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        <== NOT EXECUTED
      if (rc > 0)                                                     
        return rc;                                                    
    }                                                                 
    else                                                              
    {                                                                 
      if (size < new_size)                                            
 203f1c0:	80 a7 00 08 	cmp  %i4, %o0                                  <== NOT EXECUTED
 203f1c4:	08 80 00 57 	bleu  203f320 <rtems_rfs_file_set_size+0x1b0>  <== ALWAYS TAKEN
 203f1c8:	01 00 00 00 	nop                                            
        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));
 203f1cc:	e8 06 20 1c 	ld  [ %i0 + 0x1c ], %l4                        <== NOT EXECUTED
         */                                                           
        rtems_rfs_pos count;                                          
        uint32_t      length;                                         
        bool          read_block;                                     
                                                                      
        count = new_size - size;                                      
 203f1d0:	ba a7 40 09 	subcc  %i5, %o1, %i5                           
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
 203f1d4:	c2 05 20 98 	ld  [ %l4 + 0x98 ], %g1                        
         */                                                           
        rtems_rfs_pos count;                                          
        uint32_t      length;                                         
        bool          read_block;                                     
                                                                      
        count = new_size - size;                                      
 203f1d8:	b8 67 00 08 	subx  %i4, %o0, %i4                            
        length = rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
 203f1dc:	b2 10 00 14 	mov  %l4, %i1                                  
 203f1e0:	f4 00 60 08 	ld  [ %g1 + 8 ], %i2                           
        read_block = false;                                           
                                                                      
        while (count)                                                 
 203f1e4:	a6 10 20 00 	clr  %l3                                       
 203f1e8:	a4 10 20 01 	mov  1, %l2                                    
 203f1ec:	80 97 00 1d 	orcc  %i4, %i5, %g0                            
 203f1f0:	12 80 00 2a 	bne  203f298 <rtems_rfs_file_set_size+0x128>   <== ALWAYS TAKEN
 203f1f4:	a2 06 20 04 	add  %i0, 4, %l1                               
 203f1f8:	10 80 00 92 	b  203f440 <rtems_rfs_file_set_size+0x2d0>     <== NOT EXECUTED
 203f1fc:	f4 06 e0 3c 	ld  [ %i3 + 0x3c ], %i2                        <== NOT EXECUTED
                                           map, 1, &block);           
            if (rc > 0)                                               
              return rc;                                              
          }                                                           
                                                                      
          if (count < (length - bpos.boff))                           
 203f200:	80 a0 80 1d 	cmp  %g2, %i5                                  
 203f204:	28 80 00 45 	bleu,a   203f318 <rtems_rfs_file_set_size+0x1a8>
 203f208:	c0 26 e0 40 	clr  [ %i3 + 0x40 ]                            
          {                                                           
            length = count + bpos.boff;                               
 203f20c:	b4 00 40 1d 	add  %g1, %i5, %i2                             
 203f210:	e4 2e e0 34 	stb  %l2, [ %i3 + 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;                                          
 203f214:	f4 26 e0 40 	st  %i2, [ %i3 + 0x40 ]                        
            read_block = true;                                        
 203f218:	a6 10 20 01 	mov  1, %l3                                    
          }                                                           
                                                                      
          /*                                                          
           * Only read the block if the length is not the block size. 
           */                                                         
          rc = rtems_rfs_buffer_handle_request (rtems_rfs_file_fs (handle),
 203f21c:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 203f220:	d4 07 bf f0 	ld  [ %fp + -16 ], %o2                         
 203f224:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 203f228:	92 10 00 11 	mov  %l1, %o1                                  
 203f22c:	7f ff f5 bd 	call  203c920 <rtems_rfs_buffer_handle_request>
 203f230:	96 0c e0 01 	and  %l3, 1, %o3                               
                                                rtems_rfs_file_buffer (handle),
                                                block, read_block);   
          if (rc > 0)                                                 
 203f234:	82 92 20 00 	orcc  %o0, 0, %g1                              
 203f238:	14 80 00 66 	bg  203f3d0 <rtems_rfs_file_set_size+0x260>    <== NEVER TAKEN
 203f23c:	92 10 20 00 	clr  %o1                                       
            return rc;                                                
                                                                      
          dst = rtems_rfs_buffer_data (&handle->buffer);              
 203f240:	c4 06 20 0c 	ld  [ %i0 + 0xc ], %g2                         
          memset (dst + bpos.boff, 0, length - bpos.boff);            
 203f244:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 203f248:	d0 00 a0 1c 	ld  [ %g2 + 0x1c ], %o0                        
 203f24c:	94 26 80 01 	sub  %i2, %g1, %o2                             
 203f250:	40 00 33 7c 	call  204c040 <memset>                         
 203f254:	90 02 00 01 	add  %o0, %g1, %o0                             
                                                                      
          rtems_rfs_buffer_mark_dirty (rtems_rfs_file_buffer (handle));
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
 203f258:	c2 06 20 1c 	ld  [ %i0 + 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));
 203f25c:	e4 2e 20 04 	stb  %l2, [ %i0 + 4 ]                          
                                                                      
          rc = rtems_rfs_buffer_handle_release (rtems_rfs_file_fs (handle),
 203f260:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 203f264:	7f ff f5 35 	call  203c738 <rtems_rfs_buffer_handle_release>
 203f268:	92 10 00 11 	mov  %l1, %o1                                  
                                                rtems_rfs_file_buffer (handle));
          if (rc > 0)                                                 
 203f26c:	82 92 20 00 	orcc  %o0, 0, %g1                              
 203f270:	14 80 00 58 	bg  203f3d0 <rtems_rfs_file_set_size+0x260>    <== NEVER TAKEN
 203f274:	01 00 00 00 	nop                                            
            return rc;                                                
                                                                      
          count -= length - bpos.boff;                                
 203f278:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 203f27c:	82 26 80 01 	sub  %i2, %g1, %g1                             
 203f280:	ba a7 40 01 	subcc  %i5, %g1, %i5                           
 203f284:	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)                                                 
 203f288:	80 97 00 1d 	orcc  %i4, %i5, %g0                            
 203f28c:	22 80 00 6c 	be,a   203f43c <rtems_rfs_file_set_size+0x2cc> 
 203f290:	e8 06 20 1c 	ld  [ %i0 + 0x1c ], %l4                        
 203f294:	f2 06 20 1c 	ld  [ %i0 + 0x1c ], %i1                        
          /*                                                          
           * 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);
 203f298:	c2 06 e0 40 	ld  [ %i3 + 0x40 ], %g1                        
 203f29c:	c4 06 e0 3c 	ld  [ %i3 + 0x3c ], %g2                        
 203f2a0:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
 203f2a4:	c4 27 bf f4 	st  %g2, [ %fp + -12 ]                         
 203f2a8:	80 a0 60 00 	cmp  %g1, 0                                    
 203f2ac:	02 80 00 04 	be  203f2bc <rtems_rfs_file_set_size+0x14c>    
 203f2b0:	c0 27 bf fc 	clr  [ %fp + -4 ]                              
 203f2b4:	84 00 bf ff 	add  %g2, -1, %g2                              
 203f2b8:	c4 27 bf f4 	st  %g2, [ %fp + -12 ]                         
          rc = rtems_rfs_block_map_find (rtems_rfs_file_fs (handle),  
 203f2bc:	d0 06 60 98 	ld  [ %i1 + 0x98 ], %o0                        
 203f2c0:	92 10 00 10 	mov  %l0, %o1                                  
 203f2c4:	94 07 bf f4 	add  %fp, -12, %o2                             
 203f2c8:	7f ff f2 67 	call  203bc64 <rtems_rfs_block_map_find>       
 203f2cc:	96 07 bf f0 	add  %fp, -16, %o3                             
                                         map, &bpos, &block);         
          if (rc > 0)                                                 
 203f2d0:	82 92 20 00 	orcc  %o0, 0, %g1                              
 203f2d4:	04 80 00 0c 	ble  203f304 <rtems_rfs_file_set_size+0x194>   
 203f2d8:	80 a0 60 06 	cmp  %g1, 6                                    
          {                                                           
            /*                                                        
             * Have we reached the EOF ?                              
             */                                                       
            if (rc != ENXIO)                                          
 203f2dc:	12 80 00 3d 	bne  203f3d0 <rtems_rfs_file_set_size+0x260>   <== NEVER TAKEN
 203f2e0:	92 10 00 10 	mov  %l0, %o1                                  
              return rc;                                              
                                                                      
            rc = rtems_rfs_block_map_grow (rtems_rfs_file_fs (handle),
 203f2e4:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 203f2e8:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 203f2ec:	94 10 20 01 	mov  1, %o2                                    
 203f2f0:	7f ff f2 e1 	call  203be74 <rtems_rfs_block_map_grow>       
 203f2f4:	96 07 bf f0 	add  %fp, -16, %o3                             
                                           map, 1, &block);           
            if (rc > 0)                                               
 203f2f8:	82 92 20 00 	orcc  %o0, 0, %g1                              
 203f2fc:	14 80 00 35 	bg  203f3d0 <rtems_rfs_file_set_size+0x260>    <== NEVER TAKEN
 203f300:	01 00 00 00 	nop                                            
              return rc;                                              
          }                                                           
                                                                      
          if (count < (length - bpos.boff))                           
 203f304:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 203f308:	80 a7 20 00 	cmp  %i4, 0                                    
 203f30c:	02 bf ff bd 	be  203f200 <rtems_rfs_file_set_size+0x90>     <== ALWAYS TAKEN
 203f310:	84 26 80 01 	sub  %i2, %g1, %g2                             
 203f314:	c0 26 e0 40 	clr  [ %i3 + 0x40 ]                            <== NOT EXECUTED
  map->dirty = true;                                                  
 203f318:	10 bf ff c1 	b  203f21c <rtems_rfs_file_set_size+0xac>      
 203f31c:	e4 2e e0 34 	stb  %l2, [ %i3 + 0x34 ]                       
      if (rc > 0)                                                     
        return rc;                                                    
    }                                                                 
    else                                                              
    {                                                                 
      if (size < new_size)                                            
 203f320:	02 80 00 54 	be  203f470 <rtems_rfs_file_set_size+0x300>    <== ALWAYS TAKEN
 203f324:	80 a7 40 09 	cmp  %i5, %o1                                  
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
 203f328:	f2 06 20 1c 	ld  [ %i0 + 0x1c ], %i1                        <== NOT EXECUTED
         */                                                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
 203f32c:	f4 06 e0 3c 	ld  [ %i3 + 0x3c ], %i2                        
          (((new_size - 1) /                                          
            rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle))) + 1);
 203f330:	e2 06 60 98 	ld  [ %i1 + 0x98 ], %l1                        
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
          rtems_rfs_block_map_count (map) -                           
          (((new_size - 1) /                                          
 203f334:	92 87 7f ff 	addcc  %i5, -1, %o1                            
 203f338:	e0 04 60 08 	ld  [ %l1 + 8 ], %l0                           
 203f33c:	90 47 3f ff 	addx  %i4, -1, %o0                             
 203f340:	96 10 00 10 	mov  %l0, %o3                                  
 203f344:	40 00 8d f2 	call  2062b0c <__udivdi3>                      
 203f348:	94 10 20 00 	clr  %o2                                       
         * Shrink                                                     
         */                                                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
 203f34c:	92 38 00 09 	xnor  %g0, %o1, %o1                            
          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));
 203f350:	96 10 00 10 	mov  %l0, %o3                                  
 203f354:	94 10 20 00 	clr  %o2                                       
         * Shrink                                                     
         */                                                           
        rtems_rfs_block_no blocks;                                    
        uint32_t           offset;                                    
                                                                      
        blocks =                                                      
 203f358:	a0 02 40 1a 	add  %o1, %i2, %l0                             
          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));
 203f35c:	90 10 00 1c 	mov  %i4, %o0                                  
 203f360:	40 00 8e bf 	call  2062e5c <__umoddi3>                      
 203f364:	92 10 00 1d 	mov  %i5, %o1                                  
                                                                      
        if (blocks)                                                   
 203f368:	80 a4 20 00 	cmp  %l0, 0                                    
 203f36c:	12 80 00 4e 	bne  203f4a4 <rtems_rfs_file_set_size+0x334>   
 203f370:	ba 10 00 09 	mov  %o1, %i5                                  
            return rc;                                                
        }                                                             
                                                                      
        rtems_rfs_block_map_set_size_offset (map, offset);            
                                                                      
        if (rtems_rfs_block_pos_past_end (rtems_rfs_file_bpos (handle),
 203f374:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        
 203f378:	84 10 20 01 	mov  1, %g2                                    
 */                                                                   
static inline void                                                    
rtems_rfs_block_map_set_size_offset (rtems_rfs_block_map* map,        
                                     rtems_rfs_block_off  offset)     
{                                                                     
  map->size.offset = offset;                                          
 203f37c:	fa 26 e0 40 	st  %i5, [ %i3 + 0x40 ]                        
 203f380:	80 a0 60 00 	cmp  %g1, 0                                    
 203f384:	02 80 00 3f 	be  203f480 <rtems_rfs_file_set_size+0x310>    
 203f388:	c4 2e e0 34 	stb  %g2, [ %i3 + 0x34 ]                       
 203f38c:	80 a6 a0 00 	cmp  %i2, 0                                    
 203f390:	12 80 00 3d 	bne  203f484 <rtems_rfs_file_set_size+0x314>   <== ALWAYS TAKEN
 203f394:	80 a0 40 1a 	cmp  %g1, %i2                                  
                                          rtems_rfs_block_map_size (map)))
          rtems_rfs_block_size_get_bpos (rtems_rfs_block_map_size (map),
 203f398:	f4 26 20 10 	st  %i2, [ %i0 + 0x10 ]                        <== NOT EXECUTED
 203f39c:	fa 26 20 14 	st  %i5, [ %i0 + 0x14 ]                        
 203f3a0:	80 a7 60 00 	cmp  %i5, 0                                    
 203f3a4:	02 80 00 3e 	be  203f49c <rtems_rfs_file_set_size+0x32c>    <== NEVER TAKEN
 203f3a8:	c0 26 20 18 	clr  [ %i0 + 0x18 ]                            
 203f3ac:	82 06 bf ff 	add  %i2, -1, %g1                              
 203f3b0:	a8 10 00 19 	mov  %i1, %l4                                  
 203f3b4:	c2 26 20 10 	st  %g1, [ %i0 + 0x10 ]                        
    }                                                                 
                                                                      
    handle->shared->size.count  = rtems_rfs_block_map_count (map);    
    handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
                                                                      
    if (rtems_rfs_file_update_mtime (handle))                         
 203f3b8:	c2 06 00 00 	ld  [ %i0 ], %g1                               
          rtems_rfs_block_size_get_bpos (rtems_rfs_block_map_size (map),
                                         rtems_rfs_file_bpos (handle));
      }                                                               
    }                                                                 
                                                                      
    handle->shared->size.count  = rtems_rfs_block_map_count (map);    
 203f3bc:	f4 25 20 84 	st  %i2, [ %l4 + 0x84 ]                        
    handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
                                                                      
    if (rtems_rfs_file_update_mtime (handle))                         
 203f3c0:	80 88 60 02 	btst  2, %g1                                   
 203f3c4:	02 80 00 25 	be  203f458 <rtems_rfs_file_set_size+0x2e8>    <== ALWAYS TAKEN
 203f3c8:	fa 25 20 88 	st  %i5, [ %l4 + 0x88 ]                        
      handle->shared->mtime = time (NULL);                            
  }                                                                   
                                                                      
  return 0;                                                           
 203f3cc:	82 10 20 00 	clr  %g1                                       
}                                                                     
 203f3d0:	81 c7 e0 08 	ret                                            
 203f3d4:	91 e8 00 01 	restore  %g0, %g1, %o0                         
  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))                      
    printf ("rtems-rfs: file-set-size: size=%" PRIu64 "\n", new_size);
 203f3d8:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 203f3dc:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 203f3e0:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203f3e4:	40 00 37 88 	call  204d204 <printf>                         <== NOT EXECUTED
 203f3e8:	90 12 20 48 	or  %o0, 0x48, %o0	! 206e848 <__FUNCTION__.7829+0x10b0><== NOT EXECUTED
                                                                      
  size = rtems_rfs_file_size (handle);                                
 203f3ec:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        <== NOT EXECUTED
 203f3f0:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        <== NOT EXECUTED
 203f3f4:	7f ff f1 31 	call  203b8b8 <rtems_rfs_block_get_size>       <== NOT EXECUTED
 203f3f8:	92 02 60 84 	add  %o1, 0x84, %o1                            <== NOT EXECUTED
  /*                                                                  
   * If the file is same size do nothing else grow or shrink it ?     
   *                                                                  
   * If the file does not change size do not update the times.        
   */                                                                 
  if (size != new_size)                                               
 203f3fc:	80 a7 00 08 	cmp  %i4, %o0                                  <== NOT EXECUTED
 203f400:	12 bf ff 6e 	bne  203f1b8 <rtems_rfs_file_set_size+0x48>    <== NOT EXECUTED
 203f404:	80 97 00 1d 	orcc  %i4, %i5, %g0                            <== NOT EXECUTED
 203f408:	80 a7 40 09 	cmp  %i5, %o1                                  <== NOT EXECUTED
 203f40c:	02 bf ff f0 	be  203f3cc <rtems_rfs_file_set_size+0x25c>    
 203f410:	80 97 00 1d 	orcc  %i4, %i5, %g0                            
  {                                                                   
    /*                                                                
     * Short cut for the common truncate on open call.                
     */                                                               
    if (new_size == 0)                                                
 203f414:	12 bf ff 6c 	bne  203f1c4 <rtems_rfs_file_set_size+0x54>    
 203f418:	80 a7 00 08 	cmp  %i4, %o0                                  
    {                                                                 
      rc = rtems_rfs_block_map_free_all (rtems_rfs_file_fs (handle), map);
 203f41c:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        
 203f420:	92 10 00 10 	mov  %l0, %o1                                  
 203f424:	7f ff f4 52 	call  203c56c <rtems_rfs_block_map_free_all>   
 203f428:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
      if (rc > 0)                                                     
 203f42c:	82 92 20 00 	orcc  %o0, 0, %g1                              
 203f430:	14 bf ff e8 	bg  203f3d0 <rtems_rfs_file_set_size+0x260>    <== NEVER TAKEN
 203f434:	01 00 00 00 	nop                                            
 203f438:	e8 06 20 1c 	ld  [ %i0 + 0x1c ], %l4                        
 203f43c:	f4 06 e0 3c 	ld  [ %i3 + 0x3c ], %i2                        
 203f440:	fa 06 e0 40 	ld  [ %i3 + 0x40 ], %i5                        
    }                                                                 
                                                                      
    handle->shared->size.count  = rtems_rfs_block_map_count (map);    
    handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
                                                                      
    if (rtems_rfs_file_update_mtime (handle))                         
 203f444:	c2 06 00 00 	ld  [ %i0 ], %g1                               
          rtems_rfs_block_size_get_bpos (rtems_rfs_block_map_size (map),
                                         rtems_rfs_file_bpos (handle));
      }                                                               
    }                                                                 
                                                                      
    handle->shared->size.count  = rtems_rfs_block_map_count (map);    
 203f448:	f4 25 20 84 	st  %i2, [ %l4 + 0x84 ]                        
    handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
                                                                      
    if (rtems_rfs_file_update_mtime (handle))                         
 203f44c:	80 88 60 02 	btst  2, %g1                                   
 203f450:	12 bf ff df 	bne  203f3cc <rtems_rfs_file_set_size+0x25c>   <== NEVER TAKEN
 203f454:	fa 25 20 88 	st  %i5, [ %l4 + 0x88 ]                        
      handle->shared->mtime = time (NULL);                            
 203f458:	40 00 57 74 	call  2055228 <time>                           
 203f45c:	90 10 20 00 	clr  %o0                                       
  }                                                                   
                                                                      
  return 0;                                                           
 203f460:	82 10 20 00 	clr  %g1                                       
                                                                      
    handle->shared->size.count  = rtems_rfs_block_map_count (map);    
    handle->shared->size.offset = rtems_rfs_block_map_size_offset (map);
                                                                      
    if (rtems_rfs_file_update_mtime (handle))                         
      handle->shared->mtime = time (NULL);                            
 203f464:	d0 25 20 90 	st  %o0, [ %l4 + 0x90 ]                        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 203f468:	81 c7 e0 08 	ret                                            
 203f46c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
      if (rc > 0)                                                     
        return rc;                                                    
    }                                                                 
    else                                                              
    {                                                                 
      if (size < new_size)                                            
 203f470:	28 bf ff af 	bleu,a   203f32c <rtems_rfs_file_set_size+0x1bc>
 203f474:	f2 06 20 1c 	ld  [ %i0 + 0x1c ], %i1                        
        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));
 203f478:	10 bf ff 56 	b  203f1d0 <rtems_rfs_file_set_size+0x60>      
 203f47c:	e8 06 20 1c 	ld  [ %i0 + 0x1c ], %l4                        
            return rc;                                                
        }                                                             
                                                                      
        rtems_rfs_block_map_set_size_offset (map, offset);            
                                                                      
        if (rtems_rfs_block_pos_past_end (rtems_rfs_file_bpos (handle),
 203f480:	80 a0 40 1a 	cmp  %g1, %i2                                  
 203f484:	3a bf ff c6 	bcc,a   203f39c <rtems_rfs_file_set_size+0x22c><== NEVER TAKEN
 203f488:	f4 26 20 10 	st  %i2, [ %i0 + 0x10 ]                        <== NOT EXECUTED
 203f48c:	84 06 bf ff 	add  %i2, -1, %g2                              
 203f490:	80 a0 40 02 	cmp  %g1, %g2                                  
 203f494:	22 80 00 0e 	be,a   203f4cc <rtems_rfs_file_set_size+0x35c> <== ALWAYS TAKEN
 203f498:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 203f49c:	10 bf ff c7 	b  203f3b8 <rtems_rfs_file_set_size+0x248>     <== NOT EXECUTED
 203f4a0:	a8 10 00 19 	mov  %i1, %l4                                  <== NOT EXECUTED
          new_size % rtems_rfs_fs_block_size (rtems_rfs_file_fs (handle));
                                                                      
        if (blocks)                                                   
        {                                                             
          int rc;                                                     
          rc = rtems_rfs_block_map_shrink (rtems_rfs_file_fs (handle),
 203f4a4:	90 10 00 11 	mov  %l1, %o0                                  
 203f4a8:	92 06 60 34 	add  %i1, 0x34, %o1                            
 203f4ac:	7f ff f3 68 	call  203c24c <rtems_rfs_block_map_shrink>     
 203f4b0:	94 10 00 10 	mov  %l0, %o2                                  
                                           rtems_rfs_file_map (handle),
                                           blocks);                   
          if (rc > 0)                                                 
 203f4b4:	82 92 20 00 	orcc  %o0, 0, %g1                              
 203f4b8:	14 bf ff c6 	bg  203f3d0 <rtems_rfs_file_set_size+0x260>    <== NEVER TAKEN
 203f4bc:	01 00 00 00 	nop                                            
 203f4c0:	f4 06 e0 3c 	ld  [ %i3 + 0x3c ], %i2                        
 203f4c4:	10 bf ff ac 	b  203f374 <rtems_rfs_file_set_size+0x204>     
 203f4c8:	f2 06 20 1c 	ld  [ %i0 + 0x1c ], %i1                        
            return rc;                                                
        }                                                             
                                                                      
        rtems_rfs_block_map_set_size_offset (map, offset);            
                                                                      
        if (rtems_rfs_block_pos_past_end (rtems_rfs_file_bpos (handle),
 203f4cc:	80 a7 40 01 	cmp  %i5, %g1                                  
 203f4d0:	2a bf ff b3 	bcs,a   203f39c <rtems_rfs_file_set_size+0x22c>
 203f4d4:	f4 26 20 10 	st  %i2, [ %i0 + 0x10 ]                        
 203f4d8:	10 bf ff b8 	b  203f3b8 <rtems_rfs_file_set_size+0x248>     
 203f4dc:	a8 10 00 19 	mov  %i1, %l4                                  
                                                                      

0203fed0 <rtems_rfs_format>: return rc; } int rtems_rfs_format (const char* name, const rtems_rfs_format_config* config) {
 203fed0:	9d e3 be c8 	save  %sp, -312, %sp                           
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
 203fed4:	c2 0e 60 15 	ldub  [ %i1 + 0x15 ], %g1                      
 203fed8:	80 a0 60 00 	cmp  %g1, 0                                    
 203fedc:	32 80 00 88 	bne,a   20400fc <rtems_rfs_format+0x22c>       <== NEVER TAKEN
 203fee0:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
    printf ("rtems-rfs: format: %s\n", name);                         
                                                                      
  memset (&fs, 0, sizeof (rtems_rfs_file_system));                    
 203fee4:	92 10 20 00 	clr  %o1                                       
 203fee8:	94 10 20 84 	mov  0x84, %o2                                 
 203feec:	40 00 30 55 	call  204c040 <memset>                         
 203fef0:	90 07 bf 7c 	add  %fp, -132, %o0                            
 203fef4:	82 07 bf c4 	add  %fp, -60, %g1                             
 203fef8:	c2 27 bf c0 	st  %g1, [ %fp + -64 ]                         
  head->previous = NULL;                                              
  tail->previous = head;                                              
 203fefc:	82 07 bf c0 	add  %fp, -64, %g1                             
 203ff00:	c2 27 bf c8 	st  %g1, [ %fp + -56 ]                         
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 203ff04:	82 07 bf d4 	add  %fp, -44, %g1                             
 203ff08:	c2 27 bf d0 	st  %g1, [ %fp + -48 ]                         
  head->previous = NULL;                                              
  tail->previous = head;                                              
 203ff0c:	82 07 bf d0 	add  %fp, -48, %g1                             
 203ff10:	c2 27 bf d8 	st  %g1, [ %fp + -40 ]                         
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 203ff14:	82 07 bf e4 	add  %fp, -28, %g1                             
 203ff18:	c2 27 bf e0 	st  %g1, [ %fp + -32 ]                         
  head->previous = NULL;                                              
  tail->previous = head;                                              
 203ff1c:	82 07 bf e0 	add  %fp, -32, %g1                             
 203ff20:	c2 27 bf e8 	st  %g1, [ %fp + -24 ]                         
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 203ff24:	82 07 bf f4 	add  %fp, -12, %g1                             
 203ff28:	c2 27 bf f0 	st  %g1, [ %fp + -16 ]                         
  head->previous = NULL;                                              
  tail->previous = head;                                              
 203ff2c:	82 07 bf f0 	add  %fp, -16, %g1                             
 203ff30:	c2 27 bf f8 	st  %g1, [ %fp + -8 ]                          
  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;                
 203ff34:	82 10 20 05 	mov  5, %g1                                    
 203ff38:	c2 27 bf bc 	st  %g1, [ %fp + -68 ]                         
                                                                      
  fs.release_count = 0;                                               
  fs.release_modified_count = 0;                                      
                                                                      
  fs.flags = RTEMS_RFS_FS_NO_LOCAL_CACHE;                             
 203ff3c:	82 10 20 02 	mov  2, %g1                                    
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
 203ff40:	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;                             
 203ff44:	c2 27 bf 7c 	st  %g1, [ %fp + -132 ]                        
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
 203ff48:	7f ff f3 2e 	call  203cc00 <rtems_rfs_buffer_open>          
 203ff4c:	92 07 bf 7c 	add  %fp, -132, %o1                            
  if (rc > 0)                                                         
 203ff50:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203ff54:	14 80 02 bd 	bg  2040a48 <rtems_rfs_format+0xb78>           <== NEVER TAKEN
 203ff58:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1                        
  }                                                                   
                                                                      
  /*                                                                  
   * Check the media.                                                 
   */                                                                 
  if (rtems_rfs_fs_media_block_size (&fs) == 0)                       
 203ff5c:	f8 00 60 20 	ld  [ %g1 + 0x20 ], %i4                        
 203ff60:	80 a7 20 00 	cmp  %i4, 0                                    
 203ff64:	02 80 02 c2 	be  2040a6c <rtems_rfs_format+0xb9c>           <== NEVER TAKEN
 203ff68:	92 10 20 00 	clr  %o1                                       
                                                                      
static bool                                                           
rtems_rfs_check_config (rtems_rfs_file_system*         fs,            
                        const rtems_rfs_format_config* config)        
{                                                                     
  fs->block_size = config->block_size;                                
 203ff6c:	fa 06 40 00 	ld  [ %i1 ], %i5                               
  if (!fs->block_size)                                                
 203ff70:	80 a7 60 00 	cmp  %i5, 0                                    
 203ff74:	02 80 00 d1 	be  20402b8 <rtems_rfs_format+0x3e8>           
 203ff78:	fa 27 bf 84 	st  %i5, [ %fp + -124 ]                        
                                                                      
    if (fs->block_size > (4 * 1024))                                  
      fs->block_size = (4 * 1024);                                    
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
 203ff7c:	90 10 00 1d 	mov  %i5, %o0                                  
 203ff80:	40 00 87 f3 	call  2061f4c <.urem>                          
 203ff84:	92 10 00 1c 	mov  %i4, %o1                                  
 203ff88:	80 a2 20 00 	cmp  %o0, 0                                    
 203ff8c:	32 80 00 ef 	bne,a   2040348 <rtems_rfs_format+0x478>       <== NEVER TAKEN
 203ff90:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
    printf ("block size (%zd) is not a multiple of media block size (%" PRId32 ")\n",
            fs->block_size, rtems_rfs_fs_media_block_size (fs));      
    return false;                                                     
  }                                                                   
                                                                      
  fs->group_blocks = config->group_blocks;                            
 203ff94:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
  {                                                                   
    /*                                                                
     * 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);  
 203ff98:	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)                                              
 203ff9c:	80 a0 60 00 	cmp  %g1, 0                                    
 203ffa0:	12 80 00 50 	bne  20400e0 <rtems_rfs_format+0x210>          <== NEVER TAKEN
 203ffa4:	c2 27 bf a4 	st  %g1, [ %fp + -92 ]                         
  {                                                                   
    /*                                                                
     * 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);  
 203ffa8:	fa 27 bf a4 	st  %i5, [ %fp + -92 ]                         
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
    return false;                                                     
  }                                                                   
                                                                      
  fs->blocks = rtems_rfs_fs_media_size (fs) / fs->block_size;         
 203ffac:	7f ff fd 68 	call  203f54c <rtems_rfs_fs_media_size>        
 203ffb0:	90 07 bf 7c 	add  %fp, -132, %o0                            
 203ffb4:	fa 07 bf 84 	ld  [ %fp + -124 ], %i5                        
 203ffb8:	94 10 20 00 	clr  %o2                                       
 203ffbc:	40 00 8a d4 	call  2062b0c <__udivdi3>                      
 203ffc0:	96 10 00 1d 	mov  %i5, %o3                                  
 203ffc4:	d2 27 bf 80 	st  %o1, [ %fp + -128 ]                        
 203ffc8:	b8 10 00 09 	mov  %o1, %i4                                  
 * 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));  
 203ffcc:	b5 2f 60 03 	sll  %i5, 3, %i2                               
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
 203ffd0:	80 a2 60 00 	cmp  %o1, 0                                    
 203ffd4:	02 80 00 06 	be  203ffec <rtems_rfs_format+0x11c>           <== NEVER TAKEN
 203ffd8:	a0 10 20 01 	mov  1, %l0                                    
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 203ffdc:	90 02 7f ff 	add  %o1, -1, %o0                              
 203ffe0:	40 00 87 2f 	call  2061c9c <.udiv>                          
 203ffe4:	92 10 00 1a 	mov  %i2, %o1                                  
 203ffe8:	a0 02 20 01 	add  %o0, 1, %l0                               
   * per block.                                                       
   */                                                                 
  fs->group_count = rtems_rfs_rup_quotient (rtems_rfs_fs_blocks (fs), 
                                            rtems_rfs_bits_per_block (fs));
                                                                      
  fs->group_inodes = config->group_inodes;                            
 203ffec:	f6 06 60 08 	ld  [ %i1 + 8 ], %i3                           
  if (!fs->group_inodes)                                              
 203fff0:	80 a6 e0 00 	cmp  %i3, 0                                    
 203fff4:	02 80 01 38 	be  20404d4 <rtems_rfs_format+0x604>           <== ALWAYS TAKEN
 203fff8:	e0 27 bf a0 	st  %l0, [ %fp + -96 ]                         
 203fffc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2040000:	40 00 87 27 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2040004:	92 10 20 38 	mov  0x38, %o1                                 <== NOT EXECUTED
 2040008:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * 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;
 204000c:	d0 27 bf ac 	st  %o0, [ %fp + -84 ]                         <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 2040010:	90 06 ff ff 	add  %i3, -1, %o0                              <== NOT EXECUTED
 2040014:	40 00 87 22 	call  2061c9c <.udiv>                          
 2040018:	92 10 00 1c 	mov  %i4, %o1                                  
 204001c:	90 02 20 01 	inc  %o0                                       
   * 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;
  fs->group_inodes =                                                  
    rtems_rfs_rup_quotient (fs->group_inodes,                         
                            fs->inodes_per_block) * fs->inodes_per_block;
 2040020:	7f ff 0b d1 	call  2002f64 <.umul>                          
 2040024:	92 10 00 1c 	mov  %i4, %o1                                  
                                                                      
  if (fs->group_inodes > rtems_rfs_bitmap_numof_bits (fs->block_size))
 2040028:	80 a6 80 08 	cmp  %i2, %o0                                  
 204002c:	0a 80 01 25 	bcs  20404c0 <rtems_rfs_format+0x5f0>          <== NEVER TAKEN
 2040030:	c2 06 60 10 	ld  [ %i1 + 0x10 ], %g1                        
    fs->group_inodes = rtems_rfs_bitmap_numof_bits (fs->block_size);  
                                                                      
  fs->max_name_length = config->max_name_length;                      
  if (!fs->max_name_length)                                           
 2040034:	80 a0 60 00 	cmp  %g1, 0                                    
 2040038:	12 80 01 25 	bne  20404cc <rtems_rfs_format+0x5fc>          <== NEVER TAKEN
 204003c:	d0 27 bf a8 	st  %o0, [ %fp + -88 ]                         
  {                                                                   
    fs->max_name_length = 512;                                        
 2040040:	82 10 22 00 	mov  0x200, %g1                                
 2040044:	c2 27 bf 98 	st  %g1, [ %fp + -104 ]                        
   * Check the configuration data.                                    
   */                                                                 
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
                                                                      
  if (config->verbose)                                                
 2040048:	c2 0e 60 15 	ldub  [ %i1 + 0x15 ], %g1                      
 204004c:	80 a0 60 00 	cmp  %g1, 0                                    
 2040050:	12 80 00 c5 	bne  2040364 <rtems_rfs_format+0x494>          <== NEVER TAKEN
 2040054:	01 00 00 00 	nop                                            
    printf ("rtems-rfs: format: groups = %u\n", fs.group_count);      
    printf ("rtems-rfs: format: group blocks = %zu\n", fs.group_blocks);
    printf ("rtems-rfs: format: group inodes = %zu\n", fs.group_inodes);
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_setblksize (&fs, rtems_rfs_fs_block_size (&fs));
 2040058:	92 10 00 1d 	mov  %i5, %o1                                  
 204005c:	7f ff f3 9c 	call  203cecc <rtems_rfs_buffer_setblksize>    
 2040060:	90 07 bf 7c 	add  %fp, -132, %o0                            
  if (rc > 0)                                                         
 2040064:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040068:	14 80 02 33 	bg  2040934 <rtems_rfs_format+0xa64>           <== NEVER TAKEN
 204006c:	92 07 bf 30 	add  %fp, -208, %o1                            
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2040070:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           
  handle->bnum  = 0;                                                  
 2040074:	c0 27 bf 34 	clr  [ %fp + -204 ]                            
  handle->buffer = NULL;                                              
 2040078:	c0 27 bf 38 	clr  [ %fp + -200 ]                            
    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);       
 204007c:	90 07 bf 7c 	add  %fp, -132, %o0                            
 2040080:	94 10 20 00 	clr  %o2                                       
 2040084:	7f ff f2 27 	call  203c920 <rtems_rfs_buffer_handle_request>
 2040088:	96 10 20 00 	clr  %o3                                       
  if (rc > 0)                                                         
 204008c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040090:	04 80 00 20 	ble  2040110 <rtems_rfs_format+0x240>          <== ALWAYS TAKEN
 2040094:	92 07 bf 30 	add  %fp, -208, %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);                       
 2040098:	7f ff f1 a8 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 204009c:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
 20400a0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 20400a4:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 20400a8:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 20400ac:	40 00 3d af 	call  204f768 <strerror>                       <== NOT EXECUTED
 20400b0:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
 20400b4:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20400b8:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 20400bc:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 20400c0:	40 00 34 51 	call  204d204 <printf>                         <== NOT EXECUTED
 20400c4:	90 12 22 c0 	or  %o0, 0x2c0, %o0	! 206eec0 <__FUNCTION__.7829+0x1728><== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
 20400c8:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
    return -1;                                                        
 20400cc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
 20400d0:	40 00 34 e5 	call  204d464 <puts>                           <== NOT EXECUTED
 20400d4:	90 12 23 f0 	or  %o0, 0x3f0, %o0                            <== NOT EXECUTED
 20400d8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20400dc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
     * block.                                                         
     */                                                               
    fs->group_blocks = rtems_rfs_bitmap_numof_bits (fs->block_size);  
  }                                                                   
                                                                      
  if (fs->group_blocks > rtems_rfs_bitmap_numof_bits (fs->block_size))
 20400e0:	80 a0 40 1d 	cmp  %g1, %i5                                  <== NOT EXECUTED
 20400e4:	08 bf ff b2 	bleu  203ffac <rtems_rfs_format+0xdc>          <== NOT EXECUTED
 20400e8:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
  {                                                                   
    printf ("group block count is higher than bits in block\n");      
 20400ec:	40 00 34 de 	call  204d464 <puts>                           <== NOT EXECUTED
 20400f0:	90 12 20 78 	or  %o0, 0x78, %o0	! 206ec78 <__FUNCTION__.7829+0x14e0><== NOT EXECUTED
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
 20400f4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20400f8:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
  rtems_rfs_file_system fs;                                           
  int                   group;                                        
  int                   rc;                                           
                                                                      
  if (config->verbose)                                                
    printf ("rtems-rfs: format: %s\n", name);                         
 20400fc:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 2040100:	40 00 34 41 	call  204d204 <printf>                         <== NOT EXECUTED
 2040104:	90 12 23 c8 	or  %o0, 0x3c8, %o0	! 206ebc8 <__FUNCTION__.7829+0x1430><== NOT EXECUTED
                                                                      
  memset (&fs, 0, sizeof (rtems_rfs_file_system));                    
 2040108:	10 bf ff 78 	b  203fee8 <rtems_rfs_format+0x18>             <== NOT EXECUTED
 204010c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
 2040110:	c2 07 bf 38 	ld  [ %fp + -200 ], %g1                        
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
 2040114:	d4 07 bf 84 	ld  [ %fp + -124 ], %o2                        
    printf ("rtems-rfs: write-superblock: request failed: %d: %s\n",  
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
 2040118:	fa 00 60 1c 	ld  [ %g1 + 0x1c ], %i5                        
                                                                      
#define write_sb(_o, _d) rtems_rfs_write_u32(sb + (_o), _d)           
                                                                      
  memset (sb, 0xff, rtems_rfs_fs_block_size (fs));                    
 204011c:	92 10 20 ff 	mov  0xff, %o1                                 
 2040120:	40 00 2f c8 	call  204c040 <memset>                         
 2040124:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  write_sb (RTEMS_RFS_SB_OFFSET_MAGIC, RTEMS_RFS_SB_MAGIC);           
 2040128:	82 10 20 28 	mov  0x28, %g1                                 
 204012c:	c2 2f 40 00 	stb  %g1, [ %i5 ]                              
 2040130:	82 10 20 09 	mov  9, %g1                                    
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
 2040134:	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);           
 2040138:	c2 2f 60 01 	stb  %g1, [ %i5 + 1 ]                          
  write_sb (RTEMS_RFS_SB_OFFSET_VERSION, RTEMS_RFS_VERSION);          
 204013c:	c0 2f 60 05 	clrb  [ %i5 + 5 ]                              
 2040140:	c0 2f 60 06 	clrb  [ %i5 + 6 ]                              
 2040144:	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);           
 2040148:	84 10 20 01 	mov  1, %g2                                    
 204014c:	82 10 20 20 	mov  0x20, %g1                                 
 2040150:	c4 2f 60 03 	stb  %g2, [ %i5 + 3 ]                          
 2040154:	c2 2f 60 02 	stb  %g1, [ %i5 + 2 ]                          
  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));
 2040158:	c6 0f bf 84 	ldub  [ %fp + -124 ], %g3                      
                                                                      
  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));    
 204015c:	c2 07 bf 80 	ld  [ %fp + -128 ], %g1                        
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
 2040160:	c6 2f 60 08 	stb  %g3, [ %i5 + 8 ]                          
 2040164:	c6 17 bf 84 	lduh  [ %fp + -124 ], %g3                      
                                                                      
  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));    
 2040168:	c2 2f 60 0f 	stb  %g1, [ %i5 + 0xf ]                        
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
 204016c:	c6 2f 60 09 	stb  %g3, [ %i5 + 9 ]                          
 2040170:	c8 07 bf 84 	ld  [ %fp + -124 ], %g4                        
                                                                      
  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));    
 2040174:	87 30 60 18 	srl  %g1, 0x18, %g3                            
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
 2040178:	89 31 20 08 	srl  %g4, 8, %g4                               
                                                                      
  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));    
 204017c:	c6 2f 60 0c 	stb  %g3, [ %i5 + 0xc ]                        
  write_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE, rtems_rfs_fs_block_size (fs));
 2040180:	c8 2f 60 0a 	stb  %g4, [ %i5 + 0xa ]                        
 2040184:	c6 07 bf 84 	ld  [ %fp + -124 ], %g3                        
  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);                 
 2040188:	90 07 bf 7c 	add  %fp, -132, %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));
 204018c:	c6 2f 60 0b 	stb  %g3, [ %i5 + 0xb ]                        
                                                                      
  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));    
 2040190:	87 30 60 10 	srl  %g1, 0x10, %g3                            
 2040194:	83 30 60 08 	srl  %g1, 8, %g1                               
 2040198:	c6 2f 60 0d 	stb  %g3, [ %i5 + 0xd ]                        
 204019c:	c2 2f 60 0e 	stb  %g1, [ %i5 + 0xe ]                        
  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);          
 20401a0:	c2 0f bf 94 	ldub  [ %fp + -108 ], %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);                 
 20401a4:	92 07 bf 30 	add  %fp, -208, %o1                            
                                                                      
  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));
  write_sb (RTEMS_RFS_SB_OFFSET_BAD_BLOCKS, fs->bad_blocks);          
 20401a8:	c2 2f 60 10 	stb  %g1, [ %i5 + 0x10 ]                       
 20401ac:	c2 17 bf 94 	lduh  [ %fp + -108 ], %g1                      
 20401b0:	c2 2f 60 11 	stb  %g1, [ %i5 + 0x11 ]                       
 20401b4:	c2 07 bf 94 	ld  [ %fp + -108 ], %g1                        
 20401b8:	83 30 60 08 	srl  %g1, 8, %g1                               
 20401bc:	c2 2f 60 12 	stb  %g1, [ %i5 + 0x12 ]                       
 20401c0:	c2 07 bf 94 	ld  [ %fp + -108 ], %g1                        
 20401c4:	c2 2f 60 13 	stb  %g1, [ %i5 + 0x13 ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH, fs->max_name_length);
 20401c8:	c2 0f bf 98 	ldub  [ %fp + -104 ], %g1                      
 20401cc:	c2 2f 60 14 	stb  %g1, [ %i5 + 0x14 ]                       
 20401d0:	c2 17 bf 98 	lduh  [ %fp + -104 ], %g1                      
 20401d4:	c2 2f 60 15 	stb  %g1, [ %i5 + 0x15 ]                       
 20401d8:	c2 07 bf 98 	ld  [ %fp + -104 ], %g1                        
 20401dc:	83 30 60 08 	srl  %g1, 8, %g1                               
 20401e0:	c2 2f 60 16 	stb  %g1, [ %i5 + 0x16 ]                       
 20401e4:	c2 07 bf 98 	ld  [ %fp + -104 ], %g1                        
 20401e8:	c2 2f 60 17 	stb  %g1, [ %i5 + 0x17 ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_GROUPS, fs->group_count);             
 20401ec:	c2 0f bf a0 	ldub  [ %fp + -96 ], %g1                       
 20401f0:	c2 2f 60 18 	stb  %g1, [ %i5 + 0x18 ]                       
 20401f4:	c2 17 bf a0 	lduh  [ %fp + -96 ], %g1                       
 20401f8:	c2 2f 60 19 	stb  %g1, [ %i5 + 0x19 ]                       
 20401fc:	c2 07 bf a0 	ld  [ %fp + -96 ], %g1                         
 2040200:	83 30 60 08 	srl  %g1, 8, %g1                               
 2040204:	c2 2f 60 1a 	stb  %g1, [ %i5 + 0x1a ]                       
 2040208:	c2 07 bf a0 	ld  [ %fp + -96 ], %g1                         
 204020c:	c2 2f 60 1b 	stb  %g1, [ %i5 + 0x1b ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS, fs->group_blocks);      
 2040210:	c2 0f bf a4 	ldub  [ %fp + -92 ], %g1                       
 2040214:	c2 2f 60 1c 	stb  %g1, [ %i5 + 0x1c ]                       
 2040218:	c2 17 bf a4 	lduh  [ %fp + -92 ], %g1                       
 204021c:	c2 2f 60 1d 	stb  %g1, [ %i5 + 0x1d ]                       
 2040220:	c2 07 bf a4 	ld  [ %fp + -92 ], %g1                         
 2040224:	83 30 60 08 	srl  %g1, 8, %g1                               
 2040228:	c2 2f 60 1e 	stb  %g1, [ %i5 + 0x1e ]                       
 204022c:	c2 07 bf a4 	ld  [ %fp + -92 ], %g1                         
 2040230:	c2 2f 60 1f 	stb  %g1, [ %i5 + 0x1f ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES, fs->group_inodes);      
 2040234:	c2 0f bf a8 	ldub  [ %fp + -88 ], %g1                       
 2040238:	c2 2f 60 20 	stb  %g1, [ %i5 + 0x20 ]                       
 204023c:	c2 17 bf a8 	lduh  [ %fp + -88 ], %g1                       
 2040240:	c2 2f 60 21 	stb  %g1, [ %i5 + 0x21 ]                       
 2040244:	c2 07 bf a8 	ld  [ %fp + -88 ], %g1                         
 2040248:	83 30 60 08 	srl  %g1, 8, %g1                               
 204024c:	c2 2f 60 22 	stb  %g1, [ %i5 + 0x22 ]                       
 2040250:	c2 07 bf a8 	ld  [ %fp + -88 ], %g1                         
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
 2040254:	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);      
 2040258:	c2 2f 60 23 	stb  %g1, [ %i5 + 0x23 ]                       
  write_sb (RTEMS_RFS_SB_OFFSET_INODE_SIZE, RTEMS_RFS_INODE_SIZE);    
 204025c:	c0 2f 60 25 	clrb  [ %i5 + 0x25 ]                           
 2040260:	c0 2f 60 26 	clrb  [ %i5 + 0x26 ]                           
 2040264:	82 10 20 38 	mov  0x38, %g1                                 
 2040268:	c2 2f 60 27 	stb  %g1, [ %i5 + 0x27 ]                       
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  rc = rtems_rfs_buffer_handle_release (fs, &handle);                 
 204026c:	7f ff f1 33 	call  203c738 <rtems_rfs_buffer_handle_release>
 2040270:	c4 2f bf 30 	stb  %g2, [ %fp + -208 ]                       
  if (rc > 0)                                                         
 2040274:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040278:	04 80 00 e3 	ble  2040604 <rtems_rfs_format+0x734>          <== ALWAYS TAKEN
 204027c:	92 07 bf 30 	add  %fp, -208, %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);                       
 2040280:	7f ff f1 2e 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2040284:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("rtems-rfs: write-superblock: buffer release failed: %d: %s\n",
 2040288:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 204028c:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2040290:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 2040294:	40 00 3d 35 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040298:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
 204029c:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20402a0:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 20402a4:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 20402a8:	40 00 33 d7 	call  204d204 <printf>                         <== NOT EXECUTED
 20402ac:	90 12 22 f8 	or  %o0, 0x2f8, %o0	! 206eef8 <__FUNCTION__.7829+0x1760><== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
 20402b0:	10 bf ff 87 	b  20400cc <rtems_rfs_format+0x1fc>            <== NOT EXECUTED
 20402b4:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
                        const rtems_rfs_format_config* config)        
{                                                                     
  fs->block_size = config->block_size;                                
  if (!fs->block_size)                                                
  {                                                                   
    uint64_t total_size = rtems_rfs_fs_media_size (fs);               
 20402b8:	7f ff fc a5 	call  203f54c <rtems_rfs_fs_media_size>        
 20402bc:	90 07 bf 7c 	add  %fp, -132, %o0                            
                                                                      
    if (total_size >= GIGS (1))                                       
 20402c0:	80 a2 20 00 	cmp  %o0, 0                                    
 20402c4:	22 80 00 9f 	be,a   2040540 <rtems_rfs_format+0x670>        <== ALWAYS TAKEN
 20402c8:	03 00 03 ff 	sethi  %hi(0xffc00), %g1                       
    {                                                                 
      uint32_t gigs = (total_size + GIGS (1)) / GIGS (1);             
 20402cc:	3b 00 04 00 	sethi  %hi(0x100000), %i5                      <== NOT EXECUTED
 20402d0:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
 20402d4:	86 82 40 1d 	addcc  %o1, %i5, %g3                           <== NOT EXECUTED
 20402d8:	84 42 00 1c 	addx  %o0, %i4, %g2                            <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
 20402dc:	82 10 20 1f 	mov  0x1f, %g1                                 <== 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);             
 20402e0:	bb 28 a0 0c 	sll  %g2, 0xc, %i5                             <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
        if ((gigs & (1 << b)) != 0)                                   
 20402e4:	88 10 20 01 	mov  1, %g4                                    <== 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);             
 20402e8:	85 30 e0 14 	srl  %g3, 0x14, %g2                            <== NOT EXECUTED
 20402ec:	10 80 00 04 	b  20402fc <rtems_rfs_format+0x42c>            <== NOT EXECUTED
 20402f0:	84 17 40 02 	or  %i5, %g2, %g2                              <== NOT EXECUTED
      int      b;                                                     
      for (b = 31; b > 0; b--)                                        
 20402f4:	02 80 00 06 	be  204030c <rtems_rfs_format+0x43c>           <== NOT EXECUTED
 20402f8:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
        if ((gigs & (1 << b)) != 0)                                   
 20402fc:	bb 29 00 01 	sll  %g4, %g1, %i5                             <== NOT EXECUTED
 2040300:	80 8f 40 02 	btst  %i5, %g2                                 <== NOT EXECUTED
 2040304:	02 bf ff fc 	be  20402f4 <rtems_rfs_format+0x424>           <== NOT EXECUTED
 2040308:	82 80 7f ff 	addcc  %g1, -1, %g1                            <== NOT EXECUTED
          break;                                                      
      fs->block_size = 1 << b;                                        
    }                                                                 
                                                                      
    if (fs->block_size < 512)                                         
 204030c:	80 a7 61 ff 	cmp  %i5, 0x1ff                                <== NOT EXECUTED
 2040310:	18 80 00 94 	bgu  2040560 <rtems_rfs_format+0x690>          <== NOT EXECUTED
 2040314:	fa 27 bf 84 	st  %i5, [ %fp + -124 ]                        <== NOT EXECUTED
 2040318:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1                        <== NOT EXECUTED
      fs->block_size = 512;                                           
 204031c:	ba 10 22 00 	mov  0x200, %i5                                
 2040320:	f8 00 60 20 	ld  [ %g1 + 0x20 ], %i4                        
 2040324:	82 10 22 00 	mov  0x200, %g1                                
                                                                      
    if (fs->block_size > (4 * 1024))                                  
      fs->block_size = (4 * 1024);                                    
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
 2040328:	90 10 00 1d 	mov  %i5, %o0                                  
          break;                                                      
      fs->block_size = 1 << b;                                        
    }                                                                 
                                                                      
    if (fs->block_size < 512)                                         
      fs->block_size = 512;                                           
 204032c:	c2 27 bf 84 	st  %g1, [ %fp + -124 ]                        
                                                                      
    if (fs->block_size > (4 * 1024))                                  
      fs->block_size = (4 * 1024);                                    
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
 2040330:	40 00 87 07 	call  2061f4c <.urem>                          
 2040334:	92 10 00 1c 	mov  %i4, %o1                                  
 2040338:	80 a2 20 00 	cmp  %o0, 0                                    
 204033c:	22 bf ff 17 	be,a   203ff98 <rtems_rfs_format+0xc8>         <== ALWAYS TAKEN
 2040340:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
  {                                                                   
    printf ("block size (%zd) is not a multiple of media block size (%" PRId32 ")\n",
 2040344:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040348:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 204034c:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
 2040350:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
      fs->block_size = (4 * 1024);                                    
  }                                                                   
                                                                      
  if ((fs->block_size % rtems_rfs_fs_media_block_size (fs)) != 0)     
  {                                                                   
    printf ("block size (%zd) is not a multiple of media block size (%" PRId32 ")\n",
 2040354:	40 00 33 ac 	call  204d204 <printf>                         <== NOT EXECUTED
 2040358:	90 12 20 38 	or  %o0, 0x38, %o0                             <== NOT EXECUTED
 204035c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040360:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  if (!rtems_rfs_check_config (&fs, config))                          
    return -1;                                                        
                                                                      
  if (config->verbose)                                                
  {                                                                   
    printf ("rtems-rfs: format: media size = %" PRIu64 "\n",          
 2040364:	7f ff fc 7a 	call  203f54c <rtems_rfs_fs_media_size>        <== NOT EXECUTED
 2040368:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
 204036c:	94 10 00 09 	mov  %o1, %o2                                  <== NOT EXECUTED
 2040370:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2040374:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 2040378:	40 00 33 a3 	call  204d204 <printf>                         <== NOT EXECUTED
 204037c:	90 12 20 a8 	or  %o0, 0xa8, %o0	! 206eca8 <__FUNCTION__.7829+0x1510><== NOT EXECUTED
            rtems_rfs_fs_media_size (&fs));                           
    printf ("rtems-rfs: format: media blocks = %" PRIu32 "\n",        
            rtems_rfs_fs_media_blocks (&fs));                         
 2040380:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1                        <== NOT EXECUTED
                                                                      
  if (config->verbose)                                                
  {                                                                   
    printf ("rtems-rfs: format: media size = %" PRIu64 "\n",          
            rtems_rfs_fs_media_size (&fs));                           
    printf ("rtems-rfs: format: media blocks = %" PRIu32 "\n",        
 2040384:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 2040388:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        <== NOT EXECUTED
 204038c:	40 00 33 9e 	call  204d204 <printf>                         <== NOT EXECUTED
 2040390:	90 12 20 d0 	or  %o0, 0xd0, %o0                             <== NOT EXECUTED
            rtems_rfs_fs_media_blocks (&fs));                         
    printf ("rtems-rfs: format: media block size = %" PRIu32 "\n",    
            rtems_rfs_fs_media_block_size (&fs));                     
 2040394:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1                        <== NOT EXECUTED
  {                                                                   
    printf ("rtems-rfs: format: media size = %" PRIu64 "\n",          
            rtems_rfs_fs_media_size (&fs));                           
    printf ("rtems-rfs: format: media blocks = %" PRIu32 "\n",        
            rtems_rfs_fs_media_blocks (&fs));                         
    printf ("rtems-rfs: format: media block size = %" PRIu32 "\n",    
 2040398:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 204039c:	d2 00 60 20 	ld  [ %g1 + 0x20 ], %o1                        <== NOT EXECUTED
 20403a0:	40 00 33 99 	call  204d204 <printf>                         <== NOT EXECUTED
 20403a4:	90 12 20 f8 	or  %o0, 0xf8, %o0                             <== NOT EXECUTED
            rtems_rfs_fs_media_block_size (&fs));                     
    printf ("rtems-rfs: format: size = %" PRIu64 "\n",                
 20403a8:	7f ff fc 60 	call  203f528 <rtems_rfs_fs_size>              <== NOT EXECUTED
 20403ac:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
 20403b0:	94 10 00 09 	mov  %o1, %o2                                  <== NOT EXECUTED
 20403b4:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20403b8:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 20403bc:	40 00 33 92 	call  204d204 <printf>                         <== NOT EXECUTED
 20403c0:	90 12 21 28 	or  %o0, 0x128, %o0	! 206ed28 <__FUNCTION__.7829+0x1590><== NOT EXECUTED
            rtems_rfs_fs_size (&fs));                                 
    printf ("rtems-rfs: format: blocks = %zu\n",                      
 20403c4:	d2 07 bf 80 	ld  [ %fp + -128 ], %o1                        <== NOT EXECUTED
 20403c8:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 20403cc:	40 00 33 8e 	call  204d204 <printf>                         <== NOT EXECUTED
 20403d0:	90 12 21 48 	or  %o0, 0x148, %o0	! 206ed48 <__FUNCTION__.7829+0x15b0><== NOT EXECUTED
            rtems_rfs_fs_blocks (&fs));                               
    printf ("rtems-rfs: format: block size = %zu\n",                  
 20403d4:	d2 07 bf 84 	ld  [ %fp + -124 ], %o1                        <== NOT EXECUTED
 20403d8:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 20403dc:	40 00 33 8a 	call  204d204 <printf>                         <== NOT EXECUTED
 20403e0:	90 12 21 70 	or  %o0, 0x170, %o0	! 206ed70 <__FUNCTION__.7829+0x15d8><== 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));  
 20403e4:	d2 07 bf 84 	ld  [ %fp + -124 ], %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",               
 20403e8:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 20403ec:	93 2a 60 03 	sll  %o1, 3, %o1                               <== NOT EXECUTED
 20403f0:	40 00 33 85 	call  204d204 <printf>                         <== NOT EXECUTED
 20403f4:	90 12 21 98 	or  %o0, 0x198, %o0                            <== NOT EXECUTED
            rtems_rfs_bits_per_block (&fs));                          
    printf ("rtems-rfs: format: inode size = %zu\n", RTEMS_RFS_INODE_SIZE);
 20403f8:	92 10 20 38 	mov  0x38, %o1                                 <== NOT EXECUTED
 20403fc:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 2040400:	40 00 33 81 	call  204d204 <printf>                         <== NOT EXECUTED
 2040404:	90 12 21 c0 	or  %o0, 0x1c0, %o0	! 206edc0 <__FUNCTION__.7829+0x1628><== NOT EXECUTED
    printf ("rtems-rfs: format: inodes = %zu (%d.%d%%)\n",            
 2040408:	d2 07 bf a0 	ld  [ %fp + -96 ], %o1                         <== NOT EXECUTED
            fs.group_inodes * fs.group_count,                         
 204040c:	fa 07 bf a8 	ld  [ %fp + -88 ], %i5                         <== 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",            
 2040410:	7f ff 0a d5 	call  2002f64 <.umul>                          <== NOT EXECUTED
 2040414:	90 10 00 1d 	mov  %i5, %o0                                  <== 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,
 2040418:	83 2f 60 03 	sll  %i5, 3, %g1                               <== 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",            
 204041c:	b6 10 00 08 	mov  %o0, %i3                                  <== 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,
 2040420:	bb 2f 60 06 	sll  %i5, 6, %i5                               <== NOT EXECUTED
                                  rtems_rfs_fs_block_size (fs));      
 2040424:	f8 07 bf 84 	ld  [ %fp + -124 ], %i4                        <== NOT EXECUTED
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
 2040428:	ba a7 40 01 	subcc  %i5, %g1, %i5                           <== NOT EXECUTED
 204042c:	12 80 00 55 	bne  2040580 <rtems_rfs_format+0x6b0>          <== NOT EXECUTED
 2040430:	90 10 27 d0 	mov  0x7d0, %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))
 2040434:	c2 07 bf 80 	ld  [ %fp + -128 ], %g1                        <== 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));  
 2040438:	b9 2f 20 03 	sll  %i4, 3, %i4                               <== 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))
 204043c:	92 00 7f ff 	add  %g1, -1, %o1                              <== NOT EXECUTED
 2040440:	80 a7 00 09 	cmp  %i4, %o1                                  <== NOT EXECUTED
 2040444:	28 80 00 02 	bleu,a   204044c <rtems_rfs_format+0x57c>      <== NOT EXECUTED
 2040448:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
    bits_per_block = rtems_rfs_fs_blocks (fs) - RTEMS_RFS_SUPERBLOCK_SIZE;
  return ((blocks + 1) * 100 * 10) / bits_per_block;                  
 204044c:	40 00 86 16 	call  2061ca4 <.div>                           <== NOT EXECUTED
 2040450:	01 00 00 00 	nop                                            <== 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",            
 2040454:	92 10 20 0a 	mov  0xa, %o1	! a <PROM_START+0xa>             <== NOT EXECUTED
 2040458:	40 00 86 13 	call  2061ca4 <.div>                           <== NOT EXECUTED
 204045c:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
 2040460:	92 10 20 0a 	mov  0xa, %o1                                  <== NOT EXECUTED
 2040464:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
 2040468:	40 00 86 bb 	call  2061f54 <.rem>                           <== NOT EXECUTED
 204046c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2040470:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2040474:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2040478:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 204047c:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 2040480:	40 00 33 61 	call  204d204 <printf>                         <== NOT EXECUTED
 2040484:	90 12 21 e8 	or  %o0, 0x1e8, %o0	! 206ede8 <__FUNCTION__.7829+0x1650><== 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);      
 2040488:	d2 07 bf a0 	ld  [ %fp + -96 ], %o1                         <== NOT EXECUTED
 204048c:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 2040490:	40 00 33 5d 	call  204d204 <printf>                         <== NOT EXECUTED
 2040494:	90 12 22 18 	or  %o0, 0x218, %o0	! 206ee18 <__FUNCTION__.7829+0x1680><== NOT EXECUTED
    printf ("rtems-rfs: format: group blocks = %zu\n", fs.group_blocks);
 2040498:	d2 07 bf a4 	ld  [ %fp + -92 ], %o1                         <== NOT EXECUTED
 204049c:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 20404a0:	40 00 33 59 	call  204d204 <printf>                         <== NOT EXECUTED
 20404a4:	90 12 22 38 	or  %o0, 0x238, %o0	! 206ee38 <__FUNCTION__.7829+0x16a0><== NOT EXECUTED
    printf ("rtems-rfs: format: group inodes = %zu\n", fs.group_inodes);
 20404a8:	d2 07 bf a8 	ld  [ %fp + -88 ], %o1                         <== NOT EXECUTED
 20404ac:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 20404b0:	40 00 33 55 	call  204d204 <printf>                         <== NOT EXECUTED
 20404b4:	90 12 22 60 	or  %o0, 0x260, %o0	! 206ee60 <__FUNCTION__.7829+0x16c8><== NOT EXECUTED
 20404b8:	10 bf fe e8 	b  2040058 <rtems_rfs_format+0x188>            <== NOT EXECUTED
 20404bc:	fa 07 bf 84 	ld  [ %fp + -124 ], %i5                        <== NOT EXECUTED
                                                                      
  if (fs->group_inodes > rtems_rfs_bitmap_numof_bits (fs->block_size))
    fs->group_inodes = rtems_rfs_bitmap_numof_bits (fs->block_size);  
                                                                      
  fs->max_name_length = config->max_name_length;                      
  if (!fs->max_name_length)                                           
 20404c0:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20404c4:	02 bf fe df 	be  2040040 <rtems_rfs_format+0x170>           <== NOT EXECUTED
 20404c8:	f4 27 bf a8 	st  %i2, [ %fp + -88 ]                         <== NOT EXECUTED
                            fs->inodes_per_block) * fs->inodes_per_block;
                                                                      
  if (fs->group_inodes > rtems_rfs_bitmap_numof_bits (fs->block_size))
    fs->group_inodes = rtems_rfs_bitmap_numof_bits (fs->block_size);  
                                                                      
  fs->max_name_length = config->max_name_length;                      
 20404cc:	10 bf fe df 	b  2040048 <rtems_rfs_format+0x178>            <== NOT EXECUTED
 20404d0:	c2 27 bf 98 	st  %g1, [ %fp + -104 ]                        <== NOT EXECUTED
    int inode_overhead = RTEMS_RFS_INODE_OVERHEAD_PERCENTAGE;         
                                                                      
    /*                                                                
     * The number of inodes per group is set as a percentage.         
     */                                                               
    if (config->inode_overhead)                                       
 20404d4:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 20404d8:	80 a0 60 00 	cmp  %g1, 0                                    
 20404dc:	02 80 00 03 	be  20404e8 <rtems_rfs_format+0x618>           <== ALWAYS TAKEN
 20404e0:	90 10 20 01 	mov  1, %o0                                    
 20404e4:	90 10 00 01 	mov  %g1, %o0                                  <== NOT EXECUTED
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;          
 20404e8:	7f ff 0a 9f 	call  2002f64 <.umul>                          
 20404ec:	92 07 3f ff 	add  %i4, -1, %o1                              
 20404f0:	92 10 20 64 	mov  0x64, %o1                                 
 20404f4:	40 00 85 ea 	call  2061c9c <.udiv>                          
 20404f8:	b6 10 20 01 	mov  1, %i3                                    
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
 20404fc:	80 a2 20 00 	cmp  %o0, 0                                    
 2040500:	32 80 00 30 	bne,a   20405c0 <rtems_rfs_format+0x6f0>       
 2040504:	92 10 00 10 	mov  %l0, %o1                                  
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
  blocks = rtems_rfs_rup_quotient (blocks, fs->group_count);          
  return blocks * (rtems_rfs_fs_block_size (fs) / RTEMS_RFS_INODE_SIZE);
 2040508:	92 10 20 38 	mov  0x38, %o1                                 
 204050c:	40 00 85 e4 	call  2061c9c <.udiv>                          
 2040510:	90 10 00 1d 	mov  %i5, %o0                                  
 2040514:	b8 10 00 08 	mov  %o0, %i4                                  
 2040518:	90 10 00 1b 	mov  %i3, %o0                                  
 204051c:	7f ff 0a 92 	call  2002f64 <.umul>                          
 2040520:	92 10 00 1c 	mov  %i4, %o1                                  
  }                                                                   
                                                                      
  /*                                                                  
   * 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;
 2040524:	f8 27 bf ac 	st  %i4, [ %fp + -84 ]                         
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
  blocks = rtems_rfs_rup_quotient (blocks, fs->group_count);          
  return blocks * (rtems_rfs_fs_block_size (fs) / RTEMS_RFS_INODE_SIZE);
 2040528:	b6 10 00 08 	mov  %o0, %i3                                  
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
 204052c:	80 a6 e0 00 	cmp  %i3, 0                                    
 2040530:	02 bf fe bc 	be  2040020 <rtems_rfs_format+0x150>           <== NEVER TAKEN
 2040534:	90 10 20 01 	mov  1, %o0                                    
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 2040538:	10 bf fe b7 	b  2040014 <rtems_rfs_format+0x144>            
 204053c:	90 06 ff ff 	add  %i3, -1, %o0                              
  fs->block_size = config->block_size;                                
  if (!fs->block_size)                                                
  {                                                                   
    uint64_t total_size = rtems_rfs_fs_media_size (fs);               
                                                                      
    if (total_size >= GIGS (1))                                       
 2040540:	82 10 63 ff 	or  %g1, 0x3ff, %g1                            
 2040544:	80 a2 40 01 	cmp  %o1, %g1                                  
 2040548:	18 bf ff 62 	bgu  20402d0 <rtems_rfs_format+0x400>          <== NEVER TAKEN
 204054c:	3b 00 04 00 	sethi  %hi(0x100000), %i5                      
 2040550:	fa 07 bf 84 	ld  [ %fp + -124 ], %i5                        
        if ((gigs & (1 << b)) != 0)                                   
          break;                                                      
      fs->block_size = 1 << b;                                        
    }                                                                 
                                                                      
    if (fs->block_size < 512)                                         
 2040554:	80 a7 61 ff 	cmp  %i5, 0x1ff                                
 2040558:	08 bf ff 71 	bleu  204031c <rtems_rfs_format+0x44c>         <== ALWAYS TAKEN
 204055c:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1                        
      fs->block_size = 512;                                           
                                                                      
    if (fs->block_size > (4 * 1024))                                  
 2040560:	03 00 00 04 	sethi  %hi(0x1000), %g1                        <== NOT EXECUTED
 2040564:	80 a7 40 01 	cmp  %i5, %g1                                  <== NOT EXECUTED
 2040568:	08 80 02 06 	bleu  2040d80 <rtems_rfs_format+0xeb0>         <== NOT EXECUTED
 204056c:	c4 07 bf 8c 	ld  [ %fp + -116 ], %g2                        <== NOT EXECUTED
      fs->block_size = (4 * 1024);                                    
 2040570:	c2 27 bf 84 	st  %g1, [ %fp + -124 ]                        <== NOT EXECUTED
 2040574:	f8 00 a0 20 	ld  [ %g2 + 0x20 ], %i4                        <== NOT EXECUTED
 2040578:	10 bf fe 81 	b  203ff7c <rtems_rfs_format+0xac>             <== NOT EXECUTED
 204057c:	ba 10 00 01 	mov  %g1, %i5                                  <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 2040580:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2040584:	40 00 85 c6 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2040588:	90 07 7f ff 	add  %i5, -1, %o0                              <== NOT EXECUTED
 204058c:	90 02 20 02 	add  %o0, 2, %o0                               <== NOT EXECUTED
 2040590:	83 2a 20 02 	sll  %o0, 2, %g1                               <== NOT EXECUTED
 2040594:	85 2a 20 07 	sll  %o0, 7, %g2                               <== NOT EXECUTED
 2040598:	84 20 80 01 	sub  %g2, %g1, %g2                             <== 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))
 204059c:	c2 07 bf 80 	ld  [ %fp + -128 ], %g1                        <== NOT EXECUTED
 20405a0:	84 00 80 08 	add  %g2, %o0, %g2                             <== 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));  
 20405a4:	b9 2f 20 03 	sll  %i4, 3, %i4                               <== 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))
 20405a8:	92 00 7f ff 	add  %g1, -1, %o1                              <== NOT EXECUTED
 20405ac:	80 a7 00 09 	cmp  %i4, %o1                                  <== NOT EXECUTED
 20405b0:	18 bf ff a7 	bgu  204044c <rtems_rfs_format+0x57c>          <== NOT EXECUTED
 20405b4:	91 28 a0 03 	sll  %g2, 3, %o0                               <== 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));  
 20405b8:	10 bf ff a5 	b  204044c <rtems_rfs_format+0x57c>            <== NOT EXECUTED
 20405bc:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 20405c0:	40 00 85 b7 	call  2061c9c <.udiv>                          
 20405c4:	90 02 3f ff 	add  %o0, -1, %o0                              
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
  blocks = rtems_rfs_rup_quotient (blocks, fs->group_count);          
  return blocks * (rtems_rfs_fs_block_size (fs) / RTEMS_RFS_INODE_SIZE);
 20405c8:	92 10 20 38 	mov  0x38, %o1                                 
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 20405cc:	b6 02 20 01 	add  %o0, 1, %i3                               
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
  blocks = rtems_rfs_rup_quotient (blocks, fs->group_count);          
  return blocks * (rtems_rfs_fs_block_size (fs) / RTEMS_RFS_INODE_SIZE);
 20405d0:	40 00 85 b3 	call  2061c9c <.udiv>                          
 20405d4:	90 10 00 1d 	mov  %i5, %o0                                  
 20405d8:	b8 10 00 08 	mov  %o0, %i4                                  
 20405dc:	90 10 00 1b 	mov  %i3, %o0                                  
 20405e0:	7f ff 0a 61 	call  2002f64 <.umul>                          
 20405e4:	92 10 00 1c 	mov  %i4, %o1                                  
  }                                                                   
                                                                      
  /*                                                                  
   * 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;
 20405e8:	f8 27 bf ac 	st  %i4, [ %fp + -84 ]                         
{                                                                     
  int blocks;                                                         
  blocks = ((rtems_rfs_fs_blocks (fs) -                               
             RTEMS_RFS_SUPERBLOCK_SIZE) * percentage) / 100;          
  blocks = rtems_rfs_rup_quotient (blocks, fs->group_count);          
  return blocks * (rtems_rfs_fs_block_size (fs) / RTEMS_RFS_INODE_SIZE);
 20405ec:	b6 10 00 08 	mov  %o0, %i3                                  
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
 20405f0:	80 a6 e0 00 	cmp  %i3, 0                                    
 20405f4:	02 bf fe 8b 	be  2040020 <rtems_rfs_format+0x150>           <== NEVER TAKEN
 20405f8:	90 10 20 01 	mov  1, %o0                                    
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 20405fc:	10 bf fe 86 	b  2040014 <rtems_rfs_format+0x144>            
 2040600:	90 06 ff ff 	add  %i3, -1, %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);                       
 2040604:	90 07 bf 7c 	add  %fp, -132, %o0                            
 2040608:	7f ff f0 4c 	call  203c738 <rtems_rfs_buffer_handle_release>
 204060c:	92 07 bf 30 	add  %fp, -208, %o1                            
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
 2040610:	c2 07 bf a0 	ld  [ %fp + -96 ], %g1                         
 2040614:	80 a0 60 00 	cmp  %g1, 0                                    
 2040618:	04 80 01 36 	ble  2040af0 <rtems_rfs_format+0xc20>          <== NEVER TAKEN
 204061c:	c2 07 bf 80 	ld  [ %fp + -128 ], %g1                        
    if (!rtems_rfs_write_group (&fs, group,                           
 2040620:	e2 0e 60 14 	ldub  [ %i1 + 0x14 ], %l1                      
 2040624:	c4 0e 60 15 	ldub  [ %i1 + 0x15 ], %g2                      
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
 2040628:	80 a0 60 00 	cmp  %g1, 0                                    
 204062c:	02 80 01 2f 	be  2040ae8 <rtems_rfs_format+0xc18>           <== NEVER TAKEN
 2040630:	f8 07 bf a4 	ld  [ %fp + -92 ], %i4                         
   */                                                                 
  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",
 2040634:	27 00 81 bb 	sethi  %hi(0x206ec00), %l3                     
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
 2040638:	25 00 81 bb 	sethi  %hi(0x206ec00), %l2                     
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
 204063c:	2b 00 81 bc 	sethi  %hi(0x206f000), %l5                     
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
 2040640:	b6 10 20 01 	mov  1, %i3                                    
 2040644:	a0 10 20 00 	clr  %l0                                       
 2040648:	b4 10 20 00 	clr  %i2                                       
   */                                                                 
  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",
 204064c:	a6 14 e3 78 	or  %l3, 0x378, %l3                            
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
 2040650:	a4 14 a3 b0 	or  %l2, 0x3b0, %l2                            
    printf ("\nrtems-rfs: write-group: group %3d: close block bitmap failed: %d: %s\n",
            group, rc, strerror (rc));                                
    return false;                                                     
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
 2040654:	a8 10 20 01 	mov  1, %l4                                    
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
 2040658:	aa 15 60 a0 	or  %l5, 0xa0, %l5                             
  /*                                                                  
   * 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))           
 204065c:	86 06 c0 1c 	add  %i3, %i4, %g3                             
 2040660:	80 a0 c0 01 	cmp  %g3, %g1                                  
 2040664:	38 80 00 02 	bgu,a   204066c <rtems_rfs_format+0x79c>       <== ALWAYS TAKEN
 2040668:	b8 20 40 1b 	sub  %g1, %i3, %i4                             
    group_size = rtems_rfs_fs_blocks (fs) - group_base;               
                                                                      
  if (verbose)                                                        
 204066c:	ac 88 a0 ff 	andcc  %g2, 0xff, %l6                          
 2040670:	12 80 00 3b 	bne  204075c <rtems_rfs_format+0x88c>          <== NEVER TAKEN
 2040674:	90 10 00 13 	mov  %l3, %o0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2040678:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           
  handle->bnum  = 0;                                                  
 204067c:	c0 27 bf 34 	clr  [ %fp + -204 ]                            
  handle->buffer = NULL;                                              
 2040680:	c0 27 bf 38 	clr  [ %fp + -200 ]                            
    printf (", blocks");                                              
                                                                      
  /*                                                                  
   * Open the block bitmap using the new buffer.                      
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
 2040684:	90 07 bf 3c 	add  %fp, -196, %o0                            
 2040688:	92 07 bf 7c 	add  %fp, -132, %o1                            
 204068c:	94 07 bf 30 	add  %fp, -208, %o2                            
 2040690:	96 10 00 1c 	mov  %i4, %o3                                  
 2040694:	40 00 1e 9a 	call  20480fc <rtems_rfs_bitmap_open>          
 2040698:	98 10 00 1b 	mov  %i3, %o4                                  
                              group_base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
 204069c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20406a0:	04 80 00 12 	ble  20406e8 <rtems_rfs_format+0x818>          <== ALWAYS TAKEN
 20406a4:	92 07 bf 30 	add  %fp, -208, %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);                       
 20406a8:	7f ff f0 24 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 20406ac:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: open block bitmap failed: %d: %s\n",
 20406b0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 20406b4:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 20406b8:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 20406bc:	40 00 3c 2b 	call  204f768 <strerror>                       <== NOT EXECUTED
 20406c0:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
 20406c4:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 20406c8:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 20406cc:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 20406d0:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
 20406d4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
                              group_base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: open block bitmap failed: %d: %s\n",
 20406d8:	40 00 32 cb 	call  204d204 <printf>                         <== NOT EXECUTED
 20406dc:	90 12 23 c0 	or  %o0, 0x3c0, %o0                            <== NOT EXECUTED
 20406e0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20406e4:	81 e8 00 00 	restore                                        <== 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));
 20406e8:	c2 07 bf 38 	ld  [ %fp + -200 ], %g1                        
 20406ec:	d4 07 bf 84 	ld  [ %fp + -124 ], %o2                        
 20406f0:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 20406f4:	40 00 2e 53 	call  204c040 <memset>                         
 20406f8:	92 10 20 ff 	mov  0xff, %o1                                 
                                                                      
  /*                                                                  
   * Clear the bitmap.                                                
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
 20406fc:	40 00 1d d8 	call  2047e5c <rtems_rfs_bitmap_map_clear_all> 
 2040700:	90 07 bf 3c 	add  %fp, -196, %o0                            
  if (rc > 0)                                                         
 2040704:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040708:	04 80 00 20 	ble  2040788 <rtems_rfs_format+0x8b8>          <== ALWAYS TAKEN
 204070c:	92 10 20 00 	clr  %o1                                       
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
 2040710:	40 00 1e 8c 	call  2048140 <rtems_rfs_bitmap_close>         <== NOT EXECUTED
 2040714:	90 07 bf 3c 	add  %fp, -196, %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);                       
 2040718:	92 07 bf 30 	add  %fp, -208, %o1                            <== NOT EXECUTED
 204071c:	7f ff f0 07 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2040720:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: block bitmap clear all failed: %d: %s\n",
 2040724:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 2040728:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 204072c:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 2040730:	40 00 3c 0e 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040734:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
 2040738:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 204073c:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2040740:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2040744:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
 2040748:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: block bitmap clear all failed: %d: %s\n",
 204074c:	40 00 32 ae 	call  204d204 <printf>                         <== NOT EXECUTED
 2040750:	90 12 20 08 	or  %o0, 8, %o0                                <== NOT EXECUTED
 2040754:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040758:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   */                                                                 
  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",
 204075c:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2040760:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 2040764:	40 00 32 a8 	call  204d204 <printf>                         <== NOT EXECUTED
 2040768:	96 10 00 1c 	mov  %i4, %o3                                  <== NOT EXECUTED
            rc, strerror (rc));                                       
    return false;                                                     
  }                                                                   
                                                                      
  if (verbose)                                                        
    printf (", blocks");                                              
 204076c:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2040770:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2040774:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 2040778:	40 00 32 a3 	call  204d204 <printf>                         <== NOT EXECUTED
 204077c:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Open the block bitmap using the new buffer.                      
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
 2040780:	10 bf ff c2 	b  2040688 <rtems_rfs_format+0x7b8>            <== NOT EXECUTED
 2040784:	90 07 bf 3c 	add  %fp, -196, %o0                            <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Forced allocation of the block bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
 2040788:	40 00 1d 2e 	call  2047c40 <rtems_rfs_bitmap_map_set>       
 204078c:	90 07 bf 3c 	add  %fp, -196, %o0                            
                                                                      
  /*                                                                  
   * Forced allocation of the inode bitmap.                           
   */                                                                 
  rtems_rfs_bitmap_map_set (&bitmap, RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
 2040790:	92 10 20 01 	mov  1, %o1                                    
 2040794:	40 00 1d 2b 	call  2047c40 <rtems_rfs_bitmap_map_set>       
 2040798:	90 07 bf 3c 	add  %fp, -196, %o0                            
                                                                      
  /*                                                                  
   * Determine the number of inodes blocks in the group.              
   */                                                                 
  blocks = rtems_rfs_rup_quotient (fs->group_inodes, fs->inodes_per_block);
 204079c:	d0 07 bf a8 	ld  [ %fp + -88 ], %o0                         
 * "quotient = dividend / divisor"                                    
 */                                                                   
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
 20407a0:	80 a2 20 00 	cmp  %o0, 0                                    
 20407a4:	12 80 00 2b 	bne  2040850 <rtems_rfs_format+0x980>          <== ALWAYS TAKEN
 20407a8:	d2 07 bf ac 	ld  [ %fp + -84 ], %o1                         
    return 1;                                                         
 20407ac:	ae 10 20 01 	mov  1, %l7                                    <== NOT EXECUTED
 20407b0:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
                                                                      
  /*                                                                  
   * 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);
 20407b4:	92 07 60 02 	add  %i5, 2, %o1                               
 20407b8:	40 00 1d 22 	call  2047c40 <rtems_rfs_bitmap_map_set>       
 20407bc:	90 07 bf 3c 	add  %fp, -196, %o0                            
  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++)                                        
 20407c0:	ba 07 60 01 	inc  %i5                                       
 20407c4:	80 a7 40 17 	cmp  %i5, %l7                                  
 20407c8:	06 bf ff fc 	bl  20407b8 <rtems_rfs_format+0x8e8>           
 20407cc:	92 07 60 02 	add  %i5, 2, %o1                               
    rtems_rfs_bitmap_map_set (&bitmap, b + RTEMS_RFS_GROUP_INODE_BLOCK);
                                                                      
  /*                                                                  
   * Close the block bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
 20407d0:	40 00 1e 5c 	call  2048140 <rtems_rfs_bitmap_close>         
 20407d4:	90 07 bf 3c 	add  %fp, -196, %o0                            
  if (rc > 0)                                                         
 20407d8:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20407dc:	14 80 00 24 	bg  204086c <rtems_rfs_format+0x99c>           <== NEVER TAKEN
 20407e0:	80 a5 a0 00 	cmp  %l6, 0                                    
    return false;                                                     
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
 20407e4:	12 80 00 50 	bne  2040924 <rtems_rfs_format+0xa54>          <== NEVER TAKEN
 20407e8:	e8 2f bf 30 	stb  %l4, [ %fp + -208 ]                       
    printf (", inodes");                                              
                                                                      
  /*                                                                  
   * Open the inode bitmap using the old buffer. Should release any changes.
   */                                                                 
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
 20407ec:	90 07 bf 3c 	add  %fp, -196, %o0                            
 20407f0:	92 07 bf 7c 	add  %fp, -132, %o1                            
 20407f4:	94 07 bf 30 	add  %fp, -208, %o2                            
 20407f8:	96 10 00 1c 	mov  %i4, %o3                                  
 20407fc:	40 00 1e 40 	call  20480fc <rtems_rfs_bitmap_open>          
 2040800:	98 04 20 02 	add  %l0, 2, %o4                               
                              group_base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
 2040804:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040808:	04 80 00 2a 	ble  20408b0 <rtems_rfs_format+0x9e0>          <== ALWAYS TAKEN
 204080c:	92 07 bf 30 	add  %fp, -208, %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);                       
 2040810:	7f ff ef ca 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2040814:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: open inode bitmap failed: %d: %s\n",
 2040818:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 204081c:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2040820:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 2040824:	40 00 3b d1 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040828:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
 204082c:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2040830:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2040834:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2040838:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
 204083c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
  rc = rtems_rfs_bitmap_open (&bitmap, fs, &handle, group_size,       
                              group_base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: open inode bitmap failed: %d: %s\n",
 2040840:	40 00 32 71 	call  204d204 <printf>                         <== NOT EXECUTED
 2040844:	90 12 20 b0 	or  %o0, 0xb0, %o0                             <== NOT EXECUTED
 2040848:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204084c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
int                                                                   
rtems_rfs_rup_quotient (uint32_t dividend, uint32_t divisor)          
{                                                                     
  if (dividend == 0)                                                  
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 2040850:	40 00 85 13 	call  2061c9c <.udiv>                          
 2040854:	90 02 3f ff 	add  %o0, -1, %o0                              
 2040858:	ae 02 20 01 	add  %o0, 1, %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++)                                        
 204085c:	80 a5 e0 00 	cmp  %l7, 0                                    
 2040860:	14 bf ff d5 	bg  20407b4 <rtems_rfs_format+0x8e4>           <== ALWAYS TAKEN
 2040864:	ba 10 20 00 	clr  %i5                                       
 2040868:	30 bf ff da 	b,a   20407d0 <rtems_rfs_format+0x900>         <== 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);                       
 204086c:	92 07 bf 30 	add  %fp, -208, %o1                            <== NOT EXECUTED
 2040870:	7f ff ef b2 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2040874:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: close block bitmap failed: %d: %s\n",
 2040878:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 204087c:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2040880:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 2040884:	40 00 3b b9 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040888:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
 204088c:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2040890:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2040894:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2040898:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
 204089c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: close block bitmap failed: %d: %s\n",
 20408a0:	40 00 32 59 	call  204d204 <printf>                         <== NOT EXECUTED
 20408a4:	90 12 20 58 	or  %o0, 0x58, %o0                             <== NOT EXECUTED
 20408a8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20408ac:	81 e8 00 00 	restore                                        <== 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));
 20408b0:	c2 07 bf 38 	ld  [ %fp + -200 ], %g1                        
 20408b4:	d4 07 bf 84 	ld  [ %fp + -124 ], %o2                        
 20408b8:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        
 20408bc:	40 00 2d e1 	call  204c040 <memset>                         
 20408c0:	92 10 20 00 	clr  %o1                                       
                                                                      
  /*                                                                  
   * Clear the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_map_clear_all (&bitmap);                      
 20408c4:	40 00 1d 66 	call  2047e5c <rtems_rfs_bitmap_map_clear_all> 
 20408c8:	90 07 bf 3c 	add  %fp, -196, %o0                            
 20408cc:	ba 10 00 08 	mov  %o0, %i5                                  
  if (rc > 0)                                                         
 20408d0:	80 a7 60 00 	cmp  %i5, 0                                    
 20408d4:	04 80 00 21 	ble  2040958 <rtems_rfs_format+0xa88>          <== ALWAYS TAKEN
 20408d8:	90 07 bf 3c 	add  %fp, -196, %o0                            
  {                                                                   
    rtems_rfs_bitmap_close (&bitmap);                                 
 20408dc:	40 00 1e 19 	call  2048140 <rtems_rfs_bitmap_close>         <== NOT EXECUTED
 20408e0:	b0 10 3f ff 	mov  -1, %i0                                   <== 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);                       
 20408e4:	92 07 bf 30 	add  %fp, -208, %o1                            <== NOT EXECUTED
 20408e8:	7f ff ef 94 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 20408ec:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: inode bitmap" \     
 20408f0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 20408f4:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 20408f8:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 20408fc:	40 00 3b 9b 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040900:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
 2040904:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2040908:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 204090c:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2040910:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040914:	40 00 32 3c 	call  204d204 <printf>                         <== NOT EXECUTED
 2040918:	90 12 20 f8 	or  %o0, 0xf8, %o0	! 206f0f8 <__FUNCTION__.7829+0x1960><== NOT EXECUTED
 204091c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040920:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  if (verbose)                                                        
    printf (", inodes");                                              
 2040924:	40 00 32 38 	call  204d204 <printf>                         <== NOT EXECUTED
 2040928:	90 10 00 15 	mov  %l5, %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,       
 204092c:	10 bf ff b1 	b  20407f0 <rtems_rfs_format+0x920>            <== NOT EXECUTED
 2040930:	90 07 bf 3c 	add  %fp, -196, %o0                            <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_setblksize (&fs, rtems_rfs_fs_block_size (&fs));
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: setting block size failed: %d: %s\n", 
 2040934:	40 00 3b 8d 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040938:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 204093c:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040940:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040944:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
 2040948:	40 00 32 2f 	call  204d204 <printf>                         <== NOT EXECUTED
 204094c:	90 12 22 88 	or  %o0, 0x288, %o0	! 206ee88 <__FUNCTION__.7829+0x16f0><== NOT EXECUTED
 2040950:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040954:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  /*                                                                  
   * Close the inode bitmap.                                          
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
 2040958:	40 00 1d fa 	call  2048140 <rtems_rfs_bitmap_close>         
 204095c:	01 00 00 00 	nop                                            
  if (rc > 0)                                                         
 2040960:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040964:	14 80 00 2a 	bg  2040a0c <rtems_rfs_format+0xb3c>           <== NEVER TAKEN
 2040968:	80 8c 60 ff 	btst  0xff, %l1                                
  rtems_rfs_buffer_mark_dirty (&handle);                              
                                                                      
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
 204096c:	02 80 00 46 	be  2040a84 <rtems_rfs_format+0xbb4>           <== ALWAYS TAKEN
 2040970:	e8 2f bf 30 	stb  %l4, [ %fp + -208 ]                       
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
 2040974:	80 a5 e0 00 	cmp  %l7, 0                                    <== NOT EXECUTED
 2040978:	04 80 00 43 	ble  2040a84 <rtems_rfs_format+0xbb4>          <== NOT EXECUTED
 204097c:	b6 06 e0 02 	add  %i3, 2, %i3                               <== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
                                                                      
int                                                                   
rtems_rfs_format (const char* name, const rtems_rfs_format_config* config)
 2040980:	10 80 00 0a 	b  20409a8 <rtems_rfs_format+0xad8>            <== NOT EXECUTED
 2040984:	ae 05 c0 1b 	add  %l7, %i3, %l7                             <== 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));
 2040988:	c2 07 bf 38 	ld  [ %fp + -200 ], %g1                        <== NOT EXECUTED
 204098c:	d4 07 bf 84 	ld  [ %fp + -124 ], %o2                        <== NOT EXECUTED
 2040990:	d0 00 60 1c 	ld  [ %g1 + 0x1c ], %o0                        <== NOT EXECUTED
 2040994:	40 00 2d ab 	call  204c040 <memset>                         <== NOT EXECUTED
 2040998:	b6 06 e0 01 	inc  %i3                                       <== NOT EXECUTED
  /*                                                                  
   * Initialise the inode tables if required to do so.                
   */                                                                 
  if (initialise_inodes)                                              
  {                                                                   
    for (b = 0; b < blocks; b++)                                      
 204099c:	80 a6 c0 17 	cmp  %i3, %l7                                  <== NOT EXECUTED
 20409a0:	02 80 00 39 	be  2040a84 <rtems_rfs_format+0xbb4>           <== NOT EXECUTED
 20409a4:	e8 2f bf 30 	stb  %l4, [ %fp + -208 ]                       <== NOT EXECUTED
    {                                                                 
      rc = rtems_rfs_buffer_handle_request (fs, &handle,              
 20409a8:	92 07 bf 30 	add  %fp, -208, %o1                            <== NOT EXECUTED
 20409ac:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 20409b0:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
 20409b4:	7f ff ef db 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 20409b8:	90 07 bf 7c 	add  %fp, -132, %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));
 20409bc:	92 10 20 ff 	mov  0xff, %o1                                 <== NOT EXECUTED
    for (b = 0; b < blocks; b++)                                      
    {                                                                 
      rc = rtems_rfs_buffer_handle_request (fs, &handle,              
                                            group_base + b + RTEMS_RFS_GROUP_INODE_BLOCK,
                                            false);                   
      if (rc > 0)                                                     
 20409c0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20409c4:	04 bf ff f1 	ble  2040988 <rtems_rfs_format+0xab8>          <== NOT EXECUTED
 20409c8:	ba 10 00 08 	mov  %o0, %i5                                  <== 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);                       
 20409cc:	92 07 bf 30 	add  %fp, -208, %o1                            <== NOT EXECUTED
 20409d0:	7f ff ef 5a 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 20409d4:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
      {                                                               
        rtems_rfs_buffer_handle_close (fs, &handle);                  
        printf ("\nrtems-rfs: write-group: group %3d: block %" PRId32 " request failed: %d: %s\n",
 20409d8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 20409dc:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 20409e0:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 20409e4:	40 00 3b 61 	call  204f768 <strerror>                       <== NOT EXECUTED
 20409e8:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
 20409ec:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 20409f0:	98 10 00 08 	mov  %o0, %o4                                  <== NOT EXECUTED
 20409f4:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
 20409f8:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 20409fc:	96 10 00 1d 	mov  %i5, %o3                                  <== NOT EXECUTED
 2040a00:	40 00 32 01 	call  204d204 <printf>                         <== NOT EXECUTED
 2040a04:	90 12 21 90 	or  %o0, 0x190, %o0                            <== NOT EXECUTED
 2040a08:	30 bf fd bb 	b,a   20400f4 <rtems_rfs_format+0x224>         <== 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);                       
 2040a0c:	92 07 bf 30 	add  %fp, -208, %o1                            <== NOT EXECUTED
 2040a10:	7f ff ef 4a 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2040a14:	90 07 bf 7c 	add  %fp, -132, %o0                            <== NOT EXECUTED
   */                                                                 
  rc = rtems_rfs_bitmap_close (&bitmap);                              
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    printf ("\nrtems-rfs: write-group: group %3d: close inode" \      
 2040a18:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 2040a1c:	c0 2f bf 30 	clrb  [ %fp + -208 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2040a20:	c0 27 bf 34 	clr  [ %fp + -204 ]                            <== NOT EXECUTED
 2040a24:	40 00 3b 51 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040a28:	c0 27 bf 38 	clr  [ %fp + -200 ]                            <== NOT EXECUTED
 2040a2c:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2040a30:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2040a34:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2040a38:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040a3c:	40 00 31 f2 	call  204d204 <printf>                         <== NOT EXECUTED
 2040a40:	90 12 21 48 	or  %o0, 0x148, %o0	! 206f148 <__FUNCTION__.7829+0x19b0><== NOT EXECUTED
 2040a44:	30 bf fd ac 	b,a   20400f4 <rtems_rfs_format+0x224>         <== NOT EXECUTED
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, &fs);                             
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: buffer open failed: %d: %s\n",        
 2040a48:	40 00 3b 48 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040a4c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2040a50:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040a54:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040a58:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 2040a5c:	40 00 31 ea 	call  204d204 <printf>                         <== NOT EXECUTED
 2040a60:	90 12 23 e0 	or  %o0, 0x3e0, %o0	! 206ebe0 <__FUNCTION__.7829+0x1448><== NOT EXECUTED
 2040a64:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040a68:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  /*                                                                  
   * Check the media.                                                 
   */                                                                 
  if (rtems_rfs_fs_media_block_size (&fs) == 0)                       
  {                                                                   
    printf ("rtems-rfs: media block is invalid: %" PRIu32 "\n",       
 2040a6c:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
            rtems_rfs_fs_media_block_size (&fs));                     
    return -1;                                                        
 2040a70:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
  /*                                                                  
   * Check the media.                                                 
   */                                                                 
  if (rtems_rfs_fs_media_block_size (&fs) == 0)                       
  {                                                                   
    printf ("rtems-rfs: media block is invalid: %" PRIu32 "\n",       
 2040a74:	40 00 31 e4 	call  204d204 <printf>                         <== NOT EXECUTED
 2040a78:	90 12 20 10 	or  %o0, 0x10, %o0                             <== NOT EXECUTED
 2040a7c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040a80:	81 e8 00 00 	restore                                        <== 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);                       
 2040a84:	90 07 bf 7c 	add  %fp, -132, %o0                            
 2040a88:	7f ff ef 2c 	call  203c738 <rtems_rfs_buffer_handle_release>
 2040a8c:	92 07 bf 30 	add  %fp, -208, %o1                            
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
  }                                                                   
                                                                      
  for (group = 0; group < fs.group_count; group++)                    
 2040a90:	c2 07 bf a0 	ld  [ %fp + -96 ], %g1                         
 2040a94:	b4 06 a0 01 	inc  %i2                                       
 2040a98:	80 a0 40 1a 	cmp  %g1, %i2                                  
 2040a9c:	04 80 00 15 	ble  2040af0 <rtems_rfs_format+0xc20>          <== ALWAYS TAKEN
 2040aa0:	f8 07 bf a4 	ld  [ %fp + -92 ], %i4                         
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
 2040aa4:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 2040aa8:	7f ff 09 2f 	call  2002f64 <.umul>                          <== NOT EXECUTED
 2040aac:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
 2040ab0:	c2 07 bf 80 	ld  [ %fp + -128 ], %g1                        <== NOT EXECUTED
  size_t                   group_size;                                
  int                      blocks;                                    
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
 2040ab4:	b6 02 20 01 	add  %o0, 1, %i3                               <== NOT EXECUTED
 2040ab8:	a0 10 00 08 	mov  %o0, %l0                                  <== NOT EXECUTED
    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,                           
 2040abc:	e2 0e 60 14 	ldub  [ %i1 + 0x14 ], %l1                      <== NOT EXECUTED
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
 2040ac0:	80 a6 c0 01 	cmp  %i3, %g1                                  <== NOT EXECUTED
 2040ac4:	08 bf fe e6 	bleu  204065c <rtems_rfs_format+0x78c>         <== NOT EXECUTED
 2040ac8:	c4 0e 60 15 	ldub  [ %i1 + 0x15 ], %g2                      <== NOT EXECUTED
  {                                                                   
    printf ("rtems-rfs: write-group: group %d base beyond disk limit\n",
 2040acc:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2040ad0:	11 00 81 bb 	sethi  %hi(0x206ec00), %o0                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if (!rtems_rfs_write_superblock (&fs))                              
  {                                                                   
    printf ("rtems-rfs: format: superblock write failed\n");          
    return -1;                                                        
 2040ad4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
  {                                                                   
    printf ("rtems-rfs: write-group: group %d base beyond disk limit\n",
 2040ad8:	40 00 31 cb 	call  204d204 <printf>                         <== NOT EXECUTED
 2040adc:	90 12 23 38 	or  %o0, 0x338, %o0                            <== NOT EXECUTED
 2040ae0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040ae4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  int                      b;                                         
  int                      rc;                                        
                                                                      
  group_base = rtems_rfs_fs_block (fs, group, 0);                     
                                                                      
  if (group_base > rtems_rfs_fs_blocks (fs))                          
 2040ae8:	10 bf ff f9 	b  2040acc <rtems_rfs_format+0xbfc>            <== NOT EXECUTED
 2040aec:	b4 10 20 00 	clr  %i2                                       <== NOT EXECUTED
  for (group = 0; group < fs.group_count; group++)                    
    if (!rtems_rfs_write_group (&fs, group,                           
                                config->initialise_inodes, config->verbose))
      return -1;                                                      
                                                                      
  if (config->verbose)                                                
 2040af0:	c2 0e 60 15 	ldub  [ %i1 + 0x15 ], %g1                      
 2040af4:	80 a0 60 00 	cmp  %g1, 0                                    
 2040af8:	02 80 00 04 	be  2040b08 <rtems_rfs_format+0xc38>           <== ALWAYS TAKEN
 2040afc:	01 00 00 00 	nop                                            
    printf ("\n");                                                    
 2040b00:	40 00 32 2b 	call  204d3ac <putchar>                        <== NOT EXECUTED
 2040b04:	90 10 20 0a 	mov  0xa, %o0	! a <PROM_START+0xa>             <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_buffer_close (&fs);                                  
 2040b08:	7f ff f1 3a 	call  203cff0 <rtems_rfs_buffer_close>         
 2040b0c:	90 07 bf 7c 	add  %fp, -132, %o0                            
  if (rc > 0)                                                         
 2040b10:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040b14:	14 80 00 43 	bg  2040c20 <rtems_rfs_format+0xd50>           <== NEVER TAKEN
 2040b18:	92 10 20 00 	clr  %o1                                       
  int                    rc;                                          
                                                                      
  /*                                                                  
   * External API so returns -1.                                      
   */                                                                 
  rc = rtems_rfs_fs_open (name, NULL,                                 
 2040b1c:	90 10 00 18 	mov  %i0, %o0                                  
 2040b20:	94 10 20 06 	mov  6, %o2                                    
 2040b24:	96 10 20 00 	clr  %o3                                       
 2040b28:	7f ff fa 93 	call  203f574 <rtems_rfs_fs_open>              
 2040b2c:	98 07 bf 28 	add  %fp, -216, %o4                            
                          RTEMS_RFS_FS_FORCE_OPEN | RTEMS_RFS_FS_NO_LOCAL_CACHE,
                          0, &fs);                                    
  if (rc < 0)                                                         
 2040b30:	80 a2 20 00 	cmp  %o0, 0                                    
 2040b34:	06 80 00 7b 	bl  2040d20 <rtems_rfs_format+0xe50>           <== NEVER TAKEN
 2040b38:	92 10 20 01 	mov  1, %o1                                    
    printf ("rtems-rfs: format: file system open failed: %d: %s\n",   
            errno, strerror (errno));                                 
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_alloc (fs, RTEMS_RFS_ROOT_INO, &ino);          
 2040b3c:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        
 2040b40:	40 00 02 8c 	call  2041570 <rtems_rfs_inode_alloc>          
 2040b44:	94 07 bf 2c 	add  %fp, -212, %o2                            
  if (rc > 0)                                                         
 2040b48:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040b4c:	14 80 00 0c 	bg  2040b7c <rtems_rfs_format+0xcac>           <== NEVER TAKEN
 2040b50:	d2 07 bf 2c 	ld  [ %fp + -212 ], %o1                        
            rc, strerror (rc));                                       
    rtems_rfs_fs_close (fs);                                          
    return rc;                                                        
  }                                                                   
                                                                      
  if (ino != RTEMS_RFS_ROOT_INO)                                      
 2040b54:	80 a2 60 01 	cmp  %o1, 1                                    
 2040b58:	02 80 00 1c 	be  2040bc8 <rtems_rfs_format+0xcf8>           <== ALWAYS TAKEN
 2040b5c:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     
  {                                                                   
    printf ("rtems-rfs: format: allocated inode not root ino: %" PRId32 "\n", ino);
 2040b60:	40 00 31 a9 	call  204d204 <printf>                         <== NOT EXECUTED
 2040b64:	90 12 22 78 	or  %o0, 0x278, %o0	! 206f278 <__FUNCTION__.7829+0x1ae0><== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
 2040b68:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        <== NOT EXECUTED
 2040b6c:	7f ff fc ae 	call  203fe24 <rtems_rfs_fs_close>             <== NOT EXECUTED
 2040b70:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2040b74:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040b78:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_alloc (fs, RTEMS_RFS_ROOT_INO, &ino);          
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: inode allocation failed: %d: %s\n",   
 2040b7c:	40 00 3a fb 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040b80:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2040b84:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040b88:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040b8c:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040b90:	40 00 31 9d 	call  204d204 <printf>                         <== NOT EXECUTED
 2040b94:	90 12 22 40 	or  %o0, 0x240, %o0	! 206f240 <__FUNCTION__.7829+0x1aa8><== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_fs_close (fs);                                          
 2040b98:	7f ff fc a3 	call  203fe24 <rtems_rfs_fs_close>             <== NOT EXECUTED
 2040b9c:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_write_root_dir (name);                               
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: writing root dir failed: %d: %s\n",   
 2040ba0:	40 00 3a f2 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040ba4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2040ba8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040bac:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
            rc, strerror (rc));                                       
    return -1;                                                        
 2040bb0:	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",   
 2040bb4:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040bb8:	40 00 31 93 	call  204d204 <printf>                         <== NOT EXECUTED
 2040bbc:	90 12 23 b8 	or  %o0, 0x3b8, %o0	! 206f3b8 <__FUNCTION__.7829+0x1c20><== NOT EXECUTED
 2040bc0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040bc4:	81 e8 00 00 	restore                                        <== 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);                  
 2040bc8:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        
 2040bcc:	92 10 20 01 	mov  1, %o1                                    
 2040bd0:	94 07 bf 54 	add  %fp, -172, %o2                            
 2040bd4:	40 00 02 a3 	call  2041660 <rtems_rfs_inode_open>           
 2040bd8:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 2040bdc:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040be0:	24 80 00 19 	ble,a   2040c44 <rtems_rfs_format+0xd74>       <== ALWAYS TAKEN
 2040be4:	90 07 bf 54 	add  %fp, -172, %o0                            
  {                                                                   
    printf ("rtems-rfs: format: inode open failed: %d: %s\n",         
 2040be8:	40 00 3a e0 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040bec:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2040bf0:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040bf4:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040bf8:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040bfc:	40 00 31 82 	call  204d204 <printf>                         <== NOT EXECUTED
 2040c00:	90 12 22 b0 	or  %o0, 0x2b0, %o0	! 206f2b0 <__FUNCTION__.7829+0x1b18><== NOT EXECUTED
            rc, strerror (rc));                                       
    rtems_rfs_group_bitmap_free (fs, true, ino);                      
 2040c04:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        <== NOT EXECUTED
 2040c08:	d4 07 bf 2c 	ld  [ %fp + -212 ], %o2                        <== NOT EXECUTED
 2040c0c:	40 00 01 a7 	call  20412a8 <rtems_rfs_group_bitmap_free>    <== NOT EXECUTED
 2040c10:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
    rtems_rfs_fs_close (fs);                                          
 2040c14:	7f ff fc 84 	call  203fe24 <rtems_rfs_fs_close>             <== NOT EXECUTED
 2040c18:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        <== NOT EXECUTED
 2040c1c:	30 bf ff e1 	b,a   2040ba0 <rtems_rfs_format+0xcd0>         <== NOT EXECUTED
    printf ("\n");                                                    
                                                                      
  rc = rtems_rfs_buffer_close (&fs);                                  
  if (rc > 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: buffer close failed: %d: %s\n",       
 2040c20:	40 00 3a d2 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040c24:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2040c28:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040c2c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040c30:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040c34:	40 00 31 74 	call  204d204 <printf>                         <== NOT EXECUTED
 2040c38:	90 12 21 d8 	or  %o0, 0x1d8, %o0	! 206f1d8 <__FUNCTION__.7829+0x1a40><== NOT EXECUTED
 2040c3c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040c40:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    rtems_rfs_group_bitmap_free (fs, true, ino);                      
    rtems_rfs_fs_close (fs);                                          
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, 0,                         
 2040c44:	92 10 20 00 	clr  %o1                                       
 2040c48:	96 10 20 00 	clr  %o3                                       
 2040c4c:	15 00 00 10 	sethi  %hi(0x4000), %o2                        
 2040c50:	98 10 20 00 	clr  %o4                                       
 2040c54:	40 00 03 7f 	call  2041a50 <rtems_rfs_inode_initialise>     
 2040c58:	94 12 a1 c9 	or  %o2, 0x1c9, %o2                            
                                   (RTEMS_RFS_S_IFDIR | RTEMS_RFS_S_IRWXU |
                                    RTEMS_RFS_S_IXGRP | RTEMS_RFS_S_IXOTH),
                                   0, 0);                             
  if (rc > 0)                                                         
 2040c5c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040c60:	24 80 00 0a 	ble,a   2040c88 <rtems_rfs_format+0xdb8>       <== ALWAYS TAKEN
 2040c64:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        
    printf ("rtems-rfs: format: inode initialise failed: %d: %s\n",   
 2040c68:	40 00 3a c0 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040c6c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2040c70:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040c74:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040c78:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040c7c:	40 00 31 62 	call  204d204 <printf>                         <== NOT EXECUTED
 2040c80:	90 12 22 e0 	or  %o0, 0x2e0, %o0	! 206f2e0 <__FUNCTION__.7829+0x1b48><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &inode, ".", 1, ino);             
 2040c84:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        <== NOT EXECUTED
 2040c88:	d8 07 bf 2c 	ld  [ %fp + -212 ], %o4                        
 2040c8c:	92 07 bf 54 	add  %fp, -172, %o1                            
 2040c90:	96 10 20 01 	mov  1, %o3                                    
 2040c94:	15 00 81 9b 	sethi  %hi(0x2066c00), %o2                     
 2040c98:	7f ff f2 63 	call  203d624 <rtems_rfs_dir_add_entry>        
 2040c9c:	94 12 a3 e0 	or  %o2, 0x3e0, %o2	! 2066fe0 <rtems_bdpart_shell_usage+0xd40>
  if (rc > 0)                                                         
 2040ca0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040ca4:	24 80 00 0a 	ble,a   2040ccc <rtems_rfs_format+0xdfc>       <== ALWAYS TAKEN
 2040ca8:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        
    printf ("rtems-rfs: format: directory add failed: %d: %s\n",      
 2040cac:	40 00 3a af 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040cb0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2040cb4:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040cb8:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040cbc:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040cc0:	40 00 31 51 	call  204d204 <printf>                         <== NOT EXECUTED
 2040cc4:	90 12 23 18 	or  %o0, 0x318, %o0	! 206f318 <__FUNCTION__.7829+0x1b80><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2040cc8:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        <== NOT EXECUTED
 2040ccc:	40 00 02 dd 	call  2041840 <rtems_rfs_inode_close>          
 2040cd0:	92 07 bf 54 	add  %fp, -172, %o1                            
  if (rc > 0)                                                         
 2040cd4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040cd8:	04 80 00 09 	ble  2040cfc <rtems_rfs_format+0xe2c>          <== ALWAYS TAKEN
 2040cdc:	01 00 00 00 	nop                                            
    printf ("rtems-rfs: format: inode close failed: %d: %s\n",        
 2040ce0:	40 00 3a a2 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040ce4:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2040ce8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040cec:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040cf0:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040cf4:	40 00 31 44 	call  204d204 <printf>                         <== NOT EXECUTED
 2040cf8:	90 12 23 50 	or  %o0, 0x350, %o0	! 206f350 <__FUNCTION__.7829+0x1bb8><== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_fs_close (fs);                                       
 2040cfc:	7f ff fc 4a 	call  203fe24 <rtems_rfs_fs_close>             
 2040d00:	d0 07 bf 28 	ld  [ %fp + -216 ], %o0                        
  if (rc < 0)                                                         
 2040d04:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2040d08:	06 80 00 12 	bl  2040d50 <rtems_rfs_format+0xe80>           <== NEVER TAKEN
 2040d0c:	80 a7 60 00 	cmp  %i5, 0                                    
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_write_root_dir (name);                               
  if (rc > 0)                                                         
 2040d10:	12 bf ff a4 	bne  2040ba0 <rtems_rfs_format+0xcd0>          <== NEVER TAKEN
 2040d14:	b0 10 20 00 	clr  %i0                                       
            rc, strerror (rc));                                       
    return -1;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2040d18:	81 c7 e0 08 	ret                                            
 2040d1c:	81 e8 00 00 	restore                                        
                          RTEMS_RFS_FS_FORCE_OPEN | RTEMS_RFS_FS_NO_LOCAL_CACHE,
                          0, &fs);                                    
  if (rc < 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: file system open failed: %d: %s\n",   
            errno, strerror (errno));                                 
 2040d20:	40 00 1e fa 	call  2048908 <__errno>                        <== NOT EXECUTED
 2040d24:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2040d28:	40 00 1e f8 	call  2048908 <__errno>                        <== NOT EXECUTED
 2040d2c:	fa 02 00 00 	ld  [ %o0 ], %i5                               <== NOT EXECUTED
  rc = rtems_rfs_fs_open (name, NULL,                                 
                          RTEMS_RFS_FS_FORCE_OPEN | RTEMS_RFS_FS_NO_LOCAL_CACHE,
                          0, &fs);                                    
  if (rc < 0)                                                         
  {                                                                   
    printf ("rtems-rfs: format: file system open failed: %d: %s\n",   
 2040d30:	40 00 3a 8e 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040d34:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 2040d38:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040d3c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040d40:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040d44:	40 00 31 30 	call  204d204 <printf>                         <== NOT EXECUTED
 2040d48:	90 12 22 08 	or  %o0, 0x208, %o0	! 206f208 <__FUNCTION__.7829+0x1a70><== NOT EXECUTED
 2040d4c:	30 bf ff f3 	b,a   2040d18 <rtems_rfs_format+0xe48>         <== NOT EXECUTED
            rc, strerror (rc));                                       
                                                                      
  rc = rtems_rfs_fs_close (fs);                                       
  if (rc < 0)                                                         
    printf ("rtems-rfs: format: file system close failed: %d: %s\n",  
            errno, strerror (errno));                                 
 2040d50:	40 00 1e ee 	call  2048908 <__errno>                        <== NOT EXECUTED
 2040d54:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2040d58:	40 00 1e ec 	call  2048908 <__errno>                        <== NOT EXECUTED
 2040d5c:	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",  
 2040d60:	40 00 3a 82 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040d64:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 2040d68:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2040d6c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040d70:	11 00 81 bc 	sethi  %hi(0x206f000), %o0                     <== NOT EXECUTED
 2040d74:	40 00 31 24 	call  204d204 <printf>                         <== NOT EXECUTED
 2040d78:	90 12 23 80 	or  %o0, 0x380, %o0	! 206f380 <__FUNCTION__.7829+0x1be8><== NOT EXECUTED
 2040d7c:	30 bf ff e7 	b,a   2040d18 <rtems_rfs_format+0xe48>         <== NOT EXECUTED
 2040d80:	c2 07 bf 8c 	ld  [ %fp + -116 ], %g1                        <== NOT EXECUTED
 2040d84:	10 bf fc 7e 	b  203ff7c <rtems_rfs_format+0xac>             <== NOT EXECUTED
 2040d88:	f8 00 60 20 	ld  [ %g1 + 0x20 ], %i4                        <== NOT EXECUTED
                                                                      

0203fe24 <rtems_rfs_fs_close>: return 0; } int rtems_rfs_fs_close (rtems_rfs_file_system* fs) {
 203fe24:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
 203fe28:	90 10 20 00 	clr  %o0                                       
 203fe2c:	7f ff 9c 16 	call  2026e84 <rtems_rfs_trace>                
 203fe30:	92 10 20 02 	mov  2, %o1                                    
 203fe34:	80 8a 20 ff 	btst  0xff, %o0                                
 203fe38:	12 80 00 17 	bne  203fe94 <rtems_rfs_fs_close+0x70>         <== NEVER TAKEN
 203fe3c:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     
    printf ("rtems-rfs: close\n");                                    
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
 203fe40:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 203fe44:	b8 10 20 00 	clr  %i4                                       
 203fe48:	80 a0 60 00 	cmp  %g1, 0                                    
 203fe4c:	04 80 00 0b 	ble  203fe78 <rtems_rfs_fs_close+0x54>         <== NEVER TAKEN
 203fe50:	ba 10 20 00 	clr  %i5                                       
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
 203fe54:	d2 06 20 20 	ld  [ %i0 + 0x20 ], %o1                        
 203fe58:	90 10 00 18 	mov  %i0, %o0                                  
 203fe5c:	40 00 04 59 	call  2040fc0 <rtems_rfs_group_close>          
 203fe60:	92 02 40 1c 	add  %o1, %i4, %o1                             
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
    printf ("rtems-rfs: close\n");                                    
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
 203fe64:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 203fe68:	ba 07 60 01 	inc  %i5                                       
 203fe6c:	80 a0 40 1d 	cmp  %g1, %i5                                  
 203fe70:	14 bf ff f9 	bg  203fe54 <rtems_rfs_fs_close+0x30>          <== NEVER TAKEN
 203fe74:	b8 07 20 50 	add  %i4, 0x50, %i4                            
    rtems_rfs_group_close (fs, &fs->groups[group]);                   
                                                                      
  rtems_rfs_buffer_close (fs);                                        
 203fe78:	7f ff f4 5e 	call  203cff0 <rtems_rfs_buffer_close>         
 203fe7c:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  free (fs);                                                          
 203fe80:	90 10 00 18 	mov  %i0, %o0                                  
 203fe84:	7f ff 25 22 	call  200930c <free>                           
 203fe88:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 203fe8c:	81 c7 e0 08 	ret                                            
 203fe90:	81 e8 00 00 	restore                                        
rtems_rfs_fs_close (rtems_rfs_file_system* fs)                        
{                                                                     
  int group;                                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_CLOSE))                        
    printf ("rtems-rfs: close\n");                                    
 203fe94:	40 00 35 74 	call  204d464 <puts>                           <== NOT EXECUTED
 203fe98:	90 12 23 b0 	or  %o0, 0x3b0, %o0                            <== NOT EXECUTED
                                                                      
  for (group = 0; group < fs->group_count; group++)                   
 203fe9c:	10 bf ff ea 	b  203fe44 <rtems_rfs_fs_close+0x20>           <== NOT EXECUTED
 203fea0:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        <== NOT EXECUTED
                                                                      

0203f574 <rtems_rfs_fs_open>: rtems_rfs_fs_open (const char* name, void* user, uint32_t flags, uint32_t max_held_buffers, rtems_rfs_file_system** fs) {
 203f574:	9d e3 bf 68 	save  %sp, -152, %sp                           
#endif                                                                
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
 203f578:	90 10 20 00 	clr  %o0                                       
 203f57c:	7f ff 9e 42 	call  2026e84 <rtems_rfs_trace>                
 203f580:	92 10 20 01 	mov  1, %o1                                    
 203f584:	80 8a 20 ff 	btst  0xff, %o0                                
 203f588:	12 80 00 82 	bne  203f790 <rtems_rfs_fs_open+0x21c>         <== NEVER TAKEN
 203f58c:	92 10 00 18 	mov  %i0, %o1                                  
    printf ("rtems-rfs: open: %s\n", name);                           
                                                                      
  *fs = malloc (sizeof (rtems_rfs_file_system));                      
 203f590:	7f ff 28 c9 	call  20098b4 <malloc>                         
 203f594:	90 10 20 84 	mov  0x84, %o0                                 
  if (!*fs)                                                           
 203f598:	80 a2 20 00 	cmp  %o0, 0                                    
 203f59c:	02 80 01 68 	be  203fb3c <rtems_rfs_fs_open+0x5c8>          <== NEVER TAKEN
 203f5a0:	d0 27 00 00 	st  %o0, [ %i4 ]                               
      printf ("rtems-rfs: open: no memory for file system data\n");   
    errno = ENOMEM;                                                   
    return -1;                                                        
  }                                                                   
                                                                      
  memset (*fs, 0, sizeof (rtems_rfs_file_system));                    
 203f5a4:	92 10 20 00 	clr  %o1                                       
 203f5a8:	40 00 32 a6 	call  204c040 <memset>                         
 203f5ac:	94 10 20 84 	mov  0x84, %o2                                 
                                                                      
  (*fs)->user = user;                                                 
 203f5b0:	c2 07 00 00 	ld  [ %i4 ], %g1                               
#endif                                                                
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
 203f5b4:	90 10 00 18 	mov  %i0, %o0                                  
    return -1;                                                        
  }                                                                   
                                                                      
  memset (*fs, 0, sizeof (rtems_rfs_file_system));                    
                                                                      
  (*fs)->user = user;                                                 
 203f5b8:	f2 20 60 80 	st  %i1, [ %g1 + 0x80 ]                        
  rtems_chain_initialize_empty (&(*fs)->buffers);                     
 203f5bc:	c2 07 00 00 	ld  [ %i4 ], %g1                               
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
 203f5c0:	c0 20 60 48 	clr  [ %g1 + 0x48 ]                            
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 );                        
 203f5c4:	86 00 60 44 	add  %g1, 0x44, %g3                            
 203f5c8:	84 00 60 48 	add  %g1, 0x48, %g2                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 203f5cc:	c6 20 60 4c 	st  %g3, [ %g1 + 0x4c ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 203f5d0:	c4 20 60 44 	st  %g2, [ %g1 + 0x44 ]                        
  rtems_chain_initialize_empty (&(*fs)->release);                     
 203f5d4:	c2 07 00 00 	ld  [ %i4 ], %g1                               
  head->previous = NULL;                                              
 203f5d8:	c0 20 60 58 	clr  [ %g1 + 0x58 ]                            
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 );                        
 203f5dc:	86 00 60 54 	add  %g1, 0x54, %g3                            
 203f5e0:	84 00 60 58 	add  %g1, 0x58, %g2                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 203f5e4:	c6 20 60 5c 	st  %g3, [ %g1 + 0x5c ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 203f5e8:	c4 20 60 54 	st  %g2, [ %g1 + 0x54 ]                        
  rtems_chain_initialize_empty (&(*fs)->release_modified);            
 203f5ec:	c2 07 00 00 	ld  [ %i4 ], %g1                               
  head->previous = NULL;                                              
 203f5f0:	c0 20 60 68 	clr  [ %g1 + 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 );                        
 203f5f4:	86 00 60 64 	add  %g1, 0x64, %g3                            
 203f5f8:	84 00 60 68 	add  %g1, 0x68, %g2                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 203f5fc:	c6 20 60 6c 	st  %g3, [ %g1 + 0x6c ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 203f600:	c4 20 60 64 	st  %g2, [ %g1 + 0x64 ]                        
  rtems_chain_initialize_empty (&(*fs)->file_shares);                 
 203f604:	c2 07 00 00 	ld  [ %i4 ], %g1                               
  head->previous = NULL;                                              
 203f608:	c0 20 60 78 	clr  [ %g1 + 0x78 ]                            
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 );                        
 203f60c:	86 00 60 74 	add  %g1, 0x74, %g3                            
 203f610:	84 00 60 78 	add  %g1, 0x78, %g2                            
                                                                      
  head->next = tail;                                                  
  head->previous = NULL;                                              
  tail->previous = head;                                              
 203f614:	c6 20 60 7c 	st  %g3, [ %g1 + 0x7c ]                        
)                                                                     
{                                                                     
  Chain_Node *head = _Chain_Head( the_chain );                        
  Chain_Node *tail = _Chain_Tail( the_chain );                        
                                                                      
  head->next = tail;                                                  
 203f618:	c4 20 60 74 	st  %g2, [ %g1 + 0x74 ]                        
                                                                      
  (*fs)->max_held_buffers = max_held_buffers;                         
 203f61c:	d2 07 00 00 	ld  [ %i4 ], %o1                               
 203f620:	f6 22 60 40 	st  %i3, [ %o1 + 0x40 ]                        
  (*fs)->buffers_count = 0;                                           
 203f624:	c0 22 60 50 	clr  [ %o1 + 0x50 ]                            
  (*fs)->release_count = 0;                                           
 203f628:	c0 22 60 60 	clr  [ %o1 + 0x60 ]                            
  (*fs)->release_modified_count = 0;                                  
 203f62c:	c0 22 60 70 	clr  [ %o1 + 0x70 ]                            
#endif                                                                
                                                                      
  /*                                                                  
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
 203f630:	7f ff f5 74 	call  203cc00 <rtems_rfs_buffer_open>          
 203f634:	f4 22 40 00 	st  %i2, [ %o1 ]                               
  if (rc > 0)                                                         
 203f638:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203f63c:	14 80 00 a9 	bg  203f8e0 <rtems_rfs_fs_open+0x36c>          <== NEVER TAKEN
 203f640:	94 10 20 00 	clr  %o2                                       
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
 203f644:	f6 07 00 00 	ld  [ %i4 ], %i3                               
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 203f648:	c0 2f bf cc 	clrb  [ %fp + -52 ]                            
  handle->bnum  = 0;                                                  
 203f64c:	c0 27 bf d0 	clr  [ %fp + -48 ]                             
  handle->buffer = NULL;                                              
 203f650:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
      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);        
 203f654:	90 10 00 1b 	mov  %i3, %o0                                  
 203f658:	92 07 bf cc 	add  %fp, -52, %o1                             
 203f65c:	7f ff f4 b1 	call  203c920 <rtems_rfs_buffer_handle_request>
 203f660:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 203f664:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203f668:	04 80 00 1d 	ble  203f6dc <rtems_rfs_fs_open+0x168>         <== ALWAYS TAKEN
 203f66c:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203f670:	7f ff 9e 05 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203f674:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203f678:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203f67c:	02 80 00 09 	be  203f6a0 <rtems_rfs_fs_open+0x12c>          <== NOT EXECUTED
 203f680:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: request failed%d: %s\n",   
 203f684:	40 00 40 39 	call  204f768 <strerror>                       <== NOT EXECUTED
 203f688:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203f68c:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203f690:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203f694:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203f698:	40 00 36 db 	call  204d204 <printf>                         <== NOT EXECUTED
 203f69c:	90 12 20 e8 	or  %o0, 0xe8, %o0	! 206e8e8 <__FUNCTION__.7829+0x1150><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
 203f6a0:	7f ff f6 54 	call  203cff0 <rtems_rfs_buffer_close>         <== NOT EXECUTED
 203f6a4:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
    free (*fs);                                                       
 203f6a8:	7f ff 27 19 	call  200930c <free>                           <== NOT EXECUTED
 203f6ac:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203f6b0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203f6b4:	7f ff 9d f4 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203f6b8:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203f6bc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203f6c0:	12 80 00 2c 	bne  203f770 <rtems_rfs_fs_open+0x1fc>         <== NOT EXECUTED
 203f6c4:	01 00 00 00 	nop                                            <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
    free (*fs);                                                       
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
    errno = rc;                                                       
 203f6c8:	40 00 24 90 	call  2048908 <__errno>                        <== NOT EXECUTED
 203f6cc:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 203f6d0:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
 203f6d4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203f6d8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: request failed%d: %s\n",   
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  sb = rtems_rfs_buffer_data (&handle);                               
 203f6dc:	c2 07 bf d4 	ld  [ %fp + -44 ], %g1                         
 203f6e0:	fa 00 60 1c 	ld  [ %g1 + 0x1c ], %i5                        
                                                                      
#define read_sb(_o) rtems_rfs_read_u32 (sb + (_o))                    
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_MAGIC) != RTEMS_RFS_SB_MAGIC)      
 203f6e4:	c2 0f 60 02 	ldub  [ %i5 + 2 ], %g1                         
 203f6e8:	c4 0f 40 00 	ldub  [ %i5 ], %g2                             
 203f6ec:	c8 0f 60 01 	ldub  [ %i5 + 1 ], %g4                         
 203f6f0:	c6 0f 60 03 	ldub  [ %i5 + 3 ], %g3                         
 203f6f4:	83 28 60 08 	sll  %g1, 8, %g1                               
 203f6f8:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 203f6fc:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203f700:	84 10 80 04 	or  %g2, %g4, %g2                              
 203f704:	84 10 80 03 	or  %g2, %g3, %g2                              
 203f708:	84 10 80 01 	or  %g2, %g1, %g2                              
 203f70c:	03 0a 02 48 	sethi  %hi(0x28092000), %g1                    
 203f710:	82 10 60 01 	or  %g1, 1, %g1	! 28092001 <RAM_END+0x25c92001>
 203f714:	80 a0 80 01 	cmp  %g2, %g1                                  
 203f718:	22 80 00 29 	be,a   203f7bc <rtems_rfs_fs_open+0x248>       <== ALWAYS TAKEN
 203f71c:	c6 0f 60 0d 	ldub  [ %i5 + 0xd ], %g3                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203f720:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203f724:	7f ff 9d d8 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203f728:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203f72c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203f730:	32 80 00 1c 	bne,a   203f7a0 <rtems_rfs_fs_open+0x22c>      <== NOT EXECUTED
 203f734:	11 00 81 ba 	sethi  %hi(0x206e800), %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);                       
 203f738:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 203f73c:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
 203f740:	7f ff f3 fe 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203f744:	ba 10 20 05 	mov  5, %i5                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_read_superblock (*fs);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
 203f748:	7f ff f6 2a 	call  203cff0 <rtems_rfs_buffer_close>         <== NOT EXECUTED
 203f74c:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
    free (*fs);                                                       
 203f750:	7f ff 26 ef 	call  200930c <free>                           <== NOT EXECUTED
 203f754:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203f758:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203f75c:	7f ff 9d ca 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203f760:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203f764:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203f768:	02 bf ff d8 	be  203f6c8 <rtems_rfs_fs_open+0x154>          <== NOT EXECUTED
 203f76c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: open: reading superblock: %d: %s\n",        
 203f770:	40 00 3f fe 	call  204f768 <strerror>                       <== NOT EXECUTED
 203f774:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203f778:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203f77c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203f780:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203f784:	40 00 36 a0 	call  204d204 <printf>                         <== NOT EXECUTED
 203f788:	90 12 22 f0 	or  %o0, 0x2f0, %o0	! 206eaf0 <__FUNCTION__.7829+0x1358><== NOT EXECUTED
 203f78c:	30 bf ff cf 	b,a   203f6c8 <rtems_rfs_fs_open+0x154>        <== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  uint16_t               mode;                                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                         
    printf ("rtems-rfs: open: %s\n", name);                           
 203f790:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203f794:	40 00 36 9c 	call  204d204 <printf>                         <== NOT EXECUTED
 203f798:	90 12 20 70 	or  %o0, 0x70, %o0	! 206e870 <__FUNCTION__.7829+0x10d8><== NOT EXECUTED
 203f79c:	30 bf ff 7d 	b,a   203f590 <rtems_rfs_fs_open+0x1c>         <== NOT EXECUTED
#define read_sb(_o) rtems_rfs_read_u32 (sb + (_o))                    
                                                                      
  if (read_sb (RTEMS_RFS_SB_OFFSET_MAGIC) != RTEMS_RFS_SB_MAGIC)      
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
      printf ("rtems-rfs: read-superblock: invalid superblock, bad magic\n");
 203f7a0:	40 00 37 31 	call  204d464 <puts>                           <== NOT EXECUTED
 203f7a4:	90 12 21 20 	or  %o0, 0x120, %o0                            <== NOT EXECUTED
 203f7a8:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 203f7ac:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
 203f7b0:	7f ff f3 e2 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203f7b4:	ba 10 20 05 	mov  5, %i5                                    <== NOT EXECUTED
 203f7b8:	30 bf ff e4 	b,a   203f748 <rtems_rfs_fs_open+0x1d4>        <== NOT EXECUTED
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
 203f7bc:	c2 0f 60 0e 	ldub  [ %i5 + 0xe ], %g1                       
 203f7c0:	c4 0f 60 0f 	ldub  [ %i5 + 0xf ], %g2                       
 203f7c4:	d6 0f 60 0c 	ldub  [ %i5 + 0xc ], %o3                       
 203f7c8:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203f7cc:	83 28 60 08 	sll  %g1, 8, %g1                               
 203f7d0:	97 2a e0 18 	sll  %o3, 0x18, %o3                            
 203f7d4:	96 12 c0 03 	or  %o3, %g3, %o3                              
 203f7d8:	96 12 c0 02 	or  %o3, %g2, %o3                              
 203f7dc:	96 12 c0 01 	or  %o3, %g1, %o3                              
 203f7e0:	d6 26 e0 04 	st  %o3, [ %i3 + 4 ]                           
  fs->block_size = read_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE);          
 203f7e4:	c6 0f 60 09 	ldub  [ %i5 + 9 ], %g3                         
 203f7e8:	c2 0f 60 0a 	ldub  [ %i5 + 0xa ], %g1                       
 203f7ec:	c4 0f 60 0b 	ldub  [ %i5 + 0xb ], %g2                       
 203f7f0:	f4 0f 60 08 	ldub  [ %i5 + 8 ], %i2                         
 203f7f4:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203f7f8:	83 28 60 08 	sll  %g1, 8, %g1                               
}                                                                     
                                                                      
uint64_t                                                              
rtems_rfs_fs_media_size (rtems_rfs_file_system* fs)                   
{                                                                     
  uint64_t media_blocks = (uint64_t) rtems_rfs_fs_media_blocks (fs);  
 203f7fc:	f2 06 e0 10 	ld  [ %i3 + 0x10 ], %i1                        
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;                                         
 203f800:	94 10 20 00 	clr  %o2                                       
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
  fs->block_size = read_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE);          
 203f804:	b5 2e a0 18 	sll  %i2, 0x18, %i2                            
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;                                         
 203f808:	90 10 20 00 	clr  %o0                                       
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    return EIO;                                                       
  }                                                                   
                                                                      
  fs->blocks     = read_sb (RTEMS_RFS_SB_OFFSET_BLOCKS);              
  fs->block_size = read_sb (RTEMS_RFS_SB_OFFSET_BLOCK_SIZE);          
 203f80c:	b4 16 80 03 	or  %i2, %g3, %i2                              
 203f810:	b4 16 80 02 	or  %i2, %g2, %i2                              
 203f814:	b4 16 80 01 	or  %i2, %g1, %i2                              
 203f818:	f4 26 e0 08 	st  %i2, [ %i3 + 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;                                         
 203f81c:	40 00 8a 78 	call  20621fc <__muldi3>                       
 203f820:	92 10 00 1a 	mov  %i2, %o1                                  
uint64_t                                                              
rtems_rfs_fs_media_size (rtems_rfs_file_system* fs)                   
{                                                                     
  uint64_t media_blocks = (uint64_t) rtems_rfs_fs_media_blocks (fs);  
  uint64_t media_block_size = (uint64_t) rtems_rfs_fs_media_block_size (fs);
  return media_blocks * media_block_size;                             
 203f824:	d6 06 60 1c 	ld  [ %i1 + 0x1c ], %o3                        
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;                                         
 203f828:	a0 10 00 09 	mov  %o1, %l0                                  
uint64_t                                                              
rtems_rfs_fs_media_size (rtems_rfs_file_system* fs)                   
{                                                                     
  uint64_t media_blocks = (uint64_t) rtems_rfs_fs_media_blocks (fs);  
  uint64_t media_block_size = (uint64_t) rtems_rfs_fs_media_block_size (fs);
  return media_blocks * media_block_size;                             
 203f82c:	d2 06 60 20 	ld  [ %i1 + 0x20 ], %o1                        
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;                                         
 203f830:	b0 10 00 08 	mov  %o0, %i0                                  
uint64_t                                                              
rtems_rfs_fs_media_size (rtems_rfs_file_system* fs)                   
{                                                                     
  uint64_t media_blocks = (uint64_t) rtems_rfs_fs_media_blocks (fs);  
  uint64_t media_block_size = (uint64_t) rtems_rfs_fs_media_block_size (fs);
  return media_blocks * media_block_size;                             
 203f834:	94 10 20 00 	clr  %o2                                       
 203f838:	40 00 8a 71 	call  20621fc <__muldi3>                       
 203f83c:	90 10 20 00 	clr  %o0                                       
  }                                                                   
                                                                      
  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))           
 203f840:	80 a6 00 08 	cmp  %i0, %o0                                  
 203f844:	38 80 00 3a 	bgu,a   203f92c <rtems_rfs_fs_open+0x3b8>      <== NEVER TAKEN
 203f848:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203f84c:	02 80 00 35 	be  203f920 <rtems_rfs_fs_open+0x3ac>          <== ALWAYS TAKEN
 203f850:	80 a4 00 09 	cmp  %l0, %o1                                  
              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)
 203f854:	c2 0f 60 24 	ldub  [ %i5 + 0x24 ], %g1                      <== NOT EXECUTED
 203f858:	c8 0f 60 25 	ldub  [ %i5 + 0x25 ], %g4                      
 203f85c:	c6 0f 60 27 	ldub  [ %i5 + 0x27 ], %g3                      
 203f860:	c4 0f 60 26 	ldub  [ %i5 + 0x26 ], %g2                      
 203f864:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 203f868:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203f86c:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203f870:	82 10 40 04 	or  %g1, %g4, %g1                              
 203f874:	82 10 40 03 	or  %g1, %g3, %g1                              
 203f878:	82 10 40 02 	or  %g1, %g2, %g1                              
 203f87c:	80 a0 60 38 	cmp  %g1, 0x38                                 
 203f880:	22 80 00 35 	be,a   203f954 <rtems_rfs_fs_open+0x3e0>       <== ALWAYS TAKEN
 203f884:	c6 0f 60 13 	ldub  [ %i5 + 0x13 ], %g3                      
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203f888:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203f88c:	7f ff 9d 7e 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203f890:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203f894:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203f898:	22 bf ff a9 	be,a   203f73c <rtems_rfs_fs_open+0x1c8>       <== NOT EXECUTED
 203f89c:	90 10 00 1b 	mov  %i3, %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);
 203f8a0:	c6 0f 60 05 	ldub  [ %i5 + 5 ], %g3                         <== NOT EXECUTED
 203f8a4:	c2 0f 60 06 	ldub  [ %i5 + 6 ], %g1                         <== NOT EXECUTED
 203f8a8:	d2 0f 60 04 	ldub  [ %i5 + 4 ], %o1                         <== NOT EXECUTED
 203f8ac:	c4 0f 60 07 	ldub  [ %i5 + 7 ], %g2                         <== NOT EXECUTED
 203f8b0:	87 28 e0 10 	sll  %g3, 0x10, %g3                            <== NOT EXECUTED
 203f8b4:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 203f8b8:	93 2a 60 18 	sll  %o1, 0x18, %o1                            <== 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",
 203f8bc:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
 203f8c0:	92 12 40 03 	or  %o1, %g3, %o1                              <== 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",
 203f8c4:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
              read_sb (RTEMS_RFS_SB_OFFSET_VERSION), RTEMS_RFS_VERSION_MASK);
 203f8c8:	92 12 40 02 	or  %o1, %g2, %o1                              <== 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",
 203f8cc:	90 12 21 a0 	or  %o0, 0x1a0, %o0                            <== NOT EXECUTED
 203f8d0:	40 00 36 4d 	call  204d204 <printf>                         <== NOT EXECUTED
 203f8d4:	92 12 40 01 	or  %o1, %g1, %o1                              <== NOT EXECUTED
 203f8d8:	10 bf ff 99 	b  203f73c <rtems_rfs_fs_open+0x1c8>           <== NOT EXECUTED
 203f8dc:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
   * Open the buffer interface.                                       
   */                                                                 
  rc = rtems_rfs_buffer_open (name, *fs);                             
  if (rc > 0)                                                         
  {                                                                   
    free (*fs);                                                       
 203f8e0:	7f ff 26 8b 	call  200930c <free>                           <== NOT EXECUTED
 203f8e4:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203f8e8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203f8ec:	7f ff 9d 66 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203f8f0:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203f8f4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203f8f8:	02 bf ff 74 	be  203f6c8 <rtems_rfs_fs_open+0x154>          <== NOT EXECUTED
 203f8fc:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: open: buffer open failed: %d: %s\n",        
 203f900:	40 00 3f 9a 	call  204f768 <strerror>                       <== NOT EXECUTED
 203f904:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203f908:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203f90c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203f910:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203f914:	40 00 36 3c 	call  204d204 <printf>                         <== NOT EXECUTED
 203f918:	90 12 20 b8 	or  %o0, 0xb8, %o0	! 206e8b8 <__FUNCTION__.7829+0x1120><== NOT EXECUTED
 203f91c:	30 bf ff 6b 	b,a   203f6c8 <rtems_rfs_fs_open+0x154>        <== NOT EXECUTED
  }                                                                   
                                                                      
  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))           
 203f920:	28 bf ff ce 	bleu,a   203f858 <rtems_rfs_fs_open+0x2e4>     <== ALWAYS TAKEN
 203f924:	c2 0f 60 24 	ldub  [ %i5 + 0x24 ], %g1                      
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203f928:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203f92c:	7f ff 9d 56 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203f930:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203f934:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203f938:	22 bf ff 81 	be,a   203f73c <rtems_rfs_fs_open+0x1c8>       <== NOT EXECUTED
 203f93c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block/size count\n");
 203f940:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203f944:	40 00 36 c8 	call  204d464 <puts>                           <== NOT EXECUTED
 203f948:	90 12 21 60 	or  %o0, 0x160, %o0	! 206e960 <__FUNCTION__.7829+0x11c8><== NOT EXECUTED
 203f94c:	10 bf ff 7c 	b  203f73c <rtems_rfs_fs_open+0x1c8>           <== NOT EXECUTED
 203f950:	90 10 00 1b 	mov  %i3, %o0                                  <== 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);     
 203f954:	c2 0f 60 10 	ldub  [ %i5 + 0x10 ], %g1                      
 203f958:	c8 0f 60 11 	ldub  [ %i5 + 0x11 ], %g4                      
 203f95c:	c4 0f 60 12 	ldub  [ %i5 + 0x12 ], %g2                      
 203f960:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203f964:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203f968:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 203f96c:	82 10 40 04 	or  %g1, %g4, %g1                              
 203f970:	82 10 40 03 	or  %g1, %g3, %g1                              
 203f974:	82 10 40 02 	or  %g1, %g2, %g1                              
 203f978:	c2 26 e0 18 	st  %g1, [ %i3 + 0x18 ]                        
  fs->max_name_length = read_sb (RTEMS_RFS_SB_OFFSET_MAX_NAME_LENGTH);
 203f97c:	c6 0f 60 17 	ldub  [ %i5 + 0x17 ], %g3                      
 203f980:	c2 0f 60 14 	ldub  [ %i5 + 0x14 ], %g1                      
 203f984:	c8 0f 60 15 	ldub  [ %i5 + 0x15 ], %g4                      
 203f988:	c4 0f 60 16 	ldub  [ %i5 + 0x16 ], %g2                      
 203f98c:	89 29 20 10 	sll  %g4, 0x10, %g4                            
 203f990:	85 28 a0 08 	sll  %g2, 8, %g2                               
 203f994:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 203f998:	82 10 40 04 	or  %g1, %g4, %g1                              
 203f99c:	82 10 40 03 	or  %g1, %g3, %g1                              
 203f9a0:	82 10 40 02 	or  %g1, %g2, %g1                              
 203f9a4:	c2 26 e0 1c 	st  %g1, [ %i3 + 0x1c ]                        
  fs->group_count     = read_sb (RTEMS_RFS_SB_OFFSET_GROUPS);         
 203f9a8:	c6 0f 60 19 	ldub  [ %i5 + 0x19 ], %g3                      
 203f9ac:	c2 0f 60 1a 	ldub  [ %i5 + 0x1a ], %g1                      
 203f9b0:	c4 0f 60 1b 	ldub  [ %i5 + 0x1b ], %g2                      
 203f9b4:	f0 0f 60 18 	ldub  [ %i5 + 0x18 ], %i0                      
 203f9b8:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203f9bc:	83 28 60 08 	sll  %g1, 8, %g1                               
 203f9c0:	b1 2e 20 18 	sll  %i0, 0x18, %i0                            
 203f9c4:	b0 16 00 03 	or  %i0, %g3, %i0                              
 203f9c8:	b0 16 00 02 	or  %i0, %g2, %i0                              
 203f9cc:	b0 16 00 01 	or  %i0, %g1, %i0                              
 203f9d0:	f0 26 e0 24 	st  %i0, [ %i3 + 0x24 ]                        
  fs->group_blocks    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_BLOCKS);   
 203f9d4:	c4 0f 60 1f 	ldub  [ %i5 + 0x1f ], %g2                      
 203f9d8:	f2 0f 60 1c 	ldub  [ %i5 + 0x1c ], %i1                      
 203f9dc:	c6 0f 60 1d 	ldub  [ %i5 + 0x1d ], %g3                      
 203f9e0:	c2 0f 60 1e 	ldub  [ %i5 + 0x1e ], %g1                      
 203f9e4:	87 28 e0 10 	sll  %g3, 0x10, %g3                            
 203f9e8:	83 28 60 08 	sll  %g1, 8, %g1                               
 203f9ec:	b3 2e 60 18 	sll  %i1, 0x18, %i1                            
 203f9f0:	b2 16 40 03 	or  %i1, %g3, %i1                              
 203f9f4:	b2 16 40 02 	or  %i1, %g2, %i1                              
 203f9f8:	b2 16 40 01 	or  %i1, %g1, %i1                              
 203f9fc:	f2 26 e0 28 	st  %i1, [ %i3 + 0x28 ]                        
  fs->group_inodes    = read_sb (RTEMS_RFS_SB_OFFSET_GROUP_INODES);   
 203fa00:	c4 0f 60 21 	ldub  [ %i5 + 0x21 ], %g2                      
 203fa04:	de 0f 60 20 	ldub  [ %i5 + 0x20 ], %o7                      
 203fa08:	c6 0f 60 22 	ldub  [ %i5 + 0x22 ], %g3                      
 203fa0c:	c8 0f 60 23 	ldub  [ %i5 + 0x23 ], %g4                      
 203fa10:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
                                                                      
  fs->blocks_per_block =                                              
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
 203fa14:	83 36 a0 02 	srl  %i2, 2, %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);   
 203fa18:	bb 2b e0 18 	sll  %o7, 0x18, %i5                            
 203fa1c:	87 28 e0 08 	sll  %g3, 8, %g3                               
 203fa20:	ba 17 40 02 	or  %i5, %g2, %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;                    
 203fa24:	85 28 60 02 	sll  %g1, 2, %g2                               
 203fa28:	84 00 80 01 	add  %g2, %g1, %g2                             
                                                                      
  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);   
 203fa2c:	ba 17 40 04 	or  %i5, %g4, %i5                              
    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;
 203fa30:	92 10 00 01 	mov  %g1, %o1                                  
                                                                      
  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);   
 203fa34:	ba 17 40 03 	or  %i5, %g3, %i5                              
                                                                      
  fs->blocks_per_block =                                              
    rtems_rfs_fs_block_size (fs) / sizeof (rtems_rfs_inode_block);    
                                                                      
  fs->block_map_singly_blocks =                                       
 203fa38:	c4 26 e0 38 	st  %g2, [ %i3 + 0x38 ]                        
    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;
 203fa3c:	90 10 00 01 	mov  %g1, %o0                                  
  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);   
                                                                      
  fs->blocks_per_block =                                              
 203fa40:	c2 26 e0 34 	st  %g1, [ %i3 + 0x34 ]                        
    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;
 203fa44:	7f ff 0d 48 	call  2002f64 <.umul>                          
 203fa48:	fa 26 e0 2c 	st  %i5, [ %i3 + 0x2c ]                        
 203fa4c:	83 2a 20 02 	sll  %o0, 2, %g1                               
 203fa50:	82 00 40 08 	add  %g1, %o0, %g1                             
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
 203fa54:	92 10 00 18 	mov  %i0, %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 =                                       
 203fa58:	c2 26 e0 3c 	st  %g1, [ %i3 + 0x3c ]                        
    fs->blocks_per_block * fs->blocks_per_block * RTEMS_RFS_INODE_BLOCKS;
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
 203fa5c:	7f ff 0d 42 	call  2002f64 <.umul>                          
 203fa60:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
 203fa64:	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;                    
 203fa68:	d0 26 e0 14 	st  %o0, [ %i3 + 0x14 ]                        
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
 203fa6c:	40 00 88 8c 	call  2061c9c <.udiv>                          
 203fa70:	90 10 00 1a 	mov  %i2, %o0                                  
 203fa74:	d0 26 e0 30 	st  %o0, [ %i3 + 0x30 ]                        
                                                                      
  if (fs->group_blocks >                                              
      rtems_rfs_bitmap_numof_bits (rtems_rfs_fs_block_size (fs)))     
 203fa78:	b5 2e a0 03 	sll  %i2, 3, %i2                               
 203fa7c:	92 07 bf cc 	add  %fp, -52, %o1                             
                                                                      
  fs->inodes = fs->group_count * fs->group_inodes;                    
                                                                      
  fs->inodes_per_block = fs->block_size / RTEMS_RFS_INODE_SIZE;       
                                                                      
  if (fs->group_blocks >                                              
 203fa80:	80 a6 40 1a 	cmp  %i1, %i2                                  
 203fa84:	08 80 00 10 	bleu  203fac4 <rtems_rfs_fs_open+0x550>        <== ALWAYS TAKEN
 203fa88:	90 10 00 1b 	mov  %i3, %o0                                  
 203fa8c:	7f ff f3 2b 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203fa90:	ba 10 20 05 	mov  5, %i5                                    <== 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))                       
 203fa94:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203fa98:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
  handle->dirty = false;                                              
 203fa9c:	c0 2f bf cc 	clrb  [ %fp + -52 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203faa0:	c0 27 bf d0 	clr  [ %fp + -48 ]                             <== NOT EXECUTED
 203faa4:	7f ff 9c f8 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203faa8:	c0 27 bf d4 	clr  [ %fp + -44 ]                             <== NOT EXECUTED
 203faac:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203fab0:	02 bf fe fc 	be  203f6a0 <rtems_rfs_fs_open+0x12c>          <== NOT EXECUTED
 203fab4:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: groups blocks larger than block bits\n");
 203fab8:	40 00 36 6b 	call  204d464 <puts>                           <== NOT EXECUTED
 203fabc:	90 12 21 e8 	or  %o0, 0x1e8, %o0	! 206e9e8 <__FUNCTION__.7829+0x1250><== NOT EXECUTED
 203fac0:	30 bf fe f8 	b,a   203f6a0 <rtems_rfs_fs_open+0x12c>        <== 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);                       
 203fac4:	7f ff f3 1d 	call  203c738 <rtems_rfs_buffer_handle_release>
 203fac8:	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));
 203facc:	d2 06 e0 08 	ld  [ %i3 + 8 ], %o1                           
  handle->dirty = false;                                              
 203fad0:	c0 2f bf cc 	clrb  [ %fp + -52 ]                            
  handle->bnum  = 0;                                                  
 203fad4:	c0 27 bf d0 	clr  [ %fp + -48 ]                             
  handle->buffer = NULL;                                              
 203fad8:	c0 27 bf d4 	clr  [ %fp + -44 ]                             
 203fadc:	7f ff f4 fc 	call  203cecc <rtems_rfs_buffer_setblksize>    
 203fae0:	90 10 00 1b 	mov  %i3, %o0                                  
  if (rc > 0)                                                         
 203fae4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203fae8:	04 80 00 23 	ble  203fb74 <rtems_rfs_fs_open+0x600>         <== ALWAYS TAKEN
 203faec:	92 07 bf cc 	add  %fp, -52, %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);                       
 203faf0:	7f ff f3 12 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203faf4:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203faf8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203fafc:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
  handle->dirty = false;                                              
 203fb00:	c0 2f bf cc 	clrb  [ %fp + -52 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203fb04:	c0 27 bf d0 	clr  [ %fp + -48 ]                             <== NOT EXECUTED
 203fb08:	7f ff 9c df 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203fb0c:	c0 27 bf d4 	clr  [ %fp + -44 ]                             <== NOT EXECUTED
 203fb10:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203fb14:	02 bf fe e3 	be  203f6a0 <rtems_rfs_fs_open+0x12c>          <== NOT EXECUTED
 203fb18:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block size%d: %s\n",
 203fb1c:	40 00 3f 13 	call  204f768 <strerror>                       <== NOT EXECUTED
 203fb20:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203fb24:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203fb28:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203fb2c:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203fb30:	40 00 35 b5 	call  204d204 <printf>                         <== NOT EXECUTED
 203fb34:	90 12 22 30 	or  %o0, 0x230, %o0	! 206ea30 <__FUNCTION__.7829+0x1298><== NOT EXECUTED
 203fb38:	30 bf fe da 	b,a   203f6a0 <rtems_rfs_fs_open+0x12c>        <== NOT EXECUTED
    printf ("rtems-rfs: open: %s\n", name);                           
                                                                      
  *fs = malloc (sizeof (rtems_rfs_file_system));                      
  if (!*fs)                                                           
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203fb3c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203fb40:	7f ff 9c d1 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203fb44:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203fb48:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203fb4c:	02 80 00 04 	be  203fb5c <rtems_rfs_fs_open+0x5e8>          <== NOT EXECUTED
 203fb50:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
      printf ("rtems-rfs: open: no memory for file system data\n");   
 203fb54:	40 00 36 44 	call  204d464 <puts>                           <== NOT EXECUTED
 203fb58:	90 12 20 88 	or  %o0, 0x88, %o0	! 206e888 <__FUNCTION__.7829+0x10f0><== NOT EXECUTED
    errno = ENOMEM;                                                   
 203fb5c:	40 00 23 6b 	call  2048908 <__errno>                        <== NOT EXECUTED
 203fb60:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 203fb64:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 203fb68:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 203fb6c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203fb70:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: invalid superblock block size%d: %s\n",
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  fs->groups = calloc (fs->group_count, sizeof (rtems_rfs_group));    
 203fb74:	fa 06 e0 24 	ld  [ %i3 + 0x24 ], %i5                        
 203fb78:	92 10 20 50 	mov  0x50, %o1                                 
 203fb7c:	7f ff 25 03 	call  2008f88 <calloc>                         
 203fb80:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  if (!fs->groups)                                                    
 203fb84:	80 a2 20 00 	cmp  %o0, 0                                    
 203fb88:	02 80 00 97 	be  203fde4 <rtems_rfs_fs_open+0x870>          <== NEVER TAKEN
 203fb8c:	d0 26 e0 20 	st  %o0, [ %i3 + 0x20 ]                        
  /*                                                                  
   * 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++)                   
 203fb90:	b2 10 20 00 	clr  %i1                                       
 203fb94:	80 a7 60 00 	cmp  %i5, 0                                    
 203fb98:	14 80 00 08 	bg  203fbb8 <rtems_rfs_fs_open+0x644>          <== ALWAYS TAKEN
 203fb9c:	b4 10 20 00 	clr  %i2                                       
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
 203fba0:	10 80 00 35 	b  203fc74 <rtems_rfs_fs_open+0x700>           <== NOT EXECUTED
 203fba4:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== 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++)                   
 203fba8:	b4 06 a0 01 	inc  %i2                                       
 203fbac:	80 a6 80 01 	cmp  %i2, %g1                                  
 203fbb0:	16 80 00 30 	bge  203fc70 <rtems_rfs_fs_open+0x6fc>         <== ALWAYS TAKEN
 203fbb4:	b2 06 60 50 	add  %i1, 0x50, %i1                            
  {                                                                   
    rc = rtems_rfs_group_open (fs,                                    
                               rtems_rfs_fs_block (fs, group, 0),     
 203fbb8:	fa 06 e0 28 	ld  [ %i3 + 0x28 ], %i5                        
 203fbbc:	90 10 00 1a 	mov  %i2, %o0                                  
 203fbc0:	7f ff 0c e9 	call  2002f64 <.umul>                          
 203fbc4:	92 10 00 1d 	mov  %i5, %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,                                    
 203fbc8:	d8 06 e0 20 	ld  [ %i3 + 0x20 ], %o4                        
 203fbcc:	d6 06 e0 2c 	ld  [ %i3 + 0x2c ], %o3                        
                               rtems_rfs_fs_block (fs, group, 0),     
 203fbd0:	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,                                    
 203fbd4:	94 10 00 1d 	mov  %i5, %o2                                  
 203fbd8:	98 03 00 19 	add  %o4, %i1, %o4                             
 203fbdc:	40 00 04 6c 	call  2040d8c <rtems_rfs_group_open>           
 203fbe0:	90 10 00 1b 	mov  %i3, %o0                                  
                               rtems_rfs_fs_block (fs, group, 0),     
                               fs->group_blocks,                      
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
 203fbe4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203fbe8:	24 bf ff f0 	ble,a   203fba8 <rtems_rfs_fs_open+0x634>      <== ALWAYS TAKEN
 203fbec:	c2 06 e0 24 	ld  [ %i3 + 0x24 ], %g1                        
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
 203fbf0:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 203fbf4:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 203fbf8:	02 80 00 0a 	be  203fc20 <rtems_rfs_fs_open+0x6ac>          <== NOT EXECUTED
 203fbfc:	b2 10 20 00 	clr  %i1                                       <== NOT EXECUTED
        rtems_rfs_group_close (fs, &fs->groups[g]);                   
 203fc00:	d2 06 e0 20 	ld  [ %i3 + 0x20 ], %o1                        <== NOT EXECUTED
 203fc04:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 203fc08:	40 00 04 ee 	call  2040fc0 <rtems_rfs_group_close>          <== NOT EXECUTED
 203fc0c:	92 02 40 18 	add  %o1, %i0, %o1                             <== NOT EXECUTED
                               fs->group_inodes,                      
                               &fs->groups[group]);                   
    if (rc > 0)                                                       
    {                                                                 
      int g;                                                          
      for (g = 0; g < group; g++)                                     
 203fc10:	b2 06 60 01 	inc  %i1                                       <== NOT EXECUTED
 203fc14:	80 a6 40 1a 	cmp  %i1, %i2                                  <== NOT EXECUTED
 203fc18:	12 bf ff fa 	bne  203fc00 <rtems_rfs_fs_open+0x68c>         <== NOT EXECUTED
 203fc1c:	b0 06 20 50 	add  %i0, 0x50, %i0                            <== 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);                       
 203fc20:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
 203fc24:	7f ff f2 c5 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203fc28:	90 10 00 1b 	mov  %i3, %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))                     
 203fc2c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203fc30:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
  handle->dirty = false;                                              
 203fc34:	c0 2f bf cc 	clrb  [ %fp + -52 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203fc38:	c0 27 bf d0 	clr  [ %fp + -48 ]                             <== NOT EXECUTED
 203fc3c:	7f ff 9c 92 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203fc40:	c0 27 bf d4 	clr  [ %fp + -44 ]                             <== NOT EXECUTED
 203fc44:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203fc48:	02 bf fe 96 	be  203f6a0 <rtems_rfs_fs_open+0x12c>          <== NOT EXECUTED
 203fc4c:	01 00 00 00 	nop                                            <== NOT EXECUTED
        printf ("rtems-rfs: read-superblock: no memory for group table%d: %s\n",
 203fc50:	40 00 3e c6 	call  204f768 <strerror>                       <== NOT EXECUTED
 203fc54:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203fc58:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203fc5c:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203fc60:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203fc64:	40 00 35 68 	call  204d204 <printf>                         <== NOT EXECUTED
 203fc68:	90 12 22 b0 	or  %o0, 0x2b0, %o0	! 206eab0 <__FUNCTION__.7829+0x1318><== NOT EXECUTED
 203fc6c:	30 bf fe 8d 	b,a   203f6a0 <rtems_rfs_fs_open+0x12c>        <== NOT EXECUTED
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (*fs, RTEMS_RFS_ROOT_INO, &inode, true);  
 203fc70:	d0 07 00 00 	ld  [ %i4 ], %o0                               
 203fc74:	92 10 20 01 	mov  1, %o1                                    
 203fc78:	94 07 bf d8 	add  %fp, -40, %o2                             
 203fc7c:	40 00 06 79 	call  2041660 <rtems_rfs_inode_open>           
 203fc80:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 203fc84:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203fc88:	14 80 00 45 	bg  203fd9c <rtems_rfs_fs_open+0x828>          <== NEVER TAKEN
 203fc8c:	01 00 00 00 	nop                                            
              rc, strerror (rc));                                     
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  if (((*fs)->flags & RTEMS_RFS_FS_FORCE_OPEN) == 0)                  
 203fc90:	d0 07 00 00 	ld  [ %i4 ], %o0                               
 203fc94:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 203fc98:	80 88 60 04 	btst  4, %g1                                   
 203fc9c:	12 80 00 10 	bne  203fcdc <rtems_rfs_fs_open+0x768>         
 203fca0:	c2 07 bf e4 	ld  [ %fp + -28 ], %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);                    
 203fca4:	c4 08 60 03 	ldub  [ %g1 + 3 ], %g2                         
 203fca8:	c6 08 60 02 	ldub  [ %g1 + 2 ], %g3                         
 203fcac:	83 28 e0 08 	sll  %g3, 8, %g1                               
 203fcb0:	82 10 40 02 	or  %g1, %g2, %g1                              
  {                                                                   
    mode = rtems_rfs_inode_get_mode (&inode);                         
                                                                      
    if ((mode == 0xffff) || !RTEMS_RFS_S_ISDIR (mode))                
 203fcb4:	05 3f ff c0 	sethi  %hi(0xffff0000), %g2                    
 203fcb8:	87 28 60 10 	sll  %g1, 0x10, %g3                            
 203fcbc:	80 a0 c0 02 	cmp  %g3, %g2                                  
 203fcc0:	02 80 00 23 	be  203fd4c <rtems_rfs_fs_open+0x7d8>          <== NEVER TAKEN
 203fcc4:	05 00 00 3c 	sethi  %hi(0xf000), %g2                        
 203fcc8:	82 08 40 02 	and  %g1, %g2, %g1                             
 203fccc:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 203fcd0:	80 a0 40 02 	cmp  %g1, %g2                                  
 203fcd4:	12 80 00 1e 	bne  203fd4c <rtems_rfs_fs_open+0x7d8>         <== NEVER TAKEN
 203fcd8:	01 00 00 00 	nop                                            
      errno = EIO;                                                    
      return -1;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (*fs, &inode);                           
 203fcdc:	40 00 06 d9 	call  2041840 <rtems_rfs_inode_close>          
 203fce0:	92 07 bf d8 	add  %fp, -40, %o1                             
  if (rc > 0)                                                         
 203fce4:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 203fce8:	14 80 00 07 	bg  203fd04 <rtems_rfs_fs_open+0x790>          <== NEVER TAKEN
 203fcec:	01 00 00 00 	nop                                            
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
    errno = rc;                                                       
    return -1;                                                        
  }                                                                   
                                                                      
  errno = 0;                                                          
 203fcf0:	40 00 23 06 	call  2048908 <__errno>                        
 203fcf4:	b0 10 20 00 	clr  %i0	! 0 <PROM_START>                      
 203fcf8:	c0 22 00 00 	clr  [ %o0 ]                                   
 203fcfc:	81 c7 e0 08 	ret                                            
 203fd00:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (*fs, &inode);                           
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_close (*fs);                                     
 203fd04:	7f ff f4 bb 	call  203cff0 <rtems_rfs_buffer_close>         <== NOT EXECUTED
 203fd08:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
    free (*fs);                                                       
 203fd0c:	7f ff 25 80 	call  200930c <free>                           <== NOT EXECUTED
 203fd10:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203fd14:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203fd18:	7f ff 9c 5b 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203fd1c:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203fd20:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203fd24:	02 bf fe 69 	be  203f6c8 <rtems_rfs_fs_open+0x154>          <== NOT EXECUTED
 203fd28:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: open: closing root inode: %d: %s\n", rc, strerror (rc));
 203fd2c:	40 00 3e 8f 	call  204f768 <strerror>                       <== NOT EXECUTED
 203fd30:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203fd34:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203fd38:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203fd3c:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203fd40:	40 00 35 31 	call  204d204 <printf>                         <== NOT EXECUTED
 203fd44:	90 12 23 80 	or  %o0, 0x380, %o0	! 206eb80 <__FUNCTION__.7829+0x13e8><== NOT EXECUTED
 203fd48:	30 bf fe 60 	b,a   203f6c8 <rtems_rfs_fs_open+0x154>        <== NOT EXECUTED
  {                                                                   
    mode = rtems_rfs_inode_get_mode (&inode);                         
                                                                      
    if ((mode == 0xffff) || !RTEMS_RFS_S_ISDIR (mode))                
    {                                                                 
      rtems_rfs_inode_close (*fs, &inode);                            
 203fd4c:	40 00 06 bd 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 203fd50:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
      rtems_rfs_buffer_close (*fs);                                   
 203fd54:	7f ff f4 a7 	call  203cff0 <rtems_rfs_buffer_close>         <== NOT EXECUTED
 203fd58:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
      free (*fs);                                                     
 203fd5c:	7f ff 25 6c 	call  200930c <free>                           <== NOT EXECUTED
 203fd60:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                     
 203fd64:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203fd68:	7f ff 9c 47 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203fd6c:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203fd70:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203fd74:	02 80 00 04 	be  203fd84 <rtems_rfs_fs_open+0x810>          <== NOT EXECUTED
 203fd78:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
        printf ("rtems-rfs: open: invalid root inode mode\n");        
 203fd7c:	40 00 35 ba 	call  204d464 <puts>                           <== NOT EXECUTED
 203fd80:	90 12 23 50 	or  %o0, 0x350, %o0	! 206eb50 <__FUNCTION__.7829+0x13b8><== NOT EXECUTED
      errno = EIO;                                                    
 203fd84:	40 00 22 e1 	call  2048908 <__errno>                        <== NOT EXECUTED
 203fd88:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 203fd8c:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 203fd90:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 203fd94:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203fd98:	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);                                     
 203fd9c:	7f ff f4 95 	call  203cff0 <rtems_rfs_buffer_close>         <== NOT EXECUTED
 203fda0:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
    free (*fs);                                                       
 203fda4:	7f ff 25 5a 	call  200930c <free>                           <== NOT EXECUTED
 203fda8:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203fdac:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203fdb0:	7f ff 9c 35 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203fdb4:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 203fdb8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203fdbc:	02 bf fe 43 	be  203f6c8 <rtems_rfs_fs_open+0x154>          <== NOT EXECUTED
 203fdc0:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: open: reading root inode: %d: %s\n",        
 203fdc4:	40 00 3e 69 	call  204f768 <strerror>                       <== NOT EXECUTED
 203fdc8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 203fdcc:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 203fdd0:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 203fdd4:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
 203fdd8:	40 00 35 0b 	call  204d204 <printf>                         <== NOT EXECUTED
 203fddc:	90 12 23 20 	or  %o0, 0x320, %o0	! 206eb20 <__FUNCTION__.7829+0x1388><== NOT EXECUTED
 203fde0:	30 bf fe 3a 	b,a   203f6c8 <rtems_rfs_fs_open+0x154>        <== 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);                       
 203fde4:	92 07 bf cc 	add  %fp, -52, %o1                             <== NOT EXECUTED
 203fde8:	7f ff f2 54 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 203fdec:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
  fs->groups = calloc (fs->group_count, sizeof (rtems_rfs_group));    
                                                                      
  if (!fs->groups)                                                    
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &handle);                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_OPEN))                       
 203fdf0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203fdf4:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
  handle->dirty = false;                                              
 203fdf8:	c0 2f bf cc 	clrb  [ %fp + -52 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 203fdfc:	c0 27 bf d0 	clr  [ %fp + -48 ]                             <== NOT EXECUTED
  handle->buffer = NULL;                                              
 203fe00:	c0 27 bf d4 	clr  [ %fp + -44 ]                             <== NOT EXECUTED
 203fe04:	7f ff 9c 20 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 203fe08:	ba 10 20 0c 	mov  0xc, %i5                                  <== NOT EXECUTED
 203fe0c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 203fe10:	02 bf fe 24 	be  203f6a0 <rtems_rfs_fs_open+0x12c>          <== NOT EXECUTED
 203fe14:	11 00 81 ba 	sethi  %hi(0x206e800), %o0                     <== NOT EXECUTED
      printf ("rtems-rfs: read-superblock: no memory for group table\n");
 203fe18:	40 00 35 93 	call  204d464 <puts>                           <== NOT EXECUTED
 203fe1c:	90 12 22 78 	or  %o0, 0x278, %o0	! 206ea78 <__FUNCTION__.7829+0x12e0><== NOT EXECUTED
 203fe20:	30 bf fe 20 	b,a   203f6a0 <rtems_rfs_fs_open+0x12c>        <== NOT EXECUTED
                                                                      

0203f528 <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) {
 203f528:	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;                                         
 203f52c:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           <== NOT EXECUTED
 203f530:	d6 06 20 04 	ld  [ %i0 + 4 ], %o3                           <== NOT EXECUTED
 203f534:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 203f538:	40 00 8b 31 	call  20621fc <__muldi3>                       <== NOT EXECUTED
 203f53c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
}                                                                     
 203f540:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
 203f544:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203f548:	93 e8 00 09 	restore  %g0, %o1, %o1                         <== NOT EXECUTED
                                                                      

0204106c <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) {
 204106c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_bitmap_bit bit;                                           
  int                  offset;                                        
  bool                 updown;                                        
  int                  direction;                                     
                                                                      
  if (inode)                                                          
 2041070:	80 a6 a0 00 	cmp  %i2, 0                                    
 2041074:	22 80 00 04 	be,a   2041084 <rtems_rfs_group_bitmap_alloc+0x18>
 2041078:	e6 06 20 28 	ld  [ %i0 + 0x28 ], %l3                        
  {                                                                   
    size = fs->group_inodes;                                          
 204107c:	e6 06 20 2c 	ld  [ %i0 + 0x2c ], %l3                        
    goal -= RTEMS_RFS_ROOT_INO;                                       
 2041080:	b2 06 7f ff 	add  %i1, -1, %i1                              
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
 2041084:	90 10 00 19 	mov  %i1, %o0                                  
 2041088:	40 00 83 05 	call  2061c9c <.udiv>                          
 204108c:	92 10 00 13 	mov  %l3, %o1                                  
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
 2041090:	92 10 00 13 	mov  %l3, %o1                                  
    goal -= RTEMS_RFS_ROOT_INO;                                       
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
 2041094:	a2 10 00 08 	mov  %o0, %l1                                  
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
  offset = 0;                                                         
  updown = true;                                                      
  direction = 1;                                                      
 2041098:	b8 10 20 01 	mov  1, %i4                                    
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
 204109c:	90 10 00 19 	mov  %i1, %o0                                  
 20410a0:	40 00 83 ab 	call  2061f4c <.urem>                          
 20410a4:	ba 10 00 11 	mov  %l1, %i5                                  
  offset = 0;                                                         
  updown = true;                                                      
 20410a8:	a0 10 20 01 	mov  1, %l0                                    
  }                                                                   
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
 20410ac:	d0 27 bf fc 	st  %o0, [ %fp + -4 ]                          
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
 20410b0:	c0 2f bf fb 	clrb  [ %fp + -5 ]                             
  else                                                                
    size = fs->group_blocks;                                          
                                                                      
  group_start = goal / size;                                          
  bit = (rtems_rfs_bitmap_bit) (goal % size);                         
  offset = 0;                                                         
 20410b4:	b2 10 20 00 	clr  %i1                                       
    /*                                                                
     * 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))                    
 20410b8:	80 a7 60 00 	cmp  %i5, 0                                    
 20410bc:	06 80 00 32 	bl  2041184 <rtems_rfs_group_bitmap_alloc+0x118><== NEVER TAKEN
 20410c0:	80 8c 20 ff 	btst  0xff, %l0                                
 20410c4:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
 20410c8:	80 a0 40 1d 	cmp  %g1, %i5                                  
 20410cc:	04 80 00 2e 	ble  2041184 <rtems_rfs_group_bitmap_alloc+0x118>
 20410d0:	80 8c 20 ff 	btst  0xff, %l0                                
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
      bitmap = &fs->groups[group].inode_bitmap;                       
 20410d4:	e4 06 20 20 	ld  [ %i0 + 0x20 ], %l2                        
 20410d8:	ab 2f 60 04 	sll  %i5, 4, %l5                               
 20410dc:	a9 2f 60 06 	sll  %i5, 6, %l4                               
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
 20410e0:	80 a6 a0 00 	cmp  %i2, 0                                    
      bitmap = &fs->groups[group].inode_bitmap;                       
 20410e4:	82 05 40 14 	add  %l5, %l4, %g1                             
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
      continue;                                                       
    }                                                                 
                                                                      
   if (inode)                                                         
 20410e8:	02 80 00 46 	be  2041200 <rtems_rfs_group_bitmap_alloc+0x194>
 20410ec:	a4 04 80 01 	add  %l2, %g1, %l2                             
      bitmap = &fs->groups[group].inode_bitmap;                       
 20410f0:	a4 04 a0 2c 	add  %l2, 0x2c, %l2                            
    else                                                              
      bitmap = &fs->groups[group].block_bitmap;                       
                                                                      
    rc = rtems_rfs_bitmap_map_alloc (bitmap, bit, &allocated, &bit);  
 20410f4:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
 20410f8:	90 10 00 12 	mov  %l2, %o0                                  
 20410fc:	94 07 bf fb 	add  %fp, -5, %o2                              
 2041100:	40 00 1b 88 	call  2047f20 <rtems_rfs_bitmap_map_alloc>     
 2041104:	96 07 bf fc 	add  %fp, -4, %o3                              
    if (rc > 0)                                                       
 2041108:	80 a2 20 00 	cmp  %o0, 0                                    
 204110c:	14 80 00 3b 	bg  20411f8 <rtems_rfs_group_bitmap_alloc+0x18c><== NEVER TAKEN
 2041110:	01 00 00 00 	nop                                            
      return rc;                                                      
                                                                      
    if (rtems_rfs_fs_release_bitmaps (fs))                            
 2041114:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 2041118:	80 88 60 01 	btst  1, %g1                                   
 204111c:	22 80 00 3b 	be,a   2041208 <rtems_rfs_group_bitmap_alloc+0x19c><== ALWAYS TAKEN
 2041120:	d2 04 80 00 	ld  [ %l2 ], %o1                               
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
                                                                      
    if (allocated)                                                    
 2041124:	c2 0f bf fb 	ldub  [ %fp + -5 ], %g1                        <== NOT EXECUTED
 2041128:	80 a0 60 00 	cmp  %g1, 0                                    
 204112c:	12 80 00 3b 	bne  2041218 <rtems_rfs_group_bitmap_alloc+0x1ac>
 2041130:	80 8c 20 ff 	btst  0xff, %l0                                
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
    }                                                                 
                                                                      
    if (updown)                                                       
 2041134:	22 80 00 07 	be,a   2041150 <rtems_rfs_group_bitmap_alloc+0xe4><== NEVER TAKEN
 2041138:	b2 06 60 01 	inc  %i1                                       <== NOT EXECUTED
      direction = direction > 0 ? -1 : 1;                             
 204113c:	80 a7 20 00 	cmp  %i4, 0                                    
 2041140:	04 80 00 03 	ble  204114c <rtems_rfs_group_bitmap_alloc+0xe0><== NEVER TAKEN
 2041144:	b8 10 20 01 	mov  1, %i4                                    
 2041148:	b8 10 3f ff 	mov  -1, %i4                                   
                                                                      
    offset++;                                                         
 204114c:	b2 06 60 01 	inc  %i1                                       
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
 2041150:	c0 2f bf fb 	clrb  [ %fp + -5 ]                             
                                                                      
    /*                                                                
     * 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);                       
 2041154:	90 10 00 1c 	mov  %i4, %o0                                  
 2041158:	7f ff 07 83 	call  2002f64 <.umul>                          
 204115c:	92 10 00 19 	mov  %i1, %o1                                  
    if (offset)                                                       
      bit = direction > 0 ? 0 : size - 1;                             
 2041160:	82 10 20 00 	clr  %g1                                       
 2041164:	80 a7 20 00 	cmp  %i4, 0                                    
 2041168:	04 80 00 17 	ble  20411c4 <rtems_rfs_group_bitmap_alloc+0x158><== ALWAYS TAKEN
 204116c:	ba 02 00 11 	add  %o0, %l1, %i5                             
 2041170:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
    /*                                                                
     * 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))                    
 2041174:	80 a7 60 00 	cmp  %i5, 0                                    
 2041178:	36 bf ff d4 	bge,a   20410c8 <rtems_rfs_group_bitmap_alloc+0x5c>
 204117c:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
    {                                                                 
      if (!updown)                                                    
 2041180:	80 8c 20 ff 	btst  0xff, %l0                                
 2041184:	02 80 00 13 	be  20411d0 <rtems_rfs_group_bitmap_alloc+0x164>
 2041188:	80 a7 20 00 	cmp  %i4, 0                                    
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
 204118c:	04 80 00 03 	ble  2041198 <rtems_rfs_group_bitmap_alloc+0x12c><== ALWAYS TAKEN
 2041190:	b8 10 20 01 	mov  1, %i4                                    
 2041194:	b8 10 3f ff 	mov  -1, %i4                                   <== NOT EXECUTED
   */                                                                 
  while (true)                                                        
  {                                                                   
    rtems_rfs_bitmap_control* bitmap;                                 
    int                       group;                                  
    bool                      allocated = false;                      
 2041198:	c0 2f bf fb 	clrb  [ %fp + -5 ]                             
                                                                      
    /*                                                                
     * 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);                       
 204119c:	90 10 00 1c 	mov  %i4, %o0                                  
 20411a0:	7f ff 07 71 	call  2002f64 <.umul>                          
 20411a4:	92 10 00 19 	mov  %i1, %o1                                  
    if ((group < 0) || (group >= fs->group_count))                    
    {                                                                 
      if (!updown)                                                    
        break;                                                        
      direction = direction > 0 ? -1 : 1;                             
      updown = false;                                                 
 20411a8:	a0 10 20 00 	clr  %l0                                       
    /*                                                                
     * 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);                       
    if (offset)                                                       
 20411ac:	80 a6 60 00 	cmp  %i1, 0                                    
 20411b0:	02 bf ff c2 	be  20410b8 <rtems_rfs_group_bitmap_alloc+0x4c><== NEVER TAKEN
 20411b4:	ba 02 00 11 	add  %o0, %l1, %i5                             
      bit = direction > 0 ? 0 : size - 1;                             
 20411b8:	80 a7 20 00 	cmp  %i4, 0                                    
 20411bc:	14 bf ff ed 	bg  2041170 <rtems_rfs_group_bitmap_alloc+0x104><== ALWAYS TAKEN
 20411c0:	82 10 20 00 	clr  %g1                                       
 20411c4:	82 04 ff ff 	add  %l3, -1, %g1                              
 20411c8:	10 bf ff eb 	b  2041174 <rtems_rfs_group_bitmap_alloc+0x108>
 20411cc:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
      direction = direction > 0 ? -1 : 1;                             
                                                                      
    offset++;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
 20411d0:	90 10 20 00 	clr  %o0                                       
 20411d4:	7f ff 97 2c 	call  2026e84 <rtems_rfs_trace>                
 20411d8:	13 00 00 80 	sethi  %hi(0x20000), %o1                       
 20411dc:	80 8a 20 ff 	btst  0xff, %o0                                
 20411e0:	22 80 00 06 	be,a   20411f8 <rtems_rfs_group_bitmap_alloc+0x18c><== ALWAYS TAKEN
 20411e4:	90 10 20 1c 	mov  0x1c, %o0                                 
    printf ("rtems-rfs: group-bitmap-alloc: no blocks available\n");  
 20411e8:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 20411ec:	40 00 30 9e 	call  204d464 <puts>                           <== NOT EXECUTED
 20411f0:	90 12 21 78 	or  %o0, 0x178, %o0	! 206f578 <__FUNCTION__.7829+0x1de0><== NOT EXECUTED
                                                                      
  return ENOSPC;                                                      
 20411f4:	90 10 20 1c 	mov  0x1c, %o0                                 <== NOT EXECUTED
}                                                                     
 20411f8:	81 c7 e0 08 	ret                                            
 20411fc:	91 e8 00 08 	restore  %g0, %o0, %o0                         
    }                                                                 
                                                                      
   if (inode)                                                         
      bitmap = &fs->groups[group].inode_bitmap;                       
    else                                                              
      bitmap = &fs->groups[group].block_bitmap;                       
 2041200:	10 bf ff bd 	b  20410f4 <rtems_rfs_group_bitmap_alloc+0x88> 
 2041204:	a4 04 a0 08 	add  %l2, 8, %l2                               
    rc = rtems_rfs_bitmap_map_alloc (bitmap, bit, &allocated, &bit);  
    if (rc > 0)                                                       
      return rc;                                                      
                                                                      
    if (rtems_rfs_fs_release_bitmaps (fs))                            
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
 2041208:	7f ff ed 4c 	call  203c738 <rtems_rfs_buffer_handle_release>
 204120c:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
    if (allocated)                                                    
 2041210:	10 bf ff c6 	b  2041128 <rtems_rfs_group_bitmap_alloc+0xbc> 
 2041214:	c2 0f bf fb 	ldub  [ %fp + -5 ], %g1                        
    {                                                                 
      if (inode)                                                      
 2041218:	80 a6 a0 00 	cmp  %i2, 0                                    
 204121c:	32 80 00 15 	bne,a   2041270 <rtems_rfs_group_bitmap_alloc+0x204>
 2041220:	d2 06 20 2c 	ld  [ %i0 + 0x2c ], %o1                        
        *result = rtems_rfs_group_inode (fs, group, bit);             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
 2041224:	c2 06 20 20 	ld  [ %i0 + 0x20 ], %g1                        
 2041228:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
 204122c:	a8 05 40 14 	add  %l5, %l4, %l4                             
 2041230:	c2 00 40 14 	ld  [ %g1 + %l4 ], %g1                         
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
 2041234:	90 10 20 00 	clr  %o0                                       
    if (allocated)                                                    
    {                                                                 
      if (inode)                                                      
        *result = rtems_rfs_group_inode (fs, group, bit);             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
 2041238:	82 00 80 01 	add  %g2, %g1, %g1                             
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
 204123c:	13 00 00 80 	sethi  %hi(0x20000), %o1                       
 2041240:	7f ff 97 11 	call  2026e84 <rtems_rfs_trace>                
 2041244:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
 2041248:	80 8a 20 ff 	btst  0xff, %o0                                
 204124c:	02 80 00 07 	be  2041268 <rtems_rfs_group_bitmap_alloc+0x1fc><== ALWAYS TAKEN
 2041250:	13 00 81 a6 	sethi  %hi(0x2069800), %o1                     
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
 2041254:	92 12 61 e8 	or  %o1, 0x1e8, %o1	! 20699e8 <rtems_rfs_rtems_eval_config+0x810><== NOT EXECUTED
 2041258:	d4 06 c0 00 	ld  [ %i3 ], %o2                               <== NOT EXECUTED
 204125c:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2041260:	40 00 2f e9 	call  204d204 <printf>                         <== NOT EXECUTED
 2041264:	90 12 21 40 	or  %o0, 0x140, %o0	! 206f540 <__FUNCTION__.7829+0x1da8><== NOT EXECUTED
                inode ? "inode" : "block", *result);                  
      return 0;                                                       
 2041268:	10 bf ff e4 	b  20411f8 <rtems_rfs_group_bitmap_alloc+0x18c>
 204126c:	90 10 20 00 	clr  %o0                                       
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
                                                                      
    if (allocated)                                                    
    {                                                                 
      if (inode)                                                      
        *result = rtems_rfs_group_inode (fs, group, bit);             
 2041270:	90 10 00 1d 	mov  %i5, %o0                                  
 2041274:	7f ff 07 3c 	call  2002f64 <.umul>                          
 2041278:	fa 07 bf fc 	ld  [ %fp + -4 ], %i5                          
 204127c:	ba 07 60 01 	inc  %i5                                       
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
 2041280:	13 00 00 80 	sethi  %hi(0x20000), %o1                       
      rtems_rfs_bitmap_release_buffer (fs, bitmap);                   
                                                                      
    if (allocated)                                                    
    {                                                                 
      if (inode)                                                      
        *result = rtems_rfs_group_inode (fs, group, bit);             
 2041284:	ba 07 40 08 	add  %i5, %o0, %i5                             
      else                                                            
        *result = rtems_rfs_group_block (&fs->groups[group], bit);    
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))            
 2041288:	90 10 20 00 	clr  %o0                                       
 204128c:	7f ff 96 fe 	call  2026e84 <rtems_rfs_trace>                
 2041290:	fa 26 c0 00 	st  %i5, [ %i3 ]                               
 2041294:	80 8a 20 ff 	btst  0xff, %o0                                
 2041298:	02 bf ff f4 	be  2041268 <rtems_rfs_group_bitmap_alloc+0x1fc><== ALWAYS TAKEN
 204129c:	13 00 81 a6 	sethi  %hi(0x2069800), %o1                     
        printf ("rtems-rfs: group-bitmap-alloc: %s allocated: %" PRId32 "\n",
 20412a0:	10 bf ff ee 	b  2041258 <rtems_rfs_group_bitmap_alloc+0x1ec><== NOT EXECUTED
 20412a4:	92 12 62 f8 	or  %o1, 0x2f8, %o1	! 2069af8 <rtems_rfs_rtems_eval_config+0x920><== NOT EXECUTED
                                                                      

020412a8 <rtems_rfs_group_bitmap_free>: int rtems_rfs_group_bitmap_free (rtems_rfs_file_system* fs, bool inode, rtems_rfs_bitmap_bit no) {
 20412a8:	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))                
 20412ac:	90 10 20 00 	clr  %o0                                       
 20412b0:	13 00 00 80 	sethi  %hi(0x20000), %o1                       
 20412b4:	7f ff 96 f4 	call  2026e84 <rtems_rfs_trace>                
 20412b8:	ba 10 00 18 	mov  %i0, %i5                                  
 20412bc:	80 8a 20 ff 	btst  0xff, %o0                                
 20412c0:	02 80 00 0b 	be  20412ec <rtems_rfs_group_bitmap_free+0x44> <== ALWAYS TAKEN
 20412c4:	80 a6 60 00 	cmp  %i1, 0                                    
    printf ("rtems-rfs: group-bitmap-free: %s free: %" PRId32 "\n",   
 20412c8:	12 80 00 3a 	bne  20413b0 <rtems_rfs_group_bitmap_free+0x108><== NOT EXECUTED
 20412cc:	13 00 81 a6 	sethi  %hi(0x2069800), %o1                     <== NOT EXECUTED
 20412d0:	13 00 81 a6 	sethi  %hi(0x2069800), %o1                     <== NOT EXECUTED
 20412d4:	92 12 61 e8 	or  %o1, 0x1e8, %o1	! 20699e8 <rtems_rfs_rtems_eval_config+0x810><== NOT EXECUTED
 20412d8:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 20412dc:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 20412e0:	40 00 2f c9 	call  204d204 <printf>                         <== NOT EXECUTED
 20412e4:	90 12 21 b0 	or  %o0, 0x1b0, %o0                            <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
 20412e8:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 20412ec:	22 80 00 1a 	be,a   2041354 <rtems_rfs_group_bitmap_free+0xac>
 20412f0:	f8 07 60 28 	ld  [ %i5 + 0x28 ], %i4                        
  {                                                                   
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
 20412f4:	f8 07 60 2c 	ld  [ %i5 + 0x2c ], %i4                        
    printf ("rtems-rfs: group-bitmap-free: %s free: %" PRId32 "\n",   
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
  {                                                                   
    no -= RTEMS_RFS_ROOT_INO;                                         
 20412f8:	b4 06 bf ff 	add  %i2, -1, %i2                              
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 20412fc:	92 10 00 1c 	mov  %i4, %o1                                  
 2041300:	40 00 83 13 	call  2061f4c <.urem>                          
 2041304:	90 10 00 1a 	mov  %i2, %o0                                  
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 2041308:	92 10 00 1c 	mov  %i4, %o1                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 204130c:	b6 10 00 08 	mov  %o0, %i3                                  
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 2041310:	40 00 82 63 	call  2061c9c <.udiv>                          
 2041314:	90 10 00 1a 	mov  %i2, %o0                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
 2041318:	f8 07 60 20 	ld  [ %i5 + 0x20 ], %i4                        
 204131c:	83 2a 20 04 	sll  %o0, 4, %g1                               
 2041320:	91 2a 20 06 	sll  %o0, 6, %o0                               
 2041324:	90 00 40 08 	add  %g1, %o0, %o0                             
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
 2041328:	92 10 00 1b 	mov  %i3, %o1                                  
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
 204132c:	b8 07 00 08 	add  %i4, %o0, %i4                             
 2041330:	b8 07 20 2c 	add  %i4, 0x2c, %i4                            
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
 2041334:	40 00 1a 67 	call  2047cd0 <rtems_rfs_bitmap_map_clear>     
 2041338:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 204133c:	d2 07 00 00 	ld  [ %i4 ], %o1                               
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
 2041340:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 2041344:	7f ff ec fd 	call  203c738 <rtems_rfs_buffer_handle_release>
 2041348:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  return rc;                                                          
}                                                                     
 204134c:	81 c7 e0 08 	ret                                            
 2041350:	81 e8 00 00 	restore                                        
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
 2041354:	b4 06 bf ff 	add  %i2, -1, %i2                              
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 2041358:	92 10 00 1c 	mov  %i4, %o1                                  
 204135c:	40 00 82 fc 	call  2061f4c <.urem>                          
 2041360:	90 10 00 1a 	mov  %i2, %o0                                  
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 2041364:	92 10 00 1c 	mov  %i4, %o1                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 2041368:	b6 10 00 08 	mov  %o0, %i3                                  
  {                                                                   
    no -= RTEMS_RFS_SUPERBLOCK_SIZE;                                  
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 204136c:	40 00 82 4c 	call  2061c9c <.udiv>                          
 2041370:	90 10 00 1a 	mov  %i2, %o0                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
 2041374:	f8 07 60 20 	ld  [ %i5 + 0x20 ], %i4                        
 2041378:	83 2a 20 04 	sll  %o0, 4, %g1                               
 204137c:	91 2a 20 06 	sll  %o0, 6, %o0                               
 2041380:	90 00 40 08 	add  %g1, %o0, %o0                             
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
 2041384:	92 10 00 1b 	mov  %i3, %o1                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
 2041388:	b8 07 00 08 	add  %i4, %o0, %i4                             
 204138c:	b8 07 20 08 	add  %i4, 8, %i4                               
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
 2041390:	40 00 1a 50 	call  2047cd0 <rtems_rfs_bitmap_map_clear>     
 2041394:	90 10 00 1c 	mov  %i4, %o0                                  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 2041398:	d2 07 00 00 	ld  [ %i4 ], %o1                               
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
                                                                      
  rc = rtems_rfs_bitmap_map_clear (bitmap, bit);                      
 204139c:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 20413a0:	7f ff ec e6 	call  203c738 <rtems_rfs_buffer_handle_release>
 20413a4:	90 10 00 1d 	mov  %i5, %o0                                  
                                                                      
  return rc;                                                          
}                                                                     
 20413a8:	81 c7 e0 08 	ret                                            
 20413ac:	81 e8 00 00 	restore                                        
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
    printf ("rtems-rfs: group-bitmap-free: %s free: %" PRId32 "\n",   
 20413b0:	10 bf ff ca 	b  20412d8 <rtems_rfs_group_bitmap_free+0x30>  <== NOT EXECUTED
 20413b4:	92 12 62 f8 	or  %o1, 0x2f8, %o1                            <== NOT EXECUTED
                                                                      

020413b8 <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) {
 20413b8:	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))                
 20413bc:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 20413c0:	13 00 00 80 	sethi  %hi(0x20000), %o1                       <== NOT EXECUTED
 20413c4:	7f ff 96 b0 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20413c8:	ba 10 00 18 	mov  %i0, %i5                                  <== NOT EXECUTED
 20413cc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20413d0:	02 80 00 0b 	be  20413fc <rtems_rfs_group_bitmap_test+0x44> <== NOT EXECUTED
 20413d4:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
    printf ("rtems-rfs: group-bitmap-test: %s test: %" PRId32 "\n",   
 20413d8:	12 80 00 2f 	bne  2041494 <rtems_rfs_group_bitmap_test+0xdc><== NOT EXECUTED
 20413dc:	13 00 81 a6 	sethi  %hi(0x2069800), %o1                     <== NOT EXECUTED
 20413e0:	13 00 81 a6 	sethi  %hi(0x2069800), %o1                     <== NOT EXECUTED
 20413e4:	92 12 61 e8 	or  %o1, 0x1e8, %o1	! 20699e8 <rtems_rfs_rtems_eval_config+0x810><== NOT EXECUTED
 20413e8:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 20413ec:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 20413f0:	40 00 2f 85 	call  204d204 <printf>                         <== NOT EXECUTED
 20413f4:	90 12 21 e0 	or  %o0, 0x1e0, %o0                            <== NOT EXECUTED
            inode ? "inode" : "block", no);                           
                                                                      
  if (inode)                                                          
 20413f8:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 20413fc:	22 80 00 0b 	be,a   2041428 <rtems_rfs_group_bitmap_test+0x70><== NOT EXECUTED
 2041400:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           <== NOT EXECUTED
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
 2041404:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 2041408:	04 80 00 06 	ble  2041420 <rtems_rfs_group_bitmap_test+0x68><== NOT EXECUTED
 204140c:	b0 10 20 16 	mov  0x16, %i0                                 <== NOT EXECUTED
 2041410:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        <== NOT EXECUTED
 2041414:	80 a6 80 01 	cmp  %i2, %g1                                  <== NOT EXECUTED
 2041418:	28 80 00 21 	bleu,a   204149c <rtems_rfs_group_bitmap_test+0xe4><== NOT EXECUTED
 204141c:	f8 07 60 2c 	ld  [ %i5 + 0x2c ], %i4                        <== NOT EXECUTED
  rc = rtems_rfs_bitmap_map_test (bitmap, bit, state);                
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
                                                                      
  return rc;                                                          
}                                                                     
 2041420:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2041424:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    no -= RTEMS_RFS_ROOT_INO;                                         
    size = fs->group_inodes;                                          
  }                                                                   
  else                                                                
  {                                                                   
    if (no >= rtems_rfs_fs_blocks (fs))                               
 2041428:	80 a6 80 01 	cmp  %i2, %g1                                  <== NOT EXECUTED
 204142c:	1a bf ff fd 	bcc  2041420 <rtems_rfs_group_bitmap_test+0x68><== NOT EXECUTED
 2041430:	b0 10 20 16 	mov  0x16, %i0                                 <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
 2041434:	f8 07 60 28 	ld  [ %i5 + 0x28 ], %i4                        <== NOT EXECUTED
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 2041438:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 204143c:	40 00 82 c4 	call  2061f4c <.urem>                          <== NOT EXECUTED
 2041440:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
    if (no >= rtems_rfs_fs_blocks (fs))                               
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 2041444:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 2041448:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
    if (no >= rtems_rfs_fs_blocks (fs))                               
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 204144c:	40 00 82 14 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2041450:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
  else                                                                
    bitmap = &fs->groups[group].block_bitmap;                         
 2041454:	f8 07 60 20 	ld  [ %i5 + 0x20 ], %i4                        <== NOT EXECUTED
 2041458:	83 2a 20 04 	sll  %o0, 4, %g1                               <== NOT EXECUTED
 204145c:	91 2a 20 06 	sll  %o0, 6, %o0                               <== NOT EXECUTED
 2041460:	90 00 40 08 	add  %g1, %o0, %o0                             <== NOT EXECUTED
 2041464:	b8 07 00 08 	add  %i4, %o0, %i4                             <== NOT EXECUTED
 2041468:	b8 07 20 08 	add  %i4, 8, %i4                               <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_bitmap_map_test (bitmap, bit, state);                
 204146c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2041470:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2041474:	40 00 1a 3a 	call  2047d5c <rtems_rfs_bitmap_map_test>      <== NOT EXECUTED
 2041478:	94 10 00 1b 	mov  %i3, %o2                                  <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 204147c:	d2 07 00 00 	ld  [ %i4 ], %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);                
 2041480:	b0 10 00 08 	mov  %o0, %i0                                  <== NOT EXECUTED
                                                                      
  rtems_rfs_bitmap_release_buffer (fs, bitmap);                       
 2041484:	7f ff ec ad 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2041488:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
 204148c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2041490:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rtems_rfs_bitmap_bit      bit;                                      
  size_t                    size;                                     
  int                       rc;                                       
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_BITMAPS))                
    printf ("rtems-rfs: group-bitmap-test: %s test: %" PRId32 "\n",   
 2041494:	10 bf ff d5 	b  20413e8 <rtems_rfs_group_bitmap_test+0x30>  <== NOT EXECUTED
 2041498:	92 12 62 f8 	or  %o1, 0x2f8, %o1                            <== NOT EXECUTED
                                                                      
  if (inode)                                                          
  {                                                                   
    if ((no < RTEMS_RFS_ROOT_INO) || (no > rtems_rfs_fs_inodes (fs))) 
        return EINVAL;                                                
    no -= RTEMS_RFS_ROOT_INO;                                         
 204149c:	b4 06 bf ff 	add  %i2, -1, %i2                              <== NOT EXECUTED
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 20414a0:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 20414a4:	40 00 82 aa 	call  2061f4c <.urem>                          <== NOT EXECUTED
 20414a8:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    if (no >= rtems_rfs_fs_blocks (fs))                               
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 20414ac:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
 20414b0:	b2 10 00 08 	mov  %o0, %i1                                  <== NOT EXECUTED
    if (no >= rtems_rfs_fs_blocks (fs))                               
        return EINVAL;                                                
    size = fs->group_blocks;                                          
  }                                                                   
                                                                      
  group = no / size;                                                  
 20414b4:	40 00 81 fa 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 20414b8:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
  bit = (rtems_rfs_bitmap_bit) (no % size);                           
                                                                      
  if (inode)                                                          
    bitmap = &fs->groups[group].inode_bitmap;                         
 20414bc:	f8 07 60 20 	ld  [ %i5 + 0x20 ], %i4                        <== NOT EXECUTED
 20414c0:	83 2a 20 04 	sll  %o0, 4, %g1                               <== NOT EXECUTED
 20414c4:	91 2a 20 06 	sll  %o0, 6, %o0                               <== NOT EXECUTED
 20414c8:	90 00 40 08 	add  %g1, %o0, %o0                             <== NOT EXECUTED
 20414cc:	b8 07 00 08 	add  %i4, %o0, %i4                             <== NOT EXECUTED
 20414d0:	10 bf ff e7 	b  204146c <rtems_rfs_group_bitmap_test+0xb4>  <== NOT EXECUTED
 20414d4:	b8 07 20 2c 	add  %i4, 0x2c, %i4                            <== NOT EXECUTED
                                                                      

02040fc0 <rtems_rfs_group_close>: int rtems_rfs_group_close (rtems_rfs_file_system* fs, rtems_rfs_group* group) {
 2040fc0:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
 2040fc4:	90 10 20 00 	clr  %o0                                       
 2040fc8:	13 00 00 40 	sethi  %hi(0x10000), %o1                       
 2040fcc:	7f ff 97 ae 	call  2026e84 <rtems_rfs_trace>                
 2040fd0:	ba 10 00 18 	mov  %i0, %i5                                  
 2040fd4:	80 8a 20 ff 	btst  0xff, %o0                                
 2040fd8:	32 80 00 17 	bne,a   2041034 <rtems_rfs_group_close+0x74>   <== NEVER TAKEN
 2040fdc:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== 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);                 
 2040fe0:	40 00 1c 58 	call  2048140 <rtems_rfs_bitmap_close>         
 2040fe4:	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);                       
 2040fe8:	92 06 60 44 	add  %i1, 0x44, %o1                            
 2040fec:	b8 10 00 08 	mov  %o0, %i4                                  
 2040ff0:	7f ff ed d2 	call  203c738 <rtems_rfs_buffer_handle_release>
 2040ff4:	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);                 
 2040ff8:	90 06 60 08 	add  %i1, 8, %o0                               
  handle->dirty = false;                                              
 2040ffc:	c0 2e 60 44 	clrb  [ %i1 + 0x44 ]                           
  handle->bnum  = 0;                                                  
 2041000:	c0 26 60 48 	clr  [ %i1 + 0x48 ]                            
 2041004:	40 00 1c 4f 	call  2048140 <rtems_rfs_bitmap_close>         
 2041008:	c0 26 60 4c 	clr  [ %i1 + 0x4c ]                            
  if (rc > 0)                                                         
 204100c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2041010:	04 80 00 0d 	ble  2041044 <rtems_rfs_group_close+0x84>      <== ALWAYS TAKEN
 2041014:	90 10 00 1d 	mov  %i5, %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);                       
 2041018:	7f ff ed c8 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 204101c:	92 06 60 20 	add  %i1, 0x20, %o1                            <== NOT EXECUTED
  handle->dirty = false;                                              
 2041020:	c0 2e 60 20 	clrb  [ %i1 + 0x20 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2041024:	c0 26 60 24 	clr  [ %i1 + 0x24 ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2041028:	c0 26 60 28 	clr  [ %i1 + 0x28 ]                            <== NOT EXECUTED
  rc = rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);
  if (rc > 0)                                                         
    result = rc;                                                      
                                                                      
  return result;                                                      
}                                                                     
 204102c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2041030:	81 e8 00 00 	restore                                        <== NOT EXECUTED
{                                                                     
  int result = 0;                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_CLOSE))                  
    printf ("rtems-rfs: group-close: base=%" PRId32 "\n", group->base);
 2041034:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2041038:	40 00 30 73 	call  204d204 <printf>                         <== NOT EXECUTED
 204103c:	90 12 21 18 	or  %o0, 0x118, %o0	! 206f518 <__FUNCTION__.7829+0x1d80><== NOT EXECUTED
 2041040:	30 bf ff e8 	b,a   2040fe0 <rtems_rfs_group_close+0x20>     <== NOT EXECUTED
 2041044:	b0 38 00 1c 	xnor  %g0, %i4, %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);                       
 2041048:	92 06 60 20 	add  %i1, 0x20, %o1                            
 204104c:	7f ff ed bb 	call  203c738 <rtems_rfs_buffer_handle_release>
 2041050:	b1 3e 20 1f 	sra  %i0, 0x1f, %i0                            
 2041054:	b0 0f 00 18 	and  %i4, %i0, %i0                             
  handle->dirty = false;                                              
 2041058:	c0 2e 60 20 	clrb  [ %i1 + 0x20 ]                           
  handle->bnum  = 0;                                                  
 204105c:	c0 26 60 24 	clr  [ %i1 + 0x24 ]                            
  handle->buffer = NULL;                                              
 2041060:	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;                                                      
}                                                                     
 2041064:	81 c7 e0 08 	ret                                            
 2041068:	81 e8 00 00 	restore                                        
                                                                      

02040d8c <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) {
 2040d8c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
 2040d90:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 2040d94:	80 a0 40 19 	cmp  %g1, %i1                                  
 2040d98:	08 80 00 44 	bleu  2040ea8 <rtems_rfs_group_open+0x11c>     <== NEVER TAKEN
 2040d9c:	ba 10 00 18 	mov  %i0, %i5                                  
      printf ("rtems-rfs: group-open: base outside file system range: %d: %s\n",
              EIO, strerror (EIO));                                   
    return EIO;                                                       
  }                                                                   
                                                                      
  if ((base + size) >= rtems_rfs_fs_blocks (fs))                      
 2040da0:	84 06 80 19 	add  %i2, %i1, %g2                             
 2040da4:	80 a0 40 02 	cmp  %g1, %g2                                  
 2040da8:	28 80 00 02 	bleu,a   2040db0 <rtems_rfs_group_open+0x24>   <== ALWAYS TAKEN
 2040dac:	b4 20 40 19 	sub  %g1, %i1, %i2                             
 2040db0:	80 a6 80 1b 	cmp  %i2, %i3                                  
 2040db4:	18 80 00 25 	bgu  2040e48 <rtems_rfs_group_open+0xbc>       <== ALWAYS TAKEN
 2040db8:	a2 10 00 1a 	mov  %i2, %l1                                  
   * the format configuration needs reviewing.                        
   */                                                                 
  if (inodes > size)                                                  
    inodes = size;                                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                   
 2040dbc:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2040dc0:	7f ff 98 31 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2040dc4:	13 00 00 20 	sethi  %hi(0x8000), %o1                        <== NOT EXECUTED
 2040dc8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2040dcc:	12 80 00 27 	bne  2040e68 <rtems_rfs_group_open+0xdc>       <== NOT EXECUTED
 2040dd0:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
    printf ("rtems-rfs: group-open: base=%" PRId32 ", blocks=%zd inodes=%zd\n",
            base, size, inodes);                                      
                                                                      
  group->base = base;                                                 
 2040dd4:	f2 27 00 00 	st  %i1, [ %i4 ]                               <== NOT EXECUTED
  group->size = size;                                                 
 2040dd8:	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;                                              
 2040ddc:	c0 2f 20 20 	clrb  [ %i4 + 0x20 ]                           
  handle->bnum  = 0;                                                  
 2040de0:	c0 27 20 24 	clr  [ %i4 + 0x24 ]                            
  handle->buffer = NULL;                                              
 2040de4:	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,               
 2040de8:	a0 07 20 08 	add  %i4, 8, %l0                               
 2040dec:	b6 07 20 20 	add  %i4, 0x20, %i3                            
 2040df0:	90 10 00 10 	mov  %l0, %o0                                  
 2040df4:	92 10 00 1d 	mov  %i5, %o1                                  
 2040df8:	94 10 00 1b 	mov  %i3, %o2                                  
 2040dfc:	96 10 00 1a 	mov  %i2, %o3                                  
 2040e00:	40 00 1c bf 	call  20480fc <rtems_rfs_bitmap_open>          
 2040e04:	98 10 00 19 	mov  %i1, %o4                                  
                              &group->block_bitmap_buffer, size,      
                              group->base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
 2040e08:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2040e0c:	04 80 00 37 	ble  2040ee8 <rtems_rfs_group_open+0x15c>      <== ALWAYS TAKEN
 2040e10:	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);                       
 2040e14:	7f ff ee 49 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2040e18:	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))                 
 2040e1c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2040e20:	13 00 00 20 	sethi  %hi(0x8000), %o1                        <== NOT EXECUTED
  handle->dirty = false;                                              
 2040e24:	c0 2f 20 20 	clrb  [ %i4 + 0x20 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2040e28:	c0 27 20 24 	clr  [ %i4 + 0x24 ]                            <== NOT EXECUTED
 2040e2c:	7f ff 98 16 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2040e30:	c0 27 20 28 	clr  [ %i4 + 0x28 ]                            <== NOT EXECUTED
 2040e34:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2040e38:	12 80 00 13 	bne  2040e84 <rtems_rfs_group_open+0xf8>       <== NOT EXECUTED
 2040e3c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2040e40:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040e44:	81 e8 00 00 	restore                                        <== NOT EXECUTED
   * the format configuration needs reviewing.                        
   */                                                                 
  if (inodes > size)                                                  
    inodes = size;                                                    
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                   
 2040e48:	90 10 20 00 	clr  %o0                                       
 2040e4c:	13 00 00 20 	sethi  %hi(0x8000), %o1                        
 2040e50:	7f ff 98 0d 	call  2026e84 <rtems_rfs_trace>                
 2040e54:	a2 10 00 1b 	mov  %i3, %l1                                  
 2040e58:	80 8a 20 ff 	btst  0xff, %o0                                
 2040e5c:	22 bf ff df 	be,a   2040dd8 <rtems_rfs_group_open+0x4c>     <== ALWAYS TAKEN
 2040e60:	f2 27 00 00 	st  %i1, [ %i4 ]                               
    printf ("rtems-rfs: group-open: base=%" PRId32 ", blocks=%zd inodes=%zd\n",
 2040e64:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2040e68:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2040e6c:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 2040e70:	96 10 00 11 	mov  %l1, %o3                                  <== NOT EXECUTED
 2040e74:	40 00 30 e4 	call  204d204 <printf>                         <== NOT EXECUTED
 2040e78:	90 12 20 60 	or  %o0, 0x60, %o0                             <== NOT EXECUTED
            base, size, inodes);                                      
                                                                      
  group->base = base;                                                 
 2040e7c:	10 bf ff d7 	b  2040dd8 <rtems_rfs_group_open+0x4c>         <== NOT EXECUTED
 2040e80:	f2 27 00 00 	st  %i1, [ %i4 ]                               <== NOT EXECUTED
                              group->base + RTEMS_RFS_GROUP_BLOCK_BITMAP_BLOCK);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &group->block_bitmap_buffer);  
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
      printf ("rtems-rfs: group-open: could not open block bitmap: %d: %s\n",
 2040e84:	40 00 3a 39 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040e88:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2040e8c:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 2040e90:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040e94:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2040e98:	40 00 30 db 	call  204d204 <printf>                         <== NOT EXECUTED
 2040e9c:	90 12 20 98 	or  %o0, 0x98, %o0	! 206f498 <__FUNCTION__.7829+0x1d00><== NOT EXECUTED
 2040ea0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040ea4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
{                                                                     
  int rc;                                                             
                                                                      
  if (base >= rtems_rfs_fs_blocks (fs))                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_GROUP_OPEN))                 
 2040ea8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2040eac:	13 00 00 20 	sethi  %hi(0x8000), %o1                        <== NOT EXECUTED
 2040eb0:	7f ff 97 f5 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2040eb4:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 2040eb8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2040ebc:	02 80 00 3f 	be  2040fb8 <rtems_rfs_group_open+0x22c>       <== NOT EXECUTED
 2040ec0:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: group-open: base outside file system range: %d: %s\n",
 2040ec4:	40 00 3a 29 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040ec8:	90 10 20 05 	mov  5, %o0	! 5 <PROM_START+0x5>               <== NOT EXECUTED
 2040ecc:	92 10 20 05 	mov  5, %o1                                    <== NOT EXECUTED
 2040ed0:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040ed4:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2040ed8:	40 00 30 cb 	call  204d204 <printf>                         <== NOT EXECUTED
 2040edc:	90 12 20 20 	or  %o0, 0x20, %o0	! 206f420 <__FUNCTION__.7829+0x1c88><== NOT EXECUTED
 2040ee0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040ee4:	81 e8 00 00 	restore                                        <== 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,               
 2040ee8:	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;                                              
 2040eec:	c0 2f 20 44 	clrb  [ %i4 + 0x44 ]                           
  handle->bnum  = 0;                                                  
 2040ef0:	c0 27 20 48 	clr  [ %i4 + 0x48 ]                            
  handle->buffer = NULL;                                              
 2040ef4:	c0 27 20 4c 	clr  [ %i4 + 0x4c ]                            
 2040ef8:	b4 07 20 44 	add  %i4, 0x44, %i2                            
 2040efc:	90 07 20 2c 	add  %i4, 0x2c, %o0                            
 2040f00:	92 10 00 1d 	mov  %i5, %o1                                  
 2040f04:	94 10 00 1a 	mov  %i2, %o2                                  
 2040f08:	96 10 00 11 	mov  %l1, %o3                                  
 2040f0c:	40 00 1c 7c 	call  20480fc <rtems_rfs_bitmap_open>          
 2040f10:	98 03 20 01 	inc  %o4                                       
                              &group->inode_bitmap_buffer, inodes,    
                              group->base + RTEMS_RFS_GROUP_INODE_BITMAP_BLOCK);
  if (rc > 0)                                                         
 2040f14:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2040f18:	04 80 00 1e 	ble  2040f90 <rtems_rfs_group_open+0x204>      <== ALWAYS TAKEN
 2040f1c:	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);                       
 2040f20:	7f ff ee 06 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2040f24:	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);                    
 2040f28:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 2040f2c:	c0 2f 20 44 	clrb  [ %i4 + 0x44 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2040f30:	c0 27 20 48 	clr  [ %i4 + 0x48 ]                            <== NOT EXECUTED
 2040f34:	40 00 1c 83 	call  2048140 <rtems_rfs_bitmap_close>         <== NOT EXECUTED
 2040f38:	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);                       
 2040f3c:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2040f40:	7f ff ed fe 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2040f44:	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))                 
 2040f48:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2040f4c:	13 00 00 20 	sethi  %hi(0x8000), %o1                        <== NOT EXECUTED
  handle->dirty = false;                                              
 2040f50:	c0 2f 20 20 	clrb  [ %i4 + 0x20 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2040f54:	c0 27 20 24 	clr  [ %i4 + 0x24 ]                            <== NOT EXECUTED
 2040f58:	7f ff 97 cb 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2040f5c:	c0 27 20 28 	clr  [ %i4 + 0x28 ]                            <== NOT EXECUTED
 2040f60:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2040f64:	02 80 00 15 	be  2040fb8 <rtems_rfs_group_open+0x22c>       <== NOT EXECUTED
 2040f68:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: group-open: could not open inode bitmap: %d: %s\n",
 2040f6c:	40 00 39 ff 	call  204f768 <strerror>                       <== NOT EXECUTED
 2040f70:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2040f74:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 2040f78:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2040f7c:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2040f80:	40 00 30 a1 	call  204d204 <printf>                         <== NOT EXECUTED
 2040f84:	90 12 20 d8 	or  %o0, 0xd8, %o0	! 206f4d8 <__FUNCTION__.7829+0x1d40><== NOT EXECUTED
 2040f88:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2040f8c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
              rc, strerror (rc));                                     
    return rc;                                                        
  }                                                                   
                                                                      
  if (rtems_rfs_fs_release_bitmaps (fs))                              
 2040f90:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2040f94:	80 88 60 01 	btst  1, %g1                                   
 2040f98:	12 bf ff aa 	bne  2040e40 <rtems_rfs_group_open+0xb4>       <== NEVER TAKEN
 2040f9c:	b0 10 20 00 	clr  %i0                                       
  {                                                                   
    rtems_rfs_bitmap_release_buffer (fs, &group->block_bitmap);       
 2040fa0:	d2 07 20 08 	ld  [ %i4 + 8 ], %o1                           
 2040fa4:	7f ff ed e5 	call  203c738 <rtems_rfs_buffer_handle_release>
 2040fa8:	90 10 00 1d 	mov  %i5, %o0                                  
    rtems_rfs_bitmap_release_buffer (fs, &group->inode_bitmap);       
 2040fac:	d2 07 20 2c 	ld  [ %i4 + 0x2c ], %o1                        
 2040fb0:	7f ff ed e2 	call  203c738 <rtems_rfs_buffer_handle_release>
 2040fb4:	90 10 00 1d 	mov  %i5, %o0                                  
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2040fb8:	81 c7 e0 08 	ret                                            
 2040fbc:	81 e8 00 00 	restore                                        
                                                                      

020414d8 <rtems_rfs_group_usage>: size_t* blocks, size_t* inodes) { int g; *blocks = 0;
 20414d8:	c0 22 40 00 	clr  [ %o1 ]                                   <== NOT EXECUTED
  *inodes = 0;                                                        
 20414dc:	c0 22 80 00 	clr  [ %o2 ]                                   <== NOT EXECUTED
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
 20414e0:	c2 02 20 24 	ld  [ %o0 + 0x24 ], %g1                        <== NOT EXECUTED
 20414e4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20414e8:	04 80 00 14 	ble  2041538 <rtems_rfs_group_usage+0x60>      <== NOT EXECUTED
 20414ec:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 20414f0:	c2 02 20 20 	ld  [ %o0 + 0x20 ], %g1                        <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
 20414f4:	da 00 60 14 	ld  [ %g1 + 0x14 ], %o5                        <== NOT EXECUTED
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
 20414f8:	c8 00 60 18 	ld  [ %g1 + 0x18 ], %g4                        <== NOT EXECUTED
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
 20414fc:	c6 02 40 00 	ld  [ %o1 ], %g3                               <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
 2041500:	84 00 a0 01 	inc  %g2                                       <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
      rtems_rfs_bitmap_map_size(&group->block_bitmap) -               
 2041504:	86 03 40 03 	add  %o5, %g3, %g3                             <== NOT EXECUTED
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    *blocks +=                                                        
 2041508:	86 20 c0 04 	sub  %g3, %g4, %g3                             <== NOT EXECUTED
 204150c:	c6 22 40 00 	st  %g3, [ %o1 ]                               <== 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) -              
 2041510:	da 00 60 38 	ld  [ %g1 + 0x38 ], %o5                        <== 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 +=                                                        
 2041514:	c8 00 60 3c 	ld  [ %g1 + 0x3c ], %g4                        <== NOT EXECUTED
      rtems_rfs_bitmap_map_size (&group->inode_bitmap) -              
 2041518:	c6 02 80 00 	ld  [ %o2 ], %g3                               <== NOT EXECUTED
 204151c:	86 03 40 03 	add  %o5, %g3, %g3                             <== 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 +=                                                        
 2041520:	86 20 c0 04 	sub  %g3, %g4, %g3                             <== NOT EXECUTED
 2041524:	c6 22 80 00 	st  %g3, [ %o2 ]                               <== NOT EXECUTED
  int g;                                                              
                                                                      
  *blocks = 0;                                                        
  *inodes = 0;                                                        
                                                                      
  for (g = 0; g < fs->group_count; g++)                               
 2041528:	c6 02 20 24 	ld  [ %o0 + 0x24 ], %g3                        <== NOT EXECUTED
 204152c:	80 a0 c0 02 	cmp  %g3, %g2                                  <== NOT EXECUTED
 2041530:	14 bf ff f1 	bg  20414f4 <rtems_rfs_group_usage+0x1c>       <== NOT EXECUTED
 2041534:	82 00 60 50 	add  %g1, 0x50, %g1                            <== 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))                             
 2041538:	c4 02 20 04 	ld  [ %o0 + 4 ], %g2                           <== NOT EXECUTED
 204153c:	c2 02 40 00 	ld  [ %o1 ], %g1                               <== NOT EXECUTED
 2041540:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 2041544:	38 80 00 02 	bgu,a   204154c <rtems_rfs_group_usage+0x74>   <== NOT EXECUTED
 2041548:	82 10 00 02 	mov  %g2, %g1                                  <== NOT EXECUTED
 204154c:	c2 22 40 00 	st  %g1, [ %o1 ]                               <== NOT EXECUTED
    *blocks = rtems_rfs_fs_blocks (fs);                               
  if (*inodes > rtems_rfs_fs_inodes (fs))                             
 2041550:	c4 02 20 14 	ld  [ %o0 + 0x14 ], %g2                        <== NOT EXECUTED
 2041554:	c2 02 80 00 	ld  [ %o2 ], %g1                               <== NOT EXECUTED
 2041558:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 204155c:	38 80 00 02 	bgu,a   2041564 <rtems_rfs_group_usage+0x8c>   <== NOT EXECUTED
 2041560:	82 10 00 02 	mov  %g2, %g1                                  <== NOT EXECUTED
 2041564:	c2 22 80 00 	st  %g1, [ %o2 ]                               <== NOT EXECUTED
    *inodes = rtems_rfs_fs_inodes (fs);                               
                                                                      
  return 0;                                                           
}                                                                     
 2041568:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 204156c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

02041840 <rtems_rfs_inode_close>: } int rtems_rfs_inode_close (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
 2041840:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
 2041844:	90 10 20 00 	clr  %o0                                       
 2041848:	7f ff 95 8f 	call  2026e84 <rtems_rfs_trace>                
 204184c:	13 00 02 00 	sethi  %hi(0x80000), %o1                       
 2041850:	80 8a 20 ff 	btst  0xff, %o0                                
 2041854:	32 80 00 16 	bne,a   20418ac <rtems_rfs_inode_close+0x6c>   <== NEVER TAKEN
 2041858:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
    printf ("rtems-rfs: inode-close: ino: %" PRIu32 "\n", handle->ino);
                                                                      
  rc = rtems_rfs_inode_unload (fs, handle, true);                     
 204185c:	90 10 00 18 	mov  %i0, %o0                                  
 2041860:	92 10 00 19 	mov  %i1, %o1                                  
 2041864:	7f ff ff b6 	call  204173c <rtems_rfs_inode_unload>         
 2041868:	94 10 20 01 	mov  1, %o2                                    
                                                                      
  if ((rc == 0) && (handle->loads > 0))                               
 204186c:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2041870:	32 80 00 0d 	bne,a   20418a4 <rtems_rfs_inode_close+0x64>   <== NEVER TAKEN
 2041874:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
 2041878:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
 204187c:	80 a0 60 00 	cmp  %g1, 0                                    
 2041880:	04 80 00 08 	ble  20418a0 <rtems_rfs_inode_close+0x60>      <== ALWAYS TAKEN
 2041884:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                
 2041888:	13 00 02 00 	sethi  %hi(0x80000), %o1                       <== NOT EXECUTED
 204188c:	7f ff 95 7e 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2041890:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 2041894:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2041898:	32 80 00 0a 	bne,a   20418c0 <rtems_rfs_inode_close+0x80>   <== NOT EXECUTED
 204189c:	d2 06 60 24 	ld  [ %i1 + 0x24 ], %o1                        <== NOT EXECUTED
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
 20418a0:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
  return rc;                                                          
}                                                                     
 20418a4:	81 c7 e0 08 	ret                                            
 20418a8:	81 e8 00 00 	restore                                        
                       rtems_rfs_inode_handle* handle)                
{                                                                     
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                  
    printf ("rtems-rfs: inode-close: ino: %" PRIu32 "\n", handle->ino);
 20418ac:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 20418b0:	40 00 2e 55 	call  204d204 <printf>                         <== NOT EXECUTED
 20418b4:	90 12 22 a8 	or  %o0, 0x2a8, %o0	! 206f6a8 <__FUNCTION__.7829+0x1f10><== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_unload (fs, handle, true);                     
 20418b8:	10 bf ff ea 	b  2041860 <rtems_rfs_inode_close+0x20>        <== NOT EXECUTED
 20418bc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
                                                                      
  if ((rc == 0) && (handle->loads > 0))                               
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CLOSE))                
      printf ("rtems-rfs: inode-close: bad loads number: %d\n",       
 20418c0:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 20418c4:	40 00 2e 50 	call  204d204 <printf>                         <== NOT EXECUTED
 20418c8:	90 12 22 d0 	or  %o0, 0x2d0, %o0	! 206f6d0 <__FUNCTION__.7829+0x1f38><== NOT EXECUTED
              handle->loads);                                         
    rc = EIO;                                                         
  }                                                                   
                                                                      
  handle->ino = 0;                                                    
 20418cc:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
  return rc;                                                          
}                                                                     
 20418d0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20418d4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02041ba8 <rtems_rfs_inode_create>: uint16_t mode, uint16_t links, uid_t uid, gid_t gid, rtems_rfs_ino* ino) {
 2041ba8:	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))                 
 2041bac:	90 10 20 00 	clr  %o0                                       
                        uint16_t                mode,                 
                        uint16_t                links,                
                        uid_t                   uid,                  
                        gid_t                   gid,                  
                        rtems_rfs_ino*          ino)                  
{                                                                     
 2041bb0:	e4 17 a0 5e 	lduh  [ %fp + 0x5e ], %l2                      
 2041bb4:	e2 17 a0 62 	lduh  [ %fp + 0x62 ], %l1                      
  rtems_rfs_inode_handle parent_inode;                                
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
 2041bb8:	13 00 10 00 	sethi  %hi(0x400000), %o1                      
 2041bbc:	7f ff 94 b2 	call  2026e84 <rtems_rfs_trace>                
 2041bc0:	a6 0f 30 00 	and  %i4, -4096, %l3                           
 2041bc4:	80 8a 20 ff 	btst  0xff, %o0                                
 2041bc8:	22 80 00 28 	be,a   2041c68 <rtems_rfs_inode_create+0xc0>   <== ALWAYS TAKEN
 2041bcc:	a7 2c e0 10 	sll  %l3, 0x10, %l3                            
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
 2041bd0:	05 00 00 10 	sethi  %hi(0x4000), %g2                        <== NOT EXECUTED
 2041bd4:	80 a4 c0 02 	cmp  %l3, %g2                                  <== NOT EXECUTED
 2041bd8:	02 80 00 4f 	be  2041d14 <rtems_rfs_inode_create+0x16c>     <== NOT EXECUTED
 2041bdc:	05 00 00 08 	sethi  %hi(0x2000), %g2                        <== NOT EXECUTED
      type = "dir";                                                   
    else if (RTEMS_RFS_S_ISCHR (mode))                                
 2041be0:	80 a4 c0 02 	cmp  %l3, %g2                                  <== NOT EXECUTED
 2041be4:	02 80 00 52 	be  2041d2c <rtems_rfs_inode_create+0x184>     <== NOT EXECUTED
 2041be8:	05 00 00 18 	sethi  %hi(0x6000), %g2                        <== NOT EXECUTED
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
 2041bec:	80 a4 c0 02 	cmp  %l3, %g2                                  <== NOT EXECUTED
 2041bf0:	02 80 00 4c 	be  2041d20 <rtems_rfs_inode_create+0x178>     <== NOT EXECUTED
 2041bf4:	05 00 00 20 	sethi  %hi(0x8000), %g2                        <== NOT EXECUTED
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
 2041bf8:	80 a4 c0 02 	cmp  %l3, %g2                                  <== NOT EXECUTED
 2041bfc:	02 80 00 4f 	be  2041d38 <rtems_rfs_inode_create+0x190>     <== NOT EXECUTED
 2041c00:	05 00 00 28 	sethi  %hi(0xa000), %g2                        <== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
  {                                                                   
    const char* type = "unknown";                                     
 2041c04:	29 00 81 bd 	sethi  %hi(0x206f400), %l4                     <== 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))                                
 2041c08:	80 a4 c0 02 	cmp  %l3, %g2                                  <== NOT EXECUTED
 2041c0c:	02 80 00 4e 	be  2041d44 <rtems_rfs_inode_create+0x19c>     <== NOT EXECUTED
 2041c10:	a8 15 23 38 	or  %l4, 0x338, %l4                            <== NOT EXECUTED
      type = "link";                                                  
    printf("rtems-rfs: inode-create: parent:%" PRIu32 " name:", parent);
 2041c14:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2041c18:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2041c1c:	40 00 2d 7a 	call  204d204 <printf>                         <== NOT EXECUTED
 2041c20:	90 12 23 40 	or  %o0, 0x340, %o0	! 206f740 <__FUNCTION__.7829+0x1fa8><== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
 2041c24:	a0 10 20 00 	clr  %l0                                       <== NOT EXECUTED
 2041c28:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2041c2c:	02 80 00 08 	be  2041c4c <rtems_rfs_inode_create+0xa4>      <== NOT EXECUTED
 2041c30:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 2041c34:	d0 4e 80 01 	ldsb  [ %i2 + %g1 ], %o0                       <== NOT EXECUTED
 2041c38:	40 00 2d dd 	call  204d3ac <putchar>                        <== NOT EXECUTED
 2041c3c:	a0 04 20 01 	inc  %l0                                       <== 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++)                                      
 2041c40:	80 a4 00 1b 	cmp  %l0, %i3                                  <== NOT EXECUTED
 2041c44:	12 bf ff fc 	bne  2041c34 <rtems_rfs_inode_create+0x8c>     <== NOT EXECUTED
 2041c48:	82 10 00 10 	mov  %l0, %g1                                  <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" type:%s mode:%04x (%03o)\n", type, mode, mode & ((1 << 10) - 1));
 2041c4c:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2041c50:	92 10 00 14 	mov  %l4, %o1                                  <== NOT EXECUTED
 2041c54:	90 12 23 70 	or  %o0, 0x370, %o0                            <== NOT EXECUTED
 2041c58:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 2041c5c:	40 00 2d 6a 	call  204d204 <printf>                         <== NOT EXECUTED
 2041c60:	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)                                    
 2041c64:	a7 2c e0 10 	sll  %l3, 0x10, %l3                            <== NOT EXECUTED
 2041c68:	05 00 00 18 	sethi  %hi(0x6000), %g2                        
 2041c6c:	83 34 e0 10 	srl  %l3, 0x10, %g1                            
 2041c70:	80 a0 40 02 	cmp  %g1, %g2                                  
 2041c74:	02 80 00 15 	be  2041cc8 <rtems_rfs_inode_create+0x120>     <== NEVER TAKEN
 2041c78:	d4 07 a0 64 	ld  [ %fp + 0x64 ], %o2                        
 2041c7c:	08 80 00 0c 	bleu  2041cac <rtems_rfs_inode_create+0x104>   
 2041c80:	05 00 00 08 	sethi  %hi(0x2000), %g2                        
 2041c84:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
 2041c88:	80 a0 40 02 	cmp  %g1, %g2                                  
 2041c8c:	02 80 00 0f 	be  2041cc8 <rtems_rfs_inode_create+0x120>     
 2041c90:	05 00 00 28 	sethi  %hi(0xa000), %g2                        
 2041c94:	80 a0 40 02 	cmp  %g1, %g2                                  
 2041c98:	02 80 00 0d 	be  2041ccc <rtems_rfs_inode_create+0x124>     <== ALWAYS TAKEN
 2041c9c:	90 10 00 18 	mov  %i0, %o0                                  
    case RTEMS_RFS_S_IFBLK:                                           
    case RTEMS_RFS_S_IFREG:                                           
    case RTEMS_RFS_S_IFLNK:                                           
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
 2041ca0:	a0 10 20 16 	mov  0x16, %l0                                 <== NOT EXECUTED
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2041ca4:	81 c7 e0 08 	ret                                            
 2041ca8:	91 e8 00 10 	restore  %g0, %l0, %o0                         
  }                                                                   
                                                                      
  /*                                                                  
   * The file type is field within the mode. Check we have a sane mode set.
   */                                                                 
  switch (mode & RTEMS_RFS_S_IFMT)                                    
 2041cac:	80 a0 40 02 	cmp  %g1, %g2                                  
 2041cb0:	02 80 00 05 	be  2041cc4 <rtems_rfs_inode_create+0x11c>     <== NEVER TAKEN
 2041cb4:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 2041cb8:	80 a0 40 02 	cmp  %g1, %g2                                  
 2041cbc:	12 bf ff fa 	bne  2041ca4 <rtems_rfs_inode_create+0xfc>     <== NEVER TAKEN
 2041cc0:	a0 10 20 16 	mov  0x16, %l0                                 
      break;                                                          
    default:                                                          
      return EINVAL;                                                  
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_alloc (fs, parent, ino);                       
 2041cc4:	d4 07 a0 64 	ld  [ %fp + 0x64 ], %o2                        
 2041cc8:	90 10 00 18 	mov  %i0, %o0                                  
 2041ccc:	7f ff fe 29 	call  2041570 <rtems_rfs_inode_alloc>          
 2041cd0:	92 10 00 19 	mov  %i1, %o1                                  
  if (rc > 0)                                                         
 2041cd4:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2041cd8:	14 bf ff f3 	bg  2041ca4 <rtems_rfs_inode_create+0xfc>      
 2041cdc:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, *ino, &inode, true);                 
 2041ce0:	90 10 00 18 	mov  %i0, %o0                                  
 2041ce4:	d2 00 40 00 	ld  [ %g1 ], %o1                               
 2041ce8:	94 07 bf d8 	add  %fp, -40, %o2                             
 2041cec:	7f ff fe 5d 	call  2041660 <rtems_rfs_inode_open>           
 2041cf0:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 2041cf4:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2041cf8:	04 80 00 16 	ble  2041d50 <rtems_rfs_inode_create+0x1a8>    <== ALWAYS TAKEN
 2041cfc:	90 07 bf d8 	add  %fp, -40, %o0                             
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
 2041d00:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        <== NOT EXECUTED
 2041d04:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2041d08:	7f ff fe 24 	call  2041598 <rtems_rfs_inode_free>           <== NOT EXECUTED
 2041d0c:	d2 00 40 00 	ld  [ %g1 ], %o1                               <== NOT EXECUTED
 2041d10:	30 bf ff e5 	b,a   2041ca4 <rtems_rfs_inode_create+0xfc>    <== NOT EXECUTED
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_CREATE))                 
  {                                                                   
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
      type = "dir";                                                   
 2041d14:	29 00 81 9b 	sethi  %hi(0x2066c00), %l4                     <== NOT EXECUTED
 2041d18:	10 bf ff bf 	b  2041c14 <rtems_rfs_inode_create+0x6c>       <== NOT EXECUTED
 2041d1c:	a8 15 20 50 	or  %l4, 0x50, %l4	! 2066c50 <rtems_bdpart_shell_usage+0x9b0><== NOT EXECUTED
    else if (RTEMS_RFS_S_ISCHR (mode))                                
      type = "char";                                                  
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
 2041d20:	29 00 81 a6 	sethi  %hi(0x2069800), %l4                     <== NOT EXECUTED
 2041d24:	10 bf ff bc 	b  2041c14 <rtems_rfs_inode_create+0x6c>       <== NOT EXECUTED
 2041d28:	a8 15 21 e8 	or  %l4, 0x1e8, %l4	! 20699e8 <rtems_rfs_rtems_eval_config+0x810><== NOT EXECUTED
    const char* type = "unknown";                                     
    int         c;                                                    
    if (RTEMS_RFS_S_ISDIR (mode))                                     
      type = "dir";                                                   
    else if (RTEMS_RFS_S_ISCHR (mode))                                
      type = "char";                                                  
 2041d2c:	29 00 81 bd 	sethi  %hi(0x206f400), %l4                     <== NOT EXECUTED
 2041d30:	10 bf ff b9 	b  2041c14 <rtems_rfs_inode_create+0x6c>       <== NOT EXECUTED
 2041d34:	a8 15 23 30 	or  %l4, 0x330, %l4	! 206f730 <__FUNCTION__.7829+0x1f98><== NOT EXECUTED
    else if (RTEMS_RFS_S_ISBLK (mode))                                
      type = "block";                                                 
    else if (RTEMS_RFS_S_ISREG (mode))                                
      type = "file";                                                  
 2041d38:	29 00 81 a3 	sethi  %hi(0x2068c00), %l4                     <== NOT EXECUTED
 2041d3c:	10 bf ff b6 	b  2041c14 <rtems_rfs_inode_create+0x6c>       <== NOT EXECUTED
 2041d40:	a8 15 21 38 	or  %l4, 0x138, %l4	! 2068d38 <rtems_rtc_shell_usage+0xb58><== NOT EXECUTED
    else if (RTEMS_RFS_S_ISLNK (mode))                                
      type = "link";                                                  
 2041d44:	29 00 81 a7 	sethi  %hi(0x2069c00), %l4                     <== NOT EXECUTED
 2041d48:	10 bf ff b3 	b  2041c14 <rtems_rfs_inode_create+0x6c>       <== NOT EXECUTED
 2041d4c:	a8 15 22 88 	or  %l4, 0x288, %l4	! 2069e88 <rtems_rfs_rtems_eval_config+0xcb0><== NOT EXECUTED
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, links, mode, uid, gid);    
 2041d50:	92 10 00 1d 	mov  %i5, %o1                                  
 2041d54:	94 10 00 1c 	mov  %i4, %o2                                  
 2041d58:	96 10 00 12 	mov  %l2, %o3                                  
 2041d5c:	7f ff ff 3d 	call  2041a50 <rtems_rfs_inode_initialise>     
 2041d60:	98 10 00 11 	mov  %l1, %o4                                  
  if (rc > 0)                                                         
 2041d64:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2041d68:	14 80 00 13 	bg  2041db4 <rtems_rfs_inode_create+0x20c>     <== NEVER TAKEN
 2041d6c:	03 10 00 00 	sethi  %hi(0x40000000), %g1                    
  /*                                                                  
   * 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))                                       
 2041d70:	80 a4 c0 01 	cmp  %l3, %g1                                  
 2041d74:	02 80 00 45 	be  2041e88 <rtems_rfs_inode_create+0x2e0>     
 2041d78:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
 2041d7c:	90 10 00 18 	mov  %i0, %o0                                  
 2041d80:	92 10 00 19 	mov  %i1, %o1                                  
 2041d84:	94 07 bf b0 	add  %fp, -80, %o2                             
 2041d88:	7f ff fe 36 	call  2041660 <rtems_rfs_inode_open>           
 2041d8c:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 2041d90:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2041d94:	04 80 00 10 	ble  2041dd4 <rtems_rfs_inode_create+0x22c>    <== ALWAYS TAKEN
 2041d98:	92 07 bf d8 	add  %fp, -40, %o1                             
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
 2041d9c:	7f ff fe cf 	call  20418d8 <rtems_rfs_inode_delete>         <== NOT EXECUTED
 2041da0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
 2041da4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2041da8:	7f ff fe a6 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2041dac:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 2041db0:	30 bf ff bd 	b,a   2041ca4 <rtems_rfs_inode_create+0xfc>    <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_initialise (&inode, links, mode, uid, gid);    
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 2041db4:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 2041db8:	7f ff fe a2 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2041dbc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    rtems_rfs_inode_free (fs, *ino);                                  
 2041dc0:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        <== NOT EXECUTED
 2041dc4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2041dc8:	7f ff fd f4 	call  2041598 <rtems_rfs_inode_free>           <== NOT EXECUTED
 2041dcc:	d2 00 40 00 	ld  [ %g1 ], %o1                               <== NOT EXECUTED
 2041dd0:	30 bf ff b5 	b,a   2041ca4 <rtems_rfs_inode_create+0xfc>    <== NOT EXECUTED
    rtems_rfs_inode_delete (fs, &inode);                              
    rtems_rfs_inode_close (fs, &inode);                               
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, *ino);
 2041dd4:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
 2041dd8:	90 10 00 18 	mov  %i0, %o0                                  
 2041ddc:	d8 00 40 00 	ld  [ %g1 ], %o4                               
 2041de0:	92 07 bf b0 	add  %fp, -80, %o1                             
 2041de4:	94 10 00 1a 	mov  %i2, %o2                                  
 2041de8:	7f ff ee 0f 	call  203d624 <rtems_rfs_dir_add_entry>        
 2041dec:	96 10 00 1b 	mov  %i3, %o3                                  
  if (rc > 0)                                                         
 2041df0:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2041df4:	14 80 00 3c 	bg  2041ee4 <rtems_rfs_inode_create+0x33c>     <== NEVER TAKEN
 2041df8:	03 10 00 00 	sethi  %hi(0x40000000), %g1                    
                                                                      
  /*                                                                  
   * 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))                                       
 2041dfc:	80 a4 c0 01 	cmp  %l3, %g1                                  
 2041e00:	12 80 00 15 	bne  2041e54 <rtems_rfs_inode_create+0x2ac>    
 2041e04:	92 07 bf b0 	add  %fp, -80, %o1                             
 */                                                                   
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);                  
 2041e08:	c2 07 bf bc 	ld  [ %fp + -68 ], %g1                         
  if (links == 0xffff)                                                
    links = 0;                                                        
 2041e0c:	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);                  
 2041e10:	c6 08 40 00 	ldub  [ %g1 ], %g3                             
 2041e14:	c4 08 60 01 	ldub  [ %g1 + 1 ], %g2                         
 2041e18:	87 28 e0 08 	sll  %g3, 8, %g3                               
 2041e1c:	84 10 c0 02 	or  %g3, %g2, %g2                              
  if (links == 0xffff)                                                
 2041e20:	87 28 a0 10 	sll  %g2, 0x10, %g3                            
 2041e24:	87 30 e0 10 	srl  %g3, 0x10, %g3                            
    links = 0;                                                        
 2041e28:	86 39 00 03 	xnor  %g4, %g3, %g3                            
 2041e2c:	80 a0 00 03 	cmp  %g0, %g3                                  
 2041e30:	86 60 20 00 	subx  %g0, 0, %g3                              
 2041e34:	84 08 80 03 	and  %g2, %g3, %g2                             
    rtems_rfs_inode_set_links (&parent_inode,                         
 2041e38:	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);                  
 2041e3c:	87 30 a0 08 	srl  %g2, 8, %g3                               
 2041e40:	c6 28 40 00 	stb  %g3, [ %g1 ]                              
 2041e44:	c2 07 bf bc 	ld  [ %fp + -68 ], %g1                         
 2041e48:	c4 28 60 01 	stb  %g2, [ %g1 + 1 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2041e4c:	82 10 20 01 	mov  1, %g1                                    
 2041e50:	c2 2f bf c0 	stb  %g1, [ %fp + -64 ]                        
                               rtems_rfs_inode_get_links (&parent_inode) + 1);
                                                                      
  rc = rtems_rfs_inode_close (fs, &parent_inode);                     
 2041e54:	7f ff fe 7b 	call  2041840 <rtems_rfs_inode_close>          
 2041e58:	90 10 00 18 	mov  %i0, %o0                                  
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
 2041e5c:	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);                     
 2041e60:	a0 10 00 08 	mov  %o0, %l0                                  
  if (rc > 0)                                                         
 2041e64:	80 a4 20 00 	cmp  %l0, 0                                    
 2041e68:	04 80 00 29 	ble  2041f0c <rtems_rfs_inode_create+0x364>    <== ALWAYS TAKEN
 2041e6c:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
 2041e70:	7f ff fe 9a 	call  20418d8 <rtems_rfs_inode_delete>         <== NOT EXECUTED
 2041e74:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
 2041e78:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2041e7c:	7f ff fe 71 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2041e80:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 2041e84:	30 bf ff 88 	b,a   2041ca4 <rtems_rfs_inode_create+0xfc>    <== NOT EXECUTED
   *                                                                  
   * The inode delete will free the inode.                            
   */                                                                 
  if (RTEMS_RFS_S_ISDIR (mode))                                       
  {                                                                   
    rc = rtems_rfs_dir_add_entry (fs, &inode, ".", 1, *ino);          
 2041e88:	90 10 00 18 	mov  %i0, %o0                                  
 2041e8c:	d8 00 40 00 	ld  [ %g1 ], %o4                               
 2041e90:	92 07 bf d8 	add  %fp, -40, %o1                             
 2041e94:	96 10 20 01 	mov  1, %o3                                    
 2041e98:	15 00 81 9b 	sethi  %hi(0x2066c00), %o2                     
 2041e9c:	7f ff ed e2 	call  203d624 <rtems_rfs_dir_add_entry>        
 2041ea0:	94 12 a3 e0 	or  %o2, 0x3e0, %o2	! 2066fe0 <rtems_bdpart_shell_usage+0xd40>
    if (rc == 0)                                                      
 2041ea4:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2041ea8:	12 80 00 0b 	bne  2041ed4 <rtems_rfs_inode_create+0x32c>    <== NEVER TAKEN
 2041eac:	80 a4 20 00 	cmp  %l0, 0                                    
      rc = rtems_rfs_dir_add_entry (fs, &inode, "..", 2, parent);     
 2041eb0:	90 10 00 18 	mov  %i0, %o0                                  
 2041eb4:	92 07 bf d8 	add  %fp, -40, %o1                             
 2041eb8:	96 10 20 02 	mov  2, %o3                                    
 2041ebc:	15 00 81 9a 	sethi  %hi(0x2066800), %o2                     
 2041ec0:	98 10 00 19 	mov  %i1, %o4                                  
 2041ec4:	7f ff ed d8 	call  203d624 <rtems_rfs_dir_add_entry>        
 2041ec8:	94 12 a1 08 	or  %o2, 0x108, %o2                            
 2041ecc:	a0 10 00 08 	mov  %o0, %l0                                  
    if (rc > 0)                                                       
 2041ed0:	80 a4 20 00 	cmp  %l0, 0                                    
 2041ed4:	04 bf ff ab 	ble  2041d80 <rtems_rfs_inode_create+0x1d8>    <== ALWAYS TAKEN
 2041ed8:	90 10 00 18 	mov  %i0, %o0                                  
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
 2041edc:	10 bf ff b0 	b  2041d9c <rtems_rfs_inode_create+0x1f4>      <== NOT EXECUTED
 2041ee0:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, *ino);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_delete (fs, &inode);                              
 2041ee4:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 2041ee8:	7f ff fe 7c 	call  20418d8 <rtems_rfs_inode_delete>         <== NOT EXECUTED
 2041eec:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
 2041ef0:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 2041ef4:	7f ff fe 53 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2041ef8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &parent_inode);                        
 2041efc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2041f00:	7f ff fe 50 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2041f04:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 2041f08:	30 bf ff 67 	b,a   2041ca4 <rtems_rfs_inode_create+0xfc>    <== NOT EXECUTED
    rtems_rfs_inode_delete (fs, &inode);                              
    rtems_rfs_inode_close (fs, &inode);                               
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2041f0c:	7f ff fe 4d 	call  2041840 <rtems_rfs_inode_close>          
 2041f10:	01 00 00 00 	nop                                            
  if (rc > 0)                                                         
 2041f14:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2041f18:	14 bf ff 7b 	bg  2041d04 <rtems_rfs_inode_create+0x15c>     <== NEVER TAKEN
 2041f1c:	c2 07 a0 64 	ld  [ %fp + 0x64 ], %g1                        
  {                                                                   
    rtems_rfs_inode_free (fs, *ino);                                  
    return rc;                                                        
  }                                                                   
                                                                      
  return 0;                                                           
 2041f20:	10 bf ff 61 	b  2041ca4 <rtems_rfs_inode_create+0xfc>       
 2041f24:	a0 10 20 00 	clr  %l0                                       
                                                                      

020418d8 <rtems_rfs_inode_delete>: } int rtems_rfs_inode_delete (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
 20418d8:	9d e3 bf 50 	save  %sp, -176, %sp                           
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
 20418dc:	90 10 20 00 	clr  %o0                                       
 20418e0:	7f ff 95 69 	call  2026e84 <rtems_rfs_trace>                
 20418e4:	13 00 20 00 	sethi  %hi(0x800000), %o1                      
 20418e8:	80 8a 20 ff 	btst  0xff, %o0                                
 20418ec:	02 80 00 0b 	be  2041918 <rtems_rfs_inode_delete+0x40>      <== ALWAYS TAKEN
 20418f0:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
    printf("rtems-rfs: inode-delete: ino:%" PRIu32 " loaded:%s\n",    
 20418f4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20418f8:	02 80 00 13 	be  2041944 <rtems_rfs_inode_delete+0x6c>      <== NOT EXECUTED
 20418fc:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 2041900:	15 00 81 b8 	sethi  %hi(0x206e000), %o2                     <== NOT EXECUTED
 2041904:	94 12 a2 30 	or  %o2, 0x230, %o2	! 206e230 <__FUNCTION__.7829+0xa98><== NOT EXECUTED
 2041908:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 204190c:	40 00 2e 3e 	call  204d204 <printf>                         <== NOT EXECUTED
 2041910:	90 12 23 00 	or  %o0, 0x300, %o0	! 206f700 <__FUNCTION__.7829+0x1f68><== NOT EXECUTED
           rtems_rfs_inode_ino (handle),                              
           rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");        
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
 2041914:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
 2041918:	80 a0 60 00 	cmp  %g1, 0                                    
 204191c:	02 80 00 08 	be  204193c <rtems_rfs_inode_delete+0x64>      <== NEVER TAKEN
 2041920:	90 10 20 00 	clr  %o0                                       
    rtems_rfs_block_map map;                                          
                                                                      
    /*                                                                
     * Free the ino number.                                           
     */                                                               
    rc = rtems_rfs_inode_free (fs, handle->ino);                      
 2041924:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           
 2041928:	7f ff ff 1c 	call  2041598 <rtems_rfs_inode_free>           
 204192c:	90 10 00 18 	mov  %i0, %o0                                  
    if (rc > 0)                                                       
 2041930:	80 a2 20 00 	cmp  %o0, 0                                    
 2041934:	24 80 00 07 	ble,a   2041950 <rtems_rfs_inode_delete+0x78>  <== ALWAYS TAKEN
 2041938:	90 10 00 18 	mov  %i0, %o0                                  
      handle->loads = 0;                                              
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
  return rc;                                                          
}                                                                     
 204193c:	81 c7 e0 08 	ret                                            
 2041940:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                        rtems_rfs_inode_handle* handle)               
{                                                                     
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_DELETE))                 
    printf("rtems-rfs: inode-delete: ino:%" PRIu32 " loaded:%s\n",    
 2041944:	15 00 81 b8 	sethi  %hi(0x206e000), %o2                     <== NOT EXECUTED
 2041948:	10 bf ff f0 	b  2041908 <rtems_rfs_inode_delete+0x30>       <== NOT EXECUTED
 204194c:	94 12 a2 38 	or  %o2, 0x238, %o2	! 206e238 <__FUNCTION__.7829+0xaa0><== NOT EXECUTED
      return rc;                                                      
                                                                      
    /*                                                                
     * Free the blocks the inode may have attached.                   
     */                                                               
    rc = rtems_rfs_block_map_open (fs, handle, &map);                 
 2041950:	92 10 00 19 	mov  %i1, %o1                                  
 2041954:	7f ff e7 ef 	call  203b910 <rtems_rfs_block_map_open>       
 2041958:	94 07 bf b0 	add  %fp, -80, %o2                             
    if (rc == 0)                                                      
 204195c:	80 a2 20 00 	cmp  %o0, 0                                    
 2041960:	12 bf ff f7 	bne  204193c <rtems_rfs_inode_delete+0x64>     <== NEVER TAKEN
 2041964:	92 07 bf b0 	add  %fp, -80, %o1                             
    {                                                                 
      int rrc;                                                        
      rrc = rtems_rfs_block_map_free_all (fs, &map);                  
 2041968:	7f ff eb 01 	call  203c56c <rtems_rfs_block_map_free_all>   
 204196c:	90 10 00 18 	mov  %i0, %o0                                  
      rc = rtems_rfs_block_map_close (fs, &map);                      
 2041970:	92 07 bf b0 	add  %fp, -80, %o1                             
 2041974:	7f ff e8 48 	call  203ba94 <rtems_rfs_block_map_close>      
 2041978:	90 10 00 18 	mov  %i0, %o0                                  
      if (rc > 0)                                                     
        rrc = rc;                                                     
      memset (handle->node, 0xff, RTEMS_RFS_INODE_SIZE);              
 204197c:	d0 06 60 0c 	ld  [ %i1 + 0xc ], %o0                         
 2041980:	92 10 20 ff 	mov  0xff, %o1                                 
 2041984:	40 00 29 af 	call  204c040 <memset>                         
 2041988:	94 10 20 38 	mov  0x38, %o2                                 
      rtems_rfs_buffer_mark_dirty (&handle->buffer);                  
 204198c:	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);     
 2041990:	90 10 00 18 	mov  %i0, %o0                                  
 2041994:	92 06 60 10 	add  %i1, 0x10, %o1                            
 2041998:	7f ff eb 68 	call  203c738 <rtems_rfs_buffer_handle_release>
 204199c:	c2 2e 60 10 	stb  %g1, [ %i1 + 0x10 ]                       
      handle->loads = 0;                                              
 20419a0:	c0 26 60 24 	clr  [ %i1 + 0x24 ]                            
      handle->node = NULL;                                            
 20419a4:	10 bf ff e6 	b  204193c <rtems_rfs_inode_delete+0x64>       
 20419a8:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
                                                                      

020415ac <rtems_rfs_inode_load>: } int rtems_rfs_inode_load (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle) {
 20415ac:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
 20415b0:	90 10 20 00 	clr  %o0                                       
 20415b4:	7f ff 96 34 	call  2026e84 <rtems_rfs_trace>                
 20415b8:	13 00 04 00 	sethi  %hi(0x100000), %o1                      
 20415bc:	80 8a 20 ff 	btst  0xff, %o0                                
 20415c0:	02 80 00 0c 	be  20415f0 <rtems_rfs_inode_load+0x44>        <== ALWAYS TAKEN
 20415c4:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
    printf ("rtems-rfs: inode-load: ino=%" PRIu32 " loads=%i loaded=%s\n",
 20415c8:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 20415cc:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20415d0:	02 80 00 11 	be  2041614 <rtems_rfs_inode_load+0x68>        <== NOT EXECUTED
 20415d4:	d4 06 60 24 	ld  [ %i1 + 0x24 ], %o2                        <== NOT EXECUTED
 20415d8:	17 00 81 b8 	sethi  %hi(0x206e000), %o3                     <== NOT EXECUTED
 20415dc:	96 12 e2 30 	or  %o3, 0x230, %o3	! 206e230 <__FUNCTION__.7829+0xa98><== NOT EXECUTED
 20415e0:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 20415e4:	40 00 2f 08 	call  204d204 <printf>                         <== NOT EXECUTED
 20415e8:	90 12 22 10 	or  %o0, 0x210, %o0	! 206f610 <__FUNCTION__.7829+0x1e78><== NOT EXECUTED
                                                                      
  /*                                                                  
   * An inode does not move so once loaded no need to do again.       
   */                                                                 
                                                                      
  if (!rtems_rfs_inode_is_loaded (handle))                            
 20415ec:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
 20415f0:	80 a0 60 00 	cmp  %g1, 0                                    
 20415f4:	22 80 00 0b 	be,a   2041620 <rtems_rfs_inode_load+0x74>     
 20415f8:	d4 06 60 1c 	ld  [ %i1 + 0x1c ], %o2                        
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
    handle->node += handle->offset;                                   
  }                                                                   
                                                                      
  handle->loads++;                                                    
 20415fc:	c2 06 60 24 	ld  [ %i1 + 0x24 ], %g1                        
                                                                      
  return 0;                                                           
 2041600:	b0 10 20 00 	clr  %i0                                       
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
    handle->node += handle->offset;                                   
  }                                                                   
                                                                      
  handle->loads++;                                                    
 2041604:	82 00 60 01 	inc  %g1                                       
 2041608:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
                                                                      
  return 0;                                                           
}                                                                     
 204160c:	81 c7 e0 08 	ret                                            
 2041610:	81 e8 00 00 	restore                                        
int                                                                   
rtems_rfs_inode_load (rtems_rfs_file_system*  fs,                     
                      rtems_rfs_inode_handle* handle)                 
{                                                                     
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_LOAD))                   
    printf ("rtems-rfs: inode-load: ino=%" PRIu32 " loads=%i loaded=%s\n",
 2041614:	17 00 81 b8 	sethi  %hi(0x206e000), %o3                     <== NOT EXECUTED
 2041618:	10 bf ff f2 	b  20415e0 <rtems_rfs_inode_load+0x34>         <== NOT EXECUTED
 204161c:	96 12 e2 38 	or  %o3, 0x238, %o3	! 206e238 <__FUNCTION__.7829+0xaa0><== NOT EXECUTED
                                                                      
  if (!rtems_rfs_inode_is_loaded (handle))                            
  {                                                                   
    int rc;                                                           
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs,&handle->buffer,         
 2041620:	90 10 00 18 	mov  %i0, %o0                                  
 2041624:	92 06 60 10 	add  %i1, 0x10, %o1                            
 2041628:	7f ff ec be 	call  203c920 <rtems_rfs_buffer_handle_request>
 204162c:	96 10 20 01 	mov  1, %o3                                    
                                          handle->block, true);       
    if (rc > 0)                                                       
 2041630:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2041634:	14 bf ff f6 	bg  204160c <rtems_rfs_inode_load+0x60>        <== NEVER TAKEN
 2041638:	01 00 00 00 	nop                                            
      return rc;                                                      
                                                                      
    handle->node = rtems_rfs_buffer_data (&handle->buffer);           
 204163c:	c4 06 60 18 	ld  [ %i1 + 0x18 ], %g2                        
    handle->node += handle->offset;                                   
 2041640:	c2 06 60 20 	ld  [ %i1 + 0x20 ], %g1                        
 2041644:	c4 00 a0 1c 	ld  [ %g2 + 0x1c ], %g2                        
 2041648:	87 28 60 03 	sll  %g1, 3, %g3                               
 204164c:	83 28 60 06 	sll  %g1, 6, %g1                               
 2041650:	82 20 40 03 	sub  %g1, %g3, %g1                             
 2041654:	82 00 80 01 	add  %g2, %g1, %g1                             
 2041658:	10 bf ff e9 	b  20415fc <rtems_rfs_inode_load+0x50>         
 204165c:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
                                                                      

02041660 <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) {
 2041660:	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))                   
 2041664:	90 10 20 00 	clr  %o0                                       
 2041668:	7f ff 96 07 	call  2026e84 <rtems_rfs_trace>                
 204166c:	13 00 01 00 	sethi  %hi(0x40000), %o1                       
 2041670:	80 8a 20 ff 	btst  0xff, %o0                                
 2041674:	32 80 00 2d 	bne,a   2041728 <rtems_rfs_inode_open+0xc8>    <== NEVER TAKEN
 2041678:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);        
                                                                      
  if (ino == RTEMS_RFS_EMPTY_INO)                                     
 204167c:	80 a6 60 00 	cmp  %i1, 0                                    
 2041680:	12 80 00 04 	bne  2041690 <rtems_rfs_inode_open+0x30>       <== ALWAYS TAKEN
 2041684:	82 10 20 16 	mov  0x16, %g1                                 
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
    rc = rtems_rfs_inode_load (fs, handle);                           
  return rc;                                                          
}                                                                     
 2041688:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204168c:	91 e8 00 01 	restore  %g0, %g1, %o0                         <== NOT EXECUTED
    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);        
                                                                      
  if (ino == RTEMS_RFS_EMPTY_INO)                                     
    return EINVAL;                                                    
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
 2041690:	c4 06 20 14 	ld  [ %i0 + 0x14 ], %g2                        
 2041694:	ba 06 7f ff 	add  %i1, -1, %i5                              
 2041698:	80 a7 40 02 	cmp  %i5, %g2                                  
 204169c:	18 bf ff fb 	bgu  2041688 <rtems_rfs_inode_open+0x28>       <== NEVER TAKEN
 20416a0:	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;                                    
 20416a4:	e0 06 20 2c 	ld  [ %i0 + 0x2c ], %l0                        
    return EINVAL;                                                    
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
 20416a8:	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;                                    
 20416ac:	92 10 00 10 	mov  %l0, %o1                                  
                                                                      
  if ((ino - RTEMS_RFS_ROOT_INO) > rtems_rfs_fs_inodes (fs))          
    return EINVAL;                                                    
                                                                      
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
 20416b0:	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;                                    
 20416b4:	40 00 82 26 	call  2061f4c <.urem>                          
 20416b8:	c0 26 a0 24 	clr  [ %i2 + 0x24 ]                            
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
 20416bc:	f8 06 20 30 	ld  [ %i0 + 0x30 ], %i4                        
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
  gino  = gino % fs->group_inodes;                                    
 20416c0:	b2 10 00 08 	mov  %o0, %i1                                  
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
 20416c4:	40 00 82 22 	call  2061f4c <.urem>                          
 20416c8:	92 10 00 1c 	mov  %i4, %o1                                  
  handle->ino = ino;                                                  
  handle->node = NULL;                                                
  handle->loads = 0;                                                  
                                                                      
  gino  = ino - RTEMS_RFS_ROOT_INO;                                   
  group = gino / fs->group_inodes;                                    
 20416cc:	92 10 00 10 	mov  %l0, %o1                                  
  gino  = gino % fs->group_inodes;                                    
  index = (gino / fs->inodes_per_block) + RTEMS_RFS_GROUP_INODE_BLOCK;
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
 20416d0:	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;                                    
 20416d4:	40 00 81 72 	call  2061c9c <.udiv>                          
 20416d8:	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); 
 20416dc:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        
 20416e0:	87 2a 20 04 	sll  %o0, 4, %g3                               
 20416e4:	83 2a 20 06 	sll  %o0, 6, %g1                               
 20416e8:	82 00 c0 01 	add  %g3, %g1, %g1                             
  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;
 20416ec:	fa 00 80 01 	ld  [ %g2 + %g1 ], %i5                         
 20416f0:	90 10 00 19 	mov  %i1, %o0                                  
 20416f4:	ba 07 60 02 	add  %i5, 2, %i5                               
 20416f8:	40 00 81 69 	call  2061c9c <.udiv>                          
 20416fc:	92 10 00 1c 	mov  %i4, %o1                                  
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2041700:	c0 2e a0 10 	clrb  [ %i2 + 0x10 ]                           
                                                                      
  handle->offset = gino % fs->inodes_per_block;                       
  handle->block  = rtems_rfs_group_block (&fs->groups[group], index); 
 2041704:	90 07 40 08 	add  %i5, %o0, %o0                             
  handle->bnum  = 0;                                                  
 2041708:	c0 26 a0 14 	clr  [ %i2 + 0x14 ]                            
 204170c:	d0 26 a0 1c 	st  %o0, [ %i2 + 0x1c ]                        
  handle->buffer = NULL;                                              
 2041710:	c0 26 a0 18 	clr  [ %i2 + 0x18 ]                            
                                                                      
  rc = rtems_rfs_buffer_handle_open (fs, &handle->buffer);            
  if ((rc == 0) && load)                                              
 2041714:	80 a6 e0 00 	cmp  %i3, 0                                    
 2041718:	02 bf ff dc 	be  2041688 <rtems_rfs_inode_open+0x28>        <== NEVER TAKEN
 204171c:	82 10 20 00 	clr  %g1                                       
    rc = rtems_rfs_inode_load (fs, handle);                           
 2041720:	7f ff ff a3 	call  20415ac <rtems_rfs_inode_load>           
 2041724:	93 e8 00 1a 	restore  %g0, %i2, %o1                         
  int gino;                                                           
  int index;                                                          
  int rc;                                                             
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_OPEN))                   
    printf ("rtems-rfs: inode-open: ino: %" PRIu32 "\n", ino);        
 2041728:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 204172c:	40 00 2e b6 	call  204d204 <printf>                         <== NOT EXECUTED
 2041730:	90 12 22 48 	or  %o0, 0x248, %o0	! 206f648 <__FUNCTION__.7829+0x1eb0><== NOT EXECUTED
                                                                      
  if (ino == RTEMS_RFS_EMPTY_INO)                                     
 2041734:	10 bf ff d3 	b  2041680 <rtems_rfs_inode_open+0x20>         <== NOT EXECUTED
 2041738:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
                                                                      

020419ac <rtems_rfs_inode_time_stamp_now>: int rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle, bool atime, bool mtime) {
 20419ac:	9d e3 bf a0 	save  %sp, -96, %sp                            
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
 20419b0:	c2 06 20 0c 	ld  [ %i0 + 0xc ], %g1                         
                                                                      
int                                                                   
rtems_rfs_inode_time_stamp_now (rtems_rfs_inode_handle* handle,       
                                bool                    atime,        
                                bool                    mtime)        
{                                                                     
 20419b4:	ba 10 00 18 	mov  %i0, %i5                                  
  time_t now;                                                         
  if (!rtems_rfs_inode_is_loaded (handle))                            
 20419b8:	80 a0 60 00 	cmp  %g1, 0                                    
 20419bc:	02 80 00 23 	be  2041a48 <rtems_rfs_inode_time_stamp_now+0x9c><== NEVER TAKEN
 20419c0:	b0 10 20 06 	mov  6, %i0                                    
    return ENXIO;                                                     
  now = time (NULL);                                                  
 20419c4:	40 00 4e 19 	call  2055228 <time>                           
 20419c8:	90 10 20 00 	clr  %o0                                       
  if (atime)                                                          
 20419cc:	80 a6 60 00 	cmp  %i1, 0                                    
 20419d0:	02 80 00 0f 	be  2041a0c <rtems_rfs_inode_time_stamp_now+0x60><== NEVER TAKEN
 20419d4:	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);                  
 20419d8:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 20419dc:	85 32 20 18 	srl  %o0, 0x18, %g2                            
 20419e0:	c4 28 60 10 	stb  %g2, [ %g1 + 0x10 ]                       
 20419e4:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 20419e8:	85 32 20 10 	srl  %o0, 0x10, %g2                            
 20419ec:	c4 28 60 11 	stb  %g2, [ %g1 + 0x11 ]                       
 20419f0:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 20419f4:	85 32 20 08 	srl  %o0, 8, %g2                               
 20419f8:	c4 28 60 12 	stb  %g2, [ %g1 + 0x12 ]                       
 20419fc:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2041a00:	d0 28 60 13 	stb  %o0, [ %g1 + 0x13 ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2041a04:	82 10 20 01 	mov  1, %g1                                    
 2041a08:	c2 2f 60 10 	stb  %g1, [ %i5 + 0x10 ]                       
    rtems_rfs_inode_set_atime (handle, now);                          
  if (mtime)                                                          
 2041a0c:	02 80 00 0f 	be  2041a48 <rtems_rfs_inode_time_stamp_now+0x9c><== NEVER TAKEN
 2041a10:	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);                  
 2041a14:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2041a18:	85 32 20 18 	srl  %o0, 0x18, %g2                            
 2041a1c:	c4 28 60 14 	stb  %g2, [ %g1 + 0x14 ]                       
 2041a20:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2041a24:	85 32 20 10 	srl  %o0, 0x10, %g2                            
 2041a28:	c4 28 60 15 	stb  %g2, [ %g1 + 0x15 ]                       
 2041a2c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2041a30:	85 32 20 08 	srl  %o0, 8, %g2                               
 2041a34:	c4 28 60 16 	stb  %g2, [ %g1 + 0x16 ]                       
 2041a38:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2041a3c:	d0 28 60 17 	stb  %o0, [ %g1 + 0x17 ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2041a40:	82 10 20 01 	mov  1, %g1                                    
 2041a44:	c2 2f 60 10 	stb  %g1, [ %i5 + 0x10 ]                       
    rtems_rfs_inode_set_mtime (handle, now);                          
  return 0;                                                           
}                                                                     
 2041a48:	81 c7 e0 08 	ret                                            
 2041a4c:	81 e8 00 00 	restore                                        
                                                                      

0204173c <rtems_rfs_inode_unload>: int rtems_rfs_inode_unload (rtems_rfs_file_system* fs, rtems_rfs_inode_handle* handle, bool update_ctime) {
 204173c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
 2041740:	90 10 20 00 	clr  %o0                                       
 2041744:	7f ff 95 d0 	call  2026e84 <rtems_rfs_trace>                
 2041748:	13 00 08 00 	sethi  %hi(0x200000), %o1                      
 204174c:	80 8a 20 ff 	btst  0xff, %o0                                
 2041750:	02 80 00 0c 	be  2041780 <rtems_rfs_inode_unload+0x44>      <== ALWAYS TAKEN
 2041754:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
    printf ("rtems-rfs: inode-unload: ino=%" PRIu32 " loads=%i loaded=%s\n",
 2041758:	d2 06 60 08 	ld  [ %i1 + 8 ], %o1                           <== NOT EXECUTED
 204175c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2041760:	02 80 00 25 	be  20417f4 <rtems_rfs_inode_unload+0xb8>      <== NOT EXECUTED
 2041764:	d4 06 60 24 	ld  [ %i1 + 0x24 ], %o2                        <== NOT EXECUTED
 2041768:	17 00 81 b8 	sethi  %hi(0x206e000), %o3                     <== NOT EXECUTED
 204176c:	96 12 e2 30 	or  %o3, 0x230, %o3	! 206e230 <__FUNCTION__.7829+0xa98><== NOT EXECUTED
 2041770:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2041774:	40 00 2e a4 	call  204d204 <printf>                         <== NOT EXECUTED
 2041778:	90 12 22 70 	or  %o0, 0x270, %o0	! 206f670 <__FUNCTION__.7829+0x1ed8><== NOT EXECUTED
            handle->ino, handle->loads,                               
            rtems_rfs_inode_is_loaded (handle) ? "yes" : "no");       
                                                                      
  if (rtems_rfs_inode_is_loaded (handle))                             
 204177c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         <== NOT EXECUTED
 2041780:	80 a0 60 00 	cmp  %g1, 0                                    
 2041784:	22 80 00 0d 	be,a   20417b8 <rtems_rfs_inode_unload+0x7c>   
 2041788:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (handle->loads == 0)                                           
 204178c:	c4 06 60 24 	ld  [ %i1 + 0x24 ], %g2                        
 2041790:	80 a0 a0 00 	cmp  %g2, 0                                    
 2041794:	12 80 00 04 	bne  20417a4 <rtems_rfs_inode_unload+0x68>     <== ALWAYS TAKEN
 2041798:	90 10 20 05 	mov  5, %o0                                    
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 204179c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20417a0:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
  if (rtems_rfs_inode_is_loaded (handle))                             
  {                                                                   
    if (handle->loads == 0)                                           
      return EIO;                                                     
                                                                      
    handle->loads--;                                                  
 20417a4:	84 00 bf ff 	add  %g2, -1, %g2                              
                                                                      
    if (handle->loads == 0)                                           
 20417a8:	80 a0 a0 00 	cmp  %g2, 0                                    
 20417ac:	02 80 00 05 	be  20417c0 <rtems_rfs_inode_unload+0x84>      
 20417b0:	c4 26 60 24 	st  %g2, [ %i1 + 0x24 ]                        
int                                                                   
rtems_rfs_inode_unload (rtems_rfs_file_system*  fs,                   
                        rtems_rfs_inode_handle* handle,               
                        bool                    update_ctime)         
{                                                                     
  int rc = 0;                                                         
 20417b4:	90 10 20 00 	clr  %o0                                       
      handle->node = NULL;                                            
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 20417b8:	81 c7 e0 08 	ret                                            
 20417bc:	91 e8 00 08 	restore  %g0, %o0, %o0                         
    if (handle->loads == 0)                                           
    {                                                                 
      /*                                                              
       * If the buffer is dirty it will be release. Also set the ctime.
       */                                                             
      if (rtems_rfs_buffer_dirty (&handle->buffer) && update_ctime)   
 20417c0:	c2 0e 60 10 	ldub  [ %i1 + 0x10 ], %g1                      
 20417c4:	80 a0 60 00 	cmp  %g1, 0                                    
 20417c8:	02 80 00 06 	be  20417e0 <rtems_rfs_inode_unload+0xa4>      
 20417cc:	90 10 00 18 	mov  %i0, %o0                                  
 20417d0:	80 a6 a0 00 	cmp  %i2, 0                                    
 20417d4:	12 80 00 0b 	bne  2041800 <rtems_rfs_inode_unload+0xc4>     <== ALWAYS TAKEN
 20417d8:	01 00 00 00 	nop                                            
        rtems_rfs_inode_set_ctime (handle, time (NULL));              
      rc = rtems_rfs_buffer_handle_release (fs, &handle->buffer);     
 20417dc:	90 10 00 18 	mov  %i0, %o0                                  
 20417e0:	7f ff eb d6 	call  203c738 <rtems_rfs_buffer_handle_release>
 20417e4:	92 06 60 10 	add  %i1, 0x10, %o1                            
      handle->node = NULL;                                            
 20417e8:	c0 26 60 0c 	clr  [ %i1 + 0xc ]                             
    }                                                                 
  }                                                                   
                                                                      
  return rc;                                                          
}                                                                     
 20417ec:	81 c7 e0 08 	ret                                            
 20417f0:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                        bool                    update_ctime)         
{                                                                     
  int rc = 0;                                                         
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_INODE_UNLOAD))                 
    printf ("rtems-rfs: inode-unload: ino=%" PRIu32 " loads=%i loaded=%s\n",
 20417f4:	17 00 81 b8 	sethi  %hi(0x206e000), %o3                     <== NOT EXECUTED
 20417f8:	10 bf ff de 	b  2041770 <rtems_rfs_inode_unload+0x34>       <== NOT EXECUTED
 20417fc:	96 12 e2 38 	or  %o3, 0x238, %o3	! 206e238 <__FUNCTION__.7829+0xaa0><== NOT EXECUTED
    {                                                                 
      /*                                                              
       * If the buffer is dirty it will be release. Also set the ctime.
       */                                                             
      if (rtems_rfs_buffer_dirty (&handle->buffer) && update_ctime)   
        rtems_rfs_inode_set_ctime (handle, time (NULL));              
 2041800:	40 00 4e 8a 	call  2055228 <time>                           
 2041804:	90 10 20 00 	clr  %o0                                       
 */                                                                   
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);                  
 2041808:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 204180c:	85 32 20 18 	srl  %o0, 0x18, %g2                            
 2041810:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
 2041814:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 2041818:	85 32 20 10 	srl  %o0, 0x10, %g2                            
 204181c:	c4 28 60 19 	stb  %g2, [ %g1 + 0x19 ]                       
 2041820:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 2041824:	85 32 20 08 	srl  %o0, 8, %g2                               
 2041828:	c4 28 60 1a 	stb  %g2, [ %g1 + 0x1a ]                       
 204182c:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 2041830:	d0 28 60 1b 	stb  %o0, [ %g1 + 0x1b ]                       
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2041834:	82 10 20 01 	mov  1, %g1                                    
 2041838:	10 bf ff e9 	b  20417dc <rtems_rfs_inode_unload+0xa0>       
 204183c:	c2 2e 60 10 	stb  %g1, [ %i1 + 0x10 ]                       
                                                                      

02041f88 <rtems_rfs_link>: const char* name, int length, rtems_rfs_ino parent, rtems_rfs_ino target, bool link_dir) {
 2041f88:	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))                         
 2041f8c:	90 10 20 00 	clr  %o0                                       
 2041f90:	13 00 40 00 	sethi  %hi(0x1000000), %o1                     
 2041f94:	7f ff 93 bc 	call  2026e84 <rtems_rfs_trace>                
 2041f98:	a2 10 00 18 	mov  %i0, %l1                                  
 2041f9c:	80 8a 20 ff 	btst  0xff, %o0                                
 2041fa0:	12 80 00 52 	bne  20420e8 <rtems_rfs_link+0x160>            <== NEVER TAKEN
 2041fa4:	92 10 00 1b 	mov  %i3, %o1                                  
    for (c = 0; c < length; c++)                                      
      printf ("%c", name[c]);                                         
    printf ("(%" PRIu32 ")\n", target);                               
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
 2041fa8:	90 10 00 11 	mov  %l1, %o0                                  
 2041fac:	92 10 00 1c 	mov  %i4, %o1                                  
 2041fb0:	94 07 bf d8 	add  %fp, -40, %o2                             
 2041fb4:	7f ff fd ab 	call  2041660 <rtems_rfs_inode_open>           
 2041fb8:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 2041fbc:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2041fc0:	12 80 00 3d 	bne  20420b4 <rtems_rfs_link+0x12c>            <== NEVER TAKEN
 2041fc4:	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)))
 2041fc8:	12 80 00 0b 	bne  2041ff4 <rtems_rfs_link+0x6c>             <== NEVER TAKEN
 2041fcc:	90 10 00 11 	mov  %l1, %o0                                  
 * @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);                    
 2041fd0:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 2041fd4:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
 2041fd8:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2041fdc:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2041fe0:	84 08 80 01 	and  %g2, %g1, %g2                             
 2041fe4:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 2041fe8:	80 a0 80 01 	cmp  %g2, %g1                                  
 2041fec:	02 80 00 55 	be  2042140 <rtems_rfs_link+0x1b8>             <== NEVER TAKEN
 2041ff0:	b0 10 20 86 	mov  0x86, %i0                                 
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return ENOTSUP;                                                   
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
 2041ff4:	92 10 00 1b 	mov  %i3, %o1                                  
 2041ff8:	94 07 bf b0 	add  %fp, -80, %o2                             
 2041ffc:	7f ff fd 99 	call  2041660 <rtems_rfs_inode_open>           
 2042000:	96 10 20 01 	mov  1, %o3                                    
 2042004:	b0 10 00 08 	mov  %o0, %i0                                  
  if (rc)                                                             
 2042008:	80 a6 20 00 	cmp  %i0, 0                                    
 204200c:	12 80 00 27 	bne  20420a8 <rtems_rfs_link+0x120>            <== NEVER TAKEN
 2042010:	90 10 00 11 	mov  %l1, %o0                                  
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
 2042014:	92 07 bf b0 	add  %fp, -80, %o1                             
 2042018:	94 10 00 19 	mov  %i1, %o2                                  
 204201c:	96 10 00 1a 	mov  %i2, %o3                                  
 2042020:	7f ff ed 81 	call  203d624 <rtems_rfs_dir_add_entry>        
 2042024:	98 10 00 1c 	mov  %i4, %o4                                  
  if (rc > 0)                                                         
 2042028:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 204202c:	14 80 00 42 	bg  2042134 <rtems_rfs_link+0x1ac>             <== NEVER TAKEN
 2042030:	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);                  
 2042034:	c6 08 60 01 	ldub  [ %g1 + 1 ], %g3                         
 2042038:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
 204203c:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2042040:	84 10 80 03 	or  %g2, %g3, %g2                              
  if (links == 0xffff)                                                
 2042044:	07 3f ff c0 	sethi  %hi(0xffff0000), %g3                    
 2042048:	89 28 a0 10 	sll  %g2, 0x10, %g4                            
 204204c:	80 a1 00 03 	cmp  %g4, %g3                                  
 2042050:	22 80 00 40 	be,a   2042150 <rtems_rfs_link+0x1c8>          <== NEVER TAKEN
 2042054:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
 2042058:	84 00 a0 01 	inc  %g2                                       
 204205c:	87 28 a0 10 	sll  %g2, 0x10, %g3                            
 2042060:	87 30 e0 18 	srl  %g3, 0x18, %g3                            
 * @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);                  
 2042064:	c6 28 40 00 	stb  %g3, [ %g1 ]                              
 2042068:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  }                                                                   
                                                                      
  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);    
 204206c:	92 10 20 01 	mov  1, %o1                                    
 2042070:	c4 28 60 01 	stb  %g2, [ %g1 + 1 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2042074:	82 10 20 01 	mov  1, %g1                                    
 2042078:	90 07 bf b0 	add  %fp, -80, %o0                             
 204207c:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        
 2042080:	7f ff fe 4b 	call  20419ac <rtems_rfs_inode_time_stamp_now> 
 2042084:	94 10 20 01 	mov  1, %o2                                    
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
 2042088:	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);    
 204208c:	b0 10 00 08 	mov  %o0, %i0                                  
  if (rc > 0)                                                         
 2042090:	80 a6 20 00 	cmp  %i0, 0                                    
 2042094:	04 80 00 0a 	ble  20420bc <rtems_rfs_link+0x134>            <== ALWAYS TAKEN
 2042098:	90 10 00 11 	mov  %l1, %o0                                  
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
 204209c:	7f ff fd e9 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20420a0:	01 00 00 00 	nop                                            <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
 20420a4:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 20420a8:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 20420ac:	7f ff fd e5 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20420b0:	01 00 00 00 	nop                                            <== NOT EXECUTED
 20420b4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20420b8:	81 e8 00 00 	restore                                        <== 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);                     
 20420bc:	7f ff fd e1 	call  2041840 <rtems_rfs_inode_close>          
 20420c0:	01 00 00 00 	nop                                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
 20420c4:	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);                     
 20420c8:	b0 10 00 08 	mov  %o0, %i0                                  
  if (rc > 0)                                                         
 20420cc:	80 a6 20 00 	cmp  %i0, 0                                    
 20420d0:	14 bf ff f7 	bg  20420ac <rtems_rfs_link+0x124>             <== NEVER TAKEN
 20420d4:	90 10 00 11 	mov  %l1, %o0                                  
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
 20420d8:	7f ff fd da 	call  2041840 <rtems_rfs_inode_close>          
 20420dc:	01 00 00 00 	nop                                            
                                                                      
  return rc;                                                          
}                                                                     
 20420e0:	81 c7 e0 08 	ret                                            
 20420e4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_LINK))                         
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: link: parent(%" PRIu32 ") -> ", parent);      
 20420e8:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 20420ec:	40 00 2c 46 	call  204d204 <printf>                         <== NOT EXECUTED
 20420f0:	90 12 23 90 	or  %o0, 0x390, %o0	! 206f790 <__FUNCTION__.7829+0x1ff8><== NOT EXECUTED
 20420f4:	a0 10 00 19 	mov  %i1, %l0                                  <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
 20420f8:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 20420fc:	04 80 00 08 	ble  204211c <rtems_rfs_link+0x194>            <== NOT EXECUTED
 2042100:	b0 06 40 1a 	add  %i1, %i2, %i0                             <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 2042104:	d0 4c 00 00 	ldsb  [ %l0 ], %o0                             <== NOT EXECUTED
 2042108:	40 00 2c a9 	call  204d3ac <putchar>                        <== NOT EXECUTED
 204210c:	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++)                                      
 2042110:	80 a4 00 18 	cmp  %l0, %i0                                  <== NOT EXECUTED
 2042114:	32 bf ff fd 	bne,a   2042108 <rtems_rfs_link+0x180>         <== NOT EXECUTED
 2042118:	d0 4c 00 00 	ldsb  [ %l0 ], %o0                             <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf ("(%" PRIu32 ")\n", target);                               
 204211c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2042120:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2042124:	40 00 2c 38 	call  204d204 <printf>                         <== NOT EXECUTED
 2042128:	90 12 23 b8 	or  %o0, 0x3b8, %o0	! 206f7b8 <__FUNCTION__.7829+0x2020><== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
 204212c:	10 bf ff a0 	b  2041fac <rtems_rfs_link+0x24>               <== NOT EXECUTED
 2042130:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_add_entry (fs, &parent_inode, name, length, target);
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_inode_close (fs, &parent_inode);                        
 2042134:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
 2042138:	10 bf ff d9 	b  204209c <rtems_rfs_link+0x114>              <== NOT EXECUTED
 204213c:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
   * 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)))
  {                                                                   
    rtems_rfs_inode_close (fs, &target_inode);                        
 2042140:	7f ff fd c0 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2042144:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 2042148:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204214c:	81 e8 00 00 	restore                                        <== 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)                                                
 2042150:	10 bf ff c5 	b  2042064 <rtems_rfs_link+0xdc>               <== NOT EXECUTED
 2042154:	86 10 20 00 	clr  %g3                                       <== NOT EXECUTED
                                                                      

020429bc <rtems_rfs_mutex_create>: RTEMS_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL) #endif int rtems_rfs_mutex_create (rtems_rfs_mutex* mutex) {
 20429bc:	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'), 
 20429c0:	92 10 20 01 	mov  1, %o1                                    
 20429c4:	98 10 00 18 	mov  %i0, %o4                                  
 20429c8:	11 14 91 94 	sethi  %hi(0x52465000), %o0                    
 20429cc:	94 10 20 54 	mov  0x54, %o2                                 
 20429d0:	90 12 23 6d 	or  %o0, 0x36d, %o0                            
 20429d4:	96 10 20 00 	clr  %o3                                       
 20429d8:	7f ff 2c b5 	call  200dcac <rtems_semaphore_create>         
 20429dc:	b0 10 20 00 	clr  %i0                                       
                               1, RTEMS_RFS_MUTEX_ATTRIBS, 0,         
                               mutex);                                
  if (sc != RTEMS_SUCCESSFUL)                                         
 20429e0:	80 a2 20 00 	cmp  %o0, 0                                    
 20429e4:	02 80 00 0f 	be  2042a20 <rtems_rfs_mutex_create+0x64>      <== ALWAYS TAKEN
 20429e8:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20429ec:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 20429f0:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20429f4:	7f ff 91 24 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20429f8:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 20429fc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042a00:	02 80 00 08 	be  2042a20 <rtems_rfs_mutex_create+0x64>      <== NOT EXECUTED
 2042a04:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: open failed: %s\n",                  
 2042a08:	7f ff 19 a6 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042a0c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042a10:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2042a14:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 2042a18:	40 00 29 fb 	call  204d204 <printf>                         <== NOT EXECUTED
 2042a1c:	90 12 21 e8 	or  %o0, 0x1e8, %o0	! 206f9e8 <__FUNCTION__.7829+0x2250><== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
 2042a20:	81 c7 e0 08 	ret                                            
 2042a24:	81 e8 00 00 	restore                                        
                                                                      

02042a28 <rtems_rfs_mutex_destroy>: int rtems_rfs_mutex_destroy (rtems_rfs_mutex* mutex) {
 2042a28:	9d e3 bf a0 	save  %sp, -96, %sp                            
#if __rtems__                                                         
  rtems_status_code sc;                                               
  sc = rtems_semaphore_delete (*mutex);                               
 2042a2c:	d0 06 00 00 	ld  [ %i0 ], %o0                               
 2042a30:	7f ff 2d 11 	call  200de74 <rtems_semaphore_delete>         
 2042a34:	b0 10 20 00 	clr  %i0                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042a38:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2042a3c:	02 80 00 0e 	be  2042a74 <rtems_rfs_mutex_destroy+0x4c>     <== ALWAYS TAKEN
 2042a40:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2042a44:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2042a48:	7f ff 91 0f 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042a4c:	b0 10 20 05 	mov  5, %i0                                    <== NOT EXECUTED
 2042a50:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042a54:	02 80 00 08 	be  2042a74 <rtems_rfs_mutex_destroy+0x4c>     <== NOT EXECUTED
 2042a58:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: close failed: %s\n",                 
 2042a5c:	7f ff 19 91 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042a60:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042a64:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2042a68:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 2042a6c:	40 00 29 e6 	call  204d204 <printf>                         <== NOT EXECUTED
 2042a70:	90 12 22 10 	or  %o0, 0x210, %o0	! 206fa10 <__FUNCTION__.7829+0x2278><== NOT EXECUTED
              rtems_status_text (sc));                                
    return EIO;                                                       
  }                                                                   
#endif                                                                
  return 0;                                                           
}                                                                     
 2042a74:	81 c7 e0 08 	ret                                            
 2042a78:	81 e8 00 00 	restore                                        
                                                                      

0203c57c <rtems_rfs_release_chain>: static int rtems_rfs_release_chain (rtems_chain_control* chain, uint32_t* count, bool modified) {
 203c57c:	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))                
 203c580:	90 10 20 00 	clr  %o0                                       
 203c584:	92 10 20 80 	mov  0x80, %o1                                 
 203c588:	7f ff aa 3f 	call  2026e84 <rtems_rfs_trace>                
 203c58c:	ba 10 00 18 	mov  %i0, %i5                                  
 203c590:	80 8a 20 ff 	btst  0xff, %o0                                
 203c594:	32 80 00 1c 	bne,a   203c604 <rtems_rfs_release_chain+0x88> <== NEVER TAKEN
 203c598:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
    (*count)--;                                                       
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
 203c59c:	b0 10 20 00 	clr  %i0                                       
 203c5a0:	b8 07 60 04 	add  %i5, 4, %i4                               
  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))                               
 203c5a4:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 203c5a8:	80 a0 40 1c 	cmp  %g1, %i4                                  
 203c5ac:	02 80 00 14 	be  203c5fc <rtems_rfs_release_chain+0x80>     
 203c5b0:	90 10 00 1d 	mov  %i5, %o0                                  
 203c5b4:	7f ff 4a 05 	call  200edc8 <_Chain_Get>                     
 203c5b8:	01 00 00 00 	nop                                            
  {                                                                   
    buffer = (rtems_rfs_buffer*) rtems_chain_get (chain);             
    (*count)--;                                                       
 203c5bc:	c2 06 40 00 	ld  [ %i1 ], %g1                               
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
 203c5c0:	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)--;                                                       
 203c5c4:	82 00 7f ff 	add  %g1, -1, %g1                              
 203c5c8:	c2 26 40 00 	st  %g1, [ %i1 ]                               
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
 203c5cc:	40 00 2e f7 	call  20481a8 <rtems_rfs_buffer_bdbuf_release> 
 203c5d0:	c0 22 20 34 	clr  [ %o0 + 0x34 ]                            
    if ((rc > 0) && (rrc == 0))                                       
 203c5d4:	80 a2 20 00 	cmp  %o0, 0                                    
 203c5d8:	04 bf ff f4 	ble  203c5a8 <rtems_rfs_release_chain+0x2c>    <== ALWAYS TAKEN
 203c5dc:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 203c5e0:	80 a6 20 00 	cmp  %i0, 0                                    <== NOT EXECUTED
 203c5e4:	12 bf ff f1 	bne  203c5a8 <rtems_rfs_release_chain+0x2c>    <== NOT EXECUTED
 203c5e8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 203c5ec:	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))                               
 203c5f0:	80 a0 40 1c 	cmp  %g1, %i4                                  <== NOT EXECUTED
 203c5f4:	12 bf ff f0 	bne  203c5b4 <rtems_rfs_release_chain+0x38>    <== NOT EXECUTED
 203c5f8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
      rrc = rc;                                                       
  }                                                                   
  return rrc;                                                         
}                                                                     
 203c5fc:	81 c7 e0 08 	ret                                            
 203c600:	81 e8 00 00 	restore                                        
  rtems_rfs_buffer* buffer;                                           
  int               rrc = 0;                                          
  int               rc;                                               
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
    printf ("rtems-rfs: release-chain: count=%" PRIu32 "\n", *count); 
 203c604:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203c608:	40 00 42 ff 	call  204d204 <printf>                         <== NOT EXECUTED
 203c60c:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 206d8c8 <__FUNCTION__.7829+0x130><== NOT EXECUTED
    (*count)--;                                                       
                                                                      
    buffer->user = (void*) 0;                                         
                                                                      
    rc = rtems_rfs_buffer_io_release (buffer, modified);              
    if ((rc > 0) && (rrc == 0))                                       
 203c610:	10 bf ff e4 	b  203c5a0 <rtems_rfs_release_chain+0x24>      <== NOT EXECUTED
 203c614:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                                                                      

020247c8 <rtems_rfs_rtems_chown>: static int rtems_rfs_rtems_chown (const rtems_filesystem_location_info_t *pathloc, uid_t owner, gid_t group) {
 20247c8:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 20247cc:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
                                                                      
  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);                                       
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 20247d0:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
static int                                                            
rtems_rfs_rtems_chown (const rtems_filesystem_location_info_t *pathloc,
                       uid_t                                   owner, 
                       gid_t                                   group) 
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 20247d4:	f8 00 60 08 	ld  [ %g1 + 8 ], %i4                           
                                                                      
  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);                                       
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 20247d8:	94 07 bf d8 	add  %fp, -40, %o2                             
 20247dc:	90 10 00 1c 	mov  %i4, %o0                                  
 20247e0:	40 00 73 a0 	call  2041660 <rtems_rfs_inode_open>           
 20247e4:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 20247e8:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20247ec:	04 80 00 07 	ble  2024808 <rtems_rfs_rtems_chown+0x40>      <== ALWAYS TAKEN
 20247f0:	01 00 00 00 	nop                                            
  rtems_rfs_inode_set_uid_gid (&inode, owner, group);                 
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
 20247f4:	40 00 90 45 	call  2048908 <__errno>                        <== NOT EXECUTED
 20247f8:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 20247fc:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2024800:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024804:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
                                                                      
#if defined (RTEMS_POSIX_API)                                         
  uid = geteuid();                                                    
 2024808:	40 00 1d 1d 	call  202bc7c <geteuid>                        
 202480c:	01 00 00 00 	nop                                            
 * @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;          
 2024810:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
                                                                      
  if ((uid != rtems_rfs_inode_get_uid (&inode)) && (uid != 0))        
 2024814:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 2024818:	c4 08 60 06 	ldub  [ %g1 + 6 ], %g2                         
 202481c:	c6 08 60 07 	ldub  [ %g1 + 7 ], %g3                         
 2024820:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2024824:	84 10 80 03 	or  %g2, %g3, %g2                              
 2024828:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 202482c:	80 a0 80 08 	cmp  %g2, %o0                                  
 2024830:	02 80 00 05 	be  2024844 <rtems_rfs_rtems_chown+0x7c>       <== ALWAYS TAKEN
 2024834:	89 32 20 10 	srl  %o0, 0x10, %g4                            
 2024838:	80 a1 20 00 	cmp  %g4, 0                                    <== NOT EXECUTED
 202483c:	12 80 00 19 	bne  20248a0 <rtems_rfs_rtems_chown+0xd8>      <== NOT EXECUTED
 2024840:	92 07 bf d8 	add  %fp, -40, %o1                             <== 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);
 2024844:	b5 2e a0 10 	sll  %i2, 0x10, %i2                            
 2024848:	b4 16 80 19 	or  %i2, %i1, %i2                              
 202484c:	85 36 a0 18 	srl  %i2, 0x18, %g2                            
 2024850:	c4 28 60 04 	stb  %g2, [ %g1 + 4 ]                          
 2024854:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 2024858:	85 36 a0 10 	srl  %i2, 0x10, %g2                            
 202485c:	c4 28 60 05 	stb  %g2, [ %g1 + 5 ]                          
 2024860:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 2024864:	b5 36 a0 08 	srl  %i2, 8, %i2                               
 2024868:	f4 28 60 06 	stb  %i2, [ %g1 + 6 ]                          
 202486c:	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);                            
 2024870:	90 10 00 1c 	mov  %i4, %o0                                  
 2024874:	f2 28 60 07 	stb  %i1, [ %g1 + 7 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2024878:	82 10 20 01 	mov  1, %g1                                    
 202487c:	92 07 bf d8 	add  %fp, -40, %o1                             
 2024880:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        
 2024884:	40 00 73 ef 	call  2041840 <rtems_rfs_inode_close>          
 2024888:	b0 10 20 00 	clr  %i0                                       
  if (rc)                                                             
 202488c:	80 a2 20 00 	cmp  %o0, 0                                    
 2024890:	12 bf ff d9 	bne  20247f4 <rtems_rfs_rtems_chown+0x2c>      <== NEVER TAKEN
 2024894:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    return rtems_rfs_rtems_error ("chown: closing inode", rc);        
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2024898:	81 c7 e0 08 	ret                                            
 202489c:	81 e8 00 00 	restore                                        
#if defined (RTEMS_POSIX_API)                                         
  uid = geteuid();                                                    
                                                                      
  if ((uid != rtems_rfs_inode_get_uid (&inode)) && (uid != 0))        
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 20248a0:	40 00 73 e8 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20248a4:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("chown: not able", EPERM);          
 20248a8:	40 00 90 18 	call  2048908 <__errno>                        <== NOT EXECUTED
 20248ac:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20248b0:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 20248b4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20248b8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20248bc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02042ac0 <rtems_rfs_rtems_device_close>: rtems_device_major_number major; rtems_device_minor_number minor; rtems_rfs_rtems_device_get_major_and_minor (iop, &major, &minor); return rtems_deviceio_close (iop, major, minor);
 2042ac0:	d2 02 20 2c 	ld  [ %o0 + 0x2c ], %o1                        <== NOT EXECUTED
 2042ac4:	d4 02 20 30 	ld  [ %o0 + 0x30 ], %o2                        <== NOT EXECUTED
 2042ac8:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 2042acc:	40 00 08 1b 	call  2044b38 <rtems_deviceio_close>           <== NOT EXECUTED
 2042ad0:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

02042a7c <rtems_rfs_rtems_device_ftruncate>: static int rtems_rfs_rtems_device_ftruncate (rtems_libio_t* iop, off_t length) { return 0; }
 2042a7c:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2042a80:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      

02042a84 <rtems_rfs_rtems_device_ioctl>: rtems_device_major_number major; rtems_device_minor_number minor; rtems_rfs_rtems_device_get_major_and_minor (iop, &major, &minor); return rtems_deviceio_control (iop, command, buffer, major, minor);
 2042a84:	d6 02 20 2c 	ld  [ %o0 + 0x2c ], %o3                        <== NOT EXECUTED
 2042a88:	d8 02 20 30 	ld  [ %o0 + 0x30 ], %o4                        <== NOT EXECUTED
 2042a8c:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 2042a90:	40 00 08 6c 	call  2044c40 <rtems_deviceio_control>         <== NOT EXECUTED
 2042a94:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

02042ad4 <rtems_rfs_rtems_device_open>: static int rtems_rfs_rtems_device_open ( rtems_libio_t *iop, const char *pathname, int oflag, mode_t mode) {
 2042ad4:	9d e3 bf 78 	save  %sp, -136, %sp                           <== NOT EXECUTED
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 2042ad8:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== NOT EXECUTED
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_iop_ino (iop);
 2042adc:	e0 06 20 1c 	ld  [ %i0 + 0x1c ], %l0                        <== NOT EXECUTED
rtems_rfs_rtems_device_open ( rtems_libio_t *iop,                     
                              const char    *pathname,                
                              int            oflag,                   
                              mode_t         mode)                    
{                                                                     
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 2042ae0:	fa 00 60 08 	ld  [ %g1 + 8 ], %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);
 2042ae4:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
  .fstat_h     = rtems_rfs_rtems_fstat,                               
  .ftruncate_h = rtems_rfs_rtems_device_ftruncate,                    
  .fsync_h     = rtems_filesystem_default_fsync_or_fdatasync,         
  .fdatasync_h = rtems_filesystem_default_fsync_or_fdatasync,         
  .fcntl_h     = rtems_filesystem_default_fcntl                       
};                                                                    
 2042ae8:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        <== NOT EXECUTED
 2042aec:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2042af0:	7f ff 2d 35 	call  200dfc4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2042af4:	d0 00 40 00 	ld  [ %g1 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042af8:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2042afc:	12 80 00 17 	bne  2042b58 <rtems_rfs_rtems_device_open+0x84><== NOT EXECUTED
 2042b00:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  rtems_device_minor_number     minor;                                
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2042b04:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042b08:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 2042b0c:	94 07 bf d8 	add  %fp, -40, %o2                             <== NOT EXECUTED
 2042b10:	7f ff fa d4 	call  2041660 <rtems_rfs_inode_open>           <== NOT EXECUTED
 2042b14:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc > 0)                                                         
 2042b18:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2042b1c:	04 80 00 23 	ble  2042ba8 <rtems_rfs_rtems_device_open+0xd4><== NOT EXECUTED
 2042b20:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2042b24:	f6 07 60 80 	ld  [ %i5 + 0x80 ], %i3                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2042b28:	7f ff e8 c8 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2042b2c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2042b30:	7f ff 2d 75 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2042b34:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042b38:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2042b3c:	12 80 00 4c 	bne  2042c6c <rtems_rfs_rtems_device_open+0x198><== NOT EXECUTED
 2042b40:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("device_open: closing inode", rc);  
 2042b44:	40 00 17 71 	call  2048908 <__errno>                        <== NOT EXECUTED
 2042b48:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2042b4c:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2042b50:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2042b54:	81 e8 00 00 	restore                                        <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2042b58:	7f ff 90 cb 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042b5c:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2042b60:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042b64:	22 bf ff e9 	be,a   2042b08 <rtems_rfs_rtems_device_open+0x34><== NOT EXECUTED
 2042b68:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2042b6c:	7f ff 19 4d 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042b70:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2042b74:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2042b78:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2042b7c:	40 00 29 a2 	call  204d204 <printf>                         <== NOT EXECUTED
 2042b80:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
  rtems_device_minor_number     minor;                                
  int                           rc;                                   
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2042b84:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042b88:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 2042b8c:	94 07 bf d8 	add  %fp, -40, %o2                             <== NOT EXECUTED
 2042b90:	7f ff fa b4 	call  2041660 <rtems_rfs_inode_open>           <== NOT EXECUTED
 2042b94:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc > 0)                                                         
 2042b98:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2042b9c:	34 bf ff e3 	bg,a   2042b28 <rtems_rfs_rtems_device_open+0x54><== NOT EXECUTED
 2042ba0:	f6 07 60 80 	ld  [ %i5 + 0x80 ], %i3                        <== NOT EXECUTED
 * @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]);      
 2042ba4:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
  }                                                                   
                                                                      
  major = rtems_rfs_inode_get_block (&inode, 0);                      
  minor = rtems_rfs_inode_get_block (&inode, 1);                      
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2042ba8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042bac:	ec 08 60 1c 	ldub  [ %g1 + 0x1c ], %l6                      <== NOT EXECUTED
 2042bb0:	ea 08 60 1d 	ldub  [ %g1 + 0x1d ], %l5                      <== NOT EXECUTED
 2042bb4:	e6 08 60 1e 	ldub  [ %g1 + 0x1e ], %l3                      <== NOT EXECUTED
 2042bb8:	e8 08 60 1f 	ldub  [ %g1 + 0x1f ], %l4                      <== NOT EXECUTED
 2042bbc:	e4 08 60 20 	ldub  [ %g1 + 0x20 ], %l2                      <== NOT EXECUTED
 2042bc0:	e2 08 60 21 	ldub  [ %g1 + 0x21 ], %l1                      <== NOT EXECUTED
 2042bc4:	e0 08 60 22 	ldub  [ %g1 + 0x22 ], %l0                      <== NOT EXECUTED
 2042bc8:	ee 08 60 23 	ldub  [ %g1 + 0x23 ], %l7                      <== NOT EXECUTED
 2042bcc:	7f ff fb 1d 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2042bd0:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
  if (rc > 0)                                                         
 2042bd4:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2042bd8:	34 bf ff d4 	bg,a   2042b28 <rtems_rfs_rtems_device_open+0x54><== NOT EXECUTED
 2042bdc:	f6 07 60 80 	ld  [ %i5 + 0x80 ], %i3                        <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2042be0:	f8 07 60 80 	ld  [ %i5 + 0x80 ], %i4                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2042be4:	7f ff e8 99 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2042be8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2042bec:	7f ff 2d 46 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2042bf0:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042bf4:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2042bf8:	12 80 00 2d 	bne  2042cac <rtems_rfs_rtems_device_open+0x1d8><== NOT EXECUTED
 2042bfc:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2042c00:	ad 2d a0 18 	sll  %l6, 0x18, %l6                            <== NOT EXECUTED
 2042c04:	a8 0d 20 ff 	and  %l4, 0xff, %l4                            <== NOT EXECUTED
 2042c08:	a5 2c a0 18 	sll  %l2, 0x18, %l2                            <== NOT EXECUTED
 2042c0c:	ae 0d e0 ff 	and  %l7, 0xff, %l7                            <== NOT EXECUTED
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
  iop->data1 = (void *) minor;                                        
                                                                      
  return rtems_deviceio_open (iop, pathname, oflag, mode, minor, major);
 2042c10:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2042c14:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2042c18:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 2042c1c:	96 10 00 1b 	mov  %i3, %o3                                  <== NOT EXECUTED
 2042c20:	aa 0d 60 ff 	and  %l5, 0xff, %l5                            <== NOT EXECUTED
 2042c24:	a6 0c e0 ff 	and  %l3, 0xff, %l3                            <== NOT EXECUTED
 2042c28:	ab 2d 60 10 	sll  %l5, 0x10, %l5                            <== NOT EXECUTED
 2042c2c:	a7 2c e0 08 	sll  %l3, 8, %l3                               <== NOT EXECUTED
 2042c30:	9a 15 80 15 	or  %l6, %l5, %o5                              <== NOT EXECUTED
 2042c34:	a2 0c 60 ff 	and  %l1, 0xff, %l1                            <== NOT EXECUTED
 2042c38:	9a 13 40 14 	or  %o5, %l4, %o5                              <== NOT EXECUTED
 2042c3c:	a3 2c 60 10 	sll  %l1, 0x10, %l1                            <== NOT EXECUTED
 2042c40:	9a 13 40 13 	or  %o5, %l3, %o5                              <== NOT EXECUTED
 2042c44:	98 14 80 11 	or  %l2, %l1, %o4                              <== NOT EXECUTED
    return rtems_rfs_rtems_error ("device_open: closing inode", rc);  
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  iop->data0 = major;                                                 
 2042c48:	da 26 20 2c 	st  %o5, [ %i0 + 0x2c ]                        <== NOT EXECUTED
 2042c4c:	98 13 00 17 	or  %o4, %l7, %o4                              <== NOT EXECUTED
 2042c50:	a0 0c 20 ff 	and  %l0, 0xff, %l0                            <== NOT EXECUTED
 2042c54:	a1 2c 20 08 	sll  %l0, 8, %l0                               <== NOT EXECUTED
 2042c58:	98 13 00 10 	or  %o4, %l0, %o4                              <== NOT EXECUTED
  iop->data1 = (void *) minor;                                        
                                                                      
  return rtems_deviceio_open (iop, pathname, oflag, mode, minor, major);
 2042c5c:	40 00 07 aa 	call  2044b04 <rtems_deviceio_open>            <== NOT EXECUTED
 2042c60:	d8 26 20 30 	st  %o4, [ %i0 + 0x30 ]                        <== NOT EXECUTED
}                                                                     
 2042c64:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2042c68:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2042c6c:	7f ff 90 86 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042c70:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2042c74:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042c78:	02 bf ff b3 	be  2042b44 <rtems_rfs_rtems_device_open+0x70> <== NOT EXECUTED
 2042c7c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2042c80:	7f ff 19 08 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042c84:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042c88:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2042c8c:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2042c90:	40 00 29 5d 	call  204d204 <printf>                         <== NOT EXECUTED
 2042c94:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("device_open: closing inode", rc);  
 2042c98:	40 00 17 1c 	call  2048908 <__errno>                        <== NOT EXECUTED
 2042c9c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2042ca0:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2042ca4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2042ca8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2042cac:	7f ff 90 76 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042cb0:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2042cb4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042cb8:	22 bf ff d3 	be,a   2042c04 <rtems_rfs_rtems_device_open+0x130><== NOT EXECUTED
 2042cbc:	ad 2d a0 18 	sll  %l6, 0x18, %l6                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2042cc0:	7f ff 18 f8 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042cc4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042cc8:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2042ccc:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2042cd0:	40 00 29 4d 	call  204d204 <printf>                         <== NOT EXECUTED
 2042cd4:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2042cd8:	10 bf ff cb 	b  2042c04 <rtems_rfs_rtems_device_open+0x130> <== NOT EXECUTED
 2042cdc:	ad 2d a0 18 	sll  %l6, 0x18, %l6                            <== NOT EXECUTED
                                                                      

02042aac <rtems_rfs_rtems_device_read>: rtems_device_major_number major; rtems_device_minor_number minor; rtems_rfs_rtems_device_get_major_and_minor (iop, &major, &minor); return rtems_deviceio_read (iop, buffer, count, major, minor);
 2042aac:	d6 02 20 2c 	ld  [ %o0 + 0x2c ], %o3                        <== NOT EXECUTED
 2042ab0:	d8 02 20 30 	ld  [ %o0 + 0x30 ], %o4                        <== NOT EXECUTED
 2042ab4:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 2042ab8:	40 00 08 2c 	call  2044b68 <rtems_deviceio_read>            <== NOT EXECUTED
 2042abc:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

02042a98 <rtems_rfs_rtems_device_write>: rtems_device_major_number major; rtems_device_minor_number minor; rtems_rfs_rtems_device_get_major_and_minor (iop, &major, &minor); return rtems_deviceio_write (iop, buffer, count, major, minor);
 2042a98:	d6 02 20 2c 	ld  [ %o0 + 0x2c ], %o3                        <== NOT EXECUTED
 2042a9c:	d8 02 20 30 	ld  [ %o0 + 0x30 ], %o4                        <== NOT EXECUTED
 2042aa0:	82 13 c0 00 	mov  %o7, %g1                                  <== NOT EXECUTED
 2042aa4:	40 00 08 4c 	call  2044bd4 <rtems_deviceio_write>           <== NOT EXECUTED
 2042aa8:	9e 10 40 00 	mov  %g1, %o7                                  <== NOT EXECUTED
                                                                      

02042ce8 <rtems_rfs_rtems_dir_open>: static int rtems_rfs_rtems_dir_open (rtems_libio_t* iop, const char* pathname, int oflag, mode_t mode) {
 2042ce8:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 2042cec:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_iop_ino (iop);     
 2042cf0:	f6 06 20 1c 	ld  [ %i0 + 0x1c ], %i3                        
rtems_rfs_rtems_dir_open (rtems_libio_t* iop,                         
                          const char*    pathname,                    
                          int            oflag,                       
                          mode_t         mode)                        
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 2042cf4:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 2042cf8:	92 10 20 00 	clr  %o1                                       
  .fstat_h     = rtems_rfs_rtems_fstat,                               
  .ftruncate_h = rtems_filesystem_default_ftruncate_directory,        
  .fsync_h     = rtems_filesystem_default_fsync_or_fdatasync,         
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl                       
};                                                                    
 2042cfc:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        
 2042d00:	94 10 20 00 	clr  %o2                                       
 2042d04:	7f ff 2c b0 	call  200dfc4 <rtems_semaphore_obtain>         
 2042d08:	d0 00 40 00 	ld  [ %g1 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042d0c:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2042d10:	12 80 00 2d 	bne  2042dc4 <rtems_rfs_rtems_dir_open+0xdc>   <== NEVER TAKEN
 2042d14:	90 10 20 00 	clr  %o0                                       
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2042d18:	90 10 00 1d 	mov  %i5, %o0                                  
 2042d1c:	92 10 00 1b 	mov  %i3, %o1                                  
 2042d20:	94 07 bf d8 	add  %fp, -40, %o2                             
 2042d24:	7f ff fa 4f 	call  2041660 <rtems_rfs_inode_open>           
 2042d28:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 2042d2c:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2042d30:	32 80 00 39 	bne,a   2042e14 <rtems_rfs_rtems_dir_open+0x12c><== NEVER TAKEN
 2042d34:	f6 07 60 80 	ld  [ %i5 + 0x80 ], %i3                        <== 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);                    
 2042d38:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 2042d3c:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: opening inode", rc);     
  }                                                                   
                                                                      
  if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))         
 2042d40:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
 2042d44:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2042d48:	84 08 80 01 	and  %g2, %g1, %g2                             
 2042d4c:	03 00 00 10 	sethi  %hi(0x4000), %g1                        
 2042d50:	80 a0 80 01 	cmp  %g2, %g1                                  
 2042d54:	12 80 00 48 	bne  2042e74 <rtems_rfs_rtems_dir_open+0x18c>  <== NEVER TAKEN
 2042d58:	92 07 bf d8 	add  %fp, -40, %o1                             
    return rtems_rfs_rtems_error ("dir_open: not dir", ENOTDIR);      
  }                                                                   
                                                                      
  iop->offset = 0;                                                    
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 2042d5c:	90 10 00 1d 	mov  %i5, %o0                                  
    rtems_rfs_inode_close (fs, &inode);                               
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: not dir", ENOTDIR);      
  }                                                                   
                                                                      
  iop->offset = 0;                                                    
 2042d60:	c0 26 20 08 	clr  [ %i0 + 8 ]                               
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 2042d64:	7f ff fa b7 	call  2041840 <rtems_rfs_inode_close>          
 2042d68:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2042d6c:	f8 07 60 80 	ld  [ %i5 + 0x80 ], %i4                        
  rtems_rfs_buffers_release (fs);                                     
 2042d70:	7f ff e8 36 	call  203ce48 <rtems_rfs_buffers_release>      
 2042d74:	90 10 00 1d 	mov  %i5, %o0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2042d78:	7f ff 2c e3 	call  200e104 <rtems_semaphore_release>        
 2042d7c:	d0 07 00 00 	ld  [ %i4 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042d80:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2042d84:	12 80 00 04 	bne  2042d94 <rtems_rfs_rtems_dir_open+0xac>   <== NEVER TAKEN
 2042d88:	90 10 20 00 	clr  %o0                                       
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
 2042d8c:	81 c7 e0 08 	ret                                            
 2042d90:	91 e8 20 00 	restore  %g0, 0, %o0                           
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2042d94:	7f ff 90 3c 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042d98:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2042d9c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042da0:	02 bf ff fb 	be  2042d8c <rtems_rfs_rtems_dir_open+0xa4>    <== NOT EXECUTED
 2042da4:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2042da8:	7f ff 18 be 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042dac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042db0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2042db4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2042db8:	40 00 29 13 	call  204d204 <printf>                         <== NOT EXECUTED
 2042dbc:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2042dc0:	30 bf ff f3 	b,a   2042d8c <rtems_rfs_rtems_dir_open+0xa4>  <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2042dc4:	7f ff 90 30 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042dc8:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2042dcc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042dd0:	22 bf ff d3 	be,a   2042d1c <rtems_rfs_rtems_dir_open+0x34> <== NOT EXECUTED
 2042dd4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2042dd8:	7f ff 18 b2 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042ddc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2042de0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2042de4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2042de8:	40 00 29 07 	call  204d204 <printf>                         <== NOT EXECUTED
 2042dec:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2042df0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042df4:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 2042df8:	94 07 bf d8 	add  %fp, -40, %o2                             <== NOT EXECUTED
 2042dfc:	7f ff fa 19 	call  2041660 <rtems_rfs_inode_open>           <== NOT EXECUTED
 2042e00:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc)                                                             
 2042e04:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2042e08:	02 bf ff cd 	be  2042d3c <rtems_rfs_rtems_dir_open+0x54>    <== NOT EXECUTED
 2042e0c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2042e10:	f6 07 60 80 	ld  [ %i5 + 0x80 ], %i3                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2042e14:	7f ff e8 0d 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2042e18:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2042e1c:	7f ff 2c ba 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2042e20:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042e24:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2042e28:	12 80 00 07 	bne  2042e44 <rtems_rfs_rtems_dir_open+0x15c>  <== NOT EXECUTED
 2042e2c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: opening inode", rc);     
 2042e30:	40 00 16 b6 	call  2048908 <__errno>                        <== NOT EXECUTED
 2042e34:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2042e38:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2042e3c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2042e40:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2042e44:	7f ff 90 10 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042e48:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2042e4c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042e50:	02 bf ff f8 	be  2042e30 <rtems_rfs_rtems_dir_open+0x148>   <== NOT EXECUTED
 2042e54:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2042e58:	7f ff 18 92 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042e5c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042e60:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2042e64:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2042e68:	40 00 28 e7 	call  204d204 <printf>                         <== NOT EXECUTED
 2042e6c:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2042e70:	30 bf ff f0 	b,a   2042e30 <rtems_rfs_rtems_dir_open+0x148> <== NOT EXECUTED
  }                                                                   
                                                                      
  if (!RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&inode)))         
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 2042e74:	7f ff fa 73 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2042e78:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2042e7c:	f8 07 60 80 	ld  [ %i5 + 0x80 ], %i4                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2042e80:	7f ff e7 f2 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2042e84:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2042e88:	7f ff 2c 9f 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2042e8c:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042e90:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2042e94:	12 80 00 08 	bne  2042eb4 <rtems_rfs_rtems_dir_open+0x1cc>  <== NOT EXECUTED
 2042e98:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_open: not dir", ENOTDIR);      
 2042e9c:	40 00 16 9b 	call  2048908 <__errno>                        <== NOT EXECUTED
 2042ea0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2042ea4:	82 10 20 14 	mov  0x14, %g1                                 <== NOT EXECUTED
 2042ea8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2042eac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2042eb0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2042eb4:	7f ff 8f f4 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042eb8:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2042ebc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042ec0:	02 bf ff f7 	be  2042e9c <rtems_rfs_rtems_dir_open+0x1b4>   <== NOT EXECUTED
 2042ec4:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2042ec8:	7f ff 18 76 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042ecc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042ed0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2042ed4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2042ed8:	40 00 28 cb 	call  204d204 <printf>                         <== NOT EXECUTED
 2042edc:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2042ee0:	30 bf ff ef 	b,a   2042e9c <rtems_rfs_rtems_dir_open+0x1b4> <== NOT EXECUTED
                                                                      

02042ee4 <rtems_rfs_rtems_dir_read>: */ static ssize_t rtems_rfs_rtems_dir_read (rtems_libio_t* iop, void* buffer, size_t count) {
 2042ee4:	9d e3 bf 70 	save  %sp, -144, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 2042ee8:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_iop_ino (iop);     
 2042eec:	f8 06 20 1c 	ld  [ %i0 + 0x1c ], %i4                        
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);
 2042ef0:	e0 00 60 08 	ld  [ %g1 + 8 ], %l0                           
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 2042ef4:	92 10 20 00 	clr  %o1                                       
  .fstat_h     = rtems_rfs_rtems_fstat,                               
  .ftruncate_h = rtems_filesystem_default_ftruncate_directory,        
  .fsync_h     = rtems_filesystem_default_fsync_or_fdatasync,         
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl                       
};                                                                    
 2042ef8:	c2 04 20 80 	ld  [ %l0 + 0x80 ], %g1                        
 2042efc:	94 10 20 00 	clr  %o2                                       
 2042f00:	7f ff 2c 31 	call  200dfc4 <rtems_semaphore_obtain>         
 2042f04:	d0 00 40 00 	ld  [ %g1 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042f08:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2042f0c:	12 80 00 41 	bne  2043010 <rtems_rfs_rtems_dir_read+0x12c>  <== NEVER TAKEN
 2042f10:	90 10 20 00 	clr  %o0                                       
  count  = count / sizeof (struct dirent);                            
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2042f14:	92 10 00 1c 	mov  %i4, %o1                                  
 2042f18:	90 10 00 10 	mov  %l0, %o0                                  
 2042f1c:	94 07 bf d8 	add  %fp, -40, %o2                             
 2042f20:	7f ff f9 d0 	call  2041660 <rtems_rfs_inode_open>           
 2042f24:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 2042f28:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2042f2c:	32 80 00 4d 	bne,a   2043060 <rtems_rfs_rtems_dir_read+0x17c><== NEVER TAKEN
 2042f30:	fa 04 20 80 	ld  [ %l0 + 0x80 ], %i5                        <== NOT EXECUTED
  struct dirent*         dirent;                                      
  ssize_t                bytes_transferred;                           
  int                    d;                                           
  int                    rc;                                          
                                                                      
  count  = count / sizeof (struct dirent);                            
 2042f34:	90 10 00 1a 	mov  %i2, %o0                                  
 2042f38:	92 10 21 18 	mov  0x118, %o1                                
 2042f3c:	40 00 7b 58 	call  2061c9c <.udiv>                          
 2042f40:	ba 10 20 00 	clr  %i5                                       
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
 2042f44:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2042f48:	02 80 00 1a 	be  2042fb0 <rtems_rfs_rtems_dir_read+0xcc>    <== NEVER TAKEN
 2042f4c:	92 07 bf d8 	add  %fp, -40, %o1                             
 2042f50:	d4 1e 20 08 	ldd  [ %i0 + 8 ], %o2                          
 * 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,                         
 2042f54:	b6 10 20 00 	clr  %i3                                       
 2042f58:	10 80 00 0d 	b  2042f8c <rtems_rfs_rtems_dir_read+0xa8>     
 2042f5c:	ba 10 20 00 	clr  %i5                                       
    if (rc == ENOENT)                                                 
    {                                                                 
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
 2042f60:	80 a2 20 00 	cmp  %o0, 0                                    
 2042f64:	14 80 00 4b 	bg  2043090 <rtems_rfs_rtems_dir_read+0x1ac>   <== NEVER TAKEN
 2042f68:	d4 07 bf d4 	ld  [ %fp + -44 ], %o2                         
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
 2042f6c:	c4 1e 20 08 	ldd  [ %i0 + 8 ], %g2                          
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
 2042f70:	b6 06 e0 01 	inc  %i3                                       
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
      break;                                                          
    }                                                                 
    iop->offset += size;                                              
 2042f74:	96 80 c0 0a 	addcc  %g3, %o2, %o3                           
 2042f78:	94 40 a0 00 	addx  %g2, 0, %o2                              
 2042f7c:	d4 3e 20 08 	std  %o2, [ %i0 + 8 ]                          
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
  }                                                                   
                                                                      
  bytes_transferred = 0;                                              
                                                                      
  for (d = 0; d < count; d++, dirent++)                               
 2042f80:	80 a6 c0 1a 	cmp  %i3, %i2                                  
 2042f84:	02 80 00 0a 	be  2042fac <rtems_rfs_rtems_dir_read+0xc8>    <== ALWAYS TAKEN
 2042f88:	ba 07 61 18 	add  %i5, 0x118, %i5                           
  {                                                                   
    size_t size;                                                      
    rc = rtems_rfs_dir_read (fs, &inode, iop->offset, dirent, &size); 
 2042f8c:	98 06 40 1d 	add  %i1, %i5, %o4                             
 2042f90:	90 10 00 10 	mov  %l0, %o0                                  
 2042f94:	92 07 bf d8 	add  %fp, -40, %o1                             
 2042f98:	7f ff eb c2 	call  203dea0 <rtems_rfs_dir_read>             
 2042f9c:	9a 07 bf d4 	add  %fp, -44, %o5                             
    if (rc == ENOENT)                                                 
 2042fa0:	80 a2 20 02 	cmp  %o0, 2                                    
 2042fa4:	12 bf ff ef 	bne  2042f60 <rtems_rfs_rtems_dir_read+0x7c>   
 2042fa8:	b8 10 00 08 	mov  %o0, %i4                                  
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 2042fac:	92 07 bf d8 	add  %fp, -40, %o1                             
 2042fb0:	7f ff fa 24 	call  2041840 <rtems_rfs_inode_close>          
 2042fb4:	90 10 00 10 	mov  %l0, %o0                                  
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2042fb8:	f8 04 20 80 	ld  [ %l0 + 0x80 ], %i4                        
  rtems_rfs_buffers_release (fs);                                     
 2042fbc:	7f ff e7 a3 	call  203ce48 <rtems_rfs_buffers_release>      
 2042fc0:	90 10 00 10 	mov  %l0, %o0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2042fc4:	7f ff 2c 50 	call  200e104 <rtems_semaphore_release>        
 2042fc8:	d0 07 00 00 	ld  [ %i4 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2042fcc:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2042fd0:	12 80 00 04 	bne  2042fe0 <rtems_rfs_rtems_dir_read+0xfc>   <== NEVER TAKEN
 2042fd4:	90 10 20 00 	clr  %o0                                       
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return bytes_transferred;                                           
}                                                                     
 2042fd8:	81 c7 e0 08 	ret                                            
 2042fdc:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2042fe0:	7f ff 8f a9 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042fe4:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2042fe8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042fec:	02 bf ff fb 	be  2042fd8 <rtems_rfs_rtems_dir_read+0xf4>    <== NOT EXECUTED
 2042ff0:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2042ff4:	7f ff 18 2b 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2042ff8:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2042ffc:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2043000:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043004:	40 00 28 80 	call  204d204 <printf>                         <== NOT EXECUTED
 2043008:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 204300c:	30 bf ff f3 	b,a   2042fd8 <rtems_rfs_rtems_dir_read+0xf4>  <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043010:	7f ff 8f 9d 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043014:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2043018:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 204301c:	02 bf ff bf 	be  2042f18 <rtems_rfs_rtems_dir_read+0x34>    <== NOT EXECUTED
 2043020:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2043024:	7f ff 18 1f 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2043028:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 204302c:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2043030:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043034:	40 00 28 74 	call  204d204 <printf>                         <== NOT EXECUTED
 2043038:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
  count  = count / sizeof (struct dirent);                            
  dirent = buffer;                                                    
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 204303c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2043040:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2043044:	94 07 bf d8 	add  %fp, -40, %o2                             <== NOT EXECUTED
 2043048:	7f ff f9 86 	call  2041660 <rtems_rfs_inode_open>           <== NOT EXECUTED
 204304c:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc)                                                             
 2043050:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2043054:	02 bf ff b9 	be  2042f38 <rtems_rfs_rtems_dir_read+0x54>    <== NOT EXECUTED
 2043058:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 204305c:	fa 04 20 80 	ld  [ %l0 + 0x80 ], %i5                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2043060:	7f ff e7 7a 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2043064:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2043068:	7f ff 2c 27 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 204306c:	d0 07 40 00 	ld  [ %i5 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2043070:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2043074:	12 80 00 16 	bne  20430cc <rtems_rfs_rtems_dir_read+0x1e8>  <== NOT EXECUTED
 2043078:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("dir_read: read inode", rc);        
 204307c:	40 00 16 23 	call  2048908 <__errno>                        <== NOT EXECUTED
 2043080:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
 2043084:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return bytes_transferred;                                           
}                                                                     
 2043088:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204308c:	91 e8 00 1d 	restore  %g0, %i5, %o0                         <== NOT EXECUTED
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
 2043090:	40 00 16 1e 	call  2048908 <__errno>                        <== NOT EXECUTED
 2043094:	ba 10 3f ff 	mov  -1, %i5                                   <== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 2043098:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
      rc = 0;                                                         
      break;                                                          
    }                                                                 
    if (rc > 0)                                                       
    {                                                                 
      bytes_transferred = rtems_rfs_rtems_error ("dir_read: dir read", rc);
 204309c:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
    }                                                                 
    iop->offset += size;                                              
    bytes_transferred += sizeof (struct dirent);                      
  }                                                                   
                                                                      
  rtems_rfs_inode_close (fs, &inode);                                 
 20430a0:	7f ff f9 e8 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20430a4:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 20430a8:	f8 04 20 80 	ld  [ %l0 + 0x80 ], %i4                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 20430ac:	7f ff e7 67 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 20430b0:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 20430b4:	7f ff 2c 14 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 20430b8:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 20430bc:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 20430c0:	02 bf ff c6 	be  2042fd8 <rtems_rfs_rtems_dir_read+0xf4>    <== NOT EXECUTED
 20430c4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 20430c8:	30 bf ff c6 	b,a   2042fe0 <rtems_rfs_rtems_dir_read+0xfc>  <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20430cc:	7f ff 8f 6e 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20430d0:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20430d4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20430d8:	02 bf ff e9 	be  204307c <rtems_rfs_rtems_dir_read+0x198>   <== NOT EXECUTED
 20430dc:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 20430e0:	7f ff 17 f0 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20430e4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20430e8:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20430ec:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20430f0:	40 00 28 45 	call  204d204 <printf>                         <== NOT EXECUTED
 20430f4:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 20430f8:	30 bf ff e1 	b,a   204307c <rtems_rfs_rtems_dir_read+0x198> <== NOT EXECUTED
                                                                      

02024b80 <rtems_rfs_rtems_eval_path>: .eval_token = rtems_rfs_rtems_eval_token }; static void rtems_rfs_rtems_eval_path (rtems_filesystem_eval_path_context_t *ctx) {
 2024b80:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_filesystem_location_info_t *currentloc =                      
    rtems_filesystem_eval_path_get_currentloc (ctx);                  
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (currentloc);
 2024b84:	c2 06 20 2c 	ld  [ %i0 + 0x2c ], %g1                        
  rtems_rfs_ino ino = rtems_rfs_rtems_get_pathloc_ino (currentloc);   
  rtems_rfs_inode_handle inode;                                       
  int rc;                                                             
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2024b88:	d2 06 20 20 	ld  [ %i0 + 0x20 ], %o1                        
static void                                                           
rtems_rfs_rtems_eval_path (rtems_filesystem_eval_path_context_t *ctx) 
{                                                                     
  rtems_filesystem_location_info_t *currentloc =                      
    rtems_filesystem_eval_path_get_currentloc (ctx);                  
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (currentloc);
 2024b8c:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
  rtems_rfs_ino ino = rtems_rfs_rtems_get_pathloc_ino (currentloc);   
  rtems_rfs_inode_handle inode;                                       
  int rc;                                                             
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2024b90:	94 07 bf d8 	add  %fp, -40, %o2                             
 2024b94:	90 10 00 1d 	mov  %i5, %o0                                  
 2024b98:	40 00 72 b2 	call  2041660 <rtems_rfs_inode_open>           
 2024b9c:	96 10 20 01 	mov  1, %o3                                    
  if (rc == 0) {                                                      
 2024ba0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2024ba4:	12 80 00 0e 	bne  2024bdc <rtems_rfs_rtems_eval_path+0x5c>  <== NEVER TAKEN
 2024ba8:	92 07 bf d8 	add  %fp, -40, %o1                             
    rtems_filesystem_eval_path_generic (                              
 2024bac:	90 10 00 18 	mov  %i0, %o0                                  
 2024bb0:	15 00 81 a4 	sethi  %hi(0x2069000), %o2                     
 2024bb4:	40 00 21 5d 	call  202d128 <rtems_filesystem_eval_path_generic>
 2024bb8:	94 12 a1 d8 	or  %o2, 0x1d8, %o2	! 20691d8 <rtems_rfs_rtems_eval_config>
      ctx,                                                            
      &inode,                                                         
      &rtems_rfs_rtems_eval_config                                    
    );                                                                
    rc = rtems_rfs_inode_close (fs, &inode);                          
 2024bbc:	90 10 00 1d 	mov  %i5, %o0                                  
 2024bc0:	40 00 73 20 	call  2041840 <rtems_rfs_inode_close>          
 2024bc4:	92 07 bf d8 	add  %fp, -40, %o1                             
    if (rc != 0) {                                                    
 2024bc8:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2024bcc:	12 80 00 0c 	bne  2024bfc <rtems_rfs_rtems_eval_path+0x7c>  <== NEVER TAKEN
 2024bd0:	01 00 00 00 	nop                                            
 2024bd4:	81 c7 e0 08 	ret                                            
 2024bd8:	81 e8 00 00 	restore                                        
      );                                                              
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error (                                
      ctx,                                                            
      rtems_rfs_rtems_error ("eval_path: opening inode", rc)          
 2024bdc:	40 00 8f 4b 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024be0:	01 00 00 00 	nop                                            <== NOT EXECUTED
        ctx,                                                          
        rtems_rfs_rtems_error ("eval_path: closing inode", rc)        
      );                                                              
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error (                                
 2024be4:	92 10 3f ff 	mov  -1, %o1	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
      ctx,                                                            
      rtems_rfs_rtems_error ("eval_path: opening inode", rc)          
 2024be8:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
        ctx,                                                          
        rtems_rfs_rtems_error ("eval_path: closing inode", rc)        
      );                                                              
    }                                                                 
  } else {                                                            
    rtems_filesystem_eval_path_error (                                
 2024bec:	7f ff 97 94 	call  200aa3c <rtems_filesystem_eval_path_error><== NOT EXECUTED
 2024bf0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2024bf4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024bf8:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    );                                                                
    rc = rtems_rfs_inode_close (fs, &inode);                          
    if (rc != 0) {                                                    
      rtems_filesystem_eval_path_error (                              
        ctx,                                                          
        rtems_rfs_rtems_error ("eval_path: closing inode", rc)        
 2024bfc:	40 00 8f 43 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024c00:	01 00 00 00 	nop                                            <== NOT EXECUTED
      &inode,                                                         
      &rtems_rfs_rtems_eval_config                                    
    );                                                                
    rc = rtems_rfs_inode_close (fs, &inode);                          
    if (rc != 0) {                                                    
      rtems_filesystem_eval_path_error (                              
 2024c04:	92 10 3f ff 	mov  -1, %o1	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
        ctx,                                                          
        rtems_rfs_rtems_error ("eval_path: closing inode", rc)        
 2024c08:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
      &inode,                                                         
      &rtems_rfs_rtems_eval_config                                    
    );                                                                
    rc = rtems_rfs_inode_close (fs, &inode);                          
    if (rc != 0) {                                                    
      rtems_filesystem_eval_path_error (                              
 2024c0c:	7f ff 97 8c 	call  200aa3c <rtems_filesystem_eval_path_error><== NOT EXECUTED
 2024c10:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2024c14:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024c18:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02024f8c <rtems_rfs_rtems_eval_token>: rtems_filesystem_eval_path_context_t *ctx, void *arg, const char *token, size_t tokenlen ) {
 2024f8c:	9d e3 bf 90 	save  %sp, -112, %sp                           
 * @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);                    
 2024f90:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
static bool                                                           
rtems_rfs_rtems_eval_perms (rtems_filesystem_eval_path_context_t *ctx,
                            int eval_flags,                           
                            rtems_rfs_inode_handle* inode)            
{                                                                     
  return rtems_filesystem_eval_path_check_access(                     
 2024f94:	90 10 00 18 	mov  %i0, %o0                                  
 * @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;          
 2024f98:	c6 08 60 06 	ldub  [ %g1 + 6 ], %g3                         
 * @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;  
 2024f9c:	c4 08 60 05 	ldub  [ %g1 + 5 ], %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);                    
 2024fa0:	c8 08 60 02 	ldub  [ %g1 + 2 ], %g4                         
 * @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;          
 2024fa4:	d6 08 60 07 	ldub  [ %g1 + 7 ], %o3                         
 2024fa8:	d4 08 60 03 	ldub  [ %g1 + 3 ], %o2                         
 * @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;  
 2024fac:	d8 08 60 04 	ldub  [ %g1 + 4 ], %o4                         
 * @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;          
 2024fb0:	87 28 e0 08 	sll  %g3, 8, %g3                               
 * @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);                    
 2024fb4:	83 29 20 08 	sll  %g4, 8, %g1                               
 * @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;  
 2024fb8:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 * @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;          
 2024fbc:	96 10 c0 0b 	or  %g3, %o3, %o3                              
  rtems_filesystem_eval_path_context_t *ctx,                          
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
 2024fc0:	ba 10 00 18 	mov  %i0, %i5                                  
 * @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;  
 2024fc4:	99 2b 20 18 	sll  %o4, 0x18, %o4                            
static bool                                                           
rtems_rfs_rtems_eval_perms (rtems_filesystem_eval_path_context_t *ctx,
                            int eval_flags,                           
                            rtems_rfs_inode_handle* inode)            
{                                                                     
  return rtems_filesystem_eval_path_check_access(                     
 2024fc8:	97 2a e0 10 	sll  %o3, 0x10, %o3                            
 2024fcc:	98 13 00 02 	or  %o4, %g2, %o4                              
 2024fd0:	92 10 20 01 	mov  1, %o1                                    
 2024fd4:	94 12 80 01 	or  %o2, %g1, %o2                              
 2024fd8:	97 32 e0 10 	srl  %o3, 0x10, %o3                            
 2024fdc:	99 33 20 10 	srl  %o4, 0x10, %o4                            
 2024fe0:	40 00 20 45 	call  202d0f4 <rtems_filesystem_eval_path_check_access>
 2024fe4:	b0 10 20 01 	mov  1, %i0                                    
  rtems_filesystem_eval_path_generic_status status =                  
    RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_DONE;                          
  rtems_rfs_inode_handle* inode = arg;                                
  bool access_ok = rtems_rfs_rtems_eval_perms (ctx, RTEMS_FS_PERMS_EXEC, inode);
                                                                      
  if (access_ok) {                                                    
 2024fe8:	80 8a 20 ff 	btst  0xff, %o0                                
 2024fec:	02 80 00 39 	be  20250d0 <rtems_rfs_rtems_eval_token+0x144> 
 2024ff0:	80 a6 e0 01 	cmp  %i3, 1                                    
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
 2024ff4:	22 80 00 39 	be,a   20250d8 <rtems_rfs_rtems_eval_token+0x14c>
 2024ff8:	c2 4e 80 00 	ldsb  [ %i2 ], %g1                             
    if (rtems_filesystem_is_current_directory (token, tokenlen)) {    
      rtems_filesystem_eval_path_clear_token (ctx);                   
    } else {                                                          
      rtems_filesystem_location_info_t *currentloc =                  
        rtems_filesystem_eval_path_get_currentloc( ctx );             
      rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (currentloc);
 2024ffc:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
      rtems_rfs_ino entry_ino;                                        
      uint32_t entry_doff;                                            
      int rc = rtems_rfs_dir_lookup_ino (                             
 2025000:	92 10 00 19 	mov  %i1, %o1                                  
    if (rtems_filesystem_is_current_directory (token, tokenlen)) {    
      rtems_filesystem_eval_path_clear_token (ctx);                   
    } else {                                                          
      rtems_filesystem_location_info_t *currentloc =                  
        rtems_filesystem_eval_path_get_currentloc( ctx );             
      rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (currentloc);
 2025004:	f8 00 60 08 	ld  [ %g1 + 8 ], %i4                           
      rtems_rfs_ino entry_ino;                                        
      uint32_t entry_doff;                                            
      int rc = rtems_rfs_dir_lookup_ino (                             
 2025008:	94 10 00 1a 	mov  %i2, %o2                                  
 202500c:	90 10 00 1c 	mov  %i4, %o0                                  
 2025010:	96 10 00 1b 	mov  %i3, %o3                                  
 2025014:	98 07 bf f4 	add  %fp, -12, %o4                             
 2025018:	40 00 60 34 	call  203d0e8 <rtems_rfs_dir_lookup_ino>       
 202501c:	9a 07 bf f8 	add  %fp, -8, %o5                              
        tokenlen,                                                     
        &entry_ino,                                                   
        &entry_doff                                                   
      );                                                              
                                                                      
      if (rc == 0) {                                                  
 2025020:	80 a2 20 00 	cmp  %o0, 0                                    
 2025024:	12 80 00 2b 	bne  20250d0 <rtems_rfs_rtems_eval_token+0x144>
 2025028:	b0 10 20 02 	mov  2, %i0                                    
        rc = rtems_rfs_inode_close (fs, inode);                       
 202502c:	90 10 00 1c 	mov  %i4, %o0                                  
 2025030:	40 00 72 04 	call  2041840 <rtems_rfs_inode_close>          
 2025034:	92 10 00 19 	mov  %i1, %o1                                  
        if (rc == 0) {                                                
 2025038:	80 a2 20 00 	cmp  %o0, 0                                    
 202503c:	12 80 00 2d 	bne  20250f0 <rtems_rfs_rtems_eval_token+0x164><== NEVER TAKEN
 2025040:	90 10 00 19 	mov  %i1, %o0                                  
          rc = rtems_rfs_inode_open (fs, entry_ino, inode, true);     
 2025044:	d2 07 bf f4 	ld  [ %fp + -12 ], %o1                         
 2025048:	90 10 00 1c 	mov  %i4, %o0                                  
 202504c:	94 10 00 19 	mov  %i1, %o2                                  
 2025050:	40 00 71 84 	call  2041660 <rtems_rfs_inode_open>           
 2025054:	96 10 20 01 	mov  1, %o3                                    
        }                                                             
                                                                      
        if (rc != 0) {                                                
 2025058:	80 a2 20 00 	cmp  %o0, 0                                    
 202505c:	12 80 00 25 	bne  20250f0 <rtems_rfs_rtems_eval_token+0x164><== NEVER TAKEN
 2025060:	90 10 00 19 	mov  %i1, %o0                                  
        status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_NO_ENTRY;         
        rc = -1;                                                      
      }                                                               
                                                                      
      if (rc == 0) {                                                  
        bool is_sym_link = rtems_rfs_rtems_node_type_by_inode (inode) 
 2025064:	7f ff fd 02 	call  202446c <rtems_rfs_rtems_node_type_by_inode>
 2025068:	90 10 00 19 	mov  %i1, %o0                                  
          == RTEMS_FILESYSTEM_SYM_LINK;                               
        int eval_flags = rtems_filesystem_eval_path_get_flags (ctx);  
        bool follow_sym_link = (eval_flags & RTEMS_FS_FOLLOW_SYM_LINK) != 0;
        bool terminal = !rtems_filesystem_eval_path_has_path (ctx);   
 202506c:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
                                                                      
      if (rc == 0) {                                                  
        bool is_sym_link = rtems_rfs_rtems_node_type_by_inode (inode) 
          == RTEMS_FILESYSTEM_SYM_LINK;                               
        int eval_flags = rtems_filesystem_eval_path_get_flags (ctx);  
        bool follow_sym_link = (eval_flags & RTEMS_FS_FOLLOW_SYM_LINK) != 0;
 2025070:	c4 07 60 10 	ld  [ %i5 + 0x10 ], %g2                        
        bool terminal = !rtems_filesystem_eval_path_has_path (ctx);   
 2025074:	80 a0 00 01 	cmp  %g0, %g1                                  
                                                                      
static inline void rtems_filesystem_eval_path_clear_token(            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->tokenlen = 0;                                                  
 2025078:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
 202507c:	82 60 3f ff 	subx  %g0, -1, %g1                             
                                                                      
      if (rc == 0) {                                                  
        bool is_sym_link = rtems_rfs_rtems_node_type_by_inode (inode) 
          == RTEMS_FILESYSTEM_SYM_LINK;                               
        int eval_flags = rtems_filesystem_eval_path_get_flags (ctx);  
        bool follow_sym_link = (eval_flags & RTEMS_FS_FOLLOW_SYM_LINK) != 0;
 2025080:	85 30 a0 04 	srl  %g2, 4, %g2                               
        bool terminal = !rtems_filesystem_eval_path_has_path (ctx);   
 2025084:	b0 10 00 01 	mov  %g1, %i0                                  
                                                                      
        rtems_filesystem_eval_path_clear_token (ctx);                 
                                                                      
        if (is_sym_link && (follow_sym_link || !terminal)) {          
 2025088:	80 a2 20 03 	cmp  %o0, 3                                    
 202508c:	12 80 00 07 	bne  20250a8 <rtems_rfs_rtems_eval_token+0x11c>
 2025090:	84 08 a0 01 	and  %g2, 1, %g2                               
 2025094:	80 a0 60 00 	cmp  %g1, 0                                    
 2025098:	02 80 00 25 	be  202512c <rtems_rfs_rtems_eval_token+0x1a0> 
 202509c:	80 88 a0 ff 	btst  0xff, %g2                                
 20250a0:	12 80 00 24 	bne  2025130 <rtems_rfs_rtems_eval_token+0x1a4>
 20250a4:	82 10 24 00 	mov  0x400, %g1                                
          rtems_rfs_rtems_follow_link (ctx, fs, entry_ino);           
        } else {                                                      
          rc = rtems_rfs_rtems_set_handlers (currentloc, inode) ? 0 : EIO;
 20250a8:	90 07 60 18 	add  %i5, 0x18, %o0                            
 20250ac:	40 00 01 16 	call  2025504 <rtems_rfs_rtems_set_handlers>   
 20250b0:	92 10 00 19 	mov  %i1, %o1                                  
 20250b4:	80 8a 20 ff 	btst  0xff, %o0                                
 20250b8:	02 80 00 14 	be  2025108 <rtems_rfs_rtems_eval_token+0x17c> <== NEVER TAKEN
 20250bc:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
 20250c0:	b0 0e 20 ff 	and  %i0, 0xff, %i0                            
        if (is_sym_link && (follow_sym_link || !terminal)) {          
          rtems_rfs_rtems_follow_link (ctx, fs, entry_ino);           
        } else {                                                      
          rc = rtems_rfs_rtems_set_handlers (currentloc, inode) ? 0 : EIO;
          if (rc == 0) {                                              
            rtems_rfs_rtems_set_pathloc_ino (currentloc, entry_ino);  
 20250c4:	c2 27 60 20 	st  %g1, [ %i5 + 0x20 ]                        
            rtems_rfs_rtems_set_pathloc_doff (currentloc, entry_doff);
 20250c8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 20250cc:	c2 27 60 24 	st  %g1, [ %i5 + 0x24 ]                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  return status;                                                      
}                                                                     
 20250d0:	81 c7 e0 08 	ret                                            
 20250d4:	81 e8 00 00 	restore                                        
static inline bool rtems_filesystem_is_current_directory(             
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  return tokenlen == 1 && token [0] == '.';                           
 20250d8:	80 a0 60 2e 	cmp  %g1, 0x2e                                 
 20250dc:	32 bf ff c9 	bne,a   2025000 <rtems_rfs_rtems_eval_token+0x74>
 20250e0:	c2 07 60 2c 	ld  [ %i5 + 0x2c ], %g1                        
                                                                      
static inline void rtems_filesystem_eval_path_clear_token(            
  rtems_filesystem_eval_path_context_t *ctx                           
)                                                                     
{                                                                     
  ctx->tokenlen = 0;                                                  
 20250e4:	c0 27 60 0c 	clr  [ %i5 + 0xc ]                             
 20250e8:	81 c7 e0 08 	ret                                            
 20250ec:	81 e8 00 00 	restore                                        
        if (rc != 0) {                                                
          /*                                                          
           * This prevents the rtems_rfs_inode_close() from doing something in
           * rtems_rfs_rtems_eval_path().                             
           */                                                         
          memset (inode, 0, sizeof(*inode));                          
 20250f0:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 20250f4:	94 10 20 28 	mov  0x28, %o2                                 <== NOT EXECUTED
 20250f8:	40 00 9b d2 	call  204c040 <memset>                         <== NOT EXECUTED
 20250fc:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 2025100:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025104:	81 e8 00 00 	restore                                        <== NOT EXECUTED
              status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;   
            }                                                         
          } else {                                                    
            rtems_filesystem_eval_path_error (                        
              ctx,                                                    
              rtems_rfs_rtems_error ("eval_path: set handlers", rc)   
 2025108:	40 00 8e 00 	call  2048908 <__errno>                        <== NOT EXECUTED
 202510c:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 2025110:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
                                                                      
            if (!terminal) {                                          
              status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;   
            }                                                         
          } else {                                                    
            rtems_filesystem_eval_path_error (                        
 2025114:	92 10 3f ff 	mov  -1, %o1                                   <== NOT EXECUTED
              ctx,                                                    
              rtems_rfs_rtems_error ("eval_path: set handlers", rc)   
 2025118:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
                                                                      
            if (!terminal) {                                          
              status = RTEMS_FILESYSTEM_EVAL_PATH_GENERIC_CONTINUE;   
            }                                                         
          } else {                                                    
            rtems_filesystem_eval_path_error (                        
 202511c:	7f ff 96 48 	call  200aa3c <rtems_filesystem_eval_path_error><== NOT EXECUTED
 2025120:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2025124:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025128:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  rtems_filesystem_eval_path_context_t* ctx,                          
  rtems_rfs_file_system* fs,                                          
  rtems_rfs_ino ino                                                   
)                                                                     
{                                                                     
  size_t len = MAXPATHLEN;                                            
 202512c:	82 10 24 00 	mov  0x400, %g1                                
        bool terminal = !rtems_filesystem_eval_path_has_path (ctx);   
                                                                      
        rtems_filesystem_eval_path_clear_token (ctx);                 
                                                                      
        if (is_sym_link && (follow_sym_link || !terminal)) {          
          rtems_rfs_rtems_follow_link (ctx, fs, entry_ino);           
 2025130:	f4 07 bf f4 	ld  [ %fp + -12 ], %i2                         
  rtems_rfs_file_system* fs,                                          
  rtems_rfs_ino ino                                                   
)                                                                     
{                                                                     
  size_t len = MAXPATHLEN;                                            
  char *link = malloc(len + 1);                                       
 2025134:	90 10 24 01 	mov  0x401, %o0                                
 2025138:	7f ff 91 df 	call  20098b4 <malloc>                         
 202513c:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
                                                                      
  if (link != NULL) {                                                 
 2025140:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2025144:	02 80 00 14 	be  2025194 <rtems_rfs_rtems_eval_token+0x208> <== NEVER TAKEN
 2025148:	90 10 00 1c 	mov  %i4, %o0                                  
    int rc = rtems_rfs_symlink_read (fs, ino, link, len, &len);       
 202514c:	92 10 00 1a 	mov  %i2, %o1                                  
 2025150:	94 10 00 1b 	mov  %i3, %o2                                  
 2025154:	96 10 24 00 	mov  0x400, %o3                                
 2025158:	40 00 75 a7 	call  20427f4 <rtems_rfs_symlink_read>         
 202515c:	98 07 bf fc 	add  %fp, -4, %o4                              
                                                                      
    if (rc == 0) {                                                    
 2025160:	80 a2 20 00 	cmp  %o0, 0                                    
 2025164:	12 80 00 09 	bne  2025188 <rtems_rfs_rtems_eval_token+0x1fc><== NEVER TAKEN
 2025168:	90 10 00 1d 	mov  %i5, %o0                                  
      rtems_filesystem_eval_path_recursive (ctx, link, len);          
 202516c:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
 2025170:	7f ff 97 5b 	call  200aedc <rtems_filesystem_eval_path_recursive>
 2025174:	92 10 00 1b 	mov  %i3, %o1                                  
    } else {                                                          
      rtems_filesystem_eval_path_error (ctx, 0);                      
    }                                                                 
                                                                      
    free(link);                                                       
 2025178:	7f ff 90 65 	call  200930c <free>                           
 202517c:	90 10 00 1b 	mov  %i3, %o0                                  
  void *arg,                                                          
  const char *token,                                                  
  size_t tokenlen                                                     
)                                                                     
{                                                                     
  rtems_filesystem_eval_path_generic_status status =                  
 2025180:	81 c7 e0 08 	ret                                            
 2025184:	91 e8 20 01 	restore  %g0, 1, %o0                           
    int rc = rtems_rfs_symlink_read (fs, ino, link, len, &len);       
                                                                      
    if (rc == 0) {                                                    
      rtems_filesystem_eval_path_recursive (ctx, link, len);          
    } else {                                                          
      rtems_filesystem_eval_path_error (ctx, 0);                      
 2025188:	7f ff 96 2d 	call  200aa3c <rtems_filesystem_eval_path_error><== NOT EXECUTED
 202518c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2025190:	30 bf ff fa 	b,a   2025178 <rtems_rfs_rtems_eval_token+0x1ec><== NOT EXECUTED
    }                                                                 
                                                                      
    free(link);                                                       
  } else {                                                            
    rtems_filesystem_eval_path_error (ctx, ENOMEM);                   
 2025194:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2025198:	7f ff 96 29 	call  200aa3c <rtems_filesystem_eval_path_error><== NOT EXECUTED
 202519c:	92 10 20 0c 	mov  0xc, %o1                                  <== NOT EXECUTED
 20251a0:	30 bf ff f8 	b,a   2025180 <rtems_rfs_rtems_eval_token+0x1f4><== NOT EXECUTED
                                                                      

020248c0 <rtems_rfs_rtems_fchmod>: } static int rtems_rfs_rtems_fchmod (const rtems_filesystem_location_info_t* pathloc, mode_t mode) {
 20248c0:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
 20248c4:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
                                                                      
  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);                                               
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 20248c8:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
                                                                      
static int                                                            
rtems_rfs_rtems_fchmod (const rtems_filesystem_location_info_t* pathloc,
                        mode_t                                  mode) 
{                                                                     
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
 20248cc:	f8 00 60 08 	ld  [ %g1 + 8 ], %i4                           
                                                                      
  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);                                               
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 20248d0:	94 07 bf d8 	add  %fp, -40, %o2                             
 20248d4:	90 10 00 1c 	mov  %i4, %o0                                  
 20248d8:	40 00 73 62 	call  2041660 <rtems_rfs_inode_open>           
 20248dc:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 20248e0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20248e4:	12 80 00 24 	bne  2024974 <rtems_rfs_rtems_fchmod+0xb4>     <== NEVER TAKEN
 20248e8:	c2 07 bf e4 	ld  [ %fp + -28 ], %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);                    
 20248ec:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
 20248f0:	c2 08 60 03 	ldub  [ %g1 + 3 ], %g1                         
 20248f4:	85 28 a0 08 	sll  %g2, 8, %g2                               
                                                                      
  /*                                                                  
   *  Verify I am the owner of the node or the super user.            
   */                                                                 
#if defined (RTEMS_POSIX_API)                                         
  uid = geteuid();                                                    
 20248f8:	40 00 1c e1 	call  202bc7c <geteuid>                        
 20248fc:	ba 10 80 01 	or  %g2, %g1, %i5                              
 * @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;          
 2024900:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
                                                                      
  if ((uid != rtems_rfs_inode_get_uid (&inode)) && (uid != 0))        
 2024904:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 2024908:	c4 08 60 06 	ldub  [ %g1 + 6 ], %g2                         
 202490c:	c6 08 60 07 	ldub  [ %g1 + 7 ], %g3                         
 2024910:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2024914:	84 10 80 03 	or  %g2, %g3, %g2                              
 2024918:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 202491c:	80 a0 80 08 	cmp  %g2, %o0                                  
 2024920:	02 80 00 05 	be  2024934 <rtems_rfs_rtems_fchmod+0x74>      <== ALWAYS TAKEN
 2024924:	89 32 20 10 	srl  %o0, 0x10, %g4                            
 2024928:	80 a1 20 00 	cmp  %g4, 0                                    <== NOT EXECUTED
 202492c:	12 80 00 17 	bne  2024988 <rtems_rfs_rtems_fchmod+0xc8>     <== NOT EXECUTED
 2024930:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &inode);                               
    return rtems_rfs_rtems_error ("fchmod: checking uid", EPERM);     
  }                                                                   
#endif                                                                
                                                                      
  imode &= ~(S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
 2024934:	ba 0f 70 00 	and  %i5, -4096, %i5                           
  imode |= mode & (S_IRWXU | S_IRWXG | S_IRWXO | S_ISUID | S_ISGID | S_ISVTX);
 2024938:	b2 0e 6f ff 	and  %i1, 0xfff, %i1                           
 202493c:	b2 17 40 19 	or  %i5, %i1, %i1                              
 * @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);                    
 2024940:	85 36 60 08 	srl  %i1, 8, %g2                               
 2024944:	c4 28 60 02 	stb  %g2, [ %g1 + 2 ]                          
 2024948:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
                                                                      
  rtems_rfs_inode_set_mode (&inode, imode);                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 202494c:	90 10 00 1c 	mov  %i4, %o0                                  
 2024950:	f2 28 60 03 	stb  %i1, [ %g1 + 3 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2024954:	82 10 20 01 	mov  1, %g1                                    
 2024958:	92 07 bf d8 	add  %fp, -40, %o1                             
 202495c:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        
 2024960:	40 00 73 b8 	call  2041840 <rtems_rfs_inode_close>          
 2024964:	b0 10 20 00 	clr  %i0                                       
  if (rc > 0)                                                         
 2024968:	80 a2 20 00 	cmp  %o0, 0                                    
 202496c:	04 80 00 05 	ble  2024980 <rtems_rfs_rtems_fchmod+0xc0>     <== ALWAYS TAKEN
 2024970:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    return rtems_rfs_rtems_error ("fchmod: closing inode", rc);       
 2024974:	40 00 8f e5 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024978:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202497c:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2024980:	81 c7 e0 08 	ret                                            
 2024984:	81 e8 00 00 	restore                                        
#if defined (RTEMS_POSIX_API)                                         
  uid = geteuid();                                                    
                                                                      
  if ((uid != rtems_rfs_inode_get_uid (&inode)) && (uid != 0))        
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 2024988:	40 00 73 ae 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 202498c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fchmod: checking uid", EPERM);     
 2024990:	40 00 8f de 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024994:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2024998:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 202499c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20249a0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20249a4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020254d0 <rtems_rfs_rtems_fdatasync>: * @param iop * @return int */ int rtems_rfs_rtems_fdatasync (rtems_libio_t* iop) {
 20254d0:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  int rc;                                                             
                                                                      
  rc = rtems_rfs_buffer_sync (rtems_rfs_rtems_pathloc_dev (&iop->pathinfo));
 20254d4:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        <== NOT EXECUTED
  if (rc)                                                             
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
                                                                      
  return 0;                                                           
 20254d8:	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));
 20254dc:	40 00 5e 35 	call  203cdb0 <rtems_rfs_buffer_sync>          <== NOT EXECUTED
 20254e0:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           <== NOT EXECUTED
  if (rc)                                                             
 20254e4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20254e8:	02 80 00 05 	be  20254fc <rtems_rfs_rtems_fdatasync+0x2c>   <== NOT EXECUTED
 20254ec:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("fdatasync: sync", rc);             
 20254f0:	40 00 8d 06 	call  2048908 <__errno>                        <== NOT EXECUTED
 20254f4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20254f8:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
 20254fc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025500:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020432e8 <rtems_rfs_rtems_file_close>: * @param iop * @return int */ static int rtems_rfs_rtems_file_close (rtems_libio_t* iop) {
 20432e8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 20432ec:	f8 06 20 20 	ld  [ %i0 + 0x20 ], %i4                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 20432f0:	92 10 20 00 	clr  %o1                                       
  rtems_rfs_file_system* fs = rtems_rfs_file_fs (file);               
 20432f4:	c2 07 20 1c 	ld  [ %i4 + 0x1c ], %g1                        
 20432f8:	94 10 20 00 	clr  %o2                                       
 20432fc:	fa 00 60 98 	ld  [ %g1 + 0x98 ], %i5                        
  .fstat_h     = rtems_rfs_rtems_fstat,                               
  .ftruncate_h = rtems_rfs_rtems_file_ftruncate,                      
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl                       
};                                                                    
 2043300:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        
 2043304:	7f ff 2b 30 	call  200dfc4 <rtems_semaphore_obtain>         
 2043308:	d0 00 40 00 	ld  [ %g1 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 204330c:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2043310:	12 80 00 21 	bne  2043394 <rtems_rfs_rtems_file_close+0xac> <== NEVER TAKEN
 2043314:	90 10 20 00 	clr  %o0                                       
  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);                                          
                                                                      
  rc = rtems_rfs_file_close (fs, file);                               
 2043318:	90 10 00 1d 	mov  %i5, %o0                                  
 204331c:	7f ff ed 45 	call  203e830 <rtems_rfs_file_close>           
 2043320:	92 10 00 1c 	mov  %i4, %o1                                  
  if (rc > 0)                                                         
 2043324:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2043328:	24 80 00 07 	ble,a   2043344 <rtems_rfs_rtems_file_close+0x5c><== ALWAYS TAKEN
 204332c:	f8 07 60 80 	ld  [ %i5 + 0x80 ], %i4                        
    rc = rtems_rfs_rtems_error ("file-close: file close", rc);        
 2043330:	40 00 15 76 	call  2048908 <__errno>                        <== NOT EXECUTED
 2043334:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2043338:	f0 22 00 00 	st  %i0, [ %o0 ]                               <== NOT EXECUTED
 204333c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2043340:	f8 07 60 80 	ld  [ %i5 + 0x80 ], %i4                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2043344:	7f ff e6 c1 	call  203ce48 <rtems_rfs_buffers_release>      
 2043348:	90 10 00 1d 	mov  %i5, %o0                                  
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 204334c:	7f ff 2b 6e 	call  200e104 <rtems_semaphore_release>        
 2043350:	d0 07 00 00 	ld  [ %i4 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2043354:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2043358:	02 80 00 0d 	be  204338c <rtems_rfs_rtems_file_close+0xa4>  <== ALWAYS TAKEN
 204335c:	90 10 20 00 	clr  %o0                                       
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043360:	7f ff 8e c9 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043364:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2043368:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 204336c:	02 80 00 08 	be  204338c <rtems_rfs_rtems_file_close+0xa4>  <== NOT EXECUTED
 2043370:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2043374:	7f ff 17 4b 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2043378:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 204337c:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2043380:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043384:	40 00 27 a0 	call  204d204 <printf>                         <== NOT EXECUTED
 2043388:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return rc;                                                          
}                                                                     
 204338c:	81 c7 e0 08 	ret                                            
 2043390:	81 e8 00 00 	restore                                        
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043394:	7f ff 8e bc 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043398:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 204339c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20433a0:	22 bf ff df 	be,a   204331c <rtems_rfs_rtems_file_close+0x34><== NOT EXECUTED
 20433a4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 20433a8:	7f ff 17 3e 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20433ac:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 20433b0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20433b4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20433b8:	40 00 27 93 	call  204d204 <printf>                         <== NOT EXECUTED
 20433bc:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
  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);                                          
                                                                      
  rc = rtems_rfs_file_close (fs, file);                               
 20433c0:	10 bf ff d7 	b  204331c <rtems_rfs_rtems_file_close+0x34>   <== NOT EXECUTED
 20433c4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      

020433c8 <rtems_rfs_rtems_file_ftruncate>: * @return int */ static int rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop, off_t length) {
 20433c8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 20433cc:	f6 06 20 20 	ld  [ %i0 + 0x20 ], %i3                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 20433d0:	92 10 20 00 	clr  %o1                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_FTRUNC))      
    printf("rtems-rfs: file-ftrunc: handle:%p length:%" PRIdoff_t "\n", file, length);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 20433d4:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
 20433d8:	94 10 20 00 	clr  %o2                                       
 * Lock the RFS file system.                                          
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_lock (rtems_rfs_file_system* fs)                     
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 20433dc:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                off_t          length)                
{                                                                     
 20433e0:	ba 10 00 1a 	mov  %i2, %i5                                  
  .fstat_h     = rtems_rfs_rtems_fstat,                               
  .ftruncate_h = rtems_rfs_rtems_file_ftruncate,                      
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl                       
};                                                                    
 20433e4:	c2 00 60 80 	ld  [ %g1 + 0x80 ], %g1                        
 * @return int                                                        
 */                                                                   
static int                                                            
rtems_rfs_rtems_file_ftruncate (rtems_libio_t* iop,                   
                                off_t          length)                
{                                                                     
 20433e8:	b8 10 00 19 	mov  %i1, %i4                                  
 20433ec:	7f ff 2a f6 	call  200dfc4 <rtems_semaphore_obtain>         
 20433f0:	d0 00 40 00 	ld  [ %g1 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 20433f4:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 20433f8:	12 80 00 23 	bne  2043484 <rtems_rfs_rtems_file_ftruncate+0xbc><== NEVER TAKEN
 20433fc:	90 10 20 00 	clr  %o0                                       
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_FTRUNC))      
    printf("rtems-rfs: file-ftrunc: handle:%p length:%" PRIdoff_t "\n", file, length);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  rc = rtems_rfs_file_set_size (file, length);                        
 2043400:	90 10 00 1b 	mov  %i3, %o0                                  
 2043404:	92 10 00 1c 	mov  %i4, %o1                                  
 2043408:	7f ff ef 5a 	call  203f170 <rtems_rfs_file_set_size>        
 204340c:	94 10 00 1d 	mov  %i5, %o2                                  
  if (rc)                                                             
 2043410:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2043414:	22 80 00 07 	be,a   2043430 <rtems_rfs_rtems_file_ftruncate+0x68><== ALWAYS TAKEN
 2043418:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
    rc = rtems_rfs_rtems_error ("file_ftruncate: set size", rc);      
 204341c:	40 00 15 3b 	call  2048908 <__errno>                        <== NOT EXECUTED
 2043420:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2043424:	f0 22 00 00 	st  %i0, [ %o0 ]                               <== NOT EXECUTED
 2043428:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 204342c:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        <== NOT EXECUTED
 2043430:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
  rtems_rfs_buffers_release (fs);                                     
 2043434:	7f ff e6 85 	call  203ce48 <rtems_rfs_buffers_release>      
 2043438:	fa 02 20 80 	ld  [ %o0 + 0x80 ], %i5                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 204343c:	7f ff 2b 32 	call  200e104 <rtems_semaphore_release>        
 2043440:	d0 07 40 00 	ld  [ %i5 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2043444:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2043448:	02 80 00 0d 	be  204347c <rtems_rfs_rtems_file_ftruncate+0xb4><== ALWAYS TAKEN
 204344c:	90 10 20 00 	clr  %o0                                       
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043450:	7f ff 8e 8d 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043454:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2043458:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 204345c:	02 80 00 08 	be  204347c <rtems_rfs_rtems_file_ftruncate+0xb4><== NOT EXECUTED
 2043460:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2043464:	7f ff 17 0f 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2043468:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 204346c:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2043470:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043474:	40 00 27 64 	call  204d204 <printf>                         <== NOT EXECUTED
 2043478:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
                                                                      
  return rc;                                                          
}                                                                     
 204347c:	81 c7 e0 08 	ret                                            
 2043480:	81 e8 00 00 	restore                                        
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043484:	7f ff 8e 80 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043488:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 204348c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2043490:	22 bf ff dd 	be,a   2043404 <rtems_rfs_rtems_file_ftruncate+0x3c><== NOT EXECUTED
 2043494:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2043498:	7f ff 17 02 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 204349c:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 20434a0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20434a4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20434a8:	40 00 27 57 	call  204d204 <printf>                         <== NOT EXECUTED
 20434ac:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_FTRUNC))      
    printf("rtems-rfs: file-ftrunc: handle:%p length:%" PRIdoff_t "\n", file, length);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  rc = rtems_rfs_file_set_size (file, length);                        
 20434b0:	10 bf ff d5 	b  2043404 <rtems_rfs_rtems_file_ftruncate+0x3c><== NOT EXECUTED
 20434b4:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
                                                                      

020434b8 <rtems_rfs_rtems_file_lseek>: */ static off_t rtems_rfs_rtems_file_lseek (rtems_libio_t* iop, off_t offset, int whence) {
 20434b8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 20434bc:	e0 06 20 20 	ld  [ %i0 + 0x20 ], %l0                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 20434c0:	92 10 20 00 	clr  %o1                                       
  off_t                  new_offset;                                  
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK))       
    printf("rtems-rfs: file-lseek: handle:%p offset:%" PRIdoff_t "\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
 20434c4:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 20434c8:	94 10 20 00 	clr  %o2                                       
 * Lock the RFS file system.                                          
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_lock (rtems_rfs_file_system* fs)                     
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 20434cc:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
 */                                                                   
static off_t                                                          
rtems_rfs_rtems_file_lseek (rtems_libio_t* iop,                       
                            off_t          offset,                    
                            int            whence)                    
{                                                                     
 20434d0:	b8 10 00 19 	mov  %i1, %i4                                  
  .fstat_h     = rtems_rfs_rtems_fstat,                               
  .ftruncate_h = rtems_rfs_rtems_file_ftruncate,                      
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl                       
};                                                                    
 20434d4:	c2 00 60 80 	ld  [ %g1 + 0x80 ], %g1                        
 */                                                                   
static off_t                                                          
rtems_rfs_rtems_file_lseek (rtems_libio_t* iop,                       
                            off_t          offset,                    
                            int            whence)                    
{                                                                     
 20434d8:	ba 10 00 1a 	mov  %i2, %i5                                  
 20434dc:	d0 00 40 00 	ld  [ %g1 ], %o0                               
 20434e0:	7f ff 2a b9 	call  200dfc4 <rtems_semaphore_obtain>         
 20434e4:	b2 10 00 1b 	mov  %i3, %i1                                  
  if (sc != RTEMS_SUCCESSFUL)                                         
 20434e8:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 20434ec:	12 80 00 22 	bne  2043574 <rtems_rfs_rtems_file_lseek+0xbc> <== NEVER TAKEN
 20434f0:	90 10 20 00 	clr  %o0                                       
    printf("rtems-rfs: file-lseek: handle:%p offset:%" PRIdoff_t "\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  old_offset = iop->offset;                                           
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
 20434f4:	92 10 00 1c 	mov  %i4, %o1                                  
 20434f8:	94 10 00 1d 	mov  %i5, %o2                                  
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK))       
    printf("rtems-rfs: file-lseek: handle:%p offset:%" PRIdoff_t "\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  old_offset = iop->offset;                                           
 20434fc:	f4 1e 20 08 	ldd  [ %i0 + 8 ], %i2                          
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
 2043500:	90 10 00 18 	mov  %i0, %o0                                  
 2043504:	40 00 01 bf 	call  2043c00 <rtems_filesystem_default_lseek_file>
 2043508:	96 10 00 19 	mov  %i1, %o3                                  
 204350c:	b8 10 00 08 	mov  %o0, %i4                                  
  if (new_offset != -1)                                               
 2043510:	80 a7 3f ff 	cmp  %i4, -1                                   
 2043514:	02 80 00 2d 	be  20435c8 <rtems_rfs_rtems_file_lseek+0x110> 
 2043518:	ba 10 00 09 	mov  %o1, %i5                                  
  {                                                                   
    rtems_rfs_pos pos = iop->offset;                                  
 204351c:	c4 1e 20 08 	ldd  [ %i0 + 8 ], %g2                          
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
 2043520:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
  old_offset = iop->offset;                                           
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
  if (new_offset != -1)                                               
  {                                                                   
    rtems_rfs_pos pos = iop->offset;                                  
 2043524:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]                         
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
 2043528:	92 10 00 02 	mov  %g2, %o1                                  
 204352c:	94 10 00 03 	mov  %g3, %o2                                  
 2043530:	7f ff ee cd 	call  203f064 <rtems_rfs_file_seek>            
 2043534:	96 07 bf f8 	add  %fp, -8, %o3                              
                                                                      
    if (rc)                                                           
 2043538:	b2 92 20 00 	orcc  %o0, 0, %i1                              
 204353c:	12 80 00 30 	bne  20435fc <rtems_rfs_rtems_file_lseek+0x144><== NEVER TAKEN
 2043540:	01 00 00 00 	nop                                            
      iop->offset = old_offset;                                       
      new_offset = -1;                                                
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 2043544:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 2043548:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
  rtems_rfs_buffers_release (fs);                                     
 204354c:	7f ff e6 3f 	call  203ce48 <rtems_rfs_buffers_release>      
 2043550:	f6 02 20 80 	ld  [ %o0 + 0x80 ], %i3                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2043554:	7f ff 2a ec 	call  200e104 <rtems_semaphore_release>        
 2043558:	d0 06 c0 00 	ld  [ %i3 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 204355c:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 2043560:	12 80 00 36 	bne  2043638 <rtems_rfs_rtems_file_lseek+0x180><== NEVER TAKEN
 2043564:	90 10 20 00 	clr  %o0                                       
                                                                      
  return new_offset;                                                  
}                                                                     
 2043568:	b0 10 00 1c 	mov  %i4, %i0                                  
 204356c:	81 c7 e0 08 	ret                                            
 2043570:	93 e8 00 1d 	restore  %g0, %i5, %o1                         
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043574:	7f ff 8e 44 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043578:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 204357c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2043580:	02 bf ff de 	be  20434f8 <rtems_rfs_rtems_file_lseek+0x40>  <== NOT EXECUTED
 2043584:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2043588:	7f ff 16 c6 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 204358c:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 2043590:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2043594:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043598:	40 00 27 1b 	call  204d204 <printf>                         <== NOT EXECUTED
 204359c:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
    printf("rtems-rfs: file-lseek: handle:%p offset:%" PRIdoff_t "\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  old_offset = iop->offset;                                           
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
 20435a0:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 20435a4:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_LSEEK))       
    printf("rtems-rfs: file-lseek: handle:%p offset:%" PRIdoff_t "\n", file, offset);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  old_offset = iop->offset;                                           
 20435a8:	f4 1e 20 08 	ldd  [ %i0 + 8 ], %i2                          <== NOT EXECUTED
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
 20435ac:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20435b0:	40 00 01 94 	call  2043c00 <rtems_filesystem_default_lseek_file><== NOT EXECUTED
 20435b4:	96 10 00 19 	mov  %i1, %o3                                  <== NOT EXECUTED
 20435b8:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
  if (new_offset != -1)                                               
 20435bc:	80 a7 3f ff 	cmp  %i4, -1                                   <== NOT EXECUTED
 20435c0:	12 bf ff d7 	bne  204351c <rtems_rfs_rtems_file_lseek+0x64> <== NOT EXECUTED
 20435c4:	ba 10 00 09 	mov  %o1, %i5                                  <== NOT EXECUTED
 20435c8:	80 a2 7f ff 	cmp  %o1, -1                                   
 20435cc:	22 bf ff df 	be,a   2043548 <rtems_rfs_rtems_file_lseek+0x90><== ALWAYS TAKEN
 20435d0:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
  {                                                                   
    rtems_rfs_pos pos = iop->offset;                                  
 20435d4:	c4 1e 20 08 	ldd  [ %i0 + 8 ], %g2                          <== NOT EXECUTED
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
 20435d8:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
                                                                      
  old_offset = iop->offset;                                           
  new_offset = rtems_filesystem_default_lseek_file (iop, offset, whence);
  if (new_offset != -1)                                               
  {                                                                   
    rtems_rfs_pos pos = iop->offset;                                  
 20435dc:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]                         <== NOT EXECUTED
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
 20435e0:	92 10 00 02 	mov  %g2, %o1                                  <== NOT EXECUTED
 20435e4:	94 10 00 03 	mov  %g3, %o2                                  <== NOT EXECUTED
 20435e8:	7f ff ee 9f 	call  203f064 <rtems_rfs_file_seek>            <== NOT EXECUTED
 20435ec:	96 07 bf f8 	add  %fp, -8, %o3                              <== NOT EXECUTED
                                                                      
    if (rc)                                                           
 20435f0:	b2 92 20 00 	orcc  %o0, 0, %i1                              <== NOT EXECUTED
 20435f4:	22 bf ff d5 	be,a   2043548 <rtems_rfs_rtems_file_lseek+0x90><== NOT EXECUTED
 20435f8:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        <== NOT EXECUTED
    {                                                                 
      rtems_rfs_rtems_error ("file_lseek: lseek", rc);                
 20435fc:	40 00 14 c3 	call  2048908 <__errno>                        <== NOT EXECUTED
 2043600:	39 3f ff ff 	sethi  %hi(0xfffffc00), %i4                    <== NOT EXECUTED
      iop->offset = old_offset;                                       
      new_offset = -1;                                                
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 2043604:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        <== NOT EXECUTED
    rtems_rfs_pos pos = iop->offset;                                  
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
                                                                      
    if (rc)                                                           
    {                                                                 
      rtems_rfs_rtems_error ("file_lseek: lseek", rc);                
 2043608:	f2 22 00 00 	st  %i1, [ %o0 ]                               <== NOT EXECUTED
      iop->offset = old_offset;                                       
      new_offset = -1;                                                
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 204360c:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        <== NOT EXECUTED
    int           rc = rtems_rfs_file_seek (file, pos, &pos);         
                                                                      
    if (rc)                                                           
    {                                                                 
      rtems_rfs_rtems_error ("file_lseek: lseek", rc);                
      iop->offset = old_offset;                                       
 2043610:	f4 3e 20 08 	std  %i2, [ %i0 + 8 ]                          <== NOT EXECUTED
 2043614:	7f ff e6 0d 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2043618:	f6 02 20 80 	ld  [ %o0 + 0x80 ], %i3                        <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 204361c:	7f ff 2a ba 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2043620:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
      new_offset = -1;                                                
 2043624:	b8 17 23 ff 	or  %i4, 0x3ff, %i4                            <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2043628:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 204362c:	02 bf ff cf 	be  2043568 <rtems_rfs_rtems_file_lseek+0xb0>  <== NOT EXECUTED
 2043630:	ba 10 00 1c 	mov  %i4, %i5                                  <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043634:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2043638:	7f ff 8e 13 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 204363c:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2043640:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2043644:	22 bf ff ca 	be,a   204356c <rtems_rfs_rtems_file_lseek+0xb4><== NOT EXECUTED
 2043648:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 204364c:	7f ff 16 95 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2043650:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return new_offset;                                                  
}                                                                     
 2043654:	b0 10 00 1c 	mov  %i4, %i0                                  <== NOT EXECUTED
 2043658:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 204365c:	b2 10 00 1d 	mov  %i5, %i1                                  <== NOT EXECUTED
 2043660:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043664:	40 00 26 e8 	call  204d204 <printf>                         <== NOT EXECUTED
 2043668:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 204366c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2043670:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02043674 <rtems_rfs_rtems_file_open>: static int rtems_rfs_rtems_file_open (rtems_libio_t* iop, const char* pathname, int oflag, mode_t mode) {
 2043674:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (&iop->pathinfo);
 2043678:	c2 06 20 28 	ld  [ %i0 + 0x28 ], %g1                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 204367c:	92 10 20 00 	clr  %o1                                       
 2043680:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
 2043684:	94 10 20 00 	clr  %o2                                       
  .fstat_h     = rtems_rfs_rtems_fstat,                               
  .ftruncate_h = rtems_rfs_rtems_file_ftruncate,                      
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl                       
};                                                                    
 2043688:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        
 204368c:	7f ff 2a 4e 	call  200dfc4 <rtems_semaphore_obtain>         
 2043690:	d0 00 40 00 	ld  [ %g1 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2043694:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2043698:	12 80 00 23 	bne  2043724 <rtems_rfs_rtems_file_open+0xb0>  <== NEVER TAKEN
 204369c:	90 10 20 00 	clr  %o0                                       
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  ino = rtems_rfs_rtems_get_iop_ino (iop);                            
                                                                      
  rc = rtems_rfs_file_open (fs, ino, flags, &file);                   
 20436a0:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        
 20436a4:	90 10 00 1d 	mov  %i5, %o0                                  
 20436a8:	94 10 20 00 	clr  %o2                                       
 20436ac:	7f ff eb 90 	call  203e4ec <rtems_rfs_file_open>            
 20436b0:	96 07 bf fc 	add  %fp, -4, %o3                              
  if (rc > 0)                                                         
 20436b4:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20436b8:	04 80 00 2f 	ble  2043774 <rtems_rfs_rtems_file_open+0x100> <== ALWAYS TAKEN
 20436bc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 20436c0:	f6 07 60 80 	ld  [ %i5 + 0x80 ], %i3                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 20436c4:	7f ff e5 e1 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 20436c8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 20436cc:	7f ff 2a 8e 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 20436d0:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 20436d4:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 20436d8:	12 80 00 07 	bne  20436f4 <rtems_rfs_rtems_file_open+0x80>  <== NOT EXECUTED
 20436dc:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  {                                                                   
    rtems_rfs_rtems_unlock (fs);                                      
    return rtems_rfs_rtems_error ("file-open: open", rc);             
 20436e0:	40 00 14 8a 	call  2048908 <__errno>                        <== NOT EXECUTED
 20436e4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20436e8:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 20436ec:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20436f0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20436f4:	7f ff 8d e4 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20436f8:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20436fc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2043700:	02 bf ff f8 	be  20436e0 <rtems_rfs_rtems_file_open+0x6c>   <== NOT EXECUTED
 2043704:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2043708:	7f ff 16 66 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 204370c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2043710:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2043714:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043718:	40 00 26 bb 	call  204d204 <printf>                         <== NOT EXECUTED
 204371c:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2043720:	30 bf ff f0 	b,a   20436e0 <rtems_rfs_rtems_file_open+0x6c> <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043724:	7f ff 8d d8 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043728:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 204372c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2043730:	22 bf ff dd 	be,a   20436a4 <rtems_rfs_rtems_file_open+0x30><== NOT EXECUTED
 2043734:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2043738:	7f ff 16 5a 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 204373c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2043740:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2043744:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043748:	40 00 26 af 	call  204d204 <printf>                         <== NOT EXECUTED
 204374c:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_lock (fs);                                          
                                                                      
  ino = rtems_rfs_rtems_get_iop_ino (iop);                            
                                                                      
  rc = rtems_rfs_file_open (fs, ino, flags, &file);                   
 2043750:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        <== NOT EXECUTED
 2043754:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2043758:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 204375c:	7f ff eb 64 	call  203e4ec <rtems_rfs_file_open>            <== NOT EXECUTED
 2043760:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
  if (rc > 0)                                                         
 2043764:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2043768:	34 bf ff d7 	bg,a   20436c4 <rtems_rfs_rtems_file_open+0x50><== NOT EXECUTED
 204376c:	f6 07 60 80 	ld  [ %i5 + 0x80 ], %i3                        <== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_FILE_OPEN))        
    printf("rtems-rfs: file-open: handle:%p\n", file);                
                                                                      
  rtems_rfs_rtems_set_iop_file_handle (iop, file);                    
 2043770:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2043774:	f8 07 60 80 	ld  [ %i5 + 0x80 ], %i4                        
  rtems_rfs_buffers_release (fs);                                     
 2043778:	90 10 00 1d 	mov  %i5, %o0                                  
 204377c:	7f ff e5 b3 	call  203ce48 <rtems_rfs_buffers_release>      
 2043780:	c2 26 20 20 	st  %g1, [ %i0 + 0x20 ]                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2043784:	7f ff 2a 60 	call  200e104 <rtems_semaphore_release>        
 2043788:	d0 07 00 00 	ld  [ %i4 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 204378c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2043790:	12 80 00 04 	bne  20437a0 <rtems_rfs_rtems_file_open+0x12c> <== NEVER TAKEN
 2043794:	90 10 20 00 	clr  %o0                                       
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
  return 0;                                                           
}                                                                     
 2043798:	81 c7 e0 08 	ret                                            
 204379c:	91 e8 20 00 	restore  %g0, 0, %o0                           
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20437a0:	7f ff 8d b9 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20437a4:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20437a8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20437ac:	02 bf ff fb 	be  2043798 <rtems_rfs_rtems_file_open+0x124>  <== NOT EXECUTED
 20437b0:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 20437b4:	7f ff 16 3b 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20437b8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20437bc:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20437c0:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20437c4:	40 00 26 90 	call  204d204 <printf>                         <== NOT EXECUTED
 20437c8:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 20437cc:	30 bf ff f3 	b,a   2043798 <rtems_rfs_rtems_file_open+0x124><== NOT EXECUTED
                                                                      

020430fc <rtems_rfs_rtems_file_read>: */ static ssize_t rtems_rfs_rtems_file_read (rtems_libio_t* iop, void* buffer, size_t count) {
 20430fc:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 2043100:	e0 06 20 20 	ld  [ %i0 + 0x20 ], %l0                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 2043104:	92 10 20 00 	clr  %o1                                       
  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));                    
 2043108:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 204310c:	94 10 20 00 	clr  %o2                                       
 * Lock the RFS file system.                                          
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_lock (rtems_rfs_file_system* fs)                     
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2043110:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_read (rtems_libio_t* iop,                        
                           void*          buffer,                     
                           size_t         count)                      
{                                                                     
 2043114:	a4 10 00 18 	mov  %i0, %l2                                  
  .fstat_h     = rtems_rfs_rtems_fstat,                               
  .ftruncate_h = rtems_rfs_rtems_file_ftruncate,                      
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl                       
};                                                                    
 2043118:	c2 00 60 80 	ld  [ %g1 + 0x80 ], %g1                        
 204311c:	7f ff 2b aa 	call  200dfc4 <rtems_semaphore_obtain>         
 2043120:	d0 00 40 00 	ld  [ %g1 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2043124:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2043128:	12 80 00 5b 	bne  2043294 <rtems_rfs_rtems_file_read+0x198> <== NEVER TAKEN
 204312c:	90 10 20 00 	clr  %o0                                       
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
 2043130:	d2 04 20 1c 	ld  [ %l0 + 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;                                                  
 2043134:	f8 1c a0 08 	ldd  [ %l2 + 8 ], %i4                          
 2043138:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 204313c:	7f ff e1 df 	call  203b8b8 <rtems_rfs_block_get_size>       
 2043140:	92 02 60 84 	add  %o1, 0x84, %o1                            
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
 2043144:	80 a2 00 1c 	cmp  %o0, %i4                                  
 2043148:	18 80 00 19 	bgu  20431ac <rtems_rfs_rtems_file_read+0xb0>  <== NEVER TAKEN
 204314c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2043150:	80 a2 00 1c 	cmp  %o0, %i4                                  
 2043154:	02 80 00 13 	be  20431a0 <rtems_rfs_rtems_file_read+0xa4>   <== ALWAYS TAKEN
 2043158:	80 a2 40 1d 	cmp  %o1, %i5                                  
  {                                                                   
    while (count)                                                     
 204315c:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 2043160:	86 10 20 00 	clr  %g3                                       
                           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;                                    
 2043164:	b0 10 20 00 	clr  %i0                                       
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (read >= 0)                                                      
    iop->offset = pos + read;                                         
 2043168:	ba 80 c0 1d 	addcc  %g3, %i5, %i5                           
 204316c:	b8 40 80 1c 	addx  %g2, %i4, %i4                            
 2043170:	f8 3c a0 08 	std  %i4, [ %l2 + 8 ]                          
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 2043174:	c2 04 20 1c 	ld  [ %l0 + 0x1c ], %g1                        
 2043178:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
  rtems_rfs_buffers_release (fs);                                     
 204317c:	7f ff e7 33 	call  203ce48 <rtems_rfs_buffers_release>      
 2043180:	fa 02 20 80 	ld  [ %o0 + 0x80 ], %i5                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2043184:	7f ff 2b e0 	call  200e104 <rtems_semaphore_release>        
 2043188:	d0 07 40 00 	ld  [ %i5 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 204318c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2043190:	12 80 00 2f 	bne  204324c <rtems_rfs_rtems_file_read+0x150> <== NEVER TAKEN
 2043194:	90 10 20 00 	clr  %o0                                       
                                                                      
  return read;                                                        
}                                                                     
 2043198:	81 c7 e0 08 	ret                                            
 204319c:	81 e8 00 00 	restore                                        
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
 20431a0:	08 bf ff f0 	bleu  2043160 <rtems_rfs_rtems_file_read+0x64> 
 20431a4:	84 10 20 00 	clr  %g2                                       
  {                                                                   
    while (count)                                                     
 20431a8:	80 a6 a0 00 	cmp  %i2, 0                                    
 20431ac:	02 bf ff ec 	be  204315c <rtems_rfs_rtems_file_read+0x60>   <== NEVER TAKEN
 20431b0:	b0 10 20 00 	clr  %i0                                       
    {                                                                 
      size_t size;                                                    
                                                                      
      rc = rtems_rfs_file_io_start (file, &size, true);               
 20431b4:	10 80 00 16 	b  204320c <rtems_rfs_rtems_file_read+0x110>   
 20431b8:	92 07 bf fc 	add  %fp, -4, %o1                              
        break;                                                        
                                                                      
      if (size > count)                                               
        size = count;                                                 
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
 20431bc:	c4 04 20 0c 	ld  [ %l0 + 0xc ], %g2                         
 20431c0:	c2 04 20 14 	ld  [ %l0 + 0x14 ], %g1                        
 20431c4:	d2 00 a0 1c 	ld  [ %g2 + 0x1c ], %o1                        
 20431c8:	90 10 00 19 	mov  %i1, %o0                                  
 20431cc:	92 02 40 01 	add  %o1, %g1, %o1                             
 20431d0:	40 00 23 0d 	call  204be04 <memcpy>                         
 20431d4:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
 20431d8:	90 10 00 10 	mov  %l0, %o0                                  
 20431dc:	92 10 00 1b 	mov  %i3, %o1                                  
 20431e0:	94 10 20 01 	mov  1, %o2                                    
 20431e4:	7f ff ee e6 	call  203ed7c <rtems_rfs_file_io_end>          
 20431e8:	b2 06 40 1b 	add  %i1, %i3, %i1                             
                                                                      
      memcpy (data, rtems_rfs_file_data (file), size);                
                                                                      
      data  += size;                                                  
      count -= size;                                                  
      read  += size;                                                  
 20431ec:	b0 06 c0 18 	add  %i3, %i0, %i0                             
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
 20431f0:	80 a2 20 00 	cmp  %o0, 0                                    
 20431f4:	14 80 00 39 	bg  20432d8 <rtems_rfs_rtems_file_read+0x1dc>  <== NEVER TAKEN
 20431f8:	a2 10 00 08 	mov  %o0, %l1                                  
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
  {                                                                   
    while (count)                                                     
 20431fc:	80 a6 a0 00 	cmp  %i2, 0                                    
 2043200:	02 80 00 21 	be  2043284 <rtems_rfs_rtems_file_read+0x188>  
 2043204:	80 a6 20 00 	cmp  %i0, 0                                    
    {                                                                 
      size_t size;                                                    
                                                                      
      rc = rtems_rfs_file_io_start (file, &size, true);               
 2043208:	92 07 bf fc 	add  %fp, -4, %o1                              
 204320c:	94 10 20 01 	mov  1, %o2                                    
 2043210:	7f ff ee 4a 	call  203eb38 <rtems_rfs_file_io_start>        
 2043214:	90 10 00 10 	mov  %l0, %o0                                  
      if (rc > 0)                                                     
 2043218:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 204321c:	14 80 00 2b 	bg  20432c8 <rtems_rfs_rtems_file_read+0x1cc>  <== NEVER TAKEN
 2043220:	01 00 00 00 	nop                                            
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-start", rc);
        break;                                                        
      }                                                               
                                                                      
      if (size == 0)                                                  
 2043224:	f6 07 bf fc 	ld  [ %fp + -4 ], %i3                          
 2043228:	80 a6 e0 00 	cmp  %i3, 0                                    
 204322c:	02 80 00 15 	be  2043280 <rtems_rfs_rtems_file_read+0x184>  
 2043230:	80 a6 c0 1a 	cmp  %i3, %i2                                  
        break;                                                        
                                                                      
      if (size > count)                                               
 2043234:	28 bf ff e2 	bleu,a   20431bc <rtems_rfs_rtems_file_read+0xc0>
 2043238:	b4 26 80 1b 	sub  %i2, %i3, %i2                             
        size = count;                                                 
 204323c:	b6 10 00 1a 	mov  %i2, %i3                                  
 2043240:	f4 27 bf fc 	st  %i2, [ %fp + -4 ]                          
 2043244:	10 bf ff de 	b  20431bc <rtems_rfs_rtems_file_read+0xc0>    
 2043248:	b4 10 20 00 	clr  %i2                                       
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 204324c:	7f ff 8f 0e 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043250:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2043254:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2043258:	02 80 00 08 	be  2043278 <rtems_rfs_rtems_file_read+0x17c>  <== NOT EXECUTED
 204325c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2043260:	7f ff 17 90 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2043264:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2043268:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 204326c:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043270:	40 00 27 e5 	call  204d204 <printf>                         <== NOT EXECUTED
 2043274:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
    iop->offset = pos + read;                                         
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return read;                                                        
}                                                                     
 2043278:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204327c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        break;                                                        
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (read >= 0)                                                      
 2043280:	80 a6 20 00 	cmp  %i0, 0                                    
 2043284:	06 bf ff bc 	bl  2043174 <rtems_rfs_rtems_file_read+0x78>   <== NEVER TAKEN
 2043288:	86 10 00 18 	mov  %i0, %g3                                  
 204328c:	10 bf ff b7 	b  2043168 <rtems_rfs_rtems_file_read+0x6c>    
 2043290:	85 3e 20 1f 	sra  %i0, 0x1f, %g2                            
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043294:	7f ff 8e fc 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043298:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 204329c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20432a0:	22 bf ff a5 	be,a   2043134 <rtems_rfs_rtems_file_read+0x38><== NOT EXECUTED
 20432a4:	d2 04 20 1c 	ld  [ %l0 + 0x1c ], %o1                        <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 20432a8:	7f ff 17 7e 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20432ac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20432b0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20432b4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20432b8:	40 00 27 d3 	call  204d204 <printf>                         <== NOT EXECUTED
 20432bc:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
                                                                      
  if (pos < rtems_rfs_file_size (file))                               
 20432c0:	10 bf ff 9d 	b  2043134 <rtems_rfs_rtems_file_read+0x38>    <== NOT EXECUTED
 20432c4:	d2 04 20 1c 	ld  [ %l0 + 0x1c ], %o1                        <== NOT EXECUTED
      size_t size;                                                    
                                                                      
      rc = rtems_rfs_file_io_start (file, &size, true);               
      if (rc > 0)                                                     
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-start", rc);
 20432c8:	40 00 15 90 	call  2048908 <__errno>                        <== NOT EXECUTED
 20432cc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20432d0:	10 bf ff a9 	b  2043174 <rtems_rfs_rtems_file_read+0x78>    <== NOT EXECUTED
 20432d4:	f6 22 00 00 	st  %i3, [ %o0 ]                               <== NOT EXECUTED
      read  += size;                                                  
                                                                      
      rc = rtems_rfs_file_io_end (file, size, true);                  
      if (rc > 0)                                                     
      {                                                               
        read = rtems_rfs_rtems_error ("file-read: read: io-end", rc); 
 20432d8:	40 00 15 8c 	call  2048908 <__errno>                        <== NOT EXECUTED
 20432dc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20432e0:	10 bf ff a5 	b  2043174 <rtems_rfs_rtems_file_read+0x78>    <== NOT EXECUTED
 20432e4:	e2 22 00 00 	st  %l1, [ %o0 ]                               <== NOT EXECUTED
                                                                      

020437d0 <rtems_rfs_rtems_file_write>: */ static ssize_t rtems_rfs_rtems_file_write (rtems_libio_t* iop, const void* buffer, size_t count) {
 20437d0:	9d e3 bf 90 	save  %sp, -112, %sp                           
  rtems_rfs_file_handle* file = rtems_rfs_rtems_get_iop_file_handle (iop);
 20437d4:	f6 06 20 20 	ld  [ %i0 + 0x20 ], %i3                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 20437d8:	92 10 20 00 	clr  %o1                                       
  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));                    
 20437dc:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
 20437e0:	94 10 20 00 	clr  %o2                                       
 * Lock the RFS file system.                                          
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_lock (rtems_rfs_file_system* fs)                     
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 20437e4:	c2 00 60 98 	ld  [ %g1 + 0x98 ], %g1                        
 */                                                                   
static ssize_t                                                        
rtems_rfs_rtems_file_write (rtems_libio_t* iop,                       
                            const void*    buffer,                    
                            size_t         count)                     
{                                                                     
 20437e8:	a0 10 00 18 	mov  %i0, %l0                                  
  .fstat_h     = rtems_rfs_rtems_fstat,                               
  .ftruncate_h = rtems_rfs_rtems_file_ftruncate,                      
  .fsync_h     = rtems_rfs_rtems_fdatasync,                           
  .fdatasync_h = rtems_rfs_rtems_fdatasync,                           
  .fcntl_h     = rtems_filesystem_default_fcntl                       
};                                                                    
 20437ec:	c2 00 60 80 	ld  [ %g1 + 0x80 ], %g1                        
 20437f0:	7f ff 29 f5 	call  200dfc4 <rtems_semaphore_obtain>         
 20437f4:	d0 00 40 00 	ld  [ %g1 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 20437f8:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20437fc:	12 80 00 69 	bne  20439a0 <rtems_rfs_rtems_file_write+0x1d0><== NEVER TAKEN
 2043800:	90 10 20 00 	clr  %o0                                       
    printf("rtems-rfs: file-write: handle:%p count:%zd\n", file, count);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
  file_size = rtems_rfs_file_size (file);                             
 2043804:	d2 06 e0 1c 	ld  [ %i3 + 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;                                                  
 2043808:	c4 1c 20 08 	ldd  [ %l0 + 8 ], %g2                          
 204380c:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        
 2043810:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]                         
 2043814:	7f ff e0 29 	call  203b8b8 <rtems_rfs_block_get_size>       
 2043818:	92 02 60 84 	add  %o1, 0x84, %o1                            
 204381c:	86 10 00 09 	mov  %o1, %g3                                  
  file_size = rtems_rfs_file_size (file);                             
  if (pos > file_size)                                                
 2043820:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 2043824:	84 10 00 08 	mov  %o0, %g2                                  
 2043828:	80 a2 40 02 	cmp  %o1, %g2                                  
 204382c:	18 80 00 74 	bgu  20439fc <rtems_rfs_rtems_file_write+0x22c><== NEVER TAKEN
 2043830:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
 2043834:	80 a2 40 02 	cmp  %o1, %g2                                  
 2043838:	02 80 00 84 	be  2043a48 <rtems_rfs_rtems_file_write+0x278> <== ALWAYS TAKEN
 204383c:	80 a2 80 03 	cmp  %o2, %g3                                  
      return rtems_rfs_rtems_error ("file-write: write extend", rc);  
    }                                                                 
                                                                      
    rtems_rfs_file_set_bpos (file, pos);                              
  }                                                                   
  else if (pos < file_size && (iop->flags & LIBIO_FLAGS_APPEND) != 0) 
 2043840:	80 a0 80 09 	cmp  %g2, %o1                                  <== NOT EXECUTED
 2043844:	08 80 00 3b 	bleu  2043930 <rtems_rfs_rtems_file_write+0x160><== ALWAYS TAKEN
 2043848:	01 00 00 00 	nop                                            
 204384c:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        <== NOT EXECUTED
 2043850:	80 88 62 00 	btst  0x200, %g1                               
 2043854:	32 80 00 86 	bne,a   2043a6c <rtems_rfs_rtems_file_write+0x29c>
 2043858:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]                         
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
      return rtems_rfs_rtems_error ("file-write: write append seek", rc);
    }                                                                 
  }                                                                   
                                                                      
  while (count)                                                       
 204385c:	b0 10 20 00 	clr  %i0                                       
 2043860:	84 10 20 00 	clr  %g2                                       
 2043864:	80 a6 a0 00 	cmp  %i2, 0                                    
 2043868:	12 80 00 1b 	bne  20438d4 <rtems_rfs_rtems_file_write+0x104><== ALWAYS TAKEN
 204386c:	86 10 20 00 	clr  %g3                                       
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  if (write >= 0)                                                     
    iop->offset = pos + write;                                        
 2043870:	10 80 00 48 	b  2043990 <rtems_rfs_rtems_file_write+0x1c0>  <== NOT EXECUTED
 2043874:	f8 1f bf f8 	ldd  [ %fp + -8 ], %i4                         <== NOT EXECUTED
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write open", rc);   
      break;                                                          
    }                                                                 
                                                                      
    if (size > count)                                                 
 2043878:	d4 07 bf f4 	ld  [ %fp + -12 ], %o2                         
 204387c:	80 a2 80 1a 	cmp  %o2, %i2                                  
 2043880:	28 80 00 05 	bleu,a   2043894 <rtems_rfs_rtems_file_write+0xc4>
 2043884:	c4 06 e0 0c 	ld  [ %i3 + 0xc ], %g2                         
      size = count;                                                   
 2043888:	f4 27 bf f4 	st  %i2, [ %fp + -12 ]                         
 204388c:	94 10 00 1a 	mov  %i2, %o2                                  
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
 2043890:	c4 06 e0 0c 	ld  [ %i3 + 0xc ], %g2                         
 2043894:	c2 06 e0 14 	ld  [ %i3 + 0x14 ], %g1                        
 2043898:	d0 00 a0 1c 	ld  [ %g2 + 0x1c ], %o0                        
 204389c:	40 00 21 5a 	call  204be04 <memcpy>                         
 20438a0:	90 02 00 01 	add  %o0, %g1, %o0                             
                                                                      
    data  += size;                                                    
 20438a4:	d2 07 bf f4 	ld  [ %fp + -12 ], %o1                         
    count -= size;                                                    
    write  += size;                                                   
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
 20438a8:	90 10 00 1b 	mov  %i3, %o0                                  
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
                                                                      
    data  += size;                                                    
    count -= size;                                                    
 20438ac:	b4 26 80 09 	sub  %i2, %o1, %i2                             
    if (size > count)                                                 
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
                                                                      
    data  += size;                                                    
 20438b0:	b2 06 40 09 	add  %i1, %o1, %i1                             
    count -= size;                                                    
    write  += size;                                                   
 20438b4:	b0 06 00 09 	add  %i0, %o1, %i0                             
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
 20438b8:	7f ff ed 31 	call  203ed7c <rtems_rfs_file_io_end>          
 20438bc:	94 10 20 00 	clr  %o2                                       
    if (rc)                                                           
 20438c0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20438c4:	12 80 00 0d 	bne  20438f8 <rtems_rfs_rtems_file_write+0x128><== NEVER TAKEN
 20438c8:	80 a6 a0 00 	cmp  %i2, 0                                    
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
      return rtems_rfs_rtems_error ("file-write: write append seek", rc);
    }                                                                 
  }                                                                   
                                                                      
  while (count)                                                       
 20438cc:	02 80 00 2d 	be  2043980 <rtems_rfs_rtems_file_write+0x1b0> 
 20438d0:	86 10 00 18 	mov  %i0, %g3                                  
  {                                                                   
    size_t size = count;                                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
 20438d4:	92 07 bf f4 	add  %fp, -12, %o1                             
    }                                                                 
  }                                                                   
                                                                      
  while (count)                                                       
  {                                                                   
    size_t size = count;                                              
 20438d8:	f4 27 bf f4 	st  %i2, [ %fp + -12 ]                         
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
 20438dc:	94 10 20 00 	clr  %o2                                       
 20438e0:	7f ff ec 96 	call  203eb38 <rtems_rfs_file_io_start>        
 20438e4:	90 10 00 1b 	mov  %i3, %o0                                  
    }                                                                 
                                                                      
    if (size > count)                                                 
      size = count;                                                   
                                                                      
    memcpy (rtems_rfs_file_data (file), data, size);                  
 20438e8:	92 10 00 19 	mov  %i1, %o1                                  
  while (count)                                                       
  {                                                                   
    size_t size = count;                                              
                                                                      
    rc = rtems_rfs_file_io_start (file, &size, false);                
    if (rc)                                                           
 20438ec:	80 a2 20 00 	cmp  %o0, 0                                    
 20438f0:	02 bf ff e2 	be  2043878 <rtems_rfs_rtems_file_write+0xa8>  
 20438f4:	ba 10 00 08 	mov  %o0, %i5                                  
    write  += size;                                                   
                                                                      
    rc = rtems_rfs_file_io_end (file, size, false);                   
    if (rc)                                                           
    {                                                                 
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
 20438f8:	40 00 14 04 	call  2048908 <__errno>                        
 20438fc:	b0 10 3f ff 	mov  -1, %i0                                   
 2043900:	fa 22 00 00 	st  %i5, [ %o0 ]                               
  }                                                                   
                                                                      
  if (write >= 0)                                                     
    iop->offset = pos + write;                                        
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
 2043904:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
 2043908:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
  rtems_rfs_buffers_release (fs);                                     
 204390c:	7f ff e5 4f 	call  203ce48 <rtems_rfs_buffers_release>      
 2043910:	fa 02 20 80 	ld  [ %o0 + 0x80 ], %i5                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2043914:	7f ff 29 fc 	call  200e104 <rtems_semaphore_release>        
 2043918:	d0 07 40 00 	ld  [ %i5 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 204391c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2043920:	12 80 00 0b 	bne  204394c <rtems_rfs_rtems_file_write+0x17c><== NEVER TAKEN
 2043924:	90 10 20 00 	clr  %o0                                       
                                                                      
  return write;                                                       
}                                                                     
 2043928:	81 c7 e0 08 	ret                                            
 204392c:	81 e8 00 00 	restore                                        
      return rtems_rfs_rtems_error ("file-write: write extend", rc);  
    }                                                                 
                                                                      
    rtems_rfs_file_set_bpos (file, pos);                              
  }                                                                   
  else if (pos < file_size && (iop->flags & LIBIO_FLAGS_APPEND) != 0) 
 2043930:	12 bf ff cc 	bne  2043860 <rtems_rfs_rtems_file_write+0x90> <== NEVER TAKEN
 2043934:	b0 10 20 00 	clr  %i0                                       
 2043938:	80 a0 c0 0a 	cmp  %g3, %o2                                  
 204393c:	28 bf ff ca 	bleu,a   2043864 <rtems_rfs_rtems_file_write+0x94>
 2043940:	84 10 20 00 	clr  %g2                                       
 2043944:	10 bf ff c3 	b  2043850 <rtems_rfs_rtems_file_write+0x80>   
 2043948:	c2 04 20 10 	ld  [ %l0 + 0x10 ], %g1                        
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 204394c:	7f ff 8d 4e 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043950:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2043954:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2043958:	02 80 00 3a 	be  2043a40 <rtems_rfs_rtems_file_write+0x270> <== NOT EXECUTED
 204395c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2043960:	7f ff 15 d0 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2043964:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2043968:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 204396c:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043970:	40 00 26 25 	call  204d204 <printf>                         <== NOT EXECUTED
 2043974:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
    iop->offset = pos + write;                                        
                                                                      
  rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));                  
                                                                      
  return write;                                                       
}                                                                     
 2043978:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 204397c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      write = rtems_rfs_rtems_error ("file-write: write close", rc);  
      break;                                                          
    }                                                                 
  }                                                                   
                                                                      
  if (write >= 0)                                                     
 2043980:	80 a6 20 00 	cmp  %i0, 0                                    
 2043984:	06 bf ff e0 	bl  2043904 <rtems_rfs_rtems_file_write+0x134> <== NEVER TAKEN
 2043988:	85 3e 20 1f 	sra  %i0, 0x1f, %g2                            
    iop->offset = pos + write;                                        
 204398c:	f8 1f bf f8 	ldd  [ %fp + -8 ], %i4                         
 2043990:	86 80 c0 1d 	addcc  %g3, %i5, %g3                           
 2043994:	84 40 80 1c 	addx  %g2, %i4, %g2                            
 2043998:	10 bf ff db 	b  2043904 <rtems_rfs_rtems_file_write+0x134>  
 204399c:	c4 3c 20 08 	std  %g2, [ %l0 + 8 ]                          
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20439a0:	7f ff 8d 39 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20439a4:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20439a8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20439ac:	22 bf ff 97 	be,a   2043808 <rtems_rfs_rtems_file_write+0x38><== NOT EXECUTED
 20439b0:	d2 06 e0 1c 	ld  [ %i3 + 0x1c ], %o1                        <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 20439b4:	7f ff 15 bb 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20439b8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20439bc:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20439c0:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20439c4:	40 00 26 10 	call  204d204 <printf>                         <== NOT EXECUTED
 20439c8:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
    printf("rtems-rfs: file-write: handle:%p count:%zd\n", file, count);
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
  file_size = rtems_rfs_file_size (file);                             
 20439cc:	d2 06 e0 1c 	ld  [ %i3 + 0x1c ], %o1                        <== NOT EXECUTED
  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;                                                  
 20439d0:	c4 1c 20 08 	ldd  [ %l0 + 8 ], %g2                          <== NOT EXECUTED
 20439d4:	d0 02 60 98 	ld  [ %o1 + 0x98 ], %o0                        <== NOT EXECUTED
 20439d8:	c4 3f bf f8 	std  %g2, [ %fp + -8 ]                         <== NOT EXECUTED
 20439dc:	7f ff df b7 	call  203b8b8 <rtems_rfs_block_get_size>       <== NOT EXECUTED
 20439e0:	92 02 60 84 	add  %o1, 0x84, %o1                            <== NOT EXECUTED
 20439e4:	86 10 00 09 	mov  %o1, %g3                                  <== NOT EXECUTED
  file_size = rtems_rfs_file_size (file);                             
  if (pos > file_size)                                                
 20439e8:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          <== NOT EXECUTED
 20439ec:	84 10 00 08 	mov  %o0, %g2                                  <== NOT EXECUTED
 20439f0:	80 a2 40 02 	cmp  %o1, %g2                                  <== NOT EXECUTED
 20439f4:	08 bf ff 91 	bleu  2043838 <rtems_rfs_rtems_file_write+0x68><== NOT EXECUTED
 20439f8:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          <== NOT EXECUTED
    /*                                                                
     * If the iop position is past the physical end of the file we need to set
     * the file size to the new length before writing.  The           
     * rtems_rfs_file_io_end() will grow the file subsequently.       
     */                                                               
    rc = rtems_rfs_file_set_size (file, pos);                         
 20439fc:	7f ff ed dd 	call  203f170 <rtems_rfs_file_set_size>        
 2043a00:	90 10 00 1b 	mov  %i3, %o0                                  
    if (rc)                                                           
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
 2043a04:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        
    /*                                                                
     * If the iop position is past the physical end of the file we need to set
     * the file size to the new length before writing.  The           
     * rtems_rfs_file_io_end() will grow the file subsequently.       
     */                                                               
    rc = rtems_rfs_file_set_size (file, pos);                         
 2043a08:	ba 10 00 08 	mov  %o0, %i5                                  
    if (rc)                                                           
 2043a0c:	80 a7 60 00 	cmp  %i5, 0                                    
 2043a10:	02 80 00 11 	be  2043a54 <rtems_rfs_rtems_file_write+0x284> <== ALWAYS TAKEN
 2043a14:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        
 2043a18:	7f ff e5 0c 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2043a1c:	f8 02 20 80 	ld  [ %o0 + 0x80 ], %i4                        <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2043a20:	7f ff 29 b9 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2043a24:	d0 07 00 00 	ld  [ %i4 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2043a28:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2043a2c:	12 80 00 1b 	bne  2043a98 <rtems_rfs_rtems_file_write+0x2c8><== NOT EXECUTED
 2043a30:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    pos = file_size;                                                  
    rc = rtems_rfs_file_seek (file, pos, &pos);                       
    if (rc)                                                           
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
      return rtems_rfs_rtems_error ("file-write: write append seek", rc);
 2043a34:	40 00 13 b5 	call  2048908 <__errno>                        <== NOT EXECUTED
 2043a38:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2043a3c:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
 2043a40:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2043a44:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  rtems_rfs_rtems_lock (rtems_rfs_file_fs (file));                    
                                                                      
  pos = iop->offset;                                                  
  file_size = rtems_rfs_file_size (file);                             
  if (pos > file_size)                                                
 2043a48:	08 bf ff 7f 	bleu  2043844 <rtems_rfs_rtems_file_write+0x74>
 2043a4c:	80 a0 80 09 	cmp  %g2, %o1                                  
 2043a50:	30 bf ff eb 	b,a   20439fc <rtems_rfs_rtems_file_write+0x22c>
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
      return rtems_rfs_rtems_error ("file-write: write extend", rc);  
    }                                                                 
                                                                      
    rtems_rfs_file_set_bpos (file, pos);                              
 2043a54:	d2 07 bf f8 	ld  [ %fp + -8 ], %o1                          
 2043a58:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
 2043a5c:	7f ff df 68 	call  203b7fc <rtems_rfs_block_get_bpos>       
 2043a60:	96 06 e0 10 	add  %i3, 0x10, %o3                            
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
      return rtems_rfs_rtems_error ("file-write: write append seek", rc);
    }                                                                 
  }                                                                   
                                                                      
  while (count)                                                       
 2043a64:	10 bf ff 7f 	b  2043860 <rtems_rfs_rtems_file_write+0x90>   
 2043a68:	b0 10 20 00 	clr  %i0                                       
    rtems_rfs_file_set_bpos (file, pos);                              
  }                                                                   
  else if (pos < file_size && (iop->flags & LIBIO_FLAGS_APPEND) != 0) 
  {                                                                   
    pos = file_size;                                                  
    rc = rtems_rfs_file_seek (file, pos, &pos);                       
 2043a6c:	90 10 00 1b 	mov  %i3, %o0                                  
 2043a70:	92 10 00 02 	mov  %g2, %o1                                  
 2043a74:	94 10 00 03 	mov  %g3, %o2                                  
 2043a78:	7f ff ed 7b 	call  203f064 <rtems_rfs_file_seek>            
 2043a7c:	96 07 bf f8 	add  %fp, -8, %o3                              
    if (rc)                                                           
 2043a80:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2043a84:	02 bf ff 77 	be  2043860 <rtems_rfs_rtems_file_write+0x90>  <== ALWAYS TAKEN
 2043a88:	b0 10 20 00 	clr  %i0                                       
    {                                                                 
      rtems_rfs_rtems_unlock (rtems_rfs_file_fs (file));              
 2043a8c:	c2 06 e0 1c 	ld  [ %i3 + 0x1c ], %g1                        <== NOT EXECUTED
 2043a90:	10 bf ff e2 	b  2043a18 <rtems_rfs_rtems_file_write+0x248>  <== NOT EXECUTED
 2043a94:	d0 00 60 98 	ld  [ %g1 + 0x98 ], %o0                        <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2043a98:	7f ff 8c fb 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2043a9c:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2043aa0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2043aa4:	02 bf ff e4 	be  2043a34 <rtems_rfs_rtems_file_write+0x264> <== NOT EXECUTED
 2043aa8:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2043aac:	7f ff 15 7d 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2043ab0:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2043ab4:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2043ab8:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2043abc:	40 00 25 d2 	call  204d204 <printf>                         <== NOT EXECUTED
 2043ac0:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2043ac4:	30 bf ff dc 	b,a   2043a34 <rtems_rfs_rtems_file_write+0x264><== NOT EXECUTED
                                                                      

02024c3c <rtems_rfs_rtems_fstat>: } int rtems_rfs_rtems_fstat (const rtems_filesystem_location_info_t* pathloc, struct stat* buf) {
 2024c3c:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2024c40:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_STAT))             
    printf ("rtems-rfs-rtems: stat: in: ino:%" PRId32 "\n", ino);     
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2024c44:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
                                                                      
int                                                                   
rtems_rfs_rtems_fstat (const rtems_filesystem_location_info_t* pathloc,
                       struct stat*                            buf)   
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2024c48:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           
  int                    rc;                                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_STAT))             
    printf ("rtems-rfs-rtems: stat: in: ino:%" PRId32 "\n", ino);     
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2024c4c:	94 07 bf d8 	add  %fp, -40, %o2                             
 2024c50:	90 10 00 1d 	mov  %i5, %o0                                  
 2024c54:	40 00 72 83 	call  2041660 <rtems_rfs_inode_open>           
 2024c58:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 2024c5c:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2024c60:	12 80 00 6f 	bne  2024e1c <rtems_rfs_rtems_fstat+0x1e0>     <== NEVER TAKEN
 2024c64:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
    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))           
 2024c68:	09 3f ff ec 	sethi  %hi(0xffffb000), %g4                    
 * @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);                    
 2024c6c:	c4 08 60 02 	ldub  [ %g1 + 2 ], %g2                         
 2024c70:	d0 08 60 03 	ldub  [ %g1 + 3 ], %o0                         
 2024c74:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2024c78:	07 00 00 08 	sethi  %hi(0x2000), %g3                        
 2024c7c:	88 08 80 04 	and  %g2, %g4, %g4                             
 2024c80:	80 a1 00 03 	cmp  %g4, %g3                                  
 2024c84:	02 80 00 4b 	be  2024db0 <rtems_rfs_rtems_fstat+0x174>      <== NEVER TAKEN
 2024c88:	84 10 80 08 	or  %g2, %o0, %g2                              
    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);                         
 2024c8c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
 2024c90:	91 28 a0 10 	sll  %g2, 0x10, %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);                         
 2024c94:	87 38 60 1f 	sra  %g1, 0x1f, %g3                            
 2024c98:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
 2024c9c:	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);                         
 2024ca0:	c6 26 40 00 	st  %g3, [ %i1 ]                               
  buf->st_ino     = rtems_rfs_inode_ino (&inode);                     
 2024ca4:	c2 26 60 08 	st  %g1, [ %i1 + 8 ]                           
  buf->st_mode    = rtems_rfs_rtems_mode (mode);                      
 2024ca8:	40 00 02 54 	call  20255f8 <rtems_rfs_rtems_mode>           
 2024cac:	91 32 20 10 	srl  %o0, 0x10, %o0                            
 */                                                                   
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);                  
 2024cb0:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 2024cb4:	d0 26 60 0c 	st  %o0, [ %i1 + 0xc ]                         
 2024cb8:	c6 08 60 01 	ldub  [ %g1 + 1 ], %g3                         
 2024cbc:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
  if (links == 0xffff)                                                
    links = 0;                                                        
 2024cc0:	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);                  
 2024cc4:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2024cc8:	84 10 80 03 	or  %g2, %g3, %g2                              
  if (links == 0xffff)                                                
 2024ccc:	87 28 a0 10 	sll  %g2, 0x10, %g3                            
 2024cd0:	87 30 e0 10 	srl  %g3, 0x10, %g3                            
    links = 0;                                                        
 2024cd4:	86 39 00 03 	xnor  %g4, %g3, %g3                            
 2024cd8:	80 a0 00 03 	cmp  %g0, %g3                                  
 2024cdc:	86 60 20 00 	subx  %g0, 0, %g3                              
 2024ce0:	84 08 80 03 	and  %g2, %g3, %g2                             
  buf->st_nlink   = rtems_rfs_inode_get_links (&inode);               
 2024ce4:	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;          
 2024ce8:	c4 08 60 06 	ldub  [ %g1 + 6 ], %g2                         
 2024cec:	c6 08 60 07 	ldub  [ %g1 + 7 ], %g3                         
 2024cf0:	85 28 a0 08 	sll  %g2, 8, %g2                               
 2024cf4:	84 10 80 03 	or  %g2, %g3, %g2                              
  buf->st_uid     = rtems_rfs_inode_get_uid (&inode);                 
 2024cf8:	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;  
 2024cfc:	c4 08 60 04 	ldub  [ %g1 + 4 ], %g2                         
 2024d00:	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));
 2024d04:	d2 07 bf e0 	ld  [ %fp + -32 ], %o1                         
 2024d08:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 2024d0c:	83 28 60 10 	sll  %g1, 0x10, %g1                            
 2024d10:	82 10 80 01 	or  %g2, %g1, %g1                              
 2024d14:	83 30 60 10 	srl  %g1, 0x10, %g1                            
 2024d18:	90 10 00 1d 	mov  %i5, %o0                                  
 2024d1c:	40 00 69 f1 	call  203f4e0 <rtems_rfs_file_get_shared>      
 2024d20:	c2 36 60 14 	sth  %g1, [ %i1 + 0x14 ]                       
                                                                      
  if (shared)                                                         
 2024d24:	92 92 20 00 	orcc  %o0, 0, %o1                              
 2024d28:	02 80 00 42 	be  2024e30 <rtems_rfs_rtems_fstat+0x1f4>      
 2024d2c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
    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); 
 2024d30:	c2 02 60 84 	ld  [ %o1 + 0x84 ], %g1                        
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
                                                                      
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
 2024d34:	f8 02 60 8c 	ld  [ %o1 + 0x8c ], %i4                        
    buf->st_mtime   = rtems_rfs_file_shared_get_mtime (shared);       
 2024d38:	c8 02 60 90 	ld  [ %o1 + 0x90 ], %g4                        
    buf->st_ctime   = rtems_rfs_file_shared_get_ctime (shared);       
 2024d3c:	c6 02 60 94 	ld  [ %o1 + 0x94 ], %g3                        
    buf->st_blocks  = rtems_rfs_file_shared_get_block_count (shared); 
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
 2024d40:	c4 06 60 0c 	ld  [ %i1 + 0xc ], %g2                         
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
    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); 
 2024d44:	c2 26 60 44 	st  %g1, [ %i1 + 0x44 ]                        
   */                                                                 
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
                                                                      
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
 2024d48:	f8 26 60 28 	st  %i4, [ %i1 + 0x28 ]                        
    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))                                       
 2024d4c:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
  shared = rtems_rfs_file_get_shared (fs, rtems_rfs_inode_ino (&inode));
                                                                      
  if (shared)                                                         
  {                                                                   
    buf->st_atime   = rtems_rfs_file_shared_get_atime (shared);       
    buf->st_mtime   = rtems_rfs_file_shared_get_mtime (shared);       
 2024d50:	c8 26 60 30 	st  %g4, [ %i1 + 0x30 ]                        
    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))                                       
 2024d54:	84 08 80 01 	and  %g2, %g1, %g2                             
 2024d58:	03 00 00 28 	sethi  %hi(0xa000), %g1                        
 2024d5c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2024d60:	02 80 00 2b 	be  2024e0c <rtems_rfs_rtems_fstat+0x1d0>      <== NEVER TAKEN
 2024d64:	c6 26 60 38 	st  %g3, [ %i1 + 0x38 ]                        
 */                                                                   
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);                
 2024d68:	90 10 00 1d 	mov  %i5, %o0                                  
 2024d6c:	40 00 5a d3 	call  203b8b8 <rtems_rfs_block_get_size>       
 2024d70:	92 02 60 84 	add  %o1, 0x84, %o1                            
      buf->st_size = rtems_rfs_file_shared_get_block_offset (shared); 
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
 2024d74:	d0 3e 60 20 	std  %o0, [ %i1 + 0x20 ]                       
      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);                     
 2024d78:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2024d7c:	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);                     
 2024d80:	c2 26 60 40 	st  %g1, [ %i1 + 0x40 ]                        
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2024d84:	92 07 bf d8 	add  %fp, -40, %o1                             
 2024d88:	40 00 72 ae 	call  2041840 <rtems_rfs_inode_close>          
 2024d8c:	b0 10 20 00 	clr  %i0                                       
  if (rc > 0)                                                         
 2024d90:	80 a2 20 00 	cmp  %o0, 0                                    
 2024d94:	04 80 00 05 	ble  2024da8 <rtems_rfs_rtems_fstat+0x16c>     <== ALWAYS TAKEN
 2024d98:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    return rtems_rfs_rtems_error ("stat: closing inode", rc);         
 2024d9c:	40 00 8e db 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024da0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2024da4:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2024da8:	81 c7 e0 08 	ret                                            
 2024dac:	81 e8 00 00 	restore                                        
 * @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]);      
 2024db0:	da 08 60 21 	ldub  [ %g1 + 0x21 ], %o5                      <== NOT EXECUTED
 2024db4:	c8 08 60 20 	ldub  [ %g1 + 0x20 ], %g4                      <== NOT EXECUTED
 2024db8:	de 08 60 23 	ldub  [ %g1 + 0x23 ], %o7                      <== NOT EXECUTED
 2024dbc:	f4 08 60 22 	ldub  [ %g1 + 0x22 ], %i2                      <== NOT EXECUTED
 2024dc0:	f6 08 60 1c 	ldub  [ %g1 + 0x1c ], %i3                      <== NOT EXECUTED
 2024dc4:	f0 08 60 1d 	ldub  [ %g1 + 0x1d ], %i0                      <== NOT EXECUTED
 2024dc8:	f8 08 60 1f 	ldub  [ %g1 + 0x1f ], %i4                      <== NOT EXECUTED
 2024dcc:	c6 08 60 1e 	ldub  [ %g1 + 0x1e ], %g3                      <== NOT EXECUTED
 2024dd0:	83 2b 60 10 	sll  %o5, 0x10, %g1                            <== NOT EXECUTED
 2024dd4:	89 29 20 18 	sll  %g4, 0x18, %g4                            <== NOT EXECUTED
 2024dd8:	b5 2e a0 08 	sll  %i2, 8, %i2                               <== NOT EXECUTED
 2024ddc:	88 11 00 01 	or  %g4, %g1, %g4                              <== NOT EXECUTED
 2024de0:	b7 2e e0 18 	sll  %i3, 0x18, %i3                            <== NOT EXECUTED
 2024de4:	88 11 00 0f 	or  %g4, %o7, %g4                              <== NOT EXECUTED
 2024de8:	83 2e 20 10 	sll  %i0, 0x10, %g1                            <== NOT EXECUTED
 2024dec:	88 11 00 1a 	or  %g4, %i2, %g4                              <== NOT EXECUTED
 2024df0:	82 16 c0 01 	or  %i3, %g1, %g1                              <== NOT EXECUTED
 2024df4:	87 28 e0 08 	sll  %g3, 8, %g3                               <== NOT EXECUTED
 2024df8:	82 10 40 1c 	or  %g1, %i4, %g1                              <== NOT EXECUTED
                                                                      
  mode = rtems_rfs_inode_get_mode (&inode);                           
                                                                      
  if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK (mode))           
  {                                                                   
    buf->st_rdev =                                                    
 2024dfc:	c8 26 60 1c 	st  %g4, [ %i1 + 0x1c ]                        <== NOT EXECUTED
 2024e00:	82 10 40 03 	or  %g1, %g3, %g1                              <== NOT EXECUTED
 2024e04:	10 bf ff a2 	b  2024c8c <rtems_rfs_rtems_fstat+0x50>        <== NOT EXECUTED
 2024e08:	c2 26 60 18 	st  %g1, [ %i1 + 0x18 ]                        <== 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))                                       
      buf->st_size = rtems_rfs_file_shared_get_block_offset (shared); 
 2024e0c:	c2 12 60 8a 	lduh  [ %o1 + 0x8a ], %g1                      <== NOT EXECUTED
 2024e10:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            <== NOT EXECUTED
 2024e14:	10 bf ff d9 	b  2024d78 <rtems_rfs_rtems_fstat+0x13c>       <== NOT EXECUTED
 2024e18:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        <== NOT EXECUTED
    printf ("rtems-rfs-rtems: stat: in: ino:%" PRId32 "\n", ino);     
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("stat: opening inode", rc);         
 2024e1c:	40 00 8e bb 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024e20:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2024e24:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2024e28:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024e2c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    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);       
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
 2024e30:	c6 06 60 0c 	ld  [ %i1 + 0xc ], %g3                         
 * @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);                   
 2024e34:	f8 08 60 13 	ldub  [ %g1 + 0x13 ], %i4                      
 2024e38:	c4 08 60 10 	ldub  [ %g1 + 0x10 ], %g2                      
 2024e3c:	f6 08 60 11 	ldub  [ %g1 + 0x11 ], %i3                      
 2024e40:	c8 08 60 12 	ldub  [ %g1 + 0x12 ], %g4                      
 2024e44:	b7 2e e0 10 	sll  %i3, 0x10, %i3                            
 2024e48:	89 29 20 08 	sll  %g4, 8, %g4                               
 2024e4c:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 2024e50:	84 10 80 1b 	or  %g2, %i3, %g2                              
 2024e54:	84 10 80 1c 	or  %g2, %i4, %g2                              
 2024e58:	84 10 80 04 	or  %g2, %g4, %g2                              
    else                                                              
      buf->st_size = rtems_rfs_file_shared_get_size (fs, shared);     
  }                                                                   
  else                                                                
  {                                                                   
    buf->st_atime   = rtems_rfs_inode_get_atime (&inode);             
 2024e5c:	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);                   
 2024e60:	f8 08 60 17 	ldub  [ %g1 + 0x17 ], %i4                      
 2024e64:	c4 08 60 14 	ldub  [ %g1 + 0x14 ], %g2                      
 2024e68:	f6 08 60 15 	ldub  [ %g1 + 0x15 ], %i3                      
 2024e6c:	c8 08 60 16 	ldub  [ %g1 + 0x16 ], %g4                      
 2024e70:	b7 2e e0 10 	sll  %i3, 0x10, %i3                            
 2024e74:	89 29 20 08 	sll  %g4, 8, %g4                               
 2024e78:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 2024e7c:	84 10 80 1b 	or  %g2, %i3, %g2                              
 2024e80:	84 10 80 1c 	or  %g2, %i4, %g2                              
 2024e84:	84 10 80 04 	or  %g2, %g4, %g2                              
    buf->st_mtime   = rtems_rfs_inode_get_mtime (&inode);             
 2024e88:	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);                   
 2024e8c:	f8 08 60 1b 	ldub  [ %g1 + 0x1b ], %i4                      
 2024e90:	c4 08 60 18 	ldub  [ %g1 + 0x18 ], %g2                      
 2024e94:	f6 08 60 19 	ldub  [ %g1 + 0x19 ], %i3                      
 2024e98:	c8 08 60 1a 	ldub  [ %g1 + 0x1a ], %g4                      
 2024e9c:	b7 2e e0 10 	sll  %i3, 0x10, %i3                            
 2024ea0:	89 29 20 08 	sll  %g4, 8, %g4                               
 2024ea4:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 2024ea8:	84 10 80 1b 	or  %g2, %i3, %g2                              
 2024eac:	84 10 80 1c 	or  %g2, %i4, %g2                              
 2024eb0:	84 10 80 04 	or  %g2, %g4, %g2                              
    buf->st_ctime   = rtems_rfs_inode_get_ctime (&inode);             
 2024eb4:	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);             
 2024eb8:	c4 08 60 0c 	ldub  [ %g1 + 0xc ], %g2                       
 2024ebc:	f6 08 60 0d 	ldub  [ %g1 + 0xd ], %i3                       
 2024ec0:	f8 08 60 0f 	ldub  [ %g1 + 0xf ], %i4                       
 2024ec4:	c8 08 60 0e 	ldub  [ %g1 + 0xe ], %g4                       
 2024ec8:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 2024ecc:	b7 2e e0 10 	sll  %i3, 0x10, %i3                            
 2024ed0:	89 29 20 08 	sll  %g4, 8, %g4                               
 2024ed4:	84 10 80 1b 	or  %g2, %i3, %g2                              
 2024ed8:	84 10 80 1c 	or  %g2, %i4, %g2                              
 2024edc:	84 10 80 04 	or  %g2, %g4, %g2                              
    buf->st_blocks  = rtems_rfs_inode_get_block_count (&inode);       
 2024ee0:	c4 26 60 44 	st  %g2, [ %i1 + 0x44 ]                        
                                                                      
    if (S_ISLNK (buf->st_mode))                                       
 2024ee4:	05 00 00 3c 	sethi  %hi(0xf000), %g2                        
 2024ee8:	86 08 c0 02 	and  %g3, %g2, %g3                             
 2024eec:	05 00 00 28 	sethi  %hi(0xa000), %g2                        
 2024ef0:	80 a0 c0 02 	cmp  %g3, %g2                                  
 2024ef4:	12 80 00 09 	bne  2024f18 <rtems_rfs_rtems_fstat+0x2dc>     
 2024ef8:	90 10 00 1d 	mov  %i5, %o0                                  
      buf->st_size = rtems_rfs_inode_get_block_offset (&inode);       
 2024efc:	c4 08 60 0b 	ldub  [ %g1 + 0xb ], %g2                       
 * @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);            
 2024f00:	c6 08 60 0a 	ldub  [ %g1 + 0xa ], %g3                       
 2024f04:	c0 26 60 20 	clr  [ %i1 + 0x20 ]                            
 2024f08:	83 28 e0 08 	sll  %g3, 8, %g1                               
 2024f0c:	82 10 80 01 	or  %g2, %g1, %g1                              
 2024f10:	10 bf ff 9a 	b  2024d78 <rtems_rfs_rtems_fstat+0x13c>       
 2024f14:	c2 26 60 24 	st  %g1, [ %i1 + 0x24 ]                        
    else                                                              
      buf->st_size = rtems_rfs_inode_get_size (fs, &inode);           
 2024f18:	40 00 74 04 	call  2041f28 <rtems_rfs_inode_get_size>       
 2024f1c:	92 07 bf d8 	add  %fp, -40, %o1                             
 2024f20:	10 bf ff 96 	b  2024d78 <rtems_rfs_rtems_fstat+0x13c>       
 2024f24:	d0 3e 60 20 	std  %o0, [ %i1 + 0x20 ]                       
                                                                      

020251f8 <rtems_rfs_rtems_initialise>: */ int rtems_rfs_rtems_initialise (rtems_filesystem_mount_table_entry_t* mt_entry, const void* data) {
 20251f8:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int                      rc;                                        
                                                                      
  /*                                                                  
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
 20251fc:	a2 10 20 05 	mov  5, %l1                                    
 2025200:	80 a6 60 00 	cmp  %i1, 0                                    
 2025204:	02 80 00 1f 	be  2025280 <rtems_rfs_rtems_initialise+0x88>  <== ALWAYS TAKEN
 2025208:	ba 10 20 00 	clr  %i5                                       
  {                                                                   
    printf ("options=%s\n", options);                                 
 202520c:	37 00 81 a4 	sethi  %hi(0x2069000), %i3                     <== NOT EXECUTED
    if (strncmp (options, "hold-bitmaps",                             
 2025210:	39 00 81 a4 	sethi  %hi(0x2069000), %i4                     <== NOT EXECUTED
                 sizeof ("hold-bitmaps") - 1) == 0)                   
      flags |= RTEMS_RFS_FS_BITMAPS_HOLD;                             
    else if (strncmp (options, "no-local-cache",                      
 2025214:	35 00 81 a4 	sethi  %hi(0x2069000), %i2                     <== NOT EXECUTED
                      sizeof ("no-local-cache") - 1) == 0)            
      flags |= RTEMS_RFS_FS_NO_LOCAL_CACHE;                           
    else if (strncmp (options, "max-held-bufs",                       
 2025218:	21 00 81 a4 	sethi  %hi(0x2069000), %l0                     <== NOT EXECUTED
  /*                                                                  
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
  {                                                                   
    printf ("options=%s\n", options);                                 
 202521c:	b6 16 e0 f0 	or  %i3, 0xf0, %i3                             <== NOT EXECUTED
    if (strncmp (options, "hold-bitmaps",                             
 2025220:	b8 17 21 00 	or  %i4, 0x100, %i4                            <== NOT EXECUTED
                 sizeof ("hold-bitmaps") - 1) == 0)                   
      flags |= RTEMS_RFS_FS_BITMAPS_HOLD;                             
    else if (strncmp (options, "no-local-cache",                      
 2025224:	b4 16 a1 10 	or  %i2, 0x110, %i2                            <== NOT EXECUTED
                      sizeof ("no-local-cache") - 1) == 0)            
      flags |= RTEMS_RFS_FS_NO_LOCAL_CACHE;                           
    else if (strncmp (options, "max-held-bufs",                       
 2025228:	a0 14 21 20 	or  %l0, 0x120, %l0                            <== NOT EXECUTED
  /*                                                                  
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
  {                                                                   
    printf ("options=%s\n", options);                                 
 202522c:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 2025230:	40 00 9f f5 	call  204d204 <printf>                         <== NOT EXECUTED
 2025234:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    if (strncmp (options, "hold-bitmaps",                             
 2025238:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 202523c:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2025240:	40 00 a9 d7 	call  204f99c <strncmp>                        <== NOT EXECUTED
 2025244:	94 10 20 0c 	mov  0xc, %o2                                  <== NOT EXECUTED
 2025248:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 202524c:	12 80 00 1e 	bne  20252c4 <rtems_rfs_rtems_initialise+0xcc> <== NOT EXECUTED
 2025250:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
                 sizeof ("hold-bitmaps") - 1) == 0)                   
      flags |= RTEMS_RFS_FS_BITMAPS_HOLD;                             
 2025254:	ba 17 60 01 	or  %i5, 1, %i5                                <== NOT EXECUTED
      max_held_buffers = strtoul (options + sizeof ("max-held-bufs"), 0, 0);
    }                                                                 
    else                                                              
      return rtems_rfs_rtems_error ("initialise: invalid option", EINVAL);
                                                                      
    options = strchr (options, ',');                                  
 2025258:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 202525c:	40 00 a7 00 	call  204ee5c <strchr>                         <== NOT EXECUTED
 2025260:	92 10 20 2c 	mov  0x2c, %o1                                 <== NOT EXECUTED
    if (options)                                                      
 2025264:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2025268:	02 80 00 06 	be  2025280 <rtems_rfs_rtems_initialise+0x88>  <== NOT EXECUTED
 202526c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    {                                                                 
      ++options;                                                      
      if (*options == '\0')                                           
 2025270:	c2 4a 20 01 	ldsb  [ %o0 + 1 ], %g1                         <== NOT EXECUTED
 2025274:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2025278:	12 80 00 1b 	bne  20252e4 <rtems_rfs_rtems_initialise+0xec> <== NOT EXECUTED
 202527c:	b2 82 20 01 	addcc  %o0, 1, %i1                             <== NOT EXECUTED
        options = NULL;                                               
    }                                                                 
  }                                                                   
                                                                      
  rtems = malloc (sizeof (rtems_rfs_rtems_private));                  
 2025280:	7f ff 91 8d 	call  20098b4 <malloc>                         
 2025284:	90 10 20 04 	mov  4, %o0                                    
  if (!rtems)                                                         
 2025288:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 202528c:	02 80 00 75 	be  2025460 <rtems_rfs_rtems_initialise+0x268> <== NEVER TAKEN
 2025290:	01 00 00 00 	nop                                            
    return rtems_rfs_rtems_error ("initialise: local data", ENOMEM);  
                                                                      
  memset (rtems, 0, sizeof (rtems_rfs_rtems_private));                
                                                                      
  rc = rtems_rfs_mutex_create (&rtems->access);                       
 2025294:	40 00 75 ca 	call  20429bc <rtems_rfs_mutex_create>         
 2025298:	c0 27 00 00 	clr  [ %i4 ]                                   
  if (rc > 0)                                                         
 202529c:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 20252a0:	24 80 00 1f 	ble,a   202531c <rtems_rfs_rtems_initialise+0x124><== ALWAYS TAKEN
 20252a4:	d0 07 00 00 	ld  [ %i4 ], %o0                               
  {                                                                   
    free (rtems);                                                     
 20252a8:	7f ff 90 19 	call  200930c <free>                           <== NOT EXECUTED
 20252ac:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: cannot create mutex", rc);
 20252b0:	40 00 8d 96 	call  2048908 <__errno>                        <== NOT EXECUTED
 20252b4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20252b8:	f6 22 00 00 	st  %i3, [ %o0 ]                               <== NOT EXECUTED
 20252bc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20252c0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
    printf ("options=%s\n", options);                                 
    if (strncmp (options, "hold-bitmaps",                             
                 sizeof ("hold-bitmaps") - 1) == 0)                   
      flags |= RTEMS_RFS_FS_BITMAPS_HOLD;                             
    else if (strncmp (options, "no-local-cache",                      
 20252c4:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 20252c8:	40 00 a9 b5 	call  204f99c <strncmp>                        <== NOT EXECUTED
 20252cc:	94 10 20 0e 	mov  0xe, %o2                                  <== NOT EXECUTED
 20252d0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20252d4:	12 80 00 07 	bne  20252f0 <rtems_rfs_rtems_initialise+0xf8> <== NOT EXECUTED
 20252d8:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
                      sizeof ("no-local-cache") - 1) == 0)            
      flags |= RTEMS_RFS_FS_NO_LOCAL_CACHE;                           
 20252dc:	10 bf ff df 	b  2025258 <rtems_rfs_rtems_initialise+0x60>   <== NOT EXECUTED
 20252e0:	ba 17 60 02 	or  %i5, 2, %i5                                <== NOT EXECUTED
  int                      rc;                                        
                                                                      
  /*                                                                  
   * Parse the options the user specifiies.                           
   */                                                                 
  while (options)                                                     
 20252e4:	12 bf ff d3 	bne  2025230 <rtems_rfs_rtems_initialise+0x38> <== NOT EXECUTED
 20252e8:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 20252ec:	30 bf ff e5 	b,a   2025280 <rtems_rfs_rtems_initialise+0x88><== NOT EXECUTED
                 sizeof ("hold-bitmaps") - 1) == 0)                   
      flags |= RTEMS_RFS_FS_BITMAPS_HOLD;                             
    else if (strncmp (options, "no-local-cache",                      
                      sizeof ("no-local-cache") - 1) == 0)            
      flags |= RTEMS_RFS_FS_NO_LOCAL_CACHE;                           
    else if (strncmp (options, "max-held-bufs",                       
 20252f0:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 20252f4:	40 00 a9 aa 	call  204f99c <strncmp>                        <== NOT EXECUTED
 20252f8:	94 10 20 0d 	mov  0xd, %o2                                  <== NOT EXECUTED
 20252fc:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2025300:	12 80 00 2c 	bne  20253b0 <rtems_rfs_rtems_initialise+0x1b8><== NOT EXECUTED
 2025304:	90 06 60 0e 	add  %i1, 0xe, %o0                             <== NOT EXECUTED
                      sizeof ("max-held-bufs") - 1) == 0)             
    {                                                                 
      max_held_buffers = strtoul (options + sizeof ("max-held-bufs"), 0, 0);
 2025308:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 202530c:	40 00 af 93 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2025310:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2025314:	10 bf ff d1 	b  2025258 <rtems_rfs_rtems_initialise+0x60>   <== NOT EXECUTED
 2025318:	a2 10 00 08 	mov  %o0, %l1                                  <== 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);
 202531c:	92 10 20 00 	clr  %o1                                       
 2025320:	7f ff a3 29 	call  200dfc4 <rtems_semaphore_obtain>         
 2025324:	94 10 20 00 	clr  %o2                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025328:	b6 92 20 00 	orcc  %o0, 0, %i3                              
 202532c:	12 80 00 11 	bne  2025370 <rtems_rfs_rtems_initialise+0x178><== NEVER TAKEN
 2025330:	94 10 00 1d 	mov  %i5, %o2                                  
    rtems_rfs_mutex_destroy (&rtems->access);                         
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: cannot lock access  mutex", rc);
  }                                                                   
                                                                      
  rc = rtems_rfs_fs_open (mt_entry->dev, rtems, flags, max_held_buffers, &fs);
 2025334:	d0 06 20 38 	ld  [ %i0 + 0x38 ], %o0                        
 2025338:	92 10 00 1c 	mov  %i4, %o1                                  
 202533c:	96 10 00 11 	mov  %l1, %o3                                  
 2025340:	40 00 68 8d 	call  203f574 <rtems_rfs_fs_open>              
 2025344:	98 07 bf fc 	add  %fp, -4, %o4                              
  if (rc)                                                             
 2025348:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 202534c:	02 80 00 1f 	be  20253c8 <rtems_rfs_rtems_initialise+0x1d0> <== ALWAYS TAKEN
 2025350:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
  {                                                                   
    free (rtems);                                                     
 2025354:	7f ff 8f ee 	call  200930c <free>                           <== NOT EXECUTED
 2025358:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: open", rc);            
 202535c:	40 00 8d 6b 	call  2048908 <__errno>                        <== NOT EXECUTED
 2025360:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2025364:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
 2025368:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202536c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025370:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2025374:	40 00 06 c4 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025378:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 202537c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2025380:	12 80 00 25 	bne  2025414 <rtems_rfs_rtems_initialise+0x21c><== NOT EXECUTED
 2025384:	01 00 00 00 	nop                                            <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_mutex_lock (&rtems->access);                         
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_mutex_destroy (&rtems->access);                         
 2025388:	40 00 75 a8 	call  2042a28 <rtems_rfs_mutex_destroy>        <== NOT EXECUTED
 202538c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    free (rtems);                                                     
 2025390:	7f ff 8f df 	call  200930c <free>                           <== NOT EXECUTED
 2025394:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: cannot lock access  mutex", rc);
 2025398:	40 00 8d 5c 	call  2048908 <__errno>                        <== NOT EXECUTED
 202539c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20253a0:	82 10 20 05 	mov  5, %g1                                    <== NOT EXECUTED
 20253a4:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
  mt_entry->mt_fs_root->location.handlers    = &rtems_rfs_rtems_dir_handlers;
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
}                                                                     
 20253a8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20253ac:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                      sizeof ("max-held-bufs") - 1) == 0)             
    {                                                                 
      max_held_buffers = strtoul (options + sizeof ("max-held-bufs"), 0, 0);
    }                                                                 
    else                                                              
      return rtems_rfs_rtems_error ("initialise: invalid option", EINVAL);
 20253b0:	40 00 8d 56 	call  2048908 <__errno>                        <== NOT EXECUTED
 20253b4:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20253b8:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 20253bc:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 20253c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20253c4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info                          = fs;                    
  mt_entry->ops                              = &rtems_rfs_ops;        
  mt_entry->mt_fs_root->location.node_access = (void*) RTEMS_RFS_ROOT_INO;
 20253c8:	c2 06 20 24 	ld  [ %i0 + 0x24 ], %g1                        
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info                          = fs;                    
  mt_entry->ops                              = &rtems_rfs_ops;        
 20253cc:	05 00 81 a4 	sethi  %hi(0x2069000), %g2                     
 20253d0:	84 10 a1 58 	or  %g2, 0x158, %g2	! 2069158 <rtems_rfs_ops>  
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 20253d4:	fa 02 20 80 	ld  [ %o0 + 0x80 ], %i5                        
  {                                                                   
    free (rtems);                                                     
    return rtems_rfs_rtems_error ("initialise: open", rc);            
  }                                                                   
                                                                      
  mt_entry->fs_info                          = fs;                    
 20253d8:	d0 26 20 08 	st  %o0, [ %i0 + 8 ]                           
  mt_entry->ops                              = &rtems_rfs_ops;        
 20253dc:	c4 26 20 0c 	st  %g2, [ %i0 + 0xc ]                         
  mt_entry->mt_fs_root->location.node_access = (void*) RTEMS_RFS_ROOT_INO;
 20253e0:	84 10 20 01 	mov  1, %g2                                    
 20253e4:	c4 20 60 08 	st  %g2, [ %g1 + 8 ]                           
  mt_entry->mt_fs_root->location.handlers    = &rtems_rfs_rtems_dir_handlers;
 20253e8:	05 00 81 be 	sethi  %hi(0x206f800), %g2                     
 20253ec:	84 10 a2 60 	or  %g2, 0x260, %g2	! 206fa60 <rtems_rfs_rtems_dir_handlers>
  rtems_rfs_buffers_release (fs);                                     
 20253f0:	40 00 5e 96 	call  203ce48 <rtems_rfs_buffers_release>      
 20253f4:	c4 20 60 10 	st  %g2, [ %g1 + 0x10 ]                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 20253f8:	7f ff a3 43 	call  200e104 <rtems_semaphore_release>        
 20253fc:	d0 07 40 00 	ld  [ %i5 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025400:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2025404:	12 80 00 0b 	bne  2025430 <rtems_rfs_rtems_initialise+0x238><== NEVER TAKEN
 2025408:	90 10 20 00 	clr  %o0                                       
                                                                      
  rtems_rfs_rtems_unlock (fs);                                        
                                                                      
  return 0;                                                           
 202540c:	81 c7 e0 08 	ret                                            
 2025410:	91 e8 20 00 	restore  %g0, 0, %o0                           
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2025414:	7f ff 8f 23 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2025418:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 202541c:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025420:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025424:	40 00 9f 78 	call  204d204 <printf>                         <== NOT EXECUTED
 2025428:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
 202542c:	30 bf ff d7 	b,a   2025388 <rtems_rfs_rtems_initialise+0x190><== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025430:	40 00 06 95 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025434:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2025438:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 202543c:	02 bf ff f4 	be  202540c <rtems_rfs_rtems_initialise+0x214> <== NOT EXECUTED
 2025440:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2025444:	7f ff 8f 17 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2025448:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 202544c:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025450:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025454:	40 00 9f 6c 	call  204d204 <printf>                         <== NOT EXECUTED
 2025458:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 202545c:	30 bf ff ec 	b,a   202540c <rtems_rfs_rtems_initialise+0x214><== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  rtems = malloc (sizeof (rtems_rfs_rtems_private));                  
  if (!rtems)                                                         
    return rtems_rfs_rtems_error ("initialise: local data", ENOMEM);  
 2025460:	40 00 8d 2a 	call  2048908 <__errno>                        <== NOT EXECUTED
 2025464:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2025468:	82 10 20 0c 	mov  0xc, %g1                                  <== NOT EXECUTED
 202546c:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2025470:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025474:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02024584 <rtems_rfs_rtems_link>: static int rtems_rfs_rtems_link (const rtems_filesystem_location_info_t *parentloc, const rtems_filesystem_location_info_t *targetloc, const char *name, size_t namelen) {
 2024584:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (targetloc);
 2024588:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_LINK))             
    printf ("rtems-rfs-rtems: link: in: parent:%" PRId32 " target:%" PRId32 "\n",
            parent, target);                                          
                                                                      
  rc = rtems_rfs_link (fs, name, namelen, parent, target, false);     
 202458c:	d6 06 20 08 	ld  [ %i0 + 8 ], %o3                           
 2024590:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2024594:	d8 06 60 08 	ld  [ %i1 + 8 ], %o4                           
 2024598:	92 10 00 1a 	mov  %i2, %o1                                  
 202459c:	94 10 00 1b 	mov  %i3, %o2                                  
 20245a0:	9a 10 20 00 	clr  %o5                                       
 20245a4:	40 00 76 79 	call  2041f88 <rtems_rfs_link>                 
 20245a8:	b0 10 20 00 	clr  %i0                                       
  if (rc)                                                             
 20245ac:	80 a2 20 00 	cmp  %o0, 0                                    
 20245b0:	02 80 00 05 	be  20245c4 <rtems_rfs_rtems_link+0x40>        <== ALWAYS TAKEN
 20245b4:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    return rtems_rfs_rtems_error ("link: linking", rc);               
 20245b8:	40 00 90 d4 	call  2048908 <__errno>                        <== NOT EXECUTED
 20245bc:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20245c0:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
	}                                                                    
                                                                      
                                                                      
	return 0;                                                            
}                                                                     
 20245c4:	81 c7 e0 08 	ret                                            
 20245c8:	81 e8 00 00 	restore                                        
                                                                      

02025478 <rtems_rfs_rtems_lock_by_mt_entry>: static void rtems_rfs_rtems_lock_by_mt_entry ( const rtems_filesystem_mount_table_entry_t *mt_entry ) {
 2025478:	9d e3 bf a0 	save  %sp, -96, %sp                            
 * Lock the RFS file system.                                          
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_lock (rtems_rfs_file_system* fs)                     
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 202547c:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_lock (rtems_rfs_mutex* mutex)                         
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
 2025480:	92 10 20 00 	clr  %o1                                       
  /* FIXME: Return value? */                                          
  rtems_rfs_fs_close(fs);                                             
                                                                      
  rtems_rfs_mutex_destroy (&rtems->access);                           
  free (rtems);                                                       
}                                                                     
 2025484:	c2 00 60 80 	ld  [ %g1 + 0x80 ], %g1                        
 2025488:	94 10 20 00 	clr  %o2                                       
 202548c:	7f ff a2 ce 	call  200dfc4 <rtems_semaphore_obtain>         
 2025490:	d0 00 40 00 	ld  [ %g1 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025494:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2025498:	12 80 00 04 	bne  20254a8 <rtems_rfs_rtems_lock_by_mt_entry+0x30><== NEVER TAKEN
 202549c:	90 10 20 00 	clr  %o0                                       
 20254a0:	81 c7 e0 08 	ret                                            
 20254a4:	81 e8 00 00 	restore                                        
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20254a8:	40 00 06 77 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20254ac:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20254b0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20254b4:	02 bf ff fb 	be  20254a0 <rtems_rfs_rtems_lock_by_mt_entry+0x28><== NOT EXECUTED
 20254b8:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 20254bc:	7f ff 8e f9 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20254c0:	31 00 81 a4 	sethi  %hi(0x2069000), %i0                     <== NOT EXECUTED
 20254c4:	b0 16 21 30 	or  %i0, 0x130, %i0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
 20254c8:	40 00 9f 4f 	call  204d204 <printf>                         <== NOT EXECUTED
 20254cc:	93 e8 00 08 	restore  %g0, %o0, %o1                         <== NOT EXECUTED
                                                                      

02024a14 <rtems_rfs_rtems_mknod>: rtems_rfs_rtems_mknod (const rtems_filesystem_location_info_t *parentloc, const char *name, size_t namelen, mode_t mode, dev_t dev) {
 2024a14:	9d e3 bf 60 	save  %sp, -160, %sp                           
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (parentloc);
 2024a18:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
  rtems_rfs_ino           parent = rtems_rfs_rtems_get_pathloc_ino (parentloc);
 2024a1c:	e0 06 20 08 	ld  [ %i0 + 8 ], %l0                           
  uid_t                   uid;                                        
  gid_t                   gid;                                        
  int                     rc;                                         
                                                                      
#if defined(RTEMS_POSIX_API)                                          
  uid = geteuid ();                                                   
 2024a20:	40 00 1c 97 	call  202bc7c <geteuid>                        
 2024a24:	f0 00 60 08 	ld  [ %g1 + 8 ], %i0                           
  gid = getegid ();                                                   
 2024a28:	40 00 1c 91 	call  202bc6c <getegid>                        
 2024a2c:	a2 10 00 08 	mov  %o0, %l1                                  
 2024a30:	a4 10 00 08 	mov  %o0, %l2                                  
#else                                                                 
  uid = 0;                                                            
  gid = 0;                                                            
#endif                                                                
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, namelen,             
 2024a34:	40 00 02 ee 	call  20255ec <rtems_rfs_rtems_imode>          
 2024a38:	90 10 00 1b 	mov  %i3, %o0                                  
 2024a3c:	82 07 bf d4 	add  %fp, -44, %g1                             
 2024a40:	99 2a 20 10 	sll  %o0, 0x10, %o4                            
 2024a44:	96 10 00 1a 	mov  %i2, %o3                                  
 2024a48:	a3 2c 60 10 	sll  %l1, 0x10, %l1                            
 2024a4c:	a5 2c a0 10 	sll  %l2, 0x10, %l2                            
 2024a50:	a3 34 60 10 	srl  %l1, 0x10, %l1                            
 2024a54:	a5 34 a0 10 	srl  %l2, 0x10, %l2                            
 2024a58:	e2 23 a0 5c 	st  %l1, [ %sp + 0x5c ]                        
 2024a5c:	e4 23 a0 60 	st  %l2, [ %sp + 0x60 ]                        
 2024a60:	90 10 00 18 	mov  %i0, %o0                                  
 2024a64:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 2024a68:	92 10 00 10 	mov  %l0, %o1                                  
 2024a6c:	94 10 00 19 	mov  %i1, %o2                                  
 2024a70:	99 33 20 10 	srl  %o4, 0x10, %o4                            
 2024a74:	40 00 74 4d 	call  2041ba8 <rtems_rfs_inode_create>         
 2024a78:	9a 10 20 01 	mov  1, %o5                                    
                               rtems_rfs_rtems_imode (mode),          
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
 2024a7c:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2024a80:	04 80 00 07 	ble  2024a9c <rtems_rfs_rtems_mknod+0x88>      
 2024a84:	d2 07 bf d4 	ld  [ %fp + -44 ], %o1                         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
  if (rc > 0)                                                         
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: inode open", rc);           
 2024a88:	40 00 8f a0 	call  2048908 <__errno>                        
 2024a8c:	b0 10 3f ff 	mov  -1, %i0                                   
 2024a90:	f4 22 00 00 	st  %i2, [ %o0 ]                               
 2024a94:	81 c7 e0 08 	ret                                            
 2024a98:	81 e8 00 00 	restore                                        
  if (rc > 0)                                                         
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: inode create", rc);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2024a9c:	90 10 00 18 	mov  %i0, %o0                                  
 2024aa0:	94 07 bf d8 	add  %fp, -40, %o2                             
 2024aa4:	40 00 72 ef 	call  2041660 <rtems_rfs_inode_open>           
 2024aa8:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 2024aac:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2024ab0:	14 bf ff f6 	bg  2024a88 <rtems_rfs_rtems_mknod+0x74>       <== NEVER TAKEN
 2024ab4:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: inode open", rc);           
  }                                                                   
                                                                      
  if (S_ISDIR(mode) || S_ISREG(mode))                                 
 2024ab8:	05 00 00 20 	sethi  %hi(0x8000), %g2                        
 2024abc:	82 0e c0 01 	and  %i3, %g1, %g1                             
 2024ac0:	80 a0 40 02 	cmp  %g1, %g2                                  
 2024ac4:	02 80 00 1a 	be  2024b2c <rtems_rfs_rtems_mknod+0x118>      
 2024ac8:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 2024acc:	80 a0 40 02 	cmp  %g1, %g2                                  
 2024ad0:	02 80 00 17 	be  2024b2c <rtems_rfs_rtems_mknod+0x118>      <== ALWAYS TAKEN
 2024ad4:	03 00 00 2c 	sethi  %hi(0xb000), %g1                        
  {                                                                   
  }                                                                   
  else if (S_ISCHR (mode) || S_ISBLK (mode))                          
 2024ad8:	b6 0e c0 01 	and  %i3, %g1, %i3                             <== NOT EXECUTED
 2024adc:	03 00 00 08 	sethi  %hi(0x2000), %g1                        <== NOT EXECUTED
 2024ae0:	80 a6 c0 01 	cmp  %i3, %g1                                  <== NOT EXECUTED
 2024ae4:	12 80 00 1e 	bne  2024b5c <rtems_rfs_rtems_mknod+0x148>     <== NOT EXECUTED
 2024ae8:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
 * @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);       
 2024aec:	b3 37 20 18 	srl  %i4, 0x18, %i1                            <== NOT EXECUTED
 2024af0:	b5 37 20 10 	srl  %i4, 0x10, %i2                            <== NOT EXECUTED
 2024af4:	b7 37 20 08 	srl  %i4, 8, %i3                               <== NOT EXECUTED
 2024af8:	89 37 60 18 	srl  %i5, 0x18, %g4                            <== NOT EXECUTED
 2024afc:	87 37 60 10 	srl  %i5, 0x10, %g3                            <== NOT EXECUTED
 2024b00:	85 37 60 08 	srl  %i5, 8, %g2                               <== NOT EXECUTED
 2024b04:	f8 28 60 1f 	stb  %i4, [ %g1 + 0x1f ]                       <== NOT EXECUTED
 2024b08:	f2 28 60 1c 	stb  %i1, [ %g1 + 0x1c ]                       <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2024b0c:	b8 10 20 01 	mov  1, %i4                                    <== NOT EXECUTED
 * @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);       
 2024b10:	f4 28 60 1d 	stb  %i2, [ %g1 + 0x1d ]                       <== NOT EXECUTED
 2024b14:	f6 28 60 1e 	stb  %i3, [ %g1 + 0x1e ]                       <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2024b18:	f8 2f bf e8 	stb  %i4, [ %fp + -24 ]                        <== NOT EXECUTED
 * @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);       
 2024b1c:	c8 28 60 20 	stb  %g4, [ %g1 + 0x20 ]                       <== NOT EXECUTED
 2024b20:	c6 28 60 21 	stb  %g3, [ %g1 + 0x21 ]                       <== NOT EXECUTED
 2024b24:	c4 28 60 22 	stb  %g2, [ %g1 + 0x22 ]                       <== NOT EXECUTED
 2024b28:	fa 28 60 23 	stb  %i5, [ %g1 + 0x23 ]                       <== NOT EXECUTED
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2024b2c:	90 10 00 18 	mov  %i0, %o0                                  
 2024b30:	92 07 bf d8 	add  %fp, -40, %o1                             
 2024b34:	40 00 73 43 	call  2041840 <rtems_rfs_inode_close>          
 2024b38:	b0 10 20 00 	clr  %i0                                       
  if (rc > 0)                                                         
 2024b3c:	80 a2 20 00 	cmp  %o0, 0                                    
 2024b40:	04 bf ff d5 	ble  2024a94 <rtems_rfs_rtems_mknod+0x80>      <== ALWAYS TAKEN
 2024b44:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    return rtems_rfs_rtems_error ("mknod: closing inode", rc);        
 2024b48:	40 00 8f 70 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024b4c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2024b50:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2024b54:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024b58:	81 e8 00 00 	restore                                        <== 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);                               
 2024b5c:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 2024b60:	40 00 73 38 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2024b64:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    return rtems_rfs_rtems_error ("mknod: bad mode", EINVAL);         
 2024b68:	40 00 8f 68 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024b6c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2024b70:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 2024b74:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 2024b78:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024b7c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

020249a8 <rtems_rfs_rtems_node_type>: * @return rtems_filesystem_node_types_t */ static rtems_filesystem_node_types_t rtems_rfs_rtems_node_type (const rtems_filesystem_location_info_t* pathloc) {
 20249a8:	9d e3 bf 78 	save  %sp, -136, %sp                           
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
 20249ac:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  rtems_filesystem_node_types_t type;                                 
  rtems_rfs_inode_handle        inode;                                
  int                           rc;                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 20249b0:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
 */                                                                   
                                                                      
static rtems_filesystem_node_types_t                                  
rtems_rfs_rtems_node_type (const rtems_filesystem_location_info_t* pathloc)
{                                                                     
  rtems_rfs_file_system*        fs = rtems_rfs_rtems_pathloc_dev (pathloc);
 20249b4:	f8 00 60 08 	ld  [ %g1 + 8 ], %i4                           
  rtems_rfs_ino                 ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  rtems_filesystem_node_types_t type;                                 
  rtems_rfs_inode_handle        inode;                                
  int                           rc;                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 20249b8:	94 07 bf d8 	add  %fp, -40, %o2                             
 20249bc:	90 10 00 1c 	mov  %i4, %o0                                  
 20249c0:	40 00 73 28 	call  2041660 <rtems_rfs_inode_open>           
 20249c4:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 20249c8:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20249cc:	04 80 00 07 	ble  20249e8 <rtems_rfs_rtems_node_type+0x40>  <== ALWAYS TAKEN
 20249d0:	01 00 00 00 	nop                                            
  type = rtems_rfs_rtems_node_type_by_inode (&inode);                 
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
  if (rc > 0)                                                         
  {                                                                   
    return rtems_rfs_rtems_error ("node_type: closing inode", rc);    
 20249d4:	40 00 8f cd 	call  2048908 <__errno>                        <== NOT EXECUTED
 20249d8:	b0 10 3f ff 	mov  -1, %i0	! ffffffff <RAM_END+0xfdbfffff>   <== NOT EXECUTED
 20249dc:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
 20249e0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20249e4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  if (rc > 0)                                                         
  {                                                                   
    return rtems_rfs_rtems_error ("node_type: opening inode", rc);    
  }                                                                   
                                                                      
  type = rtems_rfs_rtems_node_type_by_inode (&inode);                 
 20249e8:	7f ff fe a1 	call  202446c <rtems_rfs_rtems_node_type_by_inode>
 20249ec:	90 07 bf d8 	add  %fp, -40, %o0                             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 20249f0:	92 07 bf d8 	add  %fp, -40, %o1                             
  if (rc > 0)                                                         
  {                                                                   
    return rtems_rfs_rtems_error ("node_type: opening inode", rc);    
  }                                                                   
                                                                      
  type = rtems_rfs_rtems_node_type_by_inode (&inode);                 
 20249f4:	b0 10 00 08 	mov  %o0, %i0                                  
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 20249f8:	40 00 73 92 	call  2041840 <rtems_rfs_inode_close>          
 20249fc:	90 10 00 1c 	mov  %i4, %o0                                  
  if (rc > 0)                                                         
 2024a00:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2024a04:	14 bf ff f4 	bg  20249d4 <rtems_rfs_rtems_node_type+0x2c>   <== NEVER TAKEN
 2024a08:	01 00 00 00 	nop                                            
  {                                                                   
    return rtems_rfs_rtems_error ("node_type: closing inode", rc);    
  }                                                                   
                                                                      
  return type;                                                        
}                                                                     
 2024a0c:	81 c7 e0 08 	ret                                            
 2024a10:	81 e8 00 00 	restore                                        
                                                                      

02024658 <rtems_rfs_rtems_readlink>: static ssize_t rtems_rfs_rtems_readlink (const rtems_filesystem_location_info_t* pathloc, char* buf, size_t bufsize) {
 2024658:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (pathloc); 
 202465c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
  int                     rc;                                         
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_READLINK))         
    printf ("rtems-rfs-rtems: readlink: in: ino:%" PRId32 "\n", ino); 
                                                                      
  rc = rtems_rfs_symlink_read (fs, ino, buf, bufsize, &length);       
 2024660:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
 2024664:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 2024668:	94 10 00 19 	mov  %i1, %o2                                  
 202466c:	96 10 00 1a 	mov  %i2, %o3                                  
 2024670:	40 00 78 61 	call  20427f4 <rtems_rfs_symlink_read>         
 2024674:	98 07 bf fc 	add  %fp, -4, %o4                              
  if (rc)                                                             
  {                                                                   
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
  }                                                                   
                                                                      
  return (ssize_t) length;                                            
 2024678:	f0 07 bf fc 	ld  [ %fp + -4 ], %i0                          
                                                                      
  if (rtems_rfs_rtems_trace (RTEMS_RFS_RTEMS_DEBUG_READLINK))         
    printf ("rtems-rfs-rtems: readlink: in: ino:%" PRId32 "\n", ino); 
                                                                      
  rc = rtems_rfs_symlink_read (fs, ino, buf, bufsize, &length);       
  if (rc)                                                             
 202467c:	80 a2 20 00 	cmp  %o0, 0                                    
 2024680:	02 80 00 05 	be  2024694 <rtems_rfs_rtems_readlink+0x3c>    <== ALWAYS TAKEN
 2024684:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    return rtems_rfs_rtems_error ("readlink: reading link", rc);      
 2024688:	40 00 90 a0 	call  2048908 <__errno>                        <== NOT EXECUTED
 202468c:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2024690:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return (ssize_t) length;                                            
}                                                                     
 2024694:	81 c7 e0 08 	ret                                            
 2024698:	81 e8 00 00 	restore                                        
                                                                      

020245cc <rtems_rfs_rtems_rename>: rtems_rfs_rtems_rename(const rtems_filesystem_location_info_t* old_parent_loc, const rtems_filesystem_location_info_t* old_loc, const rtems_filesystem_location_info_t* new_parent_loc, const char* new_name, size_t new_name_len) {
 20245cc:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
 20245d0:	c2 06 60 14 	ld  [ %i1 + 0x14 ], %g1                        <== 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);                   
 20245d4:	fa 06 60 08 	ld  [ %i1 + 8 ], %i5                           <== NOT EXECUTED
                       const rtems_filesystem_location_info_t* old_loc,
                       const rtems_filesystem_location_info_t* new_parent_loc,
                       const char*                             new_name,
                       size_t                                  new_name_len)
{                                                                     
  rtems_rfs_file_system*  fs = rtems_rfs_rtems_pathloc_dev (old_loc); 
 20245d8:	e0 00 60 08 	ld  [ %g1 + 8 ], %l0                           <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Link to the inode before unlinking so the inode is not erased when
   * unlinked.                                                        
   */                                                                 
  rc = rtems_rfs_link (fs, new_name, new_name_len, new_parent, ino, true);
 20245dc:	d6 06 a0 08 	ld  [ %i2 + 8 ], %o3                           <== NOT EXECUTED
 20245e0:	94 10 00 1c 	mov  %i4, %o2                                  <== 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);      
 20245e4:	f0 06 20 08 	ld  [ %i0 + 8 ], %i0                           <== NOT EXECUTED
  new_parent = rtems_rfs_rtems_get_pathloc_ino (new_parent_loc);      
                                                                      
  ino  = rtems_rfs_rtems_get_pathloc_ino (old_loc);                   
  doff = rtems_rfs_rtems_get_pathloc_doff (old_loc);                  
 20245e8:	f4 06 60 0c 	ld  [ %i1 + 0xc ], %i2                         <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Link to the inode before unlinking so the inode is not erased when
   * unlinked.                                                        
   */                                                                 
  rc = rtems_rfs_link (fs, new_name, new_name_len, new_parent, ino, true);
 20245ec:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 20245f0:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 20245f4:	98 10 00 1d 	mov  %i5, %o4                                  <== NOT EXECUTED
 20245f8:	40 00 76 64 	call  2041f88 <rtems_rfs_link>                 <== NOT EXECUTED
 20245fc:	9a 10 20 01 	mov  1, %o5                                    <== NOT EXECUTED
  if (rc)                                                             
 2024600:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2024604:	02 80 00 07 	be  2024620 <rtems_rfs_rtems_rename+0x54>      <== NOT EXECUTED
 2024608:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("rename: linking", rc);             
 202460c:	40 00 90 bf 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024610:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 2024614:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2024618:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202461c:	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,                   
 2024620:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2024624:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2024628:	96 10 00 1a 	mov  %i2, %o3                                  <== NOT EXECUTED
 202462c:	98 10 20 02 	mov  2, %o4                                    <== NOT EXECUTED
 2024630:	40 00 76 ca 	call  2042158 <rtems_rfs_unlink>               <== NOT EXECUTED
 2024634:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
                         rtems_rfs_unlink_dir_allowed);               
  if (rc)                                                             
 2024638:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 202463c:	02 bf ff f7 	be  2024618 <rtems_rfs_rtems_rename+0x4c>      <== NOT EXECUTED
 2024640:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("rename: unlinking", rc);           
 2024644:	40 00 90 b1 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024648:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202464c:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2024650:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024654:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02025504 <rtems_rfs_rtems_set_handlers>: */ bool rtems_rfs_rtems_set_handlers (rtems_filesystem_location_info_t* loc, rtems_rfs_inode_handle* inode) {
 2025504:	9d e3 bf a0 	save  %sp, -96, %sp                            
 * @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);                    
 2025508:	c4 06 60 0c 	ld  [ %i1 + 0xc ], %g2                         
  uint16_t mode = rtems_rfs_inode_get_mode (inode);                   
  loc->handlers = NULL;                                               
  if (RTEMS_RFS_S_ISDIR (mode))                                       
 202550c:	07 00 00 10 	sethi  %hi(0x4000), %g3                        
 2025510:	c2 08 a0 02 	ldub  [ %g2 + 2 ], %g1                         
 2025514:	c4 08 a0 03 	ldub  [ %g2 + 3 ], %g2                         
 2025518:	83 28 60 08 	sll  %g1, 8, %g1                               
 202551c:	82 10 40 02 	or  %g1, %g2, %g1                              
 2025520:	05 00 00 3c 	sethi  %hi(0xf000), %g2                        
 2025524:	84 08 40 02 	and  %g1, %g2, %g2                             
 2025528:	80 a0 80 03 	cmp  %g2, %g3                                  
 202552c:	02 80 00 1d 	be  20255a0 <rtems_rfs_rtems_set_handlers+0x9c>
 2025530:	c0 26 20 10 	clr  [ %i0 + 0x10 ]                            
    loc->handlers = rtems_rfs_rtems_handlers (dir);                   
  else if (RTEMS_RFS_S_ISCHR (mode) || RTEMS_RFS_S_ISBLK(mode))       
 2025534:	09 00 00 2c 	sethi  %hi(0xb000), %g4                        
 2025538:	07 00 00 08 	sethi  %hi(0x2000), %g3                        
 202553c:	88 08 40 04 	and  %g1, %g4, %g4                             
 2025540:	80 a1 00 03 	cmp  %g4, %g3                                  
 2025544:	02 80 00 10 	be  2025584 <rtems_rfs_rtems_set_handlers+0x80><== NEVER TAKEN
 2025548:	07 00 00 28 	sethi  %hi(0xa000), %g3                        
    loc->handlers = rtems_rfs_rtems_handlers (device);                
  else if (RTEMS_RFS_S_ISLNK (mode))                                  
 202554c:	80 a0 80 03 	cmp  %g2, %g3                                  
 2025550:	02 80 00 22 	be  20255d8 <rtems_rfs_rtems_set_handlers+0xd4>
 2025554:	07 00 00 20 	sethi  %hi(0x8000), %g3                        
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
  else if (RTEMS_RFS_S_ISREG (mode))                                  
 2025558:	80 a0 80 03 	cmp  %g2, %g3                                  
 202555c:	02 80 00 18 	be  20255bc <rtems_rfs_rtems_set_handlers+0xb8><== ALWAYS TAKEN
 2025560:	93 28 60 10 	sll  %g1, 0x10, %o1                            
    loc->handlers = rtems_rfs_rtems_handlers (file);                  
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
 2025564:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025568:	93 32 60 10 	srl  %o1, 0x10, %o1                            <== NOT EXECUTED
 202556c:	40 00 9f 26 	call  204d204 <printf>                         <== NOT EXECUTED
 2025570:	90 12 21 e0 	or  %o0, 0x1e0, %o0                            <== NOT EXECUTED
    return false;                                                     
 2025574:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
  }                                                                   
  return true;                                                        
}                                                                     
 2025578:	b0 08 60 01 	and  %g1, 1, %i0                               
 202557c:	81 c7 e0 08 	ret                                            
 2025580:	81 e8 00 00 	restore                                        
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
 2025584:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
  uint16_t mode = rtems_rfs_inode_get_mode (inode);                   
  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);                
 2025588:	05 00 81 be 	sethi  %hi(0x206f800), %g2                     <== NOT EXECUTED
 202558c:	84 10 a2 34 	or  %g2, 0x234, %g2	! 206fa34 <rtems_rfs_rtems_device_handlers><== NOT EXECUTED
 2025590:	c4 26 20 10 	st  %g2, [ %i0 + 0x10 ]                        <== NOT EXECUTED
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
}                                                                     
 2025594:	b0 08 60 01 	and  %g1, 1, %i0                               <== NOT EXECUTED
 2025598:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202559c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
 20255a0:	82 10 20 01 	mov  1, %g1                                    
                              rtems_rfs_inode_handle*           inode)
{                                                                     
  uint16_t mode = rtems_rfs_inode_get_mode (inode);                   
  loc->handlers = NULL;                                               
  if (RTEMS_RFS_S_ISDIR (mode))                                       
    loc->handlers = rtems_rfs_rtems_handlers (dir);                   
 20255a4:	05 00 81 be 	sethi  %hi(0x206f800), %g2                     
 20255a8:	84 10 a2 60 	or  %g2, 0x260, %g2	! 206fa60 <rtems_rfs_rtems_dir_handlers>
 20255ac:	c4 26 20 10 	st  %g2, [ %i0 + 0x10 ]                        
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
}                                                                     
 20255b0:	b0 08 60 01 	and  %g1, 1, %i0                               
 20255b4:	81 c7 e0 08 	ret                                            
 20255b8:	81 e8 00 00 	restore                                        
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
 20255bc:	82 10 20 01 	mov  1, %g1                                    
  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))                                  
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
  else if (RTEMS_RFS_S_ISREG (mode))                                  
    loc->handlers = rtems_rfs_rtems_handlers (file);                  
 20255c0:	05 00 81 be 	sethi  %hi(0x206f800), %g2                     
 20255c4:	84 10 a2 8c 	or  %g2, 0x28c, %g2	! 206fa8c <rtems_rfs_rtems_file_handlers>
 20255c8:	c4 26 20 10 	st  %g2, [ %i0 + 0x10 ]                        
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
}                                                                     
 20255cc:	b0 08 60 01 	and  %g1, 1, %i0                               
 20255d0:	81 c7 e0 08 	ret                                            
 20255d4:	81 e8 00 00 	restore                                        
  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))                                  
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
 20255d8:	05 00 81 a4 	sethi  %hi(0x2069000), %g2                     
  else                                                                
  {                                                                   
    printf ("rtems-rfs: mode type unknown: %04x\n", mode);            
    return false;                                                     
  }                                                                   
  return true;                                                        
 20255dc:	82 10 20 01 	mov  1, %g1                                    
  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))                                  
    loc->handlers = rtems_rfs_rtems_handlers (link);                  
 20255e0:	84 10 a1 ac 	or  %g2, 0x1ac, %g2                            
 20255e4:	10 bf ff e5 	b  2025578 <rtems_rfs_rtems_set_handlers+0x74> 
 20255e8:	c4 26 20 10 	st  %g2, [ %i0 + 0x10 ]                        
                                                                      

020244f0 <rtems_rfs_rtems_statvfs>: * @return int */ static int rtems_rfs_rtems_statvfs (const rtems_filesystem_location_info_t* pathloc, struct statvfs* sb) {
 20244f0:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 20244f4:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
 20244f8:	92 07 bf f8 	add  %fp, -8, %o1                              <== NOT EXECUTED
 */                                                                   
static int                                                            
rtems_rfs_rtems_statvfs (const rtems_filesystem_location_info_t* pathloc,
                         struct statvfs*                         sb)  
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 20244fc:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
 2024500:	94 07 bf fc 	add  %fp, -4, %o2                              <== NOT EXECUTED
 2024504:	40 00 73 f5 	call  20414d8 <rtems_rfs_group_usage>          <== NOT EXECUTED
 2024508:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
 202450c:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
 2024510:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           <== NOT EXECUTED
 2024514:	c6 07 bf f8 	ld  [ %fp + -8 ], %g3                          <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
 2024518:	f0 07 60 08 	ld  [ %i5 + 8 ], %i0                           <== NOT EXECUTED
  sb->f_frsize  = rtems_rfs_fs_media_block_size (fs);                 
 202451c:	f4 00 60 20 	ld  [ %g1 + 0x20 ], %i2                        <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
 2024520:	f6 00 60 1c 	ld  [ %g1 + 0x1c ], %i3                        <== 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;                  
  sb->f_favail  = sb->f_ffree;                                        
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
 2024524:	f8 07 40 00 	ld  [ %i5 ], %i4                               <== 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;                                        
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
 2024528:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        <== NOT EXECUTED
  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);                            
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
 202452c:	c8 07 60 1c 	ld  [ %i5 + 0x1c ], %g4                        <== 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;                  
 2024530:	86 20 80 03 	sub  %g2, %g3, %g3                             <== 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;                  
 2024534:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          <== NOT EXECUTED
  size_t                 blocks;                                      
  size_t                 inodes;                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  sb->f_bsize   = rtems_rfs_fs_block_size (fs);                       
 2024538:	f0 26 40 00 	st  %i0, [ %i1 ]                               <== NOT EXECUTED
  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;                                        
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
 202453c:	84 20 40 02 	sub  %g1, %g2, %g2                             <== 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;                                        
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
 2024540:	c2 26 60 20 	st  %g1, [ %i1 + 0x20 ]                        <== 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);                 
 2024544:	f4 26 60 04 	st  %i2, [ %i1 + 4 ]                           <== NOT EXECUTED
  sb->f_blocks  = rtems_rfs_fs_media_blocks (fs);                     
 2024548:	c0 26 60 08 	clr  [ %i1 + 8 ]                               <== NOT EXECUTED
 202454c:	f6 26 60 0c 	st  %i3, [ %i1 + 0xc ]                         <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
 2024550:	c0 26 60 10 	clr  [ %i1 + 0x10 ]                            <== NOT EXECUTED
 2024554:	c6 26 60 14 	st  %g3, [ %i1 + 0x14 ]                        <== NOT EXECUTED
  sb->f_bavail  = sb->f_bfree;                                        
 2024558:	c0 26 60 18 	clr  [ %i1 + 0x18 ]                            <== NOT EXECUTED
 202455c:	c6 26 60 1c 	st  %g3, [ %i1 + 0x1c ]                        <== NOT EXECUTED
  sb->f_files   = rtems_rfs_fs_inodes (fs);                           
  sb->f_ffree   = rtems_rfs_fs_inodes (fs) - inodes;                  
 2024560:	c4 26 60 24 	st  %g2, [ %i1 + 0x24 ]                        <== NOT EXECUTED
  sb->f_favail  = sb->f_ffree;                                        
 2024564:	c4 26 60 28 	st  %g2, [ %i1 + 0x28 ]                        <== NOT EXECUTED
  sb->f_fsid    = RTEMS_RFS_SB_MAGIC;                                 
 2024568:	03 0a 02 48 	sethi  %hi(0x28092000), %g1                    <== NOT EXECUTED
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
 202456c:	f8 26 60 30 	st  %i4, [ %i1 + 0x30 ]                        <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
  sb->f_bavail  = sb->f_bfree;                                        
  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;                                 
 2024570:	82 10 60 01 	or  %g1, 1, %g1                                <== NOT EXECUTED
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
 2024574:	c8 26 60 34 	st  %g4, [ %i1 + 0x34 ]                        <== NOT EXECUTED
  sb->f_bfree   = rtems_rfs_fs_blocks (fs) - blocks;                  
  sb->f_bavail  = sb->f_bfree;                                        
  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;                                 
 2024578:	c2 26 60 2c 	st  %g1, [ %i1 + 0x2c ]                        <== NOT EXECUTED
  sb->f_flag    = rtems_rfs_fs_flags (fs);                            
  sb->f_namemax = rtems_rfs_fs_max_name (fs);                         
                                                                      
  return 0;                                                           
}                                                                     
 202457c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024580:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

0202469c <rtems_rfs_rtems_symlink>: static int rtems_rfs_rtems_symlink (const rtems_filesystem_location_info_t* parent_loc, const char* node_name, size_t node_name_len, const char* target) {
 202469c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
 20246a0:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
  int                    rc;                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, node_name_len,               
                          target, strlen (target),                    
 20246a4:	90 10 00 1b 	mov  %i3, %o0                                  
 20246a8:	40 00 ac 57 	call  204f804 <strlen>                         
 20246ac:	f8 00 60 08 	ld  [ %g1 + 8 ], %i4                           
                         const char*                             node_name,
                         size_t                                  node_name_len,
                         const char*                             target)
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (parent_loc);
  rtems_rfs_ino          parent = rtems_rfs_rtems_get_pathloc_ino (parent_loc);
 20246b0:	f0 06 20 08 	ld  [ %i0 + 8 ], %i0                           
  int                    rc;                                          
                                                                      
  rc = rtems_rfs_symlink (fs, node_name, node_name_len,               
 20246b4:	40 00 1d 72 	call  202bc7c <geteuid>                        
 20246b8:	ba 10 00 08 	mov  %o0, %i5                                  
 20246bc:	40 00 1d 6c 	call  202bc6c <getegid>                        
 20246c0:	a0 10 00 08 	mov  %o0, %l0                                  
 20246c4:	91 2a 20 10 	sll  %o0, 0x10, %o0                            
 20246c8:	91 32 20 10 	srl  %o0, 0x10, %o0                            
 20246cc:	f0 23 a0 60 	st  %i0, [ %sp + 0x60 ]                        
 20246d0:	d0 23 a0 5c 	st  %o0, [ %sp + 0x5c ]                        
 20246d4:	98 10 00 1d 	mov  %i5, %o4                                  
 20246d8:	9b 2c 20 10 	sll  %l0, 0x10, %o5                            
 20246dc:	90 10 00 1c 	mov  %i4, %o0                                  
 20246e0:	92 10 00 19 	mov  %i1, %o1                                  
 20246e4:	94 10 00 1a 	mov  %i2, %o2                                  
 20246e8:	96 10 00 1b 	mov  %i3, %o3                                  
 20246ec:	9b 33 60 10 	srl  %o5, 0x10, %o5                            
 20246f0:	40 00 77 a6 	call  2042588 <rtems_rfs_symlink>              
 20246f4:	b0 10 20 00 	clr  %i0                                       
                          target, strlen (target),                    
                          geteuid(), getegid(), parent);              
  if (rc)                                                             
 20246f8:	80 a2 20 00 	cmp  %o0, 0                                    
 20246fc:	02 80 00 05 	be  2024710 <rtems_rfs_rtems_symlink+0x74>     <== ALWAYS TAKEN
 2024700:	ba 10 00 08 	mov  %o0, %i5                                  
  {                                                                   
    return rtems_rfs_rtems_error ("symlink: linking", rc);            
 2024704:	40 00 90 81 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024708:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202470c:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2024710:	81 c7 e0 08 	ret                                            
 2024714:	81 e8 00 00 	restore                                        
                                                                      

020251a4 <rtems_rfs_rtems_unlock_by_mt_entry>: static void rtems_rfs_rtems_unlock_by_mt_entry ( const rtems_filesystem_mount_table_entry_t *mt_entry ) {
 20251a4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_rfs_file_system* fs = mt_entry->fs_info;                      
 20251a8:	d0 06 20 08 	ld  [ %i0 + 8 ], %o0                           
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
  rtems_rfs_buffers_release (fs);                                     
 20251ac:	40 00 5f 27 	call  203ce48 <rtems_rfs_buffers_release>      
 20251b0:	fa 02 20 80 	ld  [ %o0 + 0x80 ], %i5                        
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 20251b4:	7f ff a3 d4 	call  200e104 <rtems_semaphore_release>        
 20251b8:	d0 07 40 00 	ld  [ %i5 ], %o0                               
  if (sc != RTEMS_SUCCESSFUL)                                         
 20251bc:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20251c0:	12 80 00 04 	bne  20251d0 <rtems_rfs_rtems_unlock_by_mt_entry+0x2c><== NEVER TAKEN
 20251c4:	90 10 20 00 	clr  %o0                                       
 20251c8:	81 c7 e0 08 	ret                                            
 20251cc:	81 e8 00 00 	restore                                        
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20251d0:	40 00 07 2d 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20251d4:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20251d8:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20251dc:	02 bf ff fb 	be  20251c8 <rtems_rfs_rtems_unlock_by_mt_entry+0x24><== NOT EXECUTED
 20251e0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 20251e4:	7f ff 8f af 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20251e8:	31 00 81 a4 	sethi  %hi(0x2069000), %i0                     <== NOT EXECUTED
 20251ec:	b0 16 20 c8 	or  %i0, 0xc8, %i0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 20251f0:	40 00 a0 05 	call  204d204 <printf>                         <== NOT EXECUTED
 20251f4:	93 e8 00 08 	restore  %g0, %o0, %o1                         <== NOT EXECUTED
                                                                      

02024718 <rtems_rfs_rtems_utime>: static int rtems_rfs_rtems_utime(const rtems_filesystem_location_info_t* pathloc, time_t atime, time_t mtime) {
 2024718:	9d e3 bf 78 	save  %sp, -136, %sp                           <== NOT EXECUTED
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 202471c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        <== NOT EXECUTED
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2024720:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           <== NOT EXECUTED
static int                                                            
rtems_rfs_rtems_utime(const rtems_filesystem_location_info_t* pathloc,
                      time_t                                  atime,  
                      time_t                                  mtime)  
{                                                                     
  rtems_rfs_file_system* fs = rtems_rfs_rtems_pathloc_dev (pathloc);  
 2024724:	fa 00 60 08 	ld  [ %g1 + 8 ], %i5                           <== NOT EXECUTED
  rtems_rfs_ino          ino = rtems_rfs_rtems_get_pathloc_ino (pathloc);
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 2024728:	94 07 bf d8 	add  %fp, -40, %o2                             <== NOT EXECUTED
 202472c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2024730:	40 00 73 cc 	call  2041660 <rtems_rfs_inode_open>           <== NOT EXECUTED
 2024734:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc)                                                             
 2024738:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 202473c:	02 80 00 07 	be  2024758 <rtems_rfs_rtems_utime+0x40>       <== NOT EXECUTED
 2024740:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("utime: read inode", rc);           
 2024744:	40 00 90 71 	call  2048908 <__errno>                        <== NOT EXECUTED
 2024748:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 202474c:	f8 22 00 00 	st  %i4, [ %o0 ]                               <== NOT EXECUTED
 2024750:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2024754:	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);                  
 2024758:	85 36 60 18 	srl  %i1, 0x18, %g2                            <== NOT EXECUTED
 202475c:	87 36 60 10 	srl  %i1, 0x10, %g3                            <== NOT EXECUTED
 2024760:	c4 28 60 10 	stb  %g2, [ %g1 + 0x10 ]                       <== NOT EXECUTED
 2024764:	85 36 60 08 	srl  %i1, 8, %g2                               <== NOT EXECUTED
 2024768:	c6 28 60 11 	stb  %g3, [ %g1 + 0x11 ]                       <== NOT EXECUTED
 202476c:	c4 28 60 12 	stb  %g2, [ %g1 + 0x12 ]                       <== NOT EXECUTED
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2024770:	86 10 20 01 	mov  1, %g3                                    <== 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);                  
 2024774:	85 36 a0 18 	srl  %i2, 0x18, %g2                            <== 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);                  
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2024778:	c6 2f bf e8 	stb  %g3, [ %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);                  
 202477c:	c4 28 60 14 	stb  %g2, [ %g1 + 0x14 ]                       <== NOT EXECUTED
 2024780:	87 36 a0 10 	srl  %i2, 0x10, %g3                            <== NOT EXECUTED
 2024784:	85 36 a0 08 	srl  %i2, 8, %g2                               <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_inode_set_atime (&inode, atime);                          
  rtems_rfs_inode_set_mtime (&inode, mtime);                          
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 2024788:	90 10 00 1d 	mov  %i5, %o0                                  <== 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);                  
 202478c:	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);                  
 2024790:	c6 28 60 15 	stb  %g3, [ %g1 + 0x15 ]                       <== NOT EXECUTED
 2024794:	c4 28 60 16 	stb  %g2, [ %g1 + 0x16 ]                       <== NOT EXECUTED
 2024798:	f4 28 60 17 	stb  %i2, [ %g1 + 0x17 ]                       <== NOT EXECUTED
 202479c:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 20247a0:	40 00 74 28 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20247a4:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  if (rc)                                                             
 20247a8:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 20247ac:	02 bf ff e9 	be  2024750 <rtems_rfs_rtems_utime+0x38>       <== NOT EXECUTED
 20247b0:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
  {                                                                   
    return rtems_rfs_rtems_error ("utime: closing inode", rc);        
 20247b4:	40 00 90 55 	call  2048908 <__errno>                        <== NOT EXECUTED
 20247b8:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 20247bc:	fa 22 00 00 	st  %i5, [ %o0 ]                               <== NOT EXECUTED
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 20247c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20247c4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0203fea4 <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) {
 203fea4:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
 203fea8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  if (dividend == 0)                                                  
 203feac:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 203feb0:	02 80 00 06 	be  203fec8 <rtems_rfs_rup_quotient+0x24>      <== NOT EXECUTED
 203feb4:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
    return 1;                                                         
  return ((dividend - 1) / divisor) + 1;                              
 203feb8:	90 02 3f ff 	add  %o0, -1, %o0                              <== NOT EXECUTED
 203febc:	40 00 87 78 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 203fec0:	92 10 00 19 	mov  %i1, %o1                                  <== NOT EXECUTED
 203fec4:	b0 02 20 01 	add  %o0, 1, %i0                               <== NOT EXECUTED
}                                                                     
 203fec8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203fecc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

0203c618 <rtems_rfs_scan_chain>: */ static rtems_rfs_buffer* rtems_rfs_scan_chain (rtems_chain_control* chain, uint32_t* count, rtems_rfs_buffer_block block) {
 203c618:	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))                
 203c61c:	90 10 20 00 	clr  %o0                                       
 203c620:	92 10 20 80 	mov  0x80, %o1                                 
 203c624:	7f ff aa 18 	call  2026e84 <rtems_rfs_trace>                
 203c628:	fa 06 20 08 	ld  [ %i0 + 8 ], %i5                           
 203c62c:	80 8a 20 ff 	btst  0xff, %o0                                
 203c630:	32 80 00 37 	bne,a   203c70c <rtems_rfs_scan_chain+0xf4>    <== NEVER TAKEN
 203c634:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== 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));            
 203c638:	39 00 81 b6 	sethi  %hi(0x206d800), %i4                     
  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))                          
 203c63c:	80 a7 40 18 	cmp  %i5, %i0                                  
 203c640:	12 80 00 0b 	bne  203c66c <rtems_rfs_scan_chain+0x54>       <== ALWAYS TAKEN
 203c644:	b8 17 21 20 	or  %i4, 0x120, %i4                            
      return buffer;                                                  
    }                                                                 
    node = rtems_chain_previous (node);                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
 203c648:	10 80 00 2a 	b  203c6f0 <rtems_rfs_scan_chain+0xd8>         <== NOT EXECUTED
 203c64c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
                                                                      
    if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block)
 203c650:	80 a0 40 1a 	cmp  %g1, %i2                                  
 203c654:	02 80 00 14 	be  203c6a4 <rtems_rfs_scan_chain+0x8c>        
 203c658:	90 10 20 00 	clr  %o0                                       
 */                                                                   
RTEMS_INLINE_ROUTINE Chain_Node *_Chain_Previous(                     
  Chain_Node *the_node                                                
)                                                                     
{                                                                     
  return the_node->previous;                                          
 203c65c:	fa 07 60 04 	ld  [ %i5 + 4 ], %i5                           
  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))                          
 203c660:	80 a7 40 18 	cmp  %i5, %i0                                  
 203c664:	02 80 00 23 	be  203c6f0 <rtems_rfs_scan_chain+0xd8>        
 203c668:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    buffer = (rtems_rfs_buffer*) node;                                
                                                                      
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))              
 203c66c:	90 10 20 00 	clr  %o0                                       
 203c670:	7f ff aa 05 	call  2026e84 <rtems_rfs_trace>                
 203c674:	92 10 20 80 	mov  0x80, %o1                                 
 203c678:	80 8a 20 ff 	btst  0xff, %o0                                
 203c67c:	22 bf ff f5 	be,a   203c650 <rtems_rfs_scan_chain+0x38>     <== ALWAYS TAKEN
 203c680:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        
      printf ("%" PRIuPTR " ", ((intptr_t) buffer->user));            
 203c684:	d2 07 60 34 	ld  [ %i5 + 0x34 ], %o1                        <== NOT EXECUTED
 203c688:	40 00 42 df 	call  204d204 <printf>                         <== NOT EXECUTED
 203c68c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
                                                                      
    if (((rtems_rfs_buffer_block) ((intptr_t)(buffer->user))) == block)
 203c690:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        <== NOT EXECUTED
 203c694:	80 a0 40 1a 	cmp  %g1, %i2                                  <== NOT EXECUTED
 203c698:	32 bf ff f2 	bne,a   203c660 <rtems_rfs_scan_chain+0x48>    <== NOT EXECUTED
 203c69c:	fa 07 60 04 	ld  [ %i5 + 4 ], %i5                           <== NOT EXECUTED
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))            
 203c6a0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 203c6a4:	7f ff a9 f8 	call  2026e84 <rtems_rfs_trace>                
 203c6a8:	92 10 20 80 	mov  0x80, %o1                                 
 203c6ac:	80 8a 20 ff 	btst  0xff, %o0                                
 203c6b0:	22 80 00 07 	be,a   203c6cc <rtems_rfs_scan_chain+0xb4>     <== ALWAYS TAKEN
 203c6b4:	c2 06 40 00 	ld  [ %i1 ], %g1                               
        printf (": found block=%" PRIuPTR "\n",                       
 203c6b8:	d2 07 60 34 	ld  [ %i5 + 0x34 ], %o1                        <== NOT EXECUTED
 203c6bc:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203c6c0:	40 00 42 d1 	call  204d204 <printf>                         <== NOT EXECUTED
 203c6c4:	90 12 21 28 	or  %o0, 0x128, %o0	! 206d928 <__FUNCTION__.7829+0x190><== NOT EXECUTED
                ((intptr_t)(buffer->user)));                          
                                                                      
      (*count)--;                                                     
 203c6c8:	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 );                                         
 203c6cc:	90 10 00 1d 	mov  %i5, %o0                                  
 203c6d0:	82 00 7f ff 	add  %g1, -1, %g1                              
      rtems_chain_extract (node);                                     
      rtems_chain_set_off_chain (node);                               
      return buffer;                                                  
 203c6d4:	b0 10 00 1d 	mov  %i5, %i0                                  
 203c6d8:	7f ff ca 92 	call  202f120 <_Chain_Extract>                 
 203c6dc:	c2 26 40 00 	st  %g1, [ %i1 ]                               
 */                                                                   
RTEMS_INLINE_ROUTINE void _Chain_Set_off_chain(                       
  Chain_Node *node                                                    
)                                                                     
{                                                                     
  node->next = node->previous = NULL;                                 
 203c6e0:	c0 27 60 04 	clr  [ %i5 + 4 ]                               
 203c6e4:	c0 27 40 00 	clr  [ %i5 ]                                   
 203c6e8:	81 c7 e0 08 	ret                                            
 203c6ec:	81 e8 00 00 	restore                                        
    }                                                                 
    node = rtems_chain_previous (node);                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
 203c6f0:	7f ff a9 e5 	call  2026e84 <rtems_rfs_trace>                
 203c6f4:	92 10 20 80 	mov  0x80, %o1                                 
 203c6f8:	80 8a 20 ff 	btst  0xff, %o0                                
 203c6fc:	12 80 00 0a 	bne  203c724 <rtems_rfs_scan_chain+0x10c>      <== NEVER TAKEN
 203c700:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     
    printf (": not found\n");                                         
                                                                      
  return NULL;                                                        
}                                                                     
 203c704:	81 c7 e0 08 	ret                                            
 203c708:	91 e8 20 00 	restore  %g0, 0, %o0                           
  rtems_chain_node* node;                                             
                                                                      
  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);
 203c70c:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 203c710:	11 00 81 b6 	sethi  %hi(0x206d800), %o0                     <== NOT EXECUTED
 203c714:	40 00 42 bc 	call  204d204 <printf>                         <== NOT EXECUTED
 203c718:	90 12 20 f0 	or  %o0, 0xf0, %o0	! 206d8f0 <__FUNCTION__.7829+0x158><== 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));            
 203c71c:	10 bf ff c8 	b  203c63c <rtems_rfs_scan_chain+0x24>         <== NOT EXECUTED
 203c720:	39 00 81 b6 	sethi  %hi(0x206d800), %i4                     <== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
    printf (": not found\n");                                         
                                                                      
  return NULL;                                                        
 203c724:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    }                                                                 
    node = rtems_chain_previous (node);                               
  }                                                                   
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_BUFFER_CHAINS))                
    printf (": not found\n");                                         
 203c728:	40 00 43 4f 	call  204d464 <puts>                           <== NOT EXECUTED
 203c72c:	90 12 21 40 	or  %o0, 0x140, %o0                            <== NOT EXECUTED
                                                                      
  return NULL;                                                        
}                                                                     
 203c730:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 203c734:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02047930 <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,
 2047930:	9d e3 bf 90 	save  %sp, -112, %sp                           
  *found = false;                                                     
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2047934:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 2047938:	ac 10 00 18 	mov  %i0, %l6                                  
  rtems_rfs_bitmap_element* map_bits;                                 
  int                       map_index;                                
  int                       map_offset;                               
  int                       rc;                                       
                                                                      
  *found = false;                                                     
 204793c:	c0 2e 80 00 	clrb  [ %i2 ]                                  
                                                                      
  /*                                                                  
   * Load the bitmap.                                                 
   */                                                                 
  rc = rtems_rfs_bitmap_load_map (control, &map);                     
 2047940:	7f ff ff e7 	call  20478dc <rtems_rfs_bitmap_load_map>      
 2047944:	92 07 bf fc 	add  %fp, -4, %o1                              
  if (rc > 0)                                                         
 2047948:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 204794c:	24 80 00 04 	ble,a   204795c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x2c><== ALWAYS TAKEN
 2047950:	f8 06 40 00 	ld  [ %i1 ], %i4                               
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
                                                                      
  return 0;                                                           
}                                                                     
 2047954:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2047958:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Calculate the bit we are testing plus the end point we search over.
   */                                                                 
  test_bit = *bit;                                                    
  end_bit  = test_bit + (window * direction);                         
 204795c:	a1 2e e0 0b 	sll  %i3, 0xb, %l0                             
                                                                      
  if (end_bit < 0)                                                    
 2047960:	a0 84 00 1c 	addcc  %l0, %i4, %l0                           
 2047964:	2c 80 00 06 	bneg,a   204797c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x4c>
 2047968:	a0 10 20 00 	clr  %l0                                       
    end_bit = 0;                                                      
  else if (end_bit >= control->size)                                  
 204796c:	c2 05 a0 0c 	ld  [ %l6 + 0xc ], %g1                         
 2047970:	80 a4 00 01 	cmp  %l0, %g1                                  
 2047974:	3a 80 00 02 	bcc,a   204797c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x4c><== ALWAYS TAKEN
 2047978:	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];                  
 204797c:	ee 05 a0 14 	ld  [ %l6 + 0x14 ], %l7                        
  map_bits    = &map[map_index];                                      
 2047980:	e6 07 bf fc 	ld  [ %fp + -4 ], %l3                          
  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);              
 2047984:	a5 3f 20 05 	sra  %i4, 5, %l2                               
  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];                  
  map_bits    = &map[map_index];                                      
 2047988:	83 2c a0 02 	sll  %l2, 2, %g1                               
  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);             
  search_index  = rtems_rfs_bitmap_map_index (map_index);             
 204798c:	85 3f 20 0a 	sra  %i4, 0xa, %g2                             
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
 2047990:	ab 36 e0 1f 	srl  %i3, 0x1f, %l5                            
  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];                  
 2047994:	85 28 a0 02 	sll  %g2, 2, %g2                               
        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)))            
 2047998:	a9 3e e0 1f 	sra  %i3, 0x1f, %l4                            
  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];                  
  map_bits    = &map[map_index];                                      
 204799c:	a6 04 c0 01 	add  %l3, %g1, %l3                             
        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)))            
 20479a0:	a8 25 00 1b 	sub  %l4, %i3, %l4                             
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
 20479a4:	82 0d 60 ff 	and  %l5, 0xff, %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);             
 20479a8:	ba 0f 20 1f 	and  %i4, 0x1f, %i5                            
  search_index  = rtems_rfs_bitmap_map_index (map_index);             
  search_offset = rtems_rfs_bitmap_map_offset (map_index);            
 20479ac:	92 0c a0 1f 	and  %l2, 0x1f, %o1                            
                                                                      
  search_bits = &control->search_bits[search_index];                  
 20479b0:	ae 05 c0 02 	add  %l7, %g2, %l7                             
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
 20479b4:	b1 2e e0 02 	sll  %i3, 2, %i0                               
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 20479b8:	97 2e e0 05 	sll  %i3, 5, %o3                               
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 20479bc:	a2 10 20 01 	mov  1, %l1                                    
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
 20479c0:	c2 27 bf f4 	st  %g1, [ %fp + -12 ]                         
            || ((direction > 0) && (test_bit >= end_bit)))            
 20479c4:	a9 35 20 1f 	srl  %l4, 0x1f, %l4                            
    /*                                                                
     * 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))
 20479c8:	c8 05 c0 00 	ld  [ %l7 ], %g4                               
 20479cc:	80 a1 20 00 	cmp  %g4, 0                                    
 20479d0:	02 80 00 49 	be  2047af4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1c4><== NEVER TAKEN
 20479d4:	80 a6 e0 00 	cmp  %i3, 0                                    
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_search_map_for_clear_bit (rtems_rfs_bitmap_control* control,
 20479d8:	86 06 c0 12 	add  %i3, %l2, %g3                             
 20479dc:	87 28 e0 05 	sll  %g3, 5, %g3                               
     * 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)                                     
 20479e0:	80 a2 60 1f 	cmp  %o1, 0x1f                                 
 20479e4:	18 80 00 52 	bgu  2047b2c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1fc><== NEVER TAKEN
 20479e8:	9f 2c 40 09 	sll  %l1, %o1, %o7                             
             && (search_offset < rtems_rfs_bitmap_element_bits ()))   
      {                                                               
        if (!rtems_rfs_bitmap_test (*search_bits, search_offset))     
 20479ec:	80 8b c0 04 	btst  %o7, %g4                                 
 20479f0:	22 80 00 13 	be,a   2047a3c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x10c>
 20479f4:	a6 04 c0 18 	add  %l3, %i0, %l3                             
           * 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))       
 20479f8:	c4 04 c0 00 	ld  [ %l3 ], %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);                     
 20479fc:	83 2c 40 1d 	sll  %l1, %i5, %g1                             
           * 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))       
 2047a00:	80 88 40 02 	btst  %g1, %g2                                 
 2047a04:	02 80 00 0b 	be  2047a30 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x100>
 2047a08:	80 a4 00 1c 	cmp  %l0, %i4                                  
 */                                                                   
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);                    
 2047a0c:	10 80 00 55 	b  2047b60 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x230>
 2047a10:	82 28 80 01 	andn  %g2, %g1, %g1                            
        {                                                             
          /*                                                          
           * 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)                                    
 2047a14:	80 a7 60 1f 	cmp  %i5, 0x1f                                 
 2047a18:	18 80 00 08 	bgu  2047a38 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x108><== NEVER TAKEN
 2047a1c:	b8 07 00 1b 	add  %i4, %i3, %i4                             
 */                                                                   
static bool                                                           
rtems_rfs_bitmap_test (rtems_rfs_bitmap_element target,               
                       rtems_rfs_bitmap_bit     bit)                  
{                                                                     
  return RTEMS_RFS_BITMAP_TEST_BIT (target, bit);                     
 2047a20:	83 2c 40 1d 	sll  %l1, %i5, %g1                             
           * 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))       
 2047a24:	80 88 80 01 	btst  %g2, %g1                                 
 2047a28:	12 80 00 4d 	bne  2047b5c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x22c>
 2047a2c:	80 a4 00 1c 	cmp  %l0, %i4                                  
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
              return 0;                                               
            }                                                         
                                                                      
            if (test_bit == end_bit)                                  
 2047a30:	32 bf ff f9 	bne,a   2047a14 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xe4>
 2047a34:	ba 07 40 1b 	add  %i5, %i3, %i5                             
            map_offset += direction;                                  
            test_bit   += direction;                                  
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
 2047a38:	a6 04 c0 18 	add  %l3, %i0, %l3                             
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
 2047a3c:	80 a6 e0 00 	cmp  %i3, 0                                    
 2047a40:	04 80 00 44 	ble  2047b50 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x220>
 2047a44:	a4 04 80 1b 	add  %l2, %i3, %l2                             
 2047a48:	b8 10 20 00 	clr  %i4                                       
 2047a4c:	ba 10 20 00 	clr  %i5                                       
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
 2047a50:	b8 00 c0 1c 	add  %g3, %i4, %i4                             
                                                                      
        search_offset += direction;                                   
 2047a54:	92 02 40 1b 	add  %o1, %i3, %o1                             
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
 2047a58:	84 10 00 15 	mov  %l5, %g2                                  
 2047a5c:	80 a4 00 1c 	cmp  %l0, %i4                                  
 2047a60:	16 80 00 03 	bge  2047a6c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x13c>
 2047a64:	82 10 20 01 	mov  1, %g1                                    
 2047a68:	82 10 20 00 	clr  %g1                                       
 2047a6c:	80 88 60 ff 	btst  0xff, %g1                                
 2047a70:	32 80 00 5b 	bne,a   2047bdc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x2ac>
 2047a74:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2047a78:	86 00 c0 0b 	add  %g3, %o3, %g3                             
            || ((direction > 0) && (test_bit >= end_bit)))            
 2047a7c:	80 a4 00 1c 	cmp  %l0, %i4                                  
 2047a80:	04 80 00 03 	ble  2047a8c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x15c>
 2047a84:	82 10 20 01 	mov  1, %g1                                    
 2047a88:	82 10 20 00 	clr  %g1                                       
 2047a8c:	80 88 60 ff 	btst  0xff, %g1                                
 2047a90:	02 bf ff d5 	be  20479e4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xb4>
 2047a94:	80 a2 60 1f 	cmp  %o1, 0x1f                                 
 2047a98:	80 a5 20 00 	cmp  %l4, 0                                    
 2047a9c:	02 bf ff d2 	be  20479e4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0xb4><== NEVER TAKEN
 2047aa0:	80 a2 60 1f 	cmp  %o1, 0x1f                                 
      }                                                               
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
 2047aa4:	ae 05 c0 18 	add  %l7, %i0, %l7                             
        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)))            
 2047aa8:	82 10 20 01 	mov  1, %g1                                    
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
 2047aac:	92 10 20 00 	clr  %o1                                       
  }                                                                   
  while (((direction < 0) && (test_bit >= end_bit))                   
         || ((direction > 0) && (test_bit <= end_bit)));              
 2047ab0:	80 88 60 ff 	btst  0xff, %g1                                
 2047ab4:	02 80 00 06 	be  2047acc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x19c>
 2047ab8:	80 a4 00 1c 	cmp  %l0, %i4                                  
 2047abc:	80 88 a0 ff 	btst  0xff, %g2                                
 2047ac0:	32 bf ff c3 	bne,a   20479cc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x9c><== NEVER TAKEN
 2047ac4:	c8 05 c0 00 	ld  [ %l7 ], %g4                               <== NOT EXECUTED
 2047ac8:	80 a4 00 1c 	cmp  %l0, %i4                                  
 2047acc:	16 80 00 03 	bge  2047ad8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1a8>
 2047ad0:	82 10 20 01 	mov  1, %g1                                    
 2047ad4:	82 10 20 00 	clr  %g1                                       
 2047ad8:	80 88 60 ff 	btst  0xff, %g1                                
 2047adc:	02 80 00 04 	be  2047aec <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1bc>
 2047ae0:	80 a5 20 00 	cmp  %l4, 0                                    
 2047ae4:	32 bf ff ba 	bne,a   20479cc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x9c><== NEVER TAKEN
 2047ae8:	c8 05 c0 00 	ld  [ %l7 ], %g4                               <== NOT EXECUTED
                                                                      
  return 0;                                                           
 2047aec:	81 c7 e0 08 	ret                                            
 2047af0:	91 e8 20 00 	restore  %g0, 0, %o0                           
       * 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)                                              
 2047af4:	04 80 00 34 	ble  2047bc4 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x294><== NOT EXECUTED
 2047af8:	b8 0f 3f e0 	and  %i4, -32, %i4                             <== NOT EXECUTED
      {                                                               
        bits_skipped = rtems_rfs_bitmap_element_bits () - search_offset;
 2047afc:	82 10 20 20 	mov  0x20, %g1                                 <== NOT EXECUTED
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
        map_offset = 0;                                               
 2047b00:	ba 10 20 00 	clr  %i5                                       <== 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;
 2047b04:	92 20 40 09 	sub  %g1, %o1, %o1                             <== NOT EXECUTED
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
 2047b08:	83 2a 60 05 	sll  %o1, 5, %g1                               <== NOT EXECUTED
 2047b0c:	b8 00 40 1c 	add  %g1, %i4, %i4                             <== 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;                           
 2047b10:	d6 27 bf f0 	st  %o3, [ %fp + -16 ]                         <== NOT EXECUTED
 2047b14:	7f fe ed 14 	call  2002f64 <.umul>                          <== NOT EXECUTED
 2047b18:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2047b1c:	d6 07 bf f0 	ld  [ %fp + -16 ], %o3                         <== NOT EXECUTED
 2047b20:	83 2a 20 02 	sll  %o0, 2, %g1                               <== NOT EXECUTED
      map_index += direction * bits_skipped;                          
 2047b24:	a4 04 80 08 	add  %l2, %o0, %l2                             <== 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;                           
 2047b28:	a6 04 c0 01 	add  %l3, %g1, %l3                             <== NOT EXECUTED
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
 2047b2c:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
 2047b30:	04 80 00 1c 	ble  2047ba0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x270><== NOT EXECUTED
 2047b34:	ae 05 c0 18 	add  %l7, %i0, %l7                             <== NOT EXECUTED
 2047b38:	80 a4 00 1c 	cmp  %l0, %i4                                  <== NOT EXECUTED
 2047b3c:	04 80 00 03 	ble  2047b48 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x218><== NOT EXECUTED
 2047b40:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 2047b44:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
 2047b48:	10 bf ff d9 	b  2047aac <rtems_rfs_search_map_for_clear_bit.constprop.1+0x17c><== NOT EXECUTED
 2047b4c:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
          }                                                           
        }                                                             
                                                                      
        map_bits  += direction;                                       
        map_index += direction;                                       
        map_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
 2047b50:	b8 10 20 1f 	mov  0x1f, %i4                                 
 2047b54:	10 bf ff bf 	b  2047a50 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x120>
 2047b58:	ba 10 20 1f 	mov  0x1f, %i5                                 
 */                                                                   
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);                    
 2047b5c:	82 28 80 01 	andn  %g2, %g1, %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,                   
 2047b60:	80 a0 60 00 	cmp  %g1, 0                                    
 2047b64:	12 80 00 05 	bne  2047b78 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x248>
 2047b68:	c2 24 c0 00 	st  %g1, [ %l3 ]                               
 */                                                                   
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);                    
 2047b6c:	c2 05 c0 00 	ld  [ %l7 ], %g1                               
 2047b70:	9e 28 40 0f 	andn  %g1, %o7, %o7                            
            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,    
 2047b74:	de 25 c0 00 	st  %o7, [ %l7 ]                               
                                                     1 << search_offset);
              control->free--;                                        
 2047b78:	c2 05 a0 10 	ld  [ %l6 + 0x10 ], %g1                        
              *bit = test_bit;                                        
              *found = true;                                          
              rtems_rfs_buffer_mark_dirty (control->buffer);          
 2047b7c:	c4 05 80 00 	ld  [ %l6 ], %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--;                                        
 2047b80:	82 00 7f ff 	add  %g1, -1, %g1                              
 2047b84:	c2 25 a0 10 	st  %g1, [ %l6 + 0x10 ]                        
              *bit = test_bit;                                        
 2047b88:	f8 26 40 00 	st  %i4, [ %i1 ]                               
              *found = true;                                          
 2047b8c:	82 10 20 01 	mov  1, %g1                                    
 2047b90:	c2 2e 80 00 	stb  %g1, [ %i2 ]                              
              rtems_rfs_buffer_mark_dirty (control->buffer);          
 2047b94:	c2 28 80 00 	stb  %g1, [ %g2 ]                              
              return 0;                                               
 2047b98:	81 c7 e0 08 	ret                                            
 2047b9c:	91 e8 20 00 	restore  %g0, 0, %o0                           
 2047ba0:	84 10 00 15 	mov  %l5, %g2                                  <== NOT EXECUTED
 2047ba4:	80 a4 00 1c 	cmp  %l0, %i4                                  <== NOT EXECUTED
 2047ba8:	14 80 00 04 	bg  2047bb8 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x288><== NOT EXECUTED
 2047bac:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
 2047bb0:	10 bf ff c0 	b  2047ab0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x180><== NOT EXECUTED
 2047bb4:	92 10 20 1f 	mov  0x1f, %o1                                 <== NOT EXECUTED
 2047bb8:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
 2047bbc:	10 bf ff bd 	b  2047ab0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x180><== NOT EXECUTED
 2047bc0:	92 10 20 1f 	mov  0x1f, %o1                                 <== 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;
 2047bc4:	83 2a 60 05 	sll  %o1, 5, %g1                               <== NOT EXECUTED
        map_offset = rtems_rfs_bitmap_element_bits () - 1;            
 2047bc8:	ba 10 20 1f 	mov  0x1f, %i5                                 <== 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;
 2047bcc:	82 38 00 01 	xnor  %g0, %g1, %g1                            <== NOT EXECUTED
        test_bit += bits_skipped * rtems_rfs_bitmap_element_bits ();  
        map_offset = 0;                                               
      }                                                               
      else                                                            
      {                                                               
        bits_skipped = search_offset + 1;                             
 2047bd0:	92 02 60 01 	inc  %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;
 2047bd4:	10 bf ff cf 	b  2047b10 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x1e0><== NOT EXECUTED
 2047bd8:	b8 00 40 1c 	add  %g1, %i4, %i4                             <== NOT EXECUTED
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
 2047bdc:	80 a0 60 00 	cmp  %g1, 0                                    
 2047be0:	22 bf ff a7 	be,a   2047a7c <rtems_rfs_search_map_for_clear_bit.constprop.1+0x14c>
 2047be4:	86 00 c0 0b 	add  %g3, %o3, %g3                             
      }                                                               
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
 2047be8:	ae 05 c0 18 	add  %l7, %i0, %l7                             
 2047bec:	80 a4 00 1c 	cmp  %l0, %i4                                  
 2047bf0:	04 80 00 03 	ble  2047bfc <rtems_rfs_search_map_for_clear_bit.constprop.1+0x2cc><== NEVER TAKEN
 2047bf4:	82 10 20 01 	mov  1, %g1                                    
 2047bf8:	82 10 20 00 	clr  %g1                                       
                                                                      
        test_bit = (map_index * rtems_rfs_bitmap_element_bits ()) + map_offset;
                                                                      
        search_offset += direction;                                   
                                                                      
        if (((direction < 0) && (test_bit <= end_bit))                
 2047bfc:	84 10 20 01 	mov  1, %g2                                    
      map_bits += direction * bits_skipped;                           
      map_index += direction * bits_skipped;                          
    }                                                                 
                                                                      
    search_bits  += direction;                                        
    search_offset = direction > 0 ? 0 : rtems_rfs_bitmap_element_bits () - 1;
 2047c00:	10 bf ff ac 	b  2047ab0 <rtems_rfs_search_map_for_clear_bit.constprop.1+0x180>
 2047c04:	92 10 20 1f 	mov  0x1f, %o1                                 
                                                                      

02025bd4 <rtems_rfs_shell_block>: return 0; } static int rtems_rfs_shell_block (rtems_rfs_file_system* fs, int argc, char *argv[]) {
 2025bd4:	9d e3 bf 90 	save  %sp, -112, %sp                           <== NOT EXECUTED
  uint8_t*                data;                                       
  bool                    state;                                      
  int                     b;                                          
  int                     rc;                                         
                                                                      
  if (argc <= 1)                                                      
 2025bd8:	80 a6 60 01 	cmp  %i1, 1                                    <== NOT EXECUTED
 2025bdc:	04 80 00 a2 	ble  2025e64 <rtems_rfs_shell_block+0x290>     <== NOT EXECUTED
 2025be0:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
  {                                                                   
    printf ("error: no block number provided\n");                     
    return 1;                                                         
  }                                                                   
                                                                      
  block = strtoul (argv[1], 0, 0);                                    
 2025be4:	d0 06 a0 04 	ld  [ %i2 + 4 ], %o0                           <== NOT EXECUTED
 2025be8:	40 00 ad 5c 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2025bec:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2025bf0:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        <== NOT EXECUTED
  {                                                                   
    printf ("error: no block number provided\n");                     
    return 1;                                                         
  }                                                                   
                                                                      
  block = strtoul (argv[1], 0, 0);                                    
 2025bf4:	ba 10 00 08 	mov  %o0, %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);
 2025bf8:	d0 00 40 00 	ld  [ %g1 ], %o0                               <== NOT EXECUTED
 2025bfc:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2025c00:	7f ff a0 f1 	call  200dfc4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2025c04:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025c08:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2025c0c:	12 80 00 6a 	bne  2025db4 <rtems_rfs_shell_block+0x1e0>     <== NOT EXECUTED
 2025c10:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  rc = rtems_rfs_group_bitmap_test (fs, false, block, &state);        
 2025c14:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2025c18:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2025c1c:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2025c20:	40 00 6d e6 	call  20413b8 <rtems_rfs_group_bitmap_test>    <== NOT EXECUTED
 2025c24:	96 07 bf f3 	add  %fp, -13, %o3                             <== NOT EXECUTED
  if (rc > 0)                                                         
 2025c28:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2025c2c:	14 80 00 4f 	bg  2025d68 <rtems_rfs_shell_block+0x194>      <== NOT EXECUTED
 2025c30:	c2 0f bf f3 	ldub  [ %fp + -13 ], %g1                       <== NOT EXECUTED
    printf ("error: testing block state: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  printf (" %5" PRIu32 ": block %s\n", block, state ? "allocated" : "free");
 2025c34:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2025c38:	02 80 00 70 	be  2025df8 <rtems_rfs_shell_block+0x224>      <== NOT EXECUTED
 2025c3c:	15 00 81 9c 	sethi  %hi(0x2067000), %o2                     <== NOT EXECUTED
 2025c40:	15 00 81 a5 	sethi  %hi(0x2069400), %o2                     <== NOT EXECUTED
 2025c44:	94 12 a1 18 	or  %o2, 0x118, %o2	! 2069518 <rtems_rfs_rtems_eval_config+0x340><== NOT EXECUTED
 2025c48:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2025c4c:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 2025c50:	40 00 9d 6d 	call  204d204 <printf>                         <== NOT EXECUTED
 2025c54:	90 12 21 78 	or  %o0, 0x178, %o0	! 2069578 <rtems_rfs_rtems_eval_config+0x3a0><== NOT EXECUTED
    printf ("error: opening buffer handle: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);    
 2025c58:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2025c5c:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2025c60:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2025c64:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
 2025c68:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
 2025c6c:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2025c70:	40 00 5b 2c 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2025c74:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc > 0)                                                         
 2025c78:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2025c7c:	14 80 00 61 	bg  2025e00 <rtems_rfs_shell_block+0x22c>      <== NOT EXECUTED
 2025c80:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          <== NOT EXECUTED
    printf ("error: requesting buffer handle: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  for (b = 0, data = rtems_rfs_buffer_data (&buffer);                 
 2025c84:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           <== NOT EXECUTED
 2025c88:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
 2025c8c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2025c90:	02 80 00 24 	be  2025d20 <rtems_rfs_shell_block+0x14c>      <== NOT EXECUTED
 2025c94:	f8 00 a0 1c 	ld  [ %g2 + 0x1c ], %i4                        <== NOT EXECUTED
        printf ("\n");                                                
      printf ("%04x ", b);                                            
    }                                                                 
    if (mod == 8)                                                     
      printf (" ");                                                   
    printf ("%02x ", *data);                                          
 2025c98:	37 00 81 a5 	sethi  %hi(0x2069400), %i3                     <== NOT EXECUTED
    int mod = b % 16;                                                 
    if (mod == 0)                                                     
    {                                                                 
      if (b)                                                          
        printf ("\n");                                                
      printf ("%04x ", b);                                            
 2025c9c:	35 00 81 a5 	sethi  %hi(0x2069400), %i2                     <== NOT EXECUTED
    }                                                                 
    if (mod == 8)                                                     
      printf (" ");                                                   
    printf ("%02x ", *data);                                          
 2025ca0:	b6 16 e1 d0 	or  %i3, 0x1d0, %i3                            <== NOT EXECUTED
    int mod = b % 16;                                                 
    if (mod == 0)                                                     
    {                                                                 
      if (b)                                                          
        printf ("\n");                                                
      printf ("%04x ", b);                                            
 2025ca4:	10 80 00 0f 	b  2025ce0 <rtems_rfs_shell_block+0x10c>       <== NOT EXECUTED
 2025ca8:	b4 16 a1 c8 	or  %i2, 0x1c8, %i2                            <== NOT EXECUTED
       b++, data++)                                                   
  {                                                                   
    int mod = b % 16;                                                 
    if (mod == 0)                                                     
    {                                                                 
      if (b)                                                          
 2025cac:	12 80 00 4f 	bne  2025de8 <rtems_rfs_shell_block+0x214>     <== NOT EXECUTED
 2025cb0:	01 00 00 00 	nop                                            <== NOT EXECUTED
        printf ("\n");                                                
      printf ("%04x ", b);                                            
 2025cb4:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 2025cb8:	40 00 9d 53 	call  204d204 <printf>                         <== NOT EXECUTED
 2025cbc:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
    }                                                                 
    if (mod == 8)                                                     
      printf (" ");                                                   
    printf ("%02x ", *data);                                          
 2025cc0:	d2 0f 00 1d 	ldub  [ %i4 + %i5 ], %o1                       <== NOT EXECUTED
 2025cc4:	40 00 9d 50 	call  204d204 <printf>                         <== NOT EXECUTED
 2025cc8:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    printf ("error: requesting buffer handle: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  for (b = 0, data = rtems_rfs_buffer_data (&buffer);                 
 2025ccc:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           <== NOT EXECUTED
       b < rtems_rfs_fs_block_size (fs);                              
       b++, data++)                                                   
 2025cd0:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
    printf ("error: requesting buffer handle: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  for (b = 0, data = rtems_rfs_buffer_data (&buffer);                 
 2025cd4:	80 a7 40 01 	cmp  %i5, %g1                                  <== NOT EXECUTED
 2025cd8:	1a 80 00 12 	bcc  2025d20 <rtems_rfs_shell_block+0x14c>     <== NOT EXECUTED
 2025cdc:	01 00 00 00 	nop                                            <== NOT EXECUTED
       b < rtems_rfs_fs_block_size (fs);                              
       b++, data++)                                                   
  {                                                                   
    int mod = b % 16;                                                 
    if (mod == 0)                                                     
 2025ce0:	82 8f 60 0f 	andcc  %i5, 0xf, %g1                           <== NOT EXECUTED
 2025ce4:	02 bf ff f2 	be  2025cac <rtems_rfs_shell_block+0xd8>       <== NOT EXECUTED
 2025ce8:	80 a7 60 00 	cmp  %i5, 0                                    <== NOT EXECUTED
    {                                                                 
      if (b)                                                          
        printf ("\n");                                                
      printf ("%04x ", b);                                            
    }                                                                 
    if (mod == 8)                                                     
 2025cec:	80 a0 60 08 	cmp  %g1, 8                                    <== NOT EXECUTED
 2025cf0:	32 bf ff f5 	bne,a   2025cc4 <rtems_rfs_shell_block+0xf0>   <== NOT EXECUTED
 2025cf4:	d2 0f 00 1d 	ldub  [ %i4 + %i5 ], %o1                       <== NOT EXECUTED
      printf (" ");                                                   
 2025cf8:	40 00 9d ad 	call  204d3ac <putchar>                        <== NOT EXECUTED
 2025cfc:	90 10 20 20 	mov  0x20, %o0                                 <== NOT EXECUTED
    printf ("%02x ", *data);                                          
 2025d00:	d2 0f 00 1d 	ldub  [ %i4 + %i5 ], %o1                       <== NOT EXECUTED
 2025d04:	40 00 9d 40 	call  204d204 <printf>                         <== NOT EXECUTED
 2025d08:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
    printf ("error: requesting buffer handle: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  for (b = 0, data = rtems_rfs_buffer_data (&buffer);                 
 2025d0c:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           <== NOT EXECUTED
       b < rtems_rfs_fs_block_size (fs);                              
       b++, data++)                                                   
 2025d10:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
    printf ("error: requesting buffer handle: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  for (b = 0, data = rtems_rfs_buffer_data (&buffer);                 
 2025d14:	80 a7 40 01 	cmp  %i5, %g1                                  <== NOT EXECUTED
 2025d18:	0a bf ff f3 	bcs  2025ce4 <rtems_rfs_shell_block+0x110>     <== NOT EXECUTED
 2025d1c:	82 8f 60 0f 	andcc  %i5, 0xf, %g1                           <== NOT EXECUTED
    if (mod == 8)                                                     
      printf (" ");                                                   
    printf ("%02x ", *data);                                          
  }                                                                   
                                                                      
  printf ("\n");                                                      
 2025d20:	40 00 9d a3 	call  204d3ac <putchar>                        <== NOT EXECUTED
 2025d24:	90 10 20 0a 	mov  0xa, %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);                       
 2025d28:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
 2025d2c:	40 00 5a 83 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2025d30:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2025d34:	fa 06 20 80 	ld  [ %i0 + 0x80 ], %i5                        <== NOT EXECUTED
  handle->dirty = false;                                              
 2025d38:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2025d3c:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2025d40:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2025d44:	40 00 5c 41 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2025d48:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2025d4c:	7f ff a0 ee 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2025d50:	d0 07 40 00 	ld  [ %i5 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025d54:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2025d58:	12 80 00 61 	bne  2025edc <rtems_rfs_shell_block+0x308>     <== NOT EXECUTED
 2025d5c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_shell_unlock_rfs (fs);                                    
                                                                      
  return 0;                                                           
}                                                                     
 2025d60:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025d64:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2025d68:	f6 06 20 80 	ld  [ %i0 + 0x80 ], %i3                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2025d6c:	40 00 5c 37 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2025d70:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2025d74:	7f ff a0 e4 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2025d78:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025d7c:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 2025d80:	32 80 00 3f 	bne,a   2025e7c <rtems_rfs_shell_block+0x2a8>  <== NOT EXECUTED
 2025d84:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_group_bitmap_test (fs, false, block, &state);        
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_shell_unlock_rfs (fs);                                  
    printf ("error: testing block state: block=%" PRIu32 ": (%d) %s\n",
 2025d88:	40 00 a6 78 	call  204f768 <strerror>                       <== NOT EXECUTED
 2025d8c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2025d90:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2025d94:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2025d98:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 2025d9c:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
            block, rc, strerror (rc));                                
    return 1;                                                         
 2025da0:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_group_bitmap_test (fs, false, block, &state);        
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_shell_unlock_rfs (fs);                                  
    printf ("error: testing block state: block=%" PRIu32 ": (%d) %s\n",
 2025da4:	40 00 9d 18 	call  204d204 <printf>                         <== NOT EXECUTED
 2025da8:	90 12 21 48 	or  %o0, 0x148, %o0                            <== NOT EXECUTED
 2025dac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025db0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025db4:	40 00 04 34 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025db8:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2025dbc:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2025dc0:	22 bf ff 96 	be,a   2025c18 <rtems_rfs_shell_block+0x44>    <== NOT EXECUTED
 2025dc4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2025dc8:	7f ff 8c b6 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2025dcc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2025dd0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025dd4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025dd8:	40 00 9d 0b 	call  204d204 <printf>                         <== NOT EXECUTED
 2025ddc:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
                                                                      
  block = strtoul (argv[1], 0, 0);                                    
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  rc = rtems_rfs_group_bitmap_test (fs, false, block, &state);        
 2025de0:	10 bf ff 8e 	b  2025c18 <rtems_rfs_shell_block+0x44>        <== NOT EXECUTED
 2025de4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  {                                                                   
    int mod = b % 16;                                                 
    if (mod == 0)                                                     
    {                                                                 
      if (b)                                                          
        printf ("\n");                                                
 2025de8:	40 00 9d 71 	call  204d3ac <putchar>                        <== NOT EXECUTED
 2025dec:	90 10 20 0a 	mov  0xa, %o0                                  <== NOT EXECUTED
      printf ("%04x ", b);                                            
 2025df0:	10 bf ff b2 	b  2025cb8 <rtems_rfs_shell_block+0xe4>        <== NOT EXECUTED
 2025df4:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    printf ("error: testing block state: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  printf (" %5" PRIu32 ": block %s\n", block, state ? "allocated" : "free");
 2025df8:	10 bf ff 94 	b  2025c48 <rtems_rfs_shell_block+0x74>        <== NOT EXECUTED
 2025dfc:	94 12 a0 c8 	or  %o2, 0xc8, %o2                             <== 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);                       
 2025e00:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
 2025e04:	40 00 5a 4d 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2025e08:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2025e0c:	f6 06 20 80 	ld  [ %i0 + 0x80 ], %i3                        <== NOT EXECUTED
  handle->dirty = false;                                              
 2025e10:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2025e14:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2025e18:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2025e1c:	40 00 5c 0b 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2025e20:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2025e24:	7f ff a0 b8 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2025e28:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025e2c:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 2025e30:	32 80 00 1f 	bne,a   2025eac <rtems_rfs_shell_block+0x2d8>  <== NOT EXECUTED
 2025e34:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);    
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &buffer);                      
    rtems_rfs_shell_unlock_rfs (fs);                                  
    printf ("error: requesting buffer handle: block=%" PRIu32 ": (%d) %s\n",
 2025e38:	40 00 a6 4c 	call  204f768 <strerror>                       <== NOT EXECUTED
 2025e3c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2025e40:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2025e44:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2025e48:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 2025e4c:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
            block, rc, strerror (rc));                                
    return 1;                                                         
 2025e50:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
  rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);    
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &buffer);                      
    rtems_rfs_shell_unlock_rfs (fs);                                  
    printf ("error: requesting buffer handle: block=%" PRIu32 ": (%d) %s\n",
 2025e54:	40 00 9c ec 	call  204d204 <printf>                         <== NOT EXECUTED
 2025e58:	90 12 21 90 	or  %o0, 0x190, %o0                            <== NOT EXECUTED
 2025e5c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025e60:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  int                     b;                                          
  int                     rc;                                         
                                                                      
  if (argc <= 1)                                                      
  {                                                                   
    printf ("error: no block number provided\n");                     
 2025e64:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
    return 1;                                                         
 2025e68:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
  int                     b;                                          
  int                     rc;                                         
                                                                      
  if (argc <= 1)                                                      
  {                                                                   
    printf ("error: no block number provided\n");                     
 2025e6c:	40 00 9d 7e 	call  204d464 <puts>                           <== NOT EXECUTED
 2025e70:	90 12 21 28 	or  %o0, 0x128, %o0                            <== NOT EXECUTED
 2025e74:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025e78:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025e7c:	40 00 04 02 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025e80:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2025e84:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2025e88:	02 bf ff c0 	be  2025d88 <rtems_rfs_shell_block+0x1b4>      <== NOT EXECUTED
 2025e8c:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2025e90:	7f ff 8c 84 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2025e94:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2025e98:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025e9c:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025ea0:	40 00 9c d9 	call  204d204 <printf>                         <== NOT EXECUTED
 2025ea4:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2025ea8:	30 bf ff b8 	b,a   2025d88 <rtems_rfs_shell_block+0x1b4>    <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025eac:	40 00 03 f6 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025eb0:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2025eb4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2025eb8:	02 bf ff e0 	be  2025e38 <rtems_rfs_shell_block+0x264>      <== NOT EXECUTED
 2025ebc:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2025ec0:	7f ff 8c 78 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2025ec4:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2025ec8:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025ecc:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025ed0:	40 00 9c cd 	call  204d204 <printf>                         <== NOT EXECUTED
 2025ed4:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2025ed8:	30 bf ff d8 	b,a   2025e38 <rtems_rfs_shell_block+0x264>    <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025edc:	40 00 03 ea 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025ee0:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2025ee4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2025ee8:	02 bf ff 9e 	be  2025d60 <rtems_rfs_shell_block+0x18c>      <== NOT EXECUTED
 2025eec:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2025ef0:	7f ff 8c 6c 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2025ef4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2025ef8:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025efc:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025f00:	40 00 9c c1 	call  204d204 <printf>                         <== NOT EXECUTED
 2025f04:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2025f08:	30 bf ff 96 	b,a   2025d60 <rtems_rfs_shell_block+0x18c>    <== NOT EXECUTED
                                                                      

020256b8 <rtems_rfs_shell_data>: return rc; } static int rtems_rfs_shell_data (rtems_rfs_file_system* fs, int argc, char *argv[]) {
 20256b8:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  size_t blocks;                                                      
  size_t inodes;                                                      
  int    bpcent;                                                      
  int    ipcent;                                                      
                                                                      
  printf ("RFS Filesystem Data\n");                                   
 20256bc:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20256c0:	40 00 9f 69 	call  204d464 <puts>                           <== NOT EXECUTED
 20256c4:	90 12 22 08 	or  %o0, 0x208, %o0	! 2069208 <rtems_rfs_rtems_eval_config+0x30><== NOT EXECUTED
  printf ("             flags: %08" PRIx32 "\n", fs->flags);          
 20256c8:	d2 06 00 00 	ld  [ %i0 ], %o1                               <== NOT EXECUTED
 20256cc:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20256d0:	40 00 9e cd 	call  204d204 <printf>                         <== NOT EXECUTED
 20256d4:	90 12 22 20 	or  %o0, 0x220, %o0	! 2069220 <rtems_rfs_rtems_eval_config+0x48><== NOT EXECUTED
#if 0                                                                 
  printf ("            device: %08lx\n",         rtems_rfs_fs_device (fs));
#endif                                                                
  printf ("            blocks: %zu\n",           rtems_rfs_fs_blocks (fs));
 20256d8:	d2 06 20 04 	ld  [ %i0 + 4 ], %o1                           <== NOT EXECUTED
 20256dc:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20256e0:	40 00 9e c9 	call  204d204 <printf>                         <== NOT EXECUTED
 20256e4:	90 12 22 40 	or  %o0, 0x240, %o0	! 2069240 <rtems_rfs_rtems_eval_config+0x68><== NOT EXECUTED
  printf ("        block size: %zu\n",           rtems_rfs_fs_block_size (fs));
 20256e8:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           <== NOT EXECUTED
 20256ec:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20256f0:	40 00 9e c5 	call  204d204 <printf>                         <== NOT EXECUTED
 20256f4:	90 12 22 60 	or  %o0, 0x260, %o0	! 2069260 <rtems_rfs_rtems_eval_config+0x88><== NOT EXECUTED
  printf ("              size: %" PRIu64 "\n",   rtems_rfs_fs_size (fs));
 20256f8:	40 00 67 8c 	call  203f528 <rtems_rfs_fs_size>              <== NOT EXECUTED
 20256fc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2025700:	94 10 00 09 	mov  %o1, %o2                                  <== NOT EXECUTED
 2025704:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025708:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 202570c:	40 00 9e be 	call  204d204 <printf>                         <== NOT EXECUTED
 2025710:	90 12 22 80 	or  %o0, 0x280, %o0	! 2069280 <rtems_rfs_rtems_eval_config+0xa8><== NOT EXECUTED
  printf ("  media block size: %" PRIu32 "\n",   rtems_rfs_fs_media_block_size (fs));
 2025714:	c2 06 20 10 	ld  [ %i0 + 0x10 ], %g1                        <== NOT EXECUTED
 2025718:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 202571c:	d2 00 60 20 	ld  [ %g1 + 0x20 ], %o1                        <== NOT EXECUTED
 2025720:	40 00 9e b9 	call  204d204 <printf>                         <== NOT EXECUTED
 2025724:	90 12 22 a0 	or  %o0, 0x2a0, %o0                            <== NOT EXECUTED
  printf ("        media size: %" PRIu64 "\n",   rtems_rfs_fs_media_size (fs));
 2025728:	40 00 67 89 	call  203f54c <rtems_rfs_fs_media_size>        <== NOT EXECUTED
 202572c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2025730:	94 10 00 09 	mov  %o1, %o2                                  <== NOT EXECUTED
 2025734:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025738:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 202573c:	40 00 9e b2 	call  204d204 <printf>                         <== NOT EXECUTED
 2025740:	90 12 22 c0 	or  %o0, 0x2c0, %o0	! 20692c0 <rtems_rfs_rtems_eval_config+0xe8><== NOT EXECUTED
  printf ("            inodes: %" PRIu32 "\n",   rtems_rfs_fs_inodes (fs));
 2025744:	d2 06 20 14 	ld  [ %i0 + 0x14 ], %o1                        <== NOT EXECUTED
 2025748:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 202574c:	40 00 9e ae 	call  204d204 <printf>                         <== NOT EXECUTED
 2025750:	90 12 22 e0 	or  %o0, 0x2e0, %o0	! 20692e0 <rtems_rfs_rtems_eval_config+0x108><== NOT EXECUTED
  printf ("        bad blocks: %" PRIu32 "\n",   fs->bad_blocks);     
 2025754:	d2 06 20 18 	ld  [ %i0 + 0x18 ], %o1                        <== NOT EXECUTED
 2025758:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 202575c:	40 00 9e aa 	call  204d204 <printf>                         <== NOT EXECUTED
 2025760:	90 12 23 00 	or  %o0, 0x300, %o0	! 2069300 <rtems_rfs_rtems_eval_config+0x128><== NOT EXECUTED
  printf ("  max. name length: %" PRIu32 "\n",   rtems_rfs_fs_max_name (fs));
 2025764:	d2 06 20 1c 	ld  [ %i0 + 0x1c ], %o1                        <== NOT EXECUTED
 2025768:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 202576c:	40 00 9e a6 	call  204d204 <printf>                         <== NOT EXECUTED
 2025770:	90 12 23 20 	or  %o0, 0x320, %o0	! 2069320 <rtems_rfs_rtems_eval_config+0x148><== NOT EXECUTED
  printf ("            groups: %d\n",            fs->group_count);    
 2025774:	d2 06 20 24 	ld  [ %i0 + 0x24 ], %o1                        <== NOT EXECUTED
 2025778:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 202577c:	40 00 9e a2 	call  204d204 <printf>                         <== NOT EXECUTED
 2025780:	90 12 23 40 	or  %o0, 0x340, %o0	! 2069340 <rtems_rfs_rtems_eval_config+0x168><== NOT EXECUTED
  printf ("      group blocks: %zd\n",           fs->group_blocks);   
 2025784:	d2 06 20 28 	ld  [ %i0 + 0x28 ], %o1                        <== NOT EXECUTED
 2025788:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 202578c:	40 00 9e 9e 	call  204d204 <printf>                         <== NOT EXECUTED
 2025790:	90 12 23 58 	or  %o0, 0x358, %o0	! 2069358 <rtems_rfs_rtems_eval_config+0x180><== NOT EXECUTED
  printf ("      group inodes: %zd\n",           fs->group_inodes);   
 2025794:	d2 06 20 2c 	ld  [ %i0 + 0x2c ], %o1                        <== NOT EXECUTED
 2025798:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 202579c:	40 00 9e 9a 	call  204d204 <printf>                         <== NOT EXECUTED
 20257a0:	90 12 23 78 	or  %o0, 0x378, %o0	! 2069378 <rtems_rfs_rtems_eval_config+0x1a0><== NOT EXECUTED
  printf ("  inodes per block: %zd\n",           fs->inodes_per_block);
 20257a4:	d2 06 20 30 	ld  [ %i0 + 0x30 ], %o1                        <== NOT EXECUTED
 20257a8:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20257ac:	40 00 9e 96 	call  204d204 <printf>                         <== NOT EXECUTED
 20257b0:	90 12 23 98 	or  %o0, 0x398, %o0	! 2069398 <rtems_rfs_rtems_eval_config+0x1c0><== NOT EXECUTED
  printf ("  blocks per block: %zd\n",           fs->blocks_per_block);
 20257b4:	d2 06 20 34 	ld  [ %i0 + 0x34 ], %o1                        <== NOT EXECUTED
 20257b8:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20257bc:	40 00 9e 92 	call  204d204 <printf>                         <== NOT EXECUTED
 20257c0:	90 12 23 b8 	or  %o0, 0x3b8, %o0	! 20693b8 <rtems_rfs_rtems_eval_config+0x1e0><== NOT EXECUTED
  printf ("     singly blocks: %zd\n",           fs->block_map_singly_blocks);
 20257c4:	d2 06 20 38 	ld  [ %i0 + 0x38 ], %o1                        <== NOT EXECUTED
 20257c8:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20257cc:	40 00 9e 8e 	call  204d204 <printf>                         <== NOT EXECUTED
 20257d0:	90 12 23 d8 	or  %o0, 0x3d8, %o0	! 20693d8 <rtems_rfs_rtems_eval_config+0x200><== NOT EXECUTED
  printf ("    doublly blocks: %zd\n",           fs->block_map_doubly_blocks);
 20257d4:	d2 06 20 3c 	ld  [ %i0 + 0x3c ], %o1                        <== NOT EXECUTED
 20257d8:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20257dc:	40 00 9e 8a 	call  204d204 <printf>                         <== NOT EXECUTED
 20257e0:	90 12 23 f8 	or  %o0, 0x3f8, %o0	! 20693f8 <rtems_rfs_rtems_eval_config+0x220><== NOT EXECUTED
  printf (" max. held buffers: %" PRId32 "\n",   fs->max_held_buffers);
 20257e4:	d2 06 20 40 	ld  [ %i0 + 0x40 ], %o1                        <== NOT EXECUTED
 20257e8:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 20257ec:	40 00 9e 86 	call  204d204 <printf>                         <== NOT EXECUTED
 20257f0:	90 12 20 18 	or  %o0, 0x18, %o0	! 2069418 <rtems_rfs_rtems_eval_config+0x240><== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 20257f4:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        <== 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);
 20257f8:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 20257fc:	d0 00 40 00 	ld  [ %g1 ], %o0                               <== NOT EXECUTED
 2025800:	7f ff a1 f1 	call  200dfc4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2025804:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025808:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 202580c:	12 80 00 3e 	bne  2025904 <rtems_rfs_shell_data+0x24c>      <== NOT EXECUTED
 2025810:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  printf ("    doublly blocks: %zd\n",           fs->block_map_doubly_blocks);
  printf (" max. held buffers: %" PRId32 "\n",   fs->max_held_buffers);
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
 2025814:	92 07 bf f8 	add  %fp, -8, %o1                              <== NOT EXECUTED
 2025818:	94 07 bf fc 	add  %fp, -4, %o2                              <== NOT EXECUTED
 202581c:	40 00 6f 2f 	call  20414d8 <rtems_rfs_group_usage>          <== NOT EXECUTED
 2025820:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2025824:	fa 06 20 80 	ld  [ %i0 + 0x80 ], %i5                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2025828:	40 00 5d 88 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 202582c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2025830:	7f ff a2 35 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2025834:	d0 07 40 00 	ld  [ %i5 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025838:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 202583c:	32 80 00 4a 	bne,a   2025964 <rtems_rfs_shell_data+0x2ac>   <== NOT EXECUTED
 2025840:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
  rtems_rfs_shell_unlock_rfs (fs);                                    
                                                                      
  bpcent = (blocks * 1000) / rtems_rfs_fs_blocks (fs);                
 2025844:	fa 07 bf f8 	ld  [ %fp + -8 ], %i5                          <== NOT EXECUTED
 2025848:	d2 06 20 04 	ld  [ %i0 + 4 ], %o1                           <== NOT EXECUTED
 202584c:	83 2f 60 02 	sll  %i5, 2, %g1                               <== NOT EXECUTED
 2025850:	91 2f 60 07 	sll  %i5, 7, %o0                               <== NOT EXECUTED
 2025854:	90 22 00 01 	sub  %o0, %g1, %o0                             <== NOT EXECUTED
 2025858:	90 02 00 1d 	add  %o0, %i5, %o0                             <== NOT EXECUTED
 202585c:	40 00 f1 10 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2025860:	91 2a 20 03 	sll  %o0, 3, %o0                               <== NOT EXECUTED
  ipcent = (inodes * 1000) / rtems_rfs_fs_inodes (fs);                
 2025864:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          <== NOT EXECUTED
 2025868:	d2 06 20 14 	ld  [ %i0 + 0x14 ], %o1                        <== NOT EXECUTED
 202586c:	85 28 60 02 	sll  %g1, 2, %g2                               <== NOT EXECUTED
 2025870:	87 28 60 07 	sll  %g1, 7, %g3                               <== NOT EXECUTED
 2025874:	84 20 c0 02 	sub  %g3, %g2, %g2                             <== NOT EXECUTED
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  rtems_rfs_shell_unlock_rfs (fs);                                    
                                                                      
  bpcent = (blocks * 1000) / rtems_rfs_fs_blocks (fs);                
 2025878:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
  ipcent = (inodes * 1000) / rtems_rfs_fs_inodes (fs);                
 202587c:	90 00 80 01 	add  %g2, %g1, %o0                             <== NOT EXECUTED
 2025880:	40 00 f1 07 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2025884:	91 2a 20 03 	sll  %o0, 3, %o0                               <== NOT EXECUTED
                                                                      
  printf ("       blocks used: %zd (%d.%d%%)\n",                      
 2025888:	92 10 20 0a 	mov  0xa, %o1                                  <== NOT EXECUTED
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
                                                                      
  rtems_rfs_shell_unlock_rfs (fs);                                    
                                                                      
  bpcent = (blocks * 1000) / rtems_rfs_fs_blocks (fs);                
  ipcent = (inodes * 1000) / rtems_rfs_fs_inodes (fs);                
 202588c:	b8 10 00 08 	mov  %o0, %i4                                  <== NOT EXECUTED
                                                                      
  printf ("       blocks used: %zd (%d.%d%%)\n",                      
 2025890:	40 00 f1 05 	call  2061ca4 <.div>                           <== NOT EXECUTED
 2025894:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2025898:	92 10 20 0a 	mov  0xa, %o1                                  <== NOT EXECUTED
 202589c:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
 20258a0:	40 00 f1 ad 	call  2061f54 <.rem>                           <== NOT EXECUTED
 20258a4:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 20258a8:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 20258ac:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 20258b0:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20258b4:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 20258b8:	40 00 9e 53 	call  204d204 <printf>                         <== NOT EXECUTED
 20258bc:	90 12 20 38 	or  %o0, 0x38, %o0	! 2069438 <rtems_rfs_rtems_eval_config+0x260><== NOT EXECUTED
          blocks, bpcent / 10, bpcent % 10);                          
  printf ("       inodes used: %zd (%d.%d%%)\n",                      
 20258c0:	92 10 20 0a 	mov  0xa, %o1                                  <== NOT EXECUTED
 20258c4:	f6 07 bf fc 	ld  [ %fp + -4 ], %i3                          <== NOT EXECUTED
 20258c8:	40 00 f0 f7 	call  2061ca4 <.div>                           <== NOT EXECUTED
 20258cc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 20258d0:	92 10 20 0a 	mov  0xa, %o1                                  <== NOT EXECUTED
 20258d4:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
 20258d8:	40 00 f1 9f 	call  2061f54 <.rem>                           <== NOT EXECUTED
 20258dc:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
          inodes, ipcent / 10, ipcent % 10);                          
                                                                      
  return 0;                                                           
}                                                                     
 20258e0:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
  bpcent = (blocks * 1000) / rtems_rfs_fs_blocks (fs);                
  ipcent = (inodes * 1000) / rtems_rfs_fs_inodes (fs);                
                                                                      
  printf ("       blocks used: %zd (%d.%d%%)\n",                      
          blocks, bpcent / 10, bpcent % 10);                          
  printf ("       inodes used: %zd (%d.%d%%)\n",                      
 20258e4:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 20258e8:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 20258ec:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 20258f0:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 20258f4:	40 00 9e 44 	call  204d204 <printf>                         <== NOT EXECUTED
 20258f8:	90 12 20 60 	or  %o0, 0x60, %o0                             <== NOT EXECUTED
          inodes, ipcent / 10, ipcent % 10);                          
                                                                      
  return 0;                                                           
}                                                                     
 20258fc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025900:	81 e8 00 00 	restore                                        <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025904:	40 00 05 60 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025908:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 202590c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2025910:	02 bf ff c2 	be  2025818 <rtems_rfs_shell_data+0x160>       <== NOT EXECUTED
 2025914:	92 07 bf f8 	add  %fp, -8, %o1                              <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2025918:	7f ff 8d e2 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 202591c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2025920:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025924:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025928:	40 00 9e 37 	call  204d204 <printf>                         <== NOT EXECUTED
 202592c:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
  printf ("    doublly blocks: %zd\n",           fs->block_map_doubly_blocks);
  printf (" max. held buffers: %" PRId32 "\n",   fs->max_held_buffers);
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  rtems_rfs_group_usage (fs, &blocks, &inodes);                       
 2025930:	92 07 bf f8 	add  %fp, -8, %o1                              <== NOT EXECUTED
 2025934:	94 07 bf fc 	add  %fp, -4, %o2                              <== NOT EXECUTED
 2025938:	40 00 6e e8 	call  20414d8 <rtems_rfs_group_usage>          <== NOT EXECUTED
 202593c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2025940:	fa 06 20 80 	ld  [ %i0 + 0x80 ], %i5                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2025944:	40 00 5d 41 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2025948:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 202594c:	7f ff a1 ee 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2025950:	d0 07 40 00 	ld  [ %i5 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025954:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2025958:	22 bf ff bc 	be,a   2025848 <rtems_rfs_shell_data+0x190>    <== NOT EXECUTED
 202595c:	fa 07 bf f8 	ld  [ %fp + -8 ], %i5                          <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025960:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 2025964:	40 00 05 48 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025968:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 202596c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2025970:	22 bf ff b6 	be,a   2025848 <rtems_rfs_shell_data+0x190>    <== NOT EXECUTED
 2025974:	fa 07 bf f8 	ld  [ %fp + -8 ], %i5                          <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2025978:	7f ff 8d ca 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 202597c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2025980:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025984:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025988:	40 00 9e 1f 	call  204d204 <printf>                         <== NOT EXECUTED
 202598c:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
                                                                      
  rtems_rfs_shell_unlock_rfs (fs);                                    
                                                                      
  bpcent = (blocks * 1000) / rtems_rfs_fs_blocks (fs);                
 2025990:	10 bf ff ae 	b  2025848 <rtems_rfs_shell_data+0x190>        <== NOT EXECUTED
 2025994:	fa 07 bf f8 	ld  [ %fp + -8 ], %i5                          <== NOT EXECUTED
                                                                      

02025f0c <rtems_rfs_shell_dir>: return 0; } static int rtems_rfs_shell_dir (rtems_rfs_file_system* fs, int argc, char *argv[]) {
 2025f0c:	9d e3 bf 90 	save  %sp, -112, %sp                           <== NOT EXECUTED
  bool                    state;                                      
  int                     entry;                                      
  int                     b;                                          
  int                     rc;                                         
                                                                      
  if (argc <= 1)                                                      
 2025f10:	80 a6 60 01 	cmp  %i1, 1                                    <== NOT EXECUTED
 2025f14:	04 80 00 de 	ble  202628c <rtems_rfs_shell_dir+0x380>       <== NOT EXECUTED
 2025f18:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
  {                                                                   
    printf ("error: no block number provided\n");                     
    return 1;                                                         
  }                                                                   
                                                                      
  block = strtoul (argv[1], 0, 0);                                    
 2025f1c:	d0 06 a0 04 	ld  [ %i2 + 4 ], %o0                           <== NOT EXECUTED
 2025f20:	40 00 ac 8e 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2025f24:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2025f28:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        <== NOT EXECUTED
  {                                                                   
    printf ("error: no block number provided\n");                     
    return 1;                                                         
  }                                                                   
                                                                      
  block = strtoul (argv[1], 0, 0);                                    
 2025f2c:	ba 10 00 08 	mov  %o0, %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);
 2025f30:	d0 00 40 00 	ld  [ %g1 ], %o0                               <== NOT EXECUTED
 2025f34:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2025f38:	7f ff a0 23 	call  200dfc4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2025f3c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025f40:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2025f44:	12 80 00 a1 	bne  20261c8 <rtems_rfs_shell_dir+0x2bc>       <== NOT EXECUTED
 2025f48:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  rc = rtems_rfs_group_bitmap_test (fs, false, block, &state);        
 2025f4c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2025f50:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2025f54:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2025f58:	40 00 6d 18 	call  20413b8 <rtems_rfs_group_bitmap_test>    <== NOT EXECUTED
 2025f5c:	96 07 bf f3 	add  %fp, -13, %o3                             <== NOT EXECUTED
  if (rc > 0)                                                         
 2025f60:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2025f64:	14 80 00 86 	bg  202617c <rtems_rfs_shell_dir+0x270>        <== NOT EXECUTED
 2025f68:	c2 0f bf f3 	ldub  [ %fp + -13 ], %g1                       <== NOT EXECUTED
    printf ("error: testing block state: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  printf (" %5" PRIu32 ": block %s\n", block, state ? "allocated" : "free");
 2025f6c:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2025f70:	02 80 00 ac 	be  2026220 <rtems_rfs_shell_dir+0x314>        <== NOT EXECUTED
 2025f74:	15 00 81 9c 	sethi  %hi(0x2067000), %o2                     <== NOT EXECUTED
 2025f78:	15 00 81 a5 	sethi  %hi(0x2069400), %o2                     <== NOT EXECUTED
 2025f7c:	94 12 a1 18 	or  %o2, 0x118, %o2	! 2069518 <rtems_rfs_rtems_eval_config+0x340><== NOT EXECUTED
 2025f80:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2025f84:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 2025f88:	40 00 9c 9f 	call  204d204 <printf>                         <== NOT EXECUTED
 2025f8c:	90 12 21 78 	or  %o0, 0x178, %o0	! 2069578 <rtems_rfs_rtems_eval_config+0x3a0><== NOT EXECUTED
    printf ("error: opening buffer handle: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);    
 2025f90:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2025f94:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2025f98:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2025f9c:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
 2025fa0:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
 2025fa4:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 2025fa8:	40 00 5a 5e 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2025fac:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
  if (rc > 0)                                                         
 2025fb0:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2025fb4:	14 80 00 9d 	bg  2026228 <rtems_rfs_shell_dir+0x31c>        <== NOT EXECUTED
 2025fb8:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          <== NOT EXECUTED
                                                                      
  b = 0;                                                              
  entry = 1;                                                          
  data = rtems_rfs_buffer_data (&buffer);                             
                                                                      
  while (b < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE - 1))
 2025fbc:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           <== NOT EXECUTED
 2025fc0:	80 a0 60 0b 	cmp  %g1, 0xb                                  <== NOT EXECUTED
 2025fc4:	02 80 00 5e 	be  202613c <rtems_rfs_shell_dir+0x230>        <== NOT EXECUTED
 2025fc8:	f8 00 a0 1c 	ld  [ %g2 + 0x1c ], %i4                        <== NOT EXECUTED
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           length;                                             
    int           c;                                                  
                                                                      
    eino    = rtems_rfs_dir_entry_ino (data);                         
 2025fcc:	d6 0f 20 01 	ldub  [ %i4 + 1 ], %o3                         <== NOT EXECUTED
 2025fd0:	c8 0f 20 02 	ldub  [ %i4 + 2 ], %g4                         <== NOT EXECUTED
 2025fd4:	c6 0f 20 03 	ldub  [ %i4 + 3 ], %g3                         <== NOT EXECUTED
 2025fd8:	c2 0f 00 00 	ldub  [ %i4 ], %g1                             <== NOT EXECUTED
    elength = rtems_rfs_dir_entry_length (data);                      
 2025fdc:	f4 0f 20 08 	ldub  [ %i4 + 8 ], %i2                         <== NOT EXECUTED
 2025fe0:	c4 0f 20 09 	ldub  [ %i4 + 9 ], %g2                         <== NOT EXECUTED
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           length;                                             
    int           c;                                                  
                                                                      
    eino    = rtems_rfs_dir_entry_ino (data);                         
 2025fe4:	97 2a e0 10 	sll  %o3, 0x10, %o3                            <== NOT EXECUTED
 2025fe8:	89 29 20 08 	sll  %g4, 8, %g4                               <== NOT EXECUTED
 2025fec:	83 28 60 18 	sll  %g1, 0x18, %g1                            <== NOT EXECUTED
 2025ff0:	96 12 c0 04 	or  %o3, %g4, %o3                              <== NOT EXECUTED
    elength = rtems_rfs_dir_entry_length (data);                      
 2025ff4:	b5 2e a0 08 	sll  %i2, 8, %i2                               <== NOT EXECUTED
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           length;                                             
    int           c;                                                  
                                                                      
    eino    = rtems_rfs_dir_entry_ino (data);                         
 2025ff8:	96 12 c0 03 	or  %o3, %g3, %o3                              <== NOT EXECUTED
    elength = rtems_rfs_dir_entry_length (data);                      
 2025ffc:	b4 16 80 02 	or  %i2, %g2, %i2                              <== NOT EXECUTED
                                                                      
    if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                         
 2026000:	29 00 00 3f 	sethi  %hi(0xfc00), %l4                        <== NOT EXECUTED
 2026004:	a8 15 23 ff 	or  %l4, 0x3ff, %l4	! ffff <PROM_START+0xffff> <== NOT EXECUTED
 2026008:	80 a6 80 14 	cmp  %i2, %l4                                  <== NOT EXECUTED
 202600c:	02 80 00 4c 	be  202613c <rtems_rfs_shell_dir+0x230>        <== NOT EXECUTED
 2026010:	96 12 c0 01 	or  %o3, %g1, %o3                              <== NOT EXECUTED
      break;                                                          
    }                                                                 
                                                                      
    length = elength - RTEMS_RFS_DIR_ENTRY_SIZE;                      
                                                                      
    printf (" %5d: %04x inode=%-6" PRIu32 " hash=%08" PRIx32 " name[%03u]=",
 2026014:	27 00 81 a5 	sethi  %hi(0x2069400), %l3                     <== NOT EXECUTED
      length = 50;                                                    
                                                                      
    for (c = 0; c < length; c++)                                      
      printf ("%c", data[RTEMS_RFS_DIR_ENTRY_SIZE + c]);              
    if (length < elength - RTEMS_RFS_DIR_ENTRY_SIZE)                  
      printf ("...");                                                 
 2026018:	2b 00 81 a5 	sethi  %hi(0x2069400), %l5                     <== NOT EXECUTED
    int           c;                                                  
                                                                      
    eino    = rtems_rfs_dir_entry_ino (data);                         
    elength = rtems_rfs_dir_entry_length (data);                      
                                                                      
    if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                         
 202601c:	a0 10 20 00 	clr  %l0                                       <== NOT EXECUTED
 2026020:	a4 10 20 01 	mov  1, %l2                                    <== NOT EXECUTED
      break;                                                          
    }                                                                 
                                                                      
    length = elength - RTEMS_RFS_DIR_ENTRY_SIZE;                      
                                                                      
    printf (" %5d: %04x inode=%-6" PRIu32 " hash=%08" PRIx32 " name[%03u]=",
 2026024:	a6 14 e2 30 	or  %l3, 0x230, %l3                            <== NOT EXECUTED
      length = 50;                                                    
                                                                      
    for (c = 0; c < length; c++)                                      
      printf ("%c", data[RTEMS_RFS_DIR_ENTRY_SIZE + c]);              
    if (length < elength - RTEMS_RFS_DIR_ENTRY_SIZE)                  
      printf ("...");                                                 
 2026028:	aa 15 62 60 	or  %l5, 0x260, %l5                            <== NOT EXECUTED
    elength = rtems_rfs_dir_entry_length (data);                      
                                                                      
    if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                         
      break;                                                          
                                                                      
    if ((elength < RTEMS_RFS_DIR_ENTRY_SIZE) ||                       
 202602c:	80 a6 a0 09 	cmp  %i2, 9                                    <== NOT EXECUTED
 2026030:	04 80 00 a9 	ble  20262d4 <rtems_rfs_shell_dir+0x3c8>       <== NOT EXECUTED
 2026034:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
 2026038:	c2 06 20 1c 	ld  [ %i0 + 0x1c ], %g1                        <== NOT EXECUTED
 202603c:	80 a6 80 01 	cmp  %i2, %g1                                  <== NOT EXECUTED
 2026040:	1a 80 00 a5 	bcc  20262d4 <rtems_rfs_shell_dir+0x3c8>       <== NOT EXECUTED
 2026044:	80 a2 e0 00 	cmp  %o3, 0                                    <== NOT EXECUTED
    {                                                                 
      printf (" %5d: entry length appears corrupt: %d\n", entry, elength);
      break;                                                          
    }                                                                 
                                                                      
    if ((eino < RTEMS_RFS_ROOT_INO) || (eino >= rtems_rfs_fs_inodes (fs)))
 2026048:	02 80 00 aa 	be  20262f0 <rtems_rfs_shell_dir+0x3e4>        <== NOT EXECUTED
 202604c:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 2026050:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        <== NOT EXECUTED
 2026054:	80 a0 40 0b 	cmp  %g1, %o3                                  <== NOT EXECUTED
 2026058:	08 80 00 a5 	bleu  20262ec <rtems_rfs_shell_dir+0x3e0>      <== NOT EXECUTED
 202605c:	b2 06 bf f6 	add  %i2, -10, %i1                             <== NOT EXECUTED
    length = elength - RTEMS_RFS_DIR_ENTRY_SIZE;                      
                                                                      
    printf (" %5d: %04x inode=%-6" PRIu32 " hash=%08" PRIx32 " name[%03u]=",
            entry, b,                                                 
            rtems_rfs_dir_entry_ino (data),                           
            rtems_rfs_dir_entry_hash (data),                          
 2026060:	c6 0f 20 05 	ldub  [ %i4 + 5 ], %g3                         <== NOT EXECUTED
 2026064:	c2 0f 20 06 	ldub  [ %i4 + 6 ], %g1                         <== NOT EXECUTED
 2026068:	d8 0f 20 04 	ldub  [ %i4 + 4 ], %o4                         <== NOT EXECUTED
 202606c:	c4 0f 20 07 	ldub  [ %i4 + 7 ], %g2                         <== NOT EXECUTED
 2026070:	87 28 e0 10 	sll  %g3, 0x10, %g3                            <== NOT EXECUTED
 2026074:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 2026078:	99 2b 20 18 	sll  %o4, 0x18, %o4                            <== NOT EXECUTED
      break;                                                          
    }                                                                 
                                                                      
    length = elength - RTEMS_RFS_DIR_ENTRY_SIZE;                      
                                                                      
    printf (" %5d: %04x inode=%-6" PRIu32 " hash=%08" PRIx32 " name[%03u]=",
 202607c:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
            entry, b,                                                 
            rtems_rfs_dir_entry_ino (data),                           
            rtems_rfs_dir_entry_hash (data),                          
 2026080:	98 13 00 03 	or  %o4, %g3, %o4                              <== NOT EXECUTED
      break;                                                          
    }                                                                 
                                                                      
    length = elength - RTEMS_RFS_DIR_ENTRY_SIZE;                      
                                                                      
    printf (" %5d: %04x inode=%-6" PRIu32 " hash=%08" PRIx32 " name[%03u]=",
 2026084:	92 10 00 12 	mov  %l2, %o1                                  <== NOT EXECUTED
            entry, b,                                                 
            rtems_rfs_dir_entry_ino (data),                           
            rtems_rfs_dir_entry_hash (data),                          
 2026088:	98 13 00 02 	or  %o4, %g2, %o4                              <== NOT EXECUTED
      break;                                                          
    }                                                                 
                                                                      
    length = elength - RTEMS_RFS_DIR_ENTRY_SIZE;                      
                                                                      
    printf (" %5d: %04x inode=%-6" PRIu32 " hash=%08" PRIx32 " name[%03u]=",
 202608c:	94 10 00 10 	mov  %l0, %o2                                  <== NOT EXECUTED
 2026090:	98 13 00 01 	or  %o4, %g1, %o4                              <== NOT EXECUTED
 2026094:	40 00 9c 5c 	call  204d204 <printf>                         <== NOT EXECUTED
 2026098:	9a 10 00 19 	mov  %i1, %o5                                  <== NOT EXECUTED
 202609c:	80 a6 60 32 	cmp  %i1, 0x32                                 <== NOT EXECUTED
 20260a0:	04 80 00 57 	ble  20261fc <rtems_rfs_shell_dir+0x2f0>       <== NOT EXECUTED
 20260a4:	a2 10 00 19 	mov  %i1, %l1                                  <== NOT EXECUTED
 20260a8:	a2 10 20 32 	mov  0x32, %l1                                 <== NOT EXECUTED
 20260ac:	ba 10 00 1c 	mov  %i4, %i5                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_shell_dir (rtems_rfs_file_system* fs, int argc, char *argv[])
 20260b0:	b6 07 00 11 	add  %i4, %l1, %i3                             <== NOT EXECUTED
                                                                      
    if (length > 50)                                                  
      length = 50;                                                    
                                                                      
    for (c = 0; c < length; c++)                                      
      printf ("%c", data[RTEMS_RFS_DIR_ENTRY_SIZE + c]);              
 20260b4:	d0 0f 60 0a 	ldub  [ %i5 + 0xa ], %o0                       <== NOT EXECUTED
 20260b8:	40 00 9c bd 	call  204d3ac <putchar>                        <== NOT EXECUTED
 20260bc:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
            length);                                                  
                                                                      
    if (length > 50)                                                  
      length = 50;                                                    
                                                                      
    for (c = 0; c < length; c++)                                      
 20260c0:	80 a7 40 1b 	cmp  %i5, %i3                                  <== NOT EXECUTED
 20260c4:	32 bf ff fd 	bne,a   20260b8 <rtems_rfs_shell_dir+0x1ac>    <== NOT EXECUTED
 20260c8:	d0 0f 60 0a 	ldub  [ %i5 + 0xa ], %o0                       <== NOT EXECUTED
      printf ("%c", data[RTEMS_RFS_DIR_ENTRY_SIZE + c]);              
    if (length < elength - RTEMS_RFS_DIR_ENTRY_SIZE)                  
 20260cc:	80 a6 40 11 	cmp  %i1, %l1                                  <== NOT EXECUTED
 20260d0:	14 80 00 51 	bg  2026214 <rtems_rfs_shell_dir+0x308>        <== NOT EXECUTED
 20260d4:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("...");                                                 
    printf ("\n");                                                    
 20260d8:	40 00 9c b5 	call  204d3ac <putchar>                        <== NOT EXECUTED
 20260dc:	90 10 20 0a 	mov  0xa, %o0	! a <PROM_START+0xa>             <== NOT EXECUTED
                                                                      
  b = 0;                                                              
  entry = 1;                                                          
  data = rtems_rfs_buffer_data (&buffer);                             
                                                                      
  while (b < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE - 1))
 20260e0:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           <== NOT EXECUTED
      printf ("%c", data[RTEMS_RFS_DIR_ENTRY_SIZE + c]);              
    if (length < elength - RTEMS_RFS_DIR_ENTRY_SIZE)                  
      printf ("...");                                                 
    printf ("\n");                                                    
                                                                      
    b += elength;                                                     
 20260e4:	a0 04 00 1a 	add  %l0, %i2, %l0                             <== NOT EXECUTED
                                                                      
  b = 0;                                                              
  entry = 1;                                                          
  data = rtems_rfs_buffer_data (&buffer);                             
                                                                      
  while (b < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE - 1))
 20260e8:	82 00 7f f5 	add  %g1, -11, %g1                             <== NOT EXECUTED
    if (length < elength - RTEMS_RFS_DIR_ENTRY_SIZE)                  
      printf ("...");                                                 
    printf ("\n");                                                    
                                                                      
    b += elength;                                                     
    data += elength;                                                  
 20260ec:	b8 07 00 1a 	add  %i4, %i2, %i4                             <== NOT EXECUTED
                                                                      
  b = 0;                                                              
  entry = 1;                                                          
  data = rtems_rfs_buffer_data (&buffer);                             
                                                                      
  while (b < (rtems_rfs_fs_block_size (fs) - RTEMS_RFS_DIR_ENTRY_SIZE - 1))
 20260f0:	80 a4 00 01 	cmp  %l0, %g1                                  <== NOT EXECUTED
 20260f4:	1a 80 00 12 	bcc  202613c <rtems_rfs_shell_dir+0x230>       <== NOT EXECUTED
 20260f8:	a4 04 a0 01 	inc  %l2                                       <== NOT EXECUTED
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           length;                                             
    int           c;                                                  
                                                                      
    eino    = rtems_rfs_dir_entry_ino (data);                         
 20260fc:	d6 0f 00 00 	ldub  [ %i4 ], %o3                             <== NOT EXECUTED
 2026100:	c8 0f 20 01 	ldub  [ %i4 + 1 ], %g4                         <== NOT EXECUTED
 2026104:	c6 0f 20 03 	ldub  [ %i4 + 3 ], %g3                         <== NOT EXECUTED
 2026108:	c2 0f 20 02 	ldub  [ %i4 + 2 ], %g1                         <== NOT EXECUTED
    elength = rtems_rfs_dir_entry_length (data);                      
 202610c:	f4 0f 20 08 	ldub  [ %i4 + 8 ], %i2                         <== NOT EXECUTED
 2026110:	c4 0f 20 09 	ldub  [ %i4 + 9 ], %g2                         <== NOT EXECUTED
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           length;                                             
    int           c;                                                  
                                                                      
    eino    = rtems_rfs_dir_entry_ino (data);                         
 2026114:	97 2a e0 18 	sll  %o3, 0x18, %o3                            <== NOT EXECUTED
 2026118:	89 29 20 10 	sll  %g4, 0x10, %g4                            <== NOT EXECUTED
 202611c:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 2026120:	96 12 c0 04 	or  %o3, %g4, %o3                              <== NOT EXECUTED
    elength = rtems_rfs_dir_entry_length (data);                      
 2026124:	b5 2e a0 08 	sll  %i2, 8, %i2                               <== NOT EXECUTED
    rtems_rfs_ino eino;                                               
    int           elength;                                            
    int           length;                                             
    int           c;                                                  
                                                                      
    eino    = rtems_rfs_dir_entry_ino (data);                         
 2026128:	96 12 c0 03 	or  %o3, %g3, %o3                              <== NOT EXECUTED
    elength = rtems_rfs_dir_entry_length (data);                      
 202612c:	b4 16 80 02 	or  %i2, %g2, %i2                              <== NOT EXECUTED
                                                                      
    if (elength == RTEMS_RFS_DIR_ENTRY_EMPTY)                         
 2026130:	80 a6 80 14 	cmp  %i2, %l4                                  <== NOT EXECUTED
 2026134:	12 bf ff be 	bne  202602c <rtems_rfs_shell_dir+0x120>       <== NOT EXECUTED
 2026138:	96 12 c0 01 	or  %o3, %g1, %o3                              <== 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);                       
 202613c:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
 2026140:	40 00 59 7e 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2026144:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2026148:	fa 06 20 80 	ld  [ %i0 + 0x80 ], %i5                        <== NOT EXECUTED
  handle->dirty = false;                                              
 202614c:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2026150:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2026154:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2026158:	40 00 5b 3c 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 202615c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2026160:	7f ff 9f e9 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2026164:	d0 07 40 00 	ld  [ %i5 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2026168:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 202616c:	12 80 00 72 	bne  2026334 <rtems_rfs_shell_dir+0x428>       <== NOT EXECUTED
 2026170:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_shell_unlock_rfs (fs);                                    
                                                                      
  return 0;                                                           
}                                                                     
 2026174:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026178:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 202617c:	f6 06 20 80 	ld  [ %i0 + 0x80 ], %i3                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2026180:	40 00 5b 32 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2026184:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2026188:	7f ff 9f df 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 202618c:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2026190:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 2026194:	32 80 00 44 	bne,a   20262a4 <rtems_rfs_shell_dir+0x398>    <== NOT EXECUTED
 2026198:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_group_bitmap_test (fs, false, block, &state);        
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_shell_unlock_rfs (fs);                                  
    printf ("error: testing block state: block=%" PRIu32 ": (%d) %s\n",
 202619c:	40 00 a5 73 	call  204f768 <strerror>                       <== NOT EXECUTED
 20261a0:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 20261a4:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20261a8:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 20261ac:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 20261b0:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
            block, rc, strerror (rc));                                
    return 1;                                                         
 20261b4:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_group_bitmap_test (fs, false, block, &state);        
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_shell_unlock_rfs (fs);                                  
    printf ("error: testing block state: block=%" PRIu32 ": (%d) %s\n",
 20261b8:	40 00 9c 13 	call  204d204 <printf>                         <== NOT EXECUTED
 20261bc:	90 12 21 48 	or  %o0, 0x148, %o0                            <== NOT EXECUTED
 20261c0:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20261c4:	81 e8 00 00 	restore                                        <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20261c8:	40 00 03 2f 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20261cc:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20261d0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20261d4:	22 bf ff 5f 	be,a   2025f50 <rtems_rfs_shell_dir+0x44>      <== NOT EXECUTED
 20261d8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 20261dc:	7f ff 8b b1 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20261e0:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 20261e4:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20261e8:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20261ec:	40 00 9c 06 	call  204d204 <printf>                         <== NOT EXECUTED
 20261f0:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
                                                                      
  block = strtoul (argv[1], 0, 0);                                    
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  rc = rtems_rfs_group_bitmap_test (fs, false, block, &state);        
 20261f4:	10 bf ff 57 	b  2025f50 <rtems_rfs_shell_dir+0x44>          <== NOT EXECUTED
 20261f8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
            length);                                                  
                                                                      
    if (length > 50)                                                  
      length = 50;                                                    
                                                                      
    for (c = 0; c < length; c++)                                      
 20261fc:	80 a6 60 00 	cmp  %i1, 0                                    <== NOT EXECUTED
 2026200:	12 bf ff ac 	bne  20260b0 <rtems_rfs_shell_dir+0x1a4>       <== NOT EXECUTED
 2026204:	ba 10 00 1c 	mov  %i4, %i5                                  <== NOT EXECUTED
      printf ("%c", data[RTEMS_RFS_DIR_ENTRY_SIZE + c]);              
    if (length < elength - RTEMS_RFS_DIR_ENTRY_SIZE)                  
 2026208:	80 a6 40 11 	cmp  %i1, %l1                                  <== NOT EXECUTED
 202620c:	04 bf ff b3 	ble  20260d8 <rtems_rfs_shell_dir+0x1cc>       <== NOT EXECUTED
 2026210:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("...");                                                 
 2026214:	40 00 9b fc 	call  204d204 <printf>                         <== NOT EXECUTED
 2026218:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
 202621c:	30 bf ff af 	b,a   20260d8 <rtems_rfs_shell_dir+0x1cc>      <== NOT EXECUTED
    printf ("error: testing block state: block=%" PRIu32 ": (%d) %s\n",
            block, rc, strerror (rc));                                
    return 1;                                                         
  }                                                                   
                                                                      
  printf (" %5" PRIu32 ": block %s\n", block, state ? "allocated" : "free");
 2026220:	10 bf ff 58 	b  2025f80 <rtems_rfs_shell_dir+0x74>          <== NOT EXECUTED
 2026224:	94 12 a0 c8 	or  %o2, 0xc8, %o2                             <== 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);                       
 2026228:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
 202622c:	40 00 59 43 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2026230:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2026234:	f6 06 20 80 	ld  [ %i0 + 0x80 ], %i3                        <== NOT EXECUTED
  handle->dirty = false;                                              
 2026238:	c0 2f bf f4 	clrb  [ %fp + -12 ]                            <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 202623c:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2026240:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2026244:	40 00 5b 01 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2026248:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 202624c:	7f ff 9f ae 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2026250:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2026254:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 2026258:	32 80 00 2b 	bne,a   2026304 <rtems_rfs_shell_dir+0x3f8>    <== NOT EXECUTED
 202625c:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);    
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &buffer);                      
    rtems_rfs_shell_unlock_rfs (fs);                                  
    printf ("error: requesting buffer handle: block=%" PRIu32 ": (%d) %s\n",
 2026260:	40 00 a5 42 	call  204f768 <strerror>                       <== NOT EXECUTED
 2026264:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2026268:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 202626c:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2026270:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 2026274:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
            block, rc, strerror (rc));                                
    return 1;                                                         
 2026278:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
  rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, true);    
  if (rc > 0)                                                         
  {                                                                   
    rtems_rfs_buffer_handle_close (fs, &buffer);                      
    rtems_rfs_shell_unlock_rfs (fs);                                  
    printf ("error: requesting buffer handle: block=%" PRIu32 ": (%d) %s\n",
 202627c:	40 00 9b e2 	call  204d204 <printf>                         <== NOT EXECUTED
 2026280:	90 12 21 90 	or  %o0, 0x190, %o0                            <== NOT EXECUTED
 2026284:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026288:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  int                     b;                                          
  int                     rc;                                         
                                                                      
  if (argc <= 1)                                                      
  {                                                                   
    printf ("error: no block number provided\n");                     
 202628c:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
    return 1;                                                         
 2026290:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
  int                     b;                                          
  int                     rc;                                         
                                                                      
  if (argc <= 1)                                                      
  {                                                                   
    printf ("error: no block number provided\n");                     
 2026294:	40 00 9c 74 	call  204d464 <puts>                           <== NOT EXECUTED
 2026298:	90 12 21 28 	or  %o0, 0x128, %o0                            <== NOT EXECUTED
 202629c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20262a0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20262a4:	40 00 02 f8 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20262a8:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20262ac:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20262b0:	02 bf ff bb 	be  202619c <rtems_rfs_shell_dir+0x290>        <== NOT EXECUTED
 20262b4:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 20262b8:	7f ff 8b 7a 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20262bc:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 20262c0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20262c4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20262c8:	40 00 9b cf 	call  204d204 <printf>                         <== NOT EXECUTED
 20262cc:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 20262d0:	30 bf ff b3 	b,a   202619c <rtems_rfs_shell_dir+0x290>      <== NOT EXECUTED
      break;                                                          
                                                                      
    if ((elength < RTEMS_RFS_DIR_ENTRY_SIZE) ||                       
        (elength >= rtems_rfs_fs_max_name (fs)))                      
    {                                                                 
      printf (" %5d: entry length appears corrupt: %d\n", entry, elength);
 20262d4:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 20262d8:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 20262dc:	40 00 9b ca 	call  204d204 <printf>                         <== NOT EXECUTED
 20262e0:	90 12 21 d8 	or  %o0, 0x1d8, %o0                            <== NOT EXECUTED
      break;                                                          
 20262e4:	10 bf ff 97 	b  2026140 <rtems_rfs_shell_dir+0x234>         <== NOT EXECUTED
 20262e8:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
    }                                                                 
                                                                      
    if ((eino < RTEMS_RFS_ROOT_INO) || (eino >= rtems_rfs_fs_inodes (fs)))
    {                                                                 
      printf (" %5d: entry ino appears corrupt: ino=%" PRId32 "\n", entry, eino);
 20262ec:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 20262f0:	94 10 00 0b 	mov  %o3, %o2                                  <== NOT EXECUTED
 20262f4:	40 00 9b c4 	call  204d204 <printf>                         <== NOT EXECUTED
 20262f8:	90 12 22 00 	or  %o0, 0x200, %o0                            <== NOT EXECUTED
      break;                                                          
 20262fc:	10 bf ff 91 	b  2026140 <rtems_rfs_shell_dir+0x234>         <== NOT EXECUTED
 2026300:	92 07 bf f4 	add  %fp, -12, %o1                             <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2026304:	40 00 02 e0 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2026308:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 202630c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2026310:	02 bf ff d4 	be  2026260 <rtems_rfs_shell_dir+0x354>        <== NOT EXECUTED
 2026314:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2026318:	7f ff 8b 62 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 202631c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2026320:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2026324:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2026328:	40 00 9b b7 	call  204d204 <printf>                         <== NOT EXECUTED
 202632c:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2026330:	30 bf ff cc 	b,a   2026260 <rtems_rfs_shell_dir+0x354>      <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2026334:	40 00 02 d4 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2026338:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 202633c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2026340:	02 bf ff 8d 	be  2026174 <rtems_rfs_shell_dir+0x268>        <== NOT EXECUTED
 2026344:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2026348:	7f ff 8b 56 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 202634c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2026350:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2026354:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2026358:	40 00 9b ab 	call  204d204 <printf>                         <== NOT EXECUTED
 202635c:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2026360:	30 bf ff 85 	b,a   2026174 <rtems_rfs_shell_dir+0x268>      <== NOT EXECUTED
                                                                      

02025998 <rtems_rfs_shell_group>: return 0; } static int rtems_rfs_shell_group (rtems_rfs_file_system* fs, int argc, char *argv[]) {
 2025998:	9d e3 bf 98 	save  %sp, -104, %sp                           <== NOT EXECUTED
  int g;                                                              
                                                                      
  start = 0;                                                          
  end = fs->group_count - 1;                                          
                                                                      
  switch (argc)                                                       
 202599c:	80 a6 60 02 	cmp  %i1, 2                                    <== NOT EXECUTED
 20259a0:	02 80 00 2d 	be  2025a54 <rtems_rfs_shell_group+0xbc>       <== NOT EXECUTED
 20259a4:	d2 06 20 24 	ld  [ %i0 + 0x24 ], %o1                        <== NOT EXECUTED
 20259a8:	80 a6 60 03 	cmp  %i1, 3                                    <== NOT EXECUTED
 20259ac:	02 80 00 1c 	be  2025a1c <rtems_rfs_shell_group+0x84>       <== NOT EXECUTED
 20259b0:	80 a6 60 01 	cmp  %i1, 1                                    <== NOT EXECUTED
 20259b4:	02 80 00 07 	be  20259d0 <rtems_rfs_shell_group+0x38>       <== NOT EXECUTED
 20259b8:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
      start = strtoul (argv[1], 0, 0);                                
      end = strtoul (argv[2], 0, 0);                                  
      break;                                                          
    default:                                                          
      printf ("error: too many arguments.\n");                        
      return 1;                                                       
 20259bc:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
    case 3:                                                           
      start = strtoul (argv[1], 0, 0);                                
      end = strtoul (argv[2], 0, 0);                                  
      break;                                                          
    default:                                                          
      printf ("error: too many arguments.\n");                        
 20259c0:	40 00 9e a9 	call  204d464 <puts>                           <== NOT EXECUTED
 20259c4:	90 12 20 88 	or  %o0, 0x88, %o0                             <== NOT EXECUTED
      return 1;                                                       
 20259c8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20259cc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  int start;                                                          
  int end;                                                            
  int g;                                                              
                                                                      
  start = 0;                                                          
  end = fs->group_count - 1;                                          
 20259d0:	a2 02 7f ff 	add  %o1, -1, %l1                              <== NOT EXECUTED
 20259d4:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 20259d8:	83 34 60 1f 	srl  %l1, 0x1f, %g1                            <== NOT EXECUTED
{                                                                     
  int start;                                                          
  int end;                                                            
  int g;                                                              
                                                                      
  start = 0;                                                          
 20259dc:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
    default:                                                          
      printf ("error: too many arguments.\n");                        
      return 1;                                                       
  }                                                                   
                                                                      
  if ((start < 0) || (end < 0) ||                                     
 20259e0:	80 88 60 ff 	btst  0xff, %g1                                <== NOT EXECUTED
 20259e4:	12 80 00 08 	bne  2025a04 <rtems_rfs_shell_group+0x6c>      <== NOT EXECUTED
 20259e8:	80 88 a0 ff 	btst  0xff, %g2                                <== NOT EXECUTED
 20259ec:	12 80 00 06 	bne  2025a04 <rtems_rfs_shell_group+0x6c>      <== NOT EXECUTED
 20259f0:	80 a7 40 09 	cmp  %i5, %o1                                  <== NOT EXECUTED
 20259f4:	16 80 00 04 	bge  2025a04 <rtems_rfs_shell_group+0x6c>      <== NOT EXECUTED
 20259f8:	80 a4 40 09 	cmp  %l1, %o1                                  <== NOT EXECUTED
      (start >= fs->group_count) || (end >= fs->group_count))         
 20259fc:	26 80 00 20 	bl,a   2025a7c <rtems_rfs_shell_group+0xe4>    <== NOT EXECUTED
 2025a00:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        <== NOT EXECUTED
  {                                                                   
    printf ("error: group out of range (0->%d).\n", fs->group_count); 
 2025a04:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
    return 1;                                                         
 2025a08:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
  }                                                                   
                                                                      
  if ((start < 0) || (end < 0) ||                                     
      (start >= fs->group_count) || (end >= fs->group_count))         
  {                                                                   
    printf ("error: group out of range (0->%d).\n", fs->group_count); 
 2025a0c:	40 00 9d fe 	call  204d204 <printf>                         <== NOT EXECUTED
 2025a10:	90 12 20 a8 	or  %o0, 0xa8, %o0                             <== NOT EXECUTED
    return 1;                                                         
 2025a14:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025a18:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
    case 2:                                                           
      start = end = strtoul (argv[1], 0, 0);                          
      break;                                                          
    case 3:                                                           
      start = strtoul (argv[1], 0, 0);                                
 2025a1c:	d0 06 a0 04 	ld  [ %i2 + 4 ], %o0                           <== NOT EXECUTED
 2025a20:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2025a24:	40 00 ad cd 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2025a28:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2025a2c:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
      end = strtoul (argv[2], 0, 0);                                  
 2025a30:	d0 06 a0 08 	ld  [ %i2 + 8 ], %o0                           <== NOT EXECUTED
 2025a34:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2025a38:	40 00 ad c8 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2025a3c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2025a40:	85 37 60 1f 	srl  %i5, 0x1f, %g2                            <== NOT EXECUTED
 2025a44:	a2 10 00 08 	mov  %o0, %l1                                  <== NOT EXECUTED
 2025a48:	83 32 20 1f 	srl  %o0, 0x1f, %g1                            <== NOT EXECUTED
      break;                                                          
 2025a4c:	10 bf ff e5 	b  20259e0 <rtems_rfs_shell_group+0x48>        <== NOT EXECUTED
 2025a50:	d2 06 20 24 	ld  [ %i0 + 0x24 ], %o1                        <== NOT EXECUTED
  switch (argc)                                                       
  {                                                                   
    case 1:                                                           
      break;                                                          
    case 2:                                                           
      start = end = strtoul (argv[1], 0, 0);                          
 2025a54:	d0 06 a0 04 	ld  [ %i2 + 4 ], %o0                           <== NOT EXECUTED
 2025a58:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2025a5c:	40 00 ad bf 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2025a60:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2025a64:	d2 06 20 24 	ld  [ %i0 + 0x24 ], %o1                        <== NOT EXECUTED
 2025a68:	83 32 20 1f 	srl  %o0, 0x1f, %g1                            <== NOT EXECUTED
 2025a6c:	a2 10 00 08 	mov  %o0, %l1                                  <== NOT EXECUTED
 2025a70:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
      break;                                                          
 2025a74:	10 bf ff db 	b  20259e0 <rtems_rfs_shell_group+0x48>        <== NOT EXECUTED
 2025a78:	84 10 00 01 	mov  %g1, %g2                                  <== 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);
 2025a7c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2025a80:	d0 00 40 00 	ld  [ %g1 ], %o0                               <== NOT EXECUTED
 2025a84:	7f ff a1 50 	call  200dfc4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2025a88:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025a8c:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2025a90:	12 80 00 38 	bne  2025b70 <rtems_rfs_shell_group+0x1d8>     <== NOT EXECUTED
 2025a94:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    return 1;                                                         
  }                                                                   
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  for (g = start; g <= end; g++)                                      
 2025a98:	80 a7 40 11 	cmp  %i5, %l1                                  <== NOT EXECUTED
 2025a9c:	14 80 00 2b 	bg  2025b48 <rtems_rfs_shell_group+0x1b0>      <== NOT EXECUTED
 2025aa0:	83 2f 60 06 	sll  %i5, 6, %g1                               <== NOT EXECUTED
 2025aa4:	b9 2f 60 04 	sll  %i5, 4, %i4                               <== NOT EXECUTED
    rtems_rfs_group* group = &fs->groups[g];                          
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
    printf (" %4d: base=%-7" PRIu32 " size=%-6zu blocks=%-5zu (%3zu%%) inode=%-5zu (%3zu%%)\n",
 2025aa8:	27 00 81 a5 	sethi  %hi(0x2069400), %l3                     <== NOT EXECUTED
 2025aac:	b8 07 00 01 	add  %i4, %g1, %i4                             <== NOT EXECUTED
 2025ab0:	a6 14 e0 d0 	or  %l3, 0xd0, %l3                             <== NOT EXECUTED
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  for (g = start; g <= end; g++)                                      
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
 2025ab4:	c4 06 20 20 	ld  [ %i0 + 0x20 ], %g2                        <== NOT EXECUTED
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
 2025ab8:	e0 06 20 2c 	ld  [ %i0 + 0x2c ], %l0                        <== NOT EXECUTED
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  for (g = start; g <= end; g++)                                      
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
 2025abc:	82 00 80 1c 	add  %g2, %i4, %g1                             <== NOT EXECUTED
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
 2025ac0:	f4 00 60 04 	ld  [ %g1 + 4 ], %i2                           <== NOT EXECUTED
 2025ac4:	f6 00 60 18 	ld  [ %g1 + 0x18 ], %i3                        <== NOT EXECUTED
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
    printf (" %4d: base=%-7" PRIu32 " size=%-6zu blocks=%-5zu (%3zu%%) inode=%-5zu (%3zu%%)\n",
 2025ac8:	e8 00 80 1c 	ld  [ %g2 + %i4 ], %l4                         <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
 2025acc:	f2 00 60 3c 	ld  [ %g1 + 0x3c ], %i1                        <== NOT EXECUTED
  for (g = start; g <= end; g++)                                      
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
 2025ad0:	b6 26 80 1b 	sub  %i2, %i3, %i3                             <== NOT EXECUTED
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
    printf (" %4d: base=%-7" PRIu32 " size=%-6zu blocks=%-5zu (%3zu%%) inode=%-5zu (%3zu%%)\n",
            g, group->base, group->size,                              
            blocks, (blocks * 100)  / group->size,                    
 2025ad4:	85 2e e0 02 	sll  %i3, 2, %g2                               <== NOT EXECUTED
 2025ad8:	83 2e e0 04 	sll  %i3, 4, %g1                               <== NOT EXECUTED
 2025adc:	82 00 80 01 	add  %g2, %g1, %g1                             <== NOT EXECUTED
    rtems_rfs_group* group = &fs->groups[g];                          
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
    printf (" %4d: base=%-7" PRIu32 " size=%-6zu blocks=%-5zu (%3zu%%) inode=%-5zu (%3zu%%)\n",
 2025ae0:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
            g, group->base, group->size,                              
            blocks, (blocks * 100)  / group->size,                    
 2025ae4:	91 28 60 02 	sll  %g1, 2, %o0                               <== NOT EXECUTED
    rtems_rfs_group* group = &fs->groups[g];                          
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
    printf (" %4d: base=%-7" PRIu32 " size=%-6zu blocks=%-5zu (%3zu%%) inode=%-5zu (%3zu%%)\n",
 2025ae8:	40 00 f0 6d 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2025aec:	90 00 40 08 	add  %g1, %o0, %o0                             <== NOT EXECUTED
  {                                                                   
    rtems_rfs_group* group = &fs->groups[g];                          
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
 2025af0:	b2 24 00 19 	sub  %l0, %i1, %i1                             <== NOT EXECUTED
    printf (" %4d: base=%-7" PRIu32 " size=%-6zu blocks=%-5zu (%3zu%%) inode=%-5zu (%3zu%%)\n",
            g, group->base, group->size,                              
            blocks, (blocks * 100)  / group->size,                    
            inodes, (inodes * 100) / fs->group_inodes);               
 2025af4:	83 2e 60 02 	sll  %i1, 2, %g1                               <== NOT EXECUTED
    rtems_rfs_group* group = &fs->groups[g];                          
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
    printf (" %4d: base=%-7" PRIu32 " size=%-6zu blocks=%-5zu (%3zu%%) inode=%-5zu (%3zu%%)\n",
 2025af8:	a4 10 00 08 	mov  %o0, %l2                                  <== NOT EXECUTED
 2025afc:	92 10 00 10 	mov  %l0, %o1                                  <== NOT EXECUTED
 2025b00:	f2 23 a0 5c 	st  %i1, [ %sp + 0x5c ]                        <== NOT EXECUTED
            g, group->base, group->size,                              
            blocks, (blocks * 100)  / group->size,                    
            inodes, (inodes * 100) / fs->group_inodes);               
 2025b04:	b3 2e 60 04 	sll  %i1, 4, %i1                               <== NOT EXECUTED
 2025b08:	b2 00 40 19 	add  %g1, %i1, %i1                             <== NOT EXECUTED
 2025b0c:	91 2e 60 02 	sll  %i1, 2, %o0                               <== NOT EXECUTED
    rtems_rfs_group* group = &fs->groups[g];                          
    size_t           blocks;                                          
    size_t           inodes;                                          
    blocks = group->size - rtems_rfs_bitmap_map_free (&group->block_bitmap);
    inodes = fs->group_inodes - rtems_rfs_bitmap_map_free (&group->inode_bitmap);
    printf (" %4d: base=%-7" PRIu32 " size=%-6zu blocks=%-5zu (%3zu%%) inode=%-5zu (%3zu%%)\n",
 2025b10:	40 00 f0 63 	call  2061c9c <.udiv>                          <== NOT EXECUTED
 2025b14:	90 06 40 08 	add  %i1, %o0, %o0                             <== NOT EXECUTED
 2025b18:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2025b1c:	d0 23 a0 60 	st  %o0, [ %sp + 0x60 ]                        <== NOT EXECUTED
 2025b20:	94 10 00 14 	mov  %l4, %o2                                  <== NOT EXECUTED
 2025b24:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
 2025b28:	96 10 00 1a 	mov  %i2, %o3                                  <== NOT EXECUTED
 2025b2c:	98 10 00 1b 	mov  %i3, %o4                                  <== NOT EXECUTED
 2025b30:	40 00 9d b5 	call  204d204 <printf>                         <== NOT EXECUTED
 2025b34:	9a 10 00 12 	mov  %l2, %o5                                  <== NOT EXECUTED
    return 1;                                                         
  }                                                                   
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  for (g = start; g <= end; g++)                                      
 2025b38:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 2025b3c:	80 a4 40 1d 	cmp  %l1, %i5                                  <== NOT EXECUTED
 2025b40:	16 bf ff dd 	bge  2025ab4 <rtems_rfs_shell_group+0x11c>     <== NOT EXECUTED
 2025b44:	b8 07 20 50 	add  %i4, 0x50, %i4                            <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2025b48:	fa 06 20 80 	ld  [ %i0 + 0x80 ], %i5                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2025b4c:	40 00 5c bf 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2025b50:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2025b54:	7f ff a1 6c 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2025b58:	d0 07 40 00 	ld  [ %i5 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2025b5c:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2025b60:	12 80 00 11 	bne  2025ba4 <rtems_rfs_shell_group+0x20c>     <== NOT EXECUTED
 2025b64:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_shell_unlock_rfs (fs);                                    
                                                                      
  return 0;                                                           
}                                                                     
 2025b68:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2025b6c:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025b70:	40 00 04 c5 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025b74:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2025b78:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2025b7c:	22 bf ff c8 	be,a   2025a9c <rtems_rfs_shell_group+0x104>   <== NOT EXECUTED
 2025b80:	80 a7 40 11 	cmp  %i5, %l1                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 2025b84:	7f ff 8d 47 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2025b88:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2025b8c:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025b90:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025b94:	40 00 9d 9c 	call  204d204 <printf>                         <== NOT EXECUTED
 2025b98:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
    return 1;                                                         
  }                                                                   
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  for (g = start; g <= end; g++)                                      
 2025b9c:	10 bf ff c0 	b  2025a9c <rtems_rfs_shell_group+0x104>       <== NOT EXECUTED
 2025ba0:	80 a7 40 11 	cmp  %i5, %l1                                  <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2025ba4:	40 00 04 b8 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2025ba8:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 2025bac:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2025bb0:	02 bf ff ee 	be  2025b68 <rtems_rfs_shell_group+0x1d0>      <== NOT EXECUTED
 2025bb4:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2025bb8:	7f ff 8d 3a 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 2025bbc:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2025bc0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2025bc4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2025bc8:	40 00 9d 8f 	call  204d204 <printf>                         <== NOT EXECUTED
 2025bcc:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2025bd0:	30 bf ff e6 	b,a   2025b68 <rtems_rfs_shell_group+0x1d0>    <== NOT EXECUTED
                                                                      

02026364 <rtems_rfs_shell_inode>: return 0; } static int rtems_rfs_shell_inode (rtems_rfs_file_system* fs, int argc, char *argv[]) {
 2026364:	9d e3 bf 68 	save  %sp, -152, %sp                           <== NOT EXECUTED
  bool          have_end;                                             
  int           arg;                                                  
  int           b;                                                    
  int           rc;                                                   
                                                                      
  total = fs->group_inodes * fs->group_count;                         
 2026368:	d0 06 20 24 	ld  [ %i0 + 0x24 ], %o0                        <== NOT EXECUTED
 202636c:	7f ff 72 fe 	call  2002f64 <.umul>                          <== NOT EXECUTED
 2026370:	d2 06 20 2c 	ld  [ %i0 + 0x2c ], %o1                        <== NOT EXECUTED
  show_all = false;                                                   
  error_check_only = false;                                           
  forced = false;                                                     
  have_start = have_end = false;                                      
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026374:	80 a6 60 01 	cmp  %i1, 1                                    <== NOT EXECUTED
  int           b;                                                    
  int           rc;                                                   
                                                                      
  total = fs->group_inodes * fs->group_count;                         
  start = RTEMS_RFS_ROOT_INO;                                         
  end = total - 1;                                                    
 2026378:	ae 02 3f ff 	add  %o0, -1, %l7                              <== NOT EXECUTED
  bool          have_end;                                             
  int           arg;                                                  
  int           b;                                                    
  int           rc;                                                   
                                                                      
  total = fs->group_inodes * fs->group_count;                         
 202637c:	ac 10 00 08 	mov  %o0, %l6                                  <== NOT EXECUTED
  show_all = false;                                                   
  error_check_only = false;                                           
  forced = false;                                                     
  have_start = have_end = false;                                      
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026380:	04 80 01 60 	ble  2026900 <rtems_rfs_shell_inode+0x59c>     <== NOT EXECUTED
 2026384:	b6 10 00 17 	mov  %l7, %i3                                  <== NOT EXECUTED
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (have_end && have_start)                                     
        printf ("warning: option ignored: %s\n", argv[arg]);          
 2026388:	2b 00 81 a5 	sethi  %hi(0x2069400), %l5                     <== NOT EXECUTED
  show_all = false;                                                   
  error_check_only = false;                                           
  forced = false;                                                     
  have_start = have_end = false;                                      
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 202638c:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
 2026390:	a0 10 20 00 	clr  %l0                                       <== NOT EXECUTED
 2026394:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
 2026398:	a8 10 20 00 	clr  %l4                                       <== NOT EXECUTED
 202639c:	a6 10 20 00 	clr  %l3                                       <== NOT EXECUTED
 20263a0:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
 20263a4:	a4 10 20 01 	mov  1, %l2                                    <== NOT EXECUTED
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (have_end && have_start)                                     
        printf ("warning: option ignored: %s\n", argv[arg]);          
 20263a8:	10 80 00 10 	b  20263e8 <rtems_rfs_shell_inode+0x84>        <== NOT EXECUTED
 20263ac:	aa 15 62 98 	or  %l5, 0x298, %l5                            <== NOT EXECUTED
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (have_end && have_start)                                     
 20263b0:	12 80 00 98 	bne  2026610 <rtems_rfs_shell_inode+0x2ac>     <== NOT EXECUTED
 20263b4:	80 8f 20 ff 	btst  0xff, %i4                                <== NOT EXECUTED
        printf ("warning: option ignored: %s\n", argv[arg]);          
      else if (!have_start)                                           
 20263b8:	12 80 00 90 	bne  20265f8 <rtems_rfs_shell_inode+0x294>     <== NOT EXECUTED
 20263bc:	90 10 00 09 	mov  %o1, %o0                                  <== NOT EXECUTED
      {                                                               
        start = end = strtoul (argv[arg], 0, 0);                      
 20263c0:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 20263c4:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 20263c8:	40 00 ab 64 	call  2051158 <strtoul>                        <== NOT EXECUTED
 20263cc:	b8 10 20 01 	mov  1, %i4                                    <== NOT EXECUTED
 20263d0:	a4 10 00 08 	mov  %o0, %l2                                  <== NOT EXECUTED
 20263d4:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
  show_all = false;                                                   
  error_check_only = false;                                           
  forced = false;                                                     
  have_start = have_end = false;                                      
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 20263d8:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 20263dc:	80 a7 40 19 	cmp  %i5, %i1                                  <== NOT EXECUTED
 20263e0:	02 80 00 17 	be  202643c <rtems_rfs_shell_inode+0xd8>       <== NOT EXECUTED
 20263e4:	80 a6 c0 16 	cmp  %i3, %l6                                  <== NOT EXECUTED
                                                                      
  return 0;                                                           
}                                                                     
                                                                      
static int                                                            
rtems_rfs_shell_inode (rtems_rfs_file_system* fs, int argc, char *argv[])
 20263e8:	83 2f 60 02 	sll  %i5, 2, %g1                               <== NOT EXECUTED
  forced = false;                                                     
  have_start = have_end = false;                                      
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
  {                                                                   
    if (argv[arg][0] == '-')                                          
 20263ec:	d2 06 80 01 	ld  [ %i2 + %g1 ], %o1                         <== NOT EXECUTED
 20263f0:	c2 4a 40 00 	ldsb  [ %o1 ], %g1                             <== NOT EXECUTED
 20263f4:	80 a0 60 2d 	cmp  %g1, 0x2d                                 <== NOT EXECUTED
 20263f8:	12 bf ff ee 	bne  20263b0 <rtems_rfs_shell_inode+0x4c>      <== NOT EXECUTED
 20263fc:	80 8c 20 ff 	btst  0xff, %l0                                <== NOT EXECUTED
    {                                                                 
      switch (argv[arg][1])                                           
 2026400:	c2 4a 60 01 	ldsb  [ %o1 + 1 ], %g1                         <== NOT EXECUTED
 2026404:	80 a0 60 65 	cmp  %g1, 0x65                                 <== NOT EXECUTED
 2026408:	02 80 00 dc 	be  2026778 <rtems_rfs_shell_inode+0x414>      <== NOT EXECUTED
 202640c:	80 a0 60 66 	cmp  %g1, 0x66                                 <== NOT EXECUTED
 2026410:	02 80 00 d8 	be  2026770 <rtems_rfs_shell_inode+0x40c>      <== NOT EXECUTED
 2026414:	80 a0 60 61 	cmp  %g1, 0x61                                 <== NOT EXECUTED
 2026418:	22 bf ff f0 	be,a   20263d8 <rtems_rfs_shell_inode+0x74>    <== NOT EXECUTED
 202641c:	a2 10 20 01 	mov  1, %l1                                    <== NOT EXECUTED
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (have_end && have_start)                                     
        printf ("warning: option ignored: %s\n", argv[arg]);          
 2026420:	40 00 9b 79 	call  204d204 <printf>                         <== NOT EXECUTED
 2026424:	90 10 00 15 	mov  %l5, %o0                                  <== NOT EXECUTED
  show_all = false;                                                   
  error_check_only = false;                                           
  forced = false;                                                     
  have_start = have_end = false;                                      
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026428:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 202642c:	80 a7 40 19 	cmp  %i5, %i1                                  <== NOT EXECUTED
 2026430:	12 bf ff ef 	bne  20263ec <rtems_rfs_shell_inode+0x88>      <== NOT EXECUTED
 2026434:	83 2f 60 02 	sll  %i5, 2, %g1                               <== NOT EXECUTED
        have_end = true;                                              
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ((start >= total) || (end >= total))                             
 2026438:	80 a6 c0 16 	cmp  %i3, %l6                                  <== NOT EXECUTED
 202643c:	1a 80 00 d1 	bcc  2026780 <rtems_rfs_shell_inode+0x41c>     <== NOT EXECUTED
 2026440:	80 a4 80 16 	cmp  %l2, %l6                                  <== NOT EXECUTED
 2026444:	1a 80 00 cf 	bcc  2026780 <rtems_rfs_shell_inode+0x41c>     <== NOT EXECUTED
 2026448:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 202644c:	c2 06 20 80 	ld  [ %i0 + 0x80 ], %g1                        <== 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);
 2026450:	d0 00 40 00 	ld  [ %g1 ], %o0                               <== NOT EXECUTED
 2026454:	7f ff 9e dc 	call  200dfc4 <rtems_semaphore_obtain>         <== NOT EXECUTED
 2026458:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 202645c:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2026460:	12 80 00 cf 	bne  202679c <rtems_rfs_shell_inode+0x438>     <== NOT EXECUTED
 2026464:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    return 1;                                                         
  }                                                                   
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  for (ino = start; ino <= end; ino++)                                
 2026468:	80 a6 c0 12 	cmp  %i3, %l2                                  <== NOT EXECUTED
 202646c:	0a 80 00 b7 	bcs  2026748 <rtems_rfs_shell_inode+0x3e4>     <== NOT EXECUTED
 2026470:	ba 10 00 12 	mov  %l2, %i5                                  <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      if (!error_check_only || error)                                 
      {                                                               
        printf (" %5" PRIu32 ": pos=%06" PRIu32 ":%04zx %c ",         
 2026474:	33 00 81 a5 	sethi  %hi(0x2069400), %i1                     <== 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)                                                
 2026478:	2b 00 00 3f 	sethi  %hi(0xfc00), %l5                        <== NOT EXECUTED
            type = "BLK";                                             
          else if (RTEMS_RFS_S_ISREG (mode))                          
            type = "REG";                                             
          else if (RTEMS_RFS_S_ISLNK (mode))                          
            type = "LNK";                                             
          printf ("links=%03i mode=%04x (%s/%03o) bo=%04u bc=%04" PRIu32 " b=[",
 202647c:	25 00 81 a5 	sethi  %hi(0x2069400), %l2                     <== NOT EXECUTED
                  rtems_rfs_inode_get_links (&inode),                 
                  mode, type, mode & ((1 << 10) - 1),                 
                  rtems_rfs_inode_get_block_offset (&inode),          
                  rtems_rfs_inode_get_block_count (&inode));          
          for (b = 0; b < (RTEMS_RFS_INODE_BLOCKS - 1); b++)          
            printf ("%" PRIu32 " ", rtems_rfs_inode_get_block (&inode, b));
 2026480:	35 00 81 a5 	sethi  %hi(0x2069400), %i2                     <== NOT EXECUTED
          printf ("%" PRIu32 "]\n", rtems_rfs_inode_get_block (&inode, b));
 2026484:	21 00 81 a5 	sethi  %hi(0x2069400), %l0                     <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      if (!error_check_only || error)                                 
      {                                                               
        printf (" %5" PRIu32 ": pos=%06" PRIu32 ":%04zx %c ",         
 2026488:	b2 16 63 40 	or  %i1, 0x340, %i1                            <== NOT EXECUTED
 202648c:	aa 15 63 ff 	or  %l5, 0x3ff, %l5                            <== NOT EXECUTED
            type = "BLK";                                             
          else if (RTEMS_RFS_S_ISREG (mode))                          
            type = "REG";                                             
          else if (RTEMS_RFS_S_ISLNK (mode))                          
            type = "LNK";                                             
          printf ("links=%03i mode=%04x (%s/%03o) bo=%04u bc=%04" PRIu32 " b=[",
 2026490:	a4 14 a3 68 	or  %l2, 0x368, %l2                            <== NOT EXECUTED
                  rtems_rfs_inode_get_links (&inode),                 
                  mode, type, mode & ((1 << 10) - 1),                 
                  rtems_rfs_inode_get_block_offset (&inode),          
                  rtems_rfs_inode_get_block_count (&inode));          
          for (b = 0; b < (RTEMS_RFS_INODE_BLOCKS - 1); b++)          
            printf ("%" PRIu32 " ", rtems_rfs_inode_get_block (&inode, b));
 2026494:	b4 16 a3 a0 	or  %i2, 0x3a0, %i2                            <== NOT EXECUTED
          printf ("%" PRIu32 "]\n", rtems_rfs_inode_get_block (&inode, b));
 2026498:	a0 14 23 a8 	or  %l0, 0x3a8, %l0                            <== NOT EXECUTED
  for (ino = start; ino <= end; ino++)                                
  {                                                                   
    rtems_rfs_inode_handle inode;                                     
    bool                   allocated;                                 
                                                                      
    rc = rtems_rfs_group_bitmap_test (fs, true, ino, &allocated);     
 202649c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20264a0:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
 20264a4:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
 20264a8:	40 00 6b c4 	call  20413b8 <rtems_rfs_group_bitmap_test>    <== NOT EXECUTED
 20264ac:	96 07 bf d7 	add  %fp, -41, %o3                             <== NOT EXECUTED
    if (rc > 0)                                                       
 20264b0:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 20264b4:	14 80 00 ed 	bg  2026868 <rtems_rfs_shell_inode+0x504>      <== NOT EXECUTED
 20264b8:	80 8c 60 ff 	btst  0xff, %l1                                <== NOT EXECUTED
      printf ("error: testing inode state: ino=%" PRIu32 ": (%d) %s\n",
              ino, rc, strerror (rc));                                
      return 1;                                                       
    }                                                                 
                                                                      
    if (show_all || allocated)                                        
 20264bc:	12 80 00 05 	bne  20264d0 <rtems_rfs_shell_inode+0x16c>     <== NOT EXECUTED
 20264c0:	c2 0f bf d7 	ldub  [ %fp + -41 ], %g1                       <== NOT EXECUTED
 20264c4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 20264c8:	22 80 00 9d 	be,a   202673c <rtems_rfs_shell_inode+0x3d8>   <== NOT EXECUTED
 20264cc:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
    {                                                                 
      uint16_t mode;                                                  
      bool     error;                                                 
                                                                      
      rc = rtems_rfs_inode_open (fs, ino, &inode, true);              
 20264d0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20264d4:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20264d8:	94 07 bf d8 	add  %fp, -40, %o2                             <== NOT EXECUTED
 20264dc:	40 00 6c 61 	call  2041660 <rtems_rfs_inode_open>           <== NOT EXECUTED
 20264e0:	96 10 20 01 	mov  1, %o3                                    <== NOT EXECUTED
      if (rc > 0)                                                     
 20264e4:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 20264e8:	14 80 00 f3 	bg  20268b4 <rtems_rfs_shell_inode+0x550>      <== NOT EXECUTED
 20264ec:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
                                                                      
      error = false;                                                  
                                                                      
      mode = rtems_rfs_inode_get_mode (&inode);                       
                                                                      
      if (error_check_only)                                           
 20264f0:	80 8c e0 ff 	btst  0xff, %l3                                <== 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);                    
 20264f4:	f8 08 60 02 	ldub  [ %g1 + 2 ], %i4                         <== NOT EXECUTED
 20264f8:	c2 08 60 03 	ldub  [ %g1 + 3 ], %g1                         <== NOT EXECUTED
 20264fc:	b9 2f 20 08 	sll  %i4, 8, %i4                               <== NOT EXECUTED
 2026500:	02 80 00 16 	be  2026558 <rtems_rfs_shell_inode+0x1f4>      <== NOT EXECUTED
 2026504:	b8 17 00 01 	or  %i4, %g1, %i4                              <== NOT EXECUTED
      {                                                               
        if (!RTEMS_RFS_S_ISDIR (mode) &&                              
 2026508:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        <== NOT EXECUTED
 202650c:	05 00 00 08 	sethi  %hi(0x2000), %g2                        <== NOT EXECUTED
 2026510:	82 0f 00 01 	and  %i4, %g1, %g1                             <== NOT EXECUTED
 2026514:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 2026518:	22 80 00 83 	be,a   2026724 <rtems_rfs_shell_inode+0x3c0>   <== NOT EXECUTED
 202651c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2026520:	05 00 00 10 	sethi  %hi(0x4000), %g2                        <== NOT EXECUTED
 2026524:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 2026528:	22 80 00 7f 	be,a   2026724 <rtems_rfs_shell_inode+0x3c0>   <== NOT EXECUTED
 202652c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
            !RTEMS_RFS_S_ISCHR (mode) &&                              
 2026530:	05 00 00 18 	sethi  %hi(0x6000), %g2                        <== NOT EXECUTED
 2026534:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 2026538:	02 80 00 7a 	be  2026720 <rtems_rfs_shell_inode+0x3bc>      <== NOT EXECUTED
 202653c:	05 00 00 20 	sethi  %hi(0x8000), %g2                        <== NOT EXECUTED
            !RTEMS_RFS_S_ISBLK (mode) &&                              
 2026540:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 2026544:	02 80 00 77 	be  2026720 <rtems_rfs_shell_inode+0x3bc>      <== NOT EXECUTED
 2026548:	05 00 00 28 	sethi  %hi(0xa000), %g2                        <== NOT EXECUTED
            !RTEMS_RFS_S_ISREG (mode) &&                              
 202654c:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 2026550:	02 80 00 75 	be  2026724 <rtems_rfs_shell_inode+0x3c0>      <== NOT EXECUTED
 2026554:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      if (!error_check_only || error)                                 
      {                                                               
        printf (" %5" PRIu32 ": pos=%06" PRIu32 ":%04zx %c ",         
 2026558:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          <== NOT EXECUTED
 202655c:	c4 0f bf d7 	ldub  [ %fp + -41 ], %g2                       <== NOT EXECUTED
 2026560:	d4 07 bf ec 	ld  [ %fp + -20 ], %o2                         <== NOT EXECUTED
 2026564:	80 a0 00 02 	cmp  %g0, %g2                                  <== NOT EXECUTED
 2026568:	97 28 60 03 	sll  %g1, 3, %o3                               <== NOT EXECUTED
 202656c:	83 28 60 06 	sll  %g1, 6, %g1                               <== NOT EXECUTED
 2026570:	98 40 3f ff 	addx  %g0, -1, %o4                             <== NOT EXECUTED
 2026574:	96 20 40 0b 	sub  %g1, %o3, %o3                             <== NOT EXECUTED
 2026578:	98 0b 20 05 	and  %o4, 5, %o4                               <== NOT EXECUTED
 202657c:	90 10 00 19 	mov  %i1, %o0                                  <== NOT EXECUTED
 2026580:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2026584:	40 00 9b 20 	call  204d204 <printf>                         <== NOT EXECUTED
 2026588:	98 03 20 41 	add  %o4, 0x41, %o4                            <== NOT EXECUTED
                ino, rtems_rfs_buffer_bnum (&inode.buffer),           
                inode.offset * RTEMS_RFS_INODE_SIZE,                  
                allocated ? 'A' : 'F');                               
                                                                      
        if (!allocated && !forced)                                    
 202658c:	c2 0f bf d7 	ldub  [ %fp + -41 ], %g1                       <== NOT EXECUTED
 2026590:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2026594:	12 80 00 05 	bne  20265a8 <rtems_rfs_shell_inode+0x244>     <== NOT EXECUTED
 2026598:	03 00 00 3c 	sethi  %hi(0xf000), %g1                        <== NOT EXECUTED
 202659c:	80 8d 20 ff 	btst  0xff, %l4                                <== NOT EXECUTED
 20265a0:	02 80 00 8f 	be  20267dc <rtems_rfs_shell_inode+0x478>      <== NOT EXECUTED
 20265a4:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
          printf (" --\n");                                           
        else                                                          
        {                                                             
          const char* type;                                           
          type = "UKN";                                               
          if (RTEMS_RFS_S_ISDIR (mode))                               
 20265a8:	05 00 00 10 	sethi  %hi(0x4000), %g2                        <== NOT EXECUTED
 20265ac:	82 0f 00 01 	and  %i4, %g1, %g1                             <== NOT EXECUTED
 20265b0:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 20265b4:	02 80 00 1a 	be  202661c <rtems_rfs_shell_inode+0x2b8>      <== NOT EXECUTED
 20265b8:	05 00 00 08 	sethi  %hi(0x2000), %g2                        <== NOT EXECUTED
            type = "DIR";                                             
          else if (RTEMS_RFS_S_ISCHR (mode))                          
 20265bc:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 20265c0:	02 80 00 84 	be  20267d0 <rtems_rfs_shell_inode+0x46c>      <== NOT EXECUTED
 20265c4:	05 00 00 18 	sethi  %hi(0x6000), %g2                        <== NOT EXECUTED
            type = "CHR";                                             
          else if (RTEMS_RFS_S_ISBLK (mode))                          
 20265c8:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 20265cc:	02 80 00 9f 	be  2026848 <rtems_rfs_shell_inode+0x4e4>      <== NOT EXECUTED
 20265d0:	05 00 00 20 	sethi  %hi(0x8000), %g2                        <== NOT EXECUTED
            type = "BLK";                                             
          else if (RTEMS_RFS_S_ISREG (mode))                          
 20265d4:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 20265d8:	02 80 00 9f 	be  2026854 <rtems_rfs_shell_inode+0x4f0>      <== NOT EXECUTED
 20265dc:	05 00 00 28 	sethi  %hi(0xa000), %g2                        <== NOT EXECUTED
            type = "REG";                                             
          else if (RTEMS_RFS_S_ISLNK (mode))                          
 20265e0:	80 a0 40 02 	cmp  %g1, %g2                                  <== NOT EXECUTED
 20265e4:	22 80 00 9f 	be,a   2026860 <rtems_rfs_shell_inode+0x4fc>   <== NOT EXECUTED
 20265e8:	17 00 81 a5 	sethi  %hi(0x2069400), %o3                     <== NOT EXECUTED
        if (!allocated && !forced)                                    
          printf (" --\n");                                           
        else                                                          
        {                                                             
          const char* type;                                           
          type = "UKN";                                               
 20265ec:	17 00 81 a5 	sethi  %hi(0x2069400), %o3                     <== NOT EXECUTED
 20265f0:	10 80 00 0d 	b  2026624 <rtems_rfs_shell_inode+0x2c0>       <== NOT EXECUTED
 20265f4:	96 12 e2 88 	or  %o3, 0x288, %o3	! 2069688 <rtems_rfs_rtems_eval_config+0x4b0><== NOT EXECUTED
        start = end = strtoul (argv[arg], 0, 0);                      
        have_start = true;                                            
      }                                                               
      else                                                            
      {                                                               
        end = strtoul (argv[arg], 0, 0);                              
 20265f8:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 20265fc:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2026600:	40 00 aa d6 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2026604:	a0 10 20 01 	mov  1, %l0                                    <== NOT EXECUTED
 2026608:	10 bf ff 74 	b  20263d8 <rtems_rfs_shell_inode+0x74>        <== NOT EXECUTED
 202660c:	b6 10 00 08 	mov  %o0, %i3                                  <== NOT EXECUTED
          break;                                                      
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (have_end && have_start)                                     
 2026610:	02 bf ff 6c 	be  20263c0 <rtems_rfs_shell_inode+0x5c>       <== NOT EXECUTED
 2026614:	90 10 00 09 	mov  %o1, %o0                                  <== NOT EXECUTED
 2026618:	30 bf ff 82 	b,a   2026420 <rtems_rfs_shell_inode+0xbc>     <== NOT EXECUTED
        else                                                          
        {                                                             
          const char* type;                                           
          type = "UKN";                                               
          if (RTEMS_RFS_S_ISDIR (mode))                               
            type = "DIR";                                             
 202661c:	17 00 81 a5 	sethi  %hi(0x2069400), %o3                     <== NOT EXECUTED
 2026620:	96 12 e2 68 	or  %o3, 0x268, %o3	! 2069668 <rtems_rfs_rtems_eval_config+0x490><== 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);                  
 2026624:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
 2026628:	c4 08 40 00 	ldub  [ %g1 ], %g2                             <== NOT EXECUTED
  if (links == 0xffff)                                                
 202662c:	c6 08 60 01 	ldub  [ %g1 + 1 ], %g3                         <== 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);                  
 2026630:	85 28 a0 08 	sll  %g2, 8, %g2                               <== NOT EXECUTED
  if (links == 0xffff)                                                
 2026634:	84 10 c0 02 	or  %g3, %g2, %g2                              <== NOT EXECUTED
 2026638:	80 a0 80 15 	cmp  %g2, %l5                                  <== NOT EXECUTED
 202663c:	02 80 00 03 	be  2026648 <rtems_rfs_shell_inode+0x2e4>      <== NOT EXECUTED
 2026640:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2026644:	92 10 00 02 	mov  %g2, %o1                                  <== NOT EXECUTED
 * @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);            
 2026648:	d8 08 60 0a 	ldub  [ %g1 + 0xa ], %o4                       <== NOT EXECUTED
 * @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);             
 202664c:	c4 08 60 0c 	ldub  [ %g1 + 0xc ], %g2                       <== NOT EXECUTED
 2026650:	de 08 60 0d 	ldub  [ %g1 + 0xd ], %o7                       <== NOT EXECUTED
 2026654:	c8 08 60 0f 	ldub  [ %g1 + 0xf ], %g4                       <== NOT EXECUTED
 2026658:	c6 08 60 0e 	ldub  [ %g1 + 0xe ], %g3                       <== NOT EXECUTED
            type = "BLK";                                             
          else if (RTEMS_RFS_S_ISREG (mode))                          
            type = "REG";                                             
          else if (RTEMS_RFS_S_ISLNK (mode))                          
            type = "LNK";                                             
          printf ("links=%03i mode=%04x (%s/%03o) bo=%04u bc=%04" PRIu32 " b=[",
 202665c:	da 08 60 0b 	ldub  [ %g1 + 0xb ], %o5                       <== NOT EXECUTED
 2026660:	85 28 a0 18 	sll  %g2, 0x18, %g2                            <== NOT EXECUTED
 * @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);            
 2026664:	83 2b 20 08 	sll  %o4, 8, %g1                               <== NOT EXECUTED
 * @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);             
 2026668:	9f 2b e0 10 	sll  %o7, 0x10, %o7                            <== NOT EXECUTED
 202666c:	87 28 e0 08 	sll  %g3, 8, %g3                               <== NOT EXECUTED
 2026670:	84 10 80 0f 	or  %g2, %o7, %g2                              <== NOT EXECUTED
 2026674:	84 10 80 04 	or  %g2, %g4, %g2                              <== NOT EXECUTED
 2026678:	84 10 80 03 	or  %g2, %g3, %g2                              <== NOT EXECUTED
 202667c:	95 2f 20 10 	sll  %i4, 0x10, %o2                            <== NOT EXECUTED
 2026680:	98 0f 23 ff 	and  %i4, 0x3ff, %o4                           <== NOT EXECUTED
 2026684:	90 10 00 12 	mov  %l2, %o0                                  <== NOT EXECUTED
 2026688:	c4 23 a0 5c 	st  %g2, [ %sp + 0x5c ]                        <== NOT EXECUTED
 202668c:	95 32 a0 10 	srl  %o2, 0x10, %o2                            <== NOT EXECUTED
 2026690:	9a 13 40 01 	or  %o5, %g1, %o5                              <== NOT EXECUTED
 2026694:	40 00 9a dc 	call  204d204 <printf>                         <== NOT EXECUTED
 2026698:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
 * @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]);      
 202669c:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
 20266a0:	84 07 20 06 	add  %i4, 6, %g2                               <== NOT EXECUTED
 20266a4:	85 28 a0 02 	sll  %g2, 2, %g2                               <== NOT EXECUTED
 20266a8:	84 00 40 02 	add  %g1, %g2, %g2                             <== NOT EXECUTED
 20266ac:	c6 08 a0 05 	ldub  [ %g2 + 5 ], %g3                         <== NOT EXECUTED
 20266b0:	82 00 a0 04 	add  %g2, 4, %g1                               <== NOT EXECUTED
 20266b4:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         <== NOT EXECUTED
 20266b8:	d2 08 a0 04 	ldub  [ %g2 + 4 ], %o1                         <== NOT EXECUTED
 20266bc:	c4 08 a0 07 	ldub  [ %g2 + 7 ], %g2                         <== NOT EXECUTED
 20266c0:	87 28 e0 10 	sll  %g3, 0x10, %g3                            <== NOT EXECUTED
 20266c4:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 20266c8:	93 2a 60 18 	sll  %o1, 0x18, %o1                            <== NOT EXECUTED
                  rtems_rfs_inode_get_links (&inode),                 
                  mode, type, mode & ((1 << 10) - 1),                 
                  rtems_rfs_inode_get_block_offset (&inode),          
                  rtems_rfs_inode_get_block_count (&inode));          
          for (b = 0; b < (RTEMS_RFS_INODE_BLOCKS - 1); b++)          
            printf ("%" PRIu32 " ", rtems_rfs_inode_get_block (&inode, b));
 20266cc:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 20266d0:	92 12 40 03 	or  %o1, %g3, %o1                              <== NOT EXECUTED
 20266d4:	92 12 40 02 	or  %o1, %g2, %o1                              <== NOT EXECUTED
 20266d8:	40 00 9a cb 	call  204d204 <printf>                         <== NOT EXECUTED
 20266dc:	92 12 40 01 	or  %o1, %g1, %o1                              <== NOT EXECUTED
          printf ("links=%03i mode=%04x (%s/%03o) bo=%04u bc=%04" PRIu32 " b=[",
                  rtems_rfs_inode_get_links (&inode),                 
                  mode, type, mode & ((1 << 10) - 1),                 
                  rtems_rfs_inode_get_block_offset (&inode),          
                  rtems_rfs_inode_get_block_count (&inode));          
          for (b = 0; b < (RTEMS_RFS_INODE_BLOCKS - 1); b++)          
 20266e0:	b8 07 20 01 	inc  %i4                                       <== NOT EXECUTED
 20266e4:	80 a7 20 04 	cmp  %i4, 4                                    <== NOT EXECUTED
 20266e8:	12 bf ff ee 	bne  20266a0 <rtems_rfs_shell_inode+0x33c>     <== NOT EXECUTED
 20266ec:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         <== NOT EXECUTED
            printf ("%" PRIu32 " ", rtems_rfs_inode_get_block (&inode, b));
          printf ("%" PRIu32 "]\n", rtems_rfs_inode_get_block (&inode, b));
 20266f0:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 20266f4:	d2 08 60 2c 	ldub  [ %g1 + 0x2c ], %o1                      <== NOT EXECUTED
 20266f8:	c6 08 60 2d 	ldub  [ %g1 + 0x2d ], %g3                      <== NOT EXECUTED
 20266fc:	c4 08 60 2f 	ldub  [ %g1 + 0x2f ], %g2                      <== NOT EXECUTED
 2026700:	c2 08 60 2e 	ldub  [ %g1 + 0x2e ], %g1                      <== NOT EXECUTED
 2026704:	87 28 e0 10 	sll  %g3, 0x10, %g3                            <== NOT EXECUTED
 2026708:	83 28 60 08 	sll  %g1, 8, %g1                               <== NOT EXECUTED
 202670c:	93 2a 60 18 	sll  %o1, 0x18, %o1                            <== NOT EXECUTED
 2026710:	92 12 40 03 	or  %o1, %g3, %o1                              <== NOT EXECUTED
 2026714:	92 12 40 02 	or  %o1, %g2, %o1                              <== NOT EXECUTED
 2026718:	40 00 9a bb 	call  204d204 <printf>                         <== NOT EXECUTED
 202671c:	92 12 40 01 	or  %o1, %g1, %o1                              <== NOT EXECUTED
        }                                                             
      }                                                               
                                                                      
      rc = rtems_rfs_inode_close (fs, &inode);                        
 2026720:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2026724:	40 00 6c 47 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2026728:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
      if (rc > 0)                                                     
 202672c:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2026730:	34 80 00 34 	bg,a   2026800 <rtems_rfs_shell_inode+0x49c>   <== NOT EXECUTED
 2026734:	f6 06 20 80 	ld  [ %i0 + 0x80 ], %i3                        <== NOT EXECUTED
    return 1;                                                         
  }                                                                   
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  for (ino = start; ino <= end; ino++)                                
 2026738:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 202673c:	80 a7 40 1b 	cmp  %i5, %i3                                  <== NOT EXECUTED
 2026740:	08 bf ff 58 	bleu  20264a0 <rtems_rfs_shell_inode+0x13c>    <== NOT EXECUTED
 2026744:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2026748:	fa 06 20 80 	ld  [ %i0 + 0x80 ], %i5                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 202674c:	40 00 59 bf 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2026750:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2026754:	7f ff 9e 6c 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2026758:	d0 07 40 00 	ld  [ %i5 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 202675c:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2026760:	12 80 00 6d 	bne  2026914 <rtems_rfs_shell_inode+0x5b0>     <== NOT EXECUTED
 2026764:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_shell_unlock_rfs (fs);                                    
                                                                      
  return 0;                                                           
}                                                                     
 2026768:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202676c:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
        case 'e':                                                     
          error_check_only = true;                                    
          break;                                                      
        case 'f':                                                     
          forced = true;                                              
          break;                                                      
 2026770:	10 bf ff 1a 	b  20263d8 <rtems_rfs_shell_inode+0x74>        <== NOT EXECUTED
 2026774:	a8 10 20 01 	mov  1, %l4                                    <== NOT EXECUTED
      {                                                               
        case 'a':                                                     
          show_all = true;                                            
          break;                                                      
        case 'e':                                                     
          error_check_only = true;                                    
 2026778:	10 bf ff 18 	b  20263d8 <rtems_rfs_shell_inode+0x74>        <== NOT EXECUTED
 202677c:	a6 10 20 01 	mov  1, %l3                                    <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  if ((start >= total) || (end >= total))                             
  {                                                                   
    printf ("error: inode out of range (0->%" PRId32 ").\n", total - 1);
 2026780:	92 10 00 17 	mov  %l7, %o1                                  <== NOT EXECUTED
 2026784:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
    return 1;                                                         
 2026788:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  if ((start >= total) || (end >= total))                             
  {                                                                   
    printf ("error: inode out of range (0->%" PRId32 ").\n", total - 1);
 202678c:	40 00 9a 9e 	call  204d204 <printf>                         <== NOT EXECUTED
 2026790:	90 12 22 b8 	or  %o0, 0x2b8, %o0                            <== NOT EXECUTED
    return 1;                                                         
 2026794:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026798:	81 e8 00 00 	restore                                        <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_obtain (*mutex, RTEMS_WAIT, 0);
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 202679c:	40 00 01 ba 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20267a0:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20267a4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20267a8:	22 bf ff 31 	be,a   202646c <rtems_rfs_shell_inode+0x108>   <== NOT EXECUTED
 20267ac:	80 a6 c0 12 	cmp  %i3, %l2                                  <== NOT EXECUTED
      printf ("rtems-rfs: mutex: obtain failed: %s\n",                
 20267b0:	7f ff 8a 3c 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20267b4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20267b8:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20267bc:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20267c0:	40 00 9a 91 	call  204d204 <printf>                         <== NOT EXECUTED
 20267c4:	90 12 21 30 	or  %o0, 0x130, %o0	! 2069130 <rtems_nvdisk_sram_handlers+0x74><== NOT EXECUTED
  }                                                                   
                                                                      
  rtems_rfs_shell_lock_rfs (fs);                                      
                                                                      
  for (ino = start; ino <= end; ino++)                                
 20267c8:	10 bf ff 29 	b  202646c <rtems_rfs_shell_inode+0x108>       <== NOT EXECUTED
 20267cc:	80 a6 c0 12 	cmp  %i3, %l2                                  <== NOT EXECUTED
          const char* type;                                           
          type = "UKN";                                               
          if (RTEMS_RFS_S_ISDIR (mode))                               
            type = "DIR";                                             
          else if (RTEMS_RFS_S_ISCHR (mode))                          
            type = "CHR";                                             
 20267d0:	17 00 81 a5 	sethi  %hi(0x2069400), %o3                     <== NOT EXECUTED
 20267d4:	10 bf ff 94 	b  2026624 <rtems_rfs_shell_inode+0x2c0>       <== NOT EXECUTED
 20267d8:	96 12 e2 70 	or  %o3, 0x270, %o3	! 2069670 <rtems_rfs_rtems_eval_config+0x498><== NOT EXECUTED
                ino, rtems_rfs_buffer_bnum (&inode.buffer),           
                inode.offset * RTEMS_RFS_INODE_SIZE,                  
                allocated ? 'A' : 'F');                               
                                                                      
        if (!allocated && !forced)                                    
          printf (" --\n");                                           
 20267dc:	40 00 9b 22 	call  204d464 <puts>                           <== NOT EXECUTED
 20267e0:	90 12 23 60 	or  %o0, 0x360, %o0                            <== NOT EXECUTED
            printf ("%" PRIu32 " ", rtems_rfs_inode_get_block (&inode, b));
          printf ("%" PRIu32 "]\n", rtems_rfs_inode_get_block (&inode, b));
        }                                                             
      }                                                               
                                                                      
      rc = rtems_rfs_inode_close (fs, &inode);                        
 20267e4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20267e8:	40 00 6c 16 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20267ec:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
      if (rc > 0)                                                     
 20267f0:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 20267f4:	24 bf ff d2 	ble,a   202673c <rtems_rfs_shell_inode+0x3d8>  <== NOT EXECUTED
 20267f8:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 20267fc:	f6 06 20 80 	ld  [ %i0 + 0x80 ], %i3                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 2026800:	40 00 59 92 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2026804:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2026808:	7f ff 9e 3f 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 202680c:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 2026810:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 2026814:	32 80 00 64 	bne,a   20269a4 <rtems_rfs_shell_inode+0x640>  <== NOT EXECUTED
 2026818:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
      {                                                               
        rtems_rfs_shell_unlock_rfs (fs);                              
        printf ("error: closing inode handle: ino=%" PRIu32 ": (%d) %s\n",
 202681c:	40 00 a3 d3 	call  204f768 <strerror>                       <== NOT EXECUTED
 2026820:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2026824:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2026828:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 202682c:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 2026830:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 2026834:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 2026838:	40 00 9a 73 	call  204d204 <printf>                         <== NOT EXECUTED
 202683c:	90 12 23 b0 	or  %o0, 0x3b0, %o0                            <== NOT EXECUTED
 2026840:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026844:	81 e8 00 00 	restore                                        <== NOT EXECUTED
          if (RTEMS_RFS_S_ISDIR (mode))                               
            type = "DIR";                                             
          else if (RTEMS_RFS_S_ISCHR (mode))                          
            type = "CHR";                                             
          else if (RTEMS_RFS_S_ISBLK (mode))                          
            type = "BLK";                                             
 2026848:	17 00 81 a5 	sethi  %hi(0x2069400), %o3                     <== NOT EXECUTED
 202684c:	10 bf ff 76 	b  2026624 <rtems_rfs_shell_inode+0x2c0>       <== NOT EXECUTED
 2026850:	96 12 e2 78 	or  %o3, 0x278, %o3	! 2069678 <rtems_rfs_rtems_eval_config+0x4a0><== NOT EXECUTED
          else if (RTEMS_RFS_S_ISREG (mode))                          
            type = "REG";                                             
 2026854:	17 00 81 a5 	sethi  %hi(0x2069400), %o3                     <== NOT EXECUTED
 2026858:	10 bf ff 73 	b  2026624 <rtems_rfs_shell_inode+0x2c0>       <== NOT EXECUTED
 202685c:	96 12 e2 80 	or  %o3, 0x280, %o3	! 2069680 <rtems_rfs_rtems_eval_config+0x4a8><== NOT EXECUTED
          else if (RTEMS_RFS_S_ISLNK (mode))                          
            type = "LNK";                                             
 2026860:	10 bf ff 71 	b  2026624 <rtems_rfs_shell_inode+0x2c0>       <== NOT EXECUTED
 2026864:	96 12 e2 90 	or  %o3, 0x290, %o3                            <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 2026868:	f6 06 20 80 	ld  [ %i0 + 0x80 ], %i3                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 202686c:	40 00 59 77 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 2026870:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 2026874:	7f ff 9e 24 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 2026878:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 202687c:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 2026880:	32 80 00 31 	bne,a   2026944 <rtems_rfs_shell_inode+0x5e0>  <== NOT EXECUTED
 2026884:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_group_bitmap_test (fs, true, ino, &allocated);     
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_shell_unlock_rfs (fs);                                
      printf ("error: testing inode state: ino=%" PRIu32 ": (%d) %s\n",
 2026888:	40 00 a3 b8 	call  204f768 <strerror>                       <== NOT EXECUTED
 202688c:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2026890:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2026894:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2026898:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 202689c:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 20268a0:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 20268a4:	40 00 9a 58 	call  204d204 <printf>                         <== NOT EXECUTED
 20268a8:	90 12 22 e0 	or  %o0, 0x2e0, %o0                            <== NOT EXECUTED
 20268ac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20268b0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
 * Unlock the RFS file system.                                        
 */                                                                   
static inline void                                                    
 rtems_rfs_rtems_unlock (rtems_rfs_file_system* fs)                   
{                                                                     
  rtems_rfs_rtems_private* rtems = rtems_rfs_fs_user (fs);            
 20268b4:	f6 06 20 80 	ld  [ %i0 + 0x80 ], %i3                        <== NOT EXECUTED
  rtems_rfs_buffers_release (fs);                                     
 20268b8:	40 00 59 64 	call  203ce48 <rtems_rfs_buffers_release>      <== NOT EXECUTED
 20268bc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_mutex_unlock (rtems_rfs_mutex* mutex)                       
{                                                                     
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
 20268c0:	7f ff 9e 11 	call  200e104 <rtems_semaphore_release>        <== NOT EXECUTED
 20268c4:	d0 06 c0 00 	ld  [ %i3 ], %o0                               <== NOT EXECUTED
  if (sc != RTEMS_SUCCESSFUL)                                         
 20268c8:	b6 92 20 00 	orcc  %o0, 0, %i3                              <== NOT EXECUTED
 20268cc:	32 80 00 2a 	bne,a   2026974 <rtems_rfs_shell_inode+0x610>  <== NOT EXECUTED
 20268d0:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
                                                                      
      rc = rtems_rfs_inode_open (fs, ino, &inode, true);              
      if (rc > 0)                                                     
      {                                                               
        rtems_rfs_shell_unlock_rfs (fs);                              
        printf ("error: opening inode handle: ino=%" PRIu32 ": (%d) %s\n",
 20268d4:	40 00 a3 a5 	call  204f768 <strerror>                       <== NOT EXECUTED
 20268d8:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 20268dc:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20268e0:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 20268e4:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 20268e8:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 20268ec:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 20268f0:	40 00 9a 45 	call  204d204 <printf>                         <== NOT EXECUTED
 20268f4:	90 12 23 10 	or  %o0, 0x310, %o0                            <== NOT EXECUTED
 20268f8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20268fc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  total = fs->group_inodes * fs->group_count;                         
  start = RTEMS_RFS_ROOT_INO;                                         
  end = total - 1;                                                    
  show_all = false;                                                   
  error_check_only = false;                                           
  forced = false;                                                     
 2026900:	a8 10 20 00 	clr  %l4                                       <== NOT EXECUTED
                                                                      
  total = fs->group_inodes * fs->group_count;                         
  start = RTEMS_RFS_ROOT_INO;                                         
  end = total - 1;                                                    
  show_all = false;                                                   
  error_check_only = false;                                           
 2026904:	a6 10 20 00 	clr  %l3                                       <== NOT EXECUTED
  int           rc;                                                   
                                                                      
  total = fs->group_inodes * fs->group_count;                         
  start = RTEMS_RFS_ROOT_INO;                                         
  end = total - 1;                                                    
  show_all = false;                                                   
 2026908:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
  int           arg;                                                  
  int           b;                                                    
  int           rc;                                                   
                                                                      
  total = fs->group_inodes * fs->group_count;                         
  start = RTEMS_RFS_ROOT_INO;                                         
 202690c:	10 bf fe cb 	b  2026438 <rtems_rfs_shell_inode+0xd4>        <== NOT EXECUTED
 2026910:	a4 10 20 01 	mov  1, %l2                                    <== NOT EXECUTED
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2026914:	40 00 01 5c 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2026918:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 202691c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2026920:	02 bf ff 92 	be  2026768 <rtems_rfs_shell_inode+0x404>      <== NOT EXECUTED
 2026924:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2026928:	7f ff 89 de 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 202692c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2026930:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2026934:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2026938:	40 00 9a 33 	call  204d204 <printf>                         <== NOT EXECUTED
 202693c:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2026940:	30 bf ff 8a 	b,a   2026768 <rtems_rfs_shell_inode+0x404>    <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2026944:	40 00 01 50 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2026948:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 202694c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2026950:	02 bf ff ce 	be  2026888 <rtems_rfs_shell_inode+0x524>      <== NOT EXECUTED
 2026954:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2026958:	7f ff 89 d2 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 202695c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2026960:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2026964:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2026968:	40 00 9a 27 	call  204d204 <printf>                         <== NOT EXECUTED
 202696c:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 2026970:	30 bf ff c6 	b,a   2026888 <rtems_rfs_shell_inode+0x524>    <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 2026974:	40 00 01 44 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2026978:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 202697c:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2026980:	02 bf ff d5 	be  20268d4 <rtems_rfs_shell_inode+0x570>      <== NOT EXECUTED
 2026984:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 2026988:	7f ff 89 c6 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 202698c:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 2026990:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 2026994:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 2026998:	40 00 9a 1b 	call  204d204 <printf>                         <== NOT EXECUTED
 202699c:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 20269a0:	30 bf ff cd 	b,a   20268d4 <rtems_rfs_shell_inode+0x570>    <== NOT EXECUTED
#if __rtems__                                                         
  rtems_status_code sc = rtems_semaphore_release (*mutex);            
  if (sc != RTEMS_SUCCESSFUL)                                         
  {                                                                   
#if RTEMS_RFS_TRACE                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_MUTEX))                      
 20269a4:	40 00 01 38 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20269a8:	92 10 20 04 	mov  4, %o1                                    <== NOT EXECUTED
 20269ac:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20269b0:	02 bf ff 9b 	be  202681c <rtems_rfs_shell_inode+0x4b8>      <== NOT EXECUTED
 20269b4:	01 00 00 00 	nop                                            <== NOT EXECUTED
      printf ("rtems-rfs: mutex: release failed: %s\n",               
 20269b8:	7f ff 89 ba 	call  20090a0 <rtems_status_text>              <== NOT EXECUTED
 20269bc:	90 10 00 1b 	mov  %i3, %o0                                  <== NOT EXECUTED
 20269c0:	92 10 00 08 	mov  %o0, %o1                                  <== NOT EXECUTED
 20269c4:	11 00 81 a4 	sethi  %hi(0x2069000), %o0                     <== NOT EXECUTED
 20269c8:	40 00 9a 0f 	call  204d204 <printf>                         <== NOT EXECUTED
 20269cc:	90 12 20 c8 	or  %o0, 0xc8, %o0	! 20690c8 <rtems_nvdisk_sram_handlers+0xc><== NOT EXECUTED
 20269d0:	30 bf ff 93 	b,a   202681c <rtems_rfs_shell_inode+0x4b8>    <== NOT EXECUTED
                                                                      

020269d4 <rtems_rfs_shell_usage>: } void rtems_rfs_shell_usage (const char* arg) {
 20269d4:	9d e3 bf a0 	save  %sp, -96, %sp                            <== NOT EXECUTED
  printf ("%s: RFS debugger\n", arg);                                 
 20269d8:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 20269dc:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 20269e0:	40 00 9a 09 	call  204d204 <printf>                         <== NOT EXECUTED
 20269e4:	90 12 23 e0 	or  %o0, 0x3e0, %o0                            <== NOT EXECUTED
  printf ("  %s [-hl] <path> <command>\n", arg);                      
 20269e8:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
 20269ec:	11 00 81 a5 	sethi  %hi(0x2069400), %o0                     <== NOT EXECUTED
 20269f0:	40 00 9a 05 	call  204d204 <printf>                         <== NOT EXECUTED
 20269f4:	90 12 23 f8 	or  %o0, 0x3f8, %o0	! 20697f8 <rtems_rfs_rtems_eval_config+0x620><== NOT EXECUTED
  printf ("   where:\n");                                             
 20269f8:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
 20269fc:	40 00 9a 9a 	call  204d464 <puts>                           <== NOT EXECUTED
 2026a00:	90 12 20 18 	or  %o0, 0x18, %o0	! 2069818 <rtems_rfs_rtems_eval_config+0x640><== NOT EXECUTED
  printf ("     path:    Path to the mounted RFS file system\n");     
 2026a04:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
 2026a08:	40 00 9a 97 	call  204d464 <puts>                           <== NOT EXECUTED
 2026a0c:	90 12 20 28 	or  %o0, 0x28, %o0	! 2069828 <rtems_rfs_rtems_eval_config+0x650><== NOT EXECUTED
  printf ("     command: A debugger command. See -l for a list plus help.\n");
 2026a10:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
 2026a14:	40 00 9a 94 	call  204d464 <puts>                           <== NOT EXECUTED
 2026a18:	90 12 20 60 	or  %o0, 0x60, %o0	! 2069860 <rtems_rfs_rtems_eval_config+0x688><== NOT EXECUTED
  printf ("     -h:      This help\n");                               
 2026a1c:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
  printf ("     -l:      The debugger command list.\n");              
 2026a20:	31 00 81 a6 	sethi  %hi(0x2069800), %i0                     <== NOT EXECUTED
  printf ("%s: RFS debugger\n", arg);                                 
  printf ("  %s [-hl] <path> <command>\n", arg);                      
  printf ("   where:\n");                                             
  printf ("     path:    Path to the mounted RFS file system\n");     
  printf ("     command: A debugger command. See -l for a list plus help.\n");
  printf ("     -h:      This help\n");                               
 2026a24:	90 12 20 a0 	or  %o0, 0xa0, %o0                             <== NOT EXECUTED
 2026a28:	40 00 9a 8f 	call  204d464 <puts>                           <== NOT EXECUTED
 2026a2c:	b0 16 20 b8 	or  %i0, 0xb8, %i0                             <== NOT EXECUTED
  printf ("     -l:      The debugger command list.\n");              
 2026a30:	40 00 9a 8d 	call  204d464 <puts>                           <== NOT EXECUTED
 2026a34:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02042588 <rtems_rfs_symlink>: const char* link, int link_length, uid_t uid, gid_t gid, rtems_rfs_ino parent) {
 2042588:	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))                      
 204258c:	90 10 20 02 	mov  2, %o0                                    
                   const char*            link,                       
                   int                    link_length,                
                   uid_t                  uid,                        
                   gid_t                  gid,                        
                   rtems_rfs_ino          parent)                     
{                                                                     
 2042590:	e4 17 a0 5e 	lduh  [ %fp + 0x5e ], %l2                      
  rtems_rfs_inode_handle inode;                                       
  rtems_rfs_ino          ino;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
 2042594:	7f ff 92 3c 	call  2026e84 <rtems_rfs_trace>                
 2042598:	92 10 20 00 	clr  %o1                                       
 204259c:	80 8a 20 ff 	btst  0xff, %o0                                
 20425a0:	32 80 00 08 	bne,a   20425c0 <rtems_rfs_symlink+0x38>       <== NEVER TAKEN
 20425a4:	d2 07 a0 60 	ld  [ %fp + 0x60 ], %o1                        <== NOT EXECUTED
    printf (" link:");                                                
    for (c = 0; c < link_length; c++)                                 
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
 20425a8:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 20425ac:	80 a7 00 01 	cmp  %i4, %g1                                  
 20425b0:	0a 80 00 22 	bcs  2042638 <rtems_rfs_symlink+0xb0>          <== ALWAYS TAKEN
 20425b4:	b4 10 20 5b 	mov  0x5b, %i2                                 
  rtems_rfs_inode_set_block_offset (&inode, link_length);             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
                                                                      
  return rc;                                                          
}                                                                     
 20425b8:	81 c7 e0 08 	ret                                            
 20425bc:	91 e8 00 1a 	restore  %g0, %i2, %o0                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK))                      
  {                                                                   
    int c;                                                            
    printf ("rtems-rfs: symlink: parent:%" PRIu32 " name:", parent);  
 20425c0:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 20425c4:	40 00 2b 10 	call  204d204 <printf>                         <== NOT EXECUTED
 20425c8:	90 12 21 90 	or  %o0, 0x190, %o0	! 206f990 <__FUNCTION__.7829+0x21f8><== NOT EXECUTED
 20425cc:	a0 10 00 19 	mov  %i1, %l0                                  <== NOT EXECUTED
    for (c = 0; c < length; c++)                                      
 20425d0:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 20425d4:	04 80 00 08 	ble  20425f4 <rtems_rfs_symlink+0x6c>          <== NOT EXECUTED
 20425d8:	a2 06 40 1a 	add  %i1, %i2, %l1                             <== NOT EXECUTED
      printf ("%c", name[c]);                                         
 20425dc:	d0 4c 00 00 	ldsb  [ %l0 ], %o0                             <== NOT EXECUTED
 20425e0:	40 00 2b 73 	call  204d3ac <putchar>                        <== NOT EXECUTED
 20425e4:	a0 04 20 01 	inc  %l0                                       <== 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++)                                      
 20425e8:	80 a4 00 11 	cmp  %l0, %l1                                  <== NOT EXECUTED
 20425ec:	32 bf ff fd 	bne,a   20425e0 <rtems_rfs_symlink+0x58>       <== NOT EXECUTED
 20425f0:	d0 4c 00 00 	ldsb  [ %l0 ], %o0                             <== NOT EXECUTED
      printf ("%c", name[c]);                                         
    printf (" link:");                                                
 20425f4:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 20425f8:	40 00 2b 03 	call  204d204 <printf>                         <== NOT EXECUTED
 20425fc:	90 12 21 b8 	or  %o0, 0x1b8, %o0	! 206f9b8 <__FUNCTION__.7829+0x2220><== NOT EXECUTED
 2042600:	b4 10 00 1b 	mov  %i3, %i2                                  <== NOT EXECUTED
    for (c = 0; c < link_length; c++)                                 
 2042604:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 2042608:	04 bf ff e8 	ble  20425a8 <rtems_rfs_symlink+0x20>          <== NOT EXECUTED
 204260c:	a0 07 00 1b 	add  %i4, %i3, %l0                             <== NOT EXECUTED
      printf ("%c", link[c]);                                         
 2042610:	d0 4e 80 00 	ldsb  [ %i2 ], %o0                             <== NOT EXECUTED
 2042614:	40 00 2b 66 	call  204d3ac <putchar>                        <== NOT EXECUTED
 2042618:	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++)                                 
 204261c:	80 a6 80 10 	cmp  %i2, %l0                                  <== NOT EXECUTED
 2042620:	32 bf ff fd 	bne,a   2042614 <rtems_rfs_symlink+0x8c>       <== NOT EXECUTED
 2042624:	d0 4e 80 00 	ldsb  [ %i2 ], %o0                             <== NOT EXECUTED
      printf ("%c", link[c]);                                         
  }                                                                   
                                                                      
  if (link_length >= rtems_rfs_fs_block_size (fs))                    
 2042628:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           <== NOT EXECUTED
 204262c:	80 a7 00 01 	cmp  %i4, %g1                                  <== NOT EXECUTED
 2042630:	1a bf ff e2 	bcc  20425b8 <rtems_rfs_symlink+0x30>          <== NOT EXECUTED
 2042634:	b4 10 20 5b 	mov  0x5b, %i2                                 <== NOT EXECUTED
    return ENAMETOOLONG;                                              
                                                                      
  rc = rtems_rfs_inode_create (fs, parent, name, strlen (name),       
 2042638:	40 00 34 73 	call  204f804 <strlen>                         
 204263c:	90 10 00 19 	mov  %i1, %o0                                  
 2042640:	d2 07 a0 60 	ld  [ %fp + 0x60 ], %o1                        
 2042644:	82 07 bf 74 	add  %fp, -140, %g1                            
 2042648:	96 10 00 08 	mov  %o0, %o3                                  
 204264c:	fa 23 a0 5c 	st  %i5, [ %sp + 0x5c ]                        
 2042650:	e4 23 a0 60 	st  %l2, [ %sp + 0x60 ]                        
 2042654:	90 10 00 18 	mov  %i0, %o0                                  
 2042658:	c2 23 a0 64 	st  %g1, [ %sp + 0x64 ]                        
 204265c:	94 10 00 19 	mov  %i1, %o2                                  
 2042660:	9a 10 20 01 	mov  1, %o5                                    
 2042664:	19 00 00 28 	sethi  %hi(0xa000), %o4                        
 2042668:	7f ff fd 50 	call  2041ba8 <rtems_rfs_inode_create>         
 204266c:	98 13 21 ff 	or  %o4, 0x1ff, %o4	! a1ff <PROM_START+0xa1ff> 
                               RTEMS_RFS_S_SYMLINK,                   
                               1, uid, gid, &ino);                    
  if (rc > 0)                                                         
 2042670:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2042674:	14 bf ff d1 	bg  20425b8 <rtems_rfs_symlink+0x30>           <== NEVER TAKEN
 2042678:	d2 07 bf 74 	ld  [ %fp + -140 ], %o1                        
    return rc;                                                        
                                                                      
  rc = rtems_rfs_inode_open (fs, ino, &inode, true);                  
 204267c:	90 10 00 18 	mov  %i0, %o0                                  
 2042680:	94 07 bf 88 	add  %fp, -120, %o2                            
 2042684:	7f ff fb f7 	call  2041660 <rtems_rfs_inode_open>           
 2042688:	96 10 20 01 	mov  1, %o3                                    
  if (rc > 0)                                                         
 204268c:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 2042690:	14 bf ff ca 	bg  20425b8 <rtems_rfs_symlink+0x30>           <== NEVER TAKEN
 2042694:	80 a7 20 13 	cmp  %i4, 0x13                                 
  /*                                                                  
   * 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)                   
 2042698:	38 80 00 20 	bgu,a   2042718 <rtems_rfs_symlink+0x190>      <== NEVER TAKEN
 204269c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  {                                                                   
    memset (inode.node->data.name, 0, RTEMS_RFS_INODE_DATA_NAME_SIZE);
 20426a0:	d0 07 bf 94 	ld  [ %fp + -108 ], %o0                        
 20426a4:	92 10 20 00 	clr  %o1                                       
 20426a8:	94 10 20 14 	mov  0x14, %o2                                 
 20426ac:	40 00 26 65 	call  204c040 <memset>                         
 20426b0:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
    memcpy (inode.node->data.name, link, link_length);                
 20426b4:	d0 07 bf 94 	ld  [ %fp + -108 ], %o0                        
 20426b8:	92 10 00 1b 	mov  %i3, %o1                                  
 20426bc:	90 02 20 1c 	add  %o0, 0x1c, %o0                            
 20426c0:	40 00 25 d1 	call  204be04 <memcpy>                         
 20426c4:	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);      
 20426c8:	c2 07 bf 94 	ld  [ %fp + -108 ], %g1                        
 20426cc:	c0 28 60 0c 	clrb  [ %g1 + 0xc ]                            
 20426d0:	c2 07 bf 94 	ld  [ %fp + -108 ], %g1                        
 20426d4:	c0 28 60 0d 	clrb  [ %g1 + 0xd ]                            
 20426d8:	c2 07 bf 94 	ld  [ %fp + -108 ], %g1                        
 20426dc:	c0 28 60 0e 	clrb  [ %g1 + 0xe ]                            
 20426e0:	c2 07 bf 94 	ld  [ %fp + -108 ], %g1                        
 20426e4:	c0 28 60 0f 	clrb  [ %g1 + 0xf ]                            
 */                                                                   
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);    
 20426e8:	c2 07 bf 94 	ld  [ %fp + -108 ], %g1                        
 20426ec:	85 37 20 08 	srl  %i4, 8, %g2                               
 20426f0:	c4 28 60 0a 	stb  %g2, [ %g1 + 0xa ]                        
 20426f4:	c2 07 bf 94 	ld  [ %fp + -108 ], %g1                        
    }                                                                 
  }                                                                   
                                                                      
  rtems_rfs_inode_set_block_offset (&inode, link_length);             
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 20426f8:	90 10 00 18 	mov  %i0, %o0                                  
 20426fc:	f8 28 60 0b 	stb  %i4, [ %g1 + 0xb ]                        
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2042700:	82 10 20 01 	mov  1, %g1                                    
 2042704:	92 07 bf 88 	add  %fp, -120, %o1                            
 2042708:	7f ff fc 4e 	call  2041840 <rtems_rfs_inode_close>          
 204270c:	c2 2f bf 98 	stb  %g1, [ %fp + -104 ]                       
 2042710:	10 bf ff aa 	b  20425b8 <rtems_rfs_symlink+0x30>            
 2042714:	b4 10 00 08 	mov  %o0, %i2                                  
    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);                 
 2042718:	92 07 bf 88 	add  %fp, -120, %o1                            <== NOT EXECUTED
 204271c:	7f ff e4 7d 	call  203b910 <rtems_rfs_block_map_open>       <== NOT EXECUTED
 2042720:	94 07 bf b0 	add  %fp, -80, %o2                             <== NOT EXECUTED
 2042724:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
    if (rc > 0)                                                       
 2042728:	80 a6 a0 00 	cmp  %i2, 0                                    <== NOT EXECUTED
 204272c:	04 80 00 05 	ble  2042740 <rtems_rfs_symlink+0x1b8>         <== NOT EXECUTED
 2042730:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, false); 
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
 2042734:	7f ff fc 43 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2042738:	92 07 bf 88 	add  %fp, -120, %o1                            <== NOT EXECUTED
 204273c:	30 bf ff 9f 	b,a   20425b8 <rtems_rfs_symlink+0x30>         <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_grow (fs, &map, 1, &block);              
 2042740:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 2042744:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 2042748:	7f ff e5 cb 	call  203be74 <rtems_rfs_block_map_grow>       <== NOT EXECUTED
 204274c:	96 07 bf 78 	add  %fp, -136, %o3                            <== NOT EXECUTED
    if (rc > 0)                                                       
 2042750:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 2042754:	04 80 00 07 	ble  2042770 <rtems_rfs_symlink+0x1e8>         <== NOT EXECUTED
 2042758:	d4 07 bf 78 	ld  [ %fp + -136 ], %o2                        <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, false); 
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
 204275c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2042760:	7f ff e4 cd 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 2042764:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
 2042768:	10 bf ff f3 	b  2042734 <rtems_rfs_symlink+0x1ac>           <== NOT EXECUTED
 204276c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 2042770:	c0 2f bf 7c 	clrb  [ %fp + -132 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2042774:	c0 27 bf 80 	clr  [ %fp + -128 ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2042778:	c0 27 bf 84 	clr  [ %fp + -124 ]                            <== 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); 
 204277c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2042780:	92 07 bf 7c 	add  %fp, -132, %o1                            <== NOT EXECUTED
 2042784:	7f ff e8 67 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2042788:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
    if (rc > 0)                                                       
 204278c:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 2042790:	14 bf ff f4 	bg  2042760 <rtems_rfs_symlink+0x1d8>          <== NOT EXECUTED
 2042794:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      rtems_rfs_block_map_close (fs, &map);                           
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
 2042798:	c2 07 bf 84 	ld  [ %fp + -124 ], %g1                        <== NOT EXECUTED
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
 204279c:	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);                           
 20427a0:	fa 00 60 1c 	ld  [ %g1 + 0x1c ], %i5                        <== NOT EXECUTED
                                                                      
    memset (data, 0xff, rtems_rfs_fs_block_size (fs));                
 20427a4:	92 10 20 ff 	mov  0xff, %o1                                 <== NOT EXECUTED
 20427a8:	40 00 26 26 	call  204c040 <memset>                         <== NOT EXECUTED
 20427ac:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
    memcpy (data, link, link_length);                                 
 20427b0:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 20427b4:	92 10 00 1b 	mov  %i3, %o1                                  <== NOT EXECUTED
 20427b8:	40 00 25 93 	call  204be04 <memcpy>                         <== NOT EXECUTED
 20427bc:	90 10 00 1d 	mov  %i5, %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);                       
 20427c0:	92 07 bf 7c 	add  %fp, -132, %o1                            <== NOT EXECUTED
 20427c4:	7f ff e7 dd 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 20427c8:	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);                        
 20427cc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 20427d0:	c0 2f bf 7c 	clrb  [ %fp + -132 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 20427d4:	c0 27 bf 80 	clr  [ %fp + -128 ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 20427d8:	c0 27 bf 84 	clr  [ %fp + -124 ]                            <== NOT EXECUTED
 20427dc:	7f ff e4 ae 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 20427e0:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
    if (rc > 0)                                                       
 20427e4:	b4 92 20 00 	orcc  %o0, 0, %i2                              <== NOT EXECUTED
 20427e8:	04 bf ff c0 	ble  20426e8 <rtems_rfs_symlink+0x160>         <== NOT EXECUTED
 20427ec:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20427f0:	30 bf ff d1 	b,a   2042734 <rtems_rfs_symlink+0x1ac>        <== NOT EXECUTED
                                                                      

020427f4 <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) {
 20427f4:	9d e3 bf 18 	save  %sp, -232, %sp                           
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
 20427f8:	90 10 20 04 	mov  4, %o0                                    
 20427fc:	7f ff 91 a2 	call  2026e84 <rtems_rfs_trace>                
 2042800:	92 10 20 00 	clr  %o1                                       
 2042804:	80 8a 20 ff 	btst  0xff, %o0                                
 2042808:	12 80 00 17 	bne  2042864 <rtems_rfs_symlink_read+0x70>     <== NEVER TAKEN
 204280c:	92 10 00 19 	mov  %i1, %o1                                  
    printf ("rtems-rfs: symlink-read: link:%" PRIu32 "\n", link);     
                                                                      
  rc = rtems_rfs_inode_open (fs, link, &inode, true);                 
 2042810:	90 10 00 18 	mov  %i0, %o0                                  
 2042814:	92 10 00 19 	mov  %i1, %o1                                  
 2042818:	94 07 bf 88 	add  %fp, -120, %o2                            
 204281c:	7f ff fb 91 	call  2041660 <rtems_rfs_inode_open>           
 2042820:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 2042824:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2042828:	12 80 00 0d 	bne  204285c <rtems_rfs_symlink_read+0x68>     <== NEVER TAKEN
 204282c:	d2 07 bf 94 	ld  [ %fp + -108 ], %o1                        
    return rc;                                                        
                                                                      
  if (!RTEMS_RFS_S_ISLNK (rtems_rfs_inode_get_mode (&inode)))         
 2042830:	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);                    
 2042834:	c4 0a 60 02 	ldub  [ %o1 + 2 ], %g2                         
 2042838:	85 28 a0 08 	sll  %g2, 8, %g2                               
 204283c:	84 08 80 01 	and  %g2, %g1, %g2                             
 2042840:	03 00 00 28 	sethi  %hi(0xa000), %g1                        
 2042844:	80 a0 80 01 	cmp  %g2, %g1                                  
 2042848:	02 80 00 0c 	be  2042878 <rtems_rfs_symlink_read+0x84>      <== ALWAYS TAKEN
 204284c:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
 2042850:	92 07 bf 88 	add  %fp, -120, %o1                            <== NOT EXECUTED
 2042854:	7f ff fb fb 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2042858:	ba 10 20 16 	mov  0x16, %i5                                 <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
                                                                      
  return rc;                                                          
}                                                                     
 204285c:	81 c7 e0 08 	ret                                            
 2042860:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
{                                                                     
  rtems_rfs_inode_handle inode;                                       
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_SYMLINK_READ))                 
    printf ("rtems-rfs: symlink-read: link:%" PRIu32 "\n", link);     
 2042864:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 2042868:	40 00 2a 67 	call  204d204 <printf>                         <== NOT EXECUTED
 204286c:	90 12 21 c0 	or  %o0, 0x1c0, %o0	! 206f9c0 <__FUNCTION__.7829+0x2228><== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, link, &inode, true);                 
 2042870:	10 bf ff e9 	b  2042814 <rtems_rfs_symlink_read+0x20>       <== NOT EXECUTED
 2042874:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 * @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);            
 2042878:	d4 0a 60 0a 	ldub  [ %o1 + 0xa ], %o2                       
  {                                                                   
    rtems_rfs_inode_close (fs, &inode);                               
    return EINVAL;                                                    
  }                                                                   
                                                                      
  *length = rtems_rfs_inode_get_block_offset (&inode);                
 204287c:	c2 0a 60 0b 	ldub  [ %o1 + 0xb ], %g1                       
 2042880:	95 2a a0 08 	sll  %o2, 8, %o2                               
 2042884:	94 10 40 0a 	or  %g1, %o2, %o2                              
 2042888:	80 a2 80 1b 	cmp  %o2, %i3                                  
 204288c:	38 80 00 02 	bgu,a   2042894 <rtems_rfs_symlink_read+0xa0>  
 2042890:	94 10 00 1b 	mov  %i3, %o2                                  
 2042894:	d4 27 00 00 	st  %o2, [ %i4 ]                               
 * @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);             
 2042898:	c8 0a 60 0c 	ldub  [ %o1 + 0xc ], %g4                       
 204289c:	c4 0a 60 0d 	ldub  [ %o1 + 0xd ], %g2                       
 20428a0:	c6 0a 60 0f 	ldub  [ %o1 + 0xf ], %g3                       
 20428a4:	c2 0a 60 0e 	ldub  [ %o1 + 0xe ], %g1                       
 20428a8:	89 29 20 18 	sll  %g4, 0x18, %g4                            
 20428ac:	85 28 a0 10 	sll  %g2, 0x10, %g2                            
 20428b0:	83 28 60 08 	sll  %g1, 8, %g1                               
 20428b4:	84 11 00 02 	or  %g4, %g2, %g2                              
 20428b8:	84 10 80 03 	or  %g2, %g3, %g2                              
  if (size < *length)                                                 
  {                                                                   
    *length = size;                                                   
  }                                                                   
                                                                      
  if (rtems_rfs_inode_get_block_count (&inode) == 0)                  
 20428bc:	80 90 80 01 	orcc  %g2, %g1, %g0                            
 20428c0:	12 80 00 0a 	bne  20428e8 <rtems_rfs_symlink_read+0xf4>     <== NEVER TAKEN
 20428c4:	90 10 00 18 	mov  %i0, %o0                                  
  {                                                                   
    memcpy (path, inode.node->data.name, *length);                    
 20428c8:	90 10 00 1a 	mov  %i2, %o0                                  
 20428cc:	40 00 25 4e 	call  204be04 <memcpy>                         
 20428d0:	92 02 60 1c 	add  %o1, 0x1c, %o1                            
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &inode);                            
 20428d4:	90 10 00 18 	mov  %i0, %o0                                  
 20428d8:	7f ff fb da 	call  2041840 <rtems_rfs_inode_close>          
 20428dc:	92 07 bf 88 	add  %fp, -120, %o1                            
 20428e0:	10 bf ff df 	b  204285c <rtems_rfs_symlink_read+0x68>       
 20428e4:	ba 10 00 08 	mov  %o0, %i5                                  
    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);                 
 20428e8:	92 07 bf 88 	add  %fp, -120, %o1                            <== NOT EXECUTED
 20428ec:	7f ff e4 09 	call  203b910 <rtems_rfs_block_map_open>       <== NOT EXECUTED
 20428f0:	94 07 bf b0 	add  %fp, -80, %o2                             <== NOT EXECUTED
 20428f4:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
    if (rc > 0)                                                       
 20428f8:	80 a7 60 00 	cmp  %i5, 0                                    <== NOT EXECUTED
 20428fc:	04 80 00 05 	ble  2042910 <rtems_rfs_symlink_read+0x11c>    <== NOT EXECUTED
 2042900:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_close (fs, &map);                        
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
 2042904:	7f ff fb cf 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2042908:	92 07 bf 88 	add  %fp, -120, %o1                            <== NOT EXECUTED
 204290c:	30 bf ff d4 	b,a   204285c <rtems_rfs_symlink_read+0x68>    <== NOT EXECUTED
    {                                                                 
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    rc = rtems_rfs_block_map_seek (fs, &map, 0, &block);              
 2042910:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 2042914:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
 2042918:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
 204291c:	7f ff e5 2c 	call  203bdcc <rtems_rfs_block_map_seek>       <== NOT EXECUTED
 2042920:	98 07 bf 78 	add  %fp, -136, %o4                            <== NOT EXECUTED
    if (rc > 0)                                                       
 2042924:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 2042928:	04 80 00 09 	ble  204294c <rtems_rfs_symlink_read+0x158>    <== NOT EXECUTED
 204292c:	d4 07 bf 78 	ld  [ %fp + -136 ], %o2                        <== NOT EXECUTED
    }                                                                 
                                                                      
    rc = rtems_rfs_buffer_handle_request (fs, &buffer, block, false); 
    if (rc > 0)                                                       
    {                                                                 
      rtems_rfs_block_map_close (fs, &map);                           
 2042930:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 2042934:	7f ff e4 58 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 2042938:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
 204293c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2042940:	7f ff fb c0 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2042944:	92 07 bf 88 	add  %fp, -120, %o1                            <== NOT EXECUTED
 2042948:	30 bf ff c5 	b,a   204285c <rtems_rfs_symlink_read+0x68>    <== NOT EXECUTED
 */                                                                   
static inline int                                                     
rtems_rfs_buffer_handle_open (rtems_rfs_file_system*   fs,            
                              rtems_rfs_buffer_handle* handle)        
{                                                                     
  handle->dirty = false;                                              
 204294c:	c0 2f bf 7c 	clrb  [ %fp + -132 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 2042950:	c0 27 bf 80 	clr  [ %fp + -128 ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 2042954:	c0 27 bf 84 	clr  [ %fp + -124 ]                            <== 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); 
 2042958:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 204295c:	92 07 bf 7c 	add  %fp, -132, %o1                            <== NOT EXECUTED
 2042960:	7f ff e7 f0 	call  203c920 <rtems_rfs_buffer_handle_request><== NOT EXECUTED
 2042964:	96 10 20 00 	clr  %o3                                       <== NOT EXECUTED
    if (rc > 0)                                                       
 2042968:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 204296c:	34 bf ff f2 	bg,a   2042934 <rtems_rfs_symlink_read+0x140>  <== NOT EXECUTED
 2042970:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &inode);                             
      return rc;                                                      
    }                                                                 
                                                                      
    data = rtems_rfs_buffer_data (&buffer);                           
    memcpy (path, data, *length);                                     
 2042974:	c2 07 bf 84 	ld  [ %fp + -124 ], %g1                        <== NOT EXECUTED
 2042978:	d4 07 00 00 	ld  [ %i4 ], %o2                               <== NOT EXECUTED
 204297c:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        <== NOT EXECUTED
 2042980:	40 00 25 21 	call  204be04 <memcpy>                         <== NOT EXECUTED
 2042984:	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);                       
 2042988:	92 07 bf 7c 	add  %fp, -132, %o1                            <== NOT EXECUTED
 204298c:	7f ff e7 6b 	call  203c738 <rtems_rfs_buffer_handle_release><== NOT EXECUTED
 2042990:	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);                        
 2042994:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  handle->dirty = false;                                              
 2042998:	c0 2f bf 7c 	clrb  [ %fp + -132 ]                           <== NOT EXECUTED
  handle->bnum  = 0;                                                  
 204299c:	c0 27 bf 80 	clr  [ %fp + -128 ]                            <== NOT EXECUTED
  handle->buffer = NULL;                                              
 20429a0:	c0 27 bf 84 	clr  [ %fp + -124 ]                            <== NOT EXECUTED
 20429a4:	7f ff e4 3c 	call  203ba94 <rtems_rfs_block_map_close>      <== NOT EXECUTED
 20429a8:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
    if (rc > 0)                                                       
 20429ac:	ba 92 20 00 	orcc  %o0, 0, %i5                              <== NOT EXECUTED
 20429b0:	04 bf ff c9 	ble  20428d4 <rtems_rfs_symlink_read+0xe0>     <== NOT EXECUTED
 20429b4:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20429b8:	30 bf ff d3 	b,a   2042904 <rtems_rfs_symlink_read+0x110>   <== NOT EXECUTED
                                                                      

02026ec4 <rtems_rfs_trace_clear_mask>: rtems_rfs_trace_mask rtems_rfs_trace_clear_mask (rtems_rfs_trace_mask mask) { rtems_rfs_trace_mask state = rtems_rfs_trace_flags;
 2026ec4:	03 00 81 d5 	sethi  %hi(0x2075400), %g1                     <== NOT EXECUTED
 2026ec8:	c4 18 62 00 	ldd  [ %g1 + 0x200 ], %g2	! 2075600 <rtems_rfs_trace_flags><== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
 2026ecc:	98 28 80 08 	andn  %g2, %o0, %o4                            <== NOT EXECUTED
 2026ed0:	9a 28 c0 09 	andn  %g3, %o1, %o5                            <== NOT EXECUTED
  return state;                                                       
}                                                                     
 2026ed4:	90 10 00 02 	mov  %g2, %o0                                  <== 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;                                     
 2026ed8:	d8 38 62 00 	std  %o4, [ %g1 + 0x200 ]                      <== NOT EXECUTED
  return state;                                                       
}                                                                     
 2026edc:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2026ee0:	92 10 00 03 	mov  %g3, %o1                                  <== NOT EXECUTED
                                                                      

02026ea4 <rtems_rfs_trace_set_mask>: rtems_rfs_trace_mask rtems_rfs_trace_set_mask (rtems_rfs_trace_mask mask) { rtems_rfs_trace_mask state = rtems_rfs_trace_flags;
 2026ea4:	03 00 81 d5 	sethi  %hi(0x2075400), %g1                     <== NOT EXECUTED
 2026ea8:	c4 18 62 00 	ldd  [ %g1 + 0x200 ], %g2	! 2075600 <rtems_rfs_trace_flags><== NOT EXECUTED
  rtems_rfs_trace_flags |= mask;                                      
 2026eac:	98 12 00 02 	or  %o0, %g2, %o4                              <== NOT EXECUTED
 2026eb0:	9a 12 40 03 	or  %o1, %g3, %o5                              <== NOT EXECUTED
  return state;                                                       
}                                                                     
 2026eb4:	90 10 00 02 	mov  %g2, %o0                                  <== 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;                                      
 2026eb8:	d8 38 62 00 	std  %o4, [ %g1 + 0x200 ]                      <== NOT EXECUTED
  return state;                                                       
}                                                                     
 2026ebc:	81 c3 e0 08 	retl                                           <== NOT EXECUTED
 2026ec0:	92 10 00 03 	mov  %g3, %o1                                  <== NOT EXECUTED
                                                                      

02026ee4 <rtems_rfs_trace_shell_command>: int rtems_rfs_trace_shell_command (int argc, char *argv[]) {
 2026ee4:	9d e3 be f8 	save  %sp, -264, %sp                           <== NOT EXECUTED
  const char* table[] =                                               
 2026ee8:	13 00 81 a7 	sethi  %hi(0x2069c00), %o1                     <== NOT EXECUTED
 2026eec:	a6 07 bf 64 	add  %fp, -156, %l3                            <== NOT EXECUTED
 2026ef0:	92 12 63 5c 	or  %o1, 0x35c, %o1                            <== NOT EXECUTED
 2026ef4:	90 10 00 13 	mov  %l3, %o0                                  <== NOT EXECUTED
 2026ef8:	40 00 93 c3 	call  204be04 <memcpy>                         <== NOT EXECUTED
 2026efc:	94 10 20 9c 	mov  0x9c, %o2                                 <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026f00:	80 a6 20 01 	cmp  %i0, 1                                    <== NOT EXECUTED
 2026f04:	04 80 00 43 	ble  2027010 <rtems_rfs_trace_shell_command+0x12c><== NOT EXECUTED
 2026f08:	01 00 00 00 	nop                                            <== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
 2026f0c:	e0 06 60 04 	ld  [ %i1 + 4 ], %l0                           <== NOT EXECUTED
 2026f10:	c2 4c 00 00 	ldsb  [ %l0 ], %g1                             <== NOT EXECUTED
 2026f14:	80 a0 60 2d 	cmp  %g1, 0x2d                                 <== NOT EXECUTED
 2026f18:	02 80 00 7b 	be  2027104 <rtems_rfs_trace_shell_command+0x220><== NOT EXECUTED
 2026f1c:	2f 00 81 d5 	sethi  %hi(0x2075400), %l7                     <== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
 2026f20:	2d 00 81 a7 	sethi  %hi(0x2069c00), %l6                     <== NOT EXECUTED
 2026f24:	f8 1d e2 00 	ldd  [ %l7 + 0x200 ], %i4                      <== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
 2026f28:	2b 00 81 a7 	sethi  %hi(0x2069c00), %l5                     <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026f2c:	a4 10 20 01 	mov  1, %l2                                    <== NOT EXECUTED
    "file-set"                                                        
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
 2026f30:	a8 10 20 01 	mov  1, %l4                                    <== NOT EXECUTED
    "file-io",                                                        
    "file-set"                                                        
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
  rtems_rfs_trace_mask clear_value = 0;                               
 2026f34:	b4 10 20 00 	clr  %i2                                       <== NOT EXECUTED
 2026f38:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
    "file-close",                                                     
    "file-io",                                                        
    "file-set"                                                        
  };                                                                  
                                                                      
  rtems_rfs_trace_mask set_value = 0;                                 
 2026f3c:	c0 27 bf 58 	clr  [ %fp + -168 ]                            <== NOT EXECUTED
 2026f40:	c0 27 bf 5c 	clr  [ %fp + -164 ]                            <== NOT EXECUTED
 2026f44:	ae 15 e2 00 	or  %l7, 0x200, %l7                            <== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
 2026f48:	ac 15 a0 e8 	or  %l6, 0xe8, %l6                             <== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
 2026f4c:	10 80 00 11 	b  2026f90 <rtems_rfs_trace_shell_command+0xac><== NOT EXECUTED
 2026f50:	aa 15 60 f0 	or  %l5, 0xf0, %l5                             <== NOT EXECUTED
        set = false;                                                  
 2026f54:	a8 10 20 00 	clr  %l4                                       <== NOT EXECUTED
 2026f58:	b8 10 80 1c 	or  %g2, %i4, %i4                              <== NOT EXECUTED
 2026f5c:	ba 10 c0 1d 	or  %g3, %i5, %i5                              <== NOT EXECUTED
 2026f60:	b8 2f 00 1a 	andn  %i4, %i2, %i4                            <== NOT EXECUTED
 2026f64:	ba 2f 40 1b 	andn  %i5, %i3, %i5                            <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026f68:	a4 04 a0 01 	inc  %l2                                       <== NOT EXECUTED
 2026f6c:	80 a4 80 18 	cmp  %l2, %i0                                  <== NOT EXECUTED
 2026f70:	02 80 00 28 	be  2027010 <rtems_rfs_trace_shell_command+0x12c><== NOT EXECUTED
 2026f74:	f8 3d c0 00 	std  %i4, [ %l7 ]                              <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
 2026f78:	83 2c a0 02 	sll  %l2, 2, %g1                               <== NOT EXECUTED
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
  {                                                                   
    if (argv[arg][0] == '-')                                          
 2026f7c:	e0 06 40 01 	ld  [ %i1 + %g1 ], %l0                         <== NOT EXECUTED
 2026f80:	c2 4c 00 00 	ldsb  [ %l0 ], %g1                             <== NOT EXECUTED
 2026f84:	80 a0 60 2d 	cmp  %g1, 0x2d                                 <== NOT EXECUTED
 2026f88:	22 80 00 60 	be,a   2027108 <rtems_rfs_trace_shell_command+0x224><== NOT EXECUTED
 2026f8c:	c2 4c 20 01 	ldsb  [ %l0 + 1 ], %g1                         <== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (strcmp (argv[arg], "set") == 0)                             
 2026f90:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2026f94:	40 00 a0 10 	call  204efd4 <strcmp>                         <== NOT EXECUTED
 2026f98:	92 10 00 16 	mov  %l6, %o1                                  <== NOT EXECUTED
 2026f9c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2026fa0:	22 80 00 02 	be,a   2026fa8 <rtems_rfs_trace_shell_command+0xc4><== NOT EXECUTED
 2026fa4:	a8 10 20 01 	mov  1, %l4                                    <== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
 2026fa8:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2026fac:	40 00 a0 0a 	call  204efd4 <strcmp>                         <== NOT EXECUTED
 2026fb0:	92 10 00 15 	mov  %l5, %o1                                  <== NOT EXECUTED
 2026fb4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2026fb8:	02 bf ff e7 	be  2026f54 <rtems_rfs_trace_shell_command+0x70><== NOT EXECUTED
 2026fbc:	c4 1f bf 58 	ldd  [ %fp + -168 ], %g2                       <== NOT EXECUTED
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
 2026fc0:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2026fc4:	13 00 81 a7 	sethi  %hi(0x2069c00), %o1                     <== NOT EXECUTED
 2026fc8:	40 00 a0 03 	call  204efd4 <strcmp>                         <== NOT EXECUTED
 2026fcc:	92 12 60 f8 	or  %o1, 0xf8, %o1	! 2069cf8 <rtems_rfs_rtems_eval_config+0xb20><== NOT EXECUTED
 2026fd0:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2026fd4:	12 80 00 14 	bne  2027024 <rtems_rfs_trace_shell_command+0x140><== NOT EXECUTED
 2026fd8:	a2 10 20 00 	clr  %l1                                       <== NOT EXECUTED
      {                                                               
        if (set)                                                      
 2026fdc:	80 8d 20 ff 	btst  0xff, %l4                                <== NOT EXECUTED
 2026fe0:	22 80 00 27 	be,a   202707c <rtems_rfs_trace_shell_command+0x198><== NOT EXECUTED
 2026fe4:	35 3f ff ff 	sethi  %hi(0xfffffc00), %i2                    <== NOT EXECUTED
 2026fe8:	b8 3e a0 00 	xnor  %i2, 0, %i4                              <== NOT EXECUTED
 2026fec:	ba 3e e0 00 	xnor  %i3, 0, %i5                              <== NOT EXECUTED
          set_value = RTEMS_RFS_TRACE_ALL;                            
 2026ff0:	05 3f ff ff 	sethi  %hi(0xfffffc00), %g2                    <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      rtems_rfs_trace_flags |= set_value;                             
      rtems_rfs_trace_flags &= ~clear_value;                          
 2026ff4:	f8 3d c0 00 	std  %i4, [ %l7 ]                              <== NOT EXECUTED
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
      {                                                               
        if (set)                                                      
          set_value = RTEMS_RFS_TRACE_ALL;                            
 2026ff8:	84 10 a3 ff 	or  %g2, 0x3ff, %g2                            <== NOT EXECUTED
 2026ffc:	86 10 00 02 	mov  %g2, %g3                                  <== NOT EXECUTED
  rtems_rfs_trace_mask clear_value = 0;                               
  bool                 set = true;                                    
  int                  arg;                                           
  int                  t;                                             
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2027000:	a4 04 a0 01 	inc  %l2                                       <== NOT EXECUTED
 2027004:	80 a4 80 18 	cmp  %l2, %i0                                  <== NOT EXECUTED
 2027008:	12 bf ff dc 	bne  2026f78 <rtems_rfs_trace_shell_command+0x94><== NOT EXECUTED
 202700c:	c4 3f bf 58 	std  %g2, [ %fp + -168 ]                       <== NOT EXECUTED
    {                                                                 
      switch (argv[arg][1])                                           
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
          return 0;                                                   
 2027010:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2027014:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
 2027018:	80 a4 60 27 	cmp  %l1, 0x27                                 <== NOT EXECUTED
 202701c:	02 80 00 13 	be  2027068 <rtems_rfs_trace_shell_command+0x184><== NOT EXECUTED
 2027020:	c4 1f bf 58 	ldd  [ %fp + -168 ], %g2                       <== NOT EXECUTED
  rtems_rfs_trace_flags &= ~mask;                                     
  return state;                                                       
}                                                                     
                                                                      
int                                                                   
rtems_rfs_trace_shell_command (int argc, char *argv[])                
 2027024:	85 2c 60 02 	sll  %l1, 2, %g2                               <== NOT EXECUTED
      }                                                               
      else                                                            
      {                                                               
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
 2027028:	d2 04 c0 02 	ld  [ %l3 + %g2 ], %o1                         <== NOT EXECUTED
 202702c:	40 00 9f ea 	call  204efd4 <strcmp>                         <== NOT EXECUTED
 2027030:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2027034:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2027038:	32 bf ff f8 	bne,a   2027018 <rtems_rfs_trace_shell_command+0x134><== NOT EXECUTED
 202703c:	a2 04 60 01 	inc  %l1                                       <== NOT EXECUTED
          {                                                           
            if (set)                                                  
 2027040:	80 8d 20 ff 	btst  0xff, %l4                                <== NOT EXECUTED
 2027044:	02 80 00 13 	be  2027090 <rtems_rfs_trace_shell_command+0x1ac><== NOT EXECUTED
 2027048:	80 8c 60 20 	btst  0x20, %l1                                <== NOT EXECUTED
              set_value = 1ULL << t;                                  
 202704c:	12 80 00 24 	bne  20270dc <rtems_rfs_trace_shell_command+0x1f8><== NOT EXECUTED
 2027050:	86 10 20 01 	mov  1, %g3                                    <== NOT EXECUTED
 2027054:	84 10 20 00 	clr  %g2                                       <== NOT EXECUTED
 2027058:	c4 27 bf 58 	st  %g2, [ %fp + -168 ]                        <== NOT EXECUTED
 202705c:	a3 28 c0 11 	sll  %g3, %l1, %l1                             <== NOT EXECUTED
 2027060:	e2 27 bf 5c 	st  %l1, [ %fp + -164 ]                        <== NOT EXECUTED
 2027064:	c4 1f bf 58 	ldd  [ %fp + -168 ], %g2                       <== NOT EXECUTED
 2027068:	b8 10 80 1c 	or  %g2, %i4, %i4                              <== NOT EXECUTED
 202706c:	ba 10 c0 1d 	or  %g3, %i5, %i5                              <== NOT EXECUTED
 2027070:	b8 2f 00 1a 	andn  %i4, %i2, %i4                            <== NOT EXECUTED
 2027074:	10 bf ff bd 	b  2026f68 <rtems_rfs_trace_shell_command+0x84><== NOT EXECUTED
 2027078:	ba 2f 40 1b 	andn  %i5, %i3, %i5                            <== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
      {                                                               
        if (set)                                                      
 202707c:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
          set_value = RTEMS_RFS_TRACE_ALL;                            
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
 2027080:	b4 16 a3 ff 	or  %i2, 0x3ff, %i2                            <== NOT EXECUTED
        set = true;                                                   
      if (strcmp (argv[arg], "clear") == 0)                           
        set = false;                                                  
      else if (strcmp (argv[arg], "all") == 0)                        
      {                                                               
        if (set)                                                      
 2027084:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
          set_value = RTEMS_RFS_TRACE_ALL;                            
        else                                                          
          clear_value = RTEMS_RFS_TRACE_ALL;                          
 2027088:	10 bf ff b8 	b  2026f68 <rtems_rfs_trace_shell_command+0x84><== NOT EXECUTED
 202708c:	b6 10 00 1a 	mov  %i2, %i3                                  <== NOT EXECUTED
          if (strcmp (argv[arg], table[t]) == 0)                      
          {                                                           
            if (set)                                                  
              set_value = 1ULL << t;                                  
            else                                                      
              clear_value = 1ULL << t;                                
 2027090:	12 80 00 0b 	bne  20270bc <rtems_rfs_trace_shell_command+0x1d8><== NOT EXECUTED
 2027094:	86 10 20 01 	mov  1, %g3                                    <== NOT EXECUTED
 2027098:	c4 1f bf 58 	ldd  [ %fp + -168 ], %g2                       <== NOT EXECUTED
 202709c:	b4 10 20 00 	clr  %i2                                       <== NOT EXECUTED
 20270a0:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 20270a4:	b8 10 80 1c 	or  %g2, %i4, %i4                              <== NOT EXECUTED
 20270a8:	b7 28 40 11 	sll  %g1, %l1, %i3                             <== NOT EXECUTED
 20270ac:	ba 10 c0 1d 	or  %g3, %i5, %i5                              <== NOT EXECUTED
 20270b0:	b8 2f 00 1a 	andn  %i4, %i2, %i4                            <== NOT EXECUTED
 20270b4:	10 bf ff ad 	b  2026f68 <rtems_rfs_trace_shell_command+0x84><== NOT EXECUTED
 20270b8:	ba 2f 40 1b 	andn  %i5, %i3, %i5                            <== NOT EXECUTED
 20270bc:	b5 28 c0 11 	sll  %g3, %l1, %i2                             <== NOT EXECUTED
 20270c0:	c4 1f bf 58 	ldd  [ %fp + -168 ], %g2                       <== NOT EXECUTED
 20270c4:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
 20270c8:	b8 10 80 1c 	or  %g2, %i4, %i4                              <== NOT EXECUTED
 20270cc:	ba 10 c0 1d 	or  %g3, %i5, %i5                              <== NOT EXECUTED
 20270d0:	b8 2f 00 1a 	andn  %i4, %i2, %i4                            <== NOT EXECUTED
 20270d4:	10 bf ff a5 	b  2026f68 <rtems_rfs_trace_shell_command+0x84><== NOT EXECUTED
 20270d8:	ba 2f 40 1b 	andn  %i5, %i3, %i5                            <== NOT EXECUTED
        for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++) 
        {                                                             
          if (strcmp (argv[arg], table[t]) == 0)                      
          {                                                           
            if (set)                                                  
              set_value = 1ULL << t;                                  
 20270dc:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
 20270e0:	a3 28 c0 11 	sll  %g3, %l1, %l1                             <== NOT EXECUTED
 20270e4:	c2 27 bf 5c 	st  %g1, [ %fp + -164 ]                        <== NOT EXECUTED
 20270e8:	e2 27 bf 58 	st  %l1, [ %fp + -168 ]                        <== NOT EXECUTED
 20270ec:	c4 1f bf 58 	ldd  [ %fp + -168 ], %g2                       <== NOT EXECUTED
 20270f0:	b8 10 80 1c 	or  %g2, %i4, %i4                              <== NOT EXECUTED
 20270f4:	ba 10 c0 1d 	or  %g3, %i5, %i5                              <== NOT EXECUTED
 20270f8:	b8 2f 00 1a 	andn  %i4, %i2, %i4                            <== NOT EXECUTED
 20270fc:	10 bf ff 9b 	b  2026f68 <rtems_rfs_trace_shell_command+0x84><== NOT EXECUTED
 2027100:	ba 2f 40 1b 	andn  %i5, %i3, %i5                            <== NOT EXECUTED
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
  {                                                                   
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
 2027104:	c2 4c 20 01 	ldsb  [ %l0 + 1 ], %g1                         <== NOT EXECUTED
 2027108:	80 a0 60 68 	cmp  %g1, 0x68                                 <== NOT EXECUTED
 202710c:	02 80 00 09 	be  2027130 <rtems_rfs_trace_shell_command+0x24c><== NOT EXECUTED
 2027110:	80 a0 60 6c 	cmp  %g1, 0x6c                                 <== NOT EXECUTED
 2027114:	02 80 00 0e 	be  202714c <rtems_rfs_trace_shell_command+0x268><== NOT EXECUTED
 2027118:	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");                         
 202711c:	11 00 81 a7 	sethi  %hi(0x2069c00), %o0                     <== NOT EXECUTED
 2027120:	40 00 98 d1 	call  204d464 <puts>                           <== NOT EXECUTED
 2027124:	90 12 20 d0 	or  %o0, 0xd0, %o0	! 2069cd0 <rtems_rfs_rtems_eval_config+0xaf8><== NOT EXECUTED
 2027128:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 202712c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
 2027130:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 2027134:	11 00 81 a7 	sethi  %hi(0x2069c00), %o0                     <== NOT EXECUTED
          return 0;                                                   
 2027138:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
 202713c:	40 00 98 32 	call  204d204 <printf>                         <== NOT EXECUTED
 2027140:	90 12 20 78 	or  %o0, 0x78, %o0                             <== NOT EXECUTED
 2027144:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2027148:	81 e8 00 00 	restore                                        <== NOT EXECUTED
          return 0;                                                   
        case 'l':                                                     
          printf ("%s: valid flags to set or clear are:\n", argv[0]); 
 202714c:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 2027150:	11 00 81 a7 	sethi  %hi(0x2069c00), %o0                     <== NOT EXECUTED
 2027154:	3b 00 81 a7 	sethi  %hi(0x2069c00), %i5                     <== NOT EXECUTED
 2027158:	90 12 20 a0 	or  %o0, 0xa0, %o0                             <== NOT EXECUTED
 202715c:	40 00 98 2a 	call  204d204 <printf>                         <== NOT EXECUTED
 2027160:	b8 10 00 1e 	mov  %fp, %i4                                  <== NOT EXECUTED
          for (t = 0; t < (sizeof (table) / sizeof (const char*)); t++)
            printf ("  %s\n", table[t]);                              
 2027164:	ba 17 60 c8 	or  %i5, 0xc8, %i5                             <== NOT EXECUTED
 2027168:	d2 04 c0 00 	ld  [ %l3 ], %o1                               <== NOT EXECUTED
 202716c:	40 00 98 26 	call  204d204 <printf>                         <== NOT EXECUTED
 2027170:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2027174:	a6 04 e0 04 	add  %l3, 4, %l3                               <== 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++)
 2027178:	80 a4 c0 1c 	cmp  %l3, %i4                                  <== NOT EXECUTED
 202717c:	32 bf ff fc 	bne,a   202716c <rtems_rfs_trace_shell_command+0x288><== NOT EXECUTED
 2027180:	d2 04 c0 00 	ld  [ %l3 ], %o1                               <== NOT EXECUTED
    {                                                                 
      switch (argv[arg][1])                                           
      {                                                               
        case 'h':                                                     
          printf ("usage: %s [-hl] [set/clear] [flags]\n", argv[0]);  
          return 0;                                                   
 2027184:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2027188:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

02042158 <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) {
 2042158:	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))                       
 204215c:	90 10 20 00 	clr  %o0                                       
 2042160:	7f ff 93 49 	call  2026e84 <rtems_rfs_trace>                
 2042164:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     
 2042168:	80 8a 20 ff 	btst  0xff, %o0                                
 204216c:	12 80 00 4a 	bne  2042294 <rtems_rfs_unlink+0x13c>          <== NEVER TAKEN
 2042170:	92 10 00 19 	mov  %i1, %o1                                  
    printf ("rtems-rfs: unlink: parent(%" PRIu32 ") -X-> (%" PRIu32 ")\n", parent, target);
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
 2042174:	90 10 00 18 	mov  %i0, %o0                                  
 2042178:	92 10 00 1a 	mov  %i2, %o1                                  
 204217c:	94 07 bf d8 	add  %fp, -40, %o2                             
 2042180:	7f ff fd 38 	call  2041660 <rtems_rfs_inode_open>           
 2042184:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 2042188:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 204218c:	12 80 00 19 	bne  20421f0 <rtems_rfs_unlink+0x98>           <== NEVER TAKEN
 2042190:	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)); 
 2042194:	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);                    
 2042198:	c2 08 60 02 	ldub  [ %g1 + 2 ], %g1                         
 204219c:	83 28 60 08 	sll  %g1, 8, %g1                               
 20421a0:	82 08 40 02 	and  %g1, %g2, %g1                             
 20421a4:	05 00 00 10 	sethi  %hi(0x4000), %g2                        
 20421a8:	82 18 40 02 	xor  %g1, %g2, %g1                             
  if (dir)                                                            
 20421ac:	80 a0 00 01 	cmp  %g0, %g1                                  
 20421b0:	a0 60 3f ff 	subx  %g0, -1, %l0                             
 20421b4:	80 a4 20 00 	cmp  %l0, 0                                    
 20421b8:	02 80 00 12 	be  2042200 <rtems_rfs_unlink+0xa8>            
 20421bc:	80 a7 20 00 	cmp  %i4, 0                                    
  {                                                                   
    switch (dir_mode)                                                 
 20421c0:	12 80 00 0e 	bne  20421f8 <rtems_rfs_unlink+0xa0>           <== ALWAYS TAKEN
 20421c4:	80 a7 20 01 	cmp  %i4, 1                                    
    {                                                                 
      case rtems_rfs_unlink_dir_denied:                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                 
 20421c8:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
 20421cc:	7f ff 93 2e 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20421d0:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 20421d4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20421d8:	12 80 00 5a 	bne  2042340 <rtems_rfs_unlink+0x1e8>          <== NOT EXECUTED
 20421dc:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
          printf ("rtems-rfs: link is a directory\n");                
        rtems_rfs_inode_close (fs, &target_inode);                    
 20421e0:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20421e4:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 20421e8:	7f ff fd 96 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 20421ec:	ba 10 20 15 	mov  0x15, %i5                                 <== NOT EXECUTED
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))           
    printf ("rtems-rfs: link: target inode-close failed: %d: %s\n",   
            rc, strerror (rc));                                       
                                                                      
  return rc;                                                          
}                                                                     
 20421f0:	81 c7 e0 08 	ret                                            
 20421f4:	91 e8 00 1d 	restore  %g0, %i5, %o0                         
   */                                                                 
                                                                      
  dir = RTEMS_RFS_S_ISDIR (rtems_rfs_inode_get_mode (&target_inode)); 
  if (dir)                                                            
  {                                                                   
    switch (dir_mode)                                                 
 20421f8:	02 80 00 3f 	be  20422f4 <rtems_rfs_unlink+0x19c>           <== ALWAYS TAKEN
 20421fc:	90 10 00 18 	mov  %i0, %o0                                  
      default:                                                        
        break;                                                        
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
 2042200:	90 10 00 18 	mov  %i0, %o0                                  
 2042204:	92 10 00 19 	mov  %i1, %o1                                  
 2042208:	94 07 bf b0 	add  %fp, -80, %o2                             
 204220c:	7f ff fd 15 	call  2041660 <rtems_rfs_inode_open>           
 2042210:	96 10 20 01 	mov  1, %o3                                    
  if (rc)                                                             
 2042214:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2042218:	12 80 00 25 	bne  20422ac <rtems_rfs_unlink+0x154>          <== NEVER TAKEN
 204221c:	90 10 20 00 	clr  %o0                                       
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_dir_del_entry (fs, &parent_inode, target, doff);     
 2042220:	90 10 00 18 	mov  %i0, %o0                                  
 2042224:	92 07 bf b0 	add  %fp, -80, %o1                             
 2042228:	94 10 00 1a 	mov  %i2, %o2                                  
 204222c:	7f ff ee 07 	call  203da48 <rtems_rfs_dir_del_entry>        
 2042230:	96 10 00 1b 	mov  %i3, %o3                                  
  if (rc > 0)                                                         
 2042234:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2042238:	04 80 00 46 	ble  2042350 <rtems_rfs_unlink+0x1f8>          <== ALWAYS TAKEN
 204223c:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
 2042240:	7f ff 93 11 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 2042244:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 2042248:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 204224c:	02 80 00 0a 	be  2042274 <rtems_rfs_unlink+0x11c>           <== NOT EXECUTED
 2042250:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
      printf ("rtems-rfs: unlink: dir-del failed: %d: %s\n",          
 2042254:	40 00 35 45 	call  204f768 <strerror>                       <== NOT EXECUTED
 2042258:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 204225c:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2042260:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2042264:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 2042268:	40 00 2b e7 	call  204d204 <printf>                         <== NOT EXECUTED
 204226c:	90 12 20 60 	or  %o0, 0x60, %o0	! 206f860 <__FUNCTION__.7829+0x20c8><== NOT EXECUTED
  if (rc > 0)                                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
      printf ("rtems-rfs: link: inode-time-stamp failed: %d: %s\n",   
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &parent_inode);                        
 2042270:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
 2042274:	7f ff fd 73 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2042278:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
    rtems_rfs_inode_close (fs, &target_inode);                        
 204227c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 2042280:	92 07 bf d8 	add  %fp, -40, %o1                             <== NOT EXECUTED
 2042284:	7f ff fd 6f 	call  2041840 <rtems_rfs_inode_close>          <== NOT EXECUTED
 2042288:	b0 10 00 1d 	mov  %i5, %i0                                  <== NOT EXECUTED
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))           
    printf ("rtems-rfs: link: target inode-close failed: %d: %s\n",   
            rc, strerror (rc));                                       
                                                                      
  return rc;                                                          
}                                                                     
 204228c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2042290:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  uint16_t               links;                                       
  bool                   dir;                                         
  int                    rc;                                          
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
    printf ("rtems-rfs: unlink: parent(%" PRIu32 ") -X-> (%" PRIu32 ")\n", parent, target);
 2042294:	11 00 81 bd 	sethi  %hi(0x206f400), %o0                     <== NOT EXECUTED
 2042298:	94 10 00 1a 	mov  %i2, %o2                                  <== NOT EXECUTED
 204229c:	40 00 2b da 	call  204d204 <printf>                         <== NOT EXECUTED
 20422a0:	90 12 23 c0 	or  %o0, 0x3c0, %o0                            <== NOT EXECUTED
                                                                      
  rc = rtems_rfs_inode_open (fs, target, &target_inode, true);        
 20422a4:	10 bf ff b5 	b  2042178 <rtems_rfs_unlink+0x20>             <== NOT EXECUTED
 20422a8:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_open (fs, parent, &parent_inode, true);        
  if (rc)                                                             
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
 20422ac:	7f ff 92 f6 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20422b0:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 20422b4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20422b8:	22 80 00 0a 	be,a   20422e0 <rtems_rfs_unlink+0x188>        <== NOT EXECUTED
 20422bc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-open failed: %d: %s\n",         
 20422c0:	40 00 35 2a 	call  204f768 <strerror>                       <== NOT EXECUTED
 20422c4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20422c8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20422cc:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 20422d0:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 20422d4:	40 00 2b cc 	call  204d204 <printf>                         <== NOT EXECUTED
 20422d8:	90 12 20 30 	or  %o0, 0x30, %o0	! 206f830 <__FUNCTION__.7829+0x2098><== 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);                        
 20422dc:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
 20422e0:	92 07 bf d8 	add  %fp, -40, %o1                             
 20422e4:	7f ff fd 57 	call  2041840 <rtems_rfs_inode_close>          
 20422e8:	b0 10 00 1d 	mov  %i5, %i0                                  
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))           
    printf ("rtems-rfs: link: target inode-close failed: %d: %s\n",   
            rc, strerror (rc));                                       
                                                                      
  return rc;                                                          
}                                                                     
 20422ec:	81 c7 e0 08 	ret                                            
 20422f0:	81 e8 00 00 	restore                                        
          printf ("rtems-rfs: link is a directory\n");                
        rtems_rfs_inode_close (fs, &target_inode);                    
        return EISDIR;                                                
                                                                      
      case rtems_rfs_unlink_dir_if_empty:                             
        rc = rtems_rfs_dir_empty (fs, &target_inode);                 
 20422f4:	7f ff ef db 	call  203e260 <rtems_rfs_dir_empty>            
 20422f8:	92 07 bf d8 	add  %fp, -40, %o1                             
        if (rc > 0)                                                   
 20422fc:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2042300:	04 bf ff c0 	ble  2042200 <rtems_rfs_unlink+0xa8>           
 2042304:	90 10 20 00 	clr  %o0                                       
        {                                                             
          if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))               
 2042308:	7f ff 92 df 	call  2026e84 <rtems_rfs_trace>                
 204230c:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     
 2042310:	80 8a 20 ff 	btst  0xff, %o0                                
 2042314:	22 bf ff f3 	be,a   20422e0 <rtems_rfs_unlink+0x188>        <== ALWAYS TAKEN
 2042318:	90 10 00 18 	mov  %i0, %o0                                  
            printf ("rtems-rfs: dir-empty: %d: %s\n", rc, strerror (rc));
 204231c:	40 00 35 13 	call  204f768 <strerror>                       <== NOT EXECUTED
 2042320:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042324:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2042328:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 204232c:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 2042330:	40 00 2b b5 	call  204d204 <printf>                         <== NOT EXECUTED
 2042334:	90 12 20 10 	or  %o0, 0x10, %o0	! 206f810 <__FUNCTION__.7829+0x2078><== 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);                        
 2042338:	10 bf ff ea 	b  20422e0 <rtems_rfs_unlink+0x188>            <== NOT EXECUTED
 204233c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  {                                                                   
    switch (dir_mode)                                                 
    {                                                                 
      case rtems_rfs_unlink_dir_denied:                               
        if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                 
          printf ("rtems-rfs: link is a directory\n");                
 2042340:	40 00 2c 49 	call  204d464 <puts>                           <== NOT EXECUTED
 2042344:	90 12 23 f0 	or  %o0, 0x3f0, %o0                            <== NOT EXECUTED
        rtems_rfs_inode_close (fs, &target_inode);                    
 2042348:	10 bf ff a7 	b  20421e4 <rtems_rfs_unlink+0x8c>             <== NOT EXECUTED
 204234c:	90 10 00 18 	mov  %i0, %o0                                  <== 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);                  
 2042350:	c4 07 bf e4 	ld  [ %fp + -28 ], %g2                         
  if (links == 0xffff)                                                
    links = 0;                                                        
 2042354:	07 3f ff c0 	sethi  %hi(0xffff0000), %g3                    
 */                                                                   
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);                  
 2042358:	c2 08 80 00 	ldub  [ %g2 ], %g1                             
 204235c:	c4 08 a0 01 	ldub  [ %g2 + 1 ], %g2                         
 2042360:	83 28 60 08 	sll  %g1, 8, %g1                               
 2042364:	82 10 40 02 	or  %g1, %g2, %g1                              
  if (links == 0xffff)                                                
 2042368:	85 28 60 10 	sll  %g1, 0x10, %g2                            
 204236c:	85 30 a0 10 	srl  %g2, 0x10, %g2                            
    links = 0;                                                        
 2042370:	84 38 c0 02 	xnor  %g3, %g2, %g2                            
 2042374:	80 a0 00 02 	cmp  %g0, %g2                                  
 2042378:	ba 60 20 00 	subx  %g0, 0, %i5                              
    return rc;                                                        
  }                                                                   
                                                                      
  links = rtems_rfs_inode_get_links (&target_inode);                  
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
 204237c:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     
 2042380:	7f ff 92 c1 	call  2026e84 <rtems_rfs_trace>                
 2042384:	ba 08 40 1d 	and  %g1, %i5, %i5                             
 2042388:	80 8a 20 ff 	btst  0xff, %o0                                
 204238c:	12 80 00 22 	bne  2042414 <rtems_rfs_unlink+0x2bc>          <== NEVER TAKEN
 2042390:	b9 2f 60 10 	sll  %i5, 0x10, %i4                            
    printf ("rtems-rfs: unlink: target:%" PRIu32 " links:%u\n", target, links);
                                                                      
  if (links > 1)                                                      
 2042394:	b9 37 20 10 	srl  %i4, 0x10, %i4                            
 2042398:	80 a7 20 01 	cmp  %i4, 1                                    
 204239c:	08 80 00 39 	bleu  2042480 <rtems_rfs_unlink+0x328>         
 20423a0:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
  {                                                                   
    links--;                                                          
 20423a4:	ba 07 7f ff 	add  %i5, -1, %i5                              
 * @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);                  
 20423a8:	85 37 60 08 	srl  %i5, 8, %g2                               
 20423ac:	c4 28 40 00 	stb  %g2, [ %g1 ]                              
 20423b0:	c2 07 bf e4 	ld  [ %fp + -28 ], %g1                         
 20423b4:	fa 28 60 01 	stb  %i5, [ %g1 + 1 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 20423b8:	82 10 20 01 	mov  1, %g1                                    
 20423bc:	c2 2f bf e8 	stb  %g1, [ %fp + -24 ]                        
        links--;                                                      
      rtems_rfs_inode_set_links (&parent_inode, links);               
    }                                                                 
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_time_stamp_now (&parent_inode, true, true);    
 20423c0:	90 07 bf b0 	add  %fp, -80, %o0                             
 20423c4:	92 10 20 01 	mov  1, %o1                                    
 20423c8:	7f ff fd 79 	call  20419ac <rtems_rfs_inode_time_stamp_now> 
 20423cc:	94 10 20 01 	mov  1, %o2                                    
  if (rc > 0)                                                         
 20423d0:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20423d4:	04 80 00 17 	ble  2042430 <rtems_rfs_unlink+0x2d8>          <== ALWAYS TAKEN
 20423d8:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
 20423dc:	7f ff 92 aa 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20423e0:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 20423e4:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20423e8:	22 bf ff a3 	be,a   2042274 <rtems_rfs_unlink+0x11c>        <== NOT EXECUTED
 20423ec:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
      printf ("rtems-rfs: link: inode-time-stamp failed: %d: %s\n",   
 20423f0:	40 00 34 de 	call  204f768 <strerror>                       <== NOT EXECUTED
 20423f4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20423f8:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20423fc:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2042400:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 2042404:	40 00 2b 80 	call  204d204 <printf>                         <== NOT EXECUTED
 2042408:	90 12 20 e8 	or  %o0, 0xe8, %o0	! 206f8e8 <__FUNCTION__.7829+0x2150><== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &parent_inode);                        
 204240c:	10 bf ff 9a 	b  2042274 <rtems_rfs_unlink+0x11c>            <== NOT EXECUTED
 2042410:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
  }                                                                   
                                                                      
  links = rtems_rfs_inode_get_links (&target_inode);                  
                                                                      
  if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                       
    printf ("rtems-rfs: unlink: target:%" PRIu32 " links:%u\n", target, links);
 2042414:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2042418:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 204241c:	95 37 20 10 	srl  %i4, 0x10, %o2                            <== NOT EXECUTED
 2042420:	40 00 2b 79 	call  204d204 <printf>                         <== NOT EXECUTED
 2042424:	90 12 20 90 	or  %o0, 0x90, %o0                             <== NOT EXECUTED
                                                                      
  if (links > 1)                                                      
 2042428:	10 bf ff dc 	b  2042398 <rtems_rfs_unlink+0x240>            <== NOT EXECUTED
 204242c:	b9 37 20 10 	srl  %i4, 0x10, %i4                            <== 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);                     
 2042430:	90 10 00 18 	mov  %i0, %o0                                  
 2042434:	7f ff fd 03 	call  2041840 <rtems_rfs_inode_close>          
 2042438:	92 07 bf b0 	add  %fp, -80, %o1                             
  if (rc > 0)                                                         
 204243c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2042440:	04 80 00 24 	ble  20424d0 <rtems_rfs_unlink+0x378>          <== ALWAYS TAKEN
 2042444:	90 10 20 00 	clr  %o0                                       
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
 2042448:	7f ff 92 8f 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 204244c:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 2042450:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 2042454:	22 bf ff a3 	be,a   20422e0 <rtems_rfs_unlink+0x188>        <== NOT EXECUTED
 2042458:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
      printf ("rtems-rfs: link: parent inode-close failed: %d: %s\n", 
 204245c:	40 00 34 c3 	call  204f768 <strerror>                       <== NOT EXECUTED
 2042460:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042464:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2042468:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 204246c:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 2042470:	40 00 2b 65 	call  204d204 <printf>                         <== NOT EXECUTED
 2042474:	90 12 21 20 	or  %o0, 0x120, %o0	! 206f920 <__FUNCTION__.7829+0x2188><== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
 2042478:	10 bf ff 9a 	b  20422e0 <rtems_rfs_unlink+0x188>            <== NOT EXECUTED
 204247c:	90 10 00 18 	mov  %i0, %o0                                  <== NOT EXECUTED
  else                                                                
  {                                                                   
    /*                                                                
     * Erasing the inode releases all blocks attached to it.          
     */                                                               
    rc = rtems_rfs_inode_delete (fs, &target_inode);                  
 2042480:	90 10 00 18 	mov  %i0, %o0                                  
 2042484:	7f ff fd 15 	call  20418d8 <rtems_rfs_inode_delete>         
 2042488:	92 07 bf d8 	add  %fp, -40, %o1                             
    if (rc > 0)                                                       
 204248c:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2042490:	04 80 00 23 	ble  204251c <rtems_rfs_unlink+0x3c4>          <== ALWAYS TAKEN
 2042494:	90 10 20 00 	clr  %o0                                       
    {                                                                 
      if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                   
 2042498:	7f ff 92 7b 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 204249c:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 20424a0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20424a4:	22 bf ff 74 	be,a   2042274 <rtems_rfs_unlink+0x11c>        <== NOT EXECUTED
 20424a8:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
        printf ("rtems-rfs: unlink: inode-del failed: %d: %s\n",      
 20424ac:	40 00 34 af 	call  204f768 <strerror>                       <== NOT EXECUTED
 20424b0:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 20424b4:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 20424b8:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 20424bc:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 20424c0:	40 00 2b 51 	call  204d204 <printf>                         <== NOT EXECUTED
 20424c4:	90 12 20 b8 	or  %o0, 0xb8, %o0	! 206f8b8 <__FUNCTION__.7829+0x2120><== NOT EXECUTED
  if (rc > 0)                                                         
  {                                                                   
    if (rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))                     
      printf ("rtems-rfs: link: inode-time-stamp failed: %d: %s\n",   
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &parent_inode);                        
 20424c8:	10 bf ff 6b 	b  2042274 <rtems_rfs_unlink+0x11c>            <== NOT EXECUTED
 20424cc:	92 07 bf b0 	add  %fp, -80, %o1                             <== NOT EXECUTED
              rc, strerror (rc));                                     
    rtems_rfs_inode_close (fs, &target_inode);                        
    return rc;                                                        
  }                                                                   
                                                                      
  rc = rtems_rfs_inode_close (fs, &target_inode);                     
 20424d0:	90 10 00 18 	mov  %i0, %o0                                  
 20424d4:	7f ff fc db 	call  2041840 <rtems_rfs_inode_close>          
 20424d8:	92 07 bf d8 	add  %fp, -40, %o1                             
                                                                      
  if ((rc > 0) && rtems_rfs_trace (RTEMS_RFS_TRACE_UNLINK))           
 20424dc:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 20424e0:	04 bf ff 44 	ble  20421f0 <rtems_rfs_unlink+0x98>           <== ALWAYS TAKEN
 20424e4:	90 10 20 00 	clr  %o0                                       
 20424e8:	7f ff 92 67 	call  2026e84 <rtems_rfs_trace>                <== NOT EXECUTED
 20424ec:	13 00 80 00 	sethi  %hi(0x2000000), %o1                     <== NOT EXECUTED
 20424f0:	80 8a 20 ff 	btst  0xff, %o0                                <== NOT EXECUTED
 20424f4:	02 bf ff 3f 	be  20421f0 <rtems_rfs_unlink+0x98>            <== NOT EXECUTED
 20424f8:	01 00 00 00 	nop                                            <== NOT EXECUTED
    printf ("rtems-rfs: link: target inode-close failed: %d: %s\n",   
 20424fc:	40 00 34 9b 	call  204f768 <strerror>                       <== NOT EXECUTED
 2042500:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2042504:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2042508:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 204250c:	11 00 81 be 	sethi  %hi(0x206f800), %o0                     <== NOT EXECUTED
 2042510:	40 00 2b 3d 	call  204d204 <printf>                         <== NOT EXECUTED
 2042514:	90 12 21 58 	or  %o0, 0x158, %o0	! 206f958 <__FUNCTION__.7829+0x21c0><== NOT EXECUTED
 2042518:	30 bf ff 36 	b,a   20421f0 <rtems_rfs_unlink+0x98>          <== NOT EXECUTED
      rtems_rfs_inode_close (fs, &parent_inode);                      
      rtems_rfs_inode_close (fs, &target_inode);                      
      return rc;                                                      
    }                                                                 
                                                                      
    if (dir)                                                          
 204251c:	80 a4 20 00 	cmp  %l0, 0                                    
 2042520:	02 bf ff a9 	be  20423c4 <rtems_rfs_unlink+0x26c>           
 2042524:	90 07 bf b0 	add  %fp, -80, %o0                             
 */                                                                   
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);                  
 2042528:	c4 07 bf bc 	ld  [ %fp + -68 ], %g2                         
  if (links == 0xffff)                                                
 204252c:	3b 00 00 3f 	sethi  %hi(0xfc00), %i5                        
 */                                                                   
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);                  
 2042530:	c2 08 a0 01 	ldub  [ %g2 + 1 ], %g1                         
 2042534:	c6 08 80 00 	ldub  [ %g2 ], %g3                             
  if (links == 0xffff)                                                
 2042538:	ba 17 63 ff 	or  %i5, 0x3ff, %i5                            
 */                                                                   
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);                  
 204253c:	87 28 e0 08 	sll  %g3, 8, %g3                               
 2042540:	86 10 c0 01 	or  %g3, %g1, %g3                              
  if (links == 0xffff)                                                
 2042544:	89 28 e0 10 	sll  %g3, 0x10, %g4                            
 2042548:	89 31 20 10 	srl  %g4, 0x10, %g4                            
 204254c:	80 a1 00 1d 	cmp  %g4, %i5                                  
 2042550:	02 80 00 0c 	be  2042580 <rtems_rfs_unlink+0x428>           <== NEVER TAKEN
 2042554:	82 10 00 03 	mov  %g3, %g1                                  
    {                                                                 
      links = rtems_rfs_inode_get_links (&parent_inode);              
      if (links > 1)                                                  
 2042558:	80 a1 20 01 	cmp  %g4, 1                                    
 204255c:	38 80 00 02 	bgu,a   2042564 <rtems_rfs_unlink+0x40c>       
 2042560:	82 00 ff ff 	add  %g3, -1, %g1                              
 * @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);                  
 2042564:	87 30 60 08 	srl  %g1, 8, %g3                               
 2042568:	c6 28 80 00 	stb  %g3, [ %g2 ]                              
 204256c:	c4 07 bf bc 	ld  [ %fp + -68 ], %g2                         
 2042570:	c2 28 a0 01 	stb  %g1, [ %g2 + 1 ]                          
  rtems_rfs_buffer_mark_dirty (&handle->buffer);                      
 2042574:	82 10 20 01 	mov  1, %g1                                    
 2042578:	10 bf ff 92 	b  20423c0 <rtems_rfs_unlink+0x268>            
 204257c:	c2 2f bf c0 	stb  %g1, [ %fp + -64 ]                        
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;                                                        
 2042580:	10 bf ff f9 	b  2042564 <rtems_rfs_unlink+0x40c>            <== NOT EXECUTED
 2042584:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
                                                                      

02026a38 <rtems_shell_debugrfs>: } int rtems_shell_debugrfs (int argc, char *argv[]) {
 2026a38:	9d e3 be f0 	save  %sp, -272, %sp                           <== NOT EXECUTED
  const rtems_rfs_shell_cmd table[] =                                 
 2026a3c:	13 00 81 a7 	sethi  %hi(0x2069c00), %o1                     <== NOT EXECUTED
 2026a40:	90 07 bf c4 	add  %fp, -60, %o0                             <== NOT EXECUTED
 2026a44:	92 12 60 38 	or  %o1, 0x38, %o1                             <== NOT EXECUTED
 2026a48:	40 00 94 ef 	call  204be04 <memcpy>                         <== NOT EXECUTED
 2026a4c:	94 10 20 3c 	mov  0x3c, %o2                                 <== NOT EXECUTED
  };                                                                  
                                                                      
  int arg;                                                            
  int t;                                                              
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026a50:	80 a6 20 01 	cmp  %i0, 1                                    <== NOT EXECUTED
 2026a54:	04 80 00 32 	ble  2026b1c <rtems_shell_debugrfs+0xe4>       <== NOT EXECUTED
 2026a58:	b6 10 00 18 	mov  %i0, %i3                                  <== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] != '-')                                          
 2026a5c:	fa 06 60 04 	ld  [ %i1 + 4 ], %i5                           <== NOT EXECUTED
 2026a60:	c2 4f 40 00 	ldsb  [ %i5 ], %g1                             <== NOT EXECUTED
 2026a64:	80 a0 60 2d 	cmp  %g1, 0x2d                                 <== NOT EXECUTED
 2026a68:	02 80 00 42 	be  2026b70 <rtems_shell_debugrfs+0x138>       <== NOT EXECUTED
 2026a6c:	80 a6 20 02 	cmp  %i0, 2                                    <== NOT EXECUTED
        printf ("error: unknown option: %s\n", argv[arg]);            
        return 1;                                                     
    }                                                                 
  }                                                                   
                                                                      
  if ((argc - arg) < 2)                                               
 2026a70:	22 80 00 2c 	be,a   2026b20 <rtems_shell_debugrfs+0xe8>     <== NOT EXECUTED
 2026a74:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
rtems_rfs_get_fs (const char* path, rtems_rfs_file_system** fs)       
{                                                                     
  struct statvfs sb;                                                  
  int            rc;                                                  
                                                                      
  rc = statvfs (path, &sb);                                           
 2026a78:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2026a7c:	40 00 19 68 	call  202d01c <statvfs>                        <== NOT EXECUTED
 2026a80:	92 07 bf 50 	add  %fp, -176, %o1                            <== NOT EXECUTED
  if (rc < 0)                                                         
 2026a84:	b8 92 20 00 	orcc  %o0, 0, %i4                              <== NOT EXECUTED
 2026a88:	06 80 00 2c 	bl  2026b38 <rtems_shell_debugrfs+0x100>       <== NOT EXECUTED
 2026a8c:	c4 07 bf 7c 	ld  [ %fp + -132 ], %g2                        <== NOT EXECUTED
    printf ("error: cannot statvfs path: %s: (%d) %s\n",              
            path, errno, strerror (errno));                           
    return -1;                                                        
  }                                                                   
                                                                      
  if (sb.f_fsid != RTEMS_RFS_SB_MAGIC)                                
 2026a90:	03 0a 02 48 	sethi  %hi(0x28092000), %g1                    <== NOT EXECUTED
 2026a94:	82 10 60 01 	or  %g1, 1, %g1	! 28092001 <RAM_END+0x25c92001><== NOT EXECUTED
 2026a98:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2026a9c:	12 80 00 58 	bne  2026bfc <rtems_shell_debugrfs+0x1c4>      <== NOT EXECUTED
 2026aa0:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
   * system data.                                                     
   */                                                                 
  {                                                                   
    rtems_filesystem_eval_path_context_t ctx;                         
    int eval_flags = RTEMS_FS_FOLLOW_LINK;                            
    const rtems_filesystem_location_info_t *currentloc =              
 2026aa4:	94 10 20 18 	mov  0x18, %o2                                 <== NOT EXECUTED
 2026aa8:	7f ff 90 a1 	call  200ad2c <rtems_filesystem_eval_path_start><== NOT EXECUTED
 2026aac:	90 07 bf 8c 	add  %fp, -116, %o0                            <== NOT EXECUTED
      rtems_filesystem_eval_path_start (&ctx, path, eval_flags);      
    *fs = rtems_rfs_rtems_pathloc_dev (currentloc);                   
 2026ab0:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        <== NOT EXECUTED
    rtems_filesystem_eval_path_cleanup (&ctx);                        
 2026ab4:	90 07 bf 8c 	add  %fp, -116, %o0                            <== NOT EXECUTED
 2026ab8:	7f ff 90 dd 	call  200ae2c <rtems_filesystem_eval_path_cleanup><== NOT EXECUTED
 2026abc:	e0 00 60 08 	ld  [ %g1 + 8 ], %l0                           <== NOT EXECUTED
  if ((argc - arg) < 2)                                               
    printf ("error: you need at least a path and command, try %s -h\n", argv[0]);
  else                                                                
  {                                                                   
    rtems_rfs_file_system* fs;                                        
    if (rtems_rfs_get_fs (argv[arg], &fs) == 0)                       
 2026ac0:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 2026ac4:	12 80 00 14 	bne  2026b14 <rtems_shell_debugrfs+0xdc>       <== NOT EXECUTED
 2026ac8:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 2026acc:	f4 06 60 08 	ld  [ %i1 + 8 ], %i2                           <== NOT EXECUTED
 2026ad0:	ba 10 20 00 	clr  %i5                                       <== NOT EXECUTED
    {                                                                 
      for (t = 0; t < (sizeof (table) / sizeof (const rtems_rfs_shell_cmd)); t++)
        if (strcmp (argv[arg + 1], table[t].name) == 0)               
 2026ad4:	82 07 bf c4 	add  %fp, -60, %g1                             <== NOT EXECUTED
 2026ad8:	d2 00 40 1c 	ld  [ %g1 + %i4 ], %o1                         <== NOT EXECUTED
 2026adc:	40 00 a1 3e 	call  204efd4 <strcmp>                         <== NOT EXECUTED
 2026ae0:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
 2026ae4:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2026ae8:	02 80 00 4a 	be  2026c10 <rtems_shell_debugrfs+0x1d8>       <== NOT EXECUTED
 2026aec:	83 2f 60 02 	sll  %i5, 2, %g1                               <== NOT EXECUTED
  else                                                                
  {                                                                   
    rtems_rfs_file_system* fs;                                        
    if (rtems_rfs_get_fs (argv[arg], &fs) == 0)                       
    {                                                                 
      for (t = 0; t < (sizeof (table) / sizeof (const rtems_rfs_shell_cmd)); t++)
 2026af0:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 2026af4:	80 a7 60 05 	cmp  %i5, 5                                    <== NOT EXECUTED
 2026af8:	12 bf ff f7 	bne  2026ad4 <rtems_shell_debugrfs+0x9c>       <== NOT EXECUTED
 2026afc:	b8 07 20 0c 	add  %i4, 0xc, %i4                             <== NOT EXECUTED
        if (strcmp (argv[arg + 1], table[t].name) == 0)               
          return table[t].handler (fs, argc - 2, argv + 2);           
      printf ("error: command not found: %s\n", argv[arg + 1]);       
 2026b00:	92 10 00 1a 	mov  %i2, %o1                                  <== NOT EXECUTED
 2026b04:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
    }                                                                 
  }                                                                   
                                                                      
  return 1;                                                           
 2026b08:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
    if (rtems_rfs_get_fs (argv[arg], &fs) == 0)                       
    {                                                                 
      for (t = 0; t < (sizeof (table) / sizeof (const rtems_rfs_shell_cmd)); t++)
        if (strcmp (argv[arg + 1], table[t].name) == 0)               
          return table[t].handler (fs, argc - 2, argv + 2);           
      printf ("error: command not found: %s\n", argv[arg + 1]);       
 2026b0c:	40 00 99 be 	call  204d204 <printf>                         <== NOT EXECUTED
 2026b10:	90 12 21 c8 	or  %o0, 0x1c8, %o0                            <== NOT EXECUTED
 2026b14:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026b18:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        return 1;                                                     
    }                                                                 
  }                                                                   
                                                                      
  if ((argc - arg) < 2)                                               
    printf ("error: you need at least a path and command, try %s -h\n", argv[0]);
 2026b1c:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 2026b20:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
          return table[t].handler (fs, argc - 2, argv + 2);           
      printf ("error: command not found: %s\n", argv[arg + 1]);       
    }                                                                 
  }                                                                   
                                                                      
  return 1;                                                           
 2026b24:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
        return 1;                                                     
    }                                                                 
  }                                                                   
                                                                      
  if ((argc - arg) < 2)                                               
    printf ("error: you need at least a path and command, try %s -h\n", argv[0]);
 2026b28:	40 00 99 b7 	call  204d204 <printf>                         <== NOT EXECUTED
 2026b2c:	90 12 21 30 	or  %o0, 0x130, %o0                            <== NOT EXECUTED
 2026b30:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026b34:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  rc = statvfs (path, &sb);                                           
  if (rc < 0)                                                         
  {                                                                   
    printf ("error: cannot statvfs path: %s: (%d) %s\n",              
            path, errno, strerror (errno));                           
 2026b38:	40 00 87 74 	call  2048908 <__errno>                        <== NOT EXECUTED
 2026b3c:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 2026b40:	40 00 87 72 	call  2048908 <__errno>                        <== NOT EXECUTED
 2026b44:	f8 02 00 00 	ld  [ %o0 ], %i4                               <== NOT EXECUTED
  int            rc;                                                  
                                                                      
  rc = statvfs (path, &sb);                                           
  if (rc < 0)                                                         
  {                                                                   
    printf ("error: cannot statvfs path: %s: (%d) %s\n",              
 2026b48:	40 00 a3 08 	call  204f768 <strerror>                       <== NOT EXECUTED
 2026b4c:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 2026b50:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
 2026b54:	96 10 00 08 	mov  %o0, %o3                                  <== NOT EXECUTED
 2026b58:	94 10 00 1c 	mov  %i4, %o2                                  <== NOT EXECUTED
 2026b5c:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
 2026b60:	40 00 99 a9 	call  204d204 <printf>                         <== NOT EXECUTED
 2026b64:	90 12 21 68 	or  %o0, 0x168, %o0	! 2069968 <rtems_rfs_rtems_eval_config+0x790><== NOT EXECUTED
      printf ("error: command not found: %s\n", argv[arg + 1]);       
    }                                                                 
  }                                                                   
                                                                      
  return 1;                                                           
}                                                                     
 2026b68:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026b6c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  for (arg = 1; arg < argc; arg++)                                    
  {                                                                   
    if (argv[arg][0] != '-')                                          
      break;                                                          
                                                                      
    switch (argv[arg][1])                                             
 2026b70:	c2 4f 60 01 	ldsb  [ %i5 + 1 ], %g1                         <== NOT EXECUTED
 2026b74:	80 a0 60 68 	cmp  %g1, 0x68                                 <== NOT EXECUTED
 2026b78:	02 80 00 0a 	be  2026ba0 <rtems_shell_debugrfs+0x168>       <== NOT EXECUTED
 2026b7c:	80 a0 60 6c 	cmp  %g1, 0x6c                                 <== NOT EXECUTED
 2026b80:	02 80 00 0d 	be  2026bb4 <rtems_shell_debugrfs+0x17c>       <== NOT EXECUTED
 2026b84:	92 10 00 1d 	mov  %i5, %o1                                  <== NOT EXECUTED
        printf ("%s: commands are:\n", argv[0]);                      
        for (t = 0; t < (sizeof (table) / sizeof (const rtems_rfs_shell_cmd)); t++)
          printf ("  %s\t\t%s\n", table[t].name, table[t].help);      
        return 0;                                                     
      default:                                                        
        printf ("error: unknown option: %s\n", argv[arg]);            
 2026b88:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
        return 1;                                                     
 2026b8c:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
        printf ("%s: commands are:\n", argv[0]);                      
        for (t = 0; t < (sizeof (table) / sizeof (const rtems_rfs_shell_cmd)); t++)
          printf ("  %s\t\t%s\n", table[t].name, table[t].help);      
        return 0;                                                     
      default:                                                        
        printf ("error: unknown option: %s\n", argv[arg]);            
 2026b90:	40 00 99 9d 	call  204d204 <printf>                         <== NOT EXECUTED
 2026b94:	90 12 21 10 	or  %o0, 0x110, %o0                            <== NOT EXECUTED
 2026b98:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026b9c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      break;                                                          
                                                                      
    switch (argv[arg][1])                                             
    {                                                                 
      case 'h':                                                       
        rtems_rfs_shell_usage (argv[0]);                              
 2026ba0:	d0 06 40 00 	ld  [ %i1 ], %o0                               <== NOT EXECUTED
 2026ba4:	7f ff ff 8c 	call  20269d4 <rtems_rfs_shell_usage>          <== NOT EXECUTED
 2026ba8:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2026bac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026bb0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        return 0;                                                     
      case 'l':                                                       
        printf ("%s: commands are:\n", argv[0]);                      
 2026bb4:	d2 06 40 00 	ld  [ %i1 ], %o1                               <== NOT EXECUTED
 2026bb8:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
 2026bbc:	39 00 81 a6 	sethi  %hi(0x2069800), %i4                     <== NOT EXECUTED
 2026bc0:	90 12 20 e8 	or  %o0, 0xe8, %o0                             <== NOT EXECUTED
 2026bc4:	ba 07 bf c4 	add  %fp, -60, %i5                             <== NOT EXECUTED
 2026bc8:	40 00 99 8f 	call  204d204 <printf>                         <== NOT EXECUTED
 2026bcc:	b6 10 00 1e 	mov  %fp, %i3                                  <== NOT EXECUTED
        for (t = 0; t < (sizeof (table) / sizeof (const rtems_rfs_shell_cmd)); t++)
          printf ("  %s\t\t%s\n", table[t].name, table[t].help);      
 2026bd0:	b8 17 21 00 	or  %i4, 0x100, %i4                            <== NOT EXECUTED
 2026bd4:	d2 07 40 00 	ld  [ %i5 ], %o1                               <== NOT EXECUTED
 2026bd8:	d4 07 60 08 	ld  [ %i5 + 8 ], %o2                           <== NOT EXECUTED
 2026bdc:	40 00 99 8a 	call  204d204 <printf>                         <== NOT EXECUTED
 2026be0:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2026be4:	ba 07 60 0c 	add  %i5, 0xc, %i5                             <== NOT EXECUTED
      case 'h':                                                       
        rtems_rfs_shell_usage (argv[0]);                              
        return 0;                                                     
      case 'l':                                                       
        printf ("%s: commands are:\n", argv[0]);                      
        for (t = 0; t < (sizeof (table) / sizeof (const rtems_rfs_shell_cmd)); t++)
 2026be8:	80 a7 40 1b 	cmp  %i5, %i3                                  <== NOT EXECUTED
 2026bec:	32 bf ff fb 	bne,a   2026bd8 <rtems_shell_debugrfs+0x1a0>   <== NOT EXECUTED
 2026bf0:	d2 07 40 00 	ld  [ %i5 ], %o1                               <== NOT EXECUTED
          printf ("  %s\t\t%s\n", table[t].name, table[t].help);      
        return 0;                                                     
 2026bf4:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026bf8:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (sb.f_fsid != RTEMS_RFS_SB_MAGIC)                                
  {                                                                   
    printf ("error: path '%s' is not on an RFS file system\n", path); 
 2026bfc:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
          return table[t].handler (fs, argc - 2, argv + 2);           
      printf ("error: command not found: %s\n", argv[arg + 1]);       
    }                                                                 
  }                                                                   
                                                                      
  return 1;                                                           
 2026c00:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
    return -1;                                                        
  }                                                                   
                                                                      
  if (sb.f_fsid != RTEMS_RFS_SB_MAGIC)                                
  {                                                                   
    printf ("error: path '%s' is not on an RFS file system\n", path); 
 2026c04:	40 00 99 80 	call  204d204 <printf>                         <== NOT EXECUTED
 2026c08:	90 12 21 98 	or  %o0, 0x198, %o0                            <== NOT EXECUTED
 2026c0c:	30 bf ff e8 	b,a   2026bac <rtems_shell_debugrfs+0x174>     <== NOT EXECUTED
    rtems_rfs_file_system* fs;                                        
    if (rtems_rfs_get_fs (argv[arg], &fs) == 0)                       
    {                                                                 
      for (t = 0; t < (sizeof (table) / sizeof (const rtems_rfs_shell_cmd)); t++)
        if (strcmp (argv[arg + 1], table[t].name) == 0)               
          return table[t].handler (fs, argc - 2, argv + 2);           
 2026c10:	bb 2f 60 04 	sll  %i5, 4, %i5                               <== NOT EXECUTED
 2026c14:	82 27 40 01 	sub  %i5, %g1, %g1                             <== NOT EXECUTED
 2026c18:	82 07 80 01 	add  %fp, %g1, %g1                             <== NOT EXECUTED
 2026c1c:	c2 00 7f c8 	ld  [ %g1 + -56 ], %g1                         <== NOT EXECUTED
 2026c20:	90 10 00 10 	mov  %l0, %o0                                  <== NOT EXECUTED
 2026c24:	92 06 ff fe 	add  %i3, -2, %o1                              <== NOT EXECUTED
 2026c28:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2026c2c:	94 06 60 08 	add  %i1, 8, %o2                               <== NOT EXECUTED
 2026c30:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026c34:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
                                                                      

02026c38 <rtems_shell_rfs_format>: return 1; } int rtems_shell_rfs_format (int argc, char* argv[]) {
 2026c38:	9d e3 bf 88 	save  %sp, -120, %sp                           <== NOT EXECUTED
  rtems_rfs_format_config config;                                     
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
 2026c3c:	c0 27 bf e8 	clr  [ %fp + -24 ]                             <== NOT EXECUTED
 2026c40:	c0 27 bf ec 	clr  [ %fp + -20 ]                             <== NOT EXECUTED
 2026c44:	c0 27 bf f0 	clr  [ %fp + -16 ]                             <== NOT EXECUTED
 2026c48:	c0 27 bf f4 	clr  [ %fp + -12 ]                             <== NOT EXECUTED
 2026c4c:	c0 27 bf f8 	clr  [ %fp + -8 ]                              <== NOT EXECUTED
 2026c50:	c0 27 bf fc 	clr  [ %fp + -4 ]                              <== NOT EXECUTED
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026c54:	ba 10 20 01 	mov  1, %i5                                    <== NOT EXECUTED
 2026c58:	b8 10 20 00 	clr  %i4                                       <== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
 2026c5c:	37 00 80 95 	sethi  %hi(0x2025400), %i3                     <== NOT EXECUTED
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026c60:	80 a6 20 01 	cmp  %i0, 1                                    <== NOT EXECUTED
 2026c64:	14 80 00 0a 	bg  2026c8c <rtems_shell_rfs_format+0x54>      <== NOT EXECUTED
 2026c68:	b4 10 20 01 	mov  1, %i2                                    <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (!driver) {                                                      
    printf ("error: no driver name provided\n");                      
 2026c6c:	10 80 00 69 	b  2026e10 <rtems_shell_rfs_format+0x1d8>      <== NOT EXECUTED
 2026c70:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
          return 1;                                                   
      }                                                               
    }                                                                 
    else                                                              
    {                                                                 
      if (!driver)                                                    
 2026c74:	12 80 00 55 	bne  2026dc8 <rtems_shell_rfs_format+0x190>    <== NOT EXECUTED
 2026c78:	b8 10 00 09 	mov  %o1, %i4                                  <== NOT EXECUTED
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026c7c:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 2026c80:	80 a6 00 1d 	cmp  %i0, %i5                                  <== NOT EXECUTED
 2026c84:	04 80 00 1d 	ble  2026cf8 <rtems_shell_rfs_format+0xc0>     <== NOT EXECUTED
 2026c88:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
  {                                                                   
    if (argv[arg][0] == '-')                                          
 2026c8c:	83 2f 60 02 	sll  %i5, 2, %g1                               <== NOT EXECUTED
 2026c90:	d2 06 40 01 	ld  [ %i1 + %g1 ], %o1                         <== NOT EXECUTED
 2026c94:	c2 4a 40 00 	ldsb  [ %o1 ], %g1                             <== NOT EXECUTED
 2026c98:	80 a0 60 2d 	cmp  %g1, 0x2d                                 <== NOT EXECUTED
 2026c9c:	12 bf ff f6 	bne  2026c74 <rtems_shell_rfs_format+0x3c>     <== NOT EXECUTED
 2026ca0:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
    {                                                                 
      switch (argv[arg][1])                                           
 2026ca4:	c2 0a 60 01 	ldub  [ %o1 + 1 ], %g1                         <== NOT EXECUTED
 2026ca8:	82 00 7f b7 	add  %g1, -73, %g1                             <== NOT EXECUTED
 2026cac:	82 08 60 ff 	and  %g1, 0xff, %g1                            <== NOT EXECUTED
 2026cb0:	80 a0 60 2d 	cmp  %g1, 0x2d                                 <== NOT EXECUTED
 2026cb4:	08 80 00 08 	bleu  2026cd4 <rtems_shell_rfs_format+0x9c>    <== NOT EXECUTED
 2026cb8:	84 16 e2 00 	or  %i3, 0x200, %g2                            <== NOT EXECUTED
          }                                                           
          config.inode_overhead = strtoul (argv[arg], 0, 0);          
          break;                                                      
                                                                      
        default:                                                      
          printf ("error: invalid option: %s\n", argv[arg]);          
 2026cbc:	11 00 81 91 	sethi  %hi(0x2064400), %o0                     <== NOT EXECUTED
          return 1;                                                   
 2026cc0:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
          }                                                           
          config.inode_overhead = strtoul (argv[arg], 0, 0);          
          break;                                                      
                                                                      
        default:                                                      
          printf ("error: invalid option: %s\n", argv[arg]);          
 2026cc4:	40 00 99 50 	call  204d204 <printf>                         <== NOT EXECUTED
 2026cc8:	90 12 20 d8 	or  %o0, 0xd8, %o0                             <== NOT EXECUTED
 2026ccc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026cd0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
  {                                                                   
    if (argv[arg][0] == '-')                                          
    {                                                                 
      switch (argv[arg][1])                                           
 2026cd4:	83 28 60 02 	sll  %g1, 2, %g1                               <== NOT EXECUTED
 2026cd8:	c2 00 80 01 	ld  [ %g2 + %g1 ], %g1                         <== NOT EXECUTED
 2026cdc:	81 c0 40 00 	jmp  %g1                                       <== NOT EXECUTED
 2026ce0:	01 00 00 00 	nop                                            <== NOT EXECUTED
  const char*             driver = NULL;                              
  int                     arg;                                        
                                                                      
  memset (&config, 0, sizeof (rtems_rfs_format_config));              
                                                                      
  for (arg = 1; arg < argc; arg++)                                    
 2026ce4:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
 2026ce8:	80 a6 00 1d 	cmp  %i0, %i5                                  <== NOT EXECUTED
 2026cec:	14 bf ff e8 	bg  2026c8c <rtems_shell_rfs_format+0x54>      <== NOT EXECUTED
 2026cf0:	f4 2f bf fd 	stb  %i2, [ %fp + -3 ]                         <== NOT EXECUTED
        return 1;                                                     
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (!driver) {                                                      
 2026cf4:	80 a7 20 00 	cmp  %i4, 0                                    <== NOT EXECUTED
 2026cf8:	02 80 00 45 	be  2026e0c <rtems_shell_rfs_format+0x1d4>     <== NOT EXECUTED
 2026cfc:	92 07 bf e8 	add  %fp, -24, %o1                             <== NOT EXECUTED
    printf ("error: no driver name provided\n");                      
    return 1;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_format (driver, &config) < 0)                         
 2026d00:	90 10 00 1c 	mov  %i4, %o0                                  <== NOT EXECUTED
 2026d04:	40 00 64 73 	call  203fed0 <rtems_rfs_format>               <== NOT EXECUTED
 2026d08:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
 2026d0c:	80 a2 20 00 	cmp  %o0, 0                                    <== NOT EXECUTED
 2026d10:	06 80 00 34 	bl  2026de0 <rtems_shell_rfs_format+0x1a8>     <== NOT EXECUTED
 2026d14:	01 00 00 00 	nop                                            <== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2026d18:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026d1c:	81 e8 00 00 	restore                                        <== NOT EXECUTED
        case 'v':                                                     
          config.verbose = true;                                      
          break;                                                      
                                                                      
        case 's':                                                     
          arg++;                                                      
 2026d20:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
          if (arg >= argc)                                            
 2026d24:	80 a6 00 1d 	cmp  %i0, %i5                                  <== NOT EXECUTED
 2026d28:	04 80 00 45 	ble  2026e3c <rtems_shell_rfs_format+0x204>    <== NOT EXECUTED
 2026d2c:	83 2f 60 02 	sll  %i5, 2, %g1                               <== NOT EXECUTED
          {                                                           
            printf ("error: block size needs an argument\n");         
            return 1;                                                 
          }                                                           
          config.block_size = strtoul (argv[arg], 0, 0);              
 2026d30:	d0 06 40 01 	ld  [ %i1 + %g1 ], %o0                         <== NOT EXECUTED
 2026d34:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2026d38:	40 00 a9 08 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2026d3c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
          break;                                                      
 2026d40:	10 bf ff cf 	b  2026c7c <rtems_shell_rfs_format+0x44>       <== NOT EXECUTED
 2026d44:	d0 27 bf e8 	st  %o0, [ %fp + -24 ]                         <== NOT EXECUTED
        case 'I':                                                     
          config.initialise_inodes = true;                            
          break;                                                      
                                                                      
        case 'o':                                                     
          arg++;                                                      
 2026d48:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
          if (arg >= argc)                                            
 2026d4c:	80 a6 00 1d 	cmp  %i0, %i5                                  <== NOT EXECUTED
 2026d50:	04 80 00 47 	ble  2026e6c <rtems_shell_rfs_format+0x234>    <== NOT EXECUTED
 2026d54:	83 2f 60 02 	sll  %i5, 2, %g1                               <== NOT EXECUTED
          {                                                           
            printf ("error: inode percentage overhead needs an argument\n");
            return 1;                                                 
          }                                                           
          config.inode_overhead = strtoul (argv[arg], 0, 0);          
 2026d58:	d0 06 40 01 	ld  [ %i1 + %g1 ], %o0                         <== NOT EXECUTED
 2026d5c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2026d60:	40 00 a8 fe 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2026d64:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
          break;                                                      
 2026d68:	10 bf ff c5 	b  2026c7c <rtems_shell_rfs_format+0x44>       <== NOT EXECUTED
 2026d6c:	d0 27 bf f4 	st  %o0, [ %fp + -12 ]                         <== NOT EXECUTED
          }                                                           
          config.group_blocks = strtoul (argv[arg], 0, 0);            
          break;                                                      
                                                                      
        case 'i':                                                     
          arg++;                                                      
 2026d70:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
          if (arg >= argc)                                            
 2026d74:	80 a6 00 1d 	cmp  %i0, %i5                                  <== NOT EXECUTED
 2026d78:	04 80 00 37 	ble  2026e54 <rtems_shell_rfs_format+0x21c>    <== NOT EXECUTED
 2026d7c:	83 2f 60 02 	sll  %i5, 2, %g1                               <== NOT EXECUTED
          {                                                           
            printf ("error: group inode count needs an argument\n");  
            return 1;                                                 
          }                                                           
          config.group_inodes = strtoul (argv[arg], 0, 0);            
 2026d80:	d0 06 40 01 	ld  [ %i1 + %g1 ], %o0                         <== NOT EXECUTED
 2026d84:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2026d88:	40 00 a8 f4 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2026d8c:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
          break;                                                      
 2026d90:	10 bf ff bb 	b  2026c7c <rtems_shell_rfs_format+0x44>       <== NOT EXECUTED
 2026d94:	d0 27 bf f0 	st  %o0, [ %fp + -16 ]                         <== NOT EXECUTED
          }                                                           
          config.block_size = strtoul (argv[arg], 0, 0);              
          break;                                                      
                                                                      
        case 'b':                                                     
          arg++;                                                      
 2026d98:	ba 07 60 01 	inc  %i5                                       <== NOT EXECUTED
          if (arg >= argc)                                            
 2026d9c:	80 a6 00 1d 	cmp  %i0, %i5                                  <== NOT EXECUTED
 2026da0:	04 80 00 21 	ble  2026e24 <rtems_shell_rfs_format+0x1ec>    <== NOT EXECUTED
 2026da4:	83 2f 60 02 	sll  %i5, 2, %g1                               <== NOT EXECUTED
          {                                                           
            printf ("error: group block count needs an argument\n");  
            return 1;                                                 
          }                                                           
          config.group_blocks = strtoul (argv[arg], 0, 0);            
 2026da8:	d0 06 40 01 	ld  [ %i1 + %g1 ], %o0                         <== NOT EXECUTED
 2026dac:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 2026db0:	40 00 a8 ea 	call  2051158 <strtoul>                        <== NOT EXECUTED
 2026db4:	94 10 20 00 	clr  %o2                                       <== NOT EXECUTED
          break;                                                      
 2026db8:	10 bf ff b1 	b  2026c7c <rtems_shell_rfs_format+0x44>       <== NOT EXECUTED
 2026dbc:	d0 27 bf ec 	st  %o0, [ %fp + -20 ]                         <== NOT EXECUTED
          config.group_inodes = strtoul (argv[arg], 0, 0);            
          break;                                                      
                                                                      
        case 'I':                                                     
          config.initialise_inodes = true;                            
          break;                                                      
 2026dc0:	10 bf ff af 	b  2026c7c <rtems_shell_rfs_format+0x44>       <== NOT EXECUTED
 2026dc4:	f4 2f bf fc 	stb  %i2, [ %fp + -4 ]                         <== NOT EXECUTED
    {                                                                 
      if (!driver)                                                    
        driver = argv[arg];                                           
      else                                                            
      {                                                               
        printf ("error: only one driver name allowed: %s\n", argv[arg]);
 2026dc8:	11 00 81 91 	sethi  %hi(0x2064400), %o0                     <== NOT EXECUTED
        return 1;                                                     
 2026dcc:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
    {                                                                 
      if (!driver)                                                    
        driver = argv[arg];                                           
      else                                                            
      {                                                               
        printf ("error: only one driver name allowed: %s\n", argv[arg]);
 2026dd0:	40 00 99 0d 	call  204d204 <printf>                         <== NOT EXECUTED
 2026dd4:	90 12 20 f8 	or  %o0, 0xf8, %o0                             <== NOT EXECUTED
 2026dd8:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026ddc:	81 e8 00 00 	restore                                        <== NOT EXECUTED
  }                                                                   
                                                                      
  if (rtems_rfs_format (driver, &config) < 0)                         
  {                                                                   
    printf ("error: format of %s failed: %s\n",                       
            driver, strerror (errno));                                
 2026de0:	40 00 86 ca 	call  2048908 <__errno>                        <== NOT EXECUTED
 2026de4:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
    return 1;                                                         
  }                                                                   
                                                                      
  if (rtems_rfs_format (driver, &config) < 0)                         
  {                                                                   
    printf ("error: format of %s failed: %s\n",                       
 2026de8:	40 00 a2 60 	call  204f768 <strerror>                       <== NOT EXECUTED
 2026dec:	d0 02 00 00 	ld  [ %o0 ], %o0                               <== NOT EXECUTED
 2026df0:	92 10 00 1c 	mov  %i4, %o1                                  <== NOT EXECUTED
 2026df4:	94 10 00 08 	mov  %o0, %o2                                  <== NOT EXECUTED
 2026df8:	11 00 81 a7 	sethi  %hi(0x2069c00), %o0                     <== NOT EXECUTED
 2026dfc:	40 00 99 02 	call  204d204 <printf>                         <== NOT EXECUTED
 2026e00:	90 12 20 18 	or  %o0, 0x18, %o0	! 2069c18 <rtems_rfs_rtems_eval_config+0xa40><== NOT EXECUTED
            driver, strerror (errno));                                
    return 1;                                                         
  }                                                                   
                                                                      
  return 0;                                                           
}                                                                     
 2026e04:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026e08:	81 e8 00 00 	restore                                        <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (!driver) {                                                      
    printf ("error: no driver name provided\n");                      
 2026e0c:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
    return 1;                                                         
 2026e10:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if (!driver) {                                                      
    printf ("error: no driver name provided\n");                      
 2026e14:	40 00 99 94 	call  204d464 <puts>                           <== NOT EXECUTED
 2026e18:	90 12 23 38 	or  %o0, 0x338, %o0                            <== NOT EXECUTED
 2026e1c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026e20:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        case 'b':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: group block count needs an argument\n");  
 2026e24:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
            return 1;                                                 
 2026e28:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
                                                                      
        case 'b':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: group block count needs an argument\n");  
 2026e2c:	40 00 99 8e 	call  204d464 <puts>                           <== NOT EXECUTED
 2026e30:	90 12 23 80 	or  %o0, 0x380, %o0                            <== NOT EXECUTED
 2026e34:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026e38:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        case 's':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: block size needs an argument\n");         
 2026e3c:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
            return 1;                                                 
 2026e40:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
                                                                      
        case 's':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: block size needs an argument\n");         
 2026e44:	40 00 99 88 	call  204d464 <puts>                           <== NOT EXECUTED
 2026e48:	90 12 23 58 	or  %o0, 0x358, %o0                            <== NOT EXECUTED
 2026e4c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026e50:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        case 'i':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: group inode count needs an argument\n");  
 2026e54:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
            return 1;                                                 
 2026e58:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
                                                                      
        case 'i':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: group inode count needs an argument\n");  
 2026e5c:	40 00 99 82 	call  204d464 <puts>                           <== NOT EXECUTED
 2026e60:	90 12 23 b0 	or  %o0, 0x3b0, %o0                            <== NOT EXECUTED
 2026e64:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026e68:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
        case 'o':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: inode percentage overhead needs an argument\n");
 2026e6c:	11 00 81 a6 	sethi  %hi(0x2069800), %o0                     <== NOT EXECUTED
            return 1;                                                 
 2026e70:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
                                                                      
        case 'o':                                                     
          arg++;                                                      
          if (arg >= argc)                                            
          {                                                           
            printf ("error: inode percentage overhead needs an argument\n");
 2026e74:	40 00 99 7c 	call  204d464 <puts>                           <== NOT EXECUTED
 2026e78:	90 12 23 e0 	or  %o0, 0x3e0, %o0                            <== NOT EXECUTED
 2026e7c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2026e80:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02016ef4 <rtems_signal_send>: rtems_status_code rtems_signal_send( rtems_id id, rtems_signal_set signal_set ) {
 2016ef4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
  RTEMS_API_Control       *api;                                       
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
 2016ef8:	80 a6 60 00 	cmp  %i1, 0                                    
 2016efc:	12 80 00 04 	bne  2016f0c <rtems_signal_send+0x18>          
 2016f00:	82 10 20 0a 	mov  0xa, %g1                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2016f04:	81 c7 e0 08 	ret                                            
 2016f08:	91 e8 00 01 	restore  %g0, %g1, %o0                         
  ASR_Information         *asr;                                       
                                                                      
  if ( !signal_set )                                                  
    return RTEMS_INVALID_NUMBER;                                      
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 2016f0c:	90 10 00 18 	mov  %i0, %o0                                  
 2016f10:	40 00 13 b9 	call  201bdf4 <_Thread_Get>                    
 2016f14:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 2016f18:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2016f1c:	80 a0 60 00 	cmp  %g1, 0                                    
 2016f20:	12 80 00 20 	bne  2016fa0 <rtems_signal_send+0xac>          
 2016f24:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      api = the_thread->API_Extensions[ THREAD_API_RTEMS ];           
 2016f28:	fa 02 21 58 	ld  [ %o0 + 0x158 ], %i5                       
      asr = &api->Signal;                                             
                                                                      
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
 2016f2c:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 2016f30:	80 a0 60 00 	cmp  %g1, 0                                    
 2016f34:	02 80 00 1e 	be  2016fac <rtems_signal_send+0xb8>           
 2016f38:	01 00 00 00 	nop                                            
        if ( asr->is_enabled ) {                                      
 2016f3c:	c2 0f 60 08 	ldub  [ %i5 + 8 ], %g1                         
 2016f40:	80 a0 60 00 	cmp  %g1, 0                                    
 2016f44:	02 80 00 1e 	be  2016fbc <rtems_signal_send+0xc8>           
 2016f48:	01 00 00 00 	nop                                            
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 2016f4c:	7f ff e2 31 	call  200f810 <sparc_disable_interrupts>       
 2016f50:	01 00 00 00 	nop                                            
    *signal_set |= signals;                                           
 2016f54:	c2 07 60 14 	ld  [ %i5 + 0x14 ], %g1                        
 2016f58:	b2 10 40 19 	or  %g1, %i1, %i1                              
 2016f5c:	f2 27 60 14 	st  %i1, [ %i5 + 0x14 ]                        
  _ISR_Enable( _level );                                              
 2016f60:	7f ff e2 30 	call  200f820 <sparc_enable_interrupts>        
 2016f64:	01 00 00 00 	nop                                            
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
 2016f68:	03 00 80 f4 	sethi  %hi(0x203d000), %g1                     
 2016f6c:	82 10 62 60 	or  %g1, 0x260, %g1	! 203d260 <_Per_CPU_Information>
 2016f70:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 2016f74:	80 a0 a0 00 	cmp  %g2, 0                                    
 2016f78:	02 80 00 06 	be  2016f90 <rtems_signal_send+0x9c>           
 2016f7c:	01 00 00 00 	nop                                            
 2016f80:	c4 00 60 0c 	ld  [ %g1 + 0xc ], %g2                         
 2016f84:	80 a7 00 02 	cmp  %i4, %g2                                  
 2016f88:	02 80 00 15 	be  2016fdc <rtems_signal_send+0xe8>           <== ALWAYS TAKEN
 2016f8c:	84 10 20 01 	mov  1, %g2                                    
            _Thread_Dispatch_necessary = true;                        
        } else {                                                      
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
 2016f90:	40 00 13 8c 	call  201bdc0 <_Thread_Enable_dispatch>        
 2016f94:	01 00 00 00 	nop                                            
        return RTEMS_SUCCESSFUL;                                      
 2016f98:	10 bf ff db 	b  2016f04 <rtems_signal_send+0x10>            
 2016f9c:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
 2016fa0:	82 10 20 04 	mov  4, %g1                                    
}                                                                     
 2016fa4:	81 c7 e0 08 	ret                                            
 2016fa8:	91 e8 00 01 	restore  %g0, %g1, %o0                         
          _ASR_Post_signals( signal_set, &asr->signals_pending );     
        }                                                             
        _Thread_Enable_dispatch();                                    
        return RTEMS_SUCCESSFUL;                                      
      }                                                               
      _Thread_Enable_dispatch();                                      
 2016fac:	40 00 13 85 	call  201bdc0 <_Thread_Enable_dispatch>        
 2016fb0:	01 00 00 00 	nop                                            
      return RTEMS_NOT_DEFINED;                                       
 2016fb4:	10 bf ff d4 	b  2016f04 <rtems_signal_send+0x10>            
 2016fb8:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
  rtems_signal_set *signal_set                                        
)                                                                     
{                                                                     
  ISR_Level              _level;                                      
                                                                      
  _ISR_Disable( _level );                                             
 2016fbc:	7f ff e2 15 	call  200f810 <sparc_disable_interrupts>       
 2016fc0:	01 00 00 00 	nop                                            
    *signal_set |= signals;                                           
 2016fc4:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 2016fc8:	b2 10 40 19 	or  %g1, %i1, %i1                              
 2016fcc:	f2 27 60 18 	st  %i1, [ %i5 + 0x18 ]                        
  _ISR_Enable( _level );                                              
 2016fd0:	7f ff e2 14 	call  200f820 <sparc_enable_interrupts>        
 2016fd4:	01 00 00 00 	nop                                            
 2016fd8:	30 bf ff ee 	b,a   2016f90 <rtems_signal_send+0x9c>         
      if ( ! _ASR_Is_null_handler( asr->handler ) ) {                 
        if ( asr->is_enabled ) {                                      
          _ASR_Post_signals( signal_set, &asr->signals_posted );      
                                                                      
          if ( _ISR_Is_in_progress() && _Thread_Is_executing( the_thread ) )
            _Thread_Dispatch_necessary = true;                        
 2016fdc:	c4 28 60 18 	stb  %g2, [ %g1 + 0x18 ]                       
 2016fe0:	30 bf ff ec 	b,a   2016f90 <rtems_signal_send+0x9c>         
                                                                      

02007a3c <rtems_stack_checker_begin_extension>: Thread_Control *the_thread ) { Stack_check_Control *the_pattern; if ( the_thread->Object.id == 0 ) /* skip system tasks */
 2007a3c:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
 2007a40:	80 a0 60 00 	cmp  %g1, 0                                    
 2007a44:	02 80 00 0c 	be  2007a74 <rtems_stack_checker_begin_extension+0x38><== NEVER TAKEN
 2007a48:	05 00 81 d6 	sethi  %hi(0x2075800), %g2                     
    return;                                                           
                                                                      
  the_pattern = Stack_check_Get_pattern_area(&the_thread->Start.Initial_stack);
                                                                      
  *the_pattern = Stack_check_Pattern;                                 
 2007a4c:	c2 02 20 b8 	ld  [ %o0 + 0xb8 ], %g1                        
 2007a50:	c6 00 a3 dc 	ld  [ %g2 + 0x3dc ], %g3                       
 2007a54:	84 10 a3 dc 	or  %g2, 0x3dc, %g2                            
 2007a58:	c6 20 60 08 	st  %g3, [ %g1 + 8 ]                           
 2007a5c:	c6 00 a0 04 	ld  [ %g2 + 4 ], %g3                           
 2007a60:	c6 20 60 0c 	st  %g3, [ %g1 + 0xc ]                         
 2007a64:	c6 00 a0 08 	ld  [ %g2 + 8 ], %g3                           
 2007a68:	c6 20 60 10 	st  %g3, [ %g1 + 0x10 ]                        
 2007a6c:	c4 00 a0 0c 	ld  [ %g2 + 0xc ], %g2                         
 2007a70:	c4 20 60 14 	st  %g2, [ %g1 + 0x14 ]                        
 2007a74:	81 c3 e0 08 	retl                                           
                                                                      

02007988 <rtems_stack_checker_create_extension>: */ bool rtems_stack_checker_create_extension( Thread_Control *running __attribute__((unused)), Thread_Control *the_thread ) {
 2007988:	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 )                                      
 200798c:	3b 00 81 cb 	sethi  %hi(0x2072c00), %i5                     
 2007990:	c2 07 62 80 	ld  [ %i5 + 0x280 ], %g1	! 2072e80 <Stack_check_Initialized>
 2007994:	80 a0 60 00 	cmp  %g1, 0                                    
 2007998:	12 80 00 20 	bne  2007a18 <rtems_stack_checker_create_extension+0x90>
 200799c:	07 00 81 d6 	sethi  %hi(0x2075800), %g3                     
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
      p[i] = pattern[ i%4 ];                                          
 20079a0:	09 3f bb 7c 	sethi  %hi(0xfeedf000), %g4                    
 20079a4:	82 10 e3 dc 	or  %g3, 0x3dc, %g1                            
 20079a8:	88 11 20 0d 	or  %g4, 0xd, %g4                              
 20079ac:	c8 20 e3 dc 	st  %g4, [ %g3 + 0x3dc ]                       
 20079b0:	07 02 eb 43 	sethi  %hi(0xbad0c00), %g3                     
 20079b4:	86 10 e1 06 	or  %g3, 0x106, %g3	! bad0d06 <RAM_END+0x96d0d06>
  /*                                                                  
   * 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) {      
 20079b8:	05 00 81 d8 	sethi  %hi(0x2076000), %g2                     
 20079bc:	d0 00 a2 c0 	ld  [ %g2 + 0x2c0 ], %o0	! 20762c0 <_Per_CPU_Information>
  /*                                                                  
   * Dope the pattern and fill areas                                  
   */                                                                 
  p = Stack_check_Pattern.pattern;                                    
  for ( i = 0; i < PATTERN_SIZE_WORDS; i++ ) {                        
      p[i] = pattern[ i%4 ];                                          
 20079c0:	c6 20 60 04 	st  %g3, [ %g1 + 4 ]                           
 20079c4:	07 37 ab 7c 	sethi  %hi(0xdeadf000), %g3                    
 20079c8:	86 10 e0 0d 	or  %g3, 0xd, %g3	! deadf00d <RAM_END+0xdc6df00d>
 20079cc:	c6 20 60 08 	st  %g3, [ %g1 + 8 ]                           
 20079d0:	07 18 03 43 	sethi  %hi(0x600d0c00), %g3                    
 20079d4:	86 10 e1 06 	or  %g3, 0x106, %g3	! 600d0d06 <RAM_END+0x5dcd0d06>
 20079d8:	c6 20 60 0c 	st  %g3, [ %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) {      
 20079dc:	80 a2 20 00 	cmp  %o0, 0                                    
 20079e0:	02 80 00 0c 	be  2007a10 <rtems_stack_checker_create_extension+0x88><== NEVER TAKEN
 20079e4:	84 10 a2 c0 	or  %g2, 0x2c0, %g2                            
 20079e8:	d4 00 a0 04 	ld  [ %g2 + 4 ], %o2                           
 20079ec:	80 a2 a0 00 	cmp  %o2, 0                                    
 20079f0:	02 80 00 08 	be  2007a10 <rtems_stack_checker_create_extension+0x88><== NEVER TAKEN
 20079f4:	03 00 81 d6 	sethi  %hi(0x2075800), %g1                     
      Stack_check_Interrupt_stack.area = _CPU_Interrupt_stack_low;    
 20079f8:	84 10 63 ec 	or  %g1, 0x3ec, %g2	! 2075bec <Stack_check_Interrupt_stack>
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
 20079fc:	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;    
 2007a00:	d0 20 a0 04 	st  %o0, [ %g2 + 4 ]                           
      Stack_check_Interrupt_stack.size = (char *) _CPU_Interrupt_stack_high -
 2007a04:	d4 20 63 ec 	st  %o2, [ %g1 + 0x3ec ]                       
                                  (char *) _CPU_Interrupt_stack_low;  
      Stack_check_Dope_stack(&Stack_check_Interrupt_stack);           
 2007a08:	40 01 11 8e 	call  204c040 <memset>                         
 2007a0c:	92 10 20 a5 	mov  0xa5, %o1                                 
   }                                                                  
  #endif                                                              
                                                                      
  Stack_check_Initialized = 1;                                        
 2007a10:	82 10 20 01 	mov  1, %g1                                    
 2007a14:	c2 27 62 80 	st  %g1, [ %i5 + 0x280 ]                       
  Thread_Control *the_thread                                          
)                                                                     
{                                                                     
  Stack_check_Initialize();                                           
                                                                      
  if (the_thread)                                                     
 2007a18:	80 a6 60 00 	cmp  %i1, 0                                    
 2007a1c:	02 80 00 06 	be  2007a34 <rtems_stack_checker_create_extension+0xac><== NEVER TAKEN
 2007a20:	01 00 00 00 	nop                                            
    Stack_check_Dope_stack(&the_thread->Start.Initial_stack);         
 2007a24:	d0 06 60 b8 	ld  [ %i1 + 0xb8 ], %o0                        
 2007a28:	d4 06 60 b4 	ld  [ %i1 + 0xb4 ], %o2                        
 2007a2c:	40 01 11 85 	call  204c040 <memset>                         
 2007a30:	92 10 20 a5 	mov  0xa5, %o1                                 
                                                                      
  return true;                                                        
}                                                                     
 2007a34:	81 c7 e0 08 	ret                                            
 2007a38:	91 e8 20 01 	restore  %g0, 1, %o0                           
                                                                      

02007b94 <rtems_stack_checker_is_blown>: /* * Check if blown */ bool rtems_stack_checker_is_blown( void ) {
 2007b94:	9d e3 bf a0 	save  %sp, -96, %sp                            
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
 2007b98:	39 00 81 d8 	sethi  %hi(0x2076000), %i4                     
 2007b9c:	b8 17 22 c0 	or  %i4, 0x2c0, %i4	! 20762c0 <_Per_CPU_Information>
 2007ba0:	c2 07 20 0c 	ld  [ %i4 + 0xc ], %g1                         
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
 2007ba4:	d0 00 60 b8 	ld  [ %g1 + 0xb8 ], %o0                        
 2007ba8:	80 a7 80 08 	cmp  %fp, %o0                                  
 2007bac:	0a 80 00 06 	bcs  2007bc4 <rtems_stack_checker_is_blown+0x30><== NEVER TAKEN
 2007bb0:	ba 10 20 01 	mov  1, %i5                                    
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
 2007bb4:	c2 00 60 b4 	ld  [ %g1 + 0xb4 ], %g1                        
 2007bb8:	82 02 00 01 	add  %o0, %g1, %g1                             
 2007bbc:	80 a0 40 1e 	cmp  %g1, %fp                                  
 2007bc0:	ba 40 20 00 	addx  %g0, 0, %i5                              
                                                                      
  /*                                                                  
   * The stack checker must be initialized before the pattern is there
   * to check.                                                        
   */                                                                 
  if ( Stack_check_Initialized ) {                                    
 2007bc4:	03 00 81 cb 	sethi  %hi(0x2072c00), %g1                     
 2007bc8:	c2 00 62 80 	ld  [ %g1 + 0x280 ], %g1	! 2072e80 <Stack_check_Initialized>
 2007bcc:	80 a0 60 00 	cmp  %g1, 0                                    
 2007bd0:	02 80 00 12 	be  2007c18 <rtems_stack_checker_is_blown+0x84><== NEVER TAKEN
 2007bd4:	82 10 20 00 	clr  %g1                                       
    pattern_ok = (!memcmp(                                            
 2007bd8:	90 02 20 08 	add  %o0, 8, %o0                               
 2007bdc:	94 10 20 10 	mov  0x10, %o2                                 
 2007be0:	13 00 81 d6 	sethi  %hi(0x2075800), %o1                     
 2007be4:	40 01 10 5e 	call  204bd5c <memcmp>                         
 2007be8:	92 12 63 dc 	or  %o1, 0x3dc, %o1	! 2075bdc <Stack_check_Pattern>
 2007bec:	80 a0 00 08 	cmp  %g0, %o0                                  
 2007bf0:	82 60 3f ff 	subx  %g0, -1, %g1                             
 2007bf4:	92 10 00 01 	mov  %g1, %o1                                  
 2007bf8:	82 18 60 01 	xor  %g1, 1, %g1                               
                                                                      
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
 2007bfc:	80 88 60 ff 	btst  0xff, %g1                                
 2007c00:	12 80 00 08 	bne  2007c20 <rtems_stack_checker_is_blown+0x8c><== NEVER TAKEN
 2007c04:	80 8f 60 ff 	btst  0xff, %i5                                
 2007c08:	12 80 00 06 	bne  2007c20 <rtems_stack_checker_is_blown+0x8c><== NEVER TAKEN
 2007c0c:	b0 10 20 00 	clr  %i0                                       
                                                                      
  /*                                                                  
   * The Stack Pointer and the Pattern Area are OK so return false.   
   */                                                                 
  return false;                                                       
}                                                                     
 2007c10:	81 c7 e0 08 	ret                                            
 2007c14:	81 e8 00 00 	restore                                        
 */                                                                   
bool rtems_stack_checker_is_blown( void )                             
{                                                                     
  Stack_Control *the_stack = &_Thread_Executing->Start.Initial_stack; 
  bool           sp_ok;                                               
  bool           pattern_ok = true;                                   
 2007c18:	10 bf ff f9 	b  2007bfc <rtems_stack_checker_is_blown+0x68> <== NOT EXECUTED
 2007c1c:	92 10 20 01 	mov  1, %o1                                    <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Let's report as much as we can.                                  
   */                                                                 
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( _Thread_Executing, pattern_ok );   
 2007c20:	d0 07 20 0c 	ld  [ %i4 + 0xc ], %o0                         <== NOT EXECUTED
 2007c24:	7f ff ff 96 	call  2007a7c <Stack_check_report_blown_task>  <== NOT EXECUTED
 2007c28:	92 0a 60 01 	and  %o1, 1, %o1                               <== NOT EXECUTED
                                                                      

02007c30 <rtems_stack_checker_report_usage_with_plugin>: void rtems_stack_checker_report_usage_with_plugin( void *context, rtems_printk_plugin_t print ) {
 2007c30:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( !print )                                                       
 2007c34:	80 a6 60 00 	cmp  %i1, 0                                    
 2007c38:	02 80 00 14 	be  2007c88 <rtems_stack_checker_report_usage_with_plugin+0x58><== NEVER TAKEN
 2007c3c:	39 00 81 cb 	sethi  %hi(0x2072c00), %i4                     
    return;                                                           
                                                                      
  print_context = context;                                            
  print_handler = print;                                              
 2007c40:	3b 00 81 cb 	sethi  %hi(0x2072c00), %i5                     
)                                                                     
{                                                                     
  if ( !print )                                                       
    return;                                                           
                                                                      
  print_context = context;                                            
 2007c44:	f0 27 22 84 	st  %i0, [ %i4 + 0x284 ]                       
  print_handler = print;                                              
 2007c48:	f2 27 62 88 	st  %i1, [ %i5 + 0x288 ]                       
                                                                      
  (*print)( context, "Stack usage by thread\n");                      
 2007c4c:	90 10 00 18 	mov  %i0, %o0                                  
 2007c50:	13 00 81 95 	sethi  %hi(0x2065400), %o1                     
 2007c54:	9f c6 40 00 	call  %i1                                      
 2007c58:	92 12 62 50 	or  %o1, 0x250, %o1	! 2065650 <write_block_string.9494+0x6b0>
  (*print)( context,                                                  
 2007c5c:	90 10 00 18 	mov  %i0, %o0                                  
 2007c60:	13 00 81 95 	sethi  %hi(0x2065400), %o1                     
 2007c64:	9f c6 40 00 	call  %i1                                      
 2007c68:	92 12 62 68 	or  %o1, 0x268, %o1	! 2065668 <write_block_string.9494+0x6c8>
"    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 );   
 2007c6c:	11 00 80 1e 	sethi  %hi(0x2007800), %o0                     
 2007c70:	40 00 1f 05 	call  200f884 <rtems_iterate_over_all_threads> 
 2007c74:	90 12 20 08 	or  %o0, 8, %o0	! 2007808 <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);            
 2007c78:	7f ff fe e4 	call  2007808 <Stack_check_Dump_threads_usage> 
 2007c7c:	90 10 3f ff 	mov  -1, %o0                                   
  #endif                                                              
                                                                      
  print_context = NULL;                                               
 2007c80:	c0 27 22 84 	clr  [ %i4 + 0x284 ]                           
  print_handler = NULL;                                               
 2007c84:	c0 27 62 88 	clr  [ %i5 + 0x288 ]                           
 2007c88:	81 c7 e0 08 	ret                                            
 2007c8c:	81 e8 00 00 	restore                                        
                                                                      

02007b24 <rtems_stack_checker_switch_extension>: */ void rtems_stack_checker_switch_extension( Thread_Control *running __attribute__((unused)), Thread_Control *heir __attribute__((unused)) ) {
 2007b24:	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);                  
 2007b28:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        
  /*                                                                  
   *  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,                                     
 2007b2c:	13 00 81 d6 	sethi  %hi(0x2075800), %o1                     
  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);                  
 2007b30:	90 00 60 08 	add  %g1, 8, %o0                               
  /*                                                                  
   *  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,                                     
 2007b34:	94 10 20 10 	mov  0x10, %o2                                 
)                                                                     
{                                                                     
  #if defined(__GNUC__)                                               
    void *sp = __builtin_frame_address(0);                            
                                                                      
    if ( sp < the_stack->area ) {                                     
 2007b38:	80 a7 80 01 	cmp  %fp, %g1                                  
 2007b3c:	0a 80 00 07 	bcs  2007b58 <rtems_stack_checker_switch_extension+0x34><== NEVER TAKEN
 2007b40:	92 12 63 dc 	or  %o1, 0x3dc, %o1                            
      return false;                                                   
    }                                                                 
    if ( sp > (the_stack->area + the_stack->size) ) {                 
 2007b44:	c4 06 20 b4 	ld  [ %i0 + 0xb4 ], %g2                        
 2007b48:	82 00 40 02 	add  %g1, %g2, %g1                             
 2007b4c:	80 a7 80 01 	cmp  %fp, %g1                                  
 2007b50:	08 80 00 0a 	bleu  2007b78 <rtems_stack_checker_switch_extension+0x54><== ALWAYS TAKEN
 2007b54:	01 00 00 00 	nop                                            
  /*                                                                  
   *  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,                                     
 2007b58:	40 01 10 81 	call  204bd5c <memcmp>                         <== NOT EXECUTED
 2007b5c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2007b60:	80 a0 00 08 	cmp  %g0, %o0                                  <== NOT EXECUTED
 2007b64:	82 60 3f ff 	subx  %g0, -1, %g1                             <== NOT EXECUTED
 2007b68:	92 10 00 01 	mov  %g1, %o1                                  <== NOT EXECUTED
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
    Stack_check_report_blown_task( running, pattern_ok );             
 2007b6c:	90 10 00 18 	mov  %i0, %o0                                  
 2007b70:	7f ff ff c3 	call  2007a7c <Stack_check_report_blown_task>  
 2007b74:	92 0a 60 01 	and  %o1, 1, %o1                               
  /*                                                                  
   *  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,                                     
 2007b78:	40 01 10 79 	call  204bd5c <memcmp>                         
 2007b7c:	01 00 00 00 	nop                                            
            (void *) Stack_check_Pattern.pattern, PATTERN_SIZE_BYTES));
                                                                      
  if ( !sp_ok || !pattern_ok ) {                                      
 2007b80:	80 a2 20 00 	cmp  %o0, 0                                    
 2007b84:	12 bf ff fa 	bne  2007b6c <rtems_stack_checker_switch_extension+0x48>
 2007b88:	92 10 20 00 	clr  %o1                                       
 2007b8c:	81 c7 e0 08 	ret                                            
 2007b90:	81 e8 00 00 	restore                                        
                                                                      

0200df28 <rtems_string_to_double>: rtems_status_code rtems_string_to_double ( const char *s, double *n, char **endptr ) {
 200df28:	9d e3 bf 90 	save  %sp, -112, %sp                           
  double result;                                                      
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200df2c:	80 a6 60 00 	cmp  %i1, 0                                    
 200df30:	02 80 00 19 	be  200df94 <rtems_string_to_double+0x6c>      
 200df34:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200df38:	40 00 0d 76 	call  2011510 <__errno>                        
 200df3c:	01 00 00 00 	nop                                            
 200df40:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 200df44:	c0 26 40 00 	clr  [ %i1 ]                                   
 200df48:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
                                                                      
  result = strtod( s, &end );                                         
 200df4c:	90 10 00 18 	mov  %i0, %o0                                  
 200df50:	40 00 18 7d 	call  2014144 <strtod>                         
 200df54:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
  if ( endptr )                                                       
 200df58:	80 a6 a0 00 	cmp  %i2, 0                                    
 200df5c:	02 80 00 03 	be  200df68 <rtems_string_to_double+0x40>      
 200df60:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    *endptr = end;                                                    
 200df64:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200df68:	80 a6 00 02 	cmp  %i0, %g2                                  
 200df6c:	02 80 00 0a 	be  200df94 <rtems_string_to_double+0x6c>      
 200df70:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200df74:	40 00 0d 67 	call  2011510 <__errno>                        
 200df78:	c1 3f bf f0 	std  %f0, [ %fp + -16 ]                        
 200df7c:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200df80:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200df84:	02 80 00 06 	be  200df9c <rtems_string_to_double+0x74>      
 200df88:	c1 1f bf f0 	ldd  [ %fp + -16 ], %f0                        
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200df8c:	c1 3e 40 00 	std  %f0, [ %i1 ]                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200df90:	82 10 20 00 	clr  %g1                                       
}                                                                     
 200df94:	81 c7 e0 08 	ret                                            
 200df98:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200df9c:	05 00 80 80 	sethi  %hi(0x2020000), %g2                     
 200dfa0:	d1 18 a2 68 	ldd  [ %g2 + 0x268 ], %f8	! 2020268 <_rodata_start+0x17f8>
 200dfa4:	81 a8 0a 48 	fcmpd  %f0, %f8                                
 200dfa8:	01 00 00 00 	nop                                            
 200dfac:	13 bf ff fa 	fbe  200df94 <rtems_string_to_double+0x6c>     
 200dfb0:	82 10 20 0a 	mov  0xa, %g1	! a <PROM_START+0xa>             
    (( result == 0 ) || ( result == HUGE_VAL ) || ( result == -HUGE_VAL )))
 200dfb4:	05 00 80 84 	sethi  %hi(0x2021000), %g2                     
 200dfb8:	d1 18 a0 40 	ldd  [ %g2 + 0x40 ], %f8	! 2021040 <_CPU_Trap_slot_template+0x10>
 200dfbc:	81 a8 0a c8 	fcmped  %f0, %f8                               
 200dfc0:	01 00 00 00 	nop                                            
 200dfc4:	0d bf ff f4 	fbg  200df94 <rtems_string_to_double+0x6c>     
 200dfc8:	05 00 80 84 	sethi  %hi(0x2021000), %g2                     
 200dfcc:	d1 18 a0 48 	ldd  [ %g2 + 0x48 ], %f8	! 2021048 <_CPU_Trap_slot_template+0x18>
 200dfd0:	81 a8 0a c8 	fcmped  %f0, %f8                               
 200dfd4:	01 00 00 00 	nop                                            
 200dfd8:	09 bf ff ef 	fbl  200df94 <rtems_string_to_double+0x6c>     
 200dfdc:	01 00 00 00 	nop                                            
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200dfe0:	10 bf ff ec 	b  200df90 <rtems_string_to_double+0x68>       <== NOT EXECUTED
 200dfe4:	c1 3e 40 00 	std  %f0, [ %i1 ]                              <== NOT EXECUTED
                                                                      

0200dfe8 <rtems_string_to_float>: rtems_status_code rtems_string_to_float ( const char *s, float *n, char **endptr ) {
 200dfe8:	9d e3 bf 90 	save  %sp, -112, %sp                           
  float result;                                                       
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200dfec:	80 a6 60 00 	cmp  %i1, 0                                    
 200dff0:	02 80 00 18 	be  200e050 <rtems_string_to_float+0x68>       
 200dff4:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200dff8:	40 00 0d 46 	call  2011510 <__errno>                        
 200dffc:	01 00 00 00 	nop                                            
 200e000:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 200e004:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  result = strtof( s, &end );                                         
 200e008:	90 10 00 18 	mov  %i0, %o0                                  
 200e00c:	40 00 18 55 	call  2014160 <strtof>                         
 200e010:	92 07 bf fc 	add  %fp, -4, %o1                              
                                                                      
  if ( endptr )                                                       
 200e014:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e018:	02 80 00 03 	be  200e024 <rtems_string_to_float+0x3c>       
 200e01c:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    *endptr = end;                                                    
 200e020:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200e024:	80 a6 00 02 	cmp  %i0, %g2                                  
 200e028:	02 80 00 0a 	be  200e050 <rtems_string_to_float+0x68>       
 200e02c:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e030:	40 00 0d 38 	call  2011510 <__errno>                        
 200e034:	c1 27 bf f4 	st  %f0, [ %fp + -12 ]                         
 200e038:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200e03c:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200e040:	02 80 00 06 	be  200e058 <rtems_string_to_float+0x70>       
 200e044:	c1 07 bf f4 	ld  [ %fp + -12 ], %f0                         
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200e048:	c1 26 40 00 	st  %f0, [ %i1 ]                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200e04c:	82 10 20 00 	clr  %g1                                       
}                                                                     
 200e050:	81 c7 e0 08 	ret                                            
 200e054:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e058:	05 00 80 80 	sethi  %hi(0x2020000), %g2                     
 200e05c:	d1 00 a2 5c 	ld  [ %g2 + 0x25c ], %f8	! 202025c <_rodata_start+0x17ec>
 200e060:	81 a8 0a 28 	fcmps  %f0, %f8                                
 200e064:	01 00 00 00 	nop                                            
 200e068:	13 bf ff fa 	fbe  200e050 <rtems_string_to_float+0x68>      
 200e06c:	82 10 20 0a 	mov  0xa, %g1	! a <PROM_START+0xa>             
    (( result == 0 ) || ( result == HUGE_VALF ) || ( result == -HUGE_VALF )))
 200e070:	05 00 80 84 	sethi  %hi(0x2021000), %g2                     
 200e074:	d1 00 a0 50 	ld  [ %g2 + 0x50 ], %f8	! 2021050 <_CPU_Trap_slot_template+0x20>
 200e078:	81 a8 0a a8 	fcmpes  %f0, %f8                               
 200e07c:	01 00 00 00 	nop                                            
 200e080:	0d bf ff f4 	fbg  200e050 <rtems_string_to_float+0x68>      
 200e084:	05 00 80 84 	sethi  %hi(0x2021000), %g2                     
 200e088:	d1 00 a0 54 	ld  [ %g2 + 0x54 ], %f8	! 2021054 <_CPU_Trap_slot_template+0x24>
 200e08c:	81 a8 0a a8 	fcmpes  %f0, %f8                               
 200e090:	01 00 00 00 	nop                                            
 200e094:	09 bf ff ef 	fbl  200e050 <rtems_string_to_float+0x68>      
 200e098:	01 00 00 00 	nop                                            
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200e09c:	10 bf ff ec 	b  200e04c <rtems_string_to_float+0x64>        <== NOT EXECUTED
 200e0a0:	c1 26 40 00 	st  %f0, [ %i1 ]                               <== NOT EXECUTED
                                                                      

02021fac <rtems_string_to_int>: const char *s, int *n, char **endptr, int base ) {
 2021fac:	9d e3 bf 98 	save  %sp, -104, %sp                           
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 2021fb0:	80 a6 60 00 	cmp  %i1, 0                                    
 2021fb4:	02 80 00 1a 	be  202201c <rtems_string_to_int+0x70>         
 2021fb8:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 2021fbc:	40 00 9a 53 	call  2048908 <__errno>                        
 2021fc0:	01 00 00 00 	nop                                            
 2021fc4:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 2021fc8:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  result = strtol( s, &end, base );                                   
 2021fcc:	90 10 00 18 	mov  %i0, %o0                                  
 2021fd0:	92 07 bf fc 	add  %fp, -4, %o1                              
 2021fd4:	40 00 bb 13 	call  2050c20 <strtol>                         
 2021fd8:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
 2021fdc:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
 2021fe0:	80 a6 a0 00 	cmp  %i2, 0                                    
 2021fe4:	02 80 00 03 	be  2021ff0 <rtems_string_to_int+0x44>         
 2021fe8:	ba 10 00 08 	mov  %o0, %i5                                  
    *endptr = end;                                                    
 2021fec:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 2021ff0:	80 a6 00 02 	cmp  %i0, %g2                                  
 2021ff4:	02 80 00 0a 	be  202201c <rtems_string_to_int+0x70>         
 2021ff8:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 2021ffc:	40 00 9a 43 	call  2048908 <__errno>                        
 2022000:	01 00 00 00 	nop                                            
 2022004:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2022008:	80 a0 60 22 	cmp  %g1, 0x22                                 
 202200c:	02 80 00 06 	be  2022024 <rtems_string_to_int+0x78>         
 2022010:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
 2022014:	fa 26 40 00 	st  %i5, [ %i1 ]                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2022018:	82 10 20 00 	clr  %g1                                       
}                                                                     
 202201c:	81 c7 e0 08 	ret                                            
 2022020:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
 2022024:	82 38 40 1d 	xnor  %g1, %i5, %g1                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 2022028:	80 a0 60 00 	cmp  %g1, 0                                    
 202202c:	02 bf ff fc 	be  202201c <rtems_string_to_int+0x70>         
 2022030:	82 10 20 0a 	mov  0xa, %g1                                  
 2022034:	80 a7 60 00 	cmp  %i5, 0                                    
 2022038:	02 bf ff f9 	be  202201c <rtems_string_to_int+0x70>         <== NEVER TAKEN
 202203c:	05 20 00 00 	sethi  %hi(0x80000000), %g2                    
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
 2022040:	80 a7 40 02 	cmp  %i5, %g2                                  
 2022044:	02 bf ff f6 	be  202201c <rtems_string_to_int+0x70>         <== ALWAYS TAKEN
 2022048:	01 00 00 00 	nop                                            
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
 202204c:	fa 26 40 00 	st  %i5, [ %i1 ]                               <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2022050:	10 bf ff f3 	b  202201c <rtems_string_to_int+0x70>          <== NOT EXECUTED
 2022054:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
                                                                      

0200e228 <rtems_string_to_long>: const char *s, long *n, char **endptr, int base ) {
 200e228:	9d e3 bf 98 	save  %sp, -104, %sp                           
  long result;                                                        
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200e22c:	80 a6 60 00 	cmp  %i1, 0                                    
 200e230:	02 80 00 1a 	be  200e298 <rtems_string_to_long+0x70>        
 200e234:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200e238:	40 00 0c b6 	call  2011510 <__errno>                        
 200e23c:	01 00 00 00 	nop                                            
 200e240:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 200e244:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  result = strtol( s, &end, base );                                   
 200e248:	90 10 00 18 	mov  %i0, %o0                                  
 200e24c:	92 07 bf fc 	add  %fp, -4, %o1                              
 200e250:	40 00 18 65 	call  20143e4 <strtol>                         
 200e254:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
 200e258:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtol( s, &end, base );                                   
                                                                      
  if ( endptr )                                                       
 200e25c:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e260:	02 80 00 03 	be  200e26c <rtems_string_to_long+0x44>        
 200e264:	ba 10 00 08 	mov  %o0, %i5                                  
    *endptr = end;                                                    
 200e268:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200e26c:	80 a6 00 02 	cmp  %i0, %g2                                  
 200e270:	02 80 00 0a 	be  200e298 <rtems_string_to_long+0x70>        
 200e274:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e278:	40 00 0c a6 	call  2011510 <__errno>                        
 200e27c:	01 00 00 00 	nop                                            
 200e280:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200e284:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200e288:	02 80 00 06 	be  200e2a0 <rtems_string_to_long+0x78>        
 200e28c:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200e290:	fa 26 40 00 	st  %i5, [ %i1 ]                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200e294:	82 10 20 00 	clr  %g1                                       
}                                                                     
 200e298:	81 c7 e0 08 	ret                                            
 200e29c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
 200e2a0:	82 38 40 1d 	xnor  %g1, %i5, %g1                            
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e2a4:	80 a0 60 00 	cmp  %g1, 0                                    
 200e2a8:	02 bf ff fc 	be  200e298 <rtems_string_to_long+0x70>        
 200e2ac:	82 10 20 0a 	mov  0xa, %g1                                  
 200e2b0:	80 a7 60 00 	cmp  %i5, 0                                    
 200e2b4:	02 bf ff f9 	be  200e298 <rtems_string_to_long+0x70>        <== NEVER TAKEN
 200e2b8:	05 20 00 00 	sethi  %hi(0x80000000), %g2                    
    (( result == 0 ) || ( result == LONG_MAX ) || ( result == LONG_MIN )))
 200e2bc:	80 a7 40 02 	cmp  %i5, %g2                                  
 200e2c0:	02 bf ff f6 	be  200e298 <rtems_string_to_long+0x70>        <== ALWAYS TAKEN
 200e2c4:	01 00 00 00 	nop                                            
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200e2c8:	fa 26 40 00 	st  %i5, [ %i1 ]                               <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200e2cc:	10 bf ff f3 	b  200e298 <rtems_string_to_long+0x70>         <== NOT EXECUTED
 200e2d0:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
                                                                      

0200e150 <rtems_string_to_long_long>: const char *s, long long *n, char **endptr, int base ) {
 200e150:	9d e3 bf 98 	save  %sp, -104, %sp                           
  long long result;                                                   
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200e154:	80 a6 60 00 	cmp  %i1, 0                                    
 200e158:	02 80 00 1c 	be  200e1c8 <rtems_string_to_long_long+0x78>   
 200e15c:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200e160:	40 00 0c ec 	call  2011510 <__errno>                        
 200e164:	01 00 00 00 	nop                                            
 200e168:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 200e16c:	c0 26 40 00 	clr  [ %i1 ]                                   
 200e170:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
                                                                      
  result = strtoll( s, &end, base );                                  
 200e174:	90 10 00 18 	mov  %i0, %o0                                  
 200e178:	92 07 bf fc 	add  %fp, -4, %o1                              
 200e17c:	40 00 18 a3 	call  2014408 <strtoll>                        
 200e180:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
 200e184:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoll( s, &end, base );                                  
 200e188:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
  if ( endptr )                                                       
 200e18c:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e190:	02 80 00 03 	be  200e19c <rtems_string_to_long_long+0x4c>   
 200e194:	ba 10 00 09 	mov  %o1, %i5                                  
    *endptr = end;                                                    
 200e198:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200e19c:	80 a6 00 02 	cmp  %i0, %g2                                  
 200e1a0:	02 80 00 0a 	be  200e1c8 <rtems_string_to_long_long+0x78>   
 200e1a4:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e1a8:	40 00 0c da 	call  2011510 <__errno>                        
 200e1ac:	01 00 00 00 	nop                                            
 200e1b0:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200e1b4:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200e1b8:	02 80 00 06 	be  200e1d0 <rtems_string_to_long_long+0x80>   
 200e1bc:	05 1f ff ff 	sethi  %hi(0x7ffffc00), %g2                    
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200e1c0:	f8 3e 40 00 	std  %i4, [ %i1 ]                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200e1c4:	82 10 20 00 	clr  %g1                                       
}                                                                     
 200e1c8:	81 c7 e0 08 	ret                                            
 200e1cc:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
 200e1d0:	07 3f ff ff 	sethi  %hi(0xfffffc00), %g3                    
 200e1d4:	84 10 a3 ff 	or  %g2, 0x3ff, %g2                            
 200e1d8:	86 10 e3 ff 	or  %g3, 0x3ff, %g3                            
 200e1dc:	84 1f 00 02 	xor  %i4, %g2, %g2                             
 200e1e0:	86 1f 40 03 	xor  %i5, %g3, %g3                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e1e4:	80 90 80 03 	orcc  %g2, %g3, %g0                            
 200e1e8:	12 80 00 04 	bne  200e1f8 <rtems_string_to_long_long+0xa8>  
 200e1ec:	80 97 00 1d 	orcc  %i4, %i5, %g0                            
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
      return RTEMS_INVALID_NUMBER;                                    
 200e1f0:	10 bf ff f6 	b  200e1c8 <rtems_string_to_long_long+0x78>    
 200e1f4:	82 10 20 0a 	mov  0xa, %g1                                  
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e1f8:	02 bf ff f4 	be  200e1c8 <rtems_string_to_long_long+0x78>   <== NEVER TAKEN
 200e1fc:	82 10 20 0a 	mov  0xa, %g1                                  
    (( result == 0 ) || ( result == LONG_LONG_MAX ) || ( result == LONG_LONG_MIN )))
 200e200:	03 20 00 00 	sethi  %hi(0x80000000), %g1                    
 200e204:	80 a7 00 01 	cmp  %i4, %g1                                  
 200e208:	32 bf ff ef 	bne,a   200e1c4 <rtems_string_to_long_long+0x74><== NEVER TAKEN
 200e20c:	f8 3e 40 00 	std  %i4, [ %i1 ]                              <== NOT EXECUTED
 200e210:	80 a7 60 00 	cmp  %i5, 0                                    
 200e214:	22 bf ff ed 	be,a   200e1c8 <rtems_string_to_long_long+0x78><== ALWAYS TAKEN
 200e218:	82 10 20 0a 	mov  0xa, %g1                                  
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200e21c:	f8 3e 40 00 	std  %i4, [ %i1 ]                              <== NOT EXECUTED
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200e220:	10 bf ff ea 	b  200e1c8 <rtems_string_to_long_long+0x78>    <== NOT EXECUTED
 200e224:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
                                                                      

02022068 <rtems_string_to_unsigned_char>: const char *s, unsigned char *n, char **endptr, int base ) {
 2022068:	9d e3 bf 98 	save  %sp, -104, %sp                           
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 202206c:	80 a6 60 00 	cmp  %i1, 0                                    
 2022070:	02 80 00 1b 	be  20220dc <rtems_string_to_unsigned_char+0x74>
 2022074:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 2022078:	40 00 9a 24 	call  2048908 <__errno>                        
 202207c:	01 00 00 00 	nop                                            
 2022080:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 2022084:	c0 2e 40 00 	clrb  [ %i1 ]                                  
                                                                      
  result = strtoul( s, &end, base );                                  
 2022088:	90 10 00 18 	mov  %i0, %o0                                  
 202208c:	92 07 bf fc 	add  %fp, -4, %o1                              
 2022090:	40 00 bc 32 	call  2051158 <strtoul>                        
 2022094:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
 2022098:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
 202209c:	80 a6 a0 00 	cmp  %i2, 0                                    
 20220a0:	02 80 00 03 	be  20220ac <rtems_string_to_unsigned_char+0x44>
 20220a4:	ba 10 00 08 	mov  %o0, %i5                                  
    *endptr = end;                                                    
 20220a8:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 20220ac:	80 a6 00 02 	cmp  %i0, %g2                                  
 20220b0:	02 80 00 0b 	be  20220dc <rtems_string_to_unsigned_char+0x74>
 20220b4:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 20220b8:	40 00 9a 14 	call  2048908 <__errno>                        
 20220bc:	01 00 00 00 	nop                                            
 20220c0:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 20220c4:	80 a0 60 22 	cmp  %g1, 0x22                                 
 20220c8:	02 80 00 0e 	be  2022100 <rtems_string_to_unsigned_char+0x98>
 20220cc:	80 a7 60 ff 	cmp  %i5, 0xff                                 
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
 20220d0:	18 80 00 05 	bgu  20220e4 <rtems_string_to_unsigned_char+0x7c>
 20220d4:	82 10 20 00 	clr  %g1                                       
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
 20220d8:	fa 2e 40 00 	stb  %i5, [ %i1 ]                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 20220dc:	81 c7 e0 08 	ret                                            
 20220e0:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
    errno = ERANGE;                                                   
 20220e4:	40 00 9a 09 	call  2048908 <__errno>                        
 20220e8:	01 00 00 00 	nop                                            
    return RTEMS_INVALID_NUMBER;                                      
 20220ec:	82 10 20 0a 	mov  0xa, %g1	! a <PROM_START+0xa>             
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
    errno = ERANGE;                                                   
 20220f0:	84 10 20 22 	mov  0x22, %g2                                 
 20220f4:	c4 22 00 00 	st  %g2, [ %o0 ]                               
#endif                                                                
                                                                      
  *n = result;                                                        
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 20220f8:	81 c7 e0 08 	ret                                            
 20220fc:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_MAX )))                     
 2022100:	84 07 7f ff 	add  %i5, -1, %g2                              
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 2022104:	80 a0 bf fd 	cmp  %g2, -3                                   
 2022108:	18 bf ff f5 	bgu  20220dc <rtems_string_to_unsigned_char+0x74><== ALWAYS TAKEN
 202210c:	82 10 20 0a 	mov  0xa, %g1                                  
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
#if (UCHAR_MAX < ULONG_MAX)                                           
  if ( result > UCHAR_MAX ) {                                         
 2022110:	10 bf ff f0 	b  20220d0 <rtems_string_to_unsigned_char+0x68><== NOT EXECUTED
 2022114:	80 a7 60 ff 	cmp  %i5, 0xff                                 <== NOT EXECUTED
                                                                      

0200e394 <rtems_string_to_unsigned_int>: const char *s, unsigned int *n, char **endptr, int base ) {
 200e394:	9d e3 bf 98 	save  %sp, -104, %sp                           
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200e398:	80 a6 60 00 	cmp  %i1, 0                                    
 200e39c:	02 80 00 1a 	be  200e404 <rtems_string_to_unsigned_int+0x70>
 200e3a0:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200e3a4:	40 00 0c 5b 	call  2011510 <__errno>                        
 200e3a8:	01 00 00 00 	nop                                            
 200e3ac:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 200e3b0:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  result = strtoul( s, &end, base );                                  
 200e3b4:	90 10 00 18 	mov  %i0, %o0                                  
 200e3b8:	92 07 bf fc 	add  %fp, -4, %o1                              
 200e3bc:	40 00 19 58 	call  201491c <strtoul>                        
 200e3c0:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
 200e3c4:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
 200e3c8:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e3cc:	02 80 00 03 	be  200e3d8 <rtems_string_to_unsigned_int+0x44>
 200e3d0:	ba 10 00 08 	mov  %o0, %i5                                  
    *endptr = end;                                                    
 200e3d4:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200e3d8:	80 a6 00 02 	cmp  %i0, %g2                                  
 200e3dc:	02 80 00 0a 	be  200e404 <rtems_string_to_unsigned_int+0x70>
 200e3e0:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e3e4:	40 00 0c 4b 	call  2011510 <__errno>                        
 200e3e8:	01 00 00 00 	nop                                            
 200e3ec:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200e3f0:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200e3f4:	02 80 00 06 	be  200e40c <rtems_string_to_unsigned_int+0x78>
 200e3f8:	84 07 7f ff 	add  %i5, -1, %g2                              
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
 200e3fc:	fa 26 40 00 	st  %i5, [ %i1 ]                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200e400:	82 10 20 00 	clr  %g1                                       
}                                                                     
 200e404:	81 c7 e0 08 	ret                                            
 200e408:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e40c:	80 a0 bf fd 	cmp  %g2, -3                                   
 200e410:	18 bf ff fd 	bgu  200e404 <rtems_string_to_unsigned_int+0x70><== ALWAYS TAKEN
 200e414:	82 10 20 0a 	mov  0xa, %g1                                  
    errno = ERANGE;                                                   
    return RTEMS_INVALID_NUMBER;                                      
  }                                                                   
#endif                                                                
                                                                      
  *n = result;                                                        
 200e418:	10 bf ff fa 	b  200e400 <rtems_string_to_unsigned_int+0x6c> <== NOT EXECUTED
 200e41c:	fa 26 40 00 	st  %i5, [ %i1 ]                               <== NOT EXECUTED
                                                                      

02022118 <rtems_string_to_unsigned_long>: const char *s, unsigned long *n, char **endptr, int base ) {
 2022118:	9d e3 bf 98 	save  %sp, -104, %sp                           
  unsigned long result;                                               
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 202211c:	80 a6 60 00 	cmp  %i1, 0                                    
 2022120:	02 80 00 1a 	be  2022188 <rtems_string_to_unsigned_long+0x70>
 2022124:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 2022128:	40 00 99 f8 	call  2048908 <__errno>                        
 202212c:	01 00 00 00 	nop                                            
 2022130:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 2022134:	c0 26 40 00 	clr  [ %i1 ]                                   
                                                                      
  result = strtoul( s, &end, base );                                  
 2022138:	90 10 00 18 	mov  %i0, %o0                                  
 202213c:	92 07 bf fc 	add  %fp, -4, %o1                              
 2022140:	40 00 bc 06 	call  2051158 <strtoul>                        
 2022144:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
 2022148:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoul( s, &end, base );                                  
                                                                      
  if ( endptr )                                                       
 202214c:	80 a6 a0 00 	cmp  %i2, 0                                    
 2022150:	02 80 00 03 	be  202215c <rtems_string_to_unsigned_long+0x44>
 2022154:	ba 10 00 08 	mov  %o0, %i5                                  
    *endptr = end;                                                    
 2022158:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 202215c:	80 a6 00 02 	cmp  %i0, %g2                                  
 2022160:	02 80 00 0a 	be  2022188 <rtems_string_to_unsigned_long+0x70>
 2022164:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 2022168:	40 00 99 e8 	call  2048908 <__errno>                        
 202216c:	01 00 00 00 	nop                                            
 2022170:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 2022174:	80 a0 60 22 	cmp  %g1, 0x22                                 
 2022178:	02 80 00 06 	be  2022190 <rtems_string_to_unsigned_long+0x78>
 202217c:	84 07 7f ff 	add  %i5, -1, %g2                              
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 2022180:	fa 26 40 00 	st  %i5, [ %i1 ]                               
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2022184:	82 10 20 00 	clr  %g1                                       
}                                                                     
 2022188:	81 c7 e0 08 	ret                                            
 202218c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 2022190:	80 a0 bf fd 	cmp  %g2, -3                                   
 2022194:	18 bf ff fd 	bgu  2022188 <rtems_string_to_unsigned_long+0x70><== ALWAYS TAKEN
 2022198:	82 10 20 0a 	mov  0xa, %g1                                  
    (( result == 0 ) || ( result == ULONG_MAX )))                     
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 202219c:	10 bf ff fa 	b  2022184 <rtems_string_to_unsigned_long+0x6c><== NOT EXECUTED
 20221a0:	fa 26 40 00 	st  %i5, [ %i1 ]                               <== NOT EXECUTED
                                                                      

0200e420 <rtems_string_to_unsigned_long_long>: const char *s, unsigned long long *n, char **endptr, int base ) {
 200e420:	9d e3 bf 98 	save  %sp, -104, %sp                           
  unsigned long long result;                                          
  char *end;                                                          
                                                                      
  if ( !n )                                                           
 200e424:	80 a6 60 00 	cmp  %i1, 0                                    
 200e428:	02 80 00 1c 	be  200e498 <rtems_string_to_unsigned_long_long+0x78>
 200e42c:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
 200e430:	40 00 0c 38 	call  2011510 <__errno>                        
 200e434:	01 00 00 00 	nop                                            
 200e438:	c0 22 00 00 	clr  [ %o0 ]                                   
  *n = 0;                                                             
 200e43c:	c0 26 40 00 	clr  [ %i1 ]                                   
 200e440:	c0 26 60 04 	clr  [ %i1 + 4 ]                               
                                                                      
  result = strtoull( s, &end, base );                                 
 200e444:	90 10 00 18 	mov  %i0, %o0                                  
 200e448:	92 07 bf fc 	add  %fp, -4, %o1                              
 200e44c:	40 00 19 3d 	call  2014940 <strtoull>                       
 200e450:	94 10 00 1b 	mov  %i3, %o2                                  
                                                                      
  if ( endptr )                                                       
    *endptr = end;                                                    
 200e454:	c4 07 bf fc 	ld  [ %fp + -4 ], %g2                          
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  errno = 0;                                                          
  *n = 0;                                                             
                                                                      
  result = strtoull( s, &end, base );                                 
 200e458:	b8 10 00 08 	mov  %o0, %i4                                  
                                                                      
  if ( endptr )                                                       
 200e45c:	80 a6 a0 00 	cmp  %i2, 0                                    
 200e460:	02 80 00 03 	be  200e46c <rtems_string_to_unsigned_long_long+0x4c>
 200e464:	ba 10 00 09 	mov  %o1, %i5                                  
    *endptr = end;                                                    
 200e468:	c4 26 80 00 	st  %g2, [ %i2 ]                               
                                                                      
  if ( end == s )                                                     
 200e46c:	80 a6 00 02 	cmp  %i0, %g2                                  
 200e470:	02 80 00 0a 	be  200e498 <rtems_string_to_unsigned_long_long+0x78>
 200e474:	82 10 20 0b 	mov  0xb, %g1                                  
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e478:	40 00 0c 26 	call  2011510 <__errno>                        
 200e47c:	01 00 00 00 	nop                                            
 200e480:	c2 02 00 00 	ld  [ %o0 ], %g1                               
 200e484:	80 a0 60 22 	cmp  %g1, 0x22                                 
 200e488:	02 80 00 06 	be  200e4a0 <rtems_string_to_unsigned_long_long+0x80>
 200e48c:	86 87 7f ff 	addcc  %i5, -1, %g3                            
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200e490:	f8 3e 40 00 	std  %i4, [ %i1 ]                              
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 200e494:	82 10 20 00 	clr  %g1                                       
}                                                                     
 200e498:	81 c7 e0 08 	ret                                            
 200e49c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
 200e4a0:	84 47 3f ff 	addx  %i4, -1, %g2                             
    *endptr = end;                                                    
                                                                      
  if ( end == s )                                                     
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( ( errno == ERANGE ) &&                                         
 200e4a4:	80 a0 bf ff 	cmp  %g2, -1                                   
 200e4a8:	12 bf ff fa 	bne  200e490 <rtems_string_to_unsigned_long_long+0x70><== NEVER TAKEN
 200e4ac:	80 a0 ff fd 	cmp  %g3, -3                                   
 200e4b0:	18 bf ff fa 	bgu  200e498 <rtems_string_to_unsigned_long_long+0x78><== ALWAYS TAKEN
 200e4b4:	82 10 20 0a 	mov  0xa, %g1                                  
    (( result == 0 ) || ( result == ULONG_LONG_MAX )))                
      return RTEMS_INVALID_NUMBER;                                    
                                                                      
  *n = result;                                                        
 200e4b8:	10 bf ff f7 	b  200e494 <rtems_string_to_unsigned_long_long+0x74><== NOT EXECUTED
 200e4bc:	f8 3e 40 00 	std  %i4, [ %i1 ]                              <== NOT EXECUTED
                                                                      

020032c4 <rtems_tarfs_load>: int rtems_tarfs_load( const char *mountpoint, uint8_t *tar_image, size_t tar_size ) {
 20032c4:	9d e3 bd e0 	save  %sp, -544, %sp                           
   IMFS_jnode_t                    *node;                             
   int rv = 0;                                                        
   int eval_flags = RTEMS_FS_FOLLOW_LINK;                             
   rtems_filesystem_eval_path_context_t ctx;                          
   rtems_filesystem_location_info_t rootloc;                          
   rtems_filesystem_location_info_t *currentloc =                     
 20032c8:	94 10 20 18 	mov  0x18, %o2                                 
 20032cc:	92 10 00 18 	mov  %i0, %o1                                  
 20032d0:	40 00 08 69 	call  2005474 <rtems_filesystem_eval_path_start>
 20032d4:	90 07 be 60 	add  %fp, -416, %o0                            
static inline void rtems_filesystem_eval_path_extract_currentloc(     
  rtems_filesystem_eval_path_context_t *ctx,                          
  rtems_filesystem_location_info_t *get                               
)                                                                     
{                                                                     
  rtems_filesystem_location_copy_and_detach(                          
 20032d8:	92 07 be 78 	add  %fp, -392, %o1                            
 20032dc:	aa 10 00 08 	mov  %o0, %l5                                  
 20032e0:	40 00 09 5e 	call  2005858 <rtems_filesystem_location_copy_and_detach>
 20032e4:	90 07 be 48 	add  %fp, -440, %o0                            
     &ctx,                                                            
     RTEMS_FS_MAKE | RTEMS_FS_EXCLUSIVE                               
   );                                                                 
                                                                      
   if (                                                               
     rootloc.mt_entry->ops != &IMFS_ops                               
 20032e8:	c2 07 be 5c 	ld  [ %fp + -420 ], %g1                        
static inline void rtems_filesystem_eval_path_set_flags(              
  rtems_filesystem_eval_path_context_t *ctx,                          
  int flags                                                           
)                                                                     
{                                                                     
  ctx->flags = flags;                                                 
 20032ec:	84 10 20 60 	mov  0x60, %g2                                 
 20032f0:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 20032f4:	c4 27 be 70 	st  %g2, [ %fp + -400 ]                        
   rtems_filesystem_eval_path_set_flags(                              
     &ctx,                                                            
     RTEMS_FS_MAKE | RTEMS_FS_EXCLUSIVE                               
   );                                                                 
                                                                      
   if (                                                               
 20032f8:	05 00 80 83 	sethi  %hi(0x2020c00), %g2                     
 20032fc:	84 10 a0 58 	or  %g2, 0x58, %g2	! 2020c58 <IMFS_ops>        
 2003300:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003304:	02 80 00 06 	be  200331c <rtems_tarfs_load+0x58>            
 2003308:	05 00 80 85 	sethi  %hi(0x2021400), %g2                     
     rootloc.mt_entry->ops != &IMFS_ops                               
       && rootloc.mt_entry->ops != &fifoIMFS_ops                      
 200330c:	84 10 a1 c8 	or  %g2, 0x1c8, %g2	! 20215c8 <fifoIMFS_ops>   
 2003310:	80 a0 40 02 	cmp  %g1, %g2                                  
 2003314:	12 80 00 78 	bne  20034f4 <rtems_tarfs_load+0x230>          <== ALWAYS TAKEN
 2003318:	01 00 00 00 	nop                                            
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while ( rv == 0 ) {                                                
    if (offset + 512 > tar_size)                                      
 200331c:	80 a6 a1 ff 	cmp  %i2, 0x1ff                                
 2003320:	08 80 00 4b 	bleu  200344c <rtems_tarfs_load+0x188>         <== NEVER TAKEN
 2003324:	01 00 00 00 	nop                                            
     * - 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) {                                        
      strcpy(full_filename, mountpoint);                              
 2003328:	ac 07 bf 00 	add  %fp, -256, %l6                            
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
 200332c:	27 00 80 83 	sethi  %hi(0x2020c00), %l3                     
     * - 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) {                                        
      strcpy(full_filename, mountpoint);                              
 2003330:	84 38 00 16 	xnor  %g0, %l6, %g2                            
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while ( rv == 0 ) {                                                
    if (offset + 512 > tar_size)                                      
 2003334:	a2 10 22 00 	mov  0x200, %l1                                
 2003338:	b8 10 22 00 	mov  0x200, %i4                                
 200333c:	ba 10 20 00 	clr  %i5                                       
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
 2003340:	a6 14 e0 e0 	or  %l3, 0xe0, %l3                             
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
 2003344:	a0 07 be 98 	add  %fp, -360, %l0                            
     * - 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) {                                        
      strcpy(full_filename, mountpoint);                              
 2003348:	10 80 00 08 	b  2003368 <rtems_tarfs_load+0xa4>             
 200334c:	c4 27 be 44 	st  %g2, [ %fp + -444 ]                        
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
    }                                                                 
    /*                                                                
     * Create a LINEAR_FILE node                                      
     */                                                               
    else if (linkflag == REGTYPE) {                                   
 2003350:	02 80 00 46 	be  2003468 <rtems_tarfs_load+0x1a4>           
 2003354:	ba 10 00 1c 	mov  %i4, %i5                                  
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while ( rv == 0 ) {                                                
    if (offset + 512 > tar_size)                                      
 2003358:	b8 07 62 00 	add  %i5, 0x200, %i4                           
 200335c:	80 a7 00 1a 	cmp  %i4, %i2                                  
 2003360:	18 80 00 3b 	bgu  200344c <rtems_tarfs_load+0x188>          <== NEVER TAKEN
 2003364:	a2 10 00 1c 	mov  %i4, %l1                                  
      break;                                                          
                                                                      
    /*                                                                
     * Read a header.                                                 
     */                                                               
    hdr_ptr = (char *) &tar_image[offset];                            
 2003368:	ba 06 40 1d 	add  %i1, %i5, %i5                             
    offset += 512;                                                    
    if (strncmp(&hdr_ptr[257], "ustar", 5))                           
 200336c:	92 10 00 13 	mov  %l3, %o1                                  
 2003370:	90 07 61 01 	add  %i5, 0x101, %o0                           
 2003374:	40 00 48 07 	call  2015390 <strncmp>                        
 2003378:	94 10 20 05 	mov  5, %o2                                    
 200337c:	80 a2 20 00 	cmp  %o0, 0                                    
 2003380:	12 80 00 33 	bne  200344c <rtems_tarfs_load+0x188>          
 2003384:	94 10 20 63 	mov  0x63, %o2                                 
      break;                                                          
                                                                      
    strncpy(filename, hdr_ptr, MAX_NAME_FIELD_SIZE);                  
 2003388:	92 10 00 1d 	mov  %i5, %o1                                  
 200338c:	40 00 48 57 	call  20154e8 <strncpy>                        
 2003390:	90 10 00 10 	mov  %l0, %o0                                  
    filename[MAX_NAME_FIELD_SIZE] = '\0';                             
                                                                      
    linkflag   = hdr_ptr[156];                                        
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
 2003394:	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';                             
 2003398:	c0 2f be fb 	clrb  [ %fp + -261 ]                           
                                                                      
    linkflag   = hdr_ptr[156];                                        
 200339c:	f6 0f 60 9c 	ldub  [ %i5 + 0x9c ], %i3                      
    file_mode  = _rtems_octal2ulong(&hdr_ptr[100], 8);                
 20033a0:	40 00 23 91 	call  200c1e4 <_rtems_octal2ulong>             
 20033a4:	90 07 60 64 	add  %i5, 0x64, %o0                            
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
 20033a8:	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);                
 20033ac:	a8 10 00 08 	mov  %o0, %l4                                  
    file_size  = _rtems_octal2ulong(&hdr_ptr[124], 12);               
 20033b0:	40 00 23 8d 	call  200c1e4 <_rtems_octal2ulong>             
 20033b4:	90 07 60 7c 	add  %i5, 0x7c, %o0                            
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
 20033b8:	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);               
 20033bc:	a4 10 00 08 	mov  %o0, %l2                                  
    hdr_chksum = _rtems_octal2ulong(&hdr_ptr[148], 8);                
 20033c0:	40 00 23 89 	call  200c1e4 <_rtems_octal2ulong>             
 20033c4:	90 07 60 94 	add  %i5, 0x94, %o0                            
 20033c8:	ae 10 00 08 	mov  %o0, %l7                                  
                                                                      
    if (_rtems_tar_header_checksum(hdr_ptr) != hdr_chksum)            
 20033cc:	40 00 24 e0 	call  200c74c <_rtems_tar_header_checksum>     
 20033d0:	90 10 00 1d 	mov  %i5, %o0                                  
 20033d4:	80 a2 00 17 	cmp  %o0, %l7                                  
 20033d8:	12 80 00 1d 	bne  200344c <rtems_tarfs_load+0x188>          <== NEVER TAKEN
 20033dc:	01 00 00 00 	nop                                            
     * 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) {                                        
 20033e0:	b6 0e e0 ff 	and  %i3, 0xff, %i3                            
 20033e4:	80 a6 e0 35 	cmp  %i3, 0x35                                 
 20033e8:	12 bf ff da 	bne  2003350 <rtems_tarfs_load+0x8c>           
 20033ec:	80 a6 e0 30 	cmp  %i3, 0x30                                 
      strcpy(full_filename, mountpoint);                              
 20033f0:	90 10 00 16 	mov  %l6, %o0                                  
 20033f4:	40 00 45 83 	call  2014a00 <stpcpy>                         
 20033f8:	92 10 00 18 	mov  %i0, %o1                                  
      if (full_filename[strlen(full_filename)-1] != '/')              
 20033fc:	c4 07 be 44 	ld  [ %fp + -444 ], %g2                        
 2003400:	82 07 80 08 	add  %fp, %o0, %g1                             
 2003404:	82 00 40 02 	add  %g1, %g2, %g1                             
 2003408:	c2 48 7f 00 	ldsb  [ %g1 + -256 ], %g1                      
 200340c:	80 a0 60 2f 	cmp  %g1, 0x2f                                 
 2003410:	02 80 00 04 	be  2003420 <rtems_tarfs_load+0x15c>           <== ALWAYS TAKEN
 2003414:	82 10 20 2f 	mov  0x2f, %g1                                 
        strcat(full_filename, "/");                                   
 2003418:	c0 2a 20 01 	clrb  [ %o0 + 1 ]                              <== NOT EXECUTED
 200341c:	c2 2a 00 00 	stb  %g1, [ %o0 ]                              <== NOT EXECUTED
      strcat(full_filename, filename);                                
 2003420:	92 10 00 10 	mov  %l0, %o1                                  
 2003424:	40 00 45 96 	call  2014a7c <strcat>                         
 2003428:	90 10 00 16 	mov  %l6, %o0                                  
      mkdir(full_filename, S_IRWXU | S_IRWXG | S_IRWXO);              
 200342c:	90 10 00 16 	mov  %l6, %o0                                  
 2003430:	40 00 04 23 	call  20044bc <mkdir>                          
 2003434:	92 10 21 ff 	mov  0x1ff, %o1                                
 2003438:	ba 10 00 1c 	mov  %i4, %i5                                  
   /*                                                                 
    * Create an IMFS node structure pointing to tar image memory.     
    */                                                                
   offset = 0;                                                        
   while ( rv == 0 ) {                                                
    if (offset + 512 > tar_size)                                      
 200343c:	b8 07 62 00 	add  %i5, 0x200, %i4                           
 2003440:	80 a7 00 1a 	cmp  %i4, %i2                                  
 2003444:	08 bf ff c9 	bleu  2003368 <rtems_tarfs_load+0xa4>          <== ALWAYS TAKEN
 2003448:	a2 10 00 1c 	mov  %i4, %l1                                  
      nblocks = (((file_size) + 511) & ~511) / 512;                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
                                                                      
  rtems_filesystem_location_free( &rootloc );                         
 200344c:	40 00 02 5e 	call  2003dc4 <rtems_filesystem_location_free> 
 2003450:	90 07 be 48 	add  %fp, -440, %o0                            
                                                                      
   if (                                                               
     rootloc.mt_entry->ops != &IMFS_ops                               
       && rootloc.mt_entry->ops != &fifoIMFS_ops                      
   ) {                                                                
     rv = -1;                                                         
 2003454:	b0 10 20 00 	clr  %i0                                       
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
                                                                      
  rtems_filesystem_location_free( &rootloc );                         
  rtems_filesystem_eval_path_cleanup( &ctx );                         
 2003458:	40 00 08 47 	call  2005574 <rtems_filesystem_eval_path_cleanup>
 200345c:	90 07 be 60 	add  %fp, -416, %o0                            
 2003460:	81 c7 e0 08 	ret                                            
 2003464:	81 e8 00 00 	restore                                        
    }                                                                 
    /*                                                                
     * Create a LINEAR_FILE node                                      
     */                                                               
    else if (linkflag == REGTYPE) {                                   
      rtems_filesystem_location_free( currentloc );                   
 2003468:	40 00 02 57 	call  2003dc4 <rtems_filesystem_location_free> 
 200346c:	90 10 00 15 	mov  %l5, %o0                                  
      rtems_filesystem_location_clone( currentloc, &rootloc );        
 2003470:	92 07 be 48 	add  %fp, -440, %o1                            
 2003474:	40 00 01 85 	call  2003a88 <rtems_filesystem_location_clone>
 2003478:	90 10 00 15 	mov  %l5, %o0                                  
      rtems_filesystem_eval_path_set_path(                            
 200347c:	40 00 47 93 	call  20152c8 <strlen>                         
 2003480:	90 10 00 10 	mov  %l0, %o0                                  
  rtems_filesystem_eval_path_context_t *ctx,                          
  const char *path,                                                   
  size_t pathlen                                                      
)                                                                     
{                                                                     
  ctx->path = path;                                                   
 2003484:	e0 27 be 60 	st  %l0, [ %fp + -416 ]                        
  ctx->pathlen = pathlen;                                             
 2003488:	d0 27 be 64 	st  %o0, [ %fp + -412 ]                        
        &ctx,                                                         
        filename,                                                     
        strlen( filename )                                            
      );                                                              
      rtems_filesystem_eval_path_continue( &ctx );                    
 200348c:	40 00 07 7d 	call  2005280 <rtems_filesystem_eval_path_continue>
 2003490:	90 07 be 60 	add  %fp, -416, %o0                            
                                                                      
      if ( !rtems_filesystem_location_is_null( currentloc ) ) {       
 2003494:	c2 05 60 10 	ld  [ %l5 + 0x10 ], %g1                        
 2003498:	05 00 80 84 	sethi  %hi(0x2021000), %g2                     
 200349c:	84 10 a3 24 	or  %g2, 0x324, %g2	! 2021324 <rtems_filesystem_null_handlers>
 20034a0:	80 a0 40 02 	cmp  %g1, %g2                                  
 20034a4:	02 80 00 10 	be  20034e4 <rtems_tarfs_load+0x220>           <== NEVER TAKEN
 20034a8:	d4 07 be 68 	ld  [ %fp + -408 ], %o2                        
  size_t namelen,                                                     
  mode_t mode,                                                        
  const IMFS_types_union *info                                        
)                                                                     
{                                                                     
  const IMFS_fs_info_t *fs_info =                                     
 20034ac:	c2 05 60 14 	ld  [ %l5 + 0x14 ], %g1                        
    (const IMFS_fs_info_t *) parentloc->mt_entry->fs_info;            
                                                                      
  return IMFS_create_node_with_control(                               
 20034b0:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 20034b4:	d6 07 be 6c 	ld  [ %fp + -404 ], %o3                        
 20034b8:	d2 00 60 1c 	ld  [ %g1 + 0x1c ], %o1                        
 20034bc:	03 00 00 20 	sethi  %hi(0x8000), %g1                        
        node = IMFS_create_node(                                      
          currentloc,                                                 
          IMFS_LINEAR_FILE,                                           
          rtems_filesystem_eval_path_get_token( &ctx ),               
          rtems_filesystem_eval_path_get_tokenlen( &ctx ),            
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
 20034c0:	98 0d 21 ff 	and  %l4, 0x1ff, %o4                           
 20034c4:	90 10 00 15 	mov  %l5, %o0                                  
 20034c8:	98 13 00 01 	or  %o4, %g1, %o4                              
 20034cc:	40 00 25 5a 	call  200ca34 <IMFS_create_node_with_control>  
 20034d0:	9a 10 20 00 	clr  %o5                                       
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
        node->info.linearfile.direct = &tar_image[offset];            
 20034d4:	82 06 40 11 	add  %i1, %l1, %g1                             
          rtems_filesystem_eval_path_get_token( &ctx ),               
          rtems_filesystem_eval_path_get_tokenlen( &ctx ),            
          (file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,      
          NULL                                                        
        );                                                            
        node->info.linearfile.size   = file_size;                     
 20034d8:	c0 22 20 50 	clr  [ %o0 + 0x50 ]                            
 20034dc:	e4 22 20 54 	st  %l2, [ %o0 + 0x54 ]                        
        node->info.linearfile.direct = &tar_image[offset];            
 20034e0:	c2 22 20 58 	st  %g1, [ %o0 + 0x58 ]                        
      }                                                               
                                                                      
      nblocks = (((file_size) + 511) & ~511) / 512;                   
 20034e4:	ba 04 a1 ff 	add  %l2, 0x1ff, %i5                           
      offset += 512 * nblocks;                                        
 20034e8:	ba 0f 7e 00 	and  %i5, -512, %i5                            
 20034ec:	10 bf ff 9b 	b  2003358 <rtems_tarfs_load+0x94>             
 20034f0:	ba 07 40 11 	add  %i5, %l1, %i5                             
    }                                                                 
  }                                                                   
                                                                      
  rtems_filesystem_location_free( &rootloc );                         
 20034f4:	40 00 02 34 	call  2003dc4 <rtems_filesystem_location_free> 
 20034f8:	90 07 be 48 	add  %fp, -440, %o0                            
                                                                      
   if (                                                               
     rootloc.mt_entry->ops != &IMFS_ops                               
       && rootloc.mt_entry->ops != &fifoIMFS_ops                      
   ) {                                                                
     rv = -1;                                                         
 20034fc:	b0 10 3f ff 	mov  -1, %i0                                   
      offset += 512 * nblocks;                                        
    }                                                                 
  }                                                                   
                                                                      
  rtems_filesystem_location_free( &rootloc );                         
  rtems_filesystem_eval_path_cleanup( &ctx );                         
 2003500:	40 00 08 1d 	call  2005574 <rtems_filesystem_eval_path_cleanup>
 2003504:	90 07 be 60 	add  %fp, -416, %o0                            
 2003508:	81 c7 e0 08 	ret                                            
 200350c:	81 e8 00 00 	restore                                        
                                                                      

020101e4 <rtems_task_mode>: rtems_status_code rtems_task_mode( rtems_mode mode_set, rtems_mode mask, rtems_mode *previous_mode_set ) {
 20101e4:	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 )                                           
 20101e8:	80 a6 a0 00 	cmp  %i2, 0                                    
 20101ec:	02 80 00 3b 	be  20102d8 <rtems_task_mode+0xf4>             
 20101f0:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
 20101f4:	21 00 80 7b 	sethi  %hi(0x201ec00), %l0                     
 20101f8:	a0 14 21 e0 	or  %l0, 0x1e0, %l0	! 201ede0 <_Per_CPU_Information>
 20101fc:	fa 04 20 0c 	ld  [ %l0 + 0xc ], %i5                         
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 2010200:	c4 0f 60 70 	ldub  [ %i5 + 0x70 ], %g2                      
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 2010204:	c2 07 60 78 	ld  [ %i5 + 0x78 ], %g1                        
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 2010208:	80 a0 00 02 	cmp  %g0, %g2                                  
                                                                      
  if ( !previous_mode_set )                                           
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  executing     = _Thread_Executing;                                  
  api = executing->API_Extensions[ THREAD_API_RTEMS ];                
 201020c:	f8 07 61 58 	ld  [ %i5 + 0x158 ], %i4                       
  asr = &api->Signal;                                                 
                                                                      
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
 2010210:	b6 60 3f ff 	subx  %g0, -1, %i3                             
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
 2010214:	80 a0 60 00 	cmp  %g1, 0                                    
 2010218:	12 80 00 40 	bne  2010318 <rtems_task_mode+0x134>           
 201021c:	b7 2e e0 08 	sll  %i3, 8, %i3                               
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
 2010220:	c2 0f 20 08 	ldub  [ %i4 + 8 ], %g1                         
 2010224:	80 a0 00 01 	cmp  %g0, %g1                                  
  old_mode |= _ISR_Get_level();                                       
 2010228:	7f ff ee c3 	call  200bd34 <_CPU_ISR_Get_level>             
 201022c:	a2 60 3f ff 	subx  %g0, -1, %l1                             
  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;           
 2010230:	a3 2c 60 0a 	sll  %l1, 0xa, %l1                             
 2010234:	90 14 40 08 	or  %l1, %o0, %o0                              
  old_mode |= _ISR_Get_level();                                       
 2010238:	b6 12 00 1b 	or  %o0, %i3, %i3                              
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 201023c:	80 8e 61 00 	btst  0x100, %i1                               
 2010240:	02 80 00 06 	be  2010258 <rtems_task_mode+0x74>             
 2010244:	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;           
 2010248:	83 36 20 08 	srl  %i0, 8, %g1                               
 201024c:	82 18 60 01 	xor  %g1, 1, %g1                               
 2010250:	82 08 60 01 	and  %g1, 1, %g1                               
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
 2010254:	c2 2f 60 70 	stb  %g1, [ %i5 + 0x70 ]                       
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
 2010258:	80 8e 62 00 	btst  0x200, %i1                               
 201025c:	12 80 00 21 	bne  20102e0 <rtems_task_mode+0xfc>            
 2010260:	80 8e 22 00 	btst  0x200, %i0                               
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 2010264:	80 8e 60 0f 	btst  0xf, %i1                                 
 2010268:	12 80 00 27 	bne  2010304 <rtems_task_mode+0x120>           
 201026c:	01 00 00 00 	nop                                            
   *  This is specific to the RTEMS API                               
   */                                                                 
  is_asr_enabled = false;                                             
  needs_asr_dispatching = false;                                      
                                                                      
  if ( mask & RTEMS_ASR_MASK ) {                                      
 2010270:	80 8e 64 00 	btst  0x400, %i1                               
 2010274:	02 80 00 14 	be  20102c4 <rtems_task_mode+0xe0>             
 2010278:	86 10 20 00 	clr  %g3                                       
    is_asr_enabled = _Modes_Is_asr_disabled( mode_set ) ? false : true;
    if ( is_asr_enabled != asr->is_enabled ) {                        
 201027c:	c2 0f 20 08 	ldub  [ %i4 + 8 ], %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;
 2010280:	b1 36 20 0a 	srl  %i0, 0xa, %i0                             
 2010284:	b0 1e 20 01 	xor  %i0, 1, %i0                               
 2010288:	b0 0e 20 01 	and  %i0, 1, %i0                               
    if ( is_asr_enabled != asr->is_enabled ) {                        
 201028c:	80 a6 00 01 	cmp  %i0, %g1                                  
 2010290:	22 80 00 0e 	be,a   20102c8 <rtems_task_mode+0xe4>          
 2010294:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
)                                                                     
{                                                                     
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
 2010298:	7f ff c9 33 	call  2002764 <sparc_disable_interrupts>       
 201029c:	f0 2f 20 08 	stb  %i0, [ %i4 + 8 ]                          
    _signals                     = information->signals_pending;      
 20102a0:	c4 07 20 18 	ld  [ %i4 + 0x18 ], %g2                        
    information->signals_pending = information->signals_posted;       
 20102a4:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
    information->signals_posted  = _signals;                          
 20102a8:	c4 27 20 14 	st  %g2, [ %i4 + 0x14 ]                        
  rtems_signal_set _signals;                                          
  ISR_Level        _level;                                            
                                                                      
  _ISR_Disable( _level );                                             
    _signals                     = information->signals_pending;      
    information->signals_pending = information->signals_posted;       
 20102ac:	c2 27 20 18 	st  %g1, [ %i4 + 0x18 ]                        
    information->signals_posted  = _signals;                          
  _ISR_Enable( _level );                                              
 20102b0:	7f ff c9 31 	call  2002774 <sparc_enable_interrupts>        
 20102b4:	01 00 00 00 	nop                                            
      asr->is_enabled = is_asr_enabled;                               
      _ASR_Swap_signals( asr );                                       
      if ( _ASR_Are_signals_pending( asr ) ) {                        
 20102b8:	c2 07 20 14 	ld  [ %i4 + 0x14 ], %g1                        
 20102bc:	80 a0 00 01 	cmp  %g0, %g1                                  
 20102c0:	86 40 20 00 	addx  %g0, 0, %g3                              
        needs_asr_dispatching = true;                                 
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
 20102c4:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 20102c8:	c4 00 61 f0 	ld  [ %g1 + 0x1f0 ], %g2	! 201e9f0 <_System_state_Current>
 20102cc:	80 a0 a0 03 	cmp  %g2, 3                                    
 20102d0:	02 80 00 1f 	be  201034c <rtems_task_mode+0x168>            
 20102d4:	82 10 20 00 	clr  %g1                                       
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 20102d8:	81 c7 e0 08 	ret                                            
 20102dc:	91 e8 00 01 	restore  %g0, %g1, %o0                         
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
 20102e0:	22 bf ff e1 	be,a   2010264 <rtems_task_mode+0x80>          
 20102e4:	c0 27 60 78 	clr  [ %i5 + 0x78 ]                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
 20102e8:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     
 20102ec:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1	! 201e810 <_Thread_Ticks_per_timeslice>
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 20102f0:	80 8e 60 0f 	btst  0xf, %i1                                 
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
      executing->cpu_time_budget  = _Thread_Ticks_per_timeslice;      
 20102f4:	c2 27 60 74 	st  %g1, [ %i5 + 0x74 ]                        
  if ( mask & RTEMS_PREEMPT_MASK )                                    
    executing->is_preemptible = _Modes_Is_preempt(mode_set) ? true : false;
                                                                      
  if ( mask & RTEMS_TIMESLICE_MASK ) {                                
    if ( _Modes_Is_timeslice(mode_set) ) {                            
      executing->budget_algorithm = THREAD_CPU_BUDGET_ALGORITHM_RESET_TIMESLICE;
 20102f8:	82 10 20 01 	mov  1, %g1                                    
  }                                                                   
                                                                      
  /*                                                                  
   *  Set the new interrupt level                                     
   */                                                                 
  if ( mask & RTEMS_INTERRUPT_MASK )                                  
 20102fc:	02 bf ff dd 	be  2010270 <rtems_task_mode+0x8c>             
 2010300:	c2 27 60 78 	st  %g1, [ %i5 + 0x78 ]                        
 */                                                                   
RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (           
  Modes_Control mode_set                                              
)                                                                     
{                                                                     
  return ( mode_set & RTEMS_INTERRUPT_MASK );                         
 2010304:	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 ) );           
 2010308:	7f ff c9 1b 	call  2002774 <sparc_enable_interrupts>        
 201030c:	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 ) {                                      
 2010310:	10 bf ff d9 	b  2010274 <rtems_task_mode+0x90>              
 2010314:	80 8e 64 00 	btst  0x400, %i1                               
  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;           
 2010318:	c2 0f 20 08 	ldub  [ %i4 + 8 ], %g1                         
  old_mode  = (executing->is_preemptible) ? RTEMS_PREEMPT : RTEMS_NO_PREEMPT;
                                                                      
  if ( executing->budget_algorithm == THREAD_CPU_BUDGET_ALGORITHM_NONE )
    old_mode |= RTEMS_NO_TIMESLICE;                                   
  else                                                                
    old_mode |= RTEMS_TIMESLICE;                                      
 201031c:	b6 16 e2 00 	or  %i3, 0x200, %i3                            
                                                                      
  old_mode |= (asr->is_enabled) ? RTEMS_ASR : RTEMS_NO_ASR;           
 2010320:	80 a0 00 01 	cmp  %g0, %g1                                  
  old_mode |= _ISR_Get_level();                                       
 2010324:	7f ff ee 84 	call  200bd34 <_CPU_ISR_Get_level>             
 2010328:	a2 60 3f ff 	subx  %g0, -1, %l1                             
  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;           
 201032c:	a3 2c 60 0a 	sll  %l1, 0xa, %l1                             
 2010330:	90 14 40 08 	or  %l1, %o0, %o0                              
  old_mode |= _ISR_Get_level();                                       
 2010334:	b6 12 00 1b 	or  %o0, %i3, %i3                              
  *previous_mode_set = old_mode;                                      
                                                                      
  /*                                                                  
   *  These are generic thread scheduling characteristics.            
   */                                                                 
  if ( mask & RTEMS_PREEMPT_MASK )                                    
 2010338:	80 8e 61 00 	btst  0x100, %i1                               
 201033c:	02 bf ff c7 	be  2010258 <rtems_task_mode+0x74>             
 2010340:	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;           
 2010344:	10 bf ff c2 	b  201024c <rtems_task_mode+0x68>              
 2010348:	83 36 20 08 	srl  %i0, 8, %g1                               
{                                                                     
  Thread_Control     *executing;                                      
                                                                      
  executing = _Thread_Executing;                                      
                                                                      
  if ( are_signals_pending ||                                         
 201034c:	80 88 e0 ff 	btst  0xff, %g3                                
 2010350:	12 80 00 0a 	bne  2010378 <rtems_task_mode+0x194>           
 2010354:	c4 04 20 0c 	ld  [ %l0 + 0xc ], %g2                         
 2010358:	c6 04 20 10 	ld  [ %l0 + 0x10 ], %g3                        
 201035c:	80 a0 80 03 	cmp  %g2, %g3                                  
 2010360:	02 bf ff de 	be  20102d8 <rtems_task_mode+0xf4>             
 2010364:	01 00 00 00 	nop                                            
       (!_Thread_Is_heir( executing ) && executing->is_preemptible) ) {
 2010368:	c4 08 a0 70 	ldub  [ %g2 + 0x70 ], %g2                      
 201036c:	80 a0 a0 00 	cmp  %g2, 0                                    
 2010370:	02 bf ff da 	be  20102d8 <rtems_task_mode+0xf4>             <== NEVER TAKEN
 2010374:	01 00 00 00 	nop                                            
    _Thread_Dispatch_necessary = true;                                
 2010378:	82 10 20 01 	mov  1, %g1	! 1 <PROM_START+0x1>               
 201037c:	c2 2c 20 18 	stb  %g1, [ %l0 + 0x18 ]                       
    }                                                                 
  }                                                                   
                                                                      
  if ( _System_state_Is_up( _System_state_Get() ) ) {                 
     if (_Thread_Evaluate_is_dispatch_needed( needs_asr_dispatching ) )
      _Thread_Dispatch();                                             
 2010380:	7f ff e8 fd 	call  200a774 <_Thread_Dispatch>               
 2010384:	01 00 00 00 	nop                                            
  }                                                                   
                                                                      
  return RTEMS_SUCCESSFUL;                                            
 2010388:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
}                                                                     
 201038c:	81 c7 e0 08 	ret                                            
 2010390:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0200c84c <rtems_task_set_priority>: rtems_status_code rtems_task_set_priority( rtems_id id, rtems_task_priority new_priority, rtems_task_priority *old_priority ) {
 200c84c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  register Thread_Control *the_thread;                                
  Objects_Locations        location;                                  
                                                                      
  if ( new_priority != RTEMS_CURRENT_PRIORITY &&                      
 200c850:	80 a6 60 00 	cmp  %i1, 0                                    
 200c854:	02 80 00 08 	be  200c874 <rtems_task_set_priority+0x28>     
 200c858:	80 a6 a0 00 	cmp  %i2, 0                                    
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 ) );             
 200c85c:	03 00 80 88 	sethi  %hi(0x2022000), %g1                     
 200c860:	c4 08 63 88 	ldub  [ %g1 + 0x388 ], %g2	! 2022388 <rtems_maximum_priority>
 */                                                                   
RTEMS_INLINE_ROUTINE bool _RTEMS_tasks_Priority_is_valid (            
  rtems_task_priority the_priority                                    
)                                                                     
{                                                                     
  return (  ( the_priority >= RTEMS_MINIMUM_PRIORITY ) &&             
 200c864:	80 a6 40 02 	cmp  %i1, %g2                                  
 200c868:	18 80 00 1e 	bgu  200c8e0 <rtems_task_set_priority+0x94>    
 200c86c:	82 10 20 13 	mov  0x13, %g1                                 
       !_RTEMS_tasks_Priority_is_valid( new_priority ) )              
    return RTEMS_INVALID_PRIORITY;                                    
                                                                      
  if ( !old_priority )                                                
 200c870:	80 a6 a0 00 	cmp  %i2, 0                                    
 200c874:	02 80 00 1b 	be  200c8e0 <rtems_task_set_priority+0x94>     
 200c878:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get( id, &location );                          
 200c87c:	90 10 00 18 	mov  %i0, %o0                                  
 200c880:	40 00 0a 2c 	call  200f130 <_Thread_Get>                    
 200c884:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch ( location ) {                                               
 200c888:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 200c88c:	80 a0 60 00 	cmp  %g1, 0                                    
 200c890:	12 80 00 16 	bne  200c8e8 <rtems_task_set_priority+0x9c>    
 200c894:	82 10 20 04 	mov  4, %g1                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      /* XXX need helper to "convert" from core priority */           
      *old_priority = the_thread->current_priority;                   
 200c898:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
      if ( new_priority != RTEMS_CURRENT_PRIORITY ) {                 
 200c89c:	80 a6 60 00 	cmp  %i1, 0                                    
 200c8a0:	02 80 00 0d 	be  200c8d4 <rtems_task_set_priority+0x88>     
 200c8a4:	c2 26 80 00 	st  %g1, [ %i2 ]                               
        the_thread->real_priority = new_priority;                     
        if ( the_thread->resource_count == 0 ||                       
 200c8a8:	c2 02 20 1c 	ld  [ %o0 + 0x1c ], %g1                        
 200c8ac:	80 a0 60 00 	cmp  %g1, 0                                    
 200c8b0:	02 80 00 06 	be  200c8c8 <rtems_task_set_priority+0x7c>     
 200c8b4:	f2 22 20 18 	st  %i1, [ %o0 + 0x18 ]                        
 200c8b8:	c2 02 20 14 	ld  [ %o0 + 0x14 ], %g1                        
 200c8bc:	80 a6 40 01 	cmp  %i1, %g1                                  
 200c8c0:	1a 80 00 05 	bcc  200c8d4 <rtems_task_set_priority+0x88>    <== ALWAYS TAKEN
 200c8c4:	01 00 00 00 	nop                                            
             the_thread->current_priority > new_priority )            
          _Thread_Change_priority( the_thread, new_priority, false ); 
 200c8c8:	92 10 00 19 	mov  %i1, %o1                                  
 200c8cc:	40 00 08 cb 	call  200ebf8 <_Thread_Change_priority>        
 200c8d0:	94 10 20 00 	clr  %o2                                       
      }                                                               
      _Thread_Enable_dispatch();                                      
 200c8d4:	40 00 0a 0a 	call  200f0fc <_Thread_Enable_dispatch>        
 200c8d8:	01 00 00 00 	nop                                            
      return RTEMS_SUCCESSFUL;                                        
 200c8dc:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 200c8e0:	81 c7 e0 08 	ret                                            
 200c8e4:	91 e8 00 01 	restore  %g0, %g1, %o0                         
 200c8e8:	81 c7 e0 08 	ret                                            
 200c8ec:	91 e8 00 01 	restore  %g0, %g1, %o0                         
                                                                      

0202eee0 <rtems_task_variable_delete>: rtems_status_code rtems_task_variable_delete( rtems_id tid, void **ptr ) {
 202eee0:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp, *prev;                                  
                                                                      
  if ( !ptr )                                                         
 202eee4:	80 a6 60 00 	cmp  %i1, 0                                    
 202eee8:	02 80 00 1e 	be  202ef60 <rtems_task_variable_delete+0x80>  
 202eeec:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  prev = NULL;                                                        
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
 202eef0:	90 10 00 18 	mov  %i0, %o0                                  
 202eef4:	7f ff 88 1f 	call  2010f70 <_Thread_Get>                    
 202eef8:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch (location) {                                                 
 202eefc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 202ef00:	80 a0 60 00 	cmp  %g1, 0                                    
 202ef04:	12 80 00 19 	bne  202ef68 <rtems_task_variable_delete+0x88> 
 202ef08:	82 10 20 04 	mov  4, %g1                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
 202ef0c:	c2 02 21 64 	ld  [ %o0 + 0x164 ], %g1                       
      while (tvp) {                                                   
 202ef10:	80 a0 60 00 	cmp  %g1, 0                                    
 202ef14:	02 80 00 10 	be  202ef54 <rtems_task_variable_delete+0x74>  
 202ef18:	01 00 00 00 	nop                                            
        if (tvp->ptr == ptr) {                                        
 202ef1c:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 202ef20:	80 a0 80 19 	cmp  %g2, %i1                                  
 202ef24:	32 80 00 09 	bne,a   202ef48 <rtems_task_variable_delete+0x68>
 202ef28:	d2 00 40 00 	ld  [ %g1 ], %o1                               
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
 202ef2c:	10 80 00 18 	b  202ef8c <rtems_task_variable_delete+0xac>   
 202ef30:	c4 00 40 00 	ld  [ %g1 ], %g2                               
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
 202ef34:	80 a0 80 19 	cmp  %g2, %i1                                  
 202ef38:	22 80 00 0e 	be,a   202ef70 <rtems_task_variable_delete+0x90>
 202ef3c:	c4 02 40 00 	ld  [ %o1 ], %g2                               
 202ef40:	82 10 00 09 	mov  %o1, %g1                                  
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
 202ef44:	d2 00 40 00 	ld  [ %g1 ], %o1                               
  the_thread = _Thread_Get (tid, &location);                          
  switch (location) {                                                 
                                                                      
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
 202ef48:	80 a2 60 00 	cmp  %o1, 0                                    
 202ef4c:	32 bf ff fa 	bne,a   202ef34 <rtems_task_variable_delete+0x54><== ALWAYS TAKEN
 202ef50:	c4 02 60 04 	ld  [ %o1 + 4 ], %g2                           
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        prev = tvp;                                                   
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
 202ef54:	7f ff 87 fa 	call  2010f3c <_Thread_Enable_dispatch>        
 202ef58:	01 00 00 00 	nop                                            
      return RTEMS_INVALID_ADDRESS;                                   
 202ef5c:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
    case OBJECTS_ERROR:                                               
        break;                                                        
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 202ef60:	81 c7 e0 08 	ret                                            
 202ef64:	91 e8 00 01 	restore  %g0, %g1, %o0                         
 202ef68:	81 c7 e0 08 	ret                                            
 202ef6c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    case OBJECTS_LOCAL:                                               
      tvp = the_thread->task_variables;                               
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
 202ef70:	c4 20 40 00 	st  %g2, [ %g1 ]                               
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
                                                                      
          _RTEMS_Tasks_Invoke_task_variable_dtor( the_thread, tvp );  
 202ef74:	40 00 00 2e 	call  202f02c <_RTEMS_Tasks_Invoke_task_variable_dtor>
 202ef78:	01 00 00 00 	nop                                            
          _Thread_Enable_dispatch();                                  
 202ef7c:	7f ff 87 f0 	call  2010f3c <_Thread_Enable_dispatch>        
 202ef80:	01 00 00 00 	nop                                            
          return RTEMS_SUCCESSFUL;                                    
 202ef84:	10 bf ff f7 	b  202ef60 <rtems_task_variable_delete+0x80>   
 202ef88:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
      while (tvp) {                                                   
        if (tvp->ptr == ptr) {                                        
          if (prev)                                                   
            prev->next = tvp->next;                                   
          else                                                        
            the_thread->task_variables = (rtems_task_variable_t *)tvp->next;
 202ef8c:	92 10 00 01 	mov  %g1, %o1                                  
 202ef90:	10 bf ff f9 	b  202ef74 <rtems_task_variable_delete+0x94>   
 202ef94:	c4 22 21 64 	st  %g2, [ %o0 + 0x164 ]                       
                                                                      

0202ef98 <rtems_task_variable_get>: rtems_status_code rtems_task_variable_get( rtems_id tid, void **ptr, void **result ) {
 202ef98:	9d e3 bf 98 	save  %sp, -104, %sp                           
  Thread_Control        *the_thread;                                  
  Objects_Locations      location;                                    
  rtems_task_variable_t *tvp;                                         
                                                                      
  if ( !ptr )                                                         
 202ef9c:	80 a6 60 00 	cmp  %i1, 0                                    
 202efa0:	02 80 00 1b 	be  202f00c <rtems_task_variable_get+0x74>     
 202efa4:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !result )                                                      
 202efa8:	80 a6 a0 00 	cmp  %i2, 0                                    
 202efac:	02 80 00 18 	be  202f00c <rtems_task_variable_get+0x74>     
 202efb0:	90 10 00 18 	mov  %i0, %o0                                  
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  the_thread = _Thread_Get (tid, &location);                          
 202efb4:	7f ff 87 ef 	call  2010f70 <_Thread_Get>                    
 202efb8:	92 07 bf fc 	add  %fp, -4, %o1                              
  switch (location) {                                                 
 202efbc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 202efc0:	80 a0 60 00 	cmp  %g1, 0                                    
 202efc4:	12 80 00 14 	bne  202f014 <rtems_task_variable_get+0x7c>    
 202efc8:	82 10 20 04 	mov  4, %g1                                    
                                                                      
    case OBJECTS_LOCAL:                                               
      /*                                                              
       *  Figure out if the variable is in this task's list.          
       */                                                             
      tvp = the_thread->task_variables;                               
 202efcc:	c2 02 21 64 	ld  [ %o0 + 0x164 ], %g1                       
      while (tvp) {                                                   
 202efd0:	80 a0 60 00 	cmp  %g1, 0                                    
 202efd4:	32 80 00 07 	bne,a   202eff0 <rtems_task_variable_get+0x58> 
 202efd8:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 202efdc:	30 80 00 10 	b,a   202f01c <rtems_task_variable_get+0x84>   
 202efe0:	80 a0 60 00 	cmp  %g1, 0                                    
 202efe4:	02 80 00 0e 	be  202f01c <rtems_task_variable_get+0x84>     <== NEVER TAKEN
 202efe8:	01 00 00 00 	nop                                            
        if (tvp->ptr == ptr) {                                        
 202efec:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 202eff0:	80 a0 80 19 	cmp  %g2, %i1                                  
 202eff4:	32 bf ff fb 	bne,a   202efe0 <rtems_task_variable_get+0x48> 
 202eff8:	c2 00 40 00 	ld  [ %g1 ], %g1                               
	  /*                                                                 
	   * Should this return the current (i.e not the                     
	   * saved) value if `tid' is the current task?                      
	   */                                                                
          *result = tvp->tval;                                        
 202effc:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
          _Thread_Enable_dispatch();                                  
 202f000:	7f ff 87 cf 	call  2010f3c <_Thread_Enable_dispatch>        
 202f004:	c2 26 80 00 	st  %g1, [ %i2 ]                               
          return RTEMS_SUCCESSFUL;                                    
 202f008:	82 10 20 00 	clr  %g1                                       
                                                                      
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
  return RTEMS_INVALID_ID;                                            
}                                                                     
 202f00c:	81 c7 e0 08 	ret                                            
 202f010:	91 e8 00 01 	restore  %g0, %g1, %o0                         
 202f014:	81 c7 e0 08 	ret                                            
 202f018:	91 e8 00 01 	restore  %g0, %g1, %o0                         
          _Thread_Enable_dispatch();                                  
          return RTEMS_SUCCESSFUL;                                    
        }                                                             
        tvp = (rtems_task_variable_t *)tvp->next;                     
      }                                                               
      _Thread_Enable_dispatch();                                      
 202f01c:	7f ff 87 c8 	call  2010f3c <_Thread_Enable_dispatch>        
 202f020:	01 00 00 00 	nop                                            
      return RTEMS_INVALID_ADDRESS;                                   
 202f024:	10 bf ff fa 	b  202f00c <rtems_task_variable_get+0x74>      
 202f028:	82 10 20 09 	mov  9, %g1	! 9 <PROM_START+0x9>               
                                                                      

02006738 <rtems_termios_baud_to_index>: rtems_termios_baud_t termios_baud ) { int baud_index; switch (termios_baud) {
 2006738:	80 a2 20 09 	cmp  %o0, 9                                    
 200673c:	02 80 00 1c 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 2006740:	82 10 20 09 	mov  9, %g1                                    
 2006744:	80 a2 20 09 	cmp  %o0, 9                                    
 2006748:	08 80 00 1b 	bleu  20067b4 <rtems_termios_baud_to_index+0x7c>
 200674c:	80 a2 20 04 	cmp  %o0, 4                                    
 2006750:	80 a2 20 0e 	cmp  %o0, 0xe                                  
 2006754:	02 80 00 16 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 2006758:	82 10 20 0e 	mov  0xe, %g1                                  
 200675c:	80 a2 20 0e 	cmp  %o0, 0xe                                  
 2006760:	08 80 00 28 	bleu  2006800 <rtems_termios_baud_to_index+0xc8>
 2006764:	80 a2 20 0b 	cmp  %o0, 0xb                                  
 2006768:	05 00 00 04 	sethi  %hi(0x1000), %g2                        
 200676c:	86 10 a0 02 	or  %g2, 2, %g3	! 1002 <PROM_START+0x1002>     
 2006770:	80 a2 00 03 	cmp  %o0, %g3                                  
 2006774:	02 80 00 0e 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 2006778:	82 10 20 11 	mov  0x11, %g1                                 
 200677c:	80 a2 00 03 	cmp  %o0, %g3                                  
 2006780:	08 80 00 3a 	bleu  2006868 <rtems_termios_baud_to_index+0x130>
 2006784:	80 a2 20 0f 	cmp  %o0, 0xf                                  
 2006788:	86 10 a0 03 	or  %g2, 3, %g3                                
 200678c:	80 a2 00 03 	cmp  %o0, %g3                                  
 2006790:	02 80 00 07 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 2006794:	82 10 20 12 	mov  0x12, %g1                                 
 2006798:	84 10 a0 04 	or  %g2, 4, %g2                                
 200679c:	80 a2 00 02 	cmp  %o0, %g2                                  
 20067a0:	02 80 00 03 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 20067a4:	82 10 20 13 	mov  0x13, %g1                                 
    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;                          
 20067a8:	82 10 3f ff 	mov  -1, %g1                                   
  }                                                                   
                                                                      
  return baud_index;                                                  
}                                                                     
 20067ac:	81 c3 e0 08 	retl                                           
 20067b0:	90 10 00 01 	mov  %g1, %o0                                  
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 20067b4:	02 bf ff fe 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 20067b8:	82 10 20 04 	mov  4, %g1                                    
 20067bc:	80 a2 20 04 	cmp  %o0, 4                                    
 20067c0:	08 80 00 1d 	bleu  2006834 <rtems_termios_baud_to_index+0xfc>
 20067c4:	80 a2 20 01 	cmp  %o0, 1                                    
 20067c8:	80 a2 20 06 	cmp  %o0, 6                                    
 20067cc:	02 bf ff f8 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 20067d0:	82 10 20 06 	mov  6, %g1                                    
 20067d4:	80 a2 20 06 	cmp  %o0, 6                                    
 20067d8:	0a bf ff f5 	bcs  20067ac <rtems_termios_baud_to_index+0x74>
 20067dc:	82 10 20 05 	mov  5, %g1                                    
 20067e0:	80 a2 20 07 	cmp  %o0, 7                                    
 20067e4:	02 bf ff f2 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 20067e8:	82 10 20 07 	mov  7, %g1                                    
 20067ec:	80 a2 20 08 	cmp  %o0, 8                                    
 20067f0:	02 bf ff ef 	be  20067ac <rtems_termios_baud_to_index+0x74> <== ALWAYS TAKEN
 20067f4:	82 10 20 08 	mov  8, %g1                                    
    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;                          
 20067f8:	10 bf ff ed 	b  20067ac <rtems_termios_baud_to_index+0x74>  <== NOT EXECUTED
 20067fc:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 2006800:	02 bf ff eb 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 2006804:	82 10 20 0b 	mov  0xb, %g1                                  
 2006808:	80 a2 20 0b 	cmp  %o0, 0xb                                  
 200680c:	0a bf ff e8 	bcs  20067ac <rtems_termios_baud_to_index+0x74>
 2006810:	82 10 20 0a 	mov  0xa, %g1                                  
 2006814:	80 a2 20 0c 	cmp  %o0, 0xc                                  
 2006818:	02 bf ff e5 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 200681c:	82 10 20 0c 	mov  0xc, %g1                                  
 2006820:	80 a2 20 0d 	cmp  %o0, 0xd                                  
 2006824:	02 bf ff e2 	be  20067ac <rtems_termios_baud_to_index+0x74> <== ALWAYS TAKEN
 2006828:	82 10 20 0d 	mov  0xd, %g1                                  
    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;                          
 200682c:	10 bf ff e0 	b  20067ac <rtems_termios_baud_to_index+0x74>  <== NOT EXECUTED
 2006830:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 2006834:	02 bf ff de 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 2006838:	82 10 20 01 	mov  1, %g1                                    
 200683c:	80 a2 20 01 	cmp  %o0, 1                                    
 2006840:	0a bf ff db 	bcs  20067ac <rtems_termios_baud_to_index+0x74>
 2006844:	82 10 20 00 	clr  %g1                                       
 2006848:	80 a2 20 02 	cmp  %o0, 2                                    
 200684c:	02 bf ff d8 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 2006850:	82 10 20 02 	mov  2, %g1                                    
 2006854:	80 a2 20 03 	cmp  %o0, 3                                    
 2006858:	02 bf ff d5 	be  20067ac <rtems_termios_baud_to_index+0x74> <== ALWAYS TAKEN
 200685c:	82 10 20 03 	mov  3, %g1                                    
    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;                          
 2006860:	10 bf ff d3 	b  20067ac <rtems_termios_baud_to_index+0x74>  <== NOT EXECUTED
 2006864:	82 10 3f ff 	mov  -1, %g1                                   <== NOT EXECUTED
  rtems_termios_baud_t termios_baud                                   
)                                                                     
{                                                                     
  int baud_index;                                                     
                                                                      
  switch (termios_baud) {                                             
 2006868:	02 bf ff d1 	be  20067ac <rtems_termios_baud_to_index+0x74> 
 200686c:	82 10 20 0f 	mov  0xf, %g1                                  
 2006870:	84 10 a0 01 	or  %g2, 1, %g2                                
 2006874:	80 a2 00 02 	cmp  %o0, %g2                                  
 2006878:	12 bf ff cc 	bne  20067a8 <rtems_termios_baud_to_index+0x70><== NEVER TAKEN
 200687c:	82 10 20 10 	mov  0x10, %g1                                 
 2006880:	30 bf ff cb 	b,a   20067ac <rtems_termios_baud_to_index+0x74>
                                                                      

02005abc <rtems_termios_close>: } } rtems_status_code rtems_termios_close (void *arg) {
 2005abc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
 2005ac0:	39 00 80 79 	sethi  %hi(0x201e400), %i4                     
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2005ac4:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
 2005ac8:	d0 07 23 60 	ld  [ %i4 + 0x360 ], %o0                       
                                                                      
rtems_status_code                                                     
rtems_termios_close (void *arg)                                       
{                                                                     
  rtems_libio_open_close_args_t *args = arg;                          
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2005acc:	fa 00 60 30 	ld  [ %g1 + 0x30 ], %i5                        
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain(                                        
 2005ad0:	92 10 20 00 	clr  %o1                                       
 2005ad4:	40 00 08 b3 	call  2007da0 <rtems_semaphore_obtain>         
 2005ad8:	94 10 20 00 	clr  %o2                                       
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
 2005adc:	80 a2 20 00 	cmp  %o0, 0                                    
 2005ae0:	12 80 00 6e 	bne  2005c98 <rtems_termios_close+0x1dc>       <== NEVER TAKEN
 2005ae4:	01 00 00 00 	nop                                            
    rtems_fatal_error_occurred (sc);                                  
  if (--tty->refcount == 0) {                                         
 2005ae8:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
 2005aec:	82 00 7f ff 	add  %g1, -1, %g1                              
 2005af0:	80 a0 60 00 	cmp  %g1, 0                                    
 2005af4:	12 80 00 39 	bne  2005bd8 <rtems_termios_close+0x11c>       
 2005af8:	c2 27 60 08 	st  %g1, [ %i5 + 8 ]                           
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
 2005afc:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
 2005b00:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2005b04:	85 28 a0 05 	sll  %g2, 5, %g2                               
 2005b08:	82 10 63 ac 	or  %g1, 0x3ac, %g1                            
 2005b0c:	82 00 40 02 	add  %g1, %g2, %g1                             
 2005b10:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2005b14:	80 a0 60 00 	cmp  %g1, 0                                    
 2005b18:	22 80 00 42 	be,a   2005c20 <rtems_termios_close+0x164>     
 2005b1c:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
      /*                                                              
       * call discipline-specific close                               
       */                                                             
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
 2005b20:	9f c0 40 00 	call  %g1                                      
 2005b24:	90 10 00 1d 	mov  %i5, %o0                                  
      }                                                               
      drainOutput (tty);                                              
      rtems_semaphore_release (tty->osem);                            
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
 2005b28:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 2005b2c:	80 a0 60 02 	cmp  %g1, 2                                    
 2005b30:	22 80 00 4f 	be,a   2005c6c <rtems_termios_close+0x1b0>     <== NEVER TAKEN
 2005b34:	d0 07 60 c4 	ld  [ %i5 + 0xc4 ], %o0                        <== NOT EXECUTED
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
 2005b38:	c2 07 60 9c 	ld  [ %i5 + 0x9c ], %g1                        
 2005b3c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005b40:	22 80 00 07 	be,a   2005b5c <rtems_termios_close+0xa0>      <== ALWAYS TAKEN
 2005b44:	c2 07 40 00 	ld  [ %i5 ], %g1                               
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
 2005b48:	d0 07 60 0c 	ld  [ %i5 + 0xc ], %o0                         <== NOT EXECUTED
 2005b4c:	d2 07 60 10 	ld  [ %i5 + 0x10 ], %o1                        <== NOT EXECUTED
 2005b50:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2005b54:	94 10 00 18 	mov  %i0, %o2                                  <== NOT EXECUTED
    if (tty->forw == NULL) {                                          
 2005b58:	c2 07 40 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
 2005b5c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005b60:	02 80 00 29 	be  2005c04 <rtems_termios_close+0x148>        
 2005b64:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
      rtems_termios_ttyTail = tty->back;                              
      if ( rtems_termios_ttyTail != NULL ) {                          
        rtems_termios_ttyTail->forw = NULL;                           
      }                                                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
 2005b68:	c4 20 60 04 	st  %g2, [ %g1 + 4 ]                           
 2005b6c:	c4 07 60 04 	ld  [ %i5 + 4 ], %g2                           
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
 2005b70:	80 a0 a0 00 	cmp  %g2, 0                                    
 2005b74:	22 80 00 21 	be,a   2005bf8 <rtems_termios_close+0x13c>     <== ALWAYS TAKEN
 2005b78:	05 00 80 79 	sethi  %hi(0x201e400), %g2                     
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
      }                                                               
    } else {                                                          
      tty->back->forw = tty->forw;                                    
 2005b7c:	c2 20 80 00 	st  %g1, [ %g2 ]                               <== NOT EXECUTED
    }                                                                 
                                                                      
    rtems_semaphore_delete (tty->isem);                               
 2005b80:	40 00 08 51 	call  2007cc4 <rtems_semaphore_delete>         
 2005b84:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
    rtems_semaphore_delete (tty->osem);                               
 2005b88:	40 00 08 4f 	call  2007cc4 <rtems_semaphore_delete>         
 2005b8c:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
 2005b90:	40 00 08 4d 	call  2007cc4 <rtems_semaphore_delete>         
 2005b94:	d0 07 60 8c 	ld  [ %i5 + 0x8c ], %o0                        
    if ((tty->device.pollRead == NULL) ||                             
 2005b98:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
 2005b9c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005ba0:	02 80 00 13 	be  2005bec <rtems_termios_close+0x130>        
 2005ba4:	01 00 00 00 	nop                                            
 2005ba8:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 2005bac:	80 a0 60 02 	cmp  %g1, 2                                    
 2005bb0:	02 80 00 0f 	be  2005bec <rtems_termios_close+0x130>        
 2005bb4:	01 00 00 00 	nop                                            
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
    free (tty->rawInBuf.theBuf);                                      
 2005bb8:	7f ff f7 4b 	call  20038e4 <free>                           
 2005bbc:	d0 07 60 58 	ld  [ %i5 + 0x58 ], %o0                        
    free (tty->rawOutBuf.theBuf);                                     
 2005bc0:	7f ff f7 49 	call  20038e4 <free>                           
 2005bc4:	d0 07 60 7c 	ld  [ %i5 + 0x7c ], %o0                        
    free (tty->cbuf);                                                 
 2005bc8:	7f ff f7 47 	call  20038e4 <free>                           
 2005bcc:	d0 07 60 1c 	ld  [ %i5 + 0x1c ], %o0                        
    free (tty);                                                       
 2005bd0:	7f ff f7 45 	call  20038e4 <free>                           
 2005bd4:	90 10 00 1d 	mov  %i5, %o0                                  
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
 2005bd8:	d0 07 23 60 	ld  [ %i4 + 0x360 ], %o0                       
 2005bdc:	40 00 08 c1 	call  2007ee0 <rtems_semaphore_release>        
 2005be0:	b0 10 20 00 	clr  %i0                                       
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 2005be4:	81 c7 e0 08 	ret                                            
 2005be8:	81 e8 00 00 	restore                                        
    rtems_semaphore_delete (tty->isem);                               
    rtems_semaphore_delete (tty->osem);                               
    rtems_semaphore_delete (tty->rawOutBuf.Semaphore);                
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN))    
      rtems_semaphore_delete (tty->rawInBuf.Semaphore);               
 2005bec:	40 00 08 36 	call  2007cc4 <rtems_semaphore_delete>         
 2005bf0:	d0 07 60 68 	ld  [ %i5 + 0x68 ], %o0                        
 2005bf4:	30 bf ff f1 	b,a   2005bb8 <rtems_termios_close+0xfc>       
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
      if ( rtems_termios_ttyHead != NULL ) {                          
        rtems_termios_ttyHead->back = NULL;                           
 2005bf8:	c0 20 60 04 	clr  [ %g1 + 4 ]                               
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
 2005bfc:	10 bf ff e1 	b  2005b80 <rtems_termios_close+0xc4>          
 2005c00:	c2 20 a3 68 	st  %g1, [ %g2 + 0x368 ]                       
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
    if (tty->device.lastClose)                                        
       (*tty->device.lastClose)(tty->major, tty->minor, arg);         
    if (tty->forw == NULL) {                                          
      rtems_termios_ttyTail = tty->back;                              
 2005c04:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
      if ( rtems_termios_ttyTail != NULL ) {                          
 2005c08:	80 a0 a0 00 	cmp  %g2, 0                                    
 2005c0c:	02 80 00 25 	be  2005ca0 <rtems_termios_close+0x1e4>        <== ALWAYS TAKEN
 2005c10:	c4 20 63 64 	st  %g2, [ %g1 + 0x364 ]                       
        rtems_termios_ttyTail->forw = NULL;                           
 2005c14:	c0 20 80 00 	clr  [ %g2 ]                                   <== NOT EXECUTED
 2005c18:	10 bf ff d9 	b  2005b7c <rtems_termios_close+0xc0>          <== NOT EXECUTED
 2005c1c:	c2 07 40 00 	ld  [ %i5 ], %g1                               <== NOT EXECUTED
      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);
 2005c20:	92 10 20 00 	clr  %o1                                       
 2005c24:	40 00 08 5f 	call  2007da0 <rtems_semaphore_obtain>         
 2005c28:	94 10 20 00 	clr  %o2                                       
      if (sc != RTEMS_SUCCESSFUL) {                                   
 2005c2c:	80 a2 20 00 	cmp  %o0, 0                                    
 2005c30:	12 80 00 1a 	bne  2005c98 <rtems_termios_close+0x1dc>       <== NEVER TAKEN
 2005c34:	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) {           
 2005c38:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 2005c3c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005c40:	02 80 00 04 	be  2005c50 <rtems_termios_close+0x194>        
 2005c44:	01 00 00 00 	nop                                            
 2005c48:	7f ff fe 72 	call  2005610 <drainOutput.part.0>             
 2005c4c:	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);                            
 2005c50:	40 00 08 a4 	call  2007ee0 <rtems_semaphore_release>        
 2005c54:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
    }                                                                 
                                                                      
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
 2005c58:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 2005c5c:	80 a0 60 02 	cmp  %g1, 2                                    
 2005c60:	32 bf ff b7 	bne,a   2005b3c <rtems_termios_close+0x80>     
 2005c64:	c2 07 60 9c 	ld  [ %i5 + 0x9c ], %g1                        
      /*                                                              
       * send "terminate" to I/O tasks                                
       */                                                             
      sc = rtems_event_send( tty->rxTaskId, TERMIOS_RX_TERMINATE_EVENT );
 2005c68:	d0 07 60 c4 	ld  [ %i5 + 0xc4 ], %o0                        
 2005c6c:	40 00 07 0a 	call  2007894 <rtems_event_send>               
 2005c70:	92 10 20 01 	mov  1, %o1                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
 2005c74:	80 a2 20 00 	cmp  %o0, 0                                    
 2005c78:	12 80 00 08 	bne  2005c98 <rtems_termios_close+0x1dc>       <== NEVER TAKEN
 2005c7c:	01 00 00 00 	nop                                            
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_event_send( tty->txTaskId, TERMIOS_TX_TERMINATE_EVENT );
 2005c80:	d0 07 60 c8 	ld  [ %i5 + 0xc8 ], %o0                        
 2005c84:	40 00 07 04 	call  2007894 <rtems_event_send>               
 2005c88:	92 10 20 01 	mov  1, %o1                                    
      if (sc != RTEMS_SUCCESSFUL)                                     
 2005c8c:	80 a2 20 00 	cmp  %o0, 0                                    
 2005c90:	22 bf ff ab 	be,a   2005b3c <rtems_termios_close+0x80>      <== ALWAYS TAKEN
 2005c94:	c2 07 60 9c 	ld  [ %i5 + 0x9c ], %g1                        
        rtems_fatal_error_occurred (sc);                              
 2005c98:	40 00 0a 0f 	call  20084d4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2005c9c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    } else {                                                          
      tty->forw->back = tty->back;                                    
    }                                                                 
                                                                      
    if (tty->back == NULL) {                                          
      rtems_termios_ttyHead = tty->forw;                              
 2005ca0:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 2005ca4:	10 bf ff b7 	b  2005b80 <rtems_termios_close+0xc4>          
 2005ca8:	c0 20 63 68 	clr  [ %g1 + 0x368 ]	! 201e768 <rtems_termios_ttyHead>
                                                                      

0200710c <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) {
 200710c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
 2007110:	c4 06 20 90 	ld  [ %i0 + 0x90 ], %g2                        
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
 2007114:	c2 06 20 b4 	ld  [ %i0 + 0xb4 ], %g1                        
  rtems_status_code sc;                                               
                                                                      
  /*                                                                  
   * sum up character count already sent                              
   */                                                                 
  tty->t_dqlen += len;                                                
 2007118:	b2 00 80 19 	add  %g2, %i1, %i1                             
 200711c:	f2 26 20 90 	st  %i1, [ %i0 + 0x90 ]                        
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
 2007120:	80 a0 60 02 	cmp  %g1, 2                                    
 2007124:	02 80 00 10 	be  2007164 <rtems_termios_dequeue_characters+0x58>
 2007128:	90 10 00 18 	mov  %i0, %o0                                  
    if (sc != RTEMS_SUCCESSFUL)                                       
      rtems_fatal_error_occurred (sc);                                
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
 200712c:	c2 06 20 cc 	ld  [ %i0 + 0xcc ], %g1                        
 2007130:	80 a0 60 05 	cmp  %g1, 5                                    
 2007134:	02 80 00 04 	be  2007144 <rtems_termios_dequeue_characters+0x38>
 2007138:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
 200713c:	7f ff f8 99 	call  20053a0 <rtems_termios_refill_transmitter>
 2007140:	81 e8 00 00 	restore                                        
                                                                      
  if (tty->t_line == PPPDISC ) {                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
 2007144:	c2 00 60 60 	ld  [ %g1 + 0x60 ], %g1                        
 2007148:	80 a0 60 00 	cmp  %g1, 0                                    
 200714c:	02 80 00 04 	be  200715c <rtems_termios_dequeue_characters+0x50><== NEVER TAKEN
 2007150:	01 00 00 00 	nop                                            
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
 2007154:	9f c0 40 00 	call  %g1                                      
 2007158:	01 00 00 00 	nop                                            
    }                                                                 
    return 0; /* nothing to output in IRQ... */                       
  }                                                                   
                                                                      
  return rtems_termios_refill_transmitter(tty);                       
}                                                                     
 200715c:	81 c7 e0 08 	ret                                            
 2007160:	91 e8 20 00 	restore  %g0, 0, %o0                           
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {      
    /*                                                                
     * send wake up to transmitter task                               
     */                                                               
    sc = rtems_event_send(tty->txTaskId, TERMIOS_TX_START_EVENT);     
 2007164:	d0 06 20 c8 	ld  [ %i0 + 0xc8 ], %o0                        
 2007168:	40 00 01 cb 	call  2007894 <rtems_event_send>               
 200716c:	92 10 20 02 	mov  2, %o1                                    
    if (sc != RTEMS_SUCCESSFUL)                                       
 2007170:	80 a2 20 00 	cmp  %o0, 0                                    
 2007174:	02 bf ff fa 	be  200715c <rtems_termios_dequeue_characters+0x50><== ALWAYS TAKEN
 2007178:	01 00 00 00 	nop                                            
      rtems_fatal_error_occurred (sc);                                
 200717c:	40 00 04 d6 	call  20084d4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      

02006d64 <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) {
 2006d64:	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) {             
 2006d68:	c2 06 20 cc 	ld  [ %i0 + 0xcc ], %g1                        
 2006d6c:	37 00 80 78 	sethi  %hi(0x201e000), %i3                     
 2006d70:	83 28 60 05 	sll  %g1, 5, %g1                               
 2006d74:	b6 16 e3 ac 	or  %i3, 0x3ac, %i3                            
 2006d78:	82 06 c0 01 	add  %i3, %g1, %g1                             
 2006d7c:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 2006d80:	80 a0 60 00 	cmp  %g1, 0                                    
 2006d84:	02 80 00 23 	be  2006e10 <rtems_termios_enqueue_raw_characters+0xac>
 2006d88:	b8 10 00 18 	mov  %i0, %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)
 2006d8c:	b0 06 bf ff 	add  %i2, -1, %i0                              
  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--) {                                                   
 2006d90:	80 a6 a0 00 	cmp  %i2, 0                                    
 2006d94:	12 80 00 08 	bne  2006db4 <rtems_termios_enqueue_raw_characters+0x50><== ALWAYS TAKEN
 2006d98:	ba 10 20 00 	clr  %i5                                       
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
 2006d9c:	10 80 00 0d 	b  2006dd0 <rtems_termios_enqueue_raw_characters+0x6c><== NOT EXECUTED
 2006da0:	c2 07 20 e4 	ld  [ %i4 + 0xe4 ], %g1                        <== NOT EXECUTED
 2006da4:	ba 07 60 01 	inc  %i5                                       
 2006da8:	83 28 60 05 	sll  %g1, 5, %g1                               
 2006dac:	82 06 c0 01 	add  %i3, %g1, %g1                             
 2006db0:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
  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);                
 2006db4:	d0 4e 40 1d 	ldsb  [ %i1 + %i5 ], %o0                       
 2006db8:	9f c0 40 00 	call  %g1                                      
 2006dbc:	92 10 00 1c 	mov  %i4, %o1                                  
  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--) {                                                   
 2006dc0:	80 a7 40 18 	cmp  %i5, %i0                                  
 2006dc4:	32 bf ff f8 	bne,a   2006da4 <rtems_termios_enqueue_raw_characters+0x40>
 2006dc8:	c2 07 20 cc 	ld  [ %i4 + 0xcc ], %g1                        
    }                                                                 
                                                                      
    /*                                                                
     * check to see if rcv wakeup callback was set                    
     */                                                               
    if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) { 
 2006dcc:	c2 07 20 e4 	ld  [ %i4 + 0xe4 ], %g1                        
 2006dd0:	80 a0 60 00 	cmp  %g1, 0                                    
 2006dd4:	12 80 00 0d 	bne  2006e08 <rtems_termios_enqueue_raw_characters+0xa4><== NEVER TAKEN
 2006dd8:	01 00 00 00 	nop                                            
 2006ddc:	c2 07 20 dc 	ld  [ %i4 + 0xdc ], %g1                        
 2006de0:	80 a0 60 00 	cmp  %g1, 0                                    
 2006de4:	02 80 00 07 	be  2006e00 <rtems_termios_enqueue_raw_characters+0x9c>
 2006de8:	b0 10 20 00 	clr  %i0                                       
      (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg);     
 2006dec:	d2 07 20 e0 	ld  [ %i4 + 0xe0 ], %o1                        
 2006df0:	9f c0 40 00 	call  %g1                                      
 2006df4:	90 07 20 30 	add  %i4, 0x30, %o0                            
      tty->tty_rcvwakeup = 1;                                         
 2006df8:	82 10 20 01 	mov  1, %g1                                    
 2006dfc:	c2 27 20 e4 	st  %g1, [ %i4 + 0xe4 ]                        
 2006e00:	81 c7 e0 08 	ret                                            
 2006e04:	81 e8 00 00 	restore                                        
        }                                                             
    return 0;                                                         
 2006e08:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2006e0c:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
 * 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)
 2006e10:	b4 06 40 1a 	add  %i1, %i2, %i2                             
 2006e14:	a0 10 20 00 	clr  %l0                                       
 2006e18:	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); 
 2006e1c:	a2 07 20 30 	add  %i4, 0x30, %l1                            
              (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,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
 2006e20:	a4 07 20 4a 	add  %i4, 0x4a, %l2                            
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
 2006e24:	80 a6 40 1a 	cmp  %i1, %i2                                  
 2006e28:	22 80 00 28 	be,a   2006ec8 <rtems_termios_enqueue_raw_characters+0x164>
 2006e2c:	c2 07 20 78 	ld  [ %i4 + 0x78 ], %g1                        
    c = *buf++;                                                       
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
 2006e30:	c2 07 20 b8 	ld  [ %i4 + 0xb8 ], %g1                        
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
    c = *buf++;                                                       
 2006e34:	fa 0e 40 00 	ldub  [ %i1 ], %i5                             
    /* FIXME: implement IXANY: any character restarts output */       
    /* if incoming XON/XOFF controls outgoing stream: */              
    if (tty->flow_ctrl & FL_MDXON) {                                  
 2006e38:	80 88 62 00 	btst  0x200, %g1                               
 2006e3c:	02 80 00 0b 	be  2006e68 <rtems_termios_enqueue_raw_characters+0x104>
 2006e40:	b2 06 60 01 	inc  %i1                                       
      /* if received char is V_STOP and V_START (both are equal value) */
      if (c == tty->termios.c_cc[VSTOP]) {                            
 2006e44:	c4 0f 20 4a 	ldub  [ %i4 + 0x4a ], %g2                      
 2006e48:	83 2f 60 18 	sll  %i5, 0x18, %g1                            
 2006e4c:	83 38 60 18 	sra  %g1, 0x18, %g1                            
 2006e50:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006e54:	02 80 00 5c 	be  2006fc4 <rtems_termios_enqueue_raw_characters+0x260>
 2006e58:	c4 0f 20 49 	ldub  [ %i4 + 0x49 ], %g2                      
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
        }                                                             
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
 2006e5c:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006e60:	02 80 00 61 	be  2006fe4 <rtems_termios_enqueue_raw_characters+0x280><== NEVER TAKEN
 2006e64:	01 00 00 00 	nop                                            
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
        flow_rcv = true;                                              
      }                                                               
    }                                                                 
    if (flow_rcv) {                                                   
 2006e68:	80 8c 20 ff 	btst  0xff, %l0                                
 2006e6c:	02 80 00 1d 	be  2006ee0 <rtems_termios_enqueue_raw_characters+0x17c><== ALWAYS TAKEN
 2006e70:	01 00 00 00 	nop                                            
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
 2006e74:	c2 07 20 b8 	ld  [ %i4 + 0xb8 ], %g1                        
 2006e78:	82 08 60 30 	and  %g1, 0x30, %g1                            
 2006e7c:	80 a0 60 20 	cmp  %g1, 0x20                                 
 2006e80:	12 bf ff ea 	bne  2006e28 <rtems_termios_enqueue_raw_characters+0xc4><== ALWAYS TAKEN
 2006e84:	80 a6 40 1a 	cmp  %i1, %i2                                  
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
 2006e88:	7f ff ee 37 	call  2002764 <sparc_disable_interrupts>       <== NOT EXECUTED
 2006e8c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2006e90:	ba 10 00 08 	mov  %o0, %i5                                  <== NOT EXECUTED
        tty->flow_ctrl &= ~FL_OSTOP;                                  
 2006e94:	c4 07 20 b8 	ld  [ %i4 + 0xb8 ], %g2                        <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
 2006e98:	c2 07 20 94 	ld  [ %i4 + 0x94 ], %g1                        <== NOT EXECUTED
    if (flow_rcv) {                                                   
      /* restart output according to FL_ORCVXOF flag */               
      if ((tty->flow_ctrl & (FL_ORCVXOF | FL_OSTOP)) == FL_OSTOP) {   
        /* disable interrupts    */                                   
        rtems_interrupt_disable(level);                               
        tty->flow_ctrl &= ~FL_OSTOP;                                  
 2006e9c:	84 08 bf df 	and  %g2, -33, %g2                             <== NOT EXECUTED
 2006ea0:	c4 27 20 b8 	st  %g2, [ %i4 + 0xb8 ]                        <== NOT EXECUTED
        /* check for chars in output buffer (or rob_state?) */        
        if (tty->rawOutBufState != rob_idle) {                        
 2006ea4:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2006ea8:	12 80 00 57 	bne  2007004 <rtems_termios_enqueue_raw_characters+0x2a0><== NOT EXECUTED
 2006eac:	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);
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
 2006eb0:	7f ff ee 31 	call  2002774 <sparc_enable_interrupts>        <== NOT EXECUTED
 2006eb4:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
      tty->tty_rcvwakeup = 1;                                         
        }                                                             
    return 0;                                                         
  }                                                                   
                                                                      
  while (len--) {                                                     
 2006eb8:	80 a6 40 1a 	cmp  %i1, %i2                                  <== NOT EXECUTED
 2006ebc:	12 bf ff dd 	bne  2006e30 <rtems_termios_enqueue_raw_characters+0xcc><== NOT EXECUTED
 2006ec0:	01 00 00 00 	nop                                            <== NOT EXECUTED
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
 2006ec4:	c2 07 20 78 	ld  [ %i4 + 0x78 ], %g1                        <== NOT EXECUTED
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
 2006ec8:	d0 07 20 68 	ld  [ %i4 + 0x68 ], %o0                        
        }                                                             
      }                                                               
    }                                                                 
  }                                                                   
                                                                      
  tty->rawInBufDropped += dropped;                                    
 2006ecc:	82 00 40 18 	add  %g1, %i0, %g1                             
  rtems_semaphore_release (tty->rawInBuf.Semaphore);                  
 2006ed0:	40 00 04 04 	call  2007ee0 <rtems_semaphore_release>        
 2006ed4:	c2 27 20 78 	st  %g1, [ %i4 + 0x78 ]                        
  return dropped;                                                     
 2006ed8:	81 c7 e0 08 	ret                                            
 2006edc:	81 e8 00 00 	restore                                        
        }                                                             
        /* reenable interrupts */                                     
        rtems_interrupt_enable(level);                                
      }                                                               
    } else {                                                          
      newTail = (tty->rawInBuf.Tail + 1) % tty->rawInBuf.Size;        
 2006ee0:	d0 07 20 60 	ld  [ %i4 + 0x60 ], %o0                        
 2006ee4:	d2 07 20 64 	ld  [ %i4 + 0x64 ], %o1                        
 2006ee8:	40 00 4a 6d 	call  201989c <.urem>                          
 2006eec:	90 02 20 01 	inc  %o0                                       
      /* if chars_in_buffer > highwater                */             
      rtems_interrupt_disable(level);                                 
 2006ef0:	7f ff ee 1d 	call  2002764 <sparc_disable_interrupts>       
 2006ef4:	b6 10 00 08 	mov  %o0, %i3                                  
 2006ef8:	a6 10 00 08 	mov  %o0, %l3                                  
      if ((((newTail - tty->rawInBuf.Head + tty->rawInBuf.Size)       
 2006efc:	c2 07 20 5c 	ld  [ %i4 + 0x5c ], %g1                        
 2006f00:	d0 07 20 64 	ld  [ %i4 + 0x64 ], %o0                        
            % tty->rawInBuf.Size) > tty->highwater) &&                
 2006f04:	d2 07 20 64 	ld  [ %i4 + 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)       
 2006f08:	90 22 00 01 	sub  %o0, %g1, %o0                             
            % tty->rawInBuf.Size) > tty->highwater) &&                
 2006f0c:	40 00 4a 64 	call  201989c <.urem>                          
 2006f10:	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)       
 2006f14:	c2 07 20 c0 	ld  [ %i4 + 0xc0 ], %g1                        
 2006f18:	80 a2 00 01 	cmp  %o0, %g1                                  
 2006f1c:	08 80 00 13 	bleu  2006f68 <rtems_termios_enqueue_raw_characters+0x204><== ALWAYS TAKEN
 2006f20:	01 00 00 00 	nop                                            
            % tty->rawInBuf.Size) > tty->highwater) &&                
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
 2006f24:	c2 07 20 b8 	ld  [ %i4 + 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) &&                
 2006f28:	80 88 60 01 	btst  1, %g1                                   <== NOT EXECUTED
 2006f2c:	12 80 00 0f 	bne  2006f68 <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
 2006f30:	01 00 00 00 	nop                                            <== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
 2006f34:	c2 07 20 b8 	ld  [ %i4 + 0xb8 ], %g1                        <== NOT EXECUTED
 2006f38:	82 10 60 01 	or  %g1, 1, %g1                                <== NOT EXECUTED
 2006f3c:	c2 27 20 b8 	st  %g1, [ %i4 + 0xb8 ]                        <== NOT EXECUTED
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
 2006f40:	c2 07 20 b8 	ld  [ %i4 + 0xb8 ], %g1                        <== NOT EXECUTED
 2006f44:	82 08 64 02 	and  %g1, 0x402, %g1                           <== NOT EXECUTED
 2006f48:	80 a0 64 00 	cmp  %g1, 0x400                                <== NOT EXECUTED
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
 2006f4c:	c2 07 20 b8 	ld  [ %i4 + 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))                
 2006f50:	02 80 00 35 	be  2007024 <rtems_termios_enqueue_raw_characters+0x2c0><== NOT EXECUTED
 2006f54:	80 88 60 20 	btst  0x20, %g1                                <== NOT EXECUTED
            /*    call write function here                 */         
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
 2006f58:	82 08 61 04 	and  %g1, 0x104, %g1                           <== NOT EXECUTED
 2006f5c:	80 a0 61 00 	cmp  %g1, 0x100                                <== NOT EXECUTED
 2006f60:	02 80 00 40 	be  2007060 <rtems_termios_enqueue_raw_characters+0x2fc><== NOT EXECUTED
 2006f64:	01 00 00 00 	nop                                            <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
 2006f68:	7f ff ee 03 	call  2002774 <sparc_enable_interrupts>        
 2006f6c:	90 10 00 13 	mov  %l3, %o0                                  
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
 2006f70:	c2 07 20 5c 	ld  [ %i4 + 0x5c ], %g1                        
 2006f74:	80 a0 40 1b 	cmp  %g1, %i3                                  
 2006f78:	22 bf ff ab 	be,a   2006e24 <rtems_termios_enqueue_raw_characters+0xc0><== NEVER TAKEN
 2006f7c:	b0 06 20 01 	inc  %i0                                       <== NOT EXECUTED
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
 2006f80:	c2 07 20 58 	ld  [ %i4 + 0x58 ], %g1                        
 2006f84:	fa 28 40 1b 	stb  %i5, [ %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 )) {
 2006f88:	c2 07 20 e4 	ld  [ %i4 + 0xe4 ], %g1                        
                                                                      
      if (newTail == tty->rawInBuf.Head) {                            
        dropped++;                                                    
      } else {                                                        
        tty->rawInBuf.theBuf[newTail] = c;                            
        tty->rawInBuf.Tail = newTail;                                 
 2006f8c:	f6 27 20 60 	st  %i3, [ %i4 + 0x60 ]                        
                                                                      
        /*                                                            
         * check to see if rcv wakeup callback was set                
         */                                                           
        if (( !tty->tty_rcvwakeup ) && ( tty->tty_rcv.sw_pfn != NULL )) {
 2006f90:	80 a0 60 00 	cmp  %g1, 0                                    
 2006f94:	12 bf ff a5 	bne  2006e28 <rtems_termios_enqueue_raw_characters+0xc4><== NEVER TAKEN
 2006f98:	80 a6 40 1a 	cmp  %i1, %i2                                  
 2006f9c:	c2 07 20 dc 	ld  [ %i4 + 0xdc ], %g1                        
 2006fa0:	80 a0 60 00 	cmp  %g1, 0                                    
 2006fa4:	02 bf ff a1 	be  2006e28 <rtems_termios_enqueue_raw_characters+0xc4><== ALWAYS TAKEN
 2006fa8:	80 a6 40 1a 	cmp  %i1, %i2                                  
          (*tty->tty_rcv.sw_pfn)(&tty->termios, tty->tty_rcv.sw_arg); 
 2006fac:	d2 07 20 e0 	ld  [ %i4 + 0xe0 ], %o1                        <== NOT EXECUTED
 2006fb0:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2006fb4:	90 10 00 11 	mov  %l1, %o0                                  <== NOT EXECUTED
          tty->tty_rcvwakeup = 1;                                     
 2006fb8:	82 10 20 01 	mov  1, %g1                                    <== NOT EXECUTED
 2006fbc:	10 bf ff 9a 	b  2006e24 <rtems_termios_enqueue_raw_characters+0xc0><== NOT EXECUTED
 2006fc0:	c2 27 20 e4 	st  %g1, [ %i4 + 0xe4 ]                        <== NOT EXECUTED
    /* 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]) {                         
 2006fc4:	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;               
 2006fc8:	c2 07 20 b8 	ld  [ %i4 + 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]) {                         
 2006fcc:	22 80 00 0b 	be,a   2006ff8 <rtems_termios_enqueue_raw_characters+0x294><== NEVER TAKEN
 2006fd0:	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;                               
 2006fd4:	82 10 60 10 	or  %g1, 0x10, %g1                             
 * 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)
 2006fd8:	a0 10 20 01 	mov  1, %l0                                    
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
        }                                                             
        else {                                                        
          /* VSTOP received (other code than VSTART) */               
          /* stop output                             */               
          tty->flow_ctrl |= FL_ORCVXOF;                               
 2006fdc:	c2 27 20 b8 	st  %g1, [ %i4 + 0xb8 ]                        
 2006fe0:	30 bf ff a5 	b,a   2006e74 <rtems_termios_enqueue_raw_characters+0x110>
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
 2006fe4:	c2 07 20 b8 	ld  [ %i4 + 0xb8 ], %g1                        <== NOT EXECUTED
 * 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)
 2006fe8:	a0 10 20 01 	mov  1, %l0                                    <== NOT EXECUTED
        flow_rcv = true;                                              
      }                                                               
      else if (c == tty->termios.c_cc[VSTART]) {                      
        /* VSTART received */                                         
        /* restart output  */                                         
        tty->flow_ctrl &= ~FL_ORCVXOF;                                
 2006fec:	82 08 7f ef 	and  %g1, -17, %g1                             <== NOT EXECUTED
 2006ff0:	c2 27 20 b8 	st  %g1, [ %i4 + 0xb8 ]                        <== NOT EXECUTED
 2006ff4:	30 bf ff a0 	b,a   2006e74 <rtems_termios_enqueue_raw_characters+0x110><== NOT EXECUTED
 * 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)
 2006ff8:	a0 10 20 01 	mov  1, %l0                                    <== NOT EXECUTED
      /* 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]) {                         
          /* received VSTOP and VSTART==VSTOP? */                     
          /* then toggle "stop output" status  */                     
          tty->flow_ctrl = tty->flow_ctrl ^ FL_ORCVXOF;               
 2006ffc:	c2 27 20 b8 	st  %g1, [ %i4 + 0xb8 ]                        <== NOT EXECUTED
 2007000:	30 bf ff 9d 	b,a   2006e74 <rtems_termios_enqueue_raw_characters+0x110><== NOT EXECUTED
        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)(                                       
            tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail], 1);
 2007004:	c4 07 20 84 	ld  [ %i4 + 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)(                                       
 2007008:	d2 07 20 7c 	ld  [ %i4 + 0x7c ], %o1                        <== NOT EXECUTED
 200700c:	c2 07 20 a4 	ld  [ %i4 + 0xa4 ], %g1                        <== NOT EXECUTED
 2007010:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        <== NOT EXECUTED
 2007014:	92 02 40 02 	add  %o1, %g2, %o1                             <== NOT EXECUTED
 2007018:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200701c:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 2007020:	30 bf ff a4 	b,a   2006eb0 <rtems_termios_enqueue_raw_characters+0x14c><== NOT EXECUTED
          !(tty->flow_ctrl & FL_IREQXOF)) {                           
        /* incoming data stream should be stopped */                  
        tty->flow_ctrl |= FL_IREQXOF;                                 
        if ((tty->flow_ctrl & (FL_MDXOF | FL_ISNTXOF))                
            ==                (FL_MDXOF             ) ) {             
          if ((tty->flow_ctrl & FL_OSTOP) ||                          
 2007024:	12 80 00 06 	bne  200703c <rtems_termios_enqueue_raw_characters+0x2d8><== NOT EXECUTED
 2007028:	01 00 00 00 	nop                                            <== NOT EXECUTED
 200702c:	c2 07 20 94 	ld  [ %i4 + 0x94 ], %g1                        <== NOT EXECUTED
 2007030:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2007034:	12 bf ff cd 	bne  2006f68 <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
 2007038:	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;                             
 200703c:	c4 07 20 b8 	ld  [ %i4 + 0xb8 ], %g2                        <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
 2007040:	c2 07 20 a4 	ld  [ %i4 + 0xa4 ], %g1                        <== NOT EXECUTED
 2007044:	d0 07 20 10 	ld  [ %i4 + 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;                             
 2007048:	84 10 a0 02 	or  %g2, 2, %g2                                <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
 200704c:	92 10 00 12 	mov  %l2, %o1                                  <== 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;                             
 2007050:	c4 27 20 b8 	st  %g2, [ %i4 + 0xb8 ]                        <== NOT EXECUTED
            (*tty->device.write)(tty->minor,                          
 2007054:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2007058:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 200705c:	30 bf ff c3 	b,a   2006f68 <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
 2007060:	c4 07 20 b8 	ld  [ %i4 + 0xb8 ], %g2                        <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
 2007064:	c2 07 20 ac 	ld  [ %i4 + 0xac ], %g1                        <== NOT EXECUTED
            tty->flow_ctrl |= FL_ISNTXOF;                             
            (*tty->device.write)(tty->minor,                          
                (void *)&(tty->termios.c_cc[VSTOP]), 1);              
          }                                                           
        } else if ((tty->flow_ctrl & (FL_MDRTS | FL_IRTSOFF)) == (FL_MDRTS) ) {
          tty->flow_ctrl |= FL_IRTSOFF;                               
 2007068:	84 10 a0 04 	or  %g2, 4, %g2                                <== NOT EXECUTED
 200706c:	c4 27 20 b8 	st  %g2, [ %i4 + 0xb8 ]                        <== NOT EXECUTED
          /* deactivate RTS line */                                   
          if (tty->device.stopRemoteTx != NULL) {                     
 2007070:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2007074:	02 bf ff bd 	be  2006f68 <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
 2007078:	01 00 00 00 	nop                                            <== NOT EXECUTED
            tty->device.stopRemoteTx(tty->minor);                     
 200707c:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2007080:	d0 07 20 10 	ld  [ %i4 + 0x10 ], %o0                        <== NOT EXECUTED
 2007084:	30 bf ff b9 	b,a   2006f68 <rtems_termios_enqueue_raw_characters+0x204><== NOT EXECUTED
                                                                      

02005ccc <rtems_termios_ioctl>: } } rtems_status_code rtems_termios_ioctl (void *arg) {
 2005ccc:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_ioctl_args_t *args = arg;                               
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2005cd0:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  struct ttywakeup         *wakeup = (struct ttywakeup *)args->buffer;
 2005cd4:	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;                   
 2005cd8:	fa 00 60 30 	ld  [ %g1 + 0x30 ], %i5                        
  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);
 2005cdc:	92 10 20 00 	clr  %o1                                       
 2005ce0:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
 2005ce4:	94 10 20 00 	clr  %o2                                       
 2005ce8:	40 00 08 2e 	call  2007da0 <rtems_semaphore_obtain>         
 2005cec:	c0 26 20 0c 	clr  [ %i0 + 0xc ]                             
  if (sc != RTEMS_SUCCESSFUL) {                                       
 2005cf0:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2005cf4:	12 80 00 19 	bne  2005d58 <rtems_termios_ioctl+0x8c>        <== NEVER TAKEN
 2005cf8:	01 00 00 00 	nop                                            
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
 2005cfc:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 2005d00:	80 a0 60 04 	cmp  %g1, 4                                    
 2005d04:	22 80 00 10 	be,a   2005d44 <rtems_termios_ioctl+0x78>      
 2005d08:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 2005d0c:	18 80 00 15 	bgu  2005d60 <rtems_termios_ioctl+0x94>        
 2005d10:	05 10 01 19 	sethi  %hi(0x40046400), %g2                    
 2005d14:	80 a0 60 02 	cmp  %g1, 2                                    
 2005d18:	22 80 00 29 	be,a   2005dbc <rtems_termios_ioctl+0xf0>      
 2005d1c:	d2 06 20 08 	ld  [ %i0 + 8 ], %o1                           
 2005d20:	08 80 00 99 	bleu  2005f84 <rtems_termios_ioctl+0x2b8>      
 2005d24:	80 a0 60 01 	cmp  %g1, 1                                    
drainOutput (struct rtems_termios_tty *tty)                           
{                                                                     
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts != TERMIOS_POLLED) {           
 2005d28:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 2005d2c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005d30:	02 80 00 08 	be  2005d50 <rtems_termios_ioctl+0x84>         <== ALWAYS TAKEN
 2005d34:	01 00 00 00 	nop                                            
 2005d38:	7f ff fe 36 	call  2005610 <drainOutput.part.0>             <== NOT EXECUTED
 2005d3c:	90 10 00 1d 	mov  %i5, %o0                                  <== NOT EXECUTED
 2005d40:	30 80 00 04 	b,a   2005d50 <rtems_termios_ioctl+0x84>       <== NOT EXECUTED
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
    break;                                                            
                                                                      
  case RTEMS_IO_RCVWAKEUP:                                            
    tty->tty_rcv = *wakeup;                                           
 2005d44:	c2 27 60 dc 	st  %g1, [ %i5 + 0xdc ]                        
 2005d48:	c2 06 e0 04 	ld  [ %i3 + 4 ], %g1                           
 2005d4c:	c2 27 60 e0 	st  %g1, [ %i5 + 0xe0 ]                        
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
    }                                                                 
    break;                                                            
  }                                                                   
                                                                      
  rtems_semaphore_release (tty->osem);                                
 2005d50:	40 00 08 64 	call  2007ee0 <rtems_semaphore_release>        
 2005d54:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
  return sc;                                                          
}                                                                     
 2005d58:	81 c7 e0 08 	ret                                            
 2005d5c:	91 e8 00 1c 	restore  %g0, %i4, %o0                         
  args->ioctl_return = 0;                                             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
 2005d60:	84 10 a2 7f 	or  %g2, 0x27f, %g2                            
 2005d64:	80 a0 40 02 	cmp  %g1, %g2                                  
 2005d68:	02 80 00 7b 	be  2005f54 <rtems_termios_ioctl+0x288>        <== NEVER TAKEN
 2005d6c:	01 00 00 00 	nop                                            
 2005d70:	18 80 00 8c 	bgu  2005fa0 <rtems_termios_ioctl+0x2d4>       
 2005d74:	05 10 01 1d 	sethi  %hi(0x40047400), %g2                    
 2005d78:	80 a0 60 05 	cmp  %g1, 5                                    
 2005d7c:	22 80 00 ad 	be,a   2006030 <rtems_termios_ioctl+0x364>     
 2005d80:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
  default:                                                            
    if (rtems_termios_linesw[tty->t_line].l_ioctl != NULL) {          
 2005d84:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
 2005d88:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2005d8c:	85 28 a0 05 	sll  %g2, 5, %g2                               
 2005d90:	82 10 63 ac 	or  %g1, 0x3ac, %g1                            
 2005d94:	82 00 40 02 	add  %g1, %g2, %g1                             
 2005d98:	c2 00 60 18 	ld  [ %g1 + 0x18 ], %g1                        
 2005d9c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005da0:	02 bf ff ec 	be  2005d50 <rtems_termios_ioctl+0x84>         
 2005da4:	b8 10 20 0a 	mov  0xa, %i4                                  
      sc = rtems_termios_linesw[tty->t_line].l_ioctl(tty,args);       
 2005da8:	90 10 00 1d 	mov  %i5, %o0                                  
 2005dac:	9f c0 40 00 	call  %g1                                      
 2005db0:	92 10 00 18 	mov  %i0, %o1                                  
 2005db4:	10 bf ff e7 	b  2005d50 <rtems_termios_ioctl+0x84>          
 2005db8:	b8 10 00 08 	mov  %o0, %i4                                  
  case RTEMS_IO_GET_ATTRIBUTES:                                       
    *(struct termios *)args->buffer = tty->termios;                   
    break;                                                            
                                                                      
  case RTEMS_IO_SET_ATTRIBUTES:                                       
    tty->termios = *(struct termios *)args->buffer;                   
 2005dbc:	b6 07 60 30 	add  %i5, 0x30, %i3                            
 2005dc0:	94 10 20 24 	mov  0x24, %o2                                 
 2005dc4:	40 00 2c d3 	call  2011110 <memcpy>                         
 2005dc8:	90 10 00 1b 	mov  %i3, %o0                                  
  /*                                                                  
   * check for flow control options to be switched off                
   */                                                                 
                                                                      
  /* check for outgoing XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXON) &&                                 
 2005dcc:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005dd0:	80 88 62 00 	btst  0x200, %g1                               
 2005dd4:	02 80 00 19 	be  2005e38 <rtems_termios_ioctl+0x16c>        
 2005dd8:	01 00 00 00 	nop                                            
      !(tty->termios.c_iflag & IXON)) {                               
 2005ddc:	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) &&                                 
 2005de0:	80 88 64 00 	btst  0x400, %g1                               
 2005de4:	12 80 00 15 	bne  2005e38 <rtems_termios_ioctl+0x16c>       
 2005de8:	01 00 00 00 	nop                                            
      !(tty->termios.c_iflag & IXON)) {                               
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXON | FL_ORCVXOF);                       
 2005dec:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005df0:	82 08 7d ef 	and  %g1, -529, %g1                            
 2005df4:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
 2005df8:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005dfc:	80 88 60 20 	btst  0x20, %g1                                
 2005e00:	02 80 00 0e 	be  2005e38 <rtems_termios_ioctl+0x16c>        <== ALWAYS TAKEN
 2005e04:	01 00 00 00 	nop                                            
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
 2005e08:	7f ff f2 57 	call  2002764 <sparc_disable_interrupts>       <== NOT EXECUTED
 2005e0c:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2005e10:	b4 10 00 08 	mov  %o0, %i2                                  <== NOT EXECUTED
      tty->flow_ctrl &= ~FL_OSTOP;                                    
 2005e14:	c4 07 60 b8 	ld  [ %i5 + 0xb8 ], %g2                        <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
 2005e18:	c2 07 60 94 	ld  [ %i5 + 0x94 ], %g1                        <== NOT EXECUTED
                                                                      
    /* has output been stopped due to received XOFF? */               
    if (tty->flow_ctrl & FL_OSTOP) {                                  
      /* disable interrupts    */                                     
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl &= ~FL_OSTOP;                                    
 2005e1c:	84 08 bf df 	and  %g2, -33, %g2                             <== NOT EXECUTED
 2005e20:	c4 27 60 b8 	st  %g2, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
      /* check for chars in output buffer (or rob_state?) */          
      if (tty->rawOutBufState != rob_idle) {                          
 2005e24:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2005e28:	12 80 00 a5 	bne  20060bc <rtems_termios_ioctl+0x3f0>       <== NOT EXECUTED
 2005e2c:	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); 
      }                                                               
      /* reenable interrupts */                                       
      rtems_interrupt_enable(level);                                  
 2005e30:	7f ff f2 51 	call  2002774 <sparc_enable_interrupts>        <== NOT EXECUTED
 2005e34:	90 10 00 1a 	mov  %i2, %o0                                  <== NOT EXECUTED
    }                                                                 
  }                                                                   
  /* check for incoming XON/XOFF flow control switched off */         
  if (( tty->flow_ctrl & FL_MDXOF) && !(tty->termios.c_iflag & IXOFF)) {
 2005e38:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005e3c:	80 88 64 00 	btst  0x400, %g1                               
 2005e40:	02 80 00 0d 	be  2005e74 <rtems_termios_ioctl+0x1a8>        
 2005e44:	01 00 00 00 	nop                                            
 2005e48:	c4 07 60 30 	ld  [ %i5 + 0x30 ], %g2                        
 2005e4c:	03 00 00 04 	sethi  %hi(0x1000), %g1                        
 2005e50:	80 88 80 01 	btst  %g2, %g1                                 
 2005e54:	12 80 00 08 	bne  2005e74 <rtems_termios_ioctl+0x1a8>       <== NEVER TAKEN
 2005e58:	01 00 00 00 	nop                                            
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDXOF);                                    
 2005e5c:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005e60:	82 08 7b ff 	and  %g1, -1025, %g1                           
 2005e64:	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);                                  
 2005e68:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005e6c:	82 08 7f fd 	and  %g1, -3, %g1                              
 2005e70:	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)) {
 2005e74:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005e78:	80 88 61 00 	btst  0x100, %g1                               
 2005e7c:	02 80 00 16 	be  2005ed4 <rtems_termios_ioctl+0x208>        <== ALWAYS TAKEN
 2005e80:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        
 2005e84:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2005e88:	06 80 00 82 	bl  2006090 <rtems_termios_ioctl+0x3c4>        <== NOT EXECUTED
 2005e8c:	01 00 00 00 	nop                                            <== NOT EXECUTED
    /* clear related flags in flow_ctrl */                            
    tty->flow_ctrl &= ~(FL_MDRTS);                                    
 2005e90:	c4 07 60 b8 	ld  [ %i5 + 0xb8 ], %g2                        <== NOT EXECUTED
 2005e94:	84 08 be ff 	and  %g2, -257, %g2                            <== NOT EXECUTED
 2005e98:	c4 27 60 b8 	st  %g2, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
                                                                      
    /* restart remote Tx, if it was stopped */                        
    if ((tty->flow_ctrl & FL_IRTSOFF) && (tty->device.startRemoteTx != NULL)) {
 2005e9c:	c4 07 60 b8 	ld  [ %i5 + 0xb8 ], %g2                        <== NOT EXECUTED
 2005ea0:	80 88 a0 04 	btst  4, %g2                                   <== NOT EXECUTED
 2005ea4:	02 80 00 09 	be  2005ec8 <rtems_termios_ioctl+0x1fc>        <== NOT EXECUTED
 2005ea8:	01 00 00 00 	nop                                            <== NOT EXECUTED
 2005eac:	c4 07 60 b0 	ld  [ %i5 + 0xb0 ], %g2                        <== NOT EXECUTED
 2005eb0:	80 a0 a0 00 	cmp  %g2, 0                                    <== NOT EXECUTED
 2005eb4:	02 80 00 05 	be  2005ec8 <rtems_termios_ioctl+0x1fc>        <== NOT EXECUTED
 2005eb8:	01 00 00 00 	nop                                            <== NOT EXECUTED
      tty->device.startRemoteTx(tty->minor);                          
 2005ebc:	9f c0 80 00 	call  %g2                                      <== NOT EXECUTED
 2005ec0:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
 2005ec4:	c2 07 60 38 	ld  [ %i5 + 0x38 ], %g1                        <== NOT EXECUTED
    }                                                                 
    tty->flow_ctrl &= ~(FL_IRTSOFF);                                  
 2005ec8:	c4 07 60 b8 	ld  [ %i5 + 0xb8 ], %g2                        <== NOT EXECUTED
 2005ecc:	84 08 bf fb 	and  %g2, -5, %g2                              <== NOT EXECUTED
 2005ed0:	c4 27 60 b8 	st  %g2, [ %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) {                               
 2005ed4:	80 a0 60 00 	cmp  %g1, 0                                    
 2005ed8:	06 80 00 6e 	bl  2006090 <rtems_termios_ioctl+0x3c4>        <== NEVER TAKEN
 2005edc:	01 00 00 00 	nop                                            
    tty->flow_ctrl |= FL_MDRTS;                                       
  }                                                                   
  /* check for incoming XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXOFF) {                                 
 2005ee0:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        
 2005ee4:	05 00 00 04 	sethi  %hi(0x1000), %g2                        
 2005ee8:	80 88 40 02 	btst  %g1, %g2                                 
 2005eec:	02 80 00 06 	be  2005f04 <rtems_termios_ioctl+0x238>        
 2005ef0:	80 88 64 00 	btst  0x400, %g1                               
    tty->flow_ctrl |= FL_MDXOF;                                       
 2005ef4:	c4 07 60 b8 	ld  [ %i5 + 0xb8 ], %g2                        
 2005ef8:	84 10 a4 00 	or  %g2, 0x400, %g2                            
 2005efc:	c4 27 60 b8 	st  %g2, [ %i5 + 0xb8 ]                        
  }                                                                   
  /* check for outgoing XON/XOF flow control switched on */           
  if (tty->termios.c_iflag & IXON) {                                  
 2005f00:	80 88 64 00 	btst  0x400, %g1                               
 2005f04:	22 80 00 06 	be,a   2005f1c <rtems_termios_ioctl+0x250>     
 2005f08:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
    tty->flow_ctrl |= FL_MDXON;                                       
 2005f0c:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005f10:	82 10 62 00 	or  %g1, 0x200, %g1                            
 2005f14:	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) {                              
 2005f18:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
 2005f1c:	80 88 60 02 	btst  2, %g1                                   
 2005f20:	02 80 00 48 	be  2006040 <rtems_termios_ioctl+0x374>        
 2005f24:	01 00 00 00 	nop                                            
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
 2005f28:	c0 27 60 6c 	clr  [ %i5 + 0x6c ]                            
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
 2005f2c:	c0 27 60 70 	clr  [ %i5 + 0x70 ]                            
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
 2005f30:	c0 27 60 74 	clr  [ %i5 + 0x74 ]                            
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
        }                                                             
      }                                                               
    }                                                                 
    if (tty->device.setAttributes)                                    
 2005f34:	c2 07 60 a8 	ld  [ %i5 + 0xa8 ], %g1                        
 2005f38:	80 a0 60 00 	cmp  %g1, 0                                    
 2005f3c:	02 bf ff 85 	be  2005d50 <rtems_termios_ioctl+0x84>         
 2005f40:	01 00 00 00 	nop                                            
      (*tty->device.setAttributes)(tty->minor, &tty->termios);        
 2005f44:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
 2005f48:	9f c0 40 00 	call  %g1                                      
 2005f4c:	92 10 00 1b 	mov  %i3, %o1                                  
 2005f50:	30 bf ff 80 	b,a   2005d50 <rtems_termios_ioctl+0x84>       
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
 2005f54:	c4 07 60 60 	ld  [ %i5 + 0x60 ], %g2                        <== NOT EXECUTED
 2005f58:	c2 07 60 5c 	ld  [ %i5 + 0x5c ], %g1                        <== NOT EXECUTED
      if ( rawnc < 0 )                                                
 2005f5c:	82 a0 80 01 	subcc  %g2, %g1, %g1                           <== NOT EXECUTED
 2005f60:	0c 80 00 49 	bneg  2006084 <rtems_termios_ioctl+0x3b8>      <== NOT EXECUTED
 2005f64:	01 00 00 00 	nop                                            <== NOT EXECUTED
        rawnc += tty->rawInBuf.Size;                                  
      /* Half guess that this is the right operation */               
      *(int *)args->buffer = tty->ccount - tty->cindex + rawnc;       
 2005f68:	c8 07 60 20 	ld  [ %i5 + 0x20 ], %g4                        <== NOT EXECUTED
 2005f6c:	c4 07 60 24 	ld  [ %i5 + 0x24 ], %g2                        <== NOT EXECUTED
 2005f70:	c6 06 20 08 	ld  [ %i0 + 8 ], %g3                           <== NOT EXECUTED
 2005f74:	84 21 00 02 	sub  %g4, %g2, %g2                             <== NOT EXECUTED
 2005f78:	82 00 80 01 	add  %g2, %g1, %g1                             <== NOT EXECUTED
    }                                                                 
    break;                                                            
 2005f7c:	10 bf ff 75 	b  2005d50 <rtems_termios_ioctl+0x84>          <== NOT EXECUTED
 2005f80:	c2 20 c0 00 	st  %g1, [ %g3 ]                               <== NOT EXECUTED
  args->ioctl_return = 0;                                             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
 2005f84:	32 bf ff 81 	bne,a   2005d88 <rtems_termios_ioctl+0xbc>     <== NEVER TAKEN
 2005f88:	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;                   
 2005f8c:	d0 06 20 08 	ld  [ %i0 + 8 ], %o0                           
 2005f90:	92 07 60 30 	add  %i5, 0x30, %o1                            
 2005f94:	40 00 2c 5f 	call  2011110 <memcpy>                         
 2005f98:	94 10 20 24 	mov  0x24, %o2                                 
    break;                                                            
 2005f9c:	30 bf ff 6d 	b,a   2005d50 <rtems_termios_ioctl+0x84>       
  args->ioctl_return = 0;                                             
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
  if (sc != RTEMS_SUCCESSFUL) {                                       
    return sc;                                                        
  }                                                                   
  switch (args->command) {                                            
 2005fa0:	84 10 a0 1a 	or  %g2, 0x1a, %g2                             
 2005fa4:	80 a0 40 02 	cmp  %g1, %g2                                  
 2005fa8:	02 80 00 1e 	be  2006020 <rtems_termios_ioctl+0x354>        
 2005fac:	05 20 01 1d 	sethi  %hi(0x80047400), %g2                    
 2005fb0:	84 10 a0 1b 	or  %g2, 0x1b, %g2	! 8004741b <RAM_END+0x7dc4741b>
 2005fb4:	80 a0 40 02 	cmp  %g1, %g2                                  
 2005fb8:	32 bf ff 74 	bne,a   2005d88 <rtems_termios_ioctl+0xbc>     <== NEVER TAKEN
 2005fbc:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        <== NOT EXECUTED
#if 1 /* FIXME */                                                     
  case TIOCSETD:                                                      
    /*                                                                
     * close old line discipline                                      
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_close != NULL) {          
 2005fc0:	c2 07 60 cc 	ld  [ %i5 + 0xcc ], %g1                        
 2005fc4:	37 00 80 78 	sethi  %hi(0x201e000), %i3                     
 2005fc8:	83 28 60 05 	sll  %g1, 5, %g1                               
 2005fcc:	b6 16 e3 ac 	or  %i3, 0x3ac, %i3                            
 2005fd0:	82 06 c0 01 	add  %i3, %g1, %g1                             
 2005fd4:	c2 00 60 04 	ld  [ %g1 + 4 ], %g1                           
 2005fd8:	80 a0 60 00 	cmp  %g1, 0                                    
 2005fdc:	22 80 00 06 	be,a   2005ff4 <rtems_termios_ioctl+0x328>     
 2005fe0:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
      sc = rtems_termios_linesw[tty->t_line].l_close(tty);            
 2005fe4:	9f c0 40 00 	call  %g1                                      
 2005fe8:	90 10 00 1d 	mov  %i5, %o0                                  
 2005fec:	b8 10 00 08 	mov  %o0, %i4                                  
    }                                                                 
    tty->t_line=*(int*)(args->buffer);                                
 2005ff0:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
 2005ff4:	c2 00 40 00 	ld  [ %g1 ], %g1                               
    tty->t_sc = NULL; /* ensure that no more valid data */            
 2005ff8:	c0 27 60 d0 	clr  [ %i5 + 0xd0 ]                            
    /*                                                                
     * open new line discipline                                       
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_open != NULL) {           
 2005ffc:	85 28 60 05 	sll  %g1, 5, %g2                               
 2006000:	c4 06 c0 02 	ld  [ %i3 + %g2 ], %g2                         
 2006004:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006008:	02 bf ff 52 	be  2005d50 <rtems_termios_ioctl+0x84>         
 200600c:	c2 27 60 cc 	st  %g1, [ %i5 + 0xcc ]                        
      sc = rtems_termios_linesw[tty->t_line].l_open(tty);             
 2006010:	9f c0 80 00 	call  %g2                                      
 2006014:	90 10 00 1d 	mov  %i5, %o0                                  
 2006018:	10 bf ff 4e 	b  2005d50 <rtems_termios_ioctl+0x84>          
 200601c:	b8 10 00 08 	mov  %o0, %i4                                  
    }                                                                 
    break;                                                            
  case TIOCGETD:                                                      
    *(int*)(args->buffer)=tty->t_line;                                
 2006020:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
 2006024:	c2 06 20 08 	ld  [ %i0 + 8 ], %g1                           
    break;                                                            
 2006028:	10 bf ff 4a 	b  2005d50 <rtems_termios_ioctl+0x84>          
 200602c:	c4 20 40 00 	st  %g2, [ %g1 ]                               
  case RTEMS_IO_TCDRAIN:                                              
    drainOutput (tty);                                                
    break;                                                            
                                                                      
  case RTEMS_IO_SNDWAKEUP:                                            
    tty->tty_snd = *wakeup;                                           
 2006030:	c2 27 60 d4 	st  %g1, [ %i5 + 0xd4 ]                        
 2006034:	c2 06 e0 04 	ld  [ %i3 + 4 ], %g1                           
    break;                                                            
 2006038:	10 bf ff 46 	b  2005d50 <rtems_termios_ioctl+0x84>          
 200603c:	c2 27 60 d8 	st  %g1, [ %i5 + 0xd8 ]                        
      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;          
 2006040:	40 00 05 87 	call  200765c <rtems_clock_get_ticks_per_second>
 2006044:	f4 0f 60 46 	ldub  [ %i5 + 0x46 ], %i2                      
    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] *                    
 2006048:	40 00 4d 2f 	call  2019504 <.umul>                          
 200604c:	92 10 00 1a 	mov  %i2, %o1                                  
                    rtems_clock_get_ticks_per_second() / 10;          
 2006050:	40 00 4d 67 	call  20195ec <.udiv>                          
 2006054:	92 10 20 0a 	mov  0xa, %o1                                  
      if (tty->termios.c_cc[VTIME]) {                                 
 2006058:	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] *                    
 200605c:	d0 27 60 54 	st  %o0, [ %i5 + 0x54 ]                        
                    rtems_clock_get_ticks_per_second() / 10;          
      if (tty->termios.c_cc[VTIME]) {                                 
 2006060:	80 a0 60 00 	cmp  %g1, 0                                    
 2006064:	02 80 00 10 	be  20060a4 <rtems_termios_ioctl+0x3d8>        
 2006068:	c2 0f 60 47 	ldub  [ %i5 + 0x47 ], %g1                      
        tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                   
 200606c:	c0 27 60 6c 	clr  [ %i5 + 0x6c ]                            
        tty->rawInBufSemaphoreTimeout = tty->vtimeTicks;              
        if (tty->termios.c_cc[VMIN])                                  
 2006070:	80 a0 60 00 	cmp  %g1, 0                                    
 2006074:	12 bf ff af 	bne  2005f30 <rtems_termios_ioctl+0x264>       
 2006078:	d0 27 60 70 	st  %o0, [ %i5 + 0x70 ]                        
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
 200607c:	10 bf ff ae 	b  2005f34 <rtems_termios_ioctl+0x268>         
 2006080:	d0 27 60 74 	st  %o0, [ %i5 + 0x74 ]                        
    break;                                                            
#endif                                                                
   case FIONREAD: {                                                   
      int rawnc = tty->rawInBuf.Tail - tty->rawInBuf.Head;            
      if ( rawnc < 0 )                                                
        rawnc += tty->rawInBuf.Size;                                  
 2006084:	c4 07 60 64 	ld  [ %i5 + 0x64 ], %g2                        <== NOT EXECUTED
 2006088:	10 bf ff b8 	b  2005f68 <rtems_termios_ioctl+0x29c>         <== NOT EXECUTED
 200608c:	82 00 40 02 	add  %g1, %g2, %g1                             <== 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) {                               
    tty->flow_ctrl |= FL_MDRTS;                                       
 2006090:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 2006094:	82 10 61 00 	or  %g1, 0x100, %g1                            <== NOT EXECUTED
 2006098:	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) {                                 
 200609c:	10 bf ff 92 	b  2005ee4 <rtems_termios_ioctl+0x218>         <== NOT EXECUTED
 20060a0:	c2 07 60 30 	ld  [ %i5 + 0x30 ], %g1                        <== NOT EXECUTED
        if (tty->termios.c_cc[VMIN])                                  
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        else                                                          
          tty->rawInBufSemaphoreFirstTimeout = tty->vtimeTicks;       
      } else {                                                        
        if (tty->termios.c_cc[VMIN]) {                                
 20060a4:	80 a0 60 00 	cmp  %g1, 0                                    
 20060a8:	32 bf ff a1 	bne,a   2005f2c <rtems_termios_ioctl+0x260>    <== NEVER TAKEN
 20060ac:	c0 27 60 6c 	clr  [ %i5 + 0x6c ]                            <== NOT EXECUTED
          tty->rawInBufSemaphoreOptions = RTEMS_WAIT;                 
          tty->rawInBufSemaphoreTimeout = RTEMS_NO_TIMEOUT;           
          tty->rawInBufSemaphoreFirstTimeout = RTEMS_NO_TIMEOUT;      
        } else {                                                      
          tty->rawInBufSemaphoreOptions = RTEMS_NO_WAIT;              
 20060b0:	82 10 20 01 	mov  1, %g1                                    
 20060b4:	10 bf ff a0 	b  2005f34 <rtems_termios_ioctl+0x268>         
 20060b8:	c2 27 60 6c 	st  %g1, [ %i5 + 0x6c ]                        
      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)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
 20060bc:	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)(                                         
 20060c0:	d2 07 60 7c 	ld  [ %i5 + 0x7c ], %o1                        <== NOT EXECUTED
 20060c4:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        <== NOT EXECUTED
 20060c8:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
 20060cc:	92 02 40 02 	add  %o1, %g2, %o1                             <== NOT EXECUTED
 20060d0:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 20060d4:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
 20060d8:	30 bf ff 56 	b,a   2005e30 <rtems_termios_ioctl+0x164>      <== NOT EXECUTED
                                                                      

0200568c <rtems_termios_open>: rtems_device_major_number major, rtems_device_minor_number minor, void *arg, const rtems_termios_callbacks *callbacks ) {
 200568c:	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(                                        
 2005690:	23 00 80 79 	sethi  %hi(0x201e400), %l1                     
 2005694:	d0 04 63 60 	ld  [ %l1 + 0x360 ], %o0	! 201e760 <rtems_termios_ttyMutex>
 2005698:	92 10 20 00 	clr  %o1                                       
 200569c:	94 10 20 00 	clr  %o2                                       
 20056a0:	40 00 09 c0 	call  2007da0 <rtems_semaphore_obtain>         
 20056a4:	b8 10 00 18 	mov  %i0, %i4                                  
    rtems_termios_ttyMutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);            
  if (sc != RTEMS_SUCCESSFUL)                                         
 20056a8:	80 a2 20 00 	cmp  %o0, 0                                    
 20056ac:	12 80 00 28 	bne  200574c <rtems_termios_open+0xc0>         <== NEVER TAKEN
 20056b0:	a0 10 00 08 	mov  %o0, %l0                                  
    return sc;                                                        
                                                                      
  for (tty = rtems_termios_ttyHead ; tty != NULL ; tty = tty->forw) { 
 20056b4:	25 00 80 79 	sethi  %hi(0x201e400), %l2                     
 20056b8:	f0 04 a3 68 	ld  [ %l2 + 0x368 ], %i0	! 201e768 <rtems_termios_ttyHead>
 20056bc:	80 a6 20 00 	cmp  %i0, 0                                    
 20056c0:	02 80 00 25 	be  2005754 <rtems_termios_open+0xc8>          
 20056c4:	ba 10 00 18 	mov  %i0, %i5                                  
    if ((tty->major == major) && (tty->minor == minor))               
 20056c8:	10 80 00 06 	b  20056e0 <rtems_termios_open+0x54>           
 20056cc:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %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) { 
 20056d0:	80 a7 60 00 	cmp  %i5, 0                                    
 20056d4:	02 80 00 21 	be  2005758 <rtems_termios_open+0xcc>          <== ALWAYS TAKEN
 20056d8:	90 10 20 01 	mov  1, %o0                                    
    if ((tty->major == major) && (tty->minor == minor))               
 20056dc:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         <== NOT EXECUTED
 20056e0:	80 a0 40 1c 	cmp  %g1, %i4                                  
 20056e4:	32 bf ff fb 	bne,a   20056d0 <rtems_termios_open+0x44>      
 20056e8:	fa 07 40 00 	ld  [ %i5 ], %i5                               
 20056ec:	c2 07 60 10 	ld  [ %i5 + 0x10 ], %g1                        
 20056f0:	80 a0 40 19 	cmp  %g1, %i1                                  
 20056f4:	32 bf ff f7 	bne,a   20056d0 <rtems_termios_open+0x44>      <== NEVER TAKEN
 20056f8:	fa 07 40 00 	ld  [ %i5 ], %i5                               <== NOT EXECUTED
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
 20056fc:	c4 06 80 00 	ld  [ %i2 ], %g2                               
  if (!tty->refcount++) {                                             
 2005700:	c2 07 60 08 	ld  [ %i5 + 8 ], %g1                           
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
                                                                      
  }                                                                   
  args->iop->data1 = tty;                                             
 2005704:	fa 20 a0 30 	st  %i5, [ %g2 + 0x30 ]                        
  if (!tty->refcount++) {                                             
 2005708:	84 00 60 01 	add  %g1, 1, %g2                               
 200570c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005710:	12 80 00 0d 	bne  2005744 <rtems_termios_open+0xb8>         
 2005714:	c4 27 60 08 	st  %g2, [ %i5 + 8 ]                           
    if (tty->device.firstOpen)                                        
 2005718:	c2 07 60 98 	ld  [ %i5 + 0x98 ], %g1                        
 200571c:	80 a0 60 00 	cmp  %g1, 0                                    
 2005720:	02 80 00 05 	be  2005734 <rtems_termios_open+0xa8>          
 2005724:	90 10 00 1c 	mov  %i4, %o0                                  
      (*tty->device.firstOpen)(major, minor, arg);                    
 2005728:	92 10 00 19 	mov  %i1, %o1                                  
 200572c:	9f c0 40 00 	call  %g1                                      
 2005730:	94 10 00 1a 	mov  %i2, %o2                                  
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
 2005734:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 2005738:	80 a0 60 02 	cmp  %g1, 2                                    
 200573c:	22 80 00 9e 	be,a   20059b4 <rtems_termios_open+0x328>      
 2005740:	d0 07 60 c4 	ld  [ %i5 + 0xc4 ], %o0                        
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
    }                                                                 
  }                                                                   
  rtems_semaphore_release (rtems_termios_ttyMutex);                   
 2005744:	40 00 09 e7 	call  2007ee0 <rtems_semaphore_release>        
 2005748:	d0 04 63 60 	ld  [ %l1 + 0x360 ], %o0                       
  return RTEMS_SUCCESSFUL;                                            
}                                                                     
 200574c:	81 c7 e0 08 	ret                                            
 2005750:	91 e8 00 10 	restore  %g0, %l0, %o0                         
    static char c = 'a';                                              
                                                                      
    /*                                                                
     * Create a new device                                            
     */                                                               
    tty = calloc (1, sizeof (struct rtems_termios_tty));              
 2005754:	90 10 20 01 	mov  1, %o0                                    
 2005758:	7f ff f7 b3 	call  2003624 <calloc>                         
 200575c:	92 10 20 e8 	mov  0xe8, %o1                                 
    if (tty == NULL) {                                                
 2005760:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2005764:	02 80 00 a9 	be  2005a08 <rtems_termios_open+0x37c>         
 2005768:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw input buffer                                      
     */                                                               
    tty->rawInBuf.Size = RAW_INPUT_BUFFER_SIZE;                       
 200576c:	c2 00 60 d8 	ld  [ %g1 + 0xd8 ], %g1	! 201dcd8 <rtems_termios_raw_input_size>
 2005770:	c2 27 60 64 	st  %g1, [ %i5 + 0x64 ]                        
    tty->rawInBuf.theBuf = malloc (tty->rawInBuf.Size);               
 2005774:	d0 07 60 64 	ld  [ %i5 + 0x64 ], %o0                        
 2005778:	7f ff f9 4f 	call  2003cb4 <malloc>                         
 200577c:	01 00 00 00 	nop                                            
 2005780:	d0 27 60 58 	st  %o0, [ %i5 + 0x58 ]                        
    if (tty->rawInBuf.theBuf == NULL) {                               
 2005784:	80 a2 20 00 	cmp  %o0, 0                                    
 2005788:	02 80 00 9e 	be  2005a00 <rtems_termios_open+0x374>         
 200578c:	a6 10 00 08 	mov  %o0, %l3                                  
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate raw output buffer                                     
     */                                                               
    tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;                     
 2005790:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 2005794:	c2 00 60 dc 	ld  [ %g1 + 0xdc ], %g1	! 201dcdc <rtems_termios_raw_output_size>
 2005798:	c2 27 60 88 	st  %g1, [ %i5 + 0x88 ]                        
    tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);             
 200579c:	d0 07 60 88 	ld  [ %i5 + 0x88 ], %o0                        
 20057a0:	7f ff f9 45 	call  2003cb4 <malloc>                         
 20057a4:	01 00 00 00 	nop                                            
 20057a8:	d0 27 60 7c 	st  %o0, [ %i5 + 0x7c ]                        
    if (tty->rawOutBuf.theBuf == NULL) {                              
 20057ac:	80 a2 20 00 	cmp  %o0, 0                                    
 20057b0:	02 80 00 92 	be  20059f8 <rtems_termios_open+0x36c>         
 20057b4:	a8 10 00 08 	mov  %o0, %l4                                  
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
 20057b8:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 20057bc:	7f ff f9 3e 	call  2003cb4 <malloc>                         
 20057c0:	d0 00 60 e0 	ld  [ %g1 + 0xe0 ], %o0	! 201dce0 <rtems_termios_cbufsize>
    if (tty->cbuf == NULL) {                                          
 20057c4:	80 a2 20 00 	cmp  %o0, 0                                    
 20057c8:	02 80 00 8a 	be  20059f0 <rtems_termios_open+0x364>         
 20057cc:	d0 27 60 1c 	st  %o0, [ %i5 + 0x1c ]                        
      return RTEMS_NO_MEMORY;                                         
    }                                                                 
    /*                                                                
     * Initialize wakeup callbacks                                    
     */                                                               
    tty->tty_snd.sw_pfn = NULL;                                       
 20057d0:	c0 27 60 d4 	clr  [ %i5 + 0xd4 ]                            
    tty->tty_snd.sw_arg = NULL;                                       
 20057d4:	c0 27 60 d8 	clr  [ %i5 + 0xd8 ]                            
    tty->tty_rcv.sw_pfn = NULL;                                       
 20057d8:	c0 27 60 dc 	clr  [ %i5 + 0xdc ]                            
    tty->tty_rcv.sw_arg = NULL;                                       
 20057dc:	c0 27 60 e0 	clr  [ %i5 + 0xe0 ]                            
    tty->tty_rcvwakeup  = 0;                                          
 20057e0:	c0 27 60 e4 	clr  [ %i5 + 0xe4 ]                            
                                                                      
    /*                                                                
     * link tty                                                       
     */                                                               
    tty->forw = rtems_termios_ttyHead;                                
 20057e4:	f0 27 40 00 	st  %i0, [ %i5 ]                               
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
 20057e8:	80 a6 20 00 	cmp  %i0, 0                                    
 20057ec:	02 80 00 03 	be  20057f8 <rtems_termios_open+0x16c>         
 20057f0:	c0 27 60 04 	clr  [ %i5 + 4 ]                               
      rtems_termios_ttyHead->back = tty;                              
 20057f4:	fa 26 20 04 	st  %i5, [ %i0 + 4 ]                           
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
 20057f8:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 20057fc:	c4 00 63 64 	ld  [ %g1 + 0x364 ], %g2	! 201e764 <rtems_termios_ttyTail>
 2005800:	80 a0 a0 00 	cmp  %g2, 0                                    
 2005804:	02 80 00 ac 	be  2005ab4 <rtems_termios_open+0x428>         
 2005808:	fa 24 a3 68 	st  %i5, [ %l2 + 0x368 ]                       
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'i', c),                            
 200580c:	31 00 80 77 	sethi  %hi(0x201dc00), %i0                     
 2005810:	d0 4e 20 e4 	ldsb  [ %i0 + 0xe4 ], %o0	! 201dce4 <c.6816>   
    tty->major = major;                                               
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
 2005814:	03 15 14 9a 	sethi  %hi(0x54526800), %g1                    
 2005818:	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;                                               
 200581c:	f2 27 60 10 	st  %i1, [ %i5 + 0x10 ]                        
    tty->major = major;                                               
 2005820:	f8 27 60 0c 	st  %i4, [ %i5 + 0xc ]                         
                                                                      
    /*                                                                
     * Set up mutex semaphores                                        
     */                                                               
    sc = rtems_semaphore_create (                                     
 2005824:	92 10 20 01 	mov  1, %o1                                    
 2005828:	94 10 20 54 	mov  0x54, %o2                                 
 200582c:	90 12 00 01 	or  %o0, %g1, %o0                              
 2005830:	96 10 20 00 	clr  %o3                                       
 2005834:	40 00 08 b2 	call  2007afc <rtems_semaphore_create>         
 2005838:	98 07 60 14 	add  %i5, 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)                                       
 200583c:	80 a2 20 00 	cmp  %o0, 0                                    
 2005840:	12 80 00 84 	bne  2005a50 <rtems_termios_open+0x3c4>        
 2005844:	03 15 14 9b 	sethi  %hi(0x54526c00), %g1                    
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'o', c),                            
 2005848:	d0 4e 20 e4 	ldsb  [ %i0 + 0xe4 ], %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 (                                     
 200584c:	82 10 63 00 	or  %g1, 0x300, %g1                            
 2005850:	92 10 20 01 	mov  1, %o1                                    
 2005854:	94 10 20 54 	mov  0x54, %o2                                 
 2005858:	90 12 00 01 	or  %o0, %g1, %o0                              
 200585c:	96 10 20 00 	clr  %o3                                       
 2005860:	40 00 08 a7 	call  2007afc <rtems_semaphore_create>         
 2005864:	98 07 60 18 	add  %i5, 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)                                       
 2005868:	80 a2 20 00 	cmp  %o0, 0                                    
 200586c:	12 80 00 79 	bne  2005a50 <rtems_termios_open+0x3c4>        
 2005870:	03 15 14 9e 	sethi  %hi(0x54527800), %g1                    
      rtems_fatal_error_occurred (sc);                                
    sc = rtems_semaphore_create (                                     
      rtems_build_name ('T', 'R', 'x', c),                            
 2005874:	d0 4e 20 e4 	ldsb  [ %i0 + 0xe4 ], %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 (                                     
 2005878:	92 10 20 00 	clr  %o1                                       
 200587c:	90 12 00 01 	or  %o0, %g1, %o0                              
 2005880:	94 10 20 20 	mov  0x20, %o2                                 
 2005884:	96 10 20 00 	clr  %o3                                       
 2005888:	40 00 08 9d 	call  2007afc <rtems_semaphore_create>         
 200588c:	98 07 60 8c 	add  %i5, 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)                                       
 2005890:	80 a2 20 00 	cmp  %o0, 0                                    
 2005894:	12 80 00 6f 	bne  2005a50 <rtems_termios_open+0x3c4>        
 2005898:	92 10 00 1b 	mov  %i3, %o1                                  
      rtems_fatal_error_occurred (sc);                                
    tty->rawOutBufState = rob_idle;                                   
 200589c:	c0 27 60 94 	clr  [ %i5 + 0x94 ]                            
                                                                      
    /*                                                                
     * Set callbacks                                                  
     */                                                               
    tty->device = *callbacks;                                         
 20058a0:	90 07 60 98 	add  %i5, 0x98, %o0                            
 20058a4:	40 00 2e 1b 	call  2011110 <memcpy>                         
 20058a8:	94 10 20 20 	mov  0x20, %o2                                 
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
 20058ac:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 20058b0:	80 a0 60 02 	cmp  %g1, 2                                    
 20058b4:	02 80 00 69 	be  2005a58 <rtems_termios_open+0x3cc>         
 20058b8:	d0 4e 20 e4 	ldsb  [ %i0 + 0xe4 ], %o0                      
           &tty->rxTaskId);                                           
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
 20058bc:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
 20058c0:	80 a0 60 00 	cmp  %g1, 0                                    
 20058c4:	02 80 00 58 	be  2005a24 <rtems_termios_open+0x398>         
 20058c8:	d0 4e 20 e4 	ldsb  [ %i0 + 0xe4 ], %o0                      
 20058cc:	c2 07 60 b4 	ld  [ %i5 + 0xb4 ], %g1                        
 20058d0:	80 a0 60 02 	cmp  %g1, 2                                    
 20058d4:	02 80 00 55 	be  2005a28 <rtems_termios_open+0x39c>         
 20058d8:	03 15 14 9c 	sethi  %hi(0x54527000), %g1                    
    tty->termios.c_cc[VDISCARD] = '\017';                             
    tty->termios.c_cc[VWERASE] = '\027';                              
    tty->termios.c_cc[VLNEXT] = '\026';                               
                                                                      
    /* start with no flow control, clear flow control flags */        
    tty->flow_ctrl = 0;                                               
 20058dc:	c0 27 60 b8 	clr  [ %i5 + 0xb8 ]                            
    /*                                                                
     * set low/highwater mark for XON/XOFF support                    
     */                                                               
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
 20058e0:	c4 07 60 64 	ld  [ %i5 + 0x64 ], %g2                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
 20058e4:	c2 07 60 64 	ld  [ %i5 + 0x64 ], %g1                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
 20058e8:	c6 4e 20 e4 	ldsb  [ %i0 + 0xe4 ], %g3                      
    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;                        
 20058ec:	89 28 60 01 	sll  %g1, 1, %g4                               
 20058f0:	82 01 00 01 	add  %g4, %g1, %g1                             
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
    tty->termios.c_oflag = OPOST | ONLCR | XTABS;                     
 20058f4:	09 00 00 06 	sethi  %hi(0x1800), %g4                        
 20058f8:	88 11 20 05 	or  %g4, 5, %g4	! 1805 <PROM_START+0x1805>     
 20058fc:	c8 27 60 34 	st  %g4, [ %i5 + 0x34 ]                        
    tty->termios.c_cflag = B9600 | CS8 | CREAD | CLOCAL;              
 2005900:	88 10 28 bd 	mov  0x8bd, %g4                                
 2005904:	c8 27 60 38 	st  %g4, [ %i5 + 0x38 ]                        
    tty->termios.c_lflag =                                            
 2005908:	09 00 00 20 	sethi  %hi(0x8000), %g4                        
 200590c:	88 11 22 3b 	or  %g4, 0x23b, %g4	! 823b <PROM_START+0x823b> 
 2005910:	c8 27 60 3c 	st  %g4, [ %i5 + 0x3c ]                        
       ISIG | ICANON | IEXTEN | ECHO | ECHOK | ECHOE | ECHOCTL;       
                                                                      
    tty->termios.c_cc[VINTR] = '\003';                                
 2005914:	88 10 20 03 	mov  3, %g4                                    
 2005918:	c8 2f 60 41 	stb  %g4, [ %i5 + 0x41 ]                       
    tty->termios.c_cc[VQUIT] = '\034';                                
 200591c:	88 10 20 1c 	mov  0x1c, %g4                                 
 2005920:	c8 2f 60 42 	stb  %g4, [ %i5 + 0x42 ]                       
    tty->termios.c_cc[VERASE] = '\177';                               
 2005924:	88 10 20 7f 	mov  0x7f, %g4                                 
 2005928:	c8 2f 60 43 	stb  %g4, [ %i5 + 0x43 ]                       
    tty->termios.c_cc[VKILL] = '\025';                                
 200592c:	88 10 20 15 	mov  0x15, %g4                                 
 2005930:	c8 2f 60 44 	stb  %g4, [ %i5 + 0x44 ]                       
    tty->termios.c_cc[VEOF] = '\004';                                 
 2005934:	88 10 20 04 	mov  4, %g4                                    
 2005938:	c8 2f 60 45 	stb  %g4, [ %i5 + 0x45 ]                       
    tty->termios.c_cc[VEOL] = '\000';                                 
    tty->termios.c_cc[VEOL2] = '\000';                                
    tty->termios.c_cc[VSTART] = '\021';                               
 200593c:	88 10 20 11 	mov  0x11, %g4                                 
 2005940:	c8 2f 60 49 	stb  %g4, [ %i5 + 0x49 ]                       
    tty->termios.c_cc[VSTOP] = '\023';                                
 2005944:	88 10 20 13 	mov  0x13, %g4                                 
 2005948:	c8 2f 60 4a 	stb  %g4, [ %i5 + 0x4a ]                       
    tty->termios.c_cc[VSUSP] = '\032';                                
 200594c:	88 10 20 1a 	mov  0x1a, %g4                                 
 2005950:	c8 2f 60 4b 	stb  %g4, [ %i5 + 0x4b ]                       
    tty->termios.c_cc[VREPRINT] = '\022';                             
 2005954:	88 10 20 12 	mov  0x12, %g4                                 
 2005958:	c8 2f 60 4d 	stb  %g4, [ %i5 + 0x4d ]                       
    tty->termios.c_cc[VDISCARD] = '\017';                             
 200595c:	88 10 20 0f 	mov  0xf, %g4                                  
 2005960:	c8 2f 60 4e 	stb  %g4, [ %i5 + 0x4e ]                       
    tty->termios.c_cc[VWERASE] = '\027';                              
 2005964:	88 10 20 17 	mov  0x17, %g4                                 
    /* 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;                        
 2005968:	85 30 a0 01 	srl  %g2, 1, %g2                               
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
 200596c:	83 30 60 02 	srl  %g1, 2, %g1                               
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
 2005970:	37 00 00 09 	sethi  %hi(0x2400), %i3                        
    tty->termios.c_cc[VSTART] = '\021';                               
    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';                              
 2005974:	c8 2f 60 4f 	stb  %g4, [ %i5 + 0x4f ]                       
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
 2005978:	b6 16 e1 02 	or  %i3, 0x102, %i3                            
    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';                               
 200597c:	88 10 20 16 	mov  0x16, %g4                                 
    /* 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;                        
 2005980:	c4 27 60 bc 	st  %g2, [ %i5 + 0xbc ]                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
 2005984:	c2 27 60 c0 	st  %g1, [ %i5 + 0xc0 ]                        
    }                                                                 
                                                                      
    /*                                                                
     * Set default parameters                                         
     */                                                               
    tty->termios.c_iflag = BRKINT | ICRNL | IXON | IMAXBEL;           
 2005988:	f6 27 60 30 	st  %i3, [ %i5 + 0x30 ]                        
    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';                                 
 200598c:	c0 2f 60 4c 	clrb  [ %i5 + 0x4c ]                           
    tty->termios.c_cc[VEOL2] = '\000';                                
 2005990:	c0 2f 60 51 	clrb  [ %i5 + 0x51 ]                           
    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';                               
 2005994:	c8 2f 60 50 	stb  %g4, [ %i5 + 0x50 ]                       
    tty->lowwater  = tty->rawInBuf.Size * 1/2;                        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
 2005998:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 200599c:	80 a0 e0 7a 	cmp  %g3, 0x7a                                 
 20059a0:	02 80 00 1e 	be  2005a18 <rtems_termios_open+0x38c>         
 20059a4:	c4 0e 20 e4 	ldub  [ %i0 + 0xe4 ], %g2                      
 20059a8:	84 00 a0 01 	inc  %g2                                       
 20059ac:	10 bf ff 54 	b  20056fc <rtems_termios_open+0x70>           
 20059b0:	c4 28 60 e4 	stb  %g2, [ %g1 + 0xe4 ]                       
                                                                      
    /*                                                                
     * start I/O tasks, if needed                                     
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_start(                                          
 20059b4:	94 10 00 1d 	mov  %i5, %o2                                  
 20059b8:	13 00 80 1c 	sethi  %hi(0x2007000), %o1                     
 20059bc:	40 00 0a 18 	call  200821c <rtems_task_start>               
 20059c0:	92 12 60 88 	or  %o1, 0x88, %o1	! 2007088 <rtems_termios_rxdaemon>
        tty->rxTaskId, rtems_termios_rxdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
 20059c4:	80 a2 20 00 	cmp  %o0, 0                                    
 20059c8:	12 80 00 22 	bne  2005a50 <rtems_termios_open+0x3c4>        <== NEVER TAKEN
 20059cc:	94 10 00 1d 	mov  %i5, %o2                                  
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
 20059d0:	d0 07 60 c8 	ld  [ %i5 + 0xc8 ], %o0                        
 20059d4:	13 00 80 15 	sethi  %hi(0x2005400), %o1                     
 20059d8:	40 00 0a 11 	call  200821c <rtems_task_start>               
 20059dc:	92 12 61 a0 	or  %o1, 0x1a0, %o1	! 20055a0 <rtems_termios_txdaemon>
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
 20059e0:	80 a2 20 00 	cmp  %o0, 0                                    
 20059e4:	02 bf ff 58 	be  2005744 <rtems_termios_open+0xb8>          <== ALWAYS TAKEN
 20059e8:	01 00 00 00 	nop                                            
 20059ec:	30 80 00 19 	b,a   2005a50 <rtems_termios_open+0x3c4>       <== NOT EXECUTED
    /*                                                                
     * allocate cooked buffer                                         
     */                                                               
    tty->cbuf  = malloc (CBUFSIZE);                                   
    if (tty->cbuf == NULL) {                                          
            free((void *)(tty->rawOutBuf.theBuf));                    
 20059f0:	7f ff f7 bd 	call  20038e4 <free>                           
 20059f4:	90 10 00 14 	mov  %l4, %o0                                  
            free((void *)(tty->rawInBuf.theBuf));                     
 20059f8:	7f ff f7 bb 	call  20038e4 <free>                           
 20059fc:	90 10 00 13 	mov  %l3, %o0                                  
            free(tty);                                                
 2005a00:	7f ff f7 b9 	call  20038e4 <free>                           
 2005a04:	90 10 00 1d 	mov  %i5, %o0                                  
      rtems_semaphore_release (rtems_termios_ttyMutex);               
 2005a08:	d0 04 63 60 	ld  [ %l1 + 0x360 ], %o0                       
 2005a0c:	40 00 09 35 	call  2007ee0 <rtems_semaphore_release>        
 2005a10:	a0 10 20 1a 	mov  0x1a, %l0                                 
      return RTEMS_NO_MEMORY;                                         
 2005a14:	30 bf ff 4e 	b,a   200574c <rtems_termios_open+0xc0>        
    tty->highwater = tty->rawInBuf.Size * 3/4;                        
    /*                                                                
     * Bump name characer                                             
     */                                                               
    if (c++ == 'z')                                                   
      c = 'a';                                                        
 2005a18:	84 10 20 61 	mov  0x61, %g2                                 
 2005a1c:	10 bf ff 38 	b  20056fc <rtems_termios_open+0x70>           
 2005a20:	c4 28 60 e4 	stb  %g2, [ %g1 + 0xe4 ]                       
        rtems_fatal_error_occurred (sc);                              
                                                                      
    }                                                                 
    if ((tty->device.pollRead == NULL) ||                             
        (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN)){   
      sc = rtems_semaphore_create (                                   
 2005a24:	03 15 14 9c 	sethi  %hi(0x54527000), %g1                    
 2005a28:	82 10 62 00 	or  %g1, 0x200, %g1	! 54527200 <RAM_END+0x52127200>
 2005a2c:	92 10 20 00 	clr  %o1                                       
 2005a30:	94 10 20 24 	mov  0x24, %o2                                 
 2005a34:	90 12 00 01 	or  %o0, %g1, %o0                              
 2005a38:	96 10 20 00 	clr  %o3                                       
 2005a3c:	40 00 08 30 	call  2007afc <rtems_semaphore_create>         
 2005a40:	98 07 60 68 	add  %i5, 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)                                     
 2005a44:	80 a2 20 00 	cmp  %o0, 0                                    
 2005a48:	02 bf ff a5 	be  20058dc <rtems_termios_open+0x250>         <== ALWAYS TAKEN
 2005a4c:	01 00 00 00 	nop                                            
        rtems_fatal_error_occurred (sc);                              
                                                                      
      sc = rtems_task_start(                                          
        tty->txTaskId, rtems_termios_txdaemon, (rtems_task_argument)tty);
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
 2005a50:	40 00 0a a1 	call  20084d4 <rtems_fatal_error_occurred>     
 2005a54:	01 00 00 00 	nop                                            
                                                                      
    /*                                                                
     * Create I/O tasks                                               
     */                                                               
    if (tty->device.outputUsesInterrupts == TERMIOS_TASK_DRIVEN) {    
      sc = rtems_task_create (                                        
 2005a58:	03 15 1e 15 	sethi  %hi(0x54785400), %g1                    
 2005a5c:	92 10 20 0a 	mov  0xa, %o1                                  
 2005a60:	90 12 00 01 	or  %o0, %g1, %o0                              
 2005a64:	94 10 24 00 	mov  0x400, %o2                                
 2005a68:	96 10 25 00 	mov  0x500, %o3                                
 2005a6c:	98 10 20 00 	clr  %o4                                       
 2005a70:	40 00 09 47 	call  2007f8c <rtems_task_create>              
 2005a74:	9a 07 60 c8 	add  %i5, 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)                                     
 2005a78:	80 a2 20 00 	cmp  %o0, 0                                    
 2005a7c:	12 bf ff f5 	bne  2005a50 <rtems_termios_open+0x3c4>        <== NEVER TAKEN
 2005a80:	03 14 9e 15 	sethi  %hi(0x52785400), %g1                    
        rtems_fatal_error_occurred (sc);                              
      sc = rtems_task_create (                                        
                                   rtems_build_name ('R', 'x', 'T', c),
 2005a84:	d0 4e 20 e4 	ldsb  [ %i0 + 0xe4 ], %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 (                                        
 2005a88:	92 10 20 09 	mov  9, %o1                                    
 2005a8c:	90 12 00 01 	or  %o0, %g1, %o0                              
 2005a90:	94 10 24 00 	mov  0x400, %o2                                
 2005a94:	96 10 25 00 	mov  0x500, %o3                                
 2005a98:	98 10 20 00 	clr  %o4                                       
 2005a9c:	40 00 09 3c 	call  2007f8c <rtems_task_create>              
 2005aa0:	9a 07 60 c4 	add  %i5, 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)                                     
 2005aa4:	80 a2 20 00 	cmp  %o0, 0                                    
 2005aa8:	22 bf ff 86 	be,a   20058c0 <rtems_termios_open+0x234>      <== ALWAYS TAKEN
 2005aac:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
 2005ab0:	30 bf ff e8 	b,a   2005a50 <rtems_termios_open+0x3c4>       <== NOT EXECUTED
    tty->back = NULL;                                                 
    if (rtems_termios_ttyHead != NULL)                                
      rtems_termios_ttyHead->back = tty;                              
    rtems_termios_ttyHead = tty;                                      
    if (rtems_termios_ttyTail == NULL)                                
      rtems_termios_ttyTail = tty;                                    
 2005ab4:	10 bf ff 56 	b  200580c <rtems_termios_open+0x180>          
 2005ab8:	fa 20 63 64 	st  %i5, [ %g1 + 0x364 ]                       
                                                                      

020060dc <rtems_termios_puts>: * Send characters to device-specific code */ void rtems_termios_puts ( const void *_buf, size_t len, struct rtems_termios_tty *tty) {
 20060dc:	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) {           
 20060e0:	c2 06 a0 b4 	ld  [ %i2 + 0xb4 ], %g1                        
 20060e4:	80 a0 60 00 	cmp  %g1, 0                                    
 20060e8:	22 80 00 44 	be,a   20061f8 <rtems_termios_puts+0x11c>      
 20060ec:	c2 06 a0 a4 	ld  [ %i2 + 0xa4 ], %g1                        
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
 20060f0:	e0 06 a0 80 	ld  [ %i2 + 0x80 ], %l0                        
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
    rtems_interrupt_disable (level);                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
      tty->rawOutBufState = rob_wait;                                 
 20060f4:	b6 10 20 02 	mov  2, %i3                                    
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
 20060f8:	80 a6 60 00 	cmp  %i1, 0                                    
 20060fc:	02 80 00 34 	be  20061cc <rtems_termios_puts+0xf0>          <== NEVER TAKEN
 2006100:	a2 10 20 01 	mov  1, %l1                                    
     *  len -= ncopy                                                  
     *                                                                
     * To minimize latency, the memcpy should be done                 
     * with interrupts enabled.                                       
     */                                                               
    newHead = (newHead + 1) % tty->rawOutBuf.Size;                    
 2006104:	d2 06 a0 88 	ld  [ %i2 + 0x88 ], %o1                        
 2006108:	40 00 4d e5 	call  201989c <.urem>                          
 200610c:	90 04 20 01 	add  %l0, 1, %o0                               
    rtems_interrupt_disable (level);                                  
 2006110:	7f ff f1 95 	call  2002764 <sparc_disable_interrupts>       
 2006114:	a0 10 00 08 	mov  %o0, %l0                                  
 2006118:	ba 10 00 08 	mov  %o0, %i5                                  
    while (newHead == tty->rawOutBuf.Tail) {                          
 200611c:	f8 06 a0 84 	ld  [ %i2 + 0x84 ], %i4                        
 2006120:	80 a7 00 10 	cmp  %i4, %l0                                  
 2006124:	32 80 00 14 	bne,a   2006174 <rtems_termios_puts+0x98>      
 2006128:	c6 0e 00 00 	ldub  [ %i0 ], %g3                             
      tty->rawOutBufState = rob_wait;                                 
 200612c:	f6 26 a0 94 	st  %i3, [ %i2 + 0x94 ]                        
      rtems_interrupt_enable (level);                                 
 2006130:	7f ff f1 91 	call  2002774 <sparc_enable_interrupts>        
 2006134:	90 10 00 1d 	mov  %i5, %o0                                  
      sc = rtems_semaphore_obtain(                                    
 2006138:	d0 06 a0 8c 	ld  [ %i2 + 0x8c ], %o0                        
 200613c:	92 10 20 00 	clr  %o1                                       
 2006140:	40 00 07 18 	call  2007da0 <rtems_semaphore_obtain>         
 2006144:	94 10 20 00 	clr  %o2                                       
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
 2006148:	80 a2 20 00 	cmp  %o0, 0                                    
 200614c:	12 80 00 31 	bne  2006210 <rtems_termios_puts+0x134>        <== NEVER TAKEN
 2006150:	01 00 00 00 	nop                                            
        rtems_fatal_error_occurred (sc);                              
      rtems_interrupt_disable (level);                                
 2006154:	7f ff f1 84 	call  2002764 <sparc_disable_interrupts>       
 2006158:	01 00 00 00 	nop                                            
 200615c:	ba 10 00 08 	mov  %o0, %i5                                  
     * 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) {                          
 2006160:	c2 06 a0 84 	ld  [ %i2 + 0x84 ], %g1                        
 2006164:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2006168:	22 bf ff f2 	be,a   2006130 <rtems_termios_puts+0x54>       <== NEVER TAKEN
 200616c:	f6 26 a0 94 	st  %i3, [ %i2 + 0x94 ]                        <== NOT EXECUTED
        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++;              
 2006170:	c6 0e 00 00 	ldub  [ %i0 ], %g3                             
 2006174:	c2 06 a0 80 	ld  [ %i2 + 0x80 ], %g1                        
 2006178:	c4 06 a0 7c 	ld  [ %i2 + 0x7c ], %g2                        
 200617c:	b0 06 20 01 	inc  %i0                                       
 2006180:	c6 28 80 01 	stb  %g3, [ %g2 + %g1 ]                        
    tty->rawOutBuf.Head = newHead;                                    
    if (tty->rawOutBufState == rob_idle) {                            
 2006184:	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;                                    
 2006188:	e0 26 a0 80 	st  %l0, [ %i2 + 0x80 ]                        
    if (tty->rawOutBufState == rob_idle) {                            
 200618c:	80 a0 60 00 	cmp  %g1, 0                                    
 2006190:	12 80 00 0a 	bne  20061b8 <rtems_termios_puts+0xdc>         
 2006194:	01 00 00 00 	nop                                            
      /* check, whether XOFF has been received */                     
      if (!(tty->flow_ctrl & FL_ORCVXOF)) {                           
 2006198:	c2 06 a0 b8 	ld  [ %i2 + 0xb8 ], %g1                        
 200619c:	80 88 60 10 	btst  0x10, %g1                                
 20061a0:	02 80 00 0d 	be  20061d4 <rtems_termios_puts+0xf8>          <== ALWAYS TAKEN
 20061a4:	01 00 00 00 	nop                                            
        (*tty->device.write)(                                         
          tty->minor, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
      } else {                                                        
        /* remember that output has been stopped due to flow ctrl*/   
        tty->flow_ctrl |= FL_OSTOP;                                   
 20061a8:	c2 06 a0 b8 	ld  [ %i2 + 0xb8 ], %g1                        <== NOT EXECUTED
 20061ac:	82 10 60 20 	or  %g1, 0x20, %g1                             <== NOT EXECUTED
 20061b0:	c2 26 a0 b8 	st  %g1, [ %i2 + 0xb8 ]                        <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy;                                 
 20061b4:	e2 26 a0 94 	st  %l1, [ %i2 + 0x94 ]                        <== NOT EXECUTED
    }                                                                 
    rtems_interrupt_enable (level);                                   
 20061b8:	7f ff f1 6f 	call  2002774 <sparc_enable_interrupts>        
 20061bc:	90 10 00 1d 	mov  %i5, %o0                                  
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
    return;                                                           
  }                                                                   
  newHead = tty->rawOutBuf.Head;                                      
  while (len) {                                                       
 20061c0:	b2 86 7f ff 	addcc  %i1, -1, %i1                            
 20061c4:	12 bf ff d0 	bne  2006104 <rtems_termios_puts+0x28>         
 20061c8:	01 00 00 00 	nop                                            
 20061cc:	81 c7 e0 08 	ret                                            
 20061d0:	81 e8 00 00 	restore                                        
    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, &tty->rawOutBuf.theBuf[tty->rawOutBuf.Tail],1); 
 20061d4:	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)(                                         
 20061d8:	d2 06 a0 7c 	ld  [ %i2 + 0x7c ], %o1                        
 20061dc:	c2 06 a0 a4 	ld  [ %i2 + 0xa4 ], %g1                        
 20061e0:	d0 06 a0 10 	ld  [ %i2 + 0x10 ], %o0                        
 20061e4:	92 02 40 02 	add  %o1, %g2, %o1                             
 20061e8:	9f c0 40 00 	call  %g1                                      
 20061ec:	94 10 20 01 	mov  1, %o2                                    
          tty->minor, &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;                                 
 20061f0:	10 bf ff f2 	b  20061b8 <rtems_termios_puts+0xdc>           
 20061f4:	e2 26 a0 94 	st  %l1, [ %i2 + 0x94 ]                        
  unsigned int newHead;                                               
  rtems_interrupt_level level;                                        
  rtems_status_code sc;                                               
                                                                      
  if (tty->device.outputUsesInterrupts == TERMIOS_POLLED) {           
    (*tty->device.write)(tty->minor, buf, len);                       
 20061f8:	d0 06 a0 10 	ld  [ %i2 + 0x10 ], %o0                        
 20061fc:	92 10 00 18 	mov  %i0, %o1                                  
 2006200:	9f c0 40 00 	call  %g1                                      
 2006204:	94 10 00 19 	mov  %i1, %o2                                  
    return;                                                           
 2006208:	81 c7 e0 08 	ret                                            
 200620c:	81 e8 00 00 	restore                                        
      tty->rawOutBufState = rob_wait;                                 
      rtems_interrupt_enable (level);                                 
      sc = rtems_semaphore_obtain(                                    
        tty->rawOutBuf.Semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT);      
      if (sc != RTEMS_SUCCESSFUL)                                     
        rtems_fatal_error_occurred (sc);                              
 2006210:	40 00 08 b1 	call  20084d4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
                                                                      

0200696c <rtems_termios_read>: return RTEMS_SUCCESSFUL; } rtems_status_code rtems_termios_read (void *arg) {
 200696c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
 2006970:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  uint32_t   count = args->count;                                     
 2006974:	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;                   
 2006978:	fa 00 60 30 	ld  [ %g1 + 0x30 ], %i5                        
  uint32_t   count = args->count;                                     
  char      *buffer = args->buffer;                                   
 200697c:	e4 06 20 10 	ld  [ %i0 + 0x10 ], %l2                        
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->isem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 2006980:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
 2006984:	92 10 20 00 	clr  %o1                                       
 2006988:	40 00 05 06 	call  2007da0 <rtems_semaphore_obtain>         
 200698c:	94 10 20 00 	clr  %o2                                       
  if (sc != RTEMS_SUCCESSFUL)                                         
 2006990:	a0 92 20 00 	orcc  %o0, 0, %l0                              
 2006994:	12 80 00 10 	bne  20069d4 <rtems_termios_read+0x68>         <== NEVER TAKEN
 2006998:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
    return sc;                                                        
                                                                      
  if (rtems_termios_linesw[tty->t_line].l_read != NULL) {             
 200699c:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
 20069a0:	85 28 a0 05 	sll  %g2, 5, %g2                               
 20069a4:	82 10 63 ac 	or  %g1, 0x3ac, %g1                            
 20069a8:	82 00 40 02 	add  %g1, %g2, %g1                             
 20069ac:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 20069b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20069b4:	02 80 00 0a 	be  20069dc <rtems_termios_read+0x70>          
 20069b8:	90 10 00 1d 	mov  %i5, %o0                                  
    sc = rtems_termios_linesw[tty->t_line].l_read(tty,args);          
 20069bc:	9f c0 40 00 	call  %g1                                      
 20069c0:	92 10 00 18 	mov  %i0, %o1                                  
 20069c4:	a0 10 00 08 	mov  %o0, %l0                                  
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
 20069c8:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
 20069cc:	40 00 05 45 	call  2007ee0 <rtems_semaphore_release>        
 20069d0:	c0 27 60 e4 	clr  [ %i5 + 0xe4 ]                            
  }                                                                   
  args->bytes_moved = args->count - count;                            
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
  return sc;                                                          
}                                                                     
 20069d4:	81 c7 e0 08 	ret                                            
 20069d8:	91 e8 00 10 	restore  %g0, %l0, %o0                         
    tty->tty_rcvwakeup = 0;                                           
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
 20069dc:	c4 07 60 24 	ld  [ %i5 + 0x24 ], %g2                        
 20069e0:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 20069e4:	80 a0 80 01 	cmp  %g2, %g1                                  
 20069e8:	22 80 00 21 	be,a   2006a6c <rtems_termios_read+0x100>      <== ALWAYS TAKEN
 20069ec:	c4 07 60 28 	ld  [ %i5 + 0x28 ], %g2                        
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
 20069f0:	80 a6 e0 00 	cmp  %i3, 0                                    
 20069f4:	22 80 00 15 	be,a   2006a48 <rtems_termios_read+0xdc>       <== NEVER TAKEN
 20069f8:	b6 10 20 00 	clr  %i3                                       <== NOT EXECUTED
 20069fc:	c2 07 60 24 	ld  [ %i5 + 0x24 ], %g1                        
 2006a00:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
 2006a04:	80 a0 40 02 	cmp  %g1, %g2                                  
 2006a08:	36 80 00 11 	bge,a   2006a4c <rtems_termios_read+0xe0>      
 2006a0c:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
 2006a10:	10 80 00 06 	b  2006a28 <rtems_termios_read+0xbc>           
 2006a14:	a4 24 80 01 	sub  %l2, %g1, %l2                             
 2006a18:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
 2006a1c:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006a20:	24 80 00 0b 	ble,a   2006a4c <rtems_termios_read+0xe0>      
 2006a24:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
    *buffer++ = tty->cbuf[tty->cindex++];                             
 2006a28:	c4 07 60 1c 	ld  [ %i5 + 0x1c ], %g2                        
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
 2006a2c:	b6 86 ff ff 	addcc  %i3, -1, %i3                            
    *buffer++ = tty->cbuf[tty->cindex++];                             
 2006a30:	c4 08 80 01 	ldub  [ %g2 + %g1 ], %g2                       
 2006a34:	c4 2c 80 01 	stb  %g2, [ %l2 + %g1 ]                        
 2006a38:	82 00 60 01 	inc  %g1                                       
      sc = fillBufferQueue (tty);                                     
                                                                      
    if (sc != RTEMS_SUCCESSFUL)                                       
      tty->cindex = tty->ccount = 0;                                  
  }                                                                   
  while (count && (tty->cindex < tty->ccount)) {                      
 2006a3c:	12 bf ff f7 	bne  2006a18 <rtems_termios_read+0xac>         
 2006a40:	c2 27 60 24 	st  %g1, [ %i5 + 0x24 ]                        
 2006a44:	b6 10 20 00 	clr  %i3                                       
    *buffer++ = tty->cbuf[tty->cindex++];                             
    count--;                                                          
  }                                                                   
  args->bytes_moved = args->count - count;                            
 2006a48:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
  tty->tty_rcvwakeup = 0;                                             
  rtems_semaphore_release (tty->isem);                                
 2006a4c:	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;                            
 2006a50:	b6 20 40 1b 	sub  %g1, %i3, %i3                             
 2006a54:	f6 26 20 1c 	st  %i3, [ %i0 + 0x1c ]                        
  tty->tty_rcvwakeup = 0;                                             
 2006a58:	c0 27 60 e4 	clr  [ %i5 + 0xe4 ]                            
  rtems_semaphore_release (tty->isem);                                
 2006a5c:	40 00 05 21 	call  2007ee0 <rtems_semaphore_release>        
 2006a60:	b0 10 00 10 	mov  %l0, %i0                                  
  return sc;                                                          
}                                                                     
 2006a64:	81 c7 e0 08 	ret                                            
 2006a68:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
 2006a6c:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
    rtems_semaphore_release (tty->isem);                              
    return sc;                                                        
  }                                                                   
                                                                      
  if (tty->cindex == tty->ccount) {                                   
    tty->cindex = tty->ccount = 0;                                    
 2006a70:	c0 27 60 20 	clr  [ %i5 + 0x20 ]                            
 2006a74:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
    tty->read_start_column = tty->column;                             
    if (tty->device.pollRead != NULL &&                               
 2006a78:	80 a0 60 00 	cmp  %g1, 0                                    
 2006a7c:	02 80 00 06 	be  2006a94 <rtems_termios_read+0x128>         
 2006a80:	c4 27 60 2c 	st  %g2, [ %i5 + 0x2c ]                        
 2006a84:	c4 07 60 b4 	ld  [ %i5 + 0xb4 ], %g2                        
 2006a88:	80 a0 a0 00 	cmp  %g2, 0                                    
 2006a8c:	22 80 00 6d 	be,a   2006c40 <rtems_termios_read+0x2d4>      
 2006a90:	c4 07 60 3c 	ld  [ %i5 + 0x3c ], %g2                        
 * Fill the input buffer from the raw input queue                     
 */                                                                   
static rtems_status_code                                              
fillBufferQueue (struct rtems_termios_tty *tty)                       
{                                                                     
  rtems_interval timeout = tty->rawInBufSemaphoreFirstTimeout;        
 2006a94:	f8 07 60 74 	ld  [ %i5 + 0x74 ], %i4                        
  rtems_status_code sc;                                               
  int               wait = 1;                                         
 2006a98:	b2 10 20 01 	mov  1, %i1                                    
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
                       (tty->ccount < (CBUFSIZE-1))) {                
 2006a9c:	23 00 80 77 	sethi  %hi(0x201dc00), %l1                     
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((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);     
 2006aa0:	a6 07 60 49 	add  %i5, 0x49, %l3                            
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
 2006aa4:	c4 07 60 5c 	ld  [ %i5 + 0x5c ], %g2                        
 2006aa8:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        
 2006aac:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006ab0:	02 80 00 42 	be  2006bb8 <rtems_termios_read+0x24c>         
 2006ab4:	c4 04 60 e0 	ld  [ %l1 + 0xe0 ], %g2                        
 2006ab8:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
                       (tty->ccount < (CBUFSIZE-1))) {                
 2006abc:	84 00 bf ff 	add  %g2, -1, %g2                              
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
 2006ac0:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006ac4:	08 80 00 3d 	bleu  2006bb8 <rtems_termios_read+0x24c>       <== NEVER TAKEN
 2006ac8:	b4 14 60 e0 	or  %l1, 0xe0, %i2                             
                       (tty->ccount < (CBUFSIZE-1))) {                
      unsigned char c;                                                
      unsigned int newHead;                                           
                                                                      
      newHead = (tty->rawInBuf.Head + 1) % tty->rawInBuf.Size;        
 2006acc:	d0 07 60 5c 	ld  [ %i5 + 0x5c ], %o0                        
 2006ad0:	d2 07 60 64 	ld  [ %i5 + 0x64 ], %o1                        
 2006ad4:	40 00 4b 72 	call  201989c <.urem>                          
 2006ad8:	90 02 20 01 	inc  %o0                                       
      c = tty->rawInBuf.theBuf[newHead];                              
 2006adc:	c2 07 60 58 	ld  [ %i5 + 0x58 ], %g1                        
 2006ae0:	f8 08 40 08 	ldub  [ %g1 + %o0 ], %i4                       
      tty->rawInBuf.Head = newHead;                                   
 2006ae4:	d0 27 60 5c 	st  %o0, [ %i5 + 0x5c ]                        
      if(((tty->rawInBuf.Tail-newHead+tty->rawInBuf.Size)             
 2006ae8:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        
 2006aec:	c4 07 60 64 	ld  [ %i5 + 0x64 ], %g2                        
          % tty->rawInBuf.Size)                                       
 2006af0:	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)             
 2006af4:	82 00 80 01 	add  %g2, %g1, %g1                             
          % tty->rawInBuf.Size)                                       
 2006af8:	40 00 4b 69 	call  201989c <.urem>                          
 2006afc:	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)             
 2006b00:	c2 07 60 bc 	ld  [ %i5 + 0xbc ], %g1                        
 2006b04:	80 a2 00 01 	cmp  %o0, %g1                                  
 2006b08:	3a 80 00 18 	bcc,a   2006b68 <rtems_termios_read+0x1fc>     <== NEVER TAKEN
 2006b0c:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
          % tty->rawInBuf.Size)                                       
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
 2006b10:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2006b14:	82 08 7f fe 	and  %g1, -2, %g1                              
 2006b18:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
 2006b1c:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2006b20:	82 08 62 02 	and  %g1, 0x202, %g1                           
 2006b24:	80 a0 62 02 	cmp  %g1, 0x202                                
 2006b28:	22 80 00 38 	be,a   2006c08 <rtems_termios_read+0x29c>      <== NEVER TAKEN
 2006b2c:	c2 07 60 94 	ld  [ %i5 + 0x94 ], %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) {                       
 2006b30:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2006b34:	80 88 61 00 	btst  0x100, %g1                               
 2006b38:	22 80 00 0c 	be,a   2006b68 <rtems_termios_read+0x1fc>      <== ALWAYS TAKEN
 2006b3c:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
 2006b40:	c4 07 60 b8 	ld  [ %i5 + 0xb8 ], %g2                        <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
 2006b44:	c2 07 60 b0 	ld  [ %i5 + 0xb0 ], %g1                        <== NOT EXECUTED
          || (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) {                       
          tty->flow_ctrl &= ~FL_IRTSOFF;                              
 2006b48:	84 08 bf fb 	and  %g2, -5, %g2                              <== NOT EXECUTED
 2006b4c:	c4 27 60 b8 	st  %g2, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
          /* activate RTS line */                                     
          if (tty->device.startRemoteTx != NULL) {                    
 2006b50:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2006b54:	22 80 00 05 	be,a   2006b68 <rtems_termios_read+0x1fc>      <== NOT EXECUTED
 2006b58:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
            tty->device.startRemoteTx(tty->minor);                    
 2006b5c:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2006b60:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
 2006b64:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
        if (siproc (c, tty))                                          
 2006b68:	90 0f 20 ff 	and  %i4, 0xff, %o0                            
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
 2006b6c:	80 88 60 02 	btst  2, %g1                                   
 2006b70:	02 80 00 1d 	be  2006be4 <rtems_termios_read+0x278>         <== NEVER TAKEN
 2006b74:	92 10 00 1d 	mov  %i5, %o1                                  
        if (siproc (c, tty))                                          
 2006b78:	7f ff ff 36 	call  2006850 <siproc>                         
 2006b7c:	01 00 00 00 	nop                                            
 2006b80:	80 a2 20 00 	cmp  %o0, 0                                    
 2006b84:	32 80 00 02 	bne,a   2006b8c <rtems_termios_read+0x220>     
 2006b88:	b2 10 20 00 	clr  %i1                                       
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
 2006b8c:	c4 07 60 5c 	ld  [ %i5 + 0x5c ], %g2                        
 2006b90:	c2 07 60 60 	ld  [ %i5 + 0x60 ], %g1                        
 2006b94:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006b98:	02 80 00 08 	be  2006bb8 <rtems_termios_read+0x24c>         
 2006b9c:	f8 07 60 70 	ld  [ %i5 + 0x70 ], %i4                        
                       (tty->ccount < (CBUFSIZE-1))) {                
 2006ba0:	c2 06 80 00 	ld  [ %i2 ], %g1                               
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
 2006ba4:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
                       (tty->ccount < (CBUFSIZE-1))) {                
 2006ba8:	82 00 7f ff 	add  %g1, -1, %g1                              
                                                                      
  while ( wait ) {                                                    
    /*                                                                
     * Process characters read from raw queue                         
     */                                                               
    while ((tty->rawInBuf.Head != tty->rawInBuf.Tail) &&              
 2006bac:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006bb0:	0a bf ff c7 	bcs  2006acc <rtems_termios_read+0x160>        <== ALWAYS TAKEN
 2006bb4:	01 00 00 00 	nop                                            
    }                                                                 
                                                                      
    /*                                                                
     * Wait for characters                                            
     */                                                               
    if ( wait ) {                                                     
 2006bb8:	80 a6 60 00 	cmp  %i1, 0                                    
 2006bbc:	02 bf ff 8e 	be  20069f4 <rtems_termios_read+0x88>          
 2006bc0:	80 a6 e0 00 	cmp  %i3, 0                                    
      sc = rtems_semaphore_obtain(                                    
 2006bc4:	d0 07 60 68 	ld  [ %i5 + 0x68 ], %o0                        
 2006bc8:	d2 07 60 6c 	ld  [ %i5 + 0x6c ], %o1                        
 2006bcc:	40 00 04 75 	call  2007da0 <rtems_semaphore_obtain>         
 2006bd0:	94 10 00 1c 	mov  %i4, %o2                                  
        tty->rawInBuf.Semaphore, tty->rawInBufSemaphoreOptions, timeout);
      if (sc != RTEMS_SUCCESSFUL)                                     
 2006bd4:	80 a2 20 00 	cmp  %o0, 0                                    
 2006bd8:	02 bf ff b3 	be  2006aa4 <rtems_termios_read+0x138>         <== ALWAYS TAKEN
 2006bdc:	80 a6 e0 00 	cmp  %i3, 0                                    
 2006be0:	30 bf ff 85 	b,a   20069f4 <rtems_termios_read+0x88>        <== NOT EXECUTED
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
      } else {                                                        
        siproc (c, tty);                                              
 2006be4:	7f ff ff 1b 	call  2006850 <siproc>                         <== NOT EXECUTED
 2006be8:	01 00 00 00 	nop                                            <== NOT EXECUTED
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
 2006bec:	c2 0f 60 47 	ldub  [ %i5 + 0x47 ], %g1                      <== NOT EXECUTED
 2006bf0:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        <== NOT EXECUTED
 2006bf4:	80 a0 80 01 	cmp  %g2, %g1                                  <== NOT EXECUTED
 2006bf8:	06 bf ff e5 	bl  2006b8c <rtems_termios_read+0x220>         <== NOT EXECUTED
 2006bfc:	01 00 00 00 	nop                                            <== NOT EXECUTED
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
        if (siproc (c, tty))                                          
          wait = 0;                                                   
 2006c00:	10 bf ff e3 	b  2006b8c <rtems_termios_read+0x220>          <== NOT EXECUTED
 2006c04:	b2 10 20 00 	clr  %i1	! 0 <PROM_START>                      <== NOT EXECUTED
         < tty->lowwater) {                                           
        tty->flow_ctrl &= ~FL_IREQXOF;                                
        /* if tx stopped and XON should be sent... */                 
        if (((tty->flow_ctrl & (FL_MDXON | FL_ISNTXOF))               
             ==                (FL_MDXON | FL_ISNTXOF))               
            && ((tty->rawOutBufState == rob_idle)                     
 2006c08:	80 a0 60 00 	cmp  %g1, 0                                    <== NOT EXECUTED
 2006c0c:	22 80 00 07 	be,a   2006c28 <rtems_termios_read+0x2bc>      <== NOT EXECUTED
 2006c10:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        <== NOT EXECUTED
          || (tty->flow_ctrl & FL_OSTOP))) {                          
 2006c14:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
 2006c18:	80 88 60 20 	btst  0x20, %g1                                <== NOT EXECUTED
 2006c1c:	02 bf ff c5 	be  2006b30 <rtems_termios_read+0x1c4>         <== NOT EXECUTED
 2006c20:	01 00 00 00 	nop                                            <== NOT EXECUTED
          /* XON should be sent now... */                             
          (*tty->device.write)(                                       
 2006c24:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        <== NOT EXECUTED
 2006c28:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        <== NOT EXECUTED
 2006c2c:	92 10 00 13 	mov  %l3, %o1                                  <== NOT EXECUTED
 2006c30:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2006c34:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
          }                                                           
        }                                                             
      }                                                               
                                                                      
      /* continue processing new character */                         
      if (tty->termios.c_lflag & ICANON) {                            
 2006c38:	10 bf ff cc 	b  2006b68 <rtems_termios_read+0x1fc>          <== NOT EXECUTED
 2006c3c:	c2 07 60 3c 	ld  [ %i5 + 0x3c ], %g1                        <== NOT EXECUTED
static rtems_status_code                                              
fillBufferPoll (struct rtems_termios_tty *tty)                        
{                                                                     
  int n;                                                              
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
 2006c40:	80 88 a0 02 	btst  2, %g2                                   
 2006c44:	02 80 00 0e 	be  2006c7c <rtems_termios_read+0x310>         
 2006c48:	01 00 00 00 	nop                                            
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
 2006c4c:	9f c0 40 00 	call  %g1                                      
 2006c50:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
      if (n < 0) {                                                    
 2006c54:	80 a2 20 00 	cmp  %o0, 0                                    
 2006c58:	06 80 00 3a 	bl  2006d40 <rtems_termios_read+0x3d4>         
 2006c5c:	90 0a 20 ff 	and  %o0, 0xff, %o0                            
        rtems_task_wake_after (1);                                    
      } else {                                                        
        if  (siproc (n, tty))                                         
 2006c60:	7f ff fe fc 	call  2006850 <siproc>                         
 2006c64:	92 10 00 1d 	mov  %i5, %o1                                  
 2006c68:	80 a2 20 00 	cmp  %o0, 0                                    
 2006c6c:	12 bf ff 62 	bne  20069f4 <rtems_termios_read+0x88>         
 2006c70:	80 a6 e0 00 	cmp  %i3, 0                                    
 2006c74:	10 bf ff f6 	b  2006c4c <rtems_termios_read+0x2e0>          
 2006c78:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
      }                                                               
    }                                                                 
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
 2006c7c:	40 00 02 80 	call  200767c <rtems_clock_get_ticks_since_boot>
 2006c80:	01 00 00 00 	nop                                            
 2006c84:	b8 10 00 08 	mov  %o0, %i4                                  
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
 2006c88:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
 2006c8c:	9f c0 40 00 	call  %g1                                      
 2006c90:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
      if (n < 0) {                                                    
 2006c94:	80 a2 20 00 	cmp  %o0, 0                                    
 2006c98:	06 80 00 10 	bl  2006cd8 <rtems_termios_read+0x36c>         
 2006c9c:	90 0a 20 ff 	and  %o0, 0xff, %o0                            
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
      } else {                                                        
        siproc (n, tty);                                              
 2006ca0:	7f ff fe ec 	call  2006850 <siproc>                         
 2006ca4:	92 10 00 1d 	mov  %i5, %o1                                  
        if (tty->ccount >= tty->termios.c_cc[VMIN])                   
 2006ca8:	c2 0f 60 47 	ldub  [ %i5 + 0x47 ], %g1                      
 2006cac:	c4 07 60 20 	ld  [ %i5 + 0x20 ], %g2                        
 2006cb0:	80 a0 80 01 	cmp  %g2, %g1                                  
 2006cb4:	16 bf ff 4f 	bge  20069f0 <rtems_termios_read+0x84>         
 2006cb8:	80 a0 60 00 	cmp  %g1, 0                                    
          break;                                                      
        if (tty->termios.c_cc[VMIN] && tty->termios.c_cc[VTIME])      
 2006cbc:	22 bf ff f4 	be,a   2006c8c <rtems_termios_read+0x320>      <== NEVER TAKEN
 2006cc0:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        <== NOT EXECUTED
 2006cc4:	c2 0f 60 46 	ldub  [ %i5 + 0x46 ], %g1                      
 2006cc8:	80 a0 60 00 	cmp  %g1, 0                                    
 2006ccc:	22 bf ff f0 	be,a   2006c8c <rtems_termios_read+0x320>      <== NEVER TAKEN
 2006cd0:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        <== NOT EXECUTED
 2006cd4:	30 bf ff ea 	b,a   2006c7c <rtems_termios_read+0x310>       
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        if (tty->termios.c_cc[VMIN]) {                                
 2006cd8:	c2 0f 60 47 	ldub  [ %i5 + 0x47 ], %g1                      
 2006cdc:	80 a0 60 00 	cmp  %g1, 0                                    
 2006ce0:	02 80 00 0d 	be  2006d14 <rtems_termios_read+0x3a8>         
 2006ce4:	c2 0f 60 46 	ldub  [ %i5 + 0x46 ], %g1                      
          if (tty->termios.c_cc[VTIME] && tty->ccount) {              
 2006ce8:	80 a0 60 00 	cmp  %g1, 0                                    
 2006cec:	02 80 00 06 	be  2006d04 <rtems_termios_read+0x398>         <== NEVER TAKEN
 2006cf0:	01 00 00 00 	nop                                            
 2006cf4:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 2006cf8:	80 a0 60 00 	cmp  %g1, 0                                    
 2006cfc:	12 80 00 09 	bne  2006d20 <rtems_termios_read+0x3b4>        
 2006d00:	01 00 00 00 	nop                                            
          now = rtems_clock_get_ticks_since_boot();                   
          if ((now - then) > tty->vtimeTicks) {                       
            break;                                                    
          }                                                           
        }                                                             
        rtems_task_wake_after (1);                                    
 2006d04:	40 00 05 64 	call  2008294 <rtems_task_wake_after>          
 2006d08:	90 10 20 01 	mov  1, %o0	! 1 <PROM_START+0x1>               
  } else {                                                            
    rtems_interval then, now;                                         
                                                                      
    then = rtems_clock_get_ticks_since_boot();                        
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
 2006d0c:	10 bf ff e0 	b  2006c8c <rtems_termios_read+0x320>          
 2006d10:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
            if ((now - then) > tty->vtimeTicks) {                     
              break;                                                  
            }                                                         
          }                                                           
        } else {                                                      
          if (!tty->termios.c_cc[VTIME])                              
 2006d14:	80 a0 60 00 	cmp  %g1, 0                                    
 2006d18:	02 bf ff 37 	be  20069f4 <rtems_termios_read+0x88>          <== NEVER TAKEN
 2006d1c:	80 a6 e0 00 	cmp  %i3, 0                                    
            break;                                                    
          now = rtems_clock_get_ticks_since_boot();                   
 2006d20:	40 00 02 57 	call  200767c <rtems_clock_get_ticks_since_boot>
 2006d24:	01 00 00 00 	nop                                            
          if ((now - then) > tty->vtimeTicks) {                       
 2006d28:	c2 07 60 54 	ld  [ %i5 + 0x54 ], %g1                        
 2006d2c:	90 22 00 1c 	sub  %o0, %i4, %o0                             
 2006d30:	80 a2 00 01 	cmp  %o0, %g1                                  
 2006d34:	08 bf ff f4 	bleu  2006d04 <rtems_termios_read+0x398>       
 2006d38:	80 a6 e0 00 	cmp  %i3, 0                                    
 2006d3c:	30 bf ff 2e 	b,a   20069f4 <rtems_termios_read+0x88>        
                                                                      
  if (tty->termios.c_lflag & ICANON) {                                
    for (;;) {                                                        
      n = (*tty->device.pollRead)(tty->minor);                        
      if (n < 0) {                                                    
        rtems_task_wake_after (1);                                    
 2006d40:	40 00 05 55 	call  2008294 <rtems_task_wake_after>          
 2006d44:	90 10 20 01 	mov  1, %o0                                    
 2006d48:	10 bf ff c1 	b  2006c4c <rtems_termios_read+0x2e0>          
 2006d4c:	c2 07 60 a0 	ld  [ %i5 + 0xa0 ], %g1                        
                                                                      

020053a0 <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 */ static int rtems_termios_refill_transmitter (struct rtems_termios_tty *tty) {
 20053a0:	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))         
 20053a4:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        
 20053a8:	82 08 64 03 	and  %g1, 0x403, %g1                           
 20053ac:	80 a0 64 01 	cmp  %g1, 0x401                                
 20053b0:	02 80 00 44 	be  20054c0 <rtems_termios_refill_transmitter+0x120><== NEVER TAKEN
 20053b4:	ba 10 00 18 	mov  %i0, %i5                                  
    tty->flow_ctrl |= FL_ISNTXOF;                                     
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
                                                                      
  } else if ((tty->flow_ctrl & (FL_IREQXOF | FL_ISNTXOF)) == FL_ISNTXOF) {
 20053b8:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        
 20053bc:	82 08 60 03 	and  %g1, 3, %g1                               
 20053c0:	80 a0 60 02 	cmp  %g1, 2                                    
 20053c4:	22 80 00 50 	be,a   2005504 <rtems_termios_refill_transmitter+0x164><== NEVER TAKEN
 20053c8:	c2 06 20 a4 	ld  [ %i0 + 0xa4 ], %g1                        <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
    rtems_interrupt_enable(level);                                    
                                                                      
    nToSend = 1;                                                      
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
 20053cc:	c4 06 20 80 	ld  [ %i0 + 0x80 ], %g2                        
 20053d0:	c2 06 20 84 	ld  [ %i0 + 0x84 ], %g1                        
 20053d4:	80 a0 80 01 	cmp  %g2, %g1                                  
 20053d8:	22 80 00 30 	be,a   2005498 <rtems_termios_refill_transmitter+0xf8>
 20053dc:	c2 06 20 94 	ld  [ %i0 + 0x94 ], %g1                        
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
      }                                                               
      return 0;                                                       
    }                                                                 
                                                                      
    rtems_interrupt_disable(level);                                   
 20053e0:	7f ff f4 e1 	call  2002764 <sparc_disable_interrupts>       
 20053e4:	01 00 00 00 	nop                                            
    len = tty->t_dqlen;                                               
 20053e8:	f8 06 20 90 	ld  [ %i0 + 0x90 ], %i4                        
    tty->t_dqlen = 0;                                                 
 20053ec:	c0 26 20 90 	clr  [ %i0 + 0x90 ]                            
    rtems_interrupt_enable(level);                                    
 20053f0:	7f ff f4 e1 	call  2002774 <sparc_enable_interrupts>        
 20053f4:	01 00 00 00 	nop                                            
                                                                      
    newTail = (tty->rawOutBuf.Tail + len) % tty->rawOutBuf.Size;      
 20053f8:	d0 06 20 84 	ld  [ %i0 + 0x84 ], %o0                        
 20053fc:	d2 06 20 88 	ld  [ %i0 + 0x88 ], %o1                        
 2005400:	40 00 51 27 	call  201989c <.urem>                          
 2005404:	90 07 00 08 	add  %i4, %o0, %o0                             
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
 2005408:	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;                                    
 200540c:	d0 27 60 84 	st  %o0, [ %i5 + 0x84 ]                        
    if (tty->rawOutBufState == rob_wait) {                            
 2005410:	80 a0 60 02 	cmp  %g1, 2                                    
 2005414:	02 80 00 55 	be  2005568 <rtems_termios_refill_transmitter+0x1c8>
 2005418:	b8 10 00 08 	mov  %o0, %i4                                  
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
    }                                                                 
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
 200541c:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        
 2005420:	80 a0 40 1c 	cmp  %g1, %i4                                  
 2005424:	22 80 00 48 	be,a   2005544 <rtems_termios_refill_transmitter+0x1a4>
 2005428:	c2 07 60 d4 	ld  [ %i5 + 0xd4 ], %g1                        
      if ( tty->tty_snd.sw_pfn != NULL) {                             
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
      }                                                               
    }                                                                 
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
 200542c:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 2005430:	82 08 62 10 	and  %g1, 0x210, %g1                           
 2005434:	80 a0 62 10 	cmp  %g1, 0x210                                
 2005438:	02 80 00 4f 	be  2005574 <rtems_termios_refill_transmitter+0x1d4><== NEVER TAKEN
 200543c:	01 00 00 00 	nop                                            
      nToSend = 0;                                                    
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
 2005440:	c2 07 60 80 	ld  [ %i5 + 0x80 ], %g1                        
 2005444:	80 a7 00 01 	cmp  %i4, %g1                                  
 2005448:	18 80 00 1b 	bgu  20054b4 <rtems_termios_refill_transmitter+0x114>
 200544c:	01 00 00 00 	nop                                            
        nToSend = tty->rawOutBuf.Size - newTail;                      
      else                                                            
        nToSend = tty->rawOutBuf.Head - newTail;                      
 2005450:	f0 07 60 80 	ld  [ %i5 + 0x80 ], %i0                        
 2005454:	b0 26 00 1c 	sub  %i0, %i4, %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)) {                   
 2005458:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        
 200545c:	80 88 66 00 	btst  0x600, %g1                               
 2005460:	02 80 00 04 	be  2005470 <rtems_termios_refill_transmitter+0xd0>
 2005464:	94 10 00 18 	mov  %i0, %o2                                  
 2005468:	94 10 20 01 	mov  1, %o2                                    
        nToSend = 1;                                                  
 200546c:	b0 10 20 01 	mov  1, %i0                                    
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
 2005470:	d2 07 60 7c 	ld  [ %i5 + 0x7c ], %o1                        
 2005474:	c2 07 60 a4 	ld  [ %i5 + 0xa4 ], %g1                        
 2005478:	d0 07 60 10 	ld  [ %i5 + 0x10 ], %o0                        
      /* 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*/                         
 200547c:	84 10 20 01 	mov  1, %g2                                    
      (*tty->device.write)(                                           
 2005480:	92 02 40 1c 	add  %o1, %i4, %o1                             
 2005484:	9f c0 40 00 	call  %g1                                      
 2005488:	c4 27 60 94 	st  %g2, [ %i5 + 0x94 ]                        
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
 200548c:	f8 27 60 84 	st  %i4, [ %i5 + 0x84 ]                        
  }                                                                   
  return nToSend;                                                     
}                                                                     
 2005490:	81 c7 e0 08 	ret                                            
 2005494:	81 e8 00 00 	restore                                        
  } else {                                                            
    if ( tty->rawOutBuf.Head == tty->rawOutBuf.Tail ) {               
      /*                                                              
       * buffer was empty                                             
       */                                                             
      if (tty->rawOutBufState == rob_wait) {                          
 2005498:	80 a0 60 02 	cmp  %g1, 2                                    
 200549c:	12 bf ff fd 	bne  2005490 <rtems_termios_refill_transmitter+0xf0><== ALWAYS TAKEN
 20054a0:	b0 10 20 00 	clr  %i0                                       
        /*                                                            
         * this should never happen...                                
         */                                                           
        rtems_semaphore_release (tty->rawOutBuf.Semaphore);           
 20054a4:	40 00 0a 8f 	call  2007ee0 <rtems_semaphore_release>        <== NOT EXECUTED
 20054a8:	d0 07 60 8c 	ld  [ %i5 + 0x8c ], %o0                        <== NOT EXECUTED
 20054ac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 20054b0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
    } else {                                                          
      /*                                                              
       * Buffer not empty, start tranmitter                           
       */                                                             
      if (newTail > tty->rawOutBuf.Head)                              
        nToSend = tty->rawOutBuf.Size - newTail;                      
 20054b4:	f0 07 60 88 	ld  [ %i5 + 0x88 ], %i0                        
 20054b8:	10 bf ff e8 	b  2005458 <rtems_termios_refill_transmitter+0xb8>
 20054bc:	b0 26 00 1c 	sub  %i0, %i4, %i0                             
                                                                      
  /* check for XOF/XON to send */                                     
  if ((tty->flow_ctrl & (FL_MDXOF | FL_IREQXOF | FL_ISNTXOF))         
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
 20054c0:	c2 06 20 a4 	ld  [ %i0 + 0xa4 ], %g1                        <== NOT EXECUTED
 20054c4:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        <== NOT EXECUTED
 20054c8:	92 06 20 4a 	add  %i0, 0x4a, %o1                            <== NOT EXECUTED
 20054cc:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 20054d0:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
 20054d4:	7f ff f4 a4 	call  2002764 <sparc_disable_interrupts>       <== NOT EXECUTED
 20054d8:	01 00 00 00 	nop                                            <== NOT EXECUTED
    tty->t_dqlen--;                                                   
 20054dc:	c4 06 20 90 	ld  [ %i0 + 0x90 ], %g2                        <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
 20054e0:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        <== NOT EXECUTED
      == (FL_MDXOF | FL_IREQXOF)) {                                   
    /* XOFF should be sent now... */                                  
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTOP]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
 20054e4:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
    tty->flow_ctrl |= FL_ISNTXOF;                                     
 20054e8:	82 10 60 02 	or  %g1, 2, %g1                                <== NOT EXECUTED
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
 20054ec:	c4 27 60 90 	st  %g2, [ %i5 + 0x90 ]                        <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
 20054f0:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
 20054f4:	7f ff f4 a0 	call  2002774 <sparc_enable_interrupts>        <== NOT EXECUTED
 20054f8:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 20054fc:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005500:	81 e8 00 00 	restore                                        <== NOT EXECUTED
     * 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);
 2005504:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        <== NOT EXECUTED
 2005508:	92 06 20 49 	add  %i0, 0x49, %o1                            <== NOT EXECUTED
 200550c:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 2005510:	94 10 20 01 	mov  1, %o2                                    <== NOT EXECUTED
                                                                      
    rtems_interrupt_disable(level);                                   
 2005514:	7f ff f4 94 	call  2002764 <sparc_disable_interrupts>       <== NOT EXECUTED
 2005518:	01 00 00 00 	nop                                            <== NOT EXECUTED
    tty->t_dqlen--;                                                   
 200551c:	c4 06 20 90 	ld  [ %i0 + 0x90 ], %g2                        <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
 2005520:	c2 06 20 b8 	ld  [ %i0 + 0xb8 ], %g1                        <== NOT EXECUTED
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
 2005524:	84 00 bf ff 	add  %g2, -1, %g2                              <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
 2005528:	82 08 7f fd 	and  %g1, -3, %g1                              <== NOT EXECUTED
     * Therefore the dequeue "length" should be reduced by 1          
     */                                                               
    (*tty->device.write)(tty->minor, (void *)&(tty->termios.c_cc[VSTART]), 1);
                                                                      
    rtems_interrupt_disable(level);                                   
    tty->t_dqlen--;                                                   
 200552c:	c4 27 60 90 	st  %g2, [ %i5 + 0x90 ]                        <== NOT EXECUTED
    tty->flow_ctrl &= ~FL_ISNTXOF;                                    
 2005530:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
    rtems_interrupt_enable(level);                                    
 2005534:	7f ff f4 90 	call  2002774 <sparc_enable_interrupts>        <== NOT EXECUTED
 2005538:	b0 10 20 01 	mov  1, %i0                                    <== NOT EXECUTED
 200553c:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2005540:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
    if (newTail == tty->rawOutBuf.Head) {                             
      /*                                                              
       * Buffer has become empty                                      
       */                                                             
      tty->rawOutBufState = rob_idle;                                 
 2005544:	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) {                             
 2005548:	80 a0 60 00 	cmp  %g1, 0                                    
 200554c:	02 bf ff d0 	be  200548c <rtems_termios_refill_transmitter+0xec><== ALWAYS TAKEN
 2005550:	b0 10 20 00 	clr  %i0                                       
        (*tty->tty_snd.sw_pfn)(&tty->termios, tty->tty_snd.sw_arg);   
 2005554:	d2 07 60 d8 	ld  [ %i5 + 0xd8 ], %o1                        <== NOT EXECUTED
 2005558:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 200555c:	90 07 60 30 	add  %i5, 0x30, %o0                            <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
 2005560:	f8 27 60 84 	st  %i4, [ %i5 + 0x84 ]                        <== NOT EXECUTED
 2005564:	30 bf ff f6 	b,a   200553c <rtems_termios_refill_transmitter+0x19c><== NOT EXECUTED
    tty->rawOutBuf.Tail = newTail;                                    
    if (tty->rawOutBufState == rob_wait) {                            
      /*                                                              
       * wake up any pending writer task                              
       */                                                             
      rtems_semaphore_release (tty->rawOutBuf.Semaphore);             
 2005568:	40 00 0a 5e 	call  2007ee0 <rtems_semaphore_release>        
 200556c:	d0 06 20 8c 	ld  [ %i0 + 0x8c ], %o0                        
 2005570:	30 bf ff ab 	b,a   200541c <rtems_termios_refill_transmitter+0x7c>
    /* check, whether output should stop due to received XOFF */      
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
 2005574:	7f ff f4 7c 	call  2002764 <sparc_disable_interrupts>       <== NOT EXECUTED
 2005578:	01 00 00 00 	nop                                            <== NOT EXECUTED
      tty->flow_ctrl |= FL_OSTOP;                                     
 200557c:	c2 07 60 b8 	ld  [ %i5 + 0xb8 ], %g1                        <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
 2005580:	84 10 20 01 	mov  1, %g2                                    <== NOT EXECUTED
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl |= FL_OSTOP;                                     
 2005584:	82 10 60 20 	or  %g1, 0x20, %g1                             <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
 2005588:	c4 27 60 94 	st  %g2, [ %i5 + 0x94 ]                        <== NOT EXECUTED
    else if ((tty->flow_ctrl & (FL_MDXON | FL_ORCVXOF))               
       ==                (FL_MDXON | FL_ORCVXOF)) {                   
      /* Buffer not empty, but output stops due to XOFF */            
      /* set flag, that output has been stopped */                    
      rtems_interrupt_disable(level);                                 
      tty->flow_ctrl |= FL_OSTOP;                                     
 200558c:	c2 27 60 b8 	st  %g1, [ %i5 + 0xb8 ]                        <== NOT EXECUTED
      tty->rawOutBufState = rob_busy; /*apm*/                         
      rtems_interrupt_enable(level);                                  
 2005590:	7f ff f4 79 	call  2002774 <sparc_enable_interrupts>        <== NOT EXECUTED
 2005594:	b0 10 20 00 	clr  %i0                                       <== NOT EXECUTED
      }                                                               
      tty->rawOutBufState = rob_busy; /*apm*/                         
      (*tty->device.write)(                                           
        tty->minor, &tty->rawOutBuf.theBuf[newTail], nToSend);        
    }                                                                 
    tty->rawOutBuf.Tail = newTail; /*apm*/                            
 2005598:	f8 27 60 84 	st  %i4, [ %i5 + 0x84 ]                        <== NOT EXECUTED
 200559c:	30 bf ff e8 	b,a   200553c <rtems_termios_refill_transmitter+0x19c><== NOT EXECUTED
                                                                      

02007088 <rtems_termios_rxdaemon>: /* * this task actually processes any receive events */ static rtems_task rtems_termios_rxdaemon(rtems_task_argument argument) {
 2007088:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
 200708c:	10 80 00 08 	b  20070ac <rtems_termios_rxdaemon+0x24>       
 2007090:	96 07 bf fc 	add  %fp, -4, %o3                              
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
 2007094:	9f c0 40 00 	call  %g1                                      
 2007098:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        
    if (c != EOF) {                                                   
 200709c:	80 a2 3f ff 	cmp  %o0, -1                                   
 20070a0:	32 80 00 15 	bne,a   20070f4 <rtems_termios_rxdaemon+0x6c>  
 20070a4:	d0 2f bf fb 	stb  %o0, [ %fp + -5 ]                         
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
 20070a8:	96 07 bf fc 	add  %fp, -4, %o3                              
 20070ac:	92 10 20 02 	mov  2, %o1                                    
 20070b0:	94 10 20 00 	clr  %o2                                       
 20070b4:	40 00 01 95 	call  2007708 <rtems_event_receive>            
 20070b8:	90 10 20 03 	mov  3, %o0                                    
      (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) {              
 20070bc:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20070c0:	80 88 60 01 	btst  1, %g1                                   
 20070c4:	22 bf ff f4 	be,a   2007094 <rtems_termios_rxdaemon+0xc>    <== ALWAYS TAKEN
 20070c8:	c2 06 20 a0 	ld  [ %i0 + 0xa0 ], %g1                        
      tty->rxTaskId = 0;                                              
 20070cc:	c0 26 20 c4 	clr  [ %i0 + 0xc4 ]                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
 20070d0:	40 00 03 f8 	call  20080b0 <rtems_task_delete>              <== NOT EXECUTED
 20070d4:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * do something                                                   
     */                                                               
    c = tty->device.pollRead(tty->minor);                             
 20070d8:	c2 06 20 a0 	ld  [ %i0 + 0xa0 ], %g1                        <== NOT EXECUTED
 20070dc:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 20070e0:	d0 06 20 10 	ld  [ %i0 + 0x10 ], %o0                        <== NOT EXECUTED
    if (c != EOF) {                                                   
 20070e4:	80 a2 3f ff 	cmp  %o0, -1                                   <== NOT EXECUTED
 20070e8:	22 bf ff f1 	be,a   20070ac <rtems_termios_rxdaemon+0x24>   <== NOT EXECUTED
 20070ec:	96 07 bf fc 	add  %fp, -4, %o3                              <== NOT EXECUTED
      /*                                                              
       * pollRead did call enqueue on its own                         
       */                                                             
      c_buf = c;                                                      
 20070f0:	d0 2f bf fb 	stb  %o0, [ %fp + -5 ]                         <== NOT EXECUTED
      rtems_termios_enqueue_raw_characters ( tty,&c_buf,1);           
 20070f4:	92 07 bf fb 	add  %fp, -5, %o1                              
 20070f8:	90 10 00 18 	mov  %i0, %o0                                  
 20070fc:	7f ff ff 1a 	call  2006d64 <rtems_termios_enqueue_raw_characters>
 2007100:	94 10 20 01 	mov  1, %o2                                    
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
 2007104:	10 bf ff ea 	b  20070ac <rtems_termios_rxdaemon+0x24>       
 2007108:	96 07 bf fc 	add  %fp, -4, %o3                              
                                                                      

020055a0 <rtems_termios_txdaemon>: /* * this task actually processes any transmit events */ static rtems_task rtems_termios_txdaemon(rtems_task_argument argument) {
 20055a0:	9d e3 bf 98 	save  %sp, -104, %sp                           
 20055a4:	3b 00 80 78 	sethi  %hi(0x201e000), %i5                     
 20055a8:	10 80 00 0c 	b  20055d8 <rtems_termios_txdaemon+0x38>       
 20055ac:	ba 17 63 ac 	or  %i5, 0x3ac, %i5	! 201e3ac <rtems_termios_linesw>
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
 20055b0:	83 28 60 05 	sll  %g1, 5, %g1                               
 20055b4:	82 07 40 01 	add  %i5, %g1, %g1                             
 20055b8:	c2 00 60 14 	ld  [ %g1 + 0x14 ], %g1                        
 20055bc:	80 a0 60 00 	cmp  %g1, 0                                    
 20055c0:	02 80 00 04 	be  20055d0 <rtems_termios_txdaemon+0x30>      <== ALWAYS TAKEN
 20055c4:	90 10 00 18 	mov  %i0, %o0                                  
      rtems_termios_linesw[tty->t_line].l_start(tty);                 
 20055c8:	9f c0 40 00 	call  %g1                                      <== NOT EXECUTED
 20055cc:	01 00 00 00 	nop                                            <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * try to push further characters to device                       
     */                                                               
    rtems_termios_refill_transmitter(tty);                            
 20055d0:	7f ff ff 74 	call  20053a0 <rtems_termios_refill_transmitter>
 20055d4:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  while (1) {                                                         
    /*                                                                
     * wait for rtems event                                           
     */                                                               
    rtems_event_receive(                                              
 20055d8:	92 10 20 02 	mov  2, %o1                                    
 20055dc:	94 10 20 00 	clr  %o2                                       
 20055e0:	96 07 bf fc 	add  %fp, -4, %o3                              
 20055e4:	40 00 08 49 	call  2007708 <rtems_event_receive>            
 20055e8:	90 10 20 03 	mov  3, %o0                                    
       (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) {              
 20055ec:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20055f0:	80 88 60 01 	btst  1, %g1                                   
 20055f4:	22 bf ff ef 	be,a   20055b0 <rtems_termios_txdaemon+0x10>   <== ALWAYS TAKEN
 20055f8:	c2 06 20 cc 	ld  [ %i0 + 0xcc ], %g1                        
      tty->txTaskId = 0;                                              
 20055fc:	c0 26 20 c8 	clr  [ %i0 + 0xc8 ]                            <== NOT EXECUTED
      rtems_task_delete(RTEMS_SELF);                                  
 2005600:	40 00 0a ac 	call  20080b0 <rtems_task_delete>              <== NOT EXECUTED
 2005604:	90 10 20 00 	clr  %o0                                       <== NOT EXECUTED
    }                                                                 
                                                                      
    /*                                                                
     * call any line discipline start function                        
     */                                                               
    if (rtems_termios_linesw[tty->t_line].l_start != NULL) {          
 2005608:	10 bf ff ea 	b  20055b0 <rtems_termios_txdaemon+0x10>       <== NOT EXECUTED
 200560c:	c2 06 20 cc 	ld  [ %i0 + 0xcc ], %g1                        <== NOT EXECUTED
                                                                      

02006898 <rtems_termios_write>: rtems_termios_puts (&c, 1, tty); } rtems_status_code rtems_termios_write (void *arg) {
 2006898:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
 200689c:	c2 06 00 00 	ld  [ %i0 ], %g1                               
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 20068a0:	92 10 20 00 	clr  %o1                                       
                                                                      
rtems_status_code                                                     
rtems_termios_write (void *arg)                                       
{                                                                     
  rtems_libio_rw_args_t *args = arg;                                  
  struct rtems_termios_tty *tty = args->iop->data1;                   
 20068a4:	fa 00 60 30 	ld  [ %g1 + 0x30 ], %i5                        
  rtems_status_code sc;                                               
                                                                      
  sc = rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
 20068a8:	94 10 20 00 	clr  %o2                                       
 20068ac:	40 00 05 3d 	call  2007da0 <rtems_semaphore_obtain>         
 20068b0:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
  if (sc != RTEMS_SUCCESSFUL)                                         
 20068b4:	b4 92 20 00 	orcc  %o0, 0, %i2                              
 20068b8:	12 80 00 0f 	bne  20068f4 <rtems_termios_write+0x5c>        <== NEVER TAKEN
 20068bc:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
    return sc;                                                        
  if (rtems_termios_linesw[tty->t_line].l_write != NULL) {            
 20068c0:	c4 07 60 cc 	ld  [ %i5 + 0xcc ], %g2                        
 20068c4:	85 28 a0 05 	sll  %g2, 5, %g2                               
 20068c8:	82 10 63 ac 	or  %g1, 0x3ac, %g1                            
 20068cc:	82 00 40 02 	add  %g1, %g2, %g1                             
 20068d0:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 20068d4:	80 a0 60 00 	cmp  %g1, 0                                    
 20068d8:	02 80 00 09 	be  20068fc <rtems_termios_write+0x64>         
 20068dc:	90 10 00 1d 	mov  %i5, %o0                                  
    sc = rtems_termios_linesw[tty->t_line].l_write(tty,args);         
 20068e0:	9f c0 40 00 	call  %g1                                      
 20068e4:	92 10 00 18 	mov  %i0, %o1                                  
 20068e8:	b4 10 00 08 	mov  %o0, %i2                                  
    rtems_semaphore_release (tty->osem);                              
 20068ec:	40 00 05 7d 	call  2007ee0 <rtems_semaphore_release>        
 20068f0:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
  return sc;                                                          
}                                                                     
 20068f4:	81 c7 e0 08 	ret                                            
 20068f8:	91 e8 00 1a 	restore  %g0, %i2, %o0                         
  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) {                                 
 20068fc:	c2 07 60 34 	ld  [ %i5 + 0x34 ], %g1                        
 2006900:	80 88 60 01 	btst  1, %g1                                   
 2006904:	22 80 00 14 	be,a   2006954 <rtems_termios_write+0xbc>      <== NEVER TAKEN
 2006908:	d0 1e 20 10 	ldd  [ %i0 + 0x10 ], %o0                       <== NOT EXECUTED
    uint32_t   count = args->count;                                   
 200690c:	f8 06 20 14 	ld  [ %i0 + 0x14 ], %i4                        
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
 2006910:	80 a7 20 00 	cmp  %i4, 0                                    
 2006914:	02 80 00 14 	be  2006964 <rtems_termios_write+0xcc>         <== NEVER TAKEN
 2006918:	f6 06 20 10 	ld  [ %i0 + 0x10 ], %i3                        
      oproc (*buffer++, tty);                                         
 200691c:	d0 0e c0 00 	ldub  [ %i3 ], %o0                             
 2006920:	92 10 00 1d 	mov  %i5, %o1                                  
 2006924:	7f ff fe 3e 	call  200621c <oproc>                          
 2006928:	90 0a 20 ff 	and  %o0, 0xff, %o0                            
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
 200692c:	b8 87 3f ff 	addcc  %i4, -1, %i4                            
 2006930:	12 bf ff fb 	bne  200691c <rtems_termios_write+0x84>        
 2006934:	b6 06 e0 01 	inc  %i3                                       
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
 2006938:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
 200693c:	d0 07 60 18 	ld  [ %i5 + 0x18 ], %o0                        
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
    args->bytes_moved = args->count;                                  
 2006940:	c2 26 20 1c 	st  %g1, [ %i0 + 0x1c ]                        
  }                                                                   
  rtems_semaphore_release (tty->osem);                                
 2006944:	40 00 05 67 	call  2007ee0 <rtems_semaphore_release>        
 2006948:	b0 10 00 1a 	mov  %i2, %i0                                  
  return sc;                                                          
}                                                                     
 200694c:	81 c7 e0 08 	ret                                            
 2006950:	81 e8 00 00 	restore                                        
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
      oproc (*buffer++, tty);                                         
    args->bytes_moved = args->count;                                  
  } else {                                                            
    rtems_termios_puts (args->buffer, args->count, tty);              
 2006954:	7f ff fd e2 	call  20060dc <rtems_termios_puts>             <== NOT EXECUTED
 2006958:	94 10 00 1d 	mov  %i5, %o2                                  <== NOT EXECUTED
    args->bytes_moved = args->count;                                  
 200695c:	10 bf ff f8 	b  200693c <rtems_termios_write+0xa4>          <== NOT EXECUTED
 2006960:	c2 06 20 14 	ld  [ %i0 + 0x14 ], %g1                        <== NOT EXECUTED
    return sc;                                                        
  }                                                                   
  if (tty->termios.c_oflag & OPOST) {                                 
    uint32_t   count = args->count;                                   
    char      *buffer = args->buffer;                                 
    while (count--)                                                   
 2006964:	10 bf ff f6 	b  200693c <rtems_termios_write+0xa4>          <== NOT EXECUTED
 2006968:	82 10 20 00 	clr  %g1                                       <== NOT EXECUTED
                                                                      

02017994 <rtems_timer_cancel>: */ rtems_status_code rtems_timer_cancel( rtems_id id ) {
 2017994:	9d e3 bf 98 	save  %sp, -104, %sp                           
RTEMS_INLINE_ROUTINE Timer_Control *_Timer_Get (                      
  Objects_Id         id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (Timer_Control *)                                            
 2017998:	11 00 80 f5 	sethi  %hi(0x203d400), %o0                     
 201799c:	92 10 00 18 	mov  %i0, %o1                                  
 20179a0:	90 12 22 a4 	or  %o0, 0x2a4, %o0                            
 20179a4:	40 00 0c fd 	call  201ad98 <_Objects_Get>                   
 20179a8:	94 07 bf fc 	add  %fp, -4, %o2                              
  Timer_Control   *the_timer;                                         
  Objects_Locations       location;                                   
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 20179ac:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20179b0:	80 a0 60 00 	cmp  %g1, 0                                    
 20179b4:	12 80 00 0c 	bne  20179e4 <rtems_timer_cancel+0x50>         
 20179b8:	01 00 00 00 	nop                                            
                                                                      
    case OBJECTS_LOCAL:                                               
      if ( !_Timer_Is_dormant_class( the_timer->the_class ) )         
 20179bc:	c2 02 20 38 	ld  [ %o0 + 0x38 ], %g1                        
 20179c0:	80 a0 60 04 	cmp  %g1, 4                                    
 20179c4:	02 80 00 04 	be  20179d4 <rtems_timer_cancel+0x40>          <== NEVER TAKEN
 20179c8:	01 00 00 00 	nop                                            
        (void) _Watchdog_Remove( &the_timer->Ticker );                
 20179cc:	40 00 15 78 	call  201cfac <_Watchdog_Remove>               
 20179d0:	90 02 20 10 	add  %o0, 0x10, %o0                            
      _Thread_Enable_dispatch();                                      
 20179d4:	40 00 10 fb 	call  201bdc0 <_Thread_Enable_dispatch>        
 20179d8:	b0 10 20 00 	clr  %i0                                       
 20179dc:	81 c7 e0 08 	ret                                            
 20179e0:	81 e8 00 00 	restore                                        
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 20179e4:	81 c7 e0 08 	ret                                            
 20179e8:	91 e8 20 04 	restore  %g0, 4, %o0                           
                                                                      

02017ef0 <rtems_timer_server_fire_when>: rtems_id id, rtems_time_of_day *wall_time, rtems_timer_service_routine_entry routine, void *user_data ) {
 2017ef0:	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;                 
 2017ef4:	03 00 80 f5 	sethi  %hi(0x203d400), %g1                     
 2017ef8:	fa 00 62 e4 	ld  [ %g1 + 0x2e4 ], %i5	! 203d6e4 <_Timer_server>
                                                                      
  if ( !timer_server )                                                
 2017efc:	80 a7 60 00 	cmp  %i5, 0                                    
 2017f00:	02 80 00 08 	be  2017f20 <rtems_timer_server_fire_when+0x30>
 2017f04:	82 10 20 0e 	mov  0xe, %g1                                  
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD.is_set )                                                 
 2017f08:	39 00 80 f3 	sethi  %hi(0x203cc00), %i4                     
 2017f0c:	82 17 20 78 	or  %i4, 0x78, %g1	! 203cc78 <_TOD>            
 2017f10:	c4 08 60 14 	ldub  [ %g1 + 0x14 ], %g2                      
 2017f14:	80 a0 a0 00 	cmp  %g2, 0                                    
 2017f18:	12 80 00 04 	bne  2017f28 <rtems_timer_server_fire_when+0x38><== ALWAYS TAKEN
 2017f1c:	82 10 20 0b 	mov  0xb, %g1                                  
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2017f20:	81 c7 e0 08 	ret                                            
 2017f24:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    return RTEMS_INCORRECT_STATE;                                     
                                                                      
  if ( !_TOD.is_set )                                                 
    return RTEMS_NOT_DEFINED;                                         
                                                                      
  if ( !routine )                                                     
 2017f28:	80 a6 a0 00 	cmp  %i2, 0                                    
 2017f2c:	02 bf ff fd 	be  2017f20 <rtems_timer_server_fire_when+0x30>
 2017f30:	82 10 20 09 	mov  9, %g1                                    
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
 2017f34:	7f ff f3 24 	call  2014bc4 <_TOD_Validate>                  
 2017f38:	90 10 00 19 	mov  %i1, %o0                                  
 2017f3c:	80 8a 20 ff 	btst  0xff, %o0                                
 2017f40:	12 80 00 04 	bne  2017f50 <rtems_timer_server_fire_when+0x60>
 2017f44:	82 10 20 14 	mov  0x14, %g1                                 
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
}                                                                     
 2017f48:	81 c7 e0 08 	ret                                            
 2017f4c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
    return RTEMS_INVALID_ADDRESS;                                     
                                                                      
  if ( !_TOD_Validate( wall_time ) )                                  
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  seconds = _TOD_To_seconds( wall_time );                             
 2017f50:	7f ff f2 e3 	call  2014adc <_TOD_To_seconds>                
 2017f54:	90 10 00 19 	mov  %i1, %o0                                  
 2017f58:	b2 10 00 08 	mov  %o0, %i1                                  
 2017f5c:	d0 1f 20 78 	ldd  [ %i4 + 0x78 ], %o0                       
 2017f60:	94 10 20 00 	clr  %o2                                       
 2017f64:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2017f68:	40 00 52 7d 	call  202c95c <__divdi3>                       
 2017f6c:	96 12 e2 00 	or  %o3, 0x200, %o3	! 3b9aca00 <RAM_END+0x395aca00>
  if ( seconds <= _TOD_Seconds_since_epoch() )                        
 2017f70:	80 a6 40 09 	cmp  %i1, %o1                                  
 2017f74:	08 bf ff f5 	bleu  2017f48 <rtems_timer_server_fire_when+0x58>
 2017f78:	82 10 20 14 	mov  0x14, %g1                                 
 2017f7c:	92 10 00 18 	mov  %i0, %o1                                  
 2017f80:	11 00 80 f5 	sethi  %hi(0x203d400), %o0                     
 2017f84:	94 07 bf fc 	add  %fp, -4, %o2                              
 2017f88:	40 00 0b 84 	call  201ad98 <_Objects_Get>                   
 2017f8c:	90 12 22 a4 	or  %o0, 0x2a4, %o0                            
    return RTEMS_INVALID_CLOCK;                                       
                                                                      
  the_timer = _Timer_Get( id, &location );                            
  switch ( location ) {                                               
 2017f90:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2017f94:	80 a0 60 00 	cmp  %g1, 0                                    
 2017f98:	12 80 00 19 	bne  2017ffc <rtems_timer_server_fire_when+0x10c>
 2017f9c:	a0 10 00 08 	mov  %o0, %l0                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
 2017fa0:	40 00 14 03 	call  201cfac <_Watchdog_Remove>               
 2017fa4:	90 02 20 10 	add  %o0, 0x10, %o0                            
 2017fa8:	d0 1f 20 78 	ldd  [ %i4 + 0x78 ], %o0                       
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
 2017fac:	82 10 20 03 	mov  3, %g1                                    
 2017fb0:	94 10 20 00 	clr  %o2                                       
 2017fb4:	c2 24 20 38 	st  %g1, [ %l0 + 0x38 ]                        
 2017fb8:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2017fbc:	c0 24 20 18 	clr  [ %l0 + 0x18 ]                            
 2017fc0:	96 12 e2 00 	or  %o3, 0x200, %o3                            
  the_watchdog->routine   = routine;                                  
 2017fc4:	f4 24 20 2c 	st  %i2, [ %l0 + 0x2c ]                        
  the_watchdog->id        = id;                                       
 2017fc8:	f0 24 20 30 	st  %i0, [ %l0 + 0x30 ]                        
 2017fcc:	40 00 52 64 	call  202c95c <__divdi3>                       
 2017fd0:	f6 24 20 34 	st  %i3, [ %l0 + 0x34 ]                        
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2017fd4:	c2 07 60 04 	ld  [ %i5 + 4 ], %g1                           
                                                                      
    case OBJECTS_LOCAL:                                               
      (void) _Watchdog_Remove( &the_timer->Ticker );                  
      the_timer->the_class = TIMER_TIME_OF_DAY_ON_TASK;               
      _Watchdog_Initialize( &the_timer->Ticker, routine, id, user_data );
      the_timer->Ticker.initial = seconds - _TOD_Seconds_since_epoch();
 2017fd8:	b2 26 40 09 	sub  %i1, %o1, %i1                             
                                                                      
      (*timer_server->schedule_operation)( timer_server, the_timer ); 
 2017fdc:	90 10 00 1d 	mov  %i5, %o0                                  
 2017fe0:	92 10 00 10 	mov  %l0, %o1                                  
 2017fe4:	9f c0 40 00 	call  %g1                                      
 2017fe8:	f2 24 20 1c 	st  %i1, [ %l0 + 0x1c ]                        
                                                                      
      _Thread_Enable_dispatch();                                      
 2017fec:	40 00 0f 75 	call  201bdc0 <_Thread_Enable_dispatch>        
 2017ff0:	01 00 00 00 	nop                                            
      return RTEMS_SUCCESSFUL;                                        
 2017ff4:	10 bf ff cb 	b  2017f20 <rtems_timer_server_fire_when+0x30> 
 2017ff8:	82 10 20 00 	clr  %g1	! 0 <PROM_START>                      
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  return RTEMS_INVALID_ID;                                            
 2017ffc:	10 bf ff c9 	b  2017f20 <rtems_timer_server_fire_when+0x30> 
 2018000:	82 10 20 04 	mov  4, %g1                                    
                                                                      

02003690 <rtems_verror>: static int rtems_verror( rtems_error_code_t error_flag, const char *printf_format, va_list arglist ) {
 2003690:	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) {                               
 2003694:	03 08 00 00 	sethi  %hi(0x20000000), %g1                    
 2003698:	80 8e 00 01 	btst  %i0, %g1                                 
 200369c:	02 80 00 11 	be  20036e0 <rtems_verror+0x50>                
 20036a0:	b8 10 00 18 	mov  %i0, %i4                                  
    if (rtems_panic_in_progress++)                                    
 20036a4:	05 00 80 79 	sethi  %hi(0x201e400), %g2                     
 20036a8:	c6 00 a3 14 	ld  [ %g2 + 0x314 ], %g3	! 201e714 <rtems_panic_in_progress>
 20036ac:	82 00 e0 01 	add  %g3, 1, %g1                               
 20036b0:	80 a0 e0 00 	cmp  %g3, 0                                    
 20036b4:	02 80 00 08 	be  20036d4 <rtems_verror+0x44>                <== ALWAYS TAKEN
 20036b8:	c2 20 a3 14 	st  %g1, [ %g2 + 0x314 ]                       
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 20036bc:	03 00 80 7a 	sethi  %hi(0x201e800), %g1                     <== NOT EXECUTED
 20036c0:	c6 00 60 b0 	ld  [ %g1 + 0xb0 ], %g3	! 201e8b0 <_Thread_Dispatch_disable_level><== NOT EXECUTED
 20036c4:	86 00 e0 01 	inc  %g3                                       <== NOT EXECUTED
 20036c8:	c6 20 60 b0 	st  %g3, [ %g1 + 0xb0 ]                        <== NOT EXECUTED
    return _Thread_Dispatch_disable_level;                            
 20036cc:	c2 00 60 b0 	ld  [ %g1 + 0xb0 ], %g1                        <== NOT EXECUTED
void _Thread_Disable_dispatch( void );                                
#else                                                                 
RTEMS_INLINE_ROUTINE void _Thread_Disable_dispatch( void )            
{                                                                     
  _Thread_Dispatch_increment_disable_level();                         
  RTEMS_COMPILER_MEMORY_BARRIER();                                    
 20036d0:	c2 00 a3 14 	ld  [ %g2 + 0x314 ], %g1                       <== NOT EXECUTED
      _Thread_Disable_dispatch();       /* disable task switches */   
                                                                      
    /* don't aggravate things */                                      
    if (rtems_panic_in_progress > 2)                                  
 20036d4:	80 a0 60 02 	cmp  %g1, 2                                    
 20036d8:	14 80 00 30 	bg  2003798 <rtems_verror+0x108>               <== NEVER TAKEN
 20036dc:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
  }                                                                   
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
 20036e0:	3b 00 80 77 	sethi  %hi(0x201dc00), %i5                     
 20036e4:	c2 07 62 48 	ld  [ %i5 + 0x248 ], %g1	! 201de48 <_impure_ptr>
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
 20036e8:	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 */  
 20036ec:	d0 00 60 08 	ld  [ %g1 + 8 ], %o0                           
 20036f0:	40 00 35 44 	call  2010c00 <fflush>                         
 20036f4:	b6 2f 00 1b 	andn  %i4, %i3, %i3                            
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
 20036f8:	03 10 00 00 	sethi  %hi(0x40000000), %g1                    
 20036fc:	80 8f 00 01 	btst  %i4, %g1                                 
 2003700:	12 80 00 34 	bne  20037d0 <rtems_verror+0x140>              
 2003704:	01 00 00 00 	nop                                            
  rtems_error_code_t  error_flag,                                     
  const char         *printf_format,                                  
  va_list             arglist                                         
)                                                                     
{                                                                     
  int               local_errno = 0;                                  
 2003708:	b8 10 20 00 	clr  %i4	! 0 <PROM_START>                      
  #if defined(RTEMS_MULTIPROCESSING)                                  
    if (_System_state_Is_multiprocessing)                             
      fprintf(stderr, "[%" PRIu32 "] ", _Configuration_MP_table->node);
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
 200370c:	c2 07 62 48 	ld  [ %i5 + 0x248 ], %g1                       
 2003710:	92 10 00 19 	mov  %i1, %o1                                  
 2003714:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         
 2003718:	40 00 49 4d 	call  2015c4c <vfprintf>                       
 200371c:	94 10 00 1a 	mov  %i2, %o2                                  
                                                                      
  if (status)                                                         
 2003720:	80 a6 e0 00 	cmp  %i3, 0                                    
 2003724:	12 80 00 1f 	bne  20037a0 <rtems_verror+0x110>              
 2003728:	b0 10 00 08 	mov  %o0, %i0                                  
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
 200372c:	80 a7 20 00 	cmp  %i4, 0                                    
 2003730:	02 80 00 12 	be  2003778 <rtems_verror+0xe8>                
 2003734:	c2 07 62 48 	ld  [ %i5 + 0x248 ], %g1                       
    if ((local_errno > 0) && *strerror(local_errno))                  
 2003738:	80 a7 20 00 	cmp  %i4, 0                                    
 200373c:	04 80 00 09 	ble  2003760 <rtems_verror+0xd0>               
 2003740:	13 00 80 6f 	sethi  %hi(0x201bc00), %o1                     
 2003744:	40 00 39 7f 	call  2011d40 <strerror>                       
 2003748:	90 10 00 1c 	mov  %i4, %o0                                  
 200374c:	c2 4a 00 00 	ldsb  [ %o0 ], %g1                             
 2003750:	80 a0 60 00 	cmp  %g1, 0                                    
 2003754:	12 80 00 23 	bne  20037e0 <rtems_verror+0x150>              <== ALWAYS TAKEN
 2003758:	c2 07 62 48 	ld  [ %i5 + 0x248 ], %g1                       
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
    else                                                              
      chars_written += fprintf(stderr, " (unknown errno=%d)", local_errno);
 200375c:	13 00 80 6f 	sethi  %hi(0x201bc00), %o1                     <== NOT EXECUTED
 2003760:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         
 2003764:	92 12 63 d8 	or  %o1, 0x3d8, %o1                            
 2003768:	40 00 36 18 	call  2010fc8 <fprintf>                        
 200376c:	94 10 00 1c 	mov  %i4, %o2                                  
 2003770:	b0 06 00 08 	add  %i0, %o0, %i0                             
  }                                                                   
                                                                      
  chars_written += fprintf(stderr, "\n");                             
 2003774:	c2 07 62 48 	ld  [ %i5 + 0x248 ], %g1                       
 2003778:	13 00 80 6f 	sethi  %hi(0x201bc00), %o1                     
 200377c:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         
 2003780:	40 00 36 12 	call  2010fc8 <fprintf>                        
 2003784:	92 12 62 10 	or  %o1, 0x210, %o1                            
                                                                      
  (void) fflush(stderr);                                              
 2003788:	c2 07 62 48 	ld  [ %i5 + 0x248 ], %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");                             
 200378c:	b0 02 00 18 	add  %o0, %i0, %i0                             
                                                                      
  (void) fflush(stderr);                                              
 2003790:	40 00 35 1c 	call  2010c00 <fflush>                         
 2003794:	d0 00 60 0c 	ld  [ %g1 + 0xc ], %o0                         
                                                                      
  return chars_written;                                               
}                                                                     
 2003798:	81 c7 e0 08 	ret                                            
 200379c:	81 e8 00 00 	restore                                        
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
 20037a0:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 20037a4:	c2 00 62 48 	ld  [ %g1 + 0x248 ], %g1	! 201de48 <_impure_ptr>
 20037a8:	90 10 00 1b 	mov  %i3, %o0                                  
 20037ac:	7f ff ff b3 	call  2003678 <rtems_status_text>              
 20037b0:	f6 00 60 0c 	ld  [ %g1 + 0xc ], %i3                         
 20037b4:	13 00 80 6f 	sethi  %hi(0x201bc00), %o1                     
 20037b8:	94 10 00 08 	mov  %o0, %o2                                  
 20037bc:	92 12 63 b8 	or  %o1, 0x3b8, %o1                            
 20037c0:	40 00 36 02 	call  2010fc8 <fprintf>                        
 20037c4:	90 10 00 1b 	mov  %i3, %o0                                  
  #endif                                                              
                                                                      
  chars_written += vfprintf(stderr, printf_format, arglist);          
                                                                      
  if (status)                                                         
    chars_written +=                                                  
 20037c8:	10 bf ff d9 	b  200372c <rtems_verror+0x9c>                 
 20037cc:	b0 06 00 08 	add  %i0, %o0, %i0                             
                                                                      
  (void) fflush(stdout);            /* in case stdout/stderr same */  
                                                                      
  status = error_flag & ~RTEMS_ERROR_MASK;                            
  if (error_flag & RTEMS_ERROR_ERRNO)     /* include errno? */        
    local_errno = errno;                                              
 20037d0:	40 00 34 09 	call  20107f4 <__errno>                        
 20037d4:	01 00 00 00 	nop                                            
 20037d8:	10 bf ff cd 	b  200370c <rtems_verror+0x7c>                 
 20037dc:	f8 02 00 00 	ld  [ %o0 ], %i4                               
    chars_written +=                                                  
      fprintf(stderr, " (status: %s)", rtems_status_text(status));    
                                                                      
  if (local_errno) {                                                  
    if ((local_errno > 0) && *strerror(local_errno))                  
      chars_written += fprintf(stderr, " (errno: %s)", strerror(local_errno));
 20037e0:	90 10 00 1c 	mov  %i4, %o0                                  
 20037e4:	40 00 39 57 	call  2011d40 <strerror>                       
 20037e8:	f8 00 60 0c 	ld  [ %g1 + 0xc ], %i4                         
 20037ec:	13 00 80 6f 	sethi  %hi(0x201bc00), %o1                     
 20037f0:	94 10 00 08 	mov  %o0, %o2                                  
 20037f4:	92 12 63 c8 	or  %o1, 0x3c8, %o1                            
 20037f8:	40 00 35 f4 	call  2010fc8 <fprintf>                        
 20037fc:	90 10 00 1c 	mov  %i4, %o0                                  
 2003800:	10 bf ff dd 	b  2003774 <rtems_verror+0xe4>                 
 2003804:	b0 06 00 08 	add  %i0, %o0, %i0                             
                                                                      

0202bc9c <scanInt>: /* * Extract an integer value from the database */ static int scanInt(FILE *fp, int *val) {
 202bc9c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
 202bca0:	35 1f ff ff 	sethi  %hi(0x7ffffc00), %i2                    
  int sign = 0;                                                       
 202bca4:	b6 10 20 00 	clr  %i3                                       
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
  unsigned int limit = INT_MAX;                                       
 202bca8:	b4 16 a3 ff 	or  %i2, 0x3ff, %i2                            
 */                                                                   
static int                                                            
scanInt(FILE *fp, int *val)                                           
{                                                                     
  int c;                                                              
  unsigned int i = 0;                                                 
 202bcac:	ba 10 20 00 	clr  %i5                                       
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 202bcb0:	23 00 81 c9 	sethi  %hi(0x2072400), %l1                     
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
 202bcb4:	21 00 81 c8 	sethi  %hi(0x2072000), %l0                     
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 202bcb8:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 202bcbc:	82 00 7f ff 	add  %g1, -1, %g1                              
 202bcc0:	80 a0 60 00 	cmp  %g1, 0                                    
 202bcc4:	06 80 00 26 	bl  202bd5c <scanInt+0xc0>                     <== NEVER TAKEN
 202bcc8:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
 202bccc:	c4 06 00 00 	ld  [ %i0 ], %g2                               
 202bcd0:	d0 08 80 00 	ldub  [ %g2 ], %o0                             
 202bcd4:	84 00 a0 01 	inc  %g2                                       
    if (c == ':')                                                     
 202bcd8:	80 a2 20 3a 	cmp  %o0, 0x3a                                 
 202bcdc:	02 80 00 26 	be  202bd74 <scanInt+0xd8>                     
 202bce0:	c4 26 00 00 	st  %g2, [ %i0 ]                               
      break;                                                          
    if (sign == 0) {                                                  
 202bce4:	80 a6 e0 00 	cmp  %i3, 0                                    
 202bce8:	32 80 00 06 	bne,a   202bd00 <scanInt+0x64>                 
 202bcec:	c4 04 23 f0 	ld  [ %l0 + 0x3f0 ], %g2                       
      if (c == '-') {                                                 
 202bcf0:	80 a2 20 2d 	cmp  %o0, 0x2d                                 
 202bcf4:	02 80 00 32 	be  202bdbc <scanInt+0x120>                    
 202bcf8:	b6 10 20 01 	mov  1, %i3                                    
        limit++;                                                      
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
 202bcfc:	c4 04 23 f0 	ld  [ %l0 + 0x3f0 ], %g2                       
 202bd00:	84 00 80 08 	add  %g2, %o0, %g2                             
 202bd04:	c4 08 a0 01 	ldub  [ %g2 + 1 ], %g2                         
 202bd08:	80 88 a0 04 	btst  4, %g2                                   
 202bd0c:	22 80 00 22 	be,a   202bd94 <scanInt+0xf8>                  
 202bd10:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
    d = c - '0';                                                      
 202bd14:	b8 02 3f d0 	add  %o0, -48, %i4                             
    if ((i > (limit / 10))                                            
 202bd18:	92 10 20 0a 	mov  0xa, %o1                                  
 202bd1c:	40 00 d7 e0 	call  2061c9c <.udiv>                          
 202bd20:	90 10 00 1a 	mov  %i2, %o0                                  
 202bd24:	80 a7 40 08 	cmp  %i5, %o0                                  
 202bd28:	38 80 00 1b 	bgu,a   202bd94 <scanInt+0xf8>                 
 202bd2c:	b0 10 20 00 	clr  %i0                                       
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
 202bd30:	02 80 00 1b 	be  202bd9c <scanInt+0x100>                    
 202bd34:	90 10 00 1a 	mov  %i2, %o0                                  
      return 0;                                                       
    i = i * 10 + d;                                                   
 202bd38:	83 2f 60 01 	sll  %i5, 1, %g1                               
 202bd3c:	bb 2f 60 03 	sll  %i5, 3, %i5                               
 202bd40:	ba 00 40 1d 	add  %g1, %i5, %i5                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 202bd44:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
 202bd48:	ba 07 00 1d 	add  %i4, %i5, %i5                             
  unsigned int limit = INT_MAX;                                       
  int sign = 0;                                                       
  int d;                                                              
                                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 202bd4c:	82 00 7f ff 	add  %g1, -1, %g1                              
 202bd50:	80 a0 60 00 	cmp  %g1, 0                                    
 202bd54:	16 bf ff de 	bge  202bccc <scanInt+0x30>                    <== ALWAYS TAKEN
 202bd58:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
 202bd5c:	d0 04 60 00 	ld  [ %l1 ], %o0                               <== NOT EXECUTED
 202bd60:	40 00 89 51 	call  204e2a4 <__srget_r>                      <== NOT EXECUTED
 202bd64:	92 10 00 18 	mov  %i0, %o1                                  <== NOT EXECUTED
    if (c == ':')                                                     
 202bd68:	80 a2 20 3a 	cmp  %o0, 0x3a                                 <== NOT EXECUTED
 202bd6c:	12 bf ff df 	bne  202bce8 <scanInt+0x4c>                    <== NOT EXECUTED
 202bd70:	80 a6 e0 00 	cmp  %i3, 0                                    <== NOT EXECUTED
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
      return 0;                                                       
    i = i * 10 + d;                                                   
  }                                                                   
  if (sign == 0)                                                      
 202bd74:	80 a6 e0 00 	cmp  %i3, 0                                    
 202bd78:	02 80 00 07 	be  202bd94 <scanInt+0xf8>                     <== NEVER TAKEN
 202bd7c:	b0 10 20 00 	clr  %i0                                       
    return 0;                                                         
  *val = i * sign;                                                    
 202bd80:	90 10 00 1b 	mov  %i3, %o0                                  
 202bd84:	92 10 00 1d 	mov  %i5, %o1                                  
 202bd88:	7f ff 5c 77 	call  2002f64 <.umul>                          
 202bd8c:	b0 10 20 01 	mov  1, %i0                                    
 202bd90:	d0 26 40 00 	st  %o0, [ %i1 ]                               
  return 1;                                                           
 202bd94:	81 c7 e0 08 	ret                                            
 202bd98:	81 e8 00 00 	restore                                        
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
    d = c - '0';                                                      
    if ((i > (limit / 10))                                            
     || ((i == (limit / 10)) && (d > (limit % 10))))                  
 202bd9c:	40 00 d8 6c 	call  2061f4c <.urem>                          
 202bda0:	92 10 20 0a 	mov  0xa, %o1                                  
 202bda4:	80 a7 00 08 	cmp  %i4, %o0                                  
 202bda8:	08 bf ff e5 	bleu  202bd3c <scanInt+0xa0>                   <== NEVER TAKEN
 202bdac:	83 2f 60 01 	sll  %i5, 1, %g1                               
        continue;                                                     
      }                                                               
      sign = 1;                                                       
    }                                                                 
    if (!isdigit(c))                                                  
      return 0;                                                       
 202bdb0:	b0 10 20 00 	clr  %i0                                       
  }                                                                   
  if (sign == 0)                                                      
    return 0;                                                         
  *val = i * sign;                                                    
  return 1;                                                           
}                                                                     
 202bdb4:	81 c7 e0 08 	ret                                            
 202bdb8:	81 e8 00 00 	restore                                        
    if (c == ':')                                                     
      break;                                                          
    if (sign == 0) {                                                  
      if (c == '-') {                                                 
        sign = -1;                                                    
        limit++;                                                      
 202bdbc:	b4 06 a0 01 	inc  %i2                                       
        continue;                                                     
 202bdc0:	10 bf ff be 	b  202bcb8 <scanInt+0x1c>                      
 202bdc4:	b6 10 3f ff 	mov  -1, %i3                                   
                                                                      

0202bdc8 <scanString>: /* * Extract a string value from the database */ static int scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag) {
 202bdc8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
 202bdcc:	c2 06 80 00 	ld  [ %i2 ], %g1                               
  for (;;) {                                                          
    c = getc(fp);                                                     
 202bdd0:	3b 00 81 c9 	sethi  %hi(0x2072400), %i5                     
static int                                                            
scanString(FILE *fp, char **name, char **bufp, size_t *nleft, int nlFlag)
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
 202bdd4:	10 80 00 19 	b  202be38 <scanString+0x70>                   
 202bdd8:	c2 26 40 00 	st  %g1, [ %i1 ]                               
  for (;;) {                                                          
    c = getc(fp);                                                     
 202bddc:	c2 06 00 00 	ld  [ %i0 ], %g1                               
 202bde0:	d0 08 40 00 	ldub  [ %g1 ], %o0                             
 202bde4:	82 00 60 01 	inc  %g1                                       
    if (c == ':') {                                                   
 202bde8:	80 a2 20 3a 	cmp  %o0, 0x3a                                 
 202bdec:	02 80 00 1e 	be  202be64 <scanString+0x9c>                  
 202bdf0:	c2 26 00 00 	st  %g1, [ %i0 ]                               
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
 202bdf4:	80 a2 20 0a 	cmp  %o0, 0xa                                  
 202bdf8:	02 80 00 2a 	be  202bea0 <scanString+0xd8>                  
 202bdfc:	80 a2 3f ff 	cmp  %o0, -1                                   
        if (!nlFlag)                                                  
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == EOF)                                                     
 202be00:	02 80 00 26 	be  202be98 <scanString+0xd0>                  
 202be04:	01 00 00 00 	nop                                            
      return 0;                                                       
    if (*nleft < 2)                                                   
 202be08:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
 202be0c:	80 a0 60 01 	cmp  %g1, 1                                    
 202be10:	08 80 00 22 	bleu  202be98 <scanString+0xd0>                
 202be14:	01 00 00 00 	nop                                            
      return 0;                                                       
    **bufp = c;                                                       
 202be18:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 202be1c:	d0 28 40 00 	stb  %o0, [ %g1 ]                              
    ++(*bufp);                                                        
 202be20:	c4 06 80 00 	ld  [ %i2 ], %g2                               
    --(*nleft);                                                       
 202be24:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
    if (c == EOF)                                                     
      return 0;                                                       
    if (*nleft < 2)                                                   
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
 202be28:	84 00 a0 01 	inc  %g2                                       
 202be2c:	c4 26 80 00 	st  %g2, [ %i2 ]                               
    --(*nleft);                                                       
 202be30:	82 00 7f ff 	add  %g1, -1, %g1                              
 202be34:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
{                                                                     
  int c;                                                              
                                                                      
  *name = *bufp;                                                      
  for (;;) {                                                          
    c = getc(fp);                                                     
 202be38:	c2 06 20 04 	ld  [ %i0 + 4 ], %g1                           
 202be3c:	82 00 7f ff 	add  %g1, -1, %g1                              
 202be40:	80 a0 60 00 	cmp  %g1, 0                                    
 202be44:	16 bf ff e6 	bge  202bddc <scanString+0x14>                 
 202be48:	c2 26 20 04 	st  %g1, [ %i0 + 4 ]                           
 202be4c:	d0 07 60 00 	ld  [ %i5 ], %o0                               
 202be50:	40 00 89 15 	call  204e2a4 <__srget_r>                      
 202be54:	92 10 00 18 	mov  %i0, %o1                                  
    if (c == ':') {                                                   
 202be58:	80 a2 20 3a 	cmp  %o0, 0x3a                                 
 202be5c:	12 bf ff e7 	bne  202bdf8 <scanString+0x30>                 <== ALWAYS TAKEN
 202be60:	80 a2 20 0a 	cmp  %o0, 0xa                                  
        if (nlFlag)                                                   
 202be64:	80 a7 20 00 	cmp  %i4, 0                                    
 202be68:	12 80 00 11 	bne  202beac <scanString+0xe4>                 
 202be6c:	b0 10 20 00 	clr  %i0                                       
      return 0;                                                       
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
 202be70:	c2 06 80 00 	ld  [ %i2 ], %g1                               
 202be74:	c0 28 40 00 	clrb  [ %g1 ]                                  
  ++(*bufp);                                                          
 202be78:	c4 06 80 00 	ld  [ %i2 ], %g2                               
  --(*nleft);                                                         
 202be7c:	c2 06 c0 00 	ld  [ %i3 ], %g1                               
    **bufp = c;                                                       
    ++(*bufp);                                                        
    --(*nleft);                                                       
  }                                                                   
  **bufp = '\0';                                                      
  ++(*bufp);                                                          
 202be80:	84 00 a0 01 	inc  %g2                                       
 202be84:	c4 26 80 00 	st  %g2, [ %i2 ]                               
  --(*nleft);                                                         
 202be88:	82 00 7f ff 	add  %g1, -1, %g1                              
 202be8c:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
  return 1;                                                           
 202be90:	81 c7 e0 08 	ret                                            
 202be94:	91 e8 20 01 	restore  %g0, 1, %o0                           
}                                                                     
 202be98:	81 c7 e0 08 	ret                                            
 202be9c:	91 e8 20 00 	restore  %g0, 0, %o0                           
        if (nlFlag)                                                   
            return 0;                                                 
        break;                                                        
    }                                                                 
    if (c == '\n') {                                                  
        if (!nlFlag)                                                  
 202bea0:	80 a7 20 00 	cmp  %i4, 0                                    
 202bea4:	12 bf ff f3 	bne  202be70 <scanString+0xa8>                 
 202bea8:	b0 10 20 00 	clr  %i0                                       
 202beac:	81 c7 e0 08 	ret                                            
 202beb0:	81 e8 00 00 	restore                                        
                                                                      

0202beb4 <scangr>: FILE *fp, struct group *grp, char *buffer, size_t bufsize ) {
 202beb4:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 202beb8:	98 10 20 00 	clr  %o4                                       
  FILE *fp,                                                           
  struct group *grp,                                                  
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 202bebc:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 202bec0:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
 202bec4:	90 10 00 18 	mov  %i0, %o0                                  
 202bec8:	92 10 00 19 	mov  %i1, %o1                                  
 202becc:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 202bed0:	7f ff ff be 	call  202bdc8 <scanString>                     
 202bed4:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 202bed8:	80 a2 20 00 	cmp  %o0, 0                                    
 202bedc:	12 80 00 04 	bne  202beec <scangr+0x38>                     
 202bee0:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
   || !scanInt(fp, &grgid)                                            
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
    return 0;                                                         
 202bee4:	81 c7 e0 08 	ret                                            
 202bee8:	91 e8 20 00 	restore  %g0, 0, %o0                           
  int grgid;                                                          
  char *grmem, *cp;                                                   
  int memcount;                                                       
                                                                      
  if (!scanString(fp, &grp->gr_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &grp->gr_passwd, &buffer, &bufsize, 0)          
 202beec:	92 06 60 04 	add  %i1, 4, %o1                               
 202bef0:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 202bef4:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 202bef8:	7f ff ff b4 	call  202bdc8 <scanString>                     
 202befc:	98 10 20 00 	clr  %o4                                       
 202bf00:	80 a2 20 00 	cmp  %o0, 0                                    
 202bf04:	02 bf ff f8 	be  202bee4 <scangr+0x30>                      <== NEVER TAKEN
 202bf08:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanInt(fp, &grgid)                                            
 202bf0c:	7f ff ff 64 	call  202bc9c <scanInt>                        
 202bf10:	92 07 bf f8 	add  %fp, -8, %o1                              
 202bf14:	80 a2 20 00 	cmp  %o0, 0                                    
 202bf18:	02 bf ff f3 	be  202bee4 <scangr+0x30>                      <== NEVER TAKEN
 202bf1c:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanString(fp, &grmem, &buffer, &bufsize, 1))                  
 202bf20:	92 07 bf fc 	add  %fp, -4, %o1                              
 202bf24:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 202bf28:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 202bf2c:	7f ff ff a7 	call  202bdc8 <scanString>                     
 202bf30:	98 10 20 01 	mov  1, %o4                                    
 202bf34:	80 a2 20 00 	cmp  %o0, 0                                    
 202bf38:	02 bf ff eb 	be  202bee4 <scangr+0x30>                      <== NEVER TAKEN
 202bf3c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 202bf40:	fa 07 bf fc 	ld  [ %fp + -4 ], %i5                          
  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;                                                
 202bf44:	c2 36 60 08 	sth  %g1, [ %i1 + 8 ]                          
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 202bf48:	c6 0f 40 00 	ldub  [ %i5 ], %g3                             
 202bf4c:	83 28 e0 18 	sll  %g3, 0x18, %g1                            
 202bf50:	80 a0 60 00 	cmp  %g1, 0                                    
 202bf54:	02 80 00 10 	be  202bf94 <scangr+0xe0>                      <== NEVER TAKEN
 202bf58:	88 10 20 17 	mov  0x17, %g4                                 
 202bf5c:	84 10 00 1d 	mov  %i5, %g2                                  
 202bf60:	88 10 20 01 	mov  1, %g4                                    
 202bf64:	84 00 a0 01 	inc  %g2                                       
 202bf68:	c6 08 80 00 	ldub  [ %g2 ], %g3                             
    if(*cp == ',')                                                    
 202bf6c:	83 38 60 18 	sra  %g1, 0x18, %g1                            
      memcount++;                                                     
 202bf70:	82 18 60 2c 	xor  %g1, 0x2c, %g1                            
 202bf74:	80 a0 00 01 	cmp  %g0, %g1                                  
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 202bf78:	83 28 e0 18 	sll  %g3, 0x18, %g1                            
    if(*cp == ',')                                                    
      memcount++;                                                     
 202bf7c:	88 61 3f ff 	subx  %g4, -1, %g4                             
  grp->gr_gid = grgid;                                                
                                                                      
  /*                                                                  
   * Determine number of members                                      
   */                                                                 
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 202bf80:	80 a0 60 00 	cmp  %g1, 0                                    
 202bf84:	32 bf ff f9 	bne,a   202bf68 <scangr+0xb4>                  
 202bf88:	84 00 a0 01 	inc  %g2                                       
 202bf8c:	89 29 20 02 	sll  %g4, 2, %g4                               
 202bf90:	88 01 20 13 	add  %g4, 0x13, %g4                            
  }                                                                   
                                                                      
  /*                                                                  
   * Hack to produce (hopefully) a suitably-aligned array of pointers 
   */                                                                 
  if (bufsize < (((memcount+1)*sizeof(char *)) + 15))                 
 202bf94:	c2 07 a0 50 	ld  [ %fp + 0x50 ], %g1                        
 202bf98:	80 a0 40 04 	cmp  %g1, %g4                                  
 202bf9c:	0a bf ff d2 	bcs  202bee4 <scangr+0x30>                     <== NEVER TAKEN
 202bfa0:	c2 07 a0 4c 	ld  [ %fp + 0x4c ], %g1                        
    return 0;                                                         
  grp->gr_mem = (char **)(((uintptr_t)buffer + 15) & ~15);            
 202bfa4:	82 00 60 0f 	add  %g1, 0xf, %g1                             
 202bfa8:	82 08 7f f0 	and  %g1, -16, %g1                             
 202bfac:	c2 26 60 0c 	st  %g1, [ %i1 + 0xc ]                         
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
 202bfb0:	fa 20 40 00 	st  %i5, [ %g1 ]                               
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 202bfb4:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 202bfb8:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
 202bfbc:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 202bfc0:	80 a0 a0 00 	cmp  %g2, 0                                    
 202bfc4:	02 80 00 18 	be  202c024 <scangr+0x170>                     <== NEVER TAKEN
 202bfc8:	82 00 60 01 	inc  %g1                                       
 202bfcc:	10 80 00 07 	b  202bfe8 <scangr+0x134>                      
 202bfd0:	86 10 20 01 	mov  1, %g3                                    
 202bfd4:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
 202bfd8:	85 28 a0 18 	sll  %g2, 0x18, %g2                            
 202bfdc:	80 a0 a0 00 	cmp  %g2, 0                                    
 202bfe0:	02 80 00 0c 	be  202c010 <scangr+0x15c>                     
 202bfe4:	82 00 60 01 	inc  %g1                                       
    if(*cp == ',') {                                                  
 202bfe8:	85 38 a0 18 	sra  %g2, 0x18, %g2                            
 202bfec:	80 a0 a0 2c 	cmp  %g2, 0x2c                                 
 202bff0:	32 bf ff fa 	bne,a   202bfd8 <scangr+0x124>                 
 202bff4:	c4 08 40 00 	ldub  [ %g1 ], %g2                             
      *cp = '\0';                                                     
 202bff8:	c0 28 7f ff 	clrb  [ %g1 + -1 ]                             
      grp->gr_mem[memcount++] = cp + 1;                               
 202bffc:	c8 06 60 0c 	ld  [ %i1 + 0xc ], %g4                         
 202c000:	85 28 e0 02 	sll  %g3, 2, %g2                               
 202c004:	86 00 e0 01 	inc  %g3                                       
 202c008:	10 bf ff f3 	b  202bfd4 <scangr+0x120>                      
 202c00c:	c2 21 00 02 	st  %g1, [ %g4 + %g2 ]                         
 202c010:	87 28 e0 02 	sll  %g3, 2, %g3                               
    }                                                                 
  }                                                                   
  grp->gr_mem[memcount] = NULL;                                       
 202c014:	c2 06 60 0c 	ld  [ %i1 + 0xc ], %g1                         
 202c018:	c0 20 40 03 	clr  [ %g1 + %g3 ]                             
  return 1;                                                           
}                                                                     
 202c01c:	81 c7 e0 08 	ret                                            
 202c020:	91 e8 20 01 	restore  %g0, 1, %o0                           
                                                                      
  /*                                                                  
   * Fill in pointer array                                            
   */                                                                 
  grp->gr_mem[0] = grmem;                                             
  for (cp = grmem, memcount = 1 ; *cp != 0 ; cp++) {                  
 202c024:	10 bf ff fc 	b  202c014 <scangr+0x160>                      <== NOT EXECUTED
 202c028:	86 10 20 04 	mov  4, %g3                                    <== NOT EXECUTED
                                                                      

0202c02c <scanpw>: FILE *fp, struct passwd *pwd, char *buffer, size_t bufsize ) {
 202c02c:	9d e3 bf 98 	save  %sp, -104, %sp                           
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 202c030:	98 10 20 00 	clr  %o4                                       
  FILE *fp,                                                           
  struct passwd *pwd,                                                 
  char *buffer,                                                       
  size_t bufsize                                                      
)                                                                     
{                                                                     
 202c034:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 202c038:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
 202c03c:	90 10 00 18 	mov  %i0, %o0                                  
 202c040:	92 10 00 19 	mov  %i1, %o1                                  
 202c044:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 202c048:	7f ff ff 60 	call  202bdc8 <scanString>                     
 202c04c:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 202c050:	80 a2 20 00 	cmp  %o0, 0                                    
 202c054:	12 80 00 04 	bne  202c064 <scanpw+0x38>                     
 202c058:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanInt(fp, &pwgid)                                            
   || !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;                                                         
 202c05c:	81 c7 e0 08 	ret                                            
 202c060:	91 e8 20 00 	restore  %g0, 0, %o0                           
)                                                                     
{                                                                     
  int pwuid, pwgid;                                                   
                                                                      
  if (!scanString(fp, &pwd->pw_name, &buffer, &bufsize, 0)            
   || !scanString(fp, &pwd->pw_passwd, &buffer, &bufsize, 0)          
 202c064:	92 06 60 04 	add  %i1, 4, %o1                               
 202c068:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 202c06c:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 202c070:	7f ff ff 56 	call  202bdc8 <scanString>                     
 202c074:	98 10 20 00 	clr  %o4                                       
 202c078:	80 a2 20 00 	cmp  %o0, 0                                    
 202c07c:	02 bf ff f8 	be  202c05c <scanpw+0x30>                      <== NEVER TAKEN
 202c080:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanInt(fp, &pwuid)                                            
 202c084:	7f ff ff 06 	call  202bc9c <scanInt>                        
 202c088:	92 07 bf f8 	add  %fp, -8, %o1                              
 202c08c:	80 a2 20 00 	cmp  %o0, 0                                    
 202c090:	02 bf ff f3 	be  202c05c <scanpw+0x30>                      
 202c094:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanInt(fp, &pwgid)                                            
 202c098:	7f ff ff 01 	call  202bc9c <scanInt>                        
 202c09c:	92 07 bf fc 	add  %fp, -4, %o1                              
 202c0a0:	80 a2 20 00 	cmp  %o0, 0                                    
 202c0a4:	02 bf ff ee 	be  202c05c <scanpw+0x30>                      
 202c0a8:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanString(fp, &pwd->pw_comment, &buffer, &bufsize, 0)         
 202c0ac:	92 06 60 0c 	add  %i1, 0xc, %o1                             
 202c0b0:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 202c0b4:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 202c0b8:	7f ff ff 44 	call  202bdc8 <scanString>                     
 202c0bc:	98 10 20 00 	clr  %o4                                       
 202c0c0:	80 a2 20 00 	cmp  %o0, 0                                    
 202c0c4:	02 bf ff e6 	be  202c05c <scanpw+0x30>                      <== NEVER TAKEN
 202c0c8:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanString(fp, &pwd->pw_gecos, &buffer, &bufsize, 0)           
 202c0cc:	92 06 60 10 	add  %i1, 0x10, %o1                            
 202c0d0:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 202c0d4:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 202c0d8:	7f ff ff 3c 	call  202bdc8 <scanString>                     
 202c0dc:	98 10 20 00 	clr  %o4                                       
 202c0e0:	80 a2 20 00 	cmp  %o0, 0                                    
 202c0e4:	02 bf ff de 	be  202c05c <scanpw+0x30>                      <== NEVER TAKEN
 202c0e8:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanString(fp, &pwd->pw_dir, &buffer, &bufsize, 0)             
 202c0ec:	92 06 60 14 	add  %i1, 0x14, %o1                            
 202c0f0:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 202c0f4:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 202c0f8:	7f ff ff 34 	call  202bdc8 <scanString>                     
 202c0fc:	98 10 20 00 	clr  %o4                                       
 202c100:	80 a2 20 00 	cmp  %o0, 0                                    
 202c104:	02 bf ff d6 	be  202c05c <scanpw+0x30>                      <== NEVER TAKEN
 202c108:	90 10 00 18 	mov  %i0, %o0                                  
   || !scanString(fp, &pwd->pw_shell, &buffer, &bufsize, 1))          
 202c10c:	92 06 60 18 	add  %i1, 0x18, %o1                            
 202c110:	94 07 a0 4c 	add  %fp, 0x4c, %o2                            
 202c114:	96 07 a0 50 	add  %fp, 0x50, %o3                            
 202c118:	7f ff ff 2c 	call  202bdc8 <scanString>                     
 202c11c:	98 10 20 01 	mov  1, %o4                                    
 202c120:	80 a2 20 00 	cmp  %o0, 0                                    
 202c124:	02 bf ff ce 	be  202c05c <scanpw+0x30>                      
 202c128:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
    return 0;                                                         
  pwd->pw_uid = pwuid;                                                
 202c12c:	c2 36 60 08 	sth  %g1, [ %i1 + 8 ]                          
  pwd->pw_gid = pwgid;                                                
 202c130:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 202c134:	c2 36 60 0a 	sth  %g1, [ %i1 + 0xa ]                        
  return 1;                                                           
}                                                                     
 202c138:	81 c7 e0 08 	ret                                            
 202c13c:	91 e8 20 01 	restore  %g0, 1, %o0                           
                                                                      

020084c4 <sched_get_priority_max>: #include <rtems/posix/priority.h> int sched_get_priority_max( int policy ) {
 20084c4:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 20084c8:	80 a6 20 04 	cmp  %i0, 4                                    
 20084cc:	08 80 00 08 	bleu  20084ec <sched_get_priority_max+0x28>    
 20084d0:	82 10 20 01 	mov  1, %g1                                    
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 20084d4:	40 00 23 cf 	call  2011410 <__errno>                        
 20084d8:	b0 10 3f ff 	mov  -1, %i0                                   
 20084dc:	82 10 20 16 	mov  0x16, %g1                                 
 20084e0:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20084e4:	81 c7 e0 08 	ret                                            
 20084e8:	81 e8 00 00 	restore                                        
                                                                      
int sched_get_priority_max(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
 20084ec:	b1 28 40 18 	sll  %g1, %i0, %i0                             
 20084f0:	80 8e 20 17 	btst  0x17, %i0                                
 20084f4:	02 bf ff f8 	be  20084d4 <sched_get_priority_max+0x10>      <== NEVER TAKEN
 20084f8:	03 00 80 8a 	sethi  %hi(0x2022800), %g1                     
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MAXIMUM_PRIORITY;                            
 20084fc:	f0 08 60 e8 	ldub  [ %g1 + 0xe8 ], %i0	! 20228e8 <rtems_maximum_priority>
}                                                                     
 2008500:	81 c7 e0 08 	ret                                            
 2008504:	91 ee 3f ff 	restore  %i0, -1, %o0                          
                                                                      

02008508 <sched_get_priority_min>: #include <rtems/posix/priority.h> int sched_get_priority_min( int policy ) {
 2008508:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch ( policy ) {                                                 
 200850c:	80 a6 20 04 	cmp  %i0, 4                                    
 2008510:	08 80 00 08 	bleu  2008530 <sched_get_priority_min+0x28>    
 2008514:	82 10 00 18 	mov  %i0, %g1                                  
    case SCHED_RR:                                                    
    case SCHED_SPORADIC:                                              
      break;                                                          
                                                                      
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2008518:	40 00 23 be 	call  2011410 <__errno>                        
 200851c:	b0 10 3f ff 	mov  -1, %i0                                   
 2008520:	82 10 20 16 	mov  0x16, %g1                                 
 2008524:	c2 22 00 00 	st  %g1, [ %o0 ]                               
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
 2008528:	81 c7 e0 08 	ret                                            
 200852c:	81 e8 00 00 	restore                                        
                                                                      
int sched_get_priority_min(                                           
  int  policy                                                         
)                                                                     
{                                                                     
  switch ( policy ) {                                                 
 2008530:	84 10 20 01 	mov  1, %g2                                    
 2008534:	83 28 80 01 	sll  %g2, %g1, %g1                             
 2008538:	80 88 60 17 	btst  0x17, %g1                                
 200853c:	02 bf ff f7 	be  2008518 <sched_get_priority_min+0x10>      <== NEVER TAKEN
 2008540:	b0 10 20 01 	mov  1, %i0                                    
    default:                                                          
      rtems_set_errno_and_return_minus_one( EINVAL );                 
  }                                                                   
                                                                      
  return POSIX_SCHEDULER_MINIMUM_PRIORITY;                            
}                                                                     
 2008544:	81 c7 e0 08 	ret                                            
 2008548:	81 e8 00 00 	restore                                        
                                                                      

0200854c <sched_rr_get_interval>: int sched_rr_get_interval( pid_t pid, struct timespec *interval ) {
 200854c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
 2008550:	80 a6 20 00 	cmp  %i0, 0                                    
 2008554:	12 80 00 0a 	bne  200857c <sched_rr_get_interval+0x30>      <== ALWAYS TAKEN
 2008558:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
                                                                      
  if ( !interval )                                                    
 200855c:	02 80 00 13 	be  20085a8 <sched_rr_get_interval+0x5c>       
 2008560:	03 00 80 8d 	sethi  %hi(0x2023400), %g1                     
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  _Timespec_From_ticks( _Thread_Ticks_per_timeslice, interval );      
 2008564:	d0 00 61 d0 	ld  [ %g1 + 0x1d0 ], %o0	! 20235d0 <_Thread_Ticks_per_timeslice>
 2008568:	92 10 00 19 	mov  %i1, %o1                                  
 200856c:	40 00 0f 89 	call  200c390 <_Timespec_From_ticks>           
 2008570:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2008574:	81 c7 e0 08 	ret                                            
 2008578:	81 e8 00 00 	restore                                        
{                                                                     
  /*                                                                  
   *  Only supported for the "calling process" (i.e. this node).      
   */                                                                 
                                                                      
  if ( pid && pid != getpid() )                                       
 200857c:	7f ff ee 7c 	call  2003f6c <getpid>                         
 2008580:	01 00 00 00 	nop                                            
 2008584:	80 a2 00 18 	cmp  %o0, %i0                                  
 2008588:	02 bf ff f5 	be  200855c <sched_rr_get_interval+0x10>       
 200858c:	80 a6 60 00 	cmp  %i1, 0                                    
    rtems_set_errno_and_return_minus_one( ESRCH );                    
 2008590:	40 00 23 a0 	call  2011410 <__errno>                        
 2008594:	b0 10 3f ff 	mov  -1, %i0                                   
 2008598:	82 10 20 03 	mov  3, %g1                                    
 200859c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20085a0:	81 c7 e0 08 	ret                                            
 20085a4:	81 e8 00 00 	restore                                        
                                                                      
  if ( !interval )                                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 20085a8:	40 00 23 9a 	call  2011410 <__errno>                        
 20085ac:	b0 10 3f ff 	mov  -1, %i0                                   
 20085b0:	82 10 20 16 	mov  0x16, %g1                                 
 20085b4:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 20085b8:	81 c7 e0 08 	ret                                            
 20085bc:	81 e8 00 00 	restore                                        
                                                                      

02008b38 <sem_open>: int oflag, ... /* mode_t mode, */ /* unsigned int value */ ) {
 2008b38:	9d e3 bf 88 	save  %sp, -120, %sp                           
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2008b3c:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
 2008b40:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 20233a0 <_Thread_Dispatch_disable_level>
  size_t                     name_len;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 2008b44:	f4 27 a0 4c 	st  %i2, [ %fp + 0x4c ]                        
 2008b48:	84 00 a0 01 	inc  %g2                                       
 2008b4c:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
    return _Thread_Dispatch_disable_level;                            
 2008b50:	c2 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g1                       
 2008b54:	f6 27 a0 50 	st  %i3, [ %fp + 0x50 ]                        
 2008b58:	f8 27 a0 54 	st  %i4, [ %fp + 0x54 ]                        
 2008b5c:	fa 27 a0 58 	st  %i5, [ %fp + 0x58 ]                        
  Objects_Locations          location;                                
  size_t                     name_len;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
 2008b60:	b4 8e 62 00 	andcc  %i1, 0x200, %i2                         
 2008b64:	12 80 00 27 	bne  2008c00 <sem_open+0xc8>                   
 2008b68:	b6 10 20 00 	clr  %i3                                       
  const char *name,                                                   
  Objects_Id *id,                                                     
  size_t     *len                                                     
)                                                                     
{                                                                     
  return _POSIX_Name_to_id( &_POSIX_Semaphore_Information, name, id, len );
 2008b6c:	39 00 80 8d 	sethi  %hi(0x2023400), %i4                     
 2008b70:	92 10 00 18 	mov  %i0, %o1                                  
 2008b74:	90 17 22 90 	or  %i4, 0x290, %o0                            
 2008b78:	94 07 bf f0 	add  %fp, -16, %o2                             
 2008b7c:	7f ff fe 5b 	call  20084e8 <_POSIX_Name_to_id>              
 2008b80:	96 07 bf fc 	add  %fp, -4, %o3                              
   *  and we can just return a pointer to the id.  Otherwise we may   
   *  need to check to see if this is a "semaphore does not exist"    
   *  or some other miscellaneous error on the name.                  
   */                                                                 
                                                                      
  if ( status ) {                                                     
 2008b84:	ba 92 20 00 	orcc  %o0, 0, %i5                              
 2008b88:	22 80 00 0e 	be,a   2008bc0 <sem_open+0x88>                 
 2008b8c:	b2 0e 6a 00 	and  %i1, 0xa00, %i1                           
    /*                                                                
     * Unless provided a valid name that did not already exist        
     * and we are willing to create then it is an error.              
     */                                                               
                                                                      
    if ( !( status == ENOENT && (oflag & O_CREAT) ) ) {               
 2008b90:	80 a7 60 02 	cmp  %i5, 2                                    
 2008b94:	12 80 00 04 	bne  2008ba4 <sem_open+0x6c>                   
 2008b98:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008b9c:	12 80 00 1d 	bne  2008c10 <sem_open+0xd8>                   
 2008ba0:	d2 07 bf fc 	ld  [ %fp + -4 ], %o1                          
      _Thread_Enable_dispatch();                                      
 2008ba4:	40 00 0e 82 	call  200c5ac <_Thread_Enable_dispatch>        
 2008ba8:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( status, sem_t * );   
 2008bac:	40 00 26 e8 	call  201274c <__errno>                        
 2008bb0:	01 00 00 00 	nop                                            
 2008bb4:	fa 22 00 00 	st  %i5, [ %o0 ]                               
 2008bb8:	81 c7 e0 08 	ret                                            
 2008bbc:	81 e8 00 00 	restore                                        
                                                                      
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
 2008bc0:	80 a6 6a 00 	cmp  %i1, 0xa00                                
 2008bc4:	02 80 00 1f 	be  2008c40 <sem_open+0x108>                   
 2008bc8:	d2 07 bf f0 	ld  [ %fp + -16 ], %o1                         
RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (  
  sem_t             *id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Semaphore_Control *)                                  
 2008bcc:	94 07 bf f8 	add  %fp, -8, %o2                              
 2008bd0:	40 00 0a 62 	call  200b558 <_Objects_Get>                   
 2008bd4:	90 17 22 90 	or  %i4, 0x290, %o0                            
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( (sem_t *) &the_semaphore_id, &location );
    the_semaphore->open_count += 1;                                   
 2008bd8:	c2 02 20 18 	ld  [ %o0 + 0x18 ], %g1                        
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
    }                                                                 
                                                                      
    the_semaphore = _POSIX_Semaphore_Get( (sem_t *) &the_semaphore_id, &location );
 2008bdc:	d0 27 bf f4 	st  %o0, [ %fp + -12 ]                         
    the_semaphore->open_count += 1;                                   
 2008be0:	82 00 60 01 	inc  %g1                                       
    _Thread_Enable_dispatch();                                        
 2008be4:	40 00 0e 72 	call  200c5ac <_Thread_Enable_dispatch>        
 2008be8:	c2 22 20 18 	st  %g1, [ %o0 + 0x18 ]                        
    _Thread_Enable_dispatch();                                        
 2008bec:	40 00 0e 70 	call  200c5ac <_Thread_Enable_dispatch>        
 2008bf0:	01 00 00 00 	nop                                            
return_id:                                                            
  #if defined(RTEMS_USE_16_BIT_OBJECT)                                
    the_semaphore->Semaphore_id = the_semaphore->Object.id;           
    return &the_semaphore->Semaphore_id;                              
  #else                                                               
    return (sem_t *)&the_semaphore->Object.id;                        
 2008bf4:	f0 07 bf f4 	ld  [ %fp + -12 ], %i0                         
 2008bf8:	81 c7 e0 08 	ret                                            
 2008bfc:	91 ee 20 08 	restore  %i0, 8, %o0                           
  size_t                     name_len;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 2008c00:	82 07 a0 4c 	add  %fp, 0x4c, %g1                            
    mode = va_arg( arg, mode_t );                                     
    value = va_arg( arg, unsigned int );                              
 2008c04:	f6 07 a0 50 	ld  [ %fp + 0x50 ], %i3                        
  size_t                     name_len;                                
                                                                      
  _Thread_Disable_dispatch();                                         
                                                                      
  if ( oflag & O_CREAT ) {                                            
    va_start(arg, oflag);                                             
 2008c08:	10 bf ff d9 	b  2008b6c <sem_open+0x34>                     
 2008c0c:	c2 27 bf ec 	st  %g1, [ %fp + -20 ]                         
  /*                                                                  
   *  At this point, the semaphore does not exist and everything has been
   *  checked. We should go ahead and create a semaphore.             
   */                                                                 
                                                                      
  status =_POSIX_Semaphore_Create_support(                            
 2008c10:	94 10 20 00 	clr  %o2                                       
 2008c14:	96 10 00 1b 	mov  %i3, %o3                                  
 2008c18:	98 07 bf f4 	add  %fp, -12, %o4                             
 2008c1c:	40 00 1b 29 	call  200f8c0 <_POSIX_Semaphore_Create_support>
 2008c20:	90 10 00 18 	mov  %i0, %o0                                  
                                                                      
  /*                                                                  
   * errno was set by Create_support, so don't set it again.          
   */                                                                 
                                                                      
  _Thread_Enable_dispatch();                                          
 2008c24:	40 00 0e 62 	call  200c5ac <_Thread_Enable_dispatch>        
 2008c28:	ba 10 00 08 	mov  %o0, %i5                                  
                                                                      
  if ( status == -1 )                                                 
 2008c2c:	80 a7 7f ff 	cmp  %i5, -1                                   
 2008c30:	32 bf ff f2 	bne,a   2008bf8 <sem_open+0xc0>                <== ALWAYS TAKEN
 2008c34:	f0 07 bf f4 	ld  [ %fp + -12 ], %i0                         
    the_semaphore->Semaphore_id = the_semaphore->Object.id;           
    return &the_semaphore->Semaphore_id;                              
  #else                                                               
    return (sem_t *)&the_semaphore->Object.id;                        
  #endif                                                              
}                                                                     
 2008c38:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2008c3c:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED
    /*                                                                
     * Check for existence with creation.                             
     */                                                               
                                                                      
    if ( (oflag & (O_CREAT | O_EXCL)) == (O_CREAT | O_EXCL) ) {       
      _Thread_Enable_dispatch();                                      
 2008c40:	40 00 0e 5b 	call  200c5ac <_Thread_Enable_dispatch>        
 2008c44:	b0 10 3f ff 	mov  -1, %i0                                   
      rtems_set_errno_and_return_minus_one_cast( EEXIST, sem_t * );   
 2008c48:	40 00 26 c1 	call  201274c <__errno>                        
 2008c4c:	01 00 00 00 	nop                                            
 2008c50:	82 10 20 11 	mov  0x11, %g1	! 11 <PROM_START+0x11>          
 2008c54:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008c58:	81 c7 e0 08 	ret                                            
 2008c5c:	81 e8 00 00 	restore                                        
                                                                      

0200af68 <sem_timedwait>: int sem_timedwait( sem_t *sem, const struct timespec *abstime ) {
 200af68:	9d e3 bf 98 	save  %sp, -104, %sp                           
   *                                                                  
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
 200af6c:	90 10 00 19 	mov  %i1, %o0                                  
 200af70:	40 00 17 1a 	call  2010bd8 <_POSIX_Absolute_timeout_to_ticks>
 200af74:	92 07 bf fc 	add  %fp, -4, %o1                              
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
 200af78:	d4 07 bf fc 	ld  [ %fp + -4 ], %o2                          
   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,                
   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
   *  then we should not wait.                                        
   */                                                                 
  status = _POSIX_Absolute_timeout_to_ticks( abstime, &ticks );       
  if ( status != POSIX_ABSOLUTE_TIMEOUT_IS_IN_FUTURE )                
 200af7c:	80 a2 20 03 	cmp  %o0, 3                                    
 200af80:	02 80 00 06 	be  200af98 <sem_timedwait+0x30>               <== ALWAYS TAKEN
 200af84:	90 10 00 18 	mov  %i0, %o0                                  
    do_wait = false;                                                  
                                                                      
  lock_status = _POSIX_Semaphore_Wait_support( sem, do_wait, ticks ); 
 200af88:	40 00 1a 14 	call  20117d8 <_POSIX_Semaphore_Wait_support>  <== NOT EXECUTED
 200af8c:	92 10 20 00 	clr  %o1                                       <== NOT EXECUTED
 200af90:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200af94:	91 e8 00 08 	restore  %g0, %o0, %o0                         <== NOT EXECUTED
 200af98:	40 00 1a 10 	call  20117d8 <_POSIX_Semaphore_Wait_support>  
 200af9c:	92 10 20 01 	mov  1, %o1                                    
         lock_status == POSIX_ABSOLUTE_TIMEOUT_IS_NOW )               
      rtems_set_errno_and_return_minus_one( ETIMEDOUT );              
  }                                                                   
                                                                      
  return lock_status;                                                 
}                                                                     
 200afa0:	81 c7 e0 08 	ret                                            
 200afa4:	91 e8 00 08 	restore  %g0, %o0, %o0                         
                                                                      

02008460 <sigaction>: int sigaction( int sig, const struct sigaction *act, struct sigaction *oact ) {
 2008460:	9d e3 bf a0 	save  %sp, -96, %sp                            
  ISR_Level     level;                                                
                                                                      
  if ( oact )                                                         
 2008464:	80 a6 a0 00 	cmp  %i2, 0                                    
 2008468:	02 80 00 0d 	be  200849c <sigaction+0x3c>                   
 200846c:	87 2e 20 02 	sll  %i0, 2, %g3                               
    *oact = _POSIX_signals_Vectors[ sig ];                            
 2008470:	05 00 80 89 	sethi  %hi(0x2022400), %g2                     
 2008474:	83 2e 20 04 	sll  %i0, 4, %g1                               
 2008478:	84 10 a1 50 	or  %g2, 0x150, %g2                            
 200847c:	82 20 40 03 	sub  %g1, %g3, %g1                             
 2008480:	c6 00 80 01 	ld  [ %g2 + %g1 ], %g3                         
 2008484:	82 00 80 01 	add  %g2, %g1, %g1                             
 2008488:	c6 26 80 00 	st  %g3, [ %i2 ]                               
 200848c:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
 2008490:	c4 26 a0 04 	st  %g2, [ %i2 + 4 ]                           
 2008494:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
 2008498:	c2 26 a0 08 	st  %g1, [ %i2 + 8 ]                           
                                                                      
  if ( !sig )                                                         
 200849c:	80 a6 20 00 	cmp  %i0, 0                                    
 20084a0:	02 80 00 33 	be  200856c <sigaction+0x10c>                  
 20084a4:	01 00 00 00 	nop                                            
                                                                      
static inline bool is_valid_signo(                                    
  int signo                                                           
)                                                                     
{                                                                     
  return ((signo) >= 1 && (signo) <= 32 );                            
 20084a8:	82 06 3f ff 	add  %i0, -1, %g1                              
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !is_valid_signo(sig) )                                         
 20084ac:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 20084b0:	18 80 00 2f 	bgu  200856c <sigaction+0x10c>                 
 20084b4:	80 a6 20 09 	cmp  %i0, 9                                    
   *                                                                  
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
 20084b8:	02 80 00 2d 	be  200856c <sigaction+0x10c>                  
 20084bc:	80 a6 60 00 	cmp  %i1, 0                                    
  /*                                                                  
   *  Evaluate the new action structure and set the global signal vector
   *  appropriately.                                                  
   */                                                                 
                                                                      
  if ( act ) {                                                        
 20084c0:	02 80 00 1a 	be  2008528 <sigaction+0xc8>                   <== NEVER TAKEN
 20084c4:	82 10 20 00 	clr  %g1                                       
    /*                                                                
     *  Unless the user is installing the default signal actions, then
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
 20084c8:	7f ff e9 93 	call  2002b14 <sparc_disable_interrupts>       
 20084cc:	01 00 00 00 	nop                                            
 20084d0:	ba 10 00 08 	mov  %o0, %i5                                  
      if ( act->sa_handler == SIG_DFL ) {                             
 20084d4:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 20084d8:	80 a0 60 00 	cmp  %g1, 0                                    
 20084dc:	02 80 00 15 	be  2008530 <sigaction+0xd0>                   
 20084e0:	83 2e 20 02 	sll  %i0, 2, %g1                               
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
      } else {                                                        
         _POSIX_signals_Clear_process_signals( sig );                 
 20084e4:	40 00 18 69 	call  200e688 <_POSIX_signals_Clear_process_signals>
 20084e8:	90 10 00 18 	mov  %i0, %o0                                  
         _POSIX_signals_Vectors[ sig ] = *act;                        
 20084ec:	c4 06 40 00 	ld  [ %i1 ], %g2                               
 20084f0:	87 2e 20 02 	sll  %i0, 2, %g3                               
 20084f4:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
 20084f8:	b1 2e 20 04 	sll  %i0, 4, %i0                               
 20084fc:	82 10 61 50 	or  %g1, 0x150, %g1                            
 2008500:	b0 26 00 03 	sub  %i0, %g3, %i0                             
 2008504:	c4 20 40 18 	st  %g2, [ %g1 + %i0 ]                         
 2008508:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
 200850c:	b0 00 40 18 	add  %g1, %i0, %i0                             
 2008510:	c4 26 20 04 	st  %g2, [ %i0 + 4 ]                           
 2008514:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
 2008518:	c2 26 20 08 	st  %g1, [ %i0 + 8 ]                           
      }                                                               
    _ISR_Enable( level );                                             
 200851c:	7f ff e9 82 	call  2002b24 <sparc_enable_interrupts>        
 2008520:	90 10 00 1d 	mov  %i5, %o0                                  
   *      now (signals not posted when SIG_IGN).                      
   *    + If we are now ignoring a signal that was previously pending,
   *      we clear the pending signal indicator.                      
   */                                                                 
                                                                      
  return 0;                                                           
 2008524:	82 10 20 00 	clr  %g1                                       
}                                                                     
 2008528:	81 c7 e0 08 	ret                                            
 200852c:	91 e8 00 01 	restore  %g0, %g1, %o0                         
     *  we can just copy the provided sigaction structure into the vectors.
     */                                                               
                                                                      
    _ISR_Disable( level );                                            
      if ( act->sa_handler == SIG_DFL ) {                             
        _POSIX_signals_Vectors[ sig ] = _POSIX_signals_Default_vectors[ sig ];
 2008530:	b1 2e 20 04 	sll  %i0, 4, %i0                               
 2008534:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 2008538:	03 00 80 7f 	sethi  %hi(0x201fc00), %g1                     
 200853c:	82 10 63 94 	or  %g1, 0x394, %g1	! 201ff94 <_POSIX_signals_Default_vectors>
 2008540:	c8 00 40 18 	ld  [ %g1 + %i0 ], %g4                         
 2008544:	82 00 40 18 	add  %g1, %i0, %g1                             
 2008548:	c6 00 60 04 	ld  [ %g1 + 4 ], %g3                           
 200854c:	c4 00 60 08 	ld  [ %g1 + 8 ], %g2                           
 2008550:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
 2008554:	82 10 61 50 	or  %g1, 0x150, %g1	! 2022550 <_POSIX_signals_Vectors>
 2008558:	c8 20 40 18 	st  %g4, [ %g1 + %i0 ]                         
 200855c:	b0 00 40 18 	add  %g1, %i0, %i0                             
 2008560:	c6 26 20 04 	st  %g3, [ %i0 + 4 ]                           
 2008564:	10 bf ff ee 	b  200851c <sigaction+0xbc>                    
 2008568:	c4 26 20 08 	st  %g2, [ %i0 + 8 ]                           
   *  NOTE: Solaris documentation claims to "silently enforce" this which
   *        contradicts the POSIX specification.                      
   */                                                                 
                                                                      
  if ( sig == SIGKILL )                                               
    rtems_set_errno_and_return_minus_one( EINVAL );                   
 200856c:	40 00 25 25 	call  2011a00 <__errno>                        
 2008570:	01 00 00 00 	nop                                            
 2008574:	84 10 20 16 	mov  0x16, %g2	! 16 <PROM_START+0x16>          
 2008578:	82 10 3f ff 	mov  -1, %g1                                   
 200857c:	10 bf ff eb 	b  2008528 <sigaction+0xc8>                    
 2008580:	c4 22 00 00 	st  %g2, [ %o0 ]                               
                                                                      

020089f4 <sigtimedwait>: int sigtimedwait( const sigset_t *set, siginfo_t *info, const struct timespec *timeout ) {
 20089f4:	9d e3 bf 90 	save  %sp, -112, %sp                           
  ISR_Level          level;                                           
                                                                      
  /*                                                                  
   *  Error check parameters before disabling interrupts.             
   */                                                                 
  if ( !set )                                                         
 20089f8:	ba 96 20 00 	orcc  %i0, 0, %i5                              
 20089fc:	02 80 00 84 	be  2008c0c <sigtimedwait+0x218>               
 2008a00:	80 a6 a0 00 	cmp  %i2, 0                                    
  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time    
   *        in the Open Group specification.                          
   */                                                                 
                                                                      
  interval = 0;                                                       
  if ( timeout ) {                                                    
 2008a04:	02 80 00 5c 	be  2008b74 <sigtimedwait+0x180>               
 2008a08:	80 a6 60 00 	cmp  %i1, 0                                    
                                                                      
    if ( !_Timespec_Is_valid( timeout ) )                             
 2008a0c:	40 00 0f cc 	call  200c93c <_Timespec_Is_valid>             
 2008a10:	90 10 00 1a 	mov  %i2, %o0                                  
 2008a14:	80 8a 20 ff 	btst  0xff, %o0                                
 2008a18:	02 80 00 7d 	be  2008c0c <sigtimedwait+0x218>               
 2008a1c:	01 00 00 00 	nop                                            
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
 2008a20:	40 00 0f da 	call  200c988 <_Timespec_To_ticks>             
 2008a24:	90 10 00 1a 	mov  %i2, %o0                                  
                                                                      
    if ( !interval )                                                  
 2008a28:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 2008a2c:	02 80 00 78 	be  2008c0c <sigtimedwait+0x218>               <== NEVER TAKEN
 2008a30:	80 a6 60 00 	cmp  %i1, 0                                    
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
 2008a34:	02 80 00 53 	be  2008b80 <sigtimedwait+0x18c>               <== NEVER TAKEN
 2008a38:	35 00 80 8a 	sethi  %hi(0x2022800), %i2                     
                                                                      
  the_thread = _Thread_Executing;                                     
 2008a3c:	35 00 80 8a 	sethi  %hi(0x2022800), %i2                     
 2008a40:	b4 16 a2 10 	or  %i2, 0x210, %i2	! 2022a10 <_Per_CPU_Information>
 2008a44:	f8 06 a0 0c 	ld  [ %i2 + 0xc ], %i4                         
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
 2008a48:	7f ff e9 0e 	call  2002e80 <sparc_disable_interrupts>       
 2008a4c:	f6 07 21 5c 	ld  [ %i4 + 0x15c ], %i3                       
 2008a50:	a0 10 00 08 	mov  %o0, %l0                                  
  if ( *set & api->signals_pending ) {                                
 2008a54:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2008a58:	c4 06 e0 d4 	ld  [ %i3 + 0xd4 ], %g2                        
 2008a5c:	80 88 40 02 	btst  %g1, %g2                                 
 2008a60:	12 80 00 53 	bne  2008bac <sigtimedwait+0x1b8>              
 2008a64:	01 00 00 00 	nop                                            
    return the_info->si_signo;                                        
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
 2008a68:	05 00 80 8b 	sethi  %hi(0x2022c00), %g2                     
 2008a6c:	c4 00 a0 64 	ld  [ %g2 + 0x64 ], %g2	! 2022c64 <_POSIX_signals_Pending>
 2008a70:	80 88 40 02 	btst  %g1, %g2                                 
 2008a74:	12 80 00 2f 	bne  2008b30 <sigtimedwait+0x13c>              
 2008a78:	03 00 80 89 	sethi  %hi(0x2022400), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2008a7c:	c4 00 60 e0 	ld  [ %g1 + 0xe0 ], %g2	! 20224e0 <_Thread_Dispatch_disable_level>
    the_info->si_code = SI_USER;                                      
    the_info->si_value.sival_int = 0;                                 
    return signo;                                                     
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
 2008a80:	86 10 3f ff 	mov  -1, %g3                                   
 2008a84:	c6 26 40 00 	st  %g3, [ %i1 ]                               
 2008a88:	84 00 a0 01 	inc  %g2                                       
 2008a8c:	c4 20 60 e0 	st  %g2, [ %g1 + 0xe0 ]                        
    return _Thread_Dispatch_disable_level;                            
 2008a90:	c2 00 60 e0 	ld  [ %g1 + 0xe0 ], %g1                        
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
 2008a94:	82 10 20 04 	mov  4, %g1                                    
 2008a98:	c2 27 20 34 	st  %g1, [ %i4 + 0x34 ]                        
    the_thread->Wait.option          = *set;                          
 2008a9c:	c2 07 40 00 	ld  [ %i5 ], %g1                               
    the_thread->Wait.return_argument = the_info;                      
 2008aa0:	f2 27 20 28 	st  %i1, [ %i4 + 0x28 ]                        
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
 2008aa4:	c2 27 20 30 	st  %g1, [ %i4 + 0x30 ]                        
                                                                      
RTEMS_INLINE_ROUTINE void _Thread_queue_Enter_critical_section (      
  Thread_queue_Control *the_thread_queue                              
)                                                                     
{                                                                     
  the_thread_queue->sync_state = THREAD_BLOCKING_OPERATION_NOTHING_HAPPENED;
 2008aa8:	a2 10 20 01 	mov  1, %l1                                    
  }                                                                   
                                                                      
  the_info->si_signo = -1;                                            
                                                                      
  _Thread_Disable_dispatch();                                         
    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;    
 2008aac:	21 00 80 8a 	sethi  %hi(0x2022800), %l0                     
 2008ab0:	a0 14 23 fc 	or  %l0, 0x3fc, %l0	! 2022bfc <_POSIX_signals_Wait_queue>
 2008ab4:	e0 27 20 44 	st  %l0, [ %i4 + 0x44 ]                        
 2008ab8:	e2 24 20 30 	st  %l1, [ %l0 + 0x30 ]                        
    the_thread->Wait.return_code     = EINTR;                         
    the_thread->Wait.option          = *set;                          
    the_thread->Wait.return_argument = the_info;                      
    _Thread_queue_Enter_critical_section( &_POSIX_signals_Wait_queue );
    _ISR_Enable( level );                                             
 2008abc:	7f ff e8 f5 	call  2002e90 <sparc_enable_interrupts>        
 2008ac0:	01 00 00 00 	nop                                            
    _Thread_queue_Enqueue( &_POSIX_signals_Wait_queue, interval );    
 2008ac4:	90 10 00 10 	mov  %l0, %o0                                  
 2008ac8:	92 10 00 18 	mov  %i0, %o1                                  
 2008acc:	15 00 80 31 	sethi  %hi(0x200c400), %o2                     
 2008ad0:	40 00 0e 29 	call  200c374 <_Thread_queue_Enqueue_with_handler>
 2008ad4:	94 12 a3 54 	or  %o2, 0x354, %o2	! 200c754 <_Thread_queue_Timeout>
  _Thread_Enable_dispatch();                                          
 2008ad8:	40 00 0c d8 	call  200be38 <_Thread_Enable_dispatch>        
 2008adc:	01 00 00 00 	nop                                            
  /*                                                                  
   * When the thread is set free by a signal, it is need to eliminate 
   * the signal.                                                      
   */                                                                 
                                                                      
  _POSIX_signals_Clear_signals( api, the_info->si_signo, the_info, false, false );
 2008ae0:	d2 06 40 00 	ld  [ %i1 ], %o1                               
 2008ae4:	90 10 00 1b 	mov  %i3, %o0                                  
 2008ae8:	94 10 00 19 	mov  %i1, %o2                                  
 2008aec:	96 10 20 00 	clr  %o3                                       
 2008af0:	40 00 19 23 	call  200ef7c <_POSIX_signals_Clear_signals>   
 2008af4:	98 10 20 00 	clr  %o4                                       
  /* Set errno only if return code is not EINTR or                    
   * if EINTR was caused by a signal being caught, which              
   * was not in our set.                                              
   */                                                                 
                                                                      
  if ( (_Thread_Executing->Wait.return_code != EINTR)                 
 2008af8:	c2 06 a0 0c 	ld  [ %i2 + 0xc ], %g1                         
 2008afc:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2008b00:	80 a0 60 04 	cmp  %g1, 4                                    
 2008b04:	12 80 00 3b 	bne  2008bf0 <sigtimedwait+0x1fc>              
 2008b08:	01 00 00 00 	nop                                            
       || !(*set & signo_to_mask( the_info->si_signo )) ) {           
 2008b0c:	f0 06 40 00 	ld  [ %i1 ], %i0                               
 2008b10:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2008b14:	84 06 3f ff 	add  %i0, -1, %g2                              
 2008b18:	a3 2c 40 02 	sll  %l1, %g2, %l1                             
 2008b1c:	80 8c 40 01 	btst  %l1, %g1                                 
 2008b20:	02 80 00 34 	be  2008bf0 <sigtimedwait+0x1fc>               
 2008b24:	01 00 00 00 	nop                                            
    errno = _Thread_Executing->Wait.return_code;                      
    return -1;                                                        
  }                                                                   
                                                                      
  return the_info->si_signo;                                          
}                                                                     
 2008b28:	81 c7 e0 08 	ret                                            
 2008b2c:	81 e8 00 00 	restore                                        
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
 2008b30:	7f ff ff 99 	call  2008994 <_POSIX_signals_Get_lowest>      
 2008b34:	90 10 00 02 	mov  %g2, %o0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 2008b38:	94 10 00 19 	mov  %i1, %o2                                  
  }                                                                   
                                                                      
  /* Process pending signals? */                                      
                                                                      
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
 2008b3c:	b0 10 00 08 	mov  %o0, %i0                                  
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
 2008b40:	96 10 20 01 	mov  1, %o3                                    
 2008b44:	90 10 00 1b 	mov  %i3, %o0                                  
 2008b48:	92 10 00 18 	mov  %i0, %o1                                  
 2008b4c:	40 00 19 0c 	call  200ef7c <_POSIX_signals_Clear_signals>   
 2008b50:	98 10 20 00 	clr  %o4                                       
    _ISR_Enable( level );                                             
 2008b54:	7f ff e8 cf 	call  2002e90 <sparc_enable_interrupts>        
 2008b58:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
    the_info->si_signo = signo;                                       
    the_info->si_code = SI_USER;                                      
 2008b5c:	82 10 20 01 	mov  1, %g1                                    
  if ( *set & _POSIX_signals_Pending ) {                              
    signo = _POSIX_signals_Get_lowest( _POSIX_signals_Pending );      
    _POSIX_signals_Clear_signals( api, signo, the_info, true, false );
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_signo = signo;                                       
 2008b60:	f0 26 40 00 	st  %i0, [ %i1 ]                               
    the_info->si_code = SI_USER;                                      
 2008b64:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
    the_info->si_value.sival_int = 0;                                 
 2008b68:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
 2008b6c:	81 c7 e0 08 	ret                                            
 2008b70:	81 e8 00 00 	restore                                        
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
 2008b74:	12 bf ff b2 	bne  2008a3c <sigtimedwait+0x48>               
 2008b78:	b0 10 20 00 	clr  %i0                                       
                                                                      
  the_thread = _Thread_Executing;                                     
 2008b7c:	35 00 80 8a 	sethi  %hi(0x2022800), %i2                     
 2008b80:	b4 16 a2 10 	or  %i2, 0x210, %i2	! 2022a10 <_Per_CPU_Information>
 2008b84:	f8 06 a0 0c 	ld  [ %i2 + 0xc ], %i4                         
                                                                      
  /*                                                                  
   *  Initialize local variables.                                     
   */                                                                 
                                                                      
  the_info = ( info ) ? info : &signal_information;                   
 2008b88:	b2 07 bf f4 	add  %fp, -12, %i1                             
   *  What if they are already pending?                               
   */                                                                 
                                                                      
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
 2008b8c:	7f ff e8 bd 	call  2002e80 <sparc_disable_interrupts>       
 2008b90:	f6 07 21 5c 	ld  [ %i4 + 0x15c ], %i3                       
 2008b94:	a0 10 00 08 	mov  %o0, %l0                                  
  if ( *set & api->signals_pending ) {                                
 2008b98:	c2 07 40 00 	ld  [ %i5 ], %g1                               
 2008b9c:	c4 06 e0 d4 	ld  [ %i3 + 0xd4 ], %g2                        
 2008ba0:	80 88 40 02 	btst  %g1, %g2                                 
 2008ba4:	22 bf ff b2 	be,a   2008a6c <sigtimedwait+0x78>             
 2008ba8:	05 00 80 8b 	sethi  %hi(0x2022c00), %g2                     
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_lowest( api->signals_pending );
 2008bac:	7f ff ff 7a 	call  2008994 <_POSIX_signals_Get_lowest>      
 2008bb0:	90 10 00 02 	mov  %g2, %o0                                  
    _POSIX_signals_Clear_signals(                                     
 2008bb4:	94 10 00 19 	mov  %i1, %o2                                  
  /* API signals pending? */                                          
                                                                      
  _ISR_Disable( level );                                              
  if ( *set & api->signals_pending ) {                                
    /* XXX real info later */                                         
    the_info->si_signo = _POSIX_signals_Get_lowest( api->signals_pending );
 2008bb8:	92 10 00 08 	mov  %o0, %o1                                  
 2008bbc:	d0 26 40 00 	st  %o0, [ %i1 ]                               
    _POSIX_signals_Clear_signals(                                     
 2008bc0:	96 10 20 00 	clr  %o3                                       
 2008bc4:	90 10 00 1b 	mov  %i3, %o0                                  
 2008bc8:	40 00 18 ed 	call  200ef7c <_POSIX_signals_Clear_signals>   
 2008bcc:	98 10 20 00 	clr  %o4                                       
      the_info->si_signo,                                             
      the_info,                                                       
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
 2008bd0:	7f ff e8 b0 	call  2002e90 <sparc_enable_interrupts>        
 2008bd4:	90 10 00 10 	mov  %l0, %o0                                  
                                                                      
    the_info->si_code = SI_USER;                                      
 2008bd8:	82 10 20 01 	mov  1, %g1                                    
    the_info->si_value.sival_int = 0;                                 
 2008bdc:	c0 26 60 08 	clr  [ %i1 + 8 ]                               
      false,                                                          
      false                                                           
    );                                                                
    _ISR_Enable( level );                                             
                                                                      
    the_info->si_code = SI_USER;                                      
 2008be0:	c2 26 60 04 	st  %g1, [ %i1 + 4 ]                           
    the_info->si_value.sival_int = 0;                                 
    return the_info->si_signo;                                        
 2008be4:	f0 06 40 00 	ld  [ %i1 ], %i0                               
 2008be8:	81 c7 e0 08 	ret                                            
 2008bec:	81 e8 00 00 	restore                                        
   * was not in our set.                                              
   */                                                                 
                                                                      
  if ( (_Thread_Executing->Wait.return_code != EINTR)                 
       || !(*set & signo_to_mask( the_info->si_signo )) ) {           
    errno = _Thread_Executing->Wait.return_code;                      
 2008bf0:	40 00 25 64 	call  2012180 <__errno>                        
 2008bf4:	b0 10 3f ff 	mov  -1, %i0                                   
 2008bf8:	c2 06 a0 0c 	ld  [ %i2 + 0xc ], %g1                         
 2008bfc:	c2 00 60 34 	ld  [ %g1 + 0x34 ], %g1                        
 2008c00:	c2 22 00 00 	st  %g1, [ %o0 ]                               
    return -1;                                                        
  }                                                                   
                                                                      
  return the_info->si_signo;                                          
}                                                                     
 2008c04:	81 c7 e0 08 	ret                                            
 2008c08:	81 e8 00 00 	restore                                        
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    interval = _Timespec_To_ticks( timeout );                         
                                                                      
    if ( !interval )                                                  
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2008c0c:	40 00 25 5d 	call  2012180 <__errno>                        
 2008c10:	b0 10 3f ff 	mov  -1, %i0                                   
 2008c14:	82 10 20 16 	mov  0x16, %g1                                 
 2008c18:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008c1c:	81 c7 e0 08 	ret                                            
 2008c20:	81 e8 00 00 	restore                                        
                                                                      

0200a82c <sigwait>: int sigwait( const sigset_t *set, int *sig ) {
 200a82c:	9d e3 bf a0 	save  %sp, -96, %sp                            
  int status;                                                         
                                                                      
  status = sigtimedwait( set, NULL, NULL );                           
 200a830:	92 10 20 00 	clr  %o1                                       
 200a834:	90 10 00 18 	mov  %i0, %o0                                  
 200a838:	7f ff ff 6d 	call  200a5ec <sigtimedwait>                   
 200a83c:	94 10 20 00 	clr  %o2                                       
                                                                      
  if ( status != -1 ) {                                               
 200a840:	80 a2 3f ff 	cmp  %o0, -1                                   
 200a844:	02 80 00 07 	be  200a860 <sigwait+0x34>                     
 200a848:	80 a6 60 00 	cmp  %i1, 0                                    
    if ( sig )                                                        
 200a84c:	02 80 00 0a 	be  200a874 <sigwait+0x48>                     <== NEVER TAKEN
 200a850:	01 00 00 00 	nop                                            
      *sig = status;                                                  
 200a854:	d0 26 40 00 	st  %o0, [ %i1 ]                               
    return 0;                                                         
 200a858:	81 c7 e0 08 	ret                                            
 200a85c:	91 e8 20 00 	restore  %g0, 0, %o0                           
  }                                                                   
                                                                      
  return errno;                                                       
 200a860:	40 00 24 7f 	call  2013a5c <__errno>                        
 200a864:	01 00 00 00 	nop                                            
 200a868:	f0 02 00 00 	ld  [ %o0 ], %i0                               
 200a86c:	81 c7 e0 08 	ret                                            
 200a870:	81 e8 00 00 	restore                                        
}                                                                     
 200a874:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 200a878:	91 e8 20 00 	restore  %g0, 0, %o0                           <== NOT EXECUTED
                                                                      

02006850 <siproc>: /* * Process input character, with semaphore. */ static int siproc (unsigned char c, struct rtems_termios_tty *tty) {
 2006850:	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)) {
 2006854:	c2 06 60 3c 	ld  [ %i1 + 0x3c ], %g1                        
 2006858:	80 88 6e 78 	btst  0xe78, %g1                               
 200685c:	32 80 00 04 	bne,a   200686c <siproc+0x1c>                  <== ALWAYS TAKEN
 2006860:	d0 06 60 18 	ld  [ %i1 + 0x18 ], %o0                        
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
    i = iproc (c, tty);                                               
    rtems_semaphore_release (tty->osem);                              
  }                                                                   
  else {                                                              
    i = iproc (c, tty);                                               
 2006864:	7f ff ff 64 	call  20065f4 <iproc>                          <== NOT EXECUTED
 2006868:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      
  /*                                                                  
   * Obtain output semaphore if character will be echoed              
   */                                                                 
  if (tty->termios.c_lflag & (ECHO|ECHOE|ECHOK|ECHONL|ECHOPRT|ECHOCTL|ECHOKE)) {
    rtems_semaphore_obtain (tty->osem, RTEMS_WAIT, RTEMS_NO_TIMEOUT); 
 200686c:	94 10 20 00 	clr  %o2                                       
 2006870:	40 00 05 4c 	call  2007da0 <rtems_semaphore_obtain>         
 2006874:	92 10 20 00 	clr  %o1                                       
    i = iproc (c, tty);                                               
 2006878:	90 10 00 18 	mov  %i0, %o0                                  
 200687c:	7f ff ff 5e 	call  20065f4 <iproc>                          
 2006880:	92 10 00 19 	mov  %i1, %o1                                  
 2006884:	b0 10 00 08 	mov  %o0, %i0                                  
    rtems_semaphore_release (tty->osem);                              
 2006888:	40 00 05 96 	call  2007ee0 <rtems_semaphore_release>        
 200688c:	d0 06 60 18 	ld  [ %i1 + 0x18 ], %o0                        
 2006890:	81 c7 e0 08 	ret                                            
 2006894:	81 e8 00 00 	restore                                        
                                                                      

020062ac <sync_per_thread>: fdatasync(fn); } /* iterate over all FILE *'s for this thread */ static void sync_per_thread(Thread_Control *t) {
 20062ac:	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;                                        
 20062b0:	c2 06 21 54 	ld  [ %i0 + 0x154 ], %g1                       
   if ( this_reent ) {                                                
 20062b4:	80 a0 60 00 	cmp  %g1, 0                                    
 20062b8:	02 80 00 0c 	be  20062e8 <sync_per_thread+0x3c>             <== NEVER TAKEN
 20062bc:	3b 00 80 81 	sethi  %hi(0x2020400), %i5                     
     current_reent = _Thread_Executing->libc_reent;                   
 20062c0:	ba 17 63 c0 	or  %i5, 0x3c0, %i5	! 20207c0 <_Per_CPU_Information>
 20062c4:	c4 07 60 0c 	ld  [ %i5 + 0xc ], %g2                         
     _Thread_Executing->libc_reent = this_reent;                      
     _fwalk (t->libc_reent, sync_wrapper);                            
 20062c8:	13 00 80 18 	sethi  %hi(0x2006000), %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;                   
 20062cc:	f8 00 a1 54 	ld  [ %g2 + 0x154 ], %i4                       
     _Thread_Executing->libc_reent = this_reent;                      
 20062d0:	c2 20 a1 54 	st  %g1, [ %g2 + 0x154 ]                       
     _fwalk (t->libc_reent, sync_wrapper);                            
 20062d4:	d0 06 21 54 	ld  [ %i0 + 0x154 ], %o0                       
 20062d8:	40 00 30 e0 	call  2012658 <_fwalk>                         
 20062dc:	92 12 62 f0 	or  %o1, 0x2f0, %o1                            
     _Thread_Executing->libc_reent = current_reent;                   
 20062e0:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 20062e4:	f8 20 61 54 	st  %i4, [ %g1 + 0x154 ]                       
 20062e8:	81 c7 e0 08 	ret                                            
 20062ec:	81 e8 00 00 	restore                                        
                                                                      

020076a8 <sysconf>: */ long sysconf( int name ) {
 20076a8:	9d e3 bf a0 	save  %sp, -96, %sp                            
  if ( name == _SC_CLK_TCK )                                          
 20076ac:	80 a6 20 02 	cmp  %i0, 2                                    
 20076b0:	02 80 00 12 	be  20076f8 <sysconf+0x50>                     
 20076b4:	82 10 00 18 	mov  %i0, %g1                                  
    return (TOD_MICROSECONDS_PER_SECOND /                             
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
 20076b8:	80 a6 20 04 	cmp  %i0, 4                                    
 20076bc:	02 80 00 16 	be  2007714 <sysconf+0x6c>                     
 20076c0:	80 a0 60 33 	cmp  %g1, 0x33                                 
    return rtems_libio_number_iops;                                   
                                                                      
  if ( name == _SC_GETPW_R_SIZE_MAX )                                 
 20076c4:	02 80 00 0b 	be  20076f0 <sysconf+0x48>                     
 20076c8:	b0 10 24 00 	mov  0x400, %i0                                
    return 1024;                                                      
                                                                      
  if ( name == _SC_PAGESIZE )                                         
 20076cc:	80 a0 60 08 	cmp  %g1, 8                                    
 20076d0:	02 80 00 08 	be  20076f0 <sysconf+0x48>                     
 20076d4:	31 00 00 04 	sethi  %hi(0x1000), %i0                        
    return PAGE_SIZE;                                                 
                                                                      
  if ( name == _SC_SYMLOOP_MAX )                                      
 20076d8:	80 a0 60 4f 	cmp  %g1, 0x4f                                 
 20076dc:	02 80 00 05 	be  20076f0 <sysconf+0x48>                     <== NEVER TAKEN
 20076e0:	b0 10 20 20 	mov  0x20, %i0                                 
    return RTEMS_FILESYSTEM_SYMLOOP_MAX;                              
                                                                      
#if defined(__sparc__)                                                
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
 20076e4:	80 a0 62 03 	cmp  %g1, 0x203                                
 20076e8:	12 80 00 0f 	bne  2007724 <sysconf+0x7c>                    <== ALWAYS TAKEN
 20076ec:	b0 10 20 00 	clr  %i0                                       
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
}                                                                     
 20076f0:	81 c7 e0 08 	ret                                            
 20076f4:	81 e8 00 00 	restore                                        
  int name                                                            
)                                                                     
{                                                                     
  if ( name == _SC_CLK_TCK )                                          
    return (TOD_MICROSECONDS_PER_SECOND /                             
      rtems_configuration_get_microseconds_per_tick());               
 20076f8:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
long sysconf(                                                         
  int name                                                            
)                                                                     
{                                                                     
  if ( name == _SC_CLK_TCK )                                          
    return (TOD_MICROSECONDS_PER_SECOND /                             
 20076fc:	d2 00 62 bc 	ld  [ %g1 + 0x2bc ], %o1	! 201debc <Configuration+0x10>
 2007700:	11 00 03 d0 	sethi  %hi(0xf4000), %o0                       
 2007704:	40 00 48 a5 	call  2019998 <.udiv>                          
 2007708:	90 12 22 40 	or  %o0, 0x240, %o0	! f4240 <PROM_START+0xf4240>
 200770c:	81 c7 e0 08 	ret                                            
 2007710:	91 e8 00 08 	restore  %g0, %o0, %o0                         
      rtems_configuration_get_microseconds_per_tick());               
                                                                      
  if ( name == _SC_OPEN_MAX )                                         
    return rtems_libio_number_iops;                                   
 2007714:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
 2007718:	f0 00 60 04 	ld  [ %g1 + 4 ], %i0	! 201e004 <rtems_libio_number_iops>
 200771c:	81 c7 e0 08 	ret                                            
 2007720:	81 e8 00 00 	restore                                        
#if defined(__sparc__)                                                
  if ( name == 515 ) /* Solaris _SC_STACK_PROT */                     
   return 0;                                                          
#endif                                                                
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 2007724:	40 00 25 1f 	call  2010ba0 <__errno>                        
 2007728:	b0 10 3f ff 	mov  -1, %i0                                   
 200772c:	82 10 20 16 	mov  0x16, %g1                                 
 2007730:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 2007734:	81 c7 e0 08 	ret                                            
 2007738:	81 e8 00 00 	restore                                        
                                                                      

02016660 <tcsetattr>: int tcsetattr( int fd, int opt, struct termios *tp ) {
 2016660:	9d e3 bf a0 	save  %sp, -96, %sp                            
  switch (opt) {                                                      
 2016664:	80 a6 60 00 	cmp  %i1, 0                                    
 2016668:	02 80 00 10 	be  20166a8 <tcsetattr+0x48>                   
 201666c:	80 a6 60 01 	cmp  %i1, 1                                    
 2016670:	02 80 00 08 	be  2016690 <tcsetattr+0x30>                   
 2016674:	90 10 00 18 	mov  %i0, %o0                                  
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
 2016678:	40 00 12 7e 	call  201b070 <__errno>                        
 201667c:	01 00 00 00 	nop                                            
 2016680:	82 10 20 86 	mov  0x86, %g1	! 86 <PROM_START+0x86>          
 2016684:	c2 22 00 00 	st  %g1, [ %o0 ]                               
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
  }                                                                   
}                                                                     
 2016688:	81 c7 e0 08 	ret                                            
 201668c:	91 e8 3f ff 	restore  %g0, -1, %o0                          
  switch (opt) {                                                      
  default:                                                            
    rtems_set_errno_and_return_minus_one( ENOTSUP );                  
                                                                      
  case TCSADRAIN:                                                     
    if (ioctl( fd, RTEMS_IO_TCDRAIN, NULL ) < 0)                      
 2016690:	92 10 20 03 	mov  3, %o1                                    
 2016694:	40 00 0f 40 	call  201a394 <ioctl>                          
 2016698:	94 10 20 00 	clr  %o2                                       
 201669c:	80 a2 20 00 	cmp  %o0, 0                                    
 20166a0:	06 bf ff fa 	bl  2016688 <tcsetattr+0x28>                   <== NEVER TAKEN
 20166a4:	01 00 00 00 	nop                                            
    	return -1;                                                       
    /*                                                                
     * Fall through to....                                            
     */                                                               
  case TCSANOW:                                                       
    return ioctl( fd, RTEMS_IO_SET_ATTRIBUTES, tp );                  
 20166a8:	40 00 0f 3b 	call  201a394 <ioctl>                          
 20166ac:	93 e8 20 02 	restore  %g0, 2, %o1                           
                                                                      

02008c60 <timer_create>: int timer_create( clockid_t clock_id, struct sigevent *evp, timer_t *timerid ) {
 2008c60:	9d e3 bf a0 	save  %sp, -96, %sp                            
  POSIX_Timer_Control *ptimer;                                        
                                                                      
  if ( clock_id != CLOCK_REALTIME )                                   
 2008c64:	80 a6 20 01 	cmp  %i0, 1                                    
 2008c68:	12 80 00 3e 	bne  2008d60 <timer_create+0x100>              
 2008c6c:	80 a6 a0 00 	cmp  %i2, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( !timerid )                                                     
 2008c70:	02 80 00 3c 	be  2008d60 <timer_create+0x100>               
 2008c74:	80 a6 60 00 	cmp  %i1, 0                                    
 /*                                                                   
  *  The data of the structure evp are checked in order to verify if they
  *  are coherent.                                                    
  */                                                                  
                                                                      
  if (evp != NULL) {                                                  
 2008c78:	02 80 00 0e 	be  2008cb0 <timer_create+0x50>                
 2008c7c:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
    /* The structure has data */                                      
    if ( ( evp->sigev_notify != SIGEV_NONE ) &&                       
 2008c80:	c2 06 40 00 	ld  [ %i1 ], %g1                               
 2008c84:	82 00 7f ff 	add  %g1, -1, %g1                              
 2008c88:	80 a0 60 01 	cmp  %g1, 1                                    
 2008c8c:	18 80 00 35 	bgu  2008d60 <timer_create+0x100>              <== NEVER TAKEN
 2008c90:	01 00 00 00 	nop                                            
         ( evp->sigev_notify != SIGEV_SIGNAL ) ) {                    
       /* The value of the field sigev_notify is not valid */         
       rtems_set_errno_and_return_minus_one( EINVAL );                
     }                                                                
                                                                      
     if ( !evp->sigev_signo )                                         
 2008c94:	c2 06 60 04 	ld  [ %i1 + 4 ], %g1                           
 2008c98:	80 a0 60 00 	cmp  %g1, 0                                    
 2008c9c:	02 80 00 31 	be  2008d60 <timer_create+0x100>               <== NEVER TAKEN
 2008ca0:	82 00 7f ff 	add  %g1, -1, %g1                              
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
 2008ca4:	80 a0 60 1f 	cmp  %g1, 0x1f                                 
 2008ca8:	18 80 00 2e 	bgu  2008d60 <timer_create+0x100>              <== NEVER TAKEN
 2008cac:	03 00 80 8c 	sethi  %hi(0x2023000), %g1                     
   *                                                                  
   * This rountine increments the thread dispatch level               
   */                                                                 
  RTEMS_INLINE_ROUTINE uint32_t _Thread_Dispatch_increment_disable_level(void)
  {                                                                   
    _Thread_Dispatch_disable_level++;                                 
 2008cb0:	c4 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g2	! 20233a0 <_Thread_Dispatch_disable_level>
 2008cb4:	84 00 a0 01 	inc  %g2                                       
 2008cb8:	c4 20 63 a0 	st  %g2, [ %g1 + 0x3a0 ]                       
    return _Thread_Dispatch_disable_level;                            
 2008cbc:	c2 00 63 a0 	ld  [ %g1 + 0x3a0 ], %g1                       
 *  the inactive chain of free timer control blocks.                  
 */                                                                   
                                                                      
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Allocate( void )
{                                                                     
  return (POSIX_Timer_Control *) _Objects_Allocate( &_POSIX_Timer_Information );
 2008cc0:	3b 00 80 8d 	sethi  %hi(0x2023400), %i5                     
 2008cc4:	40 00 08 d2 	call  200b00c <_Objects_Allocate>              
 2008cc8:	90 17 62 d0 	or  %i5, 0x2d0, %o0	! 20236d0 <_POSIX_Timer_Information>
                                                                      
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
 2008ccc:	80 a2 20 00 	cmp  %o0, 0                                    
 2008cd0:	02 80 00 2a 	be  2008d78 <timer_create+0x118>               
 2008cd4:	82 10 20 02 	mov  2, %g1                                    
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
 2008cd8:	c2 2a 20 3c 	stb  %g1, [ %o0 + 0x3c ]                       
  ptimer->thread_id = _Thread_Executing->Object.id;                   
 2008cdc:	03 00 80 8e 	sethi  %hi(0x2023800), %g1                     
 2008ce0:	c2 00 61 1c 	ld  [ %g1 + 0x11c ], %g1	! 202391c <_Per_CPU_Information+0xc>
                                                                      
  if ( evp != NULL ) {                                                
 2008ce4:	80 a6 60 00 	cmp  %i1, 0                                    
  }                                                                   
                                                                      
  /* The data of the created timer are stored to use them later */    
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  ptimer->thread_id = _Thread_Executing->Object.id;                   
 2008ce8:	c2 00 60 08 	ld  [ %g1 + 8 ], %g1                           
                                                                      
  if ( evp != NULL ) {                                                
 2008cec:	02 80 00 08 	be  2008d0c <timer_create+0xac>                
 2008cf0:	c2 22 20 38 	st  %g1, [ %o0 + 0x38 ]                        
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
 2008cf4:	c6 06 40 00 	ld  [ %i1 ], %g3                               
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
 2008cf8:	c4 06 60 04 	ld  [ %i1 + 4 ], %g2                           
    ptimer->inf.sigev_value  = evp->sigev_value;                      
 2008cfc:	c2 06 60 08 	ld  [ %i1 + 8 ], %g1                           
                                                                      
  ptimer->state     = POSIX_TIMER_STATE_CREATE_NEW;                   
  ptimer->thread_id = _Thread_Executing->Object.id;                   
                                                                      
  if ( evp != NULL ) {                                                
    ptimer->inf.sigev_notify = evp->sigev_notify;                     
 2008d00:	c6 22 20 40 	st  %g3, [ %o0 + 0x40 ]                        
    ptimer->inf.sigev_signo  = evp->sigev_signo;                      
 2008d04:	c4 22 20 44 	st  %g2, [ %o0 + 0x44 ]                        
    ptimer->inf.sigev_value  = evp->sigev_value;                      
 2008d08:	c2 22 20 48 	st  %g1, [ %o0 + 0x48 ]                        
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008d0c:	c4 12 20 0a 	lduh  [ %o0 + 0xa ], %g2                       
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008d10:	ba 17 62 d0 	or  %i5, 0x2d0, %i5                            
 2008d14:	c6 07 60 1c 	ld  [ %i5 + 0x1c ], %g3                        
  }                                                                   
                                                                      
  ptimer->overrun  = 0;                                               
 2008d18:	c0 22 20 68 	clr  [ %o0 + 0x68 ]                            
  ptimer->timer_data.it_value.tv_sec     = 0;                         
 2008d1c:	c0 22 20 5c 	clr  [ %o0 + 0x5c ]                            
  ptimer->timer_data.it_value.tv_nsec    = 0;                         
 2008d20:	c0 22 20 60 	clr  [ %o0 + 0x60 ]                            
  ptimer->timer_data.it_interval.tv_sec  = 0;                         
 2008d24:	c0 22 20 54 	clr  [ %o0 + 0x54 ]                            
  ptimer->timer_data.it_interval.tv_nsec = 0;                         
 2008d28:	c0 22 20 58 	clr  [ %o0 + 0x58 ]                            
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2008d2c:	c0 22 20 18 	clr  [ %o0 + 0x18 ]                            
  the_watchdog->routine   = routine;                                  
 2008d30:	c0 22 20 2c 	clr  [ %o0 + 0x2c ]                            
  the_watchdog->id        = id;                                       
 2008d34:	c0 22 20 30 	clr  [ %o0 + 0x30 ]                            
  the_watchdog->user_data = user_data;                                
 2008d38:	c0 22 20 34 	clr  [ %o0 + 0x34 ]                            
  Objects_Information *information,                                   
  Objects_Control     *the_object,                                    
  uint32_t             name                                           
)                                                                     
{                                                                     
  _Objects_Set_local_object(                                          
 2008d3c:	c2 02 20 08 	ld  [ %o0 + 8 ], %g1                           
  #if defined(RTEMS_DEBUG)                                            
    if ( index > information->maximum )                               
      return;                                                         
  #endif                                                              
                                                                      
  information->local_table[ index ] = the_object;                     
 2008d40:	85 28 a0 02 	sll  %g2, 2, %g2                               
 2008d44:	d0 20 c0 02 	st  %o0, [ %g3 + %g2 ]                         
    _Objects_Get_index( the_object->id ),                             
    the_object                                                        
  );                                                                  
                                                                      
  /* ASSERT: information->is_string == false */                       
  the_object->name.name_u32 = name;                                   
 2008d48:	c0 22 20 0c 	clr  [ %o0 + 0xc ]                             
                                                                      
  _Watchdog_Initialize( &ptimer->Timer, NULL, 0, NULL );              
  _Objects_Open_u32(&_POSIX_Timer_Information, &ptimer->Object, 0);   
                                                                      
  *timerid  = ptimer->Object.id;                                      
 2008d4c:	c2 26 80 00 	st  %g1, [ %i2 ]                               
  _Thread_Enable_dispatch();                                          
 2008d50:	40 00 0e 17 	call  200c5ac <_Thread_Enable_dispatch>        
 2008d54:	b0 10 20 00 	clr  %i0                                       
  return 0;                                                           
}                                                                     
 2008d58:	81 c7 e0 08 	ret                                            
 2008d5c:	81 e8 00 00 	restore                                        
                                                                      
     if ( !evp->sigev_signo )                                         
       rtems_set_errno_and_return_minus_one( EINVAL );                
                                                                      
     if ( !is_valid_signo(evp->sigev_signo) )                         
       rtems_set_errno_and_return_minus_one( EINVAL );                
 2008d60:	40 00 26 7b 	call  201274c <__errno>                        
 2008d64:	b0 10 3f ff 	mov  -1, %i0                                   
 2008d68:	82 10 20 16 	mov  0x16, %g1                                 
 2008d6c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008d70:	81 c7 e0 08 	ret                                            
 2008d74:	81 e8 00 00 	restore                                        
  /*                                                                  
   *  Allocate a timer                                                
   */                                                                 
  ptimer = _POSIX_Timer_Allocate();                                   
  if ( !ptimer ) {                                                    
    _Thread_Enable_dispatch();                                        
 2008d78:	40 00 0e 0d 	call  200c5ac <_Thread_Enable_dispatch>        
 2008d7c:	b0 10 3f ff 	mov  -1, %i0                                   
    rtems_set_errno_and_return_minus_one( EAGAIN );                   
 2008d80:	40 00 26 73 	call  201274c <__errno>                        
 2008d84:	01 00 00 00 	nop                                            
 2008d88:	82 10 20 0b 	mov  0xb, %g1	! b <PROM_START+0xb>             
 2008d8c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008d90:	81 c7 e0 08 	ret                                            
 2008d94:	81 e8 00 00 	restore                                        
                                                                      

0200789c <timer_settime>: timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue ) {
 200789c:	9d e3 bf 78 	save  %sp, -136, %sp                           
  Objects_Locations    location;                                      
  bool                 activated;                                     
  uint32_t             initial_period;                                
  struct itimerspec    normalize;                                     
                                                                      
  if ( !value )                                                       
 20078a0:	80 a6 a0 00 	cmp  %i2, 0                                    
 20078a4:	02 80 00 82 	be  2007aac <timer_settime+0x210>              <== NEVER TAKEN
 20078a8:	01 00 00 00 	nop                                            
                                                                      
  /*                                                                  
   * First, it verifies if the structure "value" is correct           
   * if the number of nanoseconds is not correct return EINVAL        
   */                                                                 
  if ( !_Timespec_Is_valid( &(value->it_value) ) ) {                  
 20078ac:	40 00 10 50 	call  200b9ec <_Timespec_Is_valid>             
 20078b0:	90 06 a0 08 	add  %i2, 8, %o0                               
 20078b4:	80 8a 20 ff 	btst  0xff, %o0                                
 20078b8:	02 80 00 7d 	be  2007aac <timer_settime+0x210>              
 20078bc:	01 00 00 00 	nop                                            
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
  if ( !_Timespec_Is_valid( &(value->it_interval) ) ) {               
 20078c0:	40 00 10 4b 	call  200b9ec <_Timespec_Is_valid>             
 20078c4:	90 10 00 1a 	mov  %i2, %o0                                  
 20078c8:	80 8a 20 ff 	btst  0xff, %o0                                
 20078cc:	02 80 00 78 	be  2007aac <timer_settime+0x210>              <== NEVER TAKEN
 20078d0:	80 8e 7f fb 	btst  -5, %i1                                  
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {    
 20078d4:	12 80 00 76 	bne  2007aac <timer_settime+0x210>             
 20078d8:	80 a6 60 04 	cmp  %i1, 4                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
  }                                                                   
                                                                      
  normalize = *value;                                                 
 20078dc:	c8 06 80 00 	ld  [ %i2 ], %g4                               
 20078e0:	c6 06 a0 04 	ld  [ %i2 + 4 ], %g3                           
 20078e4:	c4 06 a0 08 	ld  [ %i2 + 8 ], %g2                           
 20078e8:	c2 06 a0 0c 	ld  [ %i2 + 0xc ], %g1                         
 20078ec:	c8 27 bf f0 	st  %g4, [ %fp + -16 ]                         
 20078f0:	c6 27 bf f4 	st  %g3, [ %fp + -12 ]                         
 20078f4:	c4 27 bf f8 	st  %g2, [ %fp + -8 ]                          
                                                                      
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
 20078f8:	02 80 00 4a 	be  2007a20 <timer_settime+0x184>              
 20078fc:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (          
  timer_t            id,                                              
  Objects_Locations *location                                         
)                                                                     
{                                                                     
  return (POSIX_Timer_Control *)                                      
 2007900:	92 10 00 18 	mov  %i0, %o1                                  
 2007904:	11 00 80 7d 	sethi  %hi(0x201f400), %o0                     
 2007908:	94 07 bf dc 	add  %fp, -36, %o2                             
 200790c:	40 00 09 99 	call  2009f70 <_Objects_Get>                   
 2007910:	90 12 22 d0 	or  %o0, 0x2d0, %o0                            
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
 2007914:	c2 07 bf dc 	ld  [ %fp + -36 ], %g1                         
 2007918:	80 a0 60 00 	cmp  %g1, 0                                    
 200791c:	12 80 00 64 	bne  2007aac <timer_settime+0x210>             <== NEVER TAKEN
 2007920:	b2 10 00 08 	mov  %o0, %i1                                  
                                                                      
    case OBJECTS_LOCAL:                                               
      /* First, it verifies if the timer must be stopped */           
      if ( normalize.it_value.tv_sec == 0 && normalize.it_value.tv_nsec == 0 ) {
 2007924:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2007928:	80 a0 60 00 	cmp  %g1, 0                                    
 200792c:	12 80 00 05 	bne  2007940 <timer_settime+0xa4>              
 2007930:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2007934:	80 a0 60 00 	cmp  %g1, 0                                    
 2007938:	02 80 00 63 	be  2007ac4 <timer_settime+0x228>              
 200793c:	01 00 00 00 	nop                                            
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
 2007940:	40 00 10 64 	call  200bad0 <_Timespec_To_ticks>             
 2007944:	90 10 00 1a 	mov  %i2, %o0                                  
 2007948:	d0 26 60 64 	st  %o0, [ %i1 + 0x64 ]                        
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
 200794c:	40 00 10 61 	call  200bad0 <_Timespec_To_ticks>             
 2007950:	90 07 bf f8 	add  %fp, -8, %o0                              
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 2007954:	d4 06 60 08 	ld  [ %i1 + 8 ], %o2                           
        return 0;                                                     
       }                                                              
                                                                      
       /* Convert from seconds and nanoseconds to ticks */            
       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );    
       initial_period = _Timespec_To_ticks( &normalize.it_value );    
 2007958:	92 10 00 08 	mov  %o0, %o1                                  
                                                                      
                                                                      
       activated = _POSIX_Timer_Insert_helper(                        
 200795c:	98 10 00 19 	mov  %i1, %o4                                  
 2007960:	90 06 60 10 	add  %i1, 0x10, %o0                            
 2007964:	17 00 80 1e 	sethi  %hi(0x2007800), %o3                     
 2007968:	40 00 1a 27 	call  200e204 <_POSIX_Timer_Insert_helper>     
 200796c:	96 12 e3 30 	or  %o3, 0x330, %o3	! 2007b30 <_POSIX_Timer_TSR>
         initial_period,                                              
         ptimer->Object.id,                                           
         _POSIX_Timer_TSR,                                            
         ptimer                                                       
       );                                                             
       if ( !activated ) {                                            
 2007970:	80 8a 20 ff 	btst  0xff, %o0                                
 2007974:	02 80 00 27 	be  2007a10 <timer_settime+0x174>              
 2007978:	80 a6 e0 00 	cmp  %i3, 0                                    
                                                                      
       /*                                                             
        * The timer has been started and is running.  So we return the
        * old ones in "ovalue"                                        
        */                                                            
       if ( ovalue )                                                  
 200797c:	02 80 00 0b 	be  20079a8 <timer_settime+0x10c>              
 2007980:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
         *ovalue = ptimer->timer_data;                                
 2007984:	c2 06 60 54 	ld  [ %i1 + 0x54 ], %g1                        
 2007988:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
 200798c:	c2 06 60 58 	ld  [ %i1 + 0x58 ], %g1                        
 2007990:	c2 26 e0 04 	st  %g1, [ %i3 + 4 ]                           
 2007994:	c2 06 60 5c 	ld  [ %i1 + 0x5c ], %g1                        
 2007998:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           
 200799c:	c2 06 60 60 	ld  [ %i1 + 0x60 ], %g1                        
 20079a0:	c2 26 e0 0c 	st  %g1, [ %i3 + 0xc ]                         
       ptimer->timer_data = normalize;                                
 20079a4:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
  struct timespec *tod_as_timespec                                    
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _TOD_Get_as_timestamp( &tod_as_timestamp );                         
 20079a8:	90 07 bf e0 	add  %fp, -32, %o0                             
 20079ac:	c2 26 60 54 	st  %g1, [ %i1 + 0x54 ]                        
 20079b0:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 20079b4:	c2 26 60 58 	st  %g1, [ %i1 + 0x58 ]                        
 20079b8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 20079bc:	c2 26 60 5c 	st  %g1, [ %i1 + 0x5c ]                        
 20079c0:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 20079c4:	c2 26 60 60 	st  %g1, [ %i1 + 0x60 ]                        
                                                                      
       /* Indicate that the time is running */                        
       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;                  
 20079c8:	82 10 20 03 	mov  3, %g1                                    
 20079cc:	40 00 06 a0 	call  200944c <_TOD_Get_as_timestamp>          
 20079d0:	c2 2e 60 3c 	stb  %g1, [ %i1 + 0x3c ]                       
  _Timestamp_To_timespec( &tod_as_timestamp, tod_as_timespec );       
 20079d4:	f8 1f bf e0 	ldd  [ %fp + -32 ], %i4                        
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 20079d8:	94 10 20 00 	clr  %o2                                       
 20079dc:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 20079e0:	90 10 00 1c 	mov  %i4, %o0                                  
 20079e4:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 20079e8:	40 00 4b 89 	call  201a80c <__divdi3>                       
 20079ec:	92 10 00 1d 	mov  %i5, %o1                                  
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 20079f0:	94 10 20 00 	clr  %o2                                       
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 20079f4:	d2 26 60 6c 	st  %o1, [ %i1 + 0x6c ]                        
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 20079f8:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 20079fc:	90 10 00 1c 	mov  %i4, %o0                                  
 2007a00:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 2007a04:	40 00 4c 6d 	call  201abb8 <__moddi3>                       
 2007a08:	92 10 00 1d 	mov  %i5, %o1                                  
 2007a0c:	d2 26 60 70 	st  %o1, [ %i1 + 0x70 ]                        
       _TOD_Get( &ptimer->time );                                     
       _Thread_Enable_dispatch();                                     
 2007a10:	40 00 0d 36 	call  200aee8 <_Thread_Enable_dispatch>        
 2007a14:	b0 10 20 00 	clr  %i0                                       
 2007a18:	81 c7 e0 08 	ret                                            
 2007a1c:	81 e8 00 00 	restore                                        
  struct timespec *tod_as_timespec                                    
)                                                                     
{                                                                     
  Timestamp_Control tod_as_timestamp;                                 
                                                                      
  _TOD_Get_as_timestamp( &tod_as_timestamp );                         
 2007a20:	40 00 06 8b 	call  200944c <_TOD_Get_as_timestamp>          
 2007a24:	90 07 bf e0 	add  %fp, -32, %o0                             
  _Timestamp_To_timespec( &tod_as_timestamp, tod_as_timespec );       
 2007a28:	f8 1f bf e0 	ldd  [ %fp + -32 ], %i4                        
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007a2c:	94 10 20 00 	clr  %o2                                       
 2007a30:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007a34:	90 10 00 1c 	mov  %i4, %o0                                  
 2007a38:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 2007a3c:	40 00 4b 74 	call  201a80c <__divdi3>                       
 2007a40:	92 10 00 1d 	mov  %i5, %o1                                  
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007a44:	94 10 20 00 	clr  %o2                                       
static inline void _Timestamp64_implementation_To_timespec(           
  const Timestamp64_Control *_timestamp,                              
  struct timespec           *_timespec                                
)                                                                     
{                                                                     
  _timespec->tv_sec = (time_t) (*_timestamp / 1000000000L);           
 2007a48:	d2 27 bf e8 	st  %o1, [ %fp + -24 ]                         
  _timespec->tv_nsec = (long) (*_timestamp % 1000000000L);            
 2007a4c:	17 0e e6 b2 	sethi  %hi(0x3b9ac800), %o3                    
 2007a50:	90 10 00 1c 	mov  %i4, %o0                                  
 2007a54:	96 12 e2 00 	or  %o3, 0x200, %o3                            
 2007a58:	40 00 4c 58 	call  201abb8 <__moddi3>                       
 2007a5c:	92 10 00 1d 	mov  %i5, %o1                                  
  /* Convert absolute to relative time */                             
  if (flags == TIMER_ABSTIME) {                                       
    struct timespec now;                                              
    _TOD_Get( &now );                                                 
    /* Check for seconds in the past */                               
    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )        
 2007a60:	90 07 bf f8 	add  %fp, -8, %o0                              
 2007a64:	d2 27 bf ec 	st  %o1, [ %fp + -20 ]                         
 2007a68:	40 00 0f f4 	call  200ba38 <_Timespec_Less_than>            
 2007a6c:	92 07 bf e8 	add  %fp, -24, %o1                             
 2007a70:	80 8a 20 ff 	btst  0xff, %o0                                
 2007a74:	12 80 00 0e 	bne  2007aac <timer_settime+0x210>             
 2007a78:	92 07 bf f8 	add  %fp, -8, %o1                              
      rtems_set_errno_and_return_minus_one( EINVAL );                 
    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
 2007a7c:	90 07 bf e8 	add  %fp, -24, %o0                             
 2007a80:	40 00 10 00 	call  200ba80 <_Timespec_Subtract>             
 2007a84:	94 10 00 09 	mov  %o1, %o2                                  
 2007a88:	92 10 00 18 	mov  %i0, %o1                                  
 2007a8c:	11 00 80 7d 	sethi  %hi(0x201f400), %o0                     
 2007a90:	94 07 bf dc 	add  %fp, -36, %o2                             
 2007a94:	40 00 09 37 	call  2009f70 <_Objects_Get>                   
 2007a98:	90 12 22 d0 	or  %o0, 0x2d0, %o0                            
   * something with the structure of times of the timer: to stop, start
   * or start it again                                                
   */                                                                 
                                                                      
  ptimer = _POSIX_Timer_Get( timerid, &location );                    
  switch ( location ) {                                               
 2007a9c:	c2 07 bf dc 	ld  [ %fp + -36 ], %g1                         
 2007aa0:	80 a0 60 00 	cmp  %g1, 0                                    
 2007aa4:	02 bf ff a0 	be  2007924 <timer_settime+0x88>               
 2007aa8:	b2 10 00 08 	mov  %o0, %i1                                  
#endif                                                                
    case OBJECTS_ERROR:                                               
      break;                                                          
  }                                                                   
                                                                      
  rtems_set_errno_and_return_minus_one( EINVAL );                     
 2007aac:	40 00 25 be 	call  20111a4 <__errno>                        
 2007ab0:	b0 10 3f ff 	mov  -1, %i0                                   
 2007ab4:	82 10 20 16 	mov  0x16, %g1                                 
 2007ab8:	c2 22 00 00 	st  %g1, [ %o0 ]                               
}                                                                     
 2007abc:	81 c7 e0 08 	ret                                            
 2007ac0:	81 e8 00 00 	restore                                        
                                                                      
    case OBJECTS_LOCAL:                                               
      /* First, it verifies if the timer must be stopped */           
      if ( normalize.it_value.tv_sec == 0 && normalize.it_value.tv_nsec == 0 ) {
         /* Stop the timer */                                         
         (void) _Watchdog_Remove( &ptimer->Timer );                   
 2007ac4:	40 00 11 3f 	call  200bfc0 <_Watchdog_Remove>               
 2007ac8:	90 02 20 10 	add  %o0, 0x10, %o0                            
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
 2007acc:	80 a6 e0 00 	cmp  %i3, 0                                    
 2007ad0:	02 80 00 0b 	be  2007afc <timer_settime+0x260>              
 2007ad4:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
           *ovalue = ptimer->timer_data;                              
 2007ad8:	c2 06 60 54 	ld  [ %i1 + 0x54 ], %g1                        
 2007adc:	c2 26 c0 00 	st  %g1, [ %i3 ]                               
 2007ae0:	c2 06 60 58 	ld  [ %i1 + 0x58 ], %g1                        
 2007ae4:	c2 26 e0 04 	st  %g1, [ %i3 + 4 ]                           
 2007ae8:	c2 06 60 5c 	ld  [ %i1 + 0x5c ], %g1                        
 2007aec:	c2 26 e0 08 	st  %g1, [ %i3 + 8 ]                           
 2007af0:	c2 06 60 60 	ld  [ %i1 + 0x60 ], %g1                        
 2007af4:	c2 26 e0 0c 	st  %g1, [ %i3 + 0xc ]                         
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
 2007af8:	c2 07 bf f0 	ld  [ %fp + -16 ], %g1                         
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
         /* Returns with success */                                   
        _Thread_Enable_dispatch();                                    
        return 0;                                                     
 2007afc:	b0 10 20 00 	clr  %i0                                       
         (void) _Watchdog_Remove( &ptimer->Timer );                   
         /* The old data of the timer are returned */                 
         if ( ovalue )                                                
           *ovalue = ptimer->timer_data;                              
         /* The new data are set */                                   
         ptimer->timer_data = normalize;                              
 2007b00:	c2 26 60 54 	st  %g1, [ %i1 + 0x54 ]                        
 2007b04:	c2 07 bf f4 	ld  [ %fp + -12 ], %g1                         
 2007b08:	c2 26 60 58 	st  %g1, [ %i1 + 0x58 ]                        
 2007b0c:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
 2007b10:	c2 26 60 5c 	st  %g1, [ %i1 + 0x5c ]                        
 2007b14:	c2 07 bf fc 	ld  [ %fp + -4 ], %g1                          
 2007b18:	c2 26 60 60 	st  %g1, [ %i1 + 0x60 ]                        
         /* Indicates that the timer is created and stopped */        
         ptimer->state = POSIX_TIMER_STATE_CREATE_STOP;               
 2007b1c:	82 10 20 04 	mov  4, %g1                                    
         /* Returns with success */                                   
        _Thread_Enable_dispatch();                                    
 2007b20:	40 00 0c f2 	call  200aee8 <_Thread_Enable_dispatch>        
 2007b24:	c2 2e 60 3c 	stb  %g1, [ %i1 + 0x3c ]                       
 2007b28:	81 c7 e0 08 	ret                                            
 2007b2c:	81 e8 00 00 	restore                                        
                                                                      

02007ad8 <ualarm>: useconds_t ualarm( useconds_t useconds, useconds_t interval ) {
 2007ad8:	9d e3 bf 98 	save  %sp, -104, %sp                           
                                                                      
  /*                                                                  
   *  Initialize the timer used to implement alarm().                 
   */                                                                 
                                                                      
  if ( !the_timer->routine ) {                                        
 2007adc:	3b 00 80 83 	sethi  %hi(0x2020c00), %i5                     
 2007ae0:	ba 17 62 a8 	or  %i5, 0x2a8, %i5	! 2020ea8 <_POSIX_signals_Ualarm_timer>
 2007ae4:	c2 07 60 1c 	ld  [ %i5 + 0x1c ], %g1                        
 2007ae8:	80 a0 60 00 	cmp  %g1, 0                                    
 2007aec:	02 80 00 24 	be  2007b7c <ualarm+0xa4>                      
 2007af0:	b8 10 00 18 	mov  %i0, %i4                                  
    _Watchdog_Initialize( the_timer, _POSIX_signals_Ualarm_TSR, 0, NULL );
  } else {                                                            
    Watchdog_States state;                                            
                                                                      
    state = _Watchdog_Remove( the_timer );                            
 2007af4:	40 00 10 f1 	call  200beb8 <_Watchdog_Remove>               
 2007af8:	90 10 00 1d 	mov  %i5, %o0                                  
    if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) {
 2007afc:	90 02 3f fe 	add  %o0, -2, %o0                              
 2007b00:	80 a2 20 01 	cmp  %o0, 1                                    
 2007b04:	08 80 00 26 	bleu  2007b9c <ualarm+0xc4>                    <== ALWAYS TAKEN
 2007b08:	b0 10 20 00 	clr  %i0                                       
  /*                                                                  
   *  If useconds is non-zero, then the caller wants to schedule      
   *  the alarm repeatedly at that interval.  If the interval is      
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
 2007b0c:	80 a7 20 00 	cmp  %i4, 0                                    
 2007b10:	02 80 00 19 	be  2007b74 <ualarm+0x9c>                      
 2007b14:	37 00 03 d0 	sethi  %hi(0xf4000), %i3                       
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
 2007b18:	90 10 00 1c 	mov  %i4, %o0                                  
 2007b1c:	40 00 4e dd 	call  201b690 <.udiv>                          
 2007b20:	92 16 e2 40 	or  %i3, 0x240, %o1                            
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 2007b24:	92 16 e2 40 	or  %i3, 0x240, %o1                            
   *  less than a single clock tick, then fudge it to a clock tick.   
   */                                                                 
  if ( useconds ) {                                                   
    Watchdog_Interval ticks;                                          
                                                                      
    tp.tv_sec = useconds / TOD_MICROSECONDS_PER_SECOND;               
 2007b28:	d0 27 bf f8 	st  %o0, [ %fp + -8 ]                          
    tp.tv_nsec = (useconds % TOD_MICROSECONDS_PER_SECOND) * 1000;     
 2007b2c:	40 00 4f 85 	call  201b940 <.urem>                          
 2007b30:	90 10 00 1c 	mov  %i4, %o0                                  
 2007b34:	87 2a 20 07 	sll  %o0, 7, %g3                               
 2007b38:	82 10 00 08 	mov  %o0, %g1                                  
 2007b3c:	85 2a 20 02 	sll  %o0, 2, %g2                               
 2007b40:	84 20 c0 02 	sub  %g3, %g2, %g2                             
 2007b44:	82 00 80 01 	add  %g2, %g1, %g1                             
 2007b48:	83 28 60 03 	sll  %g1, 3, %g1                               
    ticks = _Timespec_To_ticks( &tp );                                
 2007b4c:	90 07 bf f8 	add  %fp, -8, %o0                              
 2007b50:	40 00 0f 6e 	call  200b908 <_Timespec_To_ticks>             
 2007b54:	c2 27 bf fc 	st  %g1, [ %fp + -4 ]                          
    if ( ticks == 0 )                                                 
      ticks = 1;                                                      
                                                                      
    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );   
 2007b58:	40 00 0f 6c 	call  200b908 <_Timespec_To_ticks>             
 2007b5c:	90 07 bf f8 	add  %fp, -8, %o0                              
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007b60:	92 10 00 1d 	mov  %i5, %o1                                  
  Watchdog_Control      *the_watchdog,                                
  Watchdog_Interval      units                                        
)                                                                     
{                                                                     
                                                                      
  the_watchdog->initial = units;                                      
 2007b64:	d0 27 60 0c 	st  %o0, [ %i5 + 0xc ]                         
                                                                      
  _Watchdog_Insert( &_Watchdog_Ticks_chain, the_watchdog );           
 2007b68:	11 00 80 81 	sethi  %hi(0x2020400), %o0                     
 2007b6c:	40 00 10 74 	call  200bd3c <_Watchdog_Insert>               
 2007b70:	90 12 22 48 	or  %o0, 0x248, %o0	! 2020648 <_Watchdog_Ticks_chain>
  }                                                                   
                                                                      
  return remaining;                                                   
}                                                                     
 2007b74:	81 c7 e0 08 	ret                                            
 2007b78:	81 e8 00 00 	restore                                        
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2007b7c:	03 00 80 1e 	sethi  %hi(0x2007800), %g1                     
  Watchdog_Service_routine_entry  routine,                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
 2007b80:	c0 27 60 08 	clr  [ %i5 + 8 ]                               
  the_watchdog->routine   = routine;                                  
 2007b84:	82 10 62 a8 	or  %g1, 0x2a8, %g1                            
  the_watchdog->id        = id;                                       
 2007b88:	c0 27 60 20 	clr  [ %i5 + 0x20 ]                            
  Objects_Id                      id,                                 
  void                           *user_data                           
)                                                                     
{                                                                     
  the_watchdog->state     = WATCHDOG_INACTIVE;                        
  the_watchdog->routine   = routine;                                  
 2007b8c:	c2 27 60 1c 	st  %g1, [ %i5 + 0x1c ]                        
  the_watchdog->id        = id;                                       
  the_watchdog->user_data = user_data;                                
 2007b90:	c0 27 60 24 	clr  [ %i5 + 0x24 ]                            
useconds_t ualarm(                                                    
  useconds_t useconds,                                                
  useconds_t interval                                                 
)                                                                     
{                                                                     
  useconds_t        remaining = 0;                                    
 2007b94:	10 bf ff de 	b  2007b0c <ualarm+0x34>                       
 2007b98:	b0 10 20 00 	clr  %i0                                       
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
 2007b9c:	c4 07 60 0c 	ld  [ %i5 + 0xc ], %g2                         
 2007ba0:	c2 07 60 18 	ld  [ %i5 + 0x18 ], %g1                        
 2007ba4:	d0 07 60 14 	ld  [ %i5 + 0x14 ], %o0                        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 2007ba8:	92 07 bf f8 	add  %fp, -8, %o1                              
       *  boot.  Since alarm() is dealing in seconds, we must account for
       *  this.                                                       
       */                                                             
                                                                      
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
 2007bac:	90 02 00 02 	add  %o0, %g2, %o0                             
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
 2007bb0:	40 00 0f 41 	call  200b8b4 <_Timespec_From_ticks>           
 2007bb4:	90 22 00 01 	sub  %o0, %g1, %o0                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 2007bb8:	c2 07 bf f8 	ld  [ %fp + -8 ], %g1                          
      remaining += tp.tv_nsec / 1000;                                 
 2007bbc:	d0 07 bf fc 	ld  [ %fp + -4 ], %o0                          
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 2007bc0:	85 28 60 03 	sll  %g1, 3, %g2                               
 2007bc4:	87 28 60 08 	sll  %g1, 8, %g3                               
 2007bc8:	84 20 c0 02 	sub  %g3, %g2, %g2                             
      remaining += tp.tv_nsec / 1000;                                 
 2007bcc:	92 10 23 e8 	mov  0x3e8, %o1                                
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 2007bd0:	b1 28 a0 06 	sll  %g2, 6, %i0                               
 2007bd4:	b0 26 00 02 	sub  %i0, %g2, %i0                             
      remaining += tp.tv_nsec / 1000;                                 
 2007bd8:	40 00 4e b0 	call  201b698 <.div>                           
 2007bdc:	b0 06 00 01 	add  %i0, %g1, %i0                             
      ticks = the_timer->initial;                                     
      ticks -= (the_timer->stop_time - the_timer->start_time);        
      /* remaining is now in ticks */                                 
                                                                      
      _Timespec_From_ticks( ticks, &tp );                             
      remaining  = tp.tv_sec * TOD_MICROSECONDS_PER_SECOND;           
 2007be0:	b1 2e 20 06 	sll  %i0, 6, %i0                               
      remaining += tp.tv_nsec / 1000;                                 
 2007be4:	10 bf ff ca 	b  2007b0c <ualarm+0x34>                       
 2007be8:	b0 02 00 18 	add  %o0, %i0, %i0                             
                                                                      

02007520 <unmount>: return mt_entry == root->mt_entry || mt_entry == current->mt_entry; } int unmount( const char *path ) {
 2007520:	9d e3 bf 60 	save  %sp, -160, %sp                           
  int rv = 0;                                                         
  rtems_filesystem_eval_path_context_t ctx;                           
  int eval_flags = RTEMS_FS_FOLLOW_LINK;                              
  const rtems_filesystem_location_info_t *currentloc =                
 2007524:	94 10 20 18 	mov  0x18, %o2                                 
 2007528:	92 10 00 18 	mov  %i0, %o1                                  
 200752c:	7f ff f6 ba 	call  2005014 <rtems_filesystem_eval_path_start>
 2007530:	90 07 bf c8 	add  %fp, -56, %o0                             
    rtems_filesystem_eval_path_start( &ctx, path, eval_flags );       
  rtems_filesystem_mount_table_entry_t *mt_entry = currentloc->mt_entry;
 2007534:	fa 02 20 14 	ld  [ %o0 + 0x14 ], %i5                        
  const rtems_filesystem_location_info_t *loc                         
)                                                                     
{                                                                     
  const rtems_filesystem_mount_table_entry_t *mt_entry = loc->mt_entry;
                                                                      
  return (*mt_entry->ops->are_nodes_equal_h)(                         
 2007538:	c2 07 60 0c 	ld  [ %i5 + 0xc ], %g1                         
 200753c:	c2 00 60 10 	ld  [ %g1 + 0x10 ], %g1                        
 2007540:	9f c0 40 00 	call  %g1                                      
 2007544:	d2 07 60 24 	ld  [ %i5 + 0x24 ], %o1                        
                                                                      
  if ( rtems_filesystem_location_is_root( currentloc ) ) {            
 2007548:	80 8a 20 ff 	btst  0xff, %o0                                
 200754c:	02 80 00 33 	be  2007618 <unmount+0xf8>                     
 2007550:	03 00 80 78 	sethi  %hi(0x201e000), %g1                     
static bool contains_root_or_current_directory(                       
  const rtems_filesystem_mount_table_entry_t *mt_entry                
)                                                                     
{                                                                     
  const rtems_filesystem_location_info_t *root =                      
    &rtems_filesystem_root->location;                                 
 2007554:	c2 00 62 08 	ld  [ %g1 + 0x208 ], %g1	! 201e208 <rtems_current_user_env>
  const rtems_filesystem_location_info_t *current =                   
    &rtems_filesystem_current->location;                              
                                                                      
  return mt_entry == root->mt_entry || mt_entry == current->mt_entry; 
 2007558:	c4 00 60 04 	ld  [ %g1 + 4 ], %g2                           
)                                                                     
{                                                                     
  const rtems_filesystem_location_info_t *root =                      
    &rtems_filesystem_root->location;                                 
  const rtems_filesystem_location_info_t *current =                   
    &rtems_filesystem_current->location;                              
 200755c:	c6 00 40 00 	ld  [ %g1 ], %g3                               
                                                                      
  return mt_entry == root->mt_entry || mt_entry == current->mt_entry; 
 2007560:	c2 00 a0 14 	ld  [ %g2 + 0x14 ], %g1                        
 2007564:	80 a7 40 01 	cmp  %i5, %g1                                  
 2007568:	02 80 00 27 	be  2007604 <unmount+0xe4>                     
 200756c:	01 00 00 00 	nop                                            
 2007570:	c2 00 e0 14 	ld  [ %g3 + 0x14 ], %g1                        
 2007574:	80 a7 40 01 	cmp  %i5, %g1                                  
 2007578:	02 80 00 23 	be  2007604 <unmount+0xe4>                     
 200757c:	01 00 00 00 	nop                                            
  rtems_filesystem_mount_table_entry_t *mt_entry = currentloc->mt_entry;
                                                                      
  if ( rtems_filesystem_location_is_root( currentloc ) ) {            
    if ( !contains_root_or_current_directory( mt_entry ) ) {          
      const rtems_filesystem_operations_table *mt_point_ops =         
        mt_entry->mt_point_node->location.mt_entry->ops;              
 2007580:	c2 07 60 20 	ld  [ %i5 + 0x20 ], %g1                        
 2007584:	c2 00 60 14 	ld  [ %g1 + 0x14 ], %g1                        
                                                                      
      rv = (*mt_point_ops->unmount_h)( mt_entry );                    
 2007588:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 200758c:	c2 00 60 38 	ld  [ %g1 + 0x38 ], %g1                        
 2007590:	9f c0 40 00 	call  %g1                                      
 2007594:	90 10 00 1d 	mov  %i5, %o0                                  
      if ( rv == 0 ) {                                                
 2007598:	b0 92 20 00 	orcc  %o0, 0, %i0                              
 200759c:	02 80 00 06 	be  20075b4 <unmount+0x94>                     
 20075a0:	01 00 00 00 	nop                                            
  } else {                                                            
    errno = EACCES;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
 20075a4:	7f ff f6 dc 	call  2005114 <rtems_filesystem_eval_path_cleanup>
 20075a8:	90 07 bf c8 	add  %fp, -56, %o0                             
      rtems_fatal_error_occurred( 0xdeadbeef );                       
    }                                                                 
  }                                                                   
                                                                      
  return rv;                                                          
}                                                                     
 20075ac:	81 c7 e0 08 	ret                                            
 20075b0:	81 e8 00 00 	restore                                        
      const rtems_filesystem_operations_table *mt_point_ops =         
        mt_entry->mt_point_node->location.mt_entry->ops;              
                                                                      
      rv = (*mt_point_ops->unmount_h)( mt_entry );                    
      if ( rv == 0 ) {                                                
        rtems_id self_task_id = rtems_task_self();                    
 20075b4:	40 00 04 1a 	call  200861c <rtems_task_self>                
 20075b8:	01 00 00 00 	nop                                            
        rtems_filesystem_mt_entry_declare_lock_context( lock_context );
                                                                      
        rtems_filesystem_mt_entry_lock( lock_context );               
 20075bc:	7f ff ec 4f 	call  20026f8 <sparc_disable_interrupts>       
 20075c0:	b8 10 00 08 	mov  %o0, %i4                                  
        mt_entry->unmount_task = self_task_id;                        
 20075c4:	f8 27 60 3c 	st  %i4, [ %i5 + 0x3c ]                        
        mt_entry->mounted = false;                                    
 20075c8:	c0 2f 60 28 	clrb  [ %i5 + 0x28 ]                           
        rtems_filesystem_mt_entry_unlock( lock_context );             
 20075cc:	7f ff ec 4f 	call  2002708 <sparc_enable_interrupts>        
 20075d0:	01 00 00 00 	nop                                            
  } else {                                                            
    errno = EACCES;                                                   
    rv = -1;                                                          
  }                                                                   
                                                                      
  rtems_filesystem_eval_path_cleanup( &ctx );                         
 20075d4:	7f ff f6 d0 	call  2005114 <rtems_filesystem_eval_path_cleanup>
 20075d8:	90 07 bf c8 	add  %fp, -56, %o0                             
                                                                      
  if ( rv == 0 ) {                                                    
    rtems_event_set out;                                              
    rtems_status_code sc = rtems_event_receive(                       
 20075dc:	90 10 20 02 	mov  2, %o0                                    
 20075e0:	92 10 20 00 	clr  %o1                                       
 20075e4:	94 10 20 00 	clr  %o2                                       
 20075e8:	40 00 01 61 	call  2007b6c <rtems_event_receive>            
 20075ec:	96 07 bf c4 	add  %fp, -60, %o3                             
      RTEMS_EVENT_ALL | RTEMS_WAIT,                                   
      RTEMS_NO_TIMEOUT,                                               
      &out                                                            
    );                                                                
                                                                      
    if ( sc != RTEMS_SUCCESSFUL ) {                                   
 20075f0:	80 a2 20 00 	cmp  %o0, 0                                    
 20075f4:	02 bf ff ee 	be  20075ac <unmount+0x8c>                     <== ALWAYS TAKEN
 20075f8:	11 37 ab 6f 	sethi  %hi(0xdeadbc00), %o0                    
      rtems_fatal_error_occurred( 0xdeadbeef );                       
 20075fc:	40 00 04 ba 	call  20088e4 <rtems_fatal_error_occurred>     <== NOT EXECUTED
 2007600:	90 12 22 ef 	or  %o0, 0x2ef, %o0	! deadbeef <RAM_END+0xdc6dbeef><== NOT EXECUTED
        mt_entry->unmount_task = self_task_id;                        
        mt_entry->mounted = false;                                    
        rtems_filesystem_mt_entry_unlock( lock_context );             
      }                                                               
    } else {                                                          
      errno = EBUSY;                                                  
 2007604:	40 00 25 89 	call  2010c28 <__errno>                        
 2007608:	b0 10 3f ff 	mov  -1, %i0                                   
 200760c:	82 10 20 10 	mov  0x10, %g1                                 
 2007610:	10 bf ff e5 	b  20075a4 <unmount+0x84>                      
 2007614:	c2 22 00 00 	st  %g1, [ %o0 ]                               
      rv = -1;                                                        
    }                                                                 
  } else {                                                            
    errno = EACCES;                                                   
 2007618:	40 00 25 84 	call  2010c28 <__errno>                        
 200761c:	b0 10 3f ff 	mov  -1, %i0                                   
 2007620:	82 10 20 0d 	mov  0xd, %g1                                  
 2007624:	10 bf ff e0 	b  20075a4 <unmount+0x84>                      
 2007628:	c2 22 00 00 	st  %g1, [ %o0 ]                               
                                                                      

02007258 <vprintk>: */ void vprintk( const char *fmt, va_list ap ) {
 2007258:	9d e3 bf 88 	save  %sp, -120, %sp                           
  for (; *fmt != '\0'; fmt++) {                                       
 200725c:	d0 0e 00 00 	ldub  [ %i0 ], %o0                             
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
 2007260:	a0 07 bf e8 	add  %fp, -24, %l0                             
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
 2007264:	91 2a 20 18 	sll  %o0, 0x18, %o0                            
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
 2007268:	a2 07 bf e7 	add  %fp, -25, %l1                             
 200726c:	25 00 80 71 	sethi  %hi(0x201c400), %l2                     
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
 2007270:	80 a2 20 00 	cmp  %o0, 0                                    
 2007274:	02 80 00 74 	be  2007444 <vprintk+0x1ec>                    <== NEVER TAKEN
 2007278:	27 00 80 6f 	sethi  %hi(0x201bc00), %l3                     
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
    char c;                                                           
                                                                      
    if (*fmt != '%') {                                                
 200727c:	91 3a 20 18 	sra  %o0, 0x18, %o0                            
 2007280:	80 a2 20 25 	cmp  %o0, 0x25                                 
 2007284:	12 80 00 7a 	bne  200746c <vprintk+0x214>                   
 2007288:	01 00 00 00 	nop                                            
      rtems_putc(*fmt);                                               
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
 200728c:	c2 0e 20 01 	ldub  [ %i0 + 1 ], %g1                         
 2007290:	85 28 60 18 	sll  %g1, 0x18, %g2                            
 2007294:	87 38 a0 18 	sra  %g2, 0x18, %g3                            
 2007298:	80 a0 e0 30 	cmp  %g3, 0x30                                 
 200729c:	22 80 00 a9 	be,a   2007540 <vprintk+0x2e8>                 
 20072a0:	c2 0e 20 02 	ldub  [ %i0 + 2 ], %g1                         
                                                                      
    if (*fmt != '%') {                                                
      rtems_putc(*fmt);                                               
      continue;                                                       
    }                                                                 
    fmt++;                                                            
 20072a4:	b0 06 20 01 	inc  %i0                                       
    unsigned base = 0;                                                
    unsigned width = 0;                                               
    bool lflag = false;                                               
    bool minus = false;                                               
    bool sign = false;                                                
    char lead = ' ';                                                  
 20072a8:	a8 10 20 20 	mov  0x20, %l4                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
 20072ac:	87 38 a0 18 	sra  %g2, 0x18, %g3                            
 20072b0:	80 a0 e0 2d 	cmp  %g3, 0x2d                                 
 20072b4:	02 80 00 9e 	be  200752c <vprintk+0x2d4>                    
 20072b8:	88 10 20 00 	clr  %g4                                       
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
 20072bc:	86 00 7f d0 	add  %g1, -48, %g3                             
 20072c0:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
 20072c4:	80 a0 e0 09 	cmp  %g3, 9                                    
 20072c8:	18 80 00 0f 	bgu  2007304 <vprintk+0xac>                    
 20072cc:	ba 10 20 00 	clr  %i5                                       
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
 20072d0:	b0 06 20 01 	inc  %i0                                       
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
 20072d4:	c2 0e 00 00 	ldub  [ %i0 ], %g1                             
      width *= 10;                                                    
 20072d8:	87 2f 60 01 	sll  %i5, 1, %g3                               
      width += ((unsigned) *fmt - '0');                               
 20072dc:	85 38 a0 18 	sra  %g2, 0x18, %g2                            
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
      width *= 10;                                                    
 20072e0:	bb 2f 60 03 	sll  %i5, 3, %i5                               
 20072e4:	ba 00 c0 1d 	add  %g3, %i5, %i5                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
 20072e8:	86 00 7f d0 	add  %g1, -48, %g3                             
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
 20072ec:	ba 07 40 02 	add  %i5, %g2, %i5                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
 20072f0:	86 08 e0 ff 	and  %g3, 0xff, %g3                            
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
 20072f4:	ba 07 7f d0 	add  %i5, -48, %i5                             
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
      fmt++;                                                          
    }                                                                 
    while (*fmt >= '0' && *fmt <= '9' ) {                             
 20072f8:	80 a0 e0 09 	cmp  %g3, 9                                    
 20072fc:	08 bf ff f5 	bleu  20072d0 <vprintk+0x78>                   
 2007300:	85 28 60 18 	sll  %g1, 0x18, %g2                            
      width *= 10;                                                    
      width += ((unsigned) *fmt - '0');                               
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
 2007304:	87 38 a0 18 	sra  %g2, 0x18, %g3                            
 2007308:	80 a0 e0 6c 	cmp  %g3, 0x6c                                 
 200730c:	02 80 00 77 	be  20074e8 <vprintk+0x290>                    
 2007310:	91 38 a0 18 	sra  %g2, 0x18, %o0                            
      lflag = true;                                                   
      c = *++fmt;                                                     
    }                                                                 
    if ( c == 'c' ) {                                                 
 2007314:	80 a2 20 63 	cmp  %o0, 0x63                                 
 2007318:	22 80 00 7b 	be,a   2007504 <vprintk+0x2ac>                 
 200731c:	d0 06 40 00 	ld  [ %i1 ], %o0                               
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
      rtems_putc(chr);                                                
      continue;                                                       
    }                                                                 
    if ( c == 's' ) {                                                 
 2007320:	80 a2 20 73 	cmp  %o0, 0x73                                 
 2007324:	02 80 00 8b 	be  2007550 <vprintk+0x2f8>                    
 2007328:	82 08 7f df 	and  %g1, -33, %g1                             
                                                                      
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
 200732c:	83 28 60 18 	sll  %g1, 0x18, %g1                            
 2007330:	83 38 60 18 	sra  %g1, 0x18, %g1                            
 2007334:	80 a0 60 4f 	cmp  %g1, 0x4f                                 
 2007338:	22 80 00 55 	be,a   200748c <vprintk+0x234>                 
 200733c:	f4 06 40 00 	ld  [ %i1 ], %i2                               
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
 2007340:	80 a0 60 49 	cmp  %g1, 0x49                                 
 2007344:	22 80 00 06 	be,a   200735c <vprintk+0x104>                 
 2007348:	82 10 20 01 	mov  1, %g1                                    
                c == 'd' || c == 'D' ) {                              
 200734c:	80 a0 60 44 	cmp  %g1, 0x44                                 
 2007350:	12 80 00 3f 	bne  200744c <vprintk+0x1f4>                   
 2007354:	80 a0 60 55 	cmp  %g1, 0x55                                 
      base = 10; sign = true;                                         
 2007358:	82 10 20 01 	mov  1, %g1                                    
 200735c:	aa 10 20 0a 	mov  0xa, %l5                                  
    } else {                                                          
      rtems_putc(c);                                                  
      continue;                                                       
    }                                                                 
                                                                      
    printNum(                                                         
 2007360:	f4 06 40 00 	ld  [ %i1 ], %i2                               
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
 2007364:	80 a6 a0 00 	cmp  %i2, 0                                    
 2007368:	06 80 00 4e 	bl  20074a0 <vprintk+0x248>                    
 200736c:	b2 06 60 04 	add  %i1, 4, %i1                               
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
 2007370:	90 10 00 1a 	mov  %i2, %o0                                  
 2007374:	40 00 48 9e 	call  20195ec <.udiv>                          
 2007378:	92 10 00 15 	mov  %l5, %o1                                  
 200737c:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 2007380:	22 80 00 57 	be,a   20074dc <vprintk+0x284>                 
 2007384:	b8 10 00 1a 	mov  %i2, %i4                                  
 2007388:	ac 10 00 15 	mov  %l5, %l6                                  
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
 200738c:	10 80 00 03 	b  2007398 <vprintk+0x140>                     
 2007390:	b6 10 20 00 	clr  %i3                                       
  while ((n = unsigned_num / base) > 0) {                             
 2007394:	b8 10 00 08 	mov  %o0, %i4                                  
    toPrint[count++] = (char) (unsigned_num - (n * base));            
 2007398:	92 10 00 1c 	mov  %i4, %o1                                  
 200739c:	40 00 48 5a 	call  2019504 <.umul>                          
 20073a0:	90 10 00 16 	mov  %l6, %o0                                  
 20073a4:	b4 26 80 08 	sub  %i2, %o0, %i2                             
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
 20073a8:	92 10 00 15 	mov  %l5, %o1                                  
    toPrint[count++] = (char) (unsigned_num - (n * base));            
 20073ac:	f4 2c 00 1b 	stb  %i2, [ %l0 + %i3 ]                        
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
 20073b0:	90 10 00 1c 	mov  %i4, %o0                                  
 20073b4:	40 00 48 8e 	call  20195ec <.udiv>                          
 20073b8:	b4 10 00 1c 	mov  %i4, %i2                                  
 20073bc:	80 a2 20 00 	cmp  %o0, 0                                    
 20073c0:	12 bf ff f5 	bne  2007394 <vprintk+0x13c>                   
 20073c4:	b6 06 e0 01 	inc  %i3                                       
 20073c8:	b4 06 e0 01 	add  %i3, 1, %i2                               
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
 20073cc:	b6 07 80 1b 	add  %fp, %i3, %i3                             
 20073d0:	f8 2e ff e8 	stb  %i4, [ %i3 + -24 ]                        
 20073d4:	a9 2d 20 18 	sll  %l4, 0x18, %l4                            
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
 20073d8:	80 a6 80 1d 	cmp  %i2, %i5                                  
 20073dc:	1a 80 00 08 	bcc  20073fc <vprintk+0x1a4>                   
 20073e0:	a9 3d 20 18 	sra  %l4, 0x18, %l4                            
    rtems_putc(lead);                                                 
 20073e4:	40 00 16 72 	call  200cdac <rtems_putc>                     
 20073e8:	90 10 00 14 	mov  %l4, %o0                                  
    toPrint[count++] = (char) (unsigned_num - (n * base));            
    unsigned_num = n;                                                 
  }                                                                   
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
 20073ec:	ba 07 7f ff 	add  %i5, -1, %i5                              
 20073f0:	80 a6 80 1d 	cmp  %i2, %i5                                  
 20073f4:	0a bf ff fc 	bcs  20073e4 <vprintk+0x18c>                   
 20073f8:	01 00 00 00 	nop                                            
    rtems_putc(lead);                                                 
                                                                      
  for (n = 0; n < count; n++) {                                       
 20073fc:	80 a6 a0 00 	cmp  %i2, 0                                    
 2007400:	22 80 00 0d 	be,a   2007434 <vprintk+0x1dc>                 <== NEVER TAKEN
 2007404:	d0 0e 20 01 	ldub  [ %i0 + 1 ], %o0                         <== NOT EXECUTED
    rtems_putc("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]);      
 2007408:	ba 06 bf ff 	add  %i2, -1, %i5                              
 200740c:	b8 14 a1 d8 	or  %l2, 0x1d8, %i4                            
 *  console is not yet initialized or in ISR's.                       
 *                                                                    
 * Arguments:                                                         
 *    as in printf: fmt - format string, ... - unnamed arguments.     
 */                                                                   
void vprintk(                                                         
 2007410:	ba 04 00 1d 	add  %l0, %i5, %i5                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    rtems_putc(lead);                                                 
                                                                      
  for (n = 0; n < count; n++) {                                       
    rtems_putc("0123456789ABCDEF"[(int)(toPrint[count-(n+1)])]);      
 2007414:	c2 4f 40 00 	ldsb  [ %i5 ], %g1                             
 2007418:	ba 07 7f ff 	add  %i5, -1, %i5                              
 200741c:	40 00 16 64 	call  200cdac <rtems_putc>                     
 2007420:	d0 4f 00 01 	ldsb  [ %i4 + %g1 ], %o0                       
  toPrint[count++] = (char) unsigned_num;                             
                                                                      
  for (n=maxwidth ; n > count; n-- )                                  
    rtems_putc(lead);                                                 
                                                                      
  for (n = 0; n < count; n++) {                                       
 2007424:	80 a7 40 11 	cmp  %i5, %l1                                  
 2007428:	32 bf ff fc 	bne,a   2007418 <vprintk+0x1c0>                
 200742c:	c2 4f 40 00 	ldsb  [ %i5 ], %g1                             
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
 2007430:	d0 0e 20 01 	ldub  [ %i0 + 1 ], %o0                         
 2007434:	91 2a 20 18 	sll  %o0, 0x18, %o0                            
 2007438:	80 a2 20 00 	cmp  %o0, 0                                    
 200743c:	12 bf ff 90 	bne  200727c <vprintk+0x24>                    
 2007440:	b0 06 20 01 	inc  %i0                                       
 2007444:	81 c7 e0 08 	ret                                            
 2007448:	81 e8 00 00 	restore                                        
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
 200744c:	22 80 00 7e 	be,a   2007644 <vprintk+0x3ec>                 
 2007450:	82 10 20 00 	clr  %g1                                       
      base = 10; sign = false;                                        
    } else if ( c == 'x' || c == 'X' ) {                              
 2007454:	80 a0 60 58 	cmp  %g1, 0x58                                 
 2007458:	02 80 00 7d 	be  200764c <vprintk+0x3f4>                    
 200745c:	82 10 20 00 	clr  %g1                                       
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
 2007460:	80 a2 20 70 	cmp  %o0, 0x70                                 
 2007464:	02 bf ff bf 	be  2007360 <vprintk+0x108>                    
 2007468:	aa 10 20 10 	mov  0x10, %l5                                 
      base = 16; sign = false; lflag = true;                          
    } else {                                                          
      rtems_putc(c);                                                  
 200746c:	40 00 16 50 	call  200cdac <rtems_putc>                     
 2007470:	01 00 00 00 	nop                                            
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
 2007474:	d0 0e 20 01 	ldub  [ %i0 + 1 ], %o0                         
 2007478:	91 2a 20 18 	sll  %o0, 0x18, %o0                            
 200747c:	80 a2 20 00 	cmp  %o0, 0                                    
 2007480:	12 bf ff 7f 	bne  200727c <vprintk+0x24>                    
 2007484:	b0 06 20 01 	inc  %i0                                       
 2007488:	30 80 00 6d 	b,a   200763c <vprintk+0x3e4>                  
      continue;                                                       
    }                                                                 
                                                                      
    /* must be a numeric format or something unsupported */           
    if ( c == 'o' || c == 'O' ) {                                     
      base = 8; sign = false;                                         
 200748c:	82 10 20 00 	clr  %g1                                       
 2007490:	aa 10 20 08 	mov  8, %l5                                    
  unsigned long unsigned_num;                                         
  unsigned long n;                                                    
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
 2007494:	80 a6 a0 00 	cmp  %i2, 0                                    
 2007498:	16 bf ff b6 	bge  2007370 <vprintk+0x118>                   <== ALWAYS TAKEN
 200749c:	b2 06 60 04 	add  %i1, 4, %i1                               
 20074a0:	80 88 60 ff 	btst  0xff, %g1                                
 20074a4:	02 bf ff b4 	be  2007374 <vprintk+0x11c>                    
 20074a8:	90 10 00 1a 	mov  %i2, %o0                                  
    rtems_putc('-');                                                  
 20074ac:	40 00 16 40 	call  200cdac <rtems_putc>                     
 20074b0:	90 10 20 2d 	mov  0x2d, %o0                                 
    unsigned_num = (unsigned long) -num;                              
    if (maxwidth) maxwidth--;                                         
 20074b4:	80 a0 00 1d 	cmp  %g0, %i5                                  
  unsigned count;                                                     
  char toPrint[20];                                                   
                                                                      
  if ( sign && (num <  0) ) {                                         
    rtems_putc('-');                                                  
    unsigned_num = (unsigned long) -num;                              
 20074b8:	b4 20 00 1a 	neg  %i2                                       
    if (maxwidth) maxwidth--;                                         
 20074bc:	ba 67 60 00 	subx  %i5, 0, %i5                              
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
  while ((n = unsigned_num / base) > 0) {                             
 20074c0:	90 10 00 1a 	mov  %i2, %o0                                  
 20074c4:	40 00 48 4a 	call  20195ec <.udiv>                          
 20074c8:	92 10 00 15 	mov  %l5, %o1                                  
 20074cc:	b8 92 20 00 	orcc  %o0, 0, %i4                              
 20074d0:	32 bf ff af 	bne,a   200738c <vprintk+0x134>                <== ALWAYS TAKEN
 20074d4:	ac 10 00 15 	mov  %l5, %l6                                  
 20074d8:	b8 10 00 1a 	mov  %i2, %i4                                  <== NOT EXECUTED
    if (maxwidth) maxwidth--;                                         
  } else {                                                            
    unsigned_num = (unsigned long) num;                               
  }                                                                   
                                                                      
  count = 0;                                                          
 20074dc:	b6 10 20 00 	clr  %i3                                       
  while ((n = unsigned_num / base) > 0) {                             
 20074e0:	10 bf ff bb 	b  20073cc <vprintk+0x174>                     
 20074e4:	b4 10 20 01 	mov  1, %i2                                    
      fmt++;                                                          
    }                                                                 
                                                                      
    if ((c = *fmt) == 'l') {                                          
      lflag = true;                                                   
      c = *++fmt;                                                     
 20074e8:	c2 0e 20 01 	ldub  [ %i0 + 1 ], %g1                         
 20074ec:	85 28 60 18 	sll  %g1, 0x18, %g2                            
    }                                                                 
    if ( c == 'c' ) {                                                 
 20074f0:	91 38 a0 18 	sra  %g2, 0x18, %o0                            
 20074f4:	80 a2 20 63 	cmp  %o0, 0x63                                 
 20074f8:	12 bf ff 8a 	bne  2007320 <vprintk+0xc8>                    <== ALWAYS TAKEN
 20074fc:	b0 06 20 01 	inc  %i0                                       
      /* need a cast here since va_arg() only takes fully promoted types */
      char chr = (char) va_arg(ap, int);                              
 2007500:	d0 06 40 00 	ld  [ %i1 ], %o0                               <== NOT EXECUTED
 2007504:	b2 06 60 04 	add  %i1, 4, %i1                               
      rtems_putc(chr);                                                
 2007508:	91 2a 20 18 	sll  %o0, 0x18, %o0                            
 200750c:	40 00 16 28 	call  200cdac <rtems_putc>                     
 2007510:	91 3a 20 18 	sra  %o0, 0x18, %o0                            
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
 2007514:	d0 0e 20 01 	ldub  [ %i0 + 1 ], %o0                         
 2007518:	91 2a 20 18 	sll  %o0, 0x18, %o0                            
 200751c:	80 a2 20 00 	cmp  %o0, 0                                    
 2007520:	12 bf ff 57 	bne  200727c <vprintk+0x24>                    
 2007524:	b0 06 20 01 	inc  %i0                                       
 2007528:	30 80 00 45 	b,a   200763c <vprintk+0x3e4>                  
 200752c:	c2 0e 20 01 	ldub  [ %i0 + 1 ], %g1                         
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
      fmt++;                                                          
    }                                                                 
    if (*fmt == '-' ) {                                               
      minus = true;                                                   
 2007530:	88 10 20 01 	mov  1, %g4                                    
      fmt++;                                                          
 2007534:	b0 06 20 01 	inc  %i0                                       
 2007538:	10 bf ff 61 	b  20072bc <vprintk+0x64>                      
 200753c:	85 28 60 18 	sll  %g1, 0x18, %g2                            
      rtems_putc(*fmt);                                               
      continue;                                                       
    }                                                                 
    fmt++;                                                            
    if (*fmt == '0' ) {                                               
      lead = '0';                                                     
 2007540:	a8 10 20 30 	mov  0x30, %l4                                 
      fmt++;                                                          
 2007544:	b0 06 20 02 	add  %i0, 2, %i0                               
 2007548:	10 bf ff 59 	b  20072ac <vprintk+0x54>                      
 200754c:	85 28 60 18 	sll  %g1, 0x18, %g2                            
    }                                                                 
    if ( c == 's' ) {                                                 
      unsigned i, len;                                                
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
 2007550:	f6 06 40 00 	ld  [ %i1 ], %i3                               
                                                                      
      if ( str == NULL ) {                                            
 2007554:	80 a6 e0 00 	cmp  %i3, 0                                    
 2007558:	02 80 00 3f 	be  2007654 <vprintk+0x3fc>                    
 200755c:	b2 06 60 04 	add  %i1, 4, %i1                               
        str = "";                                                     
      }                                                               
                                                                      
      /* calculate length of string */                                
      for ( len=0, s=str ; *s ; len++, s++ )                          
 2007560:	c2 4e c0 00 	ldsb  [ %i3 ], %g1                             
 2007564:	80 a0 60 00 	cmp  %g1, 0                                    
 2007568:	02 80 00 07 	be  2007584 <vprintk+0x32c>                    
 200756c:	b8 10 20 00 	clr  %i4                                       
 2007570:	b8 07 20 01 	inc  %i4                                       
 2007574:	c2 4e c0 1c 	ldsb  [ %i3 + %i4 ], %g1                       
 2007578:	80 a0 60 00 	cmp  %g1, 0                                    
 200757c:	32 bf ff fe 	bne,a   2007574 <vprintk+0x31c>                
 2007580:	b8 07 20 01 	inc  %i4                                       
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
 2007584:	a8 89 20 ff 	andcc  %g4, 0xff, %l4                          
 2007588:	12 80 00 0c 	bne  20075b8 <vprintk+0x360>                   
 200758c:	80 a7 60 00 	cmp  %i5, 0                                    
        for ( i=len ; i<width ; i++ )                                 
 2007590:	80 a7 40 1c 	cmp  %i5, %i4                                  
 2007594:	08 80 00 09 	bleu  20075b8 <vprintk+0x360>                  
 2007598:	80 a7 60 00 	cmp  %i5, 0                                    
 200759c:	b4 10 00 1c 	mov  %i4, %i2                                  
          rtems_putc(' ');                                            
 20075a0:	40 00 16 03 	call  200cdac <rtems_putc>                     
 20075a4:	90 10 20 20 	mov  0x20, %o0                                 
      for ( len=0, s=str ; *s ; len++, s++ )                          
        ;                                                             
                                                                      
      /* leading spaces */                                            
      if ( !minus )                                                   
        for ( i=len ; i<width ; i++ )                                 
 20075a8:	b4 06 a0 01 	inc  %i2                                       
 20075ac:	80 a6 80 1d 	cmp  %i2, %i5                                  
 20075b0:	0a bf ff fc 	bcs  20075a0 <vprintk+0x348>                   
 20075b4:	80 a7 60 00 	cmp  %i5, 0                                    
          rtems_putc(' ');                                            
                                                                      
      /* no width option */                                           
      if (width == 0) {                                               
 20075b8:	32 80 00 07 	bne,a   20075d4 <vprintk+0x37c>                
 20075bc:	d0 4e c0 00 	ldsb  [ %i3 ], %o0                             
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
 20075c0:	80 a7 20 00 	cmp  %i4, 0                                    
 20075c4:	22 bf ff 9c 	be,a   2007434 <vprintk+0x1dc>                 
 20075c8:	d0 0e 20 01 	ldub  [ %i0 + 1 ], %o0                         
 20075cc:	ba 10 00 1c 	mov  %i4, %i5                                  
 20075d0:	d0 4e c0 00 	ldsb  [ %i3 ], %o0                             
 20075d4:	80 a2 20 00 	cmp  %o0, 0                                    
 20075d8:	02 80 00 08 	be  20075f8 <vprintk+0x3a0>                    <== NEVER TAKEN
 20075dc:	b6 06 e0 01 	inc  %i3                                       
        rtems_putc(*str);                                             
 20075e0:	40 00 15 f3 	call  200cdac <rtems_putc>                     
 20075e4:	01 00 00 00 	nop                                            
      if (width == 0) {                                               
          width = len;                                                
      }                                                               
                                                                      
      /* output the string */                                         
      for ( i=0 ; i<width && *str ; str++ )                           
 20075e8:	d0 4e c0 00 	ldsb  [ %i3 ], %o0                             
 20075ec:	80 a2 20 00 	cmp  %o0, 0                                    
 20075f0:	12 bf ff fc 	bne  20075e0 <vprintk+0x388>                   
 20075f4:	b6 06 e0 01 	inc  %i3                                       
        rtems_putc(*str);                                             
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
 20075f8:	80 a5 20 00 	cmp  %l4, 0                                    
 20075fc:	22 bf ff 8e 	be,a   2007434 <vprintk+0x1dc>                 
 2007600:	d0 0e 20 01 	ldub  [ %i0 + 1 ], %o0                         
        for ( i=len ; i<width ; i++ )                                 
 2007604:	80 a7 40 1c 	cmp  %i5, %i4                                  
 2007608:	28 bf ff 8b 	bleu,a   2007434 <vprintk+0x1dc>               
 200760c:	d0 0e 20 01 	ldub  [ %i0 + 1 ], %o0                         
          rtems_putc(' ');                                            
 2007610:	40 00 15 e7 	call  200cdac <rtems_putc>                     
 2007614:	90 10 20 20 	mov  0x20, %o0                                 
      for ( i=0 ; i<width && *str ; str++ )                           
        rtems_putc(*str);                                             
                                                                      
      /* trailing spaces */                                           
      if ( minus )                                                    
        for ( i=len ; i<width ; i++ )                                 
 2007618:	b8 07 20 01 	inc  %i4                                       
 200761c:	80 a7 00 1d 	cmp  %i4, %i5                                  
 2007620:	0a bf ff fc 	bcs  2007610 <vprintk+0x3b8>                   
 2007624:	01 00 00 00 	nop                                            
void vprintk(                                                         
  const char *fmt,                                                    
  va_list     ap                                                      
)                                                                     
{                                                                     
  for (; *fmt != '\0'; fmt++) {                                       
 2007628:	d0 0e 20 01 	ldub  [ %i0 + 1 ], %o0                         
 200762c:	91 2a 20 18 	sll  %o0, 0x18, %o0                            
 2007630:	80 a2 20 00 	cmp  %o0, 0                                    
 2007634:	12 bf ff 12 	bne  200727c <vprintk+0x24>                    <== ALWAYS TAKEN
 2007638:	b0 06 20 01 	inc  %i0                                       
 200763c:	81 c7 e0 08 	ret                                            
 2007640:	81 e8 00 00 	restore                                        
      base = 8; sign = false;                                         
    } else if ( c == 'i' || c == 'I' ||                               
                c == 'd' || c == 'D' ) {                              
      base = 10; sign = true;                                         
    } else if ( c == 'u' || c == 'U' ) {                              
      base = 10; sign = false;                                        
 2007644:	10 bf ff 47 	b  2007360 <vprintk+0x108>                     
 2007648:	aa 10 20 0a 	mov  0xa, %l5                                  
    } else if ( c == 'x' || c == 'X' ) {                              
      base = 16; sign = false;                                        
    } else if ( c == 'p' ) {                                          
      base = 16; sign = false; lflag = true;                          
 200764c:	10 bf ff 45 	b  2007360 <vprintk+0x108>                     
 2007650:	aa 10 20 10 	mov  0x10, %l5                                 
      char *s, *str;                                                  
                                                                      
      str = va_arg(ap, char *);                                       
                                                                      
      if ( str == NULL ) {                                            
        str = "";                                                     
 2007654:	10 bf ff c3 	b  2007560 <vprintk+0x308>                     
 2007658:	b6 14 e2 c0 	or  %l3, 0x2c0, %i3                            
                                                                      

0201b014 <write>: ssize_t write( int fd, const void *buffer, size_t count ) {
 201b014:	9d e3 bf a0 	save  %sp, -96, %sp                            
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
 201b018:	03 00 80 77 	sethi  %hi(0x201dc00), %g1                     
 201b01c:	c2 00 60 00 	ld  [ %g1 ], %g1                               
 201b020:	80 a6 00 01 	cmp  %i0, %g1                                  
 201b024:	1a 80 00 18 	bcc  201b084 <write+0x70>                      
 201b028:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
  iop = rtems_libio_iop( fd );                                        
 201b02c:	d0 00 63 18 	ld  [ %g1 + 0x318 ], %o0	! 201e718 <rtems_libio_iops>
 201b030:	83 2e 20 03 	sll  %i0, 3, %g1                               
 201b034:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 201b038:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 201b03c:	90 02 00 18 	add  %o0, %i0, %o0                             
  rtems_libio_check_is_open( iop );                                   
 201b040:	c2 02 20 10 	ld  [ %o0 + 0x10 ], %g1                        
 201b044:	80 88 61 00 	btst  0x100, %g1                               
 201b048:	02 80 00 0f 	be  201b084 <write+0x70>                       
 201b04c:	80 a6 60 00 	cmp  %i1, 0                                    
  rtems_libio_check_buffer( buffer );                                 
 201b050:	02 80 00 13 	be  201b09c <write+0x88>                       <== NEVER TAKEN
 201b054:	80 a6 a0 00 	cmp  %i2, 0                                    
  rtems_libio_check_count( count );                                   
 201b058:	02 80 00 0f 	be  201b094 <write+0x80>                       
 201b05c:	b0 10 20 00 	clr  %i0                                       
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
 201b060:	80 88 60 04 	btst  4, %g1                                   
 201b064:	02 80 00 08 	be  201b084 <write+0x70>                       
 201b068:	92 10 00 19 	mov  %i1, %o1                                  
                                                                      
  /*                                                                  
   *  Now process the write() request.                                
   */                                                                 
  return (*iop->pathinfo.handlers->write_h)( iop, buffer, count );    
 201b06c:	c2 02 20 24 	ld  [ %o0 + 0x24 ], %g1                        
 201b070:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 201b074:	9f c0 40 00 	call  %g1                                      
 201b078:	94 10 00 1a 	mov  %i2, %o2                                  
}                                                                     
 201b07c:	81 c7 e0 08 	ret                                            
 201b080:	91 e8 00 08 	restore  %g0, %o0, %o0                         
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
  rtems_libio_check_count( count );                                   
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
 201b084:	7f ff d5 dc 	call  20107f4 <__errno>                        
 201b088:	b0 10 3f ff 	mov  -1, %i0                                   
 201b08c:	82 10 20 09 	mov  9, %g1                                    
 201b090:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 201b094:	81 c7 e0 08 	ret                                            
 201b098:	81 e8 00 00 	restore                                        
  rtems_libio_t     *iop;                                             
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_buffer( buffer );                                 
 201b09c:	7f ff d5 d6 	call  20107f4 <__errno>                        <== NOT EXECUTED
 201b0a0:	b0 10 3f ff 	mov  -1, %i0                                   <== NOT EXECUTED
 201b0a4:	82 10 20 16 	mov  0x16, %g1                                 <== NOT EXECUTED
 201b0a8:	c2 22 00 00 	st  %g1, [ %o0 ]                               <== NOT EXECUTED
 201b0ac:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 201b0b0:	81 e8 00 00 	restore                                        <== NOT EXECUTED
                                                                      

02008534 <writev>: ssize_t writev( int fd, const struct iovec *iov, int iovcnt ) {
 2008534:	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 );                                         
 2008538:	03 00 80 79 	sethi  %hi(0x201e400), %g1                     
 200853c:	c2 00 63 00 	ld  [ %g1 + 0x300 ], %g1	! 201e700 <rtems_libio_number_iops>
 2008540:	80 a6 00 01 	cmp  %i0, %g1                                  
 2008544:	1a 80 00 4d 	bcc  2008678 <writev+0x144>                    
 2008548:	03 00 80 7c 	sethi  %hi(0x201f000), %g1                     
  iop = rtems_libio_iop( fd );                                        
 200854c:	f6 00 62 18 	ld  [ %g1 + 0x218 ], %i3	! 201f218 <rtems_libio_iops>
 2008550:	83 2e 20 03 	sll  %i0, 3, %g1                               
 2008554:	b1 2e 20 06 	sll  %i0, 6, %i0                               
 2008558:	b0 26 00 01 	sub  %i0, %g1, %i0                             
 200855c:	b6 06 c0 18 	add  %i3, %i0, %i3                             
  rtems_libio_check_is_open( iop );                                   
 2008560:	c2 06 e0 10 	ld  [ %i3 + 0x10 ], %g1                        
 2008564:	80 88 61 00 	btst  0x100, %g1                               
 2008568:	02 80 00 44 	be  2008678 <writev+0x144>                     
 200856c:	80 88 60 04 	btst  4, %g1                                   
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
 2008570:	02 80 00 42 	be  2008678 <writev+0x144>                     <== NEVER TAKEN
 2008574:	80 a6 60 00 	cmp  %i1, 0                                    
                                                                      
  /*                                                                  
   *  Argument validation on IO vector                                
   */                                                                 
  if ( !iov )                                                         
 2008578:	02 80 00 3a 	be  2008660 <writev+0x12c>                     
 200857c:	80 a6 a0 00 	cmp  %i2, 0                                    
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt <= 0 )                                                  
 2008580:	04 80 00 38 	ble  2008660 <writev+0x12c>                    
 2008584:	80 a6 a4 00 	cmp  %i2, 0x400                                
    rtems_set_errno_and_return_minus_one( EINVAL );                   
                                                                      
  if ( iovcnt > IOV_MAX )                                             
 2008588:	14 80 00 36 	bg  2008660 <writev+0x12c>                     <== NEVER TAKEN
 200858c:	b5 2e a0 03 	sll  %i2, 3, %i2                               
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t writev(                                                       
 2008590:	82 10 20 00 	clr  %g1                                       
 2008594:	ba 10 20 01 	mov  1, %i5                                    
 2008598:	84 10 20 00 	clr  %g2                                       
                                                                      
    /*                                                                
     *  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 )                                       
 200859c:	c6 06 40 01 	ld  [ %i1 + %g1 ], %g3                         
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t writev(                                                       
 20085a0:	b8 06 40 01 	add  %i1, %g1, %i4                             
                                                                      
    /*                                                                
     *  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 )                                       
 20085a4:	80 a0 e0 00 	cmp  %g3, 0                                    
 20085a8:	02 80 00 2e 	be  2008660 <writev+0x12c>                     
 20085ac:	88 10 20 01 	mov  1, %g4                                    
      rtems_set_errno_and_return_minus_one( EINVAL );                 
                                                                      
    if ( iov[v].iov_len )                                             
 20085b0:	c6 07 20 04 	ld  [ %i4 + 4 ], %g3                           
 20085b4:	82 00 60 08 	add  %g1, 8, %g1                               
      all_zeros = false;                                              
 20085b8:	80 a0 00 03 	cmp  %g0, %g3                                  
 20085bc:	b8 40 3f ff 	addx  %g0, -1, %i4                             
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
 20085c0:	86 80 c0 02 	addcc  %g3, %g2, %g3                           
 20085c4:	0c 80 00 27 	bneg  2008660 <writev+0x12c>                   
 20085c8:	ba 0f 40 1c 	and  %i5, %i4, %i5                             
 20085cc:	80 a0 80 03 	cmp  %g2, %g3                                  
 20085d0:	24 80 00 02 	ble,a   20085d8 <writev+0xa4>                  
 20085d4:	88 10 20 00 	clr  %g4                                       
 20085d8:	80 89 20 ff 	btst  0xff, %g4                                
 20085dc:	12 80 00 21 	bne  2008660 <writev+0x12c>                    
 20085e0:	80 a0 40 1a 	cmp  %g1, %i2                                  
   *  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++ ) {                    
 20085e4:	12 bf ff ee 	bne  200859c <writev+0x68>                     
 20085e8:	84 10 00 03 	mov  %g3, %g2                                  
  }                                                                   
                                                                      
  /*                                                                  
   * A writev with all zeros is supposed to have no effect per OpenGroup.
   */                                                                 
  if ( all_zeros == true ) {                                          
 20085ec:	80 8f 60 ff 	btst  0xff, %i5                                
 20085f0:	12 80 00 1a 	bne  2008658 <writev+0x124>                    
 20085f4:	b0 10 20 00 	clr  %i0                                       
 20085f8:	10 80 00 05 	b  200860c <writev+0xd8>                       
 20085fc:	ba 10 20 00 	clr  %i5                                       
  }                                                                   
                                                                      
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
 2008600:	80 a7 40 1a 	cmp  %i5, %i2                                  
 2008604:	02 80 00 21 	be  2008688 <writev+0x154>                     
 2008608:	01 00 00 00 	nop                                            
#include <sys/uio.h>                                                  
                                                                      
#include <rtems/libio_.h>                                             
#include <rtems/seterr.h>                                             
                                                                      
ssize_t writev(                                                       
 200860c:	b8 06 40 1d 	add  %i1, %i5, %i4                             
  /*                                                                  
   *  Now process the writev().                                       
   */                                                                 
  for ( total=0, v=0 ; v < iovcnt ; v++ ) {                           
    /* all zero lengths has no effect */                              
    if ( iov[v].iov_len == 0 )                                        
 2008610:	d4 07 20 04 	ld  [ %i4 + 4 ], %o2                           
 2008614:	80 a2 a0 00 	cmp  %o2, 0                                    
 2008618:	22 bf ff fa 	be,a   2008600 <writev+0xcc>                   <== NEVER TAKEN
 200861c:	ba 07 60 08 	add  %i5, 8, %i5                               <== NOT EXECUTED
      continue;                                                       
                                                                      
    bytes = (*iop->pathinfo.handlers->write_h)(                       
 2008620:	c2 06 e0 24 	ld  [ %i3 + 0x24 ], %g1                        
 2008624:	d2 06 40 1d 	ld  [ %i1 + %i5 ], %o1                         
 2008628:	c2 00 60 0c 	ld  [ %g1 + 0xc ], %g1                         
 200862c:	9f c0 40 00 	call  %g1                                      
 2008630:	90 10 00 1b 	mov  %i3, %o0                                  
      iop,                                                            
      iov[v].iov_base,                                                
      iov[v].iov_len                                                  
    );                                                                
                                                                      
    if ( bytes < 0 )                                                  
 2008634:	80 a2 20 00 	cmp  %o0, 0                                    
 2008638:	06 80 00 16 	bl  2008690 <writev+0x15c>                     <== NEVER TAKEN
 200863c:	01 00 00 00 	nop                                            
      return -1;                                                      
                                                                      
    if ( bytes > 0 ) {                                                
 2008640:	32 80 00 02 	bne,a   2008648 <writev+0x114>                 <== ALWAYS TAKEN
 2008644:	b0 06 00 08 	add  %i0, %o0, %i0                             
      total       += bytes;                                           
    }                                                                 
                                                                      
    if (bytes != iov[ v ].iov_len)                                    
 2008648:	c2 07 20 04 	ld  [ %i4 + 4 ], %g1                           
 200864c:	80 a2 00 01 	cmp  %o0, %g1                                  
 2008650:	02 bf ff ec 	be  2008600 <writev+0xcc>                      <== ALWAYS TAKEN
 2008654:	ba 07 60 08 	add  %i5, 8, %i5                               
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
 2008658:	81 c7 e0 08 	ret                                            
 200865c:	81 e8 00 00 	restore                                        
                                                                      
    /* check for wrap */                                              
    old    = total;                                                   
    total += iov[v].iov_len;                                          
    if ( total < old || total > SSIZE_MAX )                           
      rtems_set_errno_and_return_minus_one( EINVAL );                 
 2008660:	40 00 23 bd 	call  2011554 <__errno>                        
 2008664:	b0 10 3f ff 	mov  -1, %i0                                   
 2008668:	82 10 20 16 	mov  0x16, %g1                                 
 200866c:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008670:	81 c7 e0 08 	ret                                            
 2008674:	81 e8 00 00 	restore                                        
  bool           all_zeros;                                           
                                                                      
  rtems_libio_check_fd( fd );                                         
  iop = rtems_libio_iop( fd );                                        
  rtems_libio_check_is_open( iop );                                   
  rtems_libio_check_permissions_with_error( iop, LIBIO_FLAGS_WRITE, EBADF );
 2008678:	40 00 23 b7 	call  2011554 <__errno>                        
 200867c:	b0 10 3f ff 	mov  -1, %i0                                   
 2008680:	82 10 20 09 	mov  9, %g1                                    
 2008684:	c2 22 00 00 	st  %g1, [ %o0 ]                               
 2008688:	81 c7 e0 08 	ret                                            
 200868c:	81 e8 00 00 	restore                                        
    if (bytes != iov[ v ].iov_len)                                    
      break;                                                          
  }                                                                   
                                                                      
  return total;                                                       
}                                                                     
 2008690:	81 c7 e0 08 	ret                                            <== NOT EXECUTED
 2008694:	91 e8 3f ff 	restore  %g0, -1, %o0                          <== NOT EXECUTED